ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_states_initscripts.yml ***************************************** 2 plays in /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Saturday 02 November 2024 08:52:29 -0400 (0:00:00.044) 0:00:00.044 ***** ok: [managed-node3] 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_initscripts.yml:8 Saturday 02 November 2024 08:52:30 -0400 (0:00:01.315) 0:00:01.360 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node3 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:31 -0400 (0:00:00.125) 0:00:01.486 ***** ok: [managed-node3] 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:31 -0400 (0:00:00.581) 0:00:02.067 ***** ok: [managed-node3] => { "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:32 -0400 (0:00:00.728) 0:00:02.796 ***** ok: [managed-node3] => { "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:32 -0400 (0:00:00.073) 0:00:02.870 ***** skipping: [managed-node3] => { "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:32 -0400 (0:00:00.067) 0:00:02.938 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node3 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:32 -0400 (0:00:00.141) 0:00:03.079 ***** ok: [managed-node3] => { "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:33 -0400 (0:00:00.577) 0:00:03.657 ***** ok: [managed-node3] => { "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:34 -0400 (0:00:00.977) 0:00:04.634 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.159594", "end": "2024-11-02 08:52:34.702115", "rc": 0, "start": "2024-11-02 08:52:34.542521" } 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:34 -0400 (0:00:00.508) 0:00:05.143 ***** skipping: [managed-node3] => { "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:34 -0400 (0:00:00.030) 0:00:05.173 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Saturday 02 November 2024 08:52:34 -0400 (0:00:00.039) 0:00:05.213 ***** ok: [managed-node3] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 02 November 2024 08:52:34 -0400 (0:00:00.041) 0:00:05.254 ***** ok: [managed-node3] 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:35 -0400 (0:00:00.793) 0:00:06.047 ***** ok: [managed-node3] => {} 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:35 -0400 (0:00:00.043) 0:00:06.091 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 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:35 -0400 (0:00:00.077) 0:00:06.169 ***** ok: [managed-node3] => {} 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:35 -0400 (0:00:00.082) 0:00:06.251 ***** ok: [managed-node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed-node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed-node3] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_present.yml" } ] } ok: [managed-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (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.185) 0:00:06.437 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 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:36 -0400 (0:00:00.083) 0:00:06.521 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 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:36 -0400 (0:00:00.151) 0:00:06.673 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003807", "end": "2024-11-02 08:52:36.818600", "rc": 0, "start": "2024-11-02 08:52:36.814793" } STDOUT: bonding_masters eth0 lo 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:36 -0400 (0:00:00.601) 0:00:07.274 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "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:36 -0400 (0:00:00.063) 0:00:07.337 ***** ok: [managed-node3] => {} MSG: current_interfaces: [u'bonding_masters', u'eth0', u'lo'] 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.060) 0:00:07.398 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node3 included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node3 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:37 -0400 (0:00:00.086) 0:00:07.485 ***** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008763", "end": "2024-11-02 08:52:37.380166", "rc": 1, "start": "2024-11-02 08:52:37.371403" } 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:37 -0400 (0:00:00.343) 0:00:07.828 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 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:37 -0400 (0:00:00.053) 0:00:07.881 ***** ok: [managed-node3] => { "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:37 -0400 (0:00:00.405) 0:00:08.286 ***** ok: [managed-node3] => { "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:37 -0400 (0:00:00.051) 0:00:08.338 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 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:38 -0400 (0:00:00.075) 0:00:08.413 ***** 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:38 -0400 (0:00:00.339) 0:00:08.753 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 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:38 -0400 (0:00:00.107) 0:00:08.861 ***** skipping: [managed-node3] => { "censored": "the output 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:38 -0400 (0:00:00.042) 0:00:08.903 ***** skipping: [managed-node3] => { "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:38 -0400 (0:00:00.040) 0:00:08.944 ***** skipping: [managed-node3] => { "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:38 -0400 (0:00:00.048) 0:00:08.992 ***** ok: [managed-node3] => { "censored": "the output 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:39 -0400 (0:00:01.256) 0:00:10.249 ***** ok: [managed-node3] => { "censored": "the output 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:41 -0400 (0:00:01.993) 0:00:12.242 ***** ok: [managed-node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 02 November 2024 08:52:41 -0400 (0:00:00.098) 0:00:12.341 ***** skipping: [managed-node3] => { "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:42 -0400 (0:00:00.077) 0:00:12.418 ***** skipping: [managed-node3] => { "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:42 -0400 (0:00:00.077) 0:00:12.496 ***** skipping: [managed-node3] => { "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:42 -0400 (0:00:00.083) 0:00:12.579 ***** skipping: [managed-node3] => { "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:42 -0400 (0:00:00.115) 0:00:12.694 ***** skipping: [managed-node3] => { "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:42 -0400 (0:00:00.148) 0:00:12.843 ***** skipping: [managed-node3] => { "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:42 -0400 (0:00:00.103) 0:00:12.947 ***** skipping: [managed-node3] => { "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:42 -0400 (0:00:00.134) 0:00:13.082 ***** skipping: [managed-node3] => { "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:42 -0400 (0:00:00.094) 0:00:13.176 ***** skipping: [managed-node3] => { "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:42 -0400 (0:00:00.110) 0:00:13.286 ***** skipping: [managed-node3] => { "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:43 -0400 (0:00:00.131) 0:00:13.418 ***** skipping: [managed-node3] => { "censored": "the output 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:43 -0400 (0:00:00.122) 0:00:13.540 ***** skipping: [managed-node3] => { "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:43 -0400 (0:00:00.117) 0:00:13.658 ***** ok: [managed-node3] => { "censored": "the output 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:44 -0400 (0:00:01.197) 0:00:14.855 ***** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-17034bqx4nc/tmpHMWViK" } 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:44 -0400 (0:00:00.520) 0:00:15.375 ***** changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 02 November 2024 08:52:46 -0400 (0:00:01.247) 0:00:16.623 ***** skipping: [managed-node3] => { "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.138) 0:00:16.761 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 02 November 2024 08:52:46 -0400 (0:00:00.095) 0:00:16.857 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 02 November 2024 08:52:46 -0400 (0:00:00.123) 0:00:16.981 ***** skipping: [managed-node3] => {} 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:46 -0400 (0:00:00.156) 0:00:17.137 ***** ok: [managed-node3] => { "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:47 -0400 (0:00:00.618) 0:00:17.755 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-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.143) 0:00:17.899 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node3 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:47 -0400 (0:00:00.283) 0:00:18.183 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 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:48 -0400 (0:00:00.284) 0:00:18.468 ***** ok: [managed-node3] => { "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:48 -0400 (0:00:00.116) 0:00:18.584 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1730551966.07097, "block_size": 4096, "blocks": 8, "ctime": 1730551966.07097, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22474, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1730551966.07097, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 02 November 2024 08:52:48 -0400 (0:00:00.551) 0:00:19.136 ***** ok: [managed-node3] => { "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:48 -0400 (0:00:00.182) 0:00:19.318 ***** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019235", "end": "2024-11-02 08:52:49.281705", "rc": 1, "start": "2024-11-02 08:52:49.262470" } 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:52:49 -0400 (0:00:00.484) 0:00:19.803 ***** skipping: [managed-node3] => { "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:52:49 -0400 (0:00:00.092) 0:00:19.896 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003171", "end": "2024-11-02 08:52:49.774906", "rc": 0, "start": "2024-11-02 08:52:49.771735" } STDOUT: # Ansible managed 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:49 -0400 (0:00:00.478) 0:00:20.374 ***** ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": 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:50 -0400 (0:00:00.144) 0:00:20.519 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003297", "end": "2024-11-02 08:52:50.548306", "rc": 0, "start": "2024-11-02 08:52:50.545009" } STDOUT: # system_role:network 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:50 -0400 (0:00:00.632) 0:00:21.152 ***** ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": 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:50 -0400 (0:00:00.132) 0:00:21.284 ***** ok: [managed-node3] => { "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.129) 0:00:21.413 ***** ok: [managed-node3] => { "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.123) 0:00:21.537 ***** ok: [managed-node3] => { "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.124) 0:00:21.662 ***** skipping: [managed-node3] => (item={u'what': u'tasks/assert_device_present.yml', u'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_present.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 02 November 2024 08:52:51 -0400 (0:00:00.171) 0:00:21.834 ***** ok: [managed-node3] => {} 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:51 -0400 (0:00:00.119) 0:00:21.953 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 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:51 -0400 (0:00:00.249) 0:00:22.203 ***** fatal: [managed-node3]: 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.037124", "end": "2024-11-02 08:52:52.375613", "rc": 1, "start": "2024-11-02 08:52:52.338489" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 02 November 2024 08:52:52 -0400 (0:00:00.758) 0:00:22.962 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 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:52 -0400 (0:00:00.221) 0:00:23.183 ***** ok: [managed-node3] => {} 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:52 -0400 (0:00:00.122) 0:00:23.305 ***** ok: [managed-node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed-node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node3] => (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-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (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:53 -0400 (0:00:00.297) 0:00:23.602 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 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:53 -0400 (0:00:00.414) 0:00:24.016 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 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.384) 0:00:24.401 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002995", "end": "2024-11-02 08:52:54.515430", "rc": 0, "start": "2024-11-02 08:52:54.512435" } STDOUT: bonding_masters eth0 lo 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:54 -0400 (0:00:00.776) 0:00:25.177 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "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:54 -0400 (0:00:00.145) 0:00:25.323 ***** ok: [managed-node3] => {} MSG: current_interfaces: [u'bonding_masters', u'eth0', u'lo'] 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.121) 0:00:25.444 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node3 included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node3 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:55 -0400 (0:00:00.272) 0:00:25.717 ***** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006418", "end": "2024-11-02 08:52:55.657347", "rc": 1, "start": "2024-11-02 08:52:55.650929" } 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:55 -0400 (0:00:00.612) 0:00:26.329 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 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:56 -0400 (0:00:00.283) 0:00:26.613 ***** ok: [managed-node3] => { "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:56 -0400 (0:00:00.590) 0:00:27.204 ***** ok: [managed-node3] => { "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:56 -0400 (0:00:00.141) 0:00:27.346 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed-node3 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:57 -0400 (0:00:00.149) 0:00:27.496 ***** 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:57 -0400 (0:00:00.153) 0:00:27.649 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 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:57 -0400 (0:00:00.150) 0:00:27.800 ***** skipping: [managed-node3] => { "censored": "the output 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:57 -0400 (0:00:00.094) 0:00:27.894 ***** skipping: [managed-node3] => { "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:57 -0400 (0:00:00.214) 0:00:28.110 ***** skipping: [managed-node3] => { "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:57 -0400 (0:00:00.116) 0:00:28.227 ***** ok: [managed-node3] => { "censored": "the output 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:58 -0400 (0:00:00.926) 0:00:29.154 ***** ok: [managed-node3] => { "censored": "the output 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:00 -0400 (0:00:01.476) 0:00:30.630 ***** ok: [managed-node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 02 November 2024 08:53:00 -0400 (0:00:00.122) 0:00:30.753 ***** skipping: [managed-node3] => { "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:00 -0400 (0:00:00.209) 0:00:30.963 ***** skipping: [managed-node3] => { "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:00 -0400 (0:00:00.122) 0:00:31.085 ***** skipping: [managed-node3] => { "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:00 -0400 (0:00:00.180) 0:00:31.266 ***** skipping: [managed-node3] => { "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:01 -0400 (0:00:00.158) 0:00:31.424 ***** skipping: [managed-node3] => { "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:01 -0400 (0:00:00.128) 0:00:31.553 ***** skipping: [managed-node3] => { "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:01 -0400 (0:00:00.230) 0:00:31.784 ***** skipping: [managed-node3] => { "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:01 -0400 (0:00:00.203) 0:00:31.987 ***** skipping: [managed-node3] => { "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:01 -0400 (0:00:00.145) 0:00:32.133 ***** skipping: [managed-node3] => { "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:01 -0400 (0:00:00.139) 0:00:32.272 ***** skipping: [managed-node3] => { "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:02 -0400 (0:00:00.172) 0:00:32.445 ***** skipping: [managed-node3] => { "censored": "the output 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:02 -0400 (0:00:00.218) 0:00:32.663 ***** skipping: [managed-node3] => { "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:02 -0400 (0:00:00.235) 0:00:32.898 ***** ok: [managed-node3] => { "censored": "the output 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:03 -0400 (0:00:00.728) 0:00:33.626 ***** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-17034bqx4nc/tmpL_Yqaz" } 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:03 -0400 (0:00:00.568) 0:00:34.195 ***** changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 02 November 2024 08:53:04 -0400 (0:00:00.844) 0:00:35.039 ***** skipping: [managed-node3] => { "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:04 -0400 (0:00:00.124) 0:00:35.164 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 02 November 2024 08:53:04 -0400 (0:00:00.122) 0:00:35.286 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 02 November 2024 08:53:05 -0400 (0:00:00.126) 0:00:35.413 ***** skipping: [managed-node3] => {} 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:05 -0400 (0:00:00.124) 0:00:35.538 ***** ok: [managed-node3] => { "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:53:05 -0400 (0:00:00.451) 0:00:35.990 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 02 November 2024 08:53:05 -0400 (0:00:00.118) 0:00:36.108 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node3 included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node3 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:53:06 -0400 (0:00:00.343) 0:00:36.451 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 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:06 -0400 (0:00:00.171) 0:00:36.623 ***** ok: [managed-node3] => { "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:53:06 -0400 (0:00:00.435) 0:00:37.058 ***** ok: [managed-node3] => { "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:06 -0400 (0:00:00.178) 0:00:37.237 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 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:07 -0400 (0:00:00.211) 0:00:37.449 ***** ok: [managed-node3] => { "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:07 -0400 (0:00:00.162) 0:00:37.611 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1730551984.4769292, "block_size": 4096, "blocks": 8, "ctime": 1730551984.4769292, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22444, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1730551984.4769292, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 126, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 02 November 2024 08:53:07 -0400 (0:00:00.436) 0:00:38.048 ***** ok: [managed-node3] => { "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:07 -0400 (0:00:00.103) 0:00:38.151 ***** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019204", "end": "2024-11-02 08:53:08.039567", "rc": 1, "start": "2024-11-02 08:53:08.020363" } 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:08 -0400 (0:00:00.500) 0:00:38.651 ***** skipping: [managed-node3] => { "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:08 -0400 (0:00:00.164) 0:00:38.816 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003100", "end": "2024-11-02 08:53:08.783684", "rc": 0, "start": "2024-11-02 08:53:08.780584" } STDOUT: # Ansible managed 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:08 -0400 (0:00:00.507) 0:00:39.324 ***** ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": 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:09 -0400 (0:00:00.162) 0:00:39.486 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003004", "end": "2024-11-02 08:53:09.542807", "rc": 0, "start": "2024-11-02 08:53:09.539803" } STDOUT: # system_role:network 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:09 -0400 (0:00:00.653) 0:00:40.140 ***** ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": 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:10 -0400 (0:00:00.397) 0:00:40.537 ***** ok: [managed-node3] => { "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:10 -0400 (0:00:00.192) 0:00:40.729 ***** ok: [managed-node3] => { "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:10 -0400 (0:00:00.153) 0:00:40.882 ***** ok: [managed-node3] => { "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:10 -0400 (0:00:00.158) 0:00:41.041 ***** 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:53:10 -0400 (0:00:00.125) 0:00:41.166 ***** ok: [managed-node3] => {} 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:53:10 -0400 (0:00:00.120) 0:00:41.287 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 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:11 -0400 (0:00:00.239) 0:00:41.527 ***** fatal: [managed-node3]: 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.036391", "end": "2024-11-02 08:53:11.474294", "rc": 1, "start": "2024-11-02 08:53:11.437903" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 02 November 2024 08:53:11 -0400 (0:00:00.491) 0:00:42.019 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 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:53:11 -0400 (0:00:00.174) 0:00:42.193 ***** ok: [managed-node3] => {} 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:53:11 -0400 (0:00:00.099) 0:00:42.293 ***** ok: [managed-node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed-node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node3] => (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-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (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:12 -0400 (0:00:00.227) 0:00:42.521 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 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:12 -0400 (0:00:00.242) 0:00:42.764 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 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:12 -0400 (0:00:00.241) 0:00:43.005 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003011", "end": "2024-11-02 08:53:12.907001", "rc": 0, "start": "2024-11-02 08:53:12.903990" } STDOUT: bonding_masters eth0 lo 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:13 -0400 (0:00:00.396) 0:00:43.402 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "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:13 -0400 (0:00:00.174) 0:00:43.577 ***** ok: [managed-node3] => {} MSG: current_interfaces: [u'bonding_masters', u'eth0', u'lo'] 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:13 -0400 (0:00:00.123) 0:00:43.700 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 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:13 -0400 (0:00:00.428) 0:00:44.128 ***** 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:13 -0400 (0:00:00.262) 0:00:44.391 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 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:14 -0400 (0:00:00.284) 0:00:44.676 ***** skipping: [managed-node3] => { "censored": "the output 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:14 -0400 (0:00:00.310) 0:00:44.986 ***** skipping: [managed-node3] => { "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:14 -0400 (0:00:00.166) 0:00:45.153 ***** skipping: [managed-node3] => { "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:14 -0400 (0:00:00.152) 0:00:45.305 ***** ok: [managed-node3] => { "censored": "the output 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:16 -0400 (0:00:01.163) 0:00:46.469 ***** ok: [managed-node3] => { "censored": "the output 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:17 -0400 (0:00:01.805) 0:00:48.275 ***** ok: [managed-node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 02 November 2024 08:53:17 -0400 (0:00:00.109) 0:00:48.384 ***** skipping: [managed-node3] => { "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:18 -0400 (0:00:00.096) 0:00:48.481 ***** skipping: [managed-node3] => { "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:18 -0400 (0:00:00.094) 0:00:48.575 ***** skipping: [managed-node3] => { "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:18 -0400 (0:00:00.137) 0:00:48.713 ***** skipping: [managed-node3] => { "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:18 -0400 (0:00:00.116) 0:00:48.830 ***** skipping: [managed-node3] => { "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:18 -0400 (0:00:00.225) 0:00:49.056 ***** skipping: [managed-node3] => { "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:18 -0400 (0:00:00.251) 0:00:49.307 ***** skipping: [managed-node3] => { "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:19 -0400 (0:00:00.274) 0:00:49.581 ***** skipping: [managed-node3] => { "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:19 -0400 (0:00:00.131) 0:00:49.713 ***** skipping: [managed-node3] => { "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:19 -0400 (0:00:00.125) 0:00:49.838 ***** skipping: [managed-node3] => { "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:19 -0400 (0:00:00.237) 0:00:50.076 ***** skipping: [managed-node3] => { "censored": "the output 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:19 -0400 (0:00:00.116) 0:00:50.193 ***** skipping: [managed-node3] => { "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:19 -0400 (0:00:00.147) 0:00:50.341 ***** ok: [managed-node3] => { "censored": "the output 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:20 -0400 (0:00:00.624) 0:00:50.965 ***** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-17034bqx4nc/tmpQsYz4d" } 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:20 -0400 (0:00:00.405) 0:00:51.371 ***** changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 02 November 2024 08:53:21 -0400 (0:00:00.994) 0:00:52.366 ***** skipping: [managed-node3] => { "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:22 -0400 (0:00:00.148) 0:00:52.514 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 02 November 2024 08:53:22 -0400 (0:00:00.239) 0:00:52.754 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 02 November 2024 08:53:22 -0400 (0:00:00.240) 0:00:52.994 ***** skipping: [managed-node3] => {} 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:22 -0400 (0:00:00.118) 0:00:53.113 ***** ok: [managed-node3] => { "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:23 -0400 (0:00:00.532) 0:00:53.646 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 02 November 2024 08:53:23 -0400 (0:00:00.131) 0:00:53.778 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 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:23 -0400 (0:00:00.268) 0:00:54.046 ***** 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:23 -0400 (0:00:00.213) 0:00:54.259 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 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:24 -0400 (0:00:00.167) 0:00:54.426 ***** skipping: [managed-node3] => { "censored": "the output 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:24 -0400 (0:00:00.147) 0:00:54.574 ***** skipping: [managed-node3] => { "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:24 -0400 (0:00:00.117) 0:00:54.692 ***** skipping: [managed-node3] => { "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:24 -0400 (0:00:00.223) 0:00:54.915 ***** ok: [managed-node3] => { "censored": "the output 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:25 -0400 (0:00:00.988) 0:00:55.904 ***** ok: [managed-node3] => { "censored": "the output 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:26 -0400 (0:00:01.436) 0:00:57.340 ***** ok: [managed-node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 02 November 2024 08:53:27 -0400 (0:00:00.126) 0:00:57.466 ***** skipping: [managed-node3] => { "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:27 -0400 (0:00:00.253) 0:00:57.720 ***** skipping: [managed-node3] => { "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:27 -0400 (0:00:00.177) 0:00:57.897 ***** skipping: [managed-node3] => { "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:27 -0400 (0:00:00.158) 0:00:58.055 ***** skipping: [managed-node3] => { "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:27 -0400 (0:00:00.179) 0:00:58.235 ***** skipping: [managed-node3] => { "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:27 -0400 (0:00:00.137) 0:00:58.372 ***** skipping: [managed-node3] => { "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:28 -0400 (0:00:00.196) 0:00:58.569 ***** skipping: [managed-node3] => { "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:28 -0400 (0:00:00.342) 0:00:58.912 ***** skipping: [managed-node3] => { "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:28 -0400 (0:00:00.134) 0:00:59.046 ***** skipping: [managed-node3] => { "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:28 -0400 (0:00:00.147) 0:00:59.194 ***** skipping: [managed-node3] => { "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:29 -0400 (0:00:00.331) 0:00:59.525 ***** skipping: [managed-node3] => { "censored": "the output 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:29 -0400 (0:00:00.128) 0:00:59.654 ***** skipping: [managed-node3] => { "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:29 -0400 (0:00:00.126) 0:00:59.780 ***** ok: [managed-node3] => { "censored": "the output 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:29 -0400 (0:00:00.591) 0:01:00.372 ***** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-17034bqx4nc/tmpe7VxhY" } 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:30 -0400 (0:00:00.573) 0:01:00.945 ***** changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 02 November 2024 08:53:31 -0400 (0:00:01.055) 0:01:02.001 ***** skipping: [managed-node3] => { "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:31 -0400 (0:00:00.224) 0:01:02.225 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 02 November 2024 08:53:31 -0400 (0:00:00.154) 0:01:02.380 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 02 November 2024 08:53:32 -0400 (0:00:00.179) 0:01:02.559 ***** skipping: [managed-node3] => {} 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:32 -0400 (0:00:00.128) 0:01:02.688 ***** ok: [managed-node3] => { "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:32 -0400 (0:00:00.404) 0:01:03.093 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node3 included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node3 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:32 -0400 (0:00:00.156) 0:01:03.250 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 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:33 -0400 (0:00:00.168) 0:01:03.418 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1730552011.2948697, "block_size": 4096, "blocks": 0, "ctime": 1730552011.2928696, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17683, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1730552011.2928696, "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:33 -0400 (0:00:00.520) 0:01:03.938 ***** ok: [managed-node3] => { "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:33 -0400 (0:00:00.121) 0:01:04.059 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 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:33 -0400 (0:00:00.181) 0:01:04.241 ***** ok: [managed-node3] => { "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:33 -0400 (0:00:00.079) 0:01:04.320 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1730552011.13787, "block_size": 4096, "blocks": 8, "ctime": 1730552001.734891, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22444, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1730552001.734891, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 02 November 2024 08:53:34 -0400 (0:00:00.434) 0:01:04.755 ***** ok: [managed-node3] => { "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:34 -0400 (0:00:00.131) 0:01:04.887 ***** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019278", "end": "2024-11-02 08:53:34.896121", "rc": 1, "start": "2024-11-02 08:53:34.876843" } 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:35 -0400 (0:00:00.544) 0:01:05.431 ***** skipping: [managed-node3] => { "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:35 -0400 (0:00:00.183) 0:01:05.615 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002769", "end": "2024-11-02 08:53:35.673110", "rc": 0, "start": "2024-11-02 08:53:35.670341" } STDOUT: # Ansible managed 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:35 -0400 (0:00:00.617) 0:01:06.232 ***** ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": 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:35 -0400 (0:00:00.143) 0:01:06.376 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003530", "end": "2024-11-02 08:53:36.375377", "rc": 0, "start": "2024-11-02 08:53:36.371847" } STDOUT: # system_role:network 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:36 -0400 (0:00:00.557) 0:01:06.933 ***** ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": 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:36 -0400 (0:00:00.140) 0:01:07.073 ***** ok: [managed-node3] => { "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:36 -0400 (0:00:00.103) 0:01:07.177 ***** ok: [managed-node3] => { "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:36 -0400 (0:00:00.128) 0:01:07.305 ***** ok: [managed-node3] => { "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:37 -0400 (0:00:00.105) 0:01:07.411 ***** 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:37 -0400 (0:00:00.102) 0:01:07.514 ***** ok: [managed-node3] => {} 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:37 -0400 (0:00:00.224) 0:01:07.738 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 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:37 -0400 (0:00:00.308) 0:01:08.047 ***** ok: [managed-node3] => { "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.042664", "end": "2024-11-02 08:53:38.013495", "rc": 0, "start": "2024-11-02 08:53:37.970831" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. 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:38 -0400 (0:00:00.521) 0:01:08.568 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 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:38 -0400 (0:00:00.192) 0:01:08.761 ***** ok: [managed-node3] => {} 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:38 -0400 (0:00:00.115) 0:01:08.877 ***** ok: [managed-node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed-node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed-node3] => (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-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (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:38 -0400 (0:00:00.226) 0:01:09.103 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 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:38 -0400 (0:00:00.261) 0:01:09.365 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 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:39 -0400 (0:00:00.308) 0:01:09.674 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004004", "end": "2024-11-02 08:53:40.635028", "rc": 0, "start": "2024-11-02 08:53:39.631024" } STDOUT: bonding_masters eth0 lo 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:40 -0400 (0:00:01.478) 0:01:11.153 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "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:40 -0400 (0:00:00.105) 0:01:11.259 ***** ok: [managed-node3] => {} MSG: current_interfaces: [u'bonding_masters', u'eth0', u'lo'] 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:40 -0400 (0:00:00.084) 0:01:11.343 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 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:41 -0400 (0:00:00.215) 0:01:11.558 ***** 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:41 -0400 (0:00:00.203) 0:01:11.762 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 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:41 -0400 (0:00:00.264) 0:01:12.027 ***** skipping: [managed-node3] => { "censored": "the output 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:41 -0400 (0:00:00.251) 0:01:12.278 ***** skipping: [managed-node3] => { "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:42 -0400 (0:00:00.121) 0:01:12.399 ***** skipping: [managed-node3] => { "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:42 -0400 (0:00:00.127) 0:01:12.527 ***** ok: [managed-node3] => { "censored": "the output 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:43 -0400 (0:00:00.956) 0:01:13.483 ***** ok: [managed-node3] => { "censored": "the output 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:44 -0400 (0:00:01.833) 0:01:15.317 ***** ok: [managed-node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 02 November 2024 08:53:45 -0400 (0:00:00.195) 0:01:15.512 ***** skipping: [managed-node3] => { "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:45 -0400 (0:00:00.244) 0:01:15.756 ***** skipping: [managed-node3] => { "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:45 -0400 (0:00:00.176) 0:01:15.933 ***** skipping: [managed-node3] => { "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:45 -0400 (0:00:00.135) 0:01:16.069 ***** skipping: [managed-node3] => { "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:45 -0400 (0:00:00.202) 0:01:16.271 ***** skipping: [managed-node3] => { "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:46 -0400 (0:00:00.187) 0:01:16.459 ***** skipping: [managed-node3] => { "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:46 -0400 (0:00:00.152) 0:01:16.612 ***** skipping: [managed-node3] => { "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:46 -0400 (0:00:00.204) 0:01:16.817 ***** skipping: [managed-node3] => { "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:46 -0400 (0:00:00.118) 0:01:16.935 ***** skipping: [managed-node3] => { "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:46 -0400 (0:00:00.153) 0:01:17.089 ***** skipping: [managed-node3] => { "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:46 -0400 (0:00:00.184) 0:01:17.273 ***** skipping: [managed-node3] => { "censored": "the output 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:47 -0400 (0:00:00.156) 0:01:17.430 ***** skipping: [managed-node3] => { "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:47 -0400 (0:00:00.129) 0:01:17.560 ***** ok: [managed-node3] => { "censored": "the output 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:47 -0400 (0:00:00.596) 0:01:18.156 ***** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-17034bqx4nc/tmptw1cWZ" } 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:48 -0400 (0:00:00.691) 0:01:18.848 ***** changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 02 November 2024 08:53:49 -0400 (0:00:00.666) 0:01:19.515 ***** skipping: [managed-node3] => { "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:49 -0400 (0:00:00.135) 0:01:19.650 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 02 November 2024 08:53:49 -0400 (0:00:00.108) 0:01:19.759 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 02 November 2024 08:53:49 -0400 (0:00:00.166) 0:01:19.925 ***** skipping: [managed-node3] => {} 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:49 -0400 (0:00:00.081) 0:01:20.007 ***** ok: [managed-node3] => { "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:50 -0400 (0:00:00.427) 0:01:20.435 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 02 November 2024 08:53:50 -0400 (0:00:00.131) 0:01:20.566 ***** 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:50 -0400 (0:00:00.195) 0:01:20.762 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 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:50 -0400 (0:00:00.165) 0:01:20.928 ***** skipping: [managed-node3] => { "censored": "the output 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:50 -0400 (0:00:00.145) 0:01:21.073 ***** skipping: [managed-node3] => { "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:50 -0400 (0:00:00.117) 0:01:21.191 ***** skipping: [managed-node3] => { "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:50 -0400 (0:00:00.098) 0:01:21.289 ***** ok: [managed-node3] => { "censored": "the output 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:51 -0400 (0:00:00.936) 0:01:22.226 ***** ok: [managed-node3] => { "censored": "the output 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:53 -0400 (0:00:01.499) 0:01:23.725 ***** ok: [managed-node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 02 November 2024 08:53:53 -0400 (0:00:00.129) 0:01:23.855 ***** skipping: [managed-node3] => { "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:53 -0400 (0:00:00.098) 0:01:23.953 ***** skipping: [managed-node3] => { "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:53 -0400 (0:00:00.076) 0:01:24.030 ***** skipping: [managed-node3] => { "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:53 -0400 (0:00:00.097) 0:01:24.128 ***** skipping: [managed-node3] => { "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:53 -0400 (0:00:00.118) 0:01:24.246 ***** skipping: [managed-node3] => { "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:53 -0400 (0:00:00.130) 0:01:24.377 ***** skipping: [managed-node3] => { "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:54 -0400 (0:00:00.132) 0:01:24.510 ***** skipping: [managed-node3] => { "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:54 -0400 (0:00:00.197) 0:01:24.708 ***** skipping: [managed-node3] => { "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:54 -0400 (0:00:00.122) 0:01:24.830 ***** skipping: [managed-node3] => { "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:54 -0400 (0:00:00.132) 0:01:24.963 ***** skipping: [managed-node3] => { "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:54 -0400 (0:00:00.129) 0:01:25.093 ***** skipping: [managed-node3] => { "censored": "the output 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:54 -0400 (0:00:00.114) 0:01:25.207 ***** skipping: [managed-node3] => { "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:55 -0400 (0:00:00.192) 0:01:25.400 ***** ok: [managed-node3] => { "censored": "the output 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:55 -0400 (0:00:00.812) 0:01:26.212 ***** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-17034bqx4nc/tmpSaTa5R" } 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:56 -0400 (0:00:00.577) 0:01:26.790 ***** changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 02 November 2024 08:53:57 -0400 (0:00:01.083) 0:01:27.874 ***** skipping: [managed-node3] => { "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:57 -0400 (0:00:00.122) 0:01:27.996 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 02 November 2024 08:53:57 -0400 (0:00:00.149) 0:01:28.146 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 02 November 2024 08:53:57 -0400 (0:00:00.145) 0:01:28.291 ***** skipping: [managed-node3] => {} 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:58 -0400 (0:00:00.183) 0:01:28.474 ***** ok: [managed-node3] => { "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:58 -0400 (0:00:00.612) 0:01:29.087 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node3 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:59 -0400 (0:00:00.363) 0:01:29.450 ***** 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:59 -0400 (0:00:00.246) 0:01:29.697 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 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:59 -0400 (0:00:00.273) 0:01:29.971 ***** skipping: [managed-node3] => { "censored": "the output 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:59 -0400 (0:00:00.252) 0:01:30.223 ***** skipping: [managed-node3] => { "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:00 -0400 (0:00:00.239) 0:01:30.462 ***** skipping: [managed-node3] => { "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:00 -0400 (0:00:00.115) 0:01:30.578 ***** ok: [managed-node3] => { "censored": "the output 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:01 -0400 (0:00:01.076) 0:01:31.655 ***** ok: [managed-node3] => { "censored": "the output 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:02 -0400 (0:00:01.434) 0:01:33.090 ***** ok: [managed-node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 02 November 2024 08:54:02 -0400 (0:00:00.091) 0:01:33.181 ***** skipping: [managed-node3] => { "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:02 -0400 (0:00:00.143) 0:01:33.325 ***** skipping: [managed-node3] => { "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:03 -0400 (0:00:00.120) 0:01:33.445 ***** skipping: [managed-node3] => { "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:03 -0400 (0:00:00.153) 0:01:33.599 ***** skipping: [managed-node3] => { "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:03 -0400 (0:00:00.144) 0:01:33.743 ***** skipping: [managed-node3] => { "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:03 -0400 (0:00:00.255) 0:01:33.999 ***** skipping: [managed-node3] => { "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:03 -0400 (0:00:00.261) 0:01:34.261 ***** skipping: [managed-node3] => { "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:04 -0400 (0:00:00.379) 0:01:34.640 ***** skipping: [managed-node3] => { "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:04 -0400 (0:00:00.150) 0:01:34.790 ***** skipping: [managed-node3] => { "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:04 -0400 (0:00:00.258) 0:01:35.048 ***** skipping: [managed-node3] => { "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:04 -0400 (0:00:00.107) 0:01:35.156 ***** skipping: [managed-node3] => { "censored": "the output 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:04 -0400 (0:00:00.101) 0:01:35.257 ***** skipping: [managed-node3] => { "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:04 -0400 (0:00:00.077) 0:01:35.334 ***** ok: [managed-node3] => { "censored": "the output 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:05 -0400 (0:00:00.528) 0:01:35.863 ***** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-17034bqx4nc/tmpVEJiNG" } 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:05 -0400 (0:00:00.449) 0:01:36.313 ***** changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 02 November 2024 08:54:06 -0400 (0:00:00.600) 0:01:36.913 ***** skipping: [managed-node3] => { "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:06 -0400 (0:00:00.108) 0:01:37.021 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 02 November 2024 08:54:06 -0400 (0:00:00.188) 0:01:37.209 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 02 November 2024 08:54:07 -0400 (0:00:00.186) 0:01:37.396 ***** skipping: [managed-node3] => {} 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:07 -0400 (0:00:00.215) 0:01:37.611 ***** ok: [managed-node3] => { "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:07 -0400 (0:00:00.737) 0:01:38.349 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node3 included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node3 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:54:08 -0400 (0:00:00.264) 0:01:38.613 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 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:08 -0400 (0:00:00.284) 0:01:38.898 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1730552037.2688148, "block_size": 4096, "blocks": 0, "ctime": 1730552037.2678149, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17683, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1730552037.2678149, "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:54:09 -0400 (0:00:00.856) 0:01:39.754 ***** ok: [managed-node3] => { "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:54:09 -0400 (0:00:00.131) 0:01:39.886 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 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:09 -0400 (0:00:00.235) 0:01:40.122 ***** ok: [managed-node3] => { "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:09 -0400 (0:00:00.108) 0:01:40.230 ***** ok: [managed-node3] => { "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:10 -0400 (0:00:00.430) 0:01:40.660 ***** skipping: [managed-node3] => { "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:10 -0400 (0:00:00.119) 0:01:40.780 ***** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018279", "end": "2024-11-02 08:54:10.698705", "rc": 1, "start": "2024-11-02 08:54:10.680426" } 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:10 -0400 (0:00:00.572) 0:01:41.352 ***** skipping: [managed-node3] => { "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:11 -0400 (0:00:00.131) 0:01:41.484 ***** skipping: [managed-node3] => { "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:11 -0400 (0:00:00.119) 0:01:41.604 ***** skipping: [managed-node3] => { "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:11 -0400 (0:00:00.089) 0:01:41.693 ***** skipping: [managed-node3] => { "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:11 -0400 (0:00:00.078) 0:01:41.772 ***** skipping: [managed-node3] => { "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:11 -0400 (0:00:00.100) 0:01:41.872 ***** ok: [managed-node3] => { "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:11 -0400 (0:00:00.123) 0:01:41.996 ***** 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:54:11 -0400 (0:00:00.122) 0:01:42.118 ***** ok: [managed-node3] => {} 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:54:11 -0400 (0:00:00.152) 0:01:42.271 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 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:12 -0400 (0:00:00.372) 0:01:42.643 ***** ok: [managed-node3] => { "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.040162", "end": "2024-11-02 08:54:12.734467", "rc": 0, "start": "2024-11-02 08:54:12.694305" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. 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:54:12 -0400 (0:00:00.594) 0:01:43.238 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 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:54:13 -0400 (0:00:00.305) 0:01:43.543 ***** ok: [managed-node3] => {} 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:54:13 -0400 (0:00:00.278) 0:01:43.821 ***** ok: [managed-node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed-node3] => (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-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed-node3] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (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:54:13 -0400 (0:00:00.431) 0:01:44.253 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 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:14 -0400 (0:00:00.462) 0:01:44.715 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 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:14 -0400 (0:00:00.191) 0:01:44.907 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003148", "end": "2024-11-02 08:54:14.780617", "rc": 0, "start": "2024-11-02 08:54:14.777469" } STDOUT: bonding_masters eth0 lo 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:14 -0400 (0:00:00.406) 0:01:45.313 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "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:15 -0400 (0:00:00.123) 0:01:45.437 ***** ok: [managed-node3] => {} MSG: current_interfaces: [u'bonding_masters', u'eth0', u'lo'] 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:15 -0400 (0:00:00.098) 0:01:45.536 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node3 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:15 -0400 (0:00:00.268) 0:01:45.804 ***** 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:15 -0400 (0:00:00.181) 0:01:45.986 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 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:15 -0400 (0:00:00.318) 0:01:46.304 ***** skipping: [managed-node3] => { "censored": "the output 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:16 -0400 (0:00:00.158) 0:01:46.463 ***** skipping: [managed-node3] => { "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:16 -0400 (0:00:00.098) 0:01:46.561 ***** skipping: [managed-node3] => { "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:16 -0400 (0:00:00.101) 0:01:46.663 ***** ok: [managed-node3] => { "censored": "the output 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:17 -0400 (0:00:01.158) 0:01:47.821 ***** ok: [managed-node3] => { "censored": "the output 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:19 -0400 (0:00:01.626) 0:01:49.447 ***** ok: [managed-node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 02 November 2024 08:54:19 -0400 (0:00:00.234) 0:01:49.682 ***** skipping: [managed-node3] => { "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:19 -0400 (0:00:00.235) 0:01:49.918 ***** skipping: [managed-node3] => { "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:19 -0400 (0:00:00.162) 0:01:50.080 ***** skipping: [managed-node3] => { "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:19 -0400 (0:00:00.126) 0:01:50.207 ***** skipping: [managed-node3] => { "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:19 -0400 (0:00:00.123) 0:01:50.330 ***** skipping: [managed-node3] => { "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:20 -0400 (0:00:00.131) 0:01:50.461 ***** skipping: [managed-node3] => { "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:20 -0400 (0:00:00.252) 0:01:50.714 ***** skipping: [managed-node3] => { "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:20 -0400 (0:00:00.229) 0:01:50.944 ***** skipping: [managed-node3] => { "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:20 -0400 (0:00:00.095) 0:01:51.039 ***** skipping: [managed-node3] => { "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:20 -0400 (0:00:00.079) 0:01:51.119 ***** skipping: [managed-node3] => { "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:20 -0400 (0:00:00.114) 0:01:51.233 ***** skipping: [managed-node3] => { "censored": "the output 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:20 -0400 (0:00:00.146) 0:01:51.380 ***** skipping: [managed-node3] => { "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:21 -0400 (0:00:00.132) 0:01:51.513 ***** ok: [managed-node3] => { "censored": "the output 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:21 -0400 (0:00:00.641) 0:01:52.154 ***** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-17034bqx4nc/tmprIUQCs" } 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:22 -0400 (0:00:00.469) 0:01:52.624 ***** changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 02 November 2024 08:54:23 -0400 (0:00:01.148) 0:01:53.773 ***** skipping: [managed-node3] => { "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:23 -0400 (0:00:00.121) 0:01:53.894 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 02 November 2024 08:54:23 -0400 (0:00:00.130) 0:01:54.025 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 02 November 2024 08:54:23 -0400 (0:00:00.155) 0:01:54.180 ***** skipping: [managed-node3] => {} 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:23 -0400 (0:00:00.135) 0:01:54.316 ***** ok: [managed-node3] => { "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:24 -0400 (0:00:00.375) 0:01:54.692 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 02 November 2024 08:54:24 -0400 (0:00:00.081) 0:01:54.774 ***** 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:24 -0400 (0:00:00.235) 0:01:55.009 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 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:24 -0400 (0:00:00.232) 0:01:55.241 ***** skipping: [managed-node3] => { "censored": "the output 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:25 -0400 (0:00:00.174) 0:01:55.416 ***** skipping: [managed-node3] => { "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:25 -0400 (0:00:00.116) 0:01:55.532 ***** skipping: [managed-node3] => { "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:25 -0400 (0:00:00.110) 0:01:55.643 ***** ok: [managed-node3] => { "censored": "the output 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:26 -0400 (0:00:00.963) 0:01:56.607 ***** ok: [managed-node3] => { "censored": "the output 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:28 -0400 (0:00:01.810) 0:01:58.417 ***** ok: [managed-node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 02 November 2024 08:54:28 -0400 (0:00:00.166) 0:01:58.583 ***** skipping: [managed-node3] => { "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:28 -0400 (0:00:00.125) 0:01:58.709 ***** skipping: [managed-node3] => { "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:28 -0400 (0:00:00.128) 0:01:58.837 ***** skipping: [managed-node3] => { "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:28 -0400 (0:00:00.217) 0:01:59.055 ***** skipping: [managed-node3] => { "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:28 -0400 (0:00:00.126) 0:01:59.181 ***** skipping: [managed-node3] => { "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:28 -0400 (0:00:00.136) 0:01:59.318 ***** skipping: [managed-node3] => { "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:29 -0400 (0:00:00.133) 0:01:59.452 ***** skipping: [managed-node3] => { "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:29 -0400 (0:00:00.234) 0:01:59.686 ***** skipping: [managed-node3] => { "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:29 -0400 (0:00:00.138) 0:01:59.824 ***** skipping: [managed-node3] => { "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:29 -0400 (0:00:00.117) 0:01:59.942 ***** skipping: [managed-node3] => { "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:29 -0400 (0:00:00.131) 0:02:00.073 ***** skipping: [managed-node3] => { "censored": "the output 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:00.216) 0:02:00.289 ***** skipping: [managed-node3] => { "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:30 -0400 (0:00:00.138) 0:02:00.428 ***** ok: [managed-node3] => { "censored": "the output 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:30 -0400 (0:00:00.600) 0:02:01.029 ***** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-17034bqx4nc/tmprIVYBf" } 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:31 -0400 (0:00:00.490) 0:02:01.519 ***** changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 02 November 2024 08:54:32 -0400 (0:00:00.912) 0:02:02.432 ***** skipping: [managed-node3] => { "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:32 -0400 (0:00:00.095) 0:02:02.527 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 02 November 2024 08:54:32 -0400 (0:00:00.098) 0:02:02.625 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 02 November 2024 08:54:32 -0400 (0:00:00.107) 0:02:02.732 ***** skipping: [managed-node3] => {} 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:32 -0400 (0:00:00.192) 0:02:02.925 ***** ok: [managed-node3] => { "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:32 -0400 (0:00:00.384) 0:02:03.309 ***** 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:33 -0400 (0:00:00.207) 0:02:03.517 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 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:33 -0400 (0:00:00.261) 0:02:03.778 ***** skipping: [managed-node3] => { "censored": "the output 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:33 -0400 (0:00:00.152) 0:02:03.931 ***** skipping: [managed-node3] => { "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:33 -0400 (0:00:00.123) 0:02:04.055 ***** skipping: [managed-node3] => { "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:33 -0400 (0:00:00.115) 0:02:04.171 ***** ok: [managed-node3] => { "censored": "the output 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:34 -0400 (0:00:00.963) 0:02:05.134 ***** ok: [managed-node3] => { "censored": "the output 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:36 -0400 (0:00:01.525) 0:02:06.659 ***** ok: [managed-node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 02 November 2024 08:54:36 -0400 (0:00:00.109) 0:02:06.768 ***** skipping: [managed-node3] => { "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:36 -0400 (0:00:00.083) 0:02:06.852 ***** skipping: [managed-node3] => { "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:36 -0400 (0:00:00.097) 0:02:06.949 ***** skipping: [managed-node3] => { "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:36 -0400 (0:00:00.119) 0:02:07.069 ***** skipping: [managed-node3] => { "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:36 -0400 (0:00:00.121) 0:02:07.190 ***** skipping: [managed-node3] => { "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:36 -0400 (0:00:00.126) 0:02:07.317 ***** skipping: [managed-node3] => { "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:37 -0400 (0:00:00.133) 0:02:07.450 ***** skipping: [managed-node3] => { "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:37 -0400 (0:00:00.221) 0:02:07.671 ***** skipping: [managed-node3] => { "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:37 -0400 (0:00:00.130) 0:02:07.801 ***** skipping: [managed-node3] => { "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:37 -0400 (0:00:00.116) 0:02:07.917 ***** skipping: [managed-node3] => { "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:37 -0400 (0:00:00.225) 0:02:08.143 ***** skipping: [managed-node3] => { "censored": "the output 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:37 -0400 (0:00:00.157) 0:02:08.301 ***** skipping: [managed-node3] => { "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:38 -0400 (0:00:00.144) 0:02:08.445 ***** ok: [managed-node3] => { "censored": "the output 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:38 -0400 (0:00:00.771) 0:02:09.217 ***** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-17034bqx4nc/tmpysy2UY" } 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:39 -0400 (0:00:00.450) 0:02:09.668 ***** changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 02 November 2024 08:54:40 -0400 (0:00:00.987) 0:02:10.656 ***** skipping: [managed-node3] => { "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:40 -0400 (0:00:00.121) 0:02:10.777 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 02 November 2024 08:54:40 -0400 (0:00:00.134) 0:02:10.912 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 02 November 2024 08:54:40 -0400 (0:00:00.114) 0:02:11.027 ***** skipping: [managed-node3] => {} 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:40 -0400 (0:00:00.104) 0:02:11.132 ***** ok: [managed-node3] => { "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:41 -0400 (0:00:00.625) 0:02:11.757 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node3 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:41 -0400 (0:00:00.237) 0:02:11.995 ***** 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:41 -0400 (0:00:00.346) 0:02:12.342 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 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:42 -0400 (0:00:00.452) 0:02:12.795 ***** skipping: [managed-node3] => { "censored": "the output 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:42 -0400 (0:00:00.176) 0:02:12.971 ***** skipping: [managed-node3] => { "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:42 -0400 (0:00:00.142) 0:02:13.114 ***** skipping: [managed-node3] => { "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:42 -0400 (0:00:00.146) 0:02:13.260 ***** ok: [managed-node3] => { "censored": "the output 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:44 -0400 (0:00:01.467) 0:02:14.727 ***** ok: [managed-node3] => { "censored": "the output 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:45 -0400 (0:00:01.581) 0:02:16.309 ***** ok: [managed-node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 02 November 2024 08:54:46 -0400 (0:00:00.140) 0:02:16.449 ***** skipping: [managed-node3] => { "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:46 -0400 (0:00:00.122) 0:02:16.572 ***** skipping: [managed-node3] => { "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:46 -0400 (0:00:00.165) 0:02:16.738 ***** skipping: [managed-node3] => { "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:46 -0400 (0:00:00.221) 0:02:16.959 ***** skipping: [managed-node3] => { "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:46 -0400 (0:00:00.129) 0:02:17.088 ***** skipping: [managed-node3] => { "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:46 -0400 (0:00:00.150) 0:02:17.239 ***** skipping: [managed-node3] => { "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:46 -0400 (0:00:00.138) 0:02:17.377 ***** skipping: [managed-node3] => { "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:47 -0400 (0:00:00.209) 0:02:17.586 ***** skipping: [managed-node3] => { "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:47 -0400 (0:00:00.120) 0:02:17.707 ***** skipping: [managed-node3] => { "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:47 -0400 (0:00:00.123) 0:02:17.830 ***** skipping: [managed-node3] => { "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:47 -0400 (0:00:00.160) 0:02:17.990 ***** skipping: [managed-node3] => { "censored": "the output 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:47 -0400 (0:00:00.227) 0:02:18.218 ***** skipping: [managed-node3] => { "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:47 -0400 (0:00:00.146) 0:02:18.365 ***** ok: [managed-node3] => { "censored": "the output 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:48 -0400 (0:00:00.521) 0:02:18.887 ***** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-17034bqx4nc/tmpxAqKNR" } 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:48 -0400 (0:00:00.401) 0:02:19.288 ***** ok: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 02 November 2024 08:54:49 -0400 (0:00:00.815) 0:02:20.103 ***** skipping: [managed-node3] => { "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:49 -0400 (0:00:00.121) 0:02:20.225 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 02 November 2024 08:54:49 -0400 (0:00:00.130) 0:02:20.356 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 02 November 2024 08:54:50 -0400 (0:00:00.171) 0:02:20.527 ***** skipping: [managed-node3] => {} 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:50 -0400 (0:00:00.162) 0:02:20.690 ***** ok: [managed-node3] => { "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:51 -0400 (0:00:00.756) 0:02:21.447 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node3 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:51 -0400 (0:00:00.333) 0:02:21.781 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 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:51 -0400 (0:00:00.282) 0:02:22.063 ***** ok: [managed-node3] => { "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:51 -0400 (0:00:00.140) 0:02:22.203 ***** ok: [managed-node3] => { "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:52 -0400 (0:00:00.628) 0:02:22.831 ***** skipping: [managed-node3] => { "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:52 -0400 (0:00:00.125) 0:02:22.957 ***** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018087", "end": "2024-11-02 08:54:53.015843", "rc": 1, "start": "2024-11-02 08:54:52.997756" } 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:53 -0400 (0:00:00.568) 0:02:23.526 ***** skipping: [managed-node3] => { "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:53 -0400 (0:00:00.125) 0:02:23.651 ***** skipping: [managed-node3] => { "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:53 -0400 (0:00:00.123) 0:02:23.774 ***** skipping: [managed-node3] => { "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:53 -0400 (0:00:00.122) 0:02:23.897 ***** skipping: [managed-node3] => { "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:53 -0400 (0:00:00.143) 0:02:24.041 ***** skipping: [managed-node3] => { "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:53 -0400 (0:00:00.256) 0:02:24.298 ***** ok: [managed-node3] => { "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:54 -0400 (0:00:00.277) 0:02:24.576 ***** skipping: [managed-node3] => (item={u'what': u'tasks/assert_device_absent.yml', u'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 02 November 2024 08:54:54 -0400 (0:00:00.186) 0:02:24.762 ***** ok: [managed-node3] => {} 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:54 -0400 (0:00:00.136) 0:02:24.898 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 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:54 -0400 (0:00:00.174) 0:02:25.072 ***** ok: [managed-node3] => { "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.040646", "end": "2024-11-02 08:54:55.210465", "rc": 0, "start": "2024-11-02 08:54:55.169819" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. 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:55 -0400 (0:00:00.786) 0:02:25.859 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 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:55 -0400 (0:00:00.301) 0:02:26.160 ***** ok: [managed-node3] => {} 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:55 -0400 (0:00:00.125) 0:02:26.286 ***** ok: [managed-node3] => (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-node3] => (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-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed-node3] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (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:56 -0400 (0:00:00.224) 0:02:26.510 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 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:56 -0400 (0:00:00.345) 0:02:26.856 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 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:56 -0400 (0:00:00.243) 0:02:27.099 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004612", "end": "2024-11-02 08:54:58.017943", "rc": 0, "start": "2024-11-02 08:54:57.013331" } STDOUT: bonding_masters eth0 lo 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:58 -0400 (0:00:01.455) 0:02:28.554 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "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:58 -0400 (0:00:00.129) 0:02:28.684 ***** ok: [managed-node3] => {} MSG: current_interfaces: [u'bonding_masters', u'eth0', u'lo'] 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:58 -0400 (0:00:00.177) 0:02:28.861 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node3 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:58 -0400 (0:00:00.256) 0:02:29.118 ***** 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:58 -0400 (0:00:00.183) 0:02:29.302 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 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:59 -0400 (0:00:00.246) 0:02:29.549 ***** skipping: [managed-node3] => { "censored": "the output 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:59 -0400 (0:00:00.150) 0:02:29.699 ***** skipping: [managed-node3] => { "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:59 -0400 (0:00:00.125) 0:02:29.824 ***** skipping: [managed-node3] => { "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:59 -0400 (0:00:00.124) 0:02:29.949 ***** ok: [managed-node3] => { "censored": "the output 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:00 -0400 (0:00:01.324) 0:02:31.274 ***** ok: [managed-node3] => { "censored": "the output 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:02 -0400 (0:00:01.398) 0:02:32.672 ***** ok: [managed-node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 02 November 2024 08:55:02 -0400 (0:00:00.124) 0:02:32.796 ***** skipping: [managed-node3] => { "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:02 -0400 (0:00:00.126) 0:02:32.923 ***** skipping: [managed-node3] => { "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:02 -0400 (0:00:00.137) 0:02:33.060 ***** skipping: [managed-node3] => { "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:02 -0400 (0:00:00.168) 0:02:33.229 ***** skipping: [managed-node3] => { "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:03 -0400 (0:00:00.191) 0:02:33.420 ***** skipping: [managed-node3] => { "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:03 -0400 (0:00:00.152) 0:02:33.573 ***** skipping: [managed-node3] => { "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:03 -0400 (0:00:00.135) 0:02:33.708 ***** skipping: [managed-node3] => { "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:03 -0400 (0:00:00.207) 0:02:33.916 ***** skipping: [managed-node3] => { "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:03 -0400 (0:00:00.199) 0:02:34.116 ***** skipping: [managed-node3] => { "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:03 -0400 (0:00:00.120) 0:02:34.237 ***** skipping: [managed-node3] => { "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:03 -0400 (0:00:00.134) 0:02:34.372 ***** skipping: [managed-node3] => { "censored": "the output 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:04 -0400 (0:00:00.137) 0:02:34.509 ***** skipping: [managed-node3] => { "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:04 -0400 (0:00:00.125) 0:02:34.635 ***** ok: [managed-node3] => { "censored": "the output 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:04 -0400 (0:00:00.732) 0:02:35.368 ***** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-17034bqx4nc/tmpwJ7bzH" } 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:05 -0400 (0:00:00.552) 0:02:35.920 ***** changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 02 November 2024 08:55:06 -0400 (0:00:00.949) 0:02:36.869 ***** skipping: [managed-node3] => { "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:06 -0400 (0:00:00.117) 0:02:36.987 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 02 November 2024 08:55:06 -0400 (0:00:00.114) 0:02:37.101 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 02 November 2024 08:55:06 -0400 (0:00:00.122) 0:02:37.224 ***** skipping: [managed-node3] => {} 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:06 -0400 (0:00:00.153) 0:02:37.377 ***** ok: [managed-node3] => { "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:55:07 -0400 (0:00:00.423) 0:02:37.801 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 02 November 2024 08:55:07 -0400 (0:00:00.134) 0:02:37.936 ***** 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:07 -0400 (0:00:00.262) 0:02:38.198 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 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:08 -0400 (0:00:00.351) 0:02:38.550 ***** skipping: [managed-node3] => { "censored": "the output 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:08 -0400 (0:00:00.126) 0:02:38.677 ***** skipping: [managed-node3] => { "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:08 -0400 (0:00:00.081) 0:02:38.758 ***** skipping: [managed-node3] => { "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:08 -0400 (0:00:00.078) 0:02:38.836 ***** ok: [managed-node3] => { "censored": "the output 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:09 -0400 (0:00:01.006) 0:02:39.843 ***** ok: [managed-node3] => { "censored": "the output 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:10 -0400 (0:00:01.460) 0:02:41.304 ***** ok: [managed-node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 02 November 2024 08:55:10 -0400 (0:00:00.086) 0:02:41.390 ***** skipping: [managed-node3] => { "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:11 -0400 (0:00:00.078) 0:02:41.469 ***** skipping: [managed-node3] => { "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:11 -0400 (0:00:00.118) 0:02:41.587 ***** skipping: [managed-node3] => { "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:11 -0400 (0:00:00.117) 0:02:41.704 ***** skipping: [managed-node3] => { "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:11 -0400 (0:00:00.121) 0:02:41.826 ***** skipping: [managed-node3] => { "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:11 -0400 (0:00:00.132) 0:02:41.959 ***** skipping: [managed-node3] => { "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:11 -0400 (0:00:00.196) 0:02:42.156 ***** skipping: [managed-node3] => { "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:11 -0400 (0:00:00.205) 0:02:42.361 ***** skipping: [managed-node3] => { "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:12 -0400 (0:00:00.146) 0:02:42.508 ***** skipping: [managed-node3] => { "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:12 -0400 (0:00:00.181) 0:02:42.689 ***** skipping: [managed-node3] => { "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:12 -0400 (0:00:00.118) 0:02:42.808 ***** skipping: [managed-node3] => { "censored": "the output 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:12 -0400 (0:00:00.100) 0:02:42.908 ***** skipping: [managed-node3] => { "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:12 -0400 (0:00:00.097) 0:02:43.006 ***** ok: [managed-node3] => { "censored": "the output 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:13 -0400 (0:00:00.708) 0:02:43.715 ***** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-17034bqx4nc/tmpyv7hat" } 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:13 -0400 (0:00:00.616) 0:02:44.331 ***** changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 02 November 2024 08:55:15 -0400 (0:00:01.146) 0:02:45.478 ***** skipping: [managed-node3] => { "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:15 -0400 (0:00:00.091) 0:02:45.569 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 02 November 2024 08:55:15 -0400 (0:00:00.083) 0:02:45.652 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 02 November 2024 08:55:15 -0400 (0:00:00.164) 0:02:45.817 ***** skipping: [managed-node3] => {} 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:15 -0400 (0:00:00.117) 0:02:45.935 ***** ok: [managed-node3] => { "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:55:16 -0400 (0:00:00.730) 0:02:46.666 ***** 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:16 -0400 (0:00:00.290) 0:02:46.956 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 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:16 -0400 (0:00:00.178) 0:02:47.135 ***** skipping: [managed-node3] => { "censored": "the output 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:16 -0400 (0:00:00.102) 0:02:47.237 ***** skipping: [managed-node3] => { "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:16 -0400 (0:00:00.082) 0:02:47.320 ***** skipping: [managed-node3] => { "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:17 -0400 (0:00:00.114) 0:02:47.434 ***** ok: [managed-node3] => { "censored": "the output 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:18 -0400 (0:00:01.093) 0:02:48.528 ***** ok: [managed-node3] => { "censored": "the output 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:19 -0400 (0:00:01.303) 0:02:49.831 ***** ok: [managed-node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 02 November 2024 08:55:19 -0400 (0:00:00.110) 0:02:49.942 ***** skipping: [managed-node3] => { "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:19 -0400 (0:00:00.206) 0:02:50.148 ***** skipping: [managed-node3] => { "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:19 -0400 (0:00:00.091) 0:02:50.240 ***** skipping: [managed-node3] => { "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:19 -0400 (0:00:00.090) 0:02:50.331 ***** skipping: [managed-node3] => { "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:20 -0400 (0:00:00.117) 0:02:50.449 ***** skipping: [managed-node3] => { "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:20 -0400 (0:00:00.113) 0:02:50.562 ***** skipping: [managed-node3] => { "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:20 -0400 (0:00:00.104) 0:02:50.667 ***** skipping: [managed-node3] => { "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:20 -0400 (0:00:00.140) 0:02:50.808 ***** skipping: [managed-node3] => { "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:20 -0400 (0:00:00.079) 0:02:50.887 ***** skipping: [managed-node3] => { "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:20 -0400 (0:00:00.075) 0:02:50.963 ***** skipping: [managed-node3] => { "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:20 -0400 (0:00:00.086) 0:02:51.050 ***** skipping: [managed-node3] => { "censored": "the output 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:20 -0400 (0:00:00.090) 0:02:51.140 ***** skipping: [managed-node3] => { "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:20 -0400 (0:00:00.080) 0:02:51.221 ***** ok: [managed-node3] => { "censored": "the output 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:21 -0400 (0:00:00.482) 0:02:51.704 ***** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-17034bqx4nc/tmpNBV6sG" } 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:21 -0400 (0:00:00.364) 0:02:52.069 ***** changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 02 November 2024 08:55:22 -0400 (0:00:00.837) 0:02:52.906 ***** skipping: [managed-node3] => { "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:22 -0400 (0:00:00.124) 0:02:53.030 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 02 November 2024 08:55:22 -0400 (0:00:00.228) 0:02:53.258 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 02 November 2024 08:55:22 -0400 (0:00:00.109) 0:02:53.368 ***** skipping: [managed-node3] => {} 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:23 -0400 (0:00:00.129) 0:02:53.498 ***** ok: [managed-node3] => { "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:23 -0400 (0:00:00.470) 0:02:53.968 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node3 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:23 -0400 (0:00:00.237) 0:02:54.206 ***** 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:24 -0400 (0:00:00.327) 0:02:54.534 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 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:24 -0400 (0:00:00.279) 0:02:54.813 ***** skipping: [managed-node3] => { "censored": "the output 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:24 -0400 (0:00:00.170) 0:02:54.984 ***** skipping: [managed-node3] => { "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:24 -0400 (0:00:00.108) 0:02:55.092 ***** skipping: [managed-node3] => { "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:24 -0400 (0:00:00.130) 0:02:55.223 ***** ok: [managed-node3] => { "censored": "the output 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:26 -0400 (0:00:01.266) 0:02:56.489 ***** ok: [managed-node3] => { "censored": "the output 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:27 -0400 (0:00:01.648) 0:02:58.138 ***** ok: [managed-node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 02 November 2024 08:55:27 -0400 (0:00:00.144) 0:02:58.283 ***** skipping: [managed-node3] => { "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:28 -0400 (0:00:00.212) 0:02:58.495 ***** skipping: [managed-node3] => { "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:28 -0400 (0:00:00.183) 0:02:58.679 ***** skipping: [managed-node3] => { "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:28 -0400 (0:00:00.126) 0:02:58.805 ***** skipping: [managed-node3] => { "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:28 -0400 (0:00:00.100) 0:02:58.906 ***** skipping: [managed-node3] => { "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:28 -0400 (0:00:00.091) 0:02:58.998 ***** skipping: [managed-node3] => { "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:28 -0400 (0:00:00.123) 0:02:59.121 ***** skipping: [managed-node3] => { "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:28 -0400 (0:00:00.262) 0:02:59.384 ***** skipping: [managed-node3] => { "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:29 -0400 (0:00:00.190) 0:02:59.575 ***** skipping: [managed-node3] => { "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:29 -0400 (0:00:00.141) 0:02:59.716 ***** skipping: [managed-node3] => { "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:29 -0400 (0:00:00.137) 0:02:59.854 ***** skipping: [managed-node3] => { "censored": "the output 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:29 -0400 (0:00:00.134) 0:02:59.988 ***** skipping: [managed-node3] => { "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:29 -0400 (0:00:00.127) 0:03:00.116 ***** ok: [managed-node3] => { "censored": "the output 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:30 -0400 (0:00:00.608) 0:03:00.724 ***** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-17034bqx4nc/tmpRMqHV0" } 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:30 -0400 (0:00:00.505) 0:03:01.230 ***** ok: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 02 November 2024 08:55:31 -0400 (0:00:00.750) 0:03:01.980 ***** skipping: [managed-node3] => { "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:31 -0400 (0:00:00.120) 0:03:02.101 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 02 November 2024 08:55:31 -0400 (0:00:00.125) 0:03:02.227 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 02 November 2024 08:55:31 -0400 (0:00:00.129) 0:03:02.357 ***** skipping: [managed-node3] => {} 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:32 -0400 (0:00:00.127) 0:03:02.484 ***** ok: [managed-node3] => { "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:32 -0400 (0:00:00.463) 0:03:02.948 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node3 included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed-node3 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:32 -0400 (0:00:00.317) 0:03:03.266 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 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:33 -0400 (0:00:00.285) 0:03:03.552 ***** ok: [managed-node3] => { "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:33 -0400 (0:00:00.128) 0:03:03.681 ***** ok: [managed-node3] => { "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:33 -0400 (0:00:00.485) 0:03:04.166 ***** skipping: [managed-node3] => { "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:33 -0400 (0:00:00.077) 0:03:04.243 ***** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018334", "end": "2024-11-02 08:55:34.152335", "rc": 1, "start": "2024-11-02 08:55:34.134001" } 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:34 -0400 (0:00:00.394) 0:03:04.638 ***** skipping: [managed-node3] => { "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:34 -0400 (0:00:00.272) 0:03:04.911 ***** skipping: [managed-node3] => { "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:34 -0400 (0:00:00.161) 0:03:05.073 ***** skipping: [managed-node3] => { "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:34 -0400 (0:00:00.129) 0:03:05.202 ***** skipping: [managed-node3] => { "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:34 -0400 (0:00:00.126) 0:03:05.329 ***** skipping: [managed-node3] => { "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:35 -0400 (0:00:00.115) 0:03:05.445 ***** ok: [managed-node3] => { "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:35 -0400 (0:00:00.105) 0:03:05.551 ***** [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-node3] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.603197", "end": "2024-11-02 08:55:36.022022", "rc": 0, "start": "2024-11-02 08:55:35.418825" } 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:36 -0400 (0:00:01.118) 0:03:06.669 ***** ok: [managed-node3] => { "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:36 -0400 (0:00:00.120) 0:03:06.790 ***** ok: [managed-node3] => { "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:36 -0400 (0:00:00.129) 0:03:06.920 ***** skipping: [managed-node3] => (item={u'what': u'tasks/assert_device_absent.yml', u'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 02 November 2024 08:55:36 -0400 (0:00:00.140) 0:03:07.060 ***** ok: [managed-node3] => {} 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:36 -0400 (0:00:00.154) 0:03:07.215 ***** included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 included: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node3 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:37 -0400 (0:00:00.279) 0:03:07.494 ***** ok: [managed-node3] => { "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.040935", "end": "2024-11-02 08:55:37.505471", "rc": 0, "start": "2024-11-02 08:55:37.464536" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. 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:37 -0400 (0:00:00.558) 0:03:08.052 ***** ok: [managed-node3] => { "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.007180", "end": "2024-11-02 08:55:38.015501", "rc": 0, "start": "2024-11-02 08:55:38.008321" } 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:b0:02:57:91:ff brd ff:ff:ff:ff:ff:ff inet 10.31.47.237/22 brd 10.31.47.255 scope global noprefixroute dynamic eth0 valid_lft 3064sec preferred_lft 3064sec inet6 fe80::b0:2ff:fe57:91ff/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.47.237 metric 100 IP -6 ROUTE unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 02 November 2024 08:55:38 -0400 (0:00:00.586) 0:03:08.639 ***** ok: [managed-node3] => { "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.389628", "end": "2024-11-02 08:55:39.011278", "rc": 0, "start": "2024-11-02 08:55:38.621650" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 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 STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 2287 0 --:--:-- --:--:-- --:--:-- 2276 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 1230 0 --:--:-- --:--:-- --:--:-- 1233 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node3 : ok=337 changed=13 unreachable=0 failed=0 skipped=285 rescued=0 ignored=10 Saturday 02 November 2024 08:55:39 -0400 (0:00:00.835) 0:03:09.474 ***** =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 1.99s /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.83s /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.81s /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.81s /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.65s /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.63s /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.58s /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.53s /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.50s /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gather current interface info ------------------------------------------- 1.48s /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.48s /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.47s /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.46s /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gather current interface info ------------------------------------------- 1.46s /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.44s /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.43s /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.40s /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.32s /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 1.32s /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 fedora.linux_system_roles.network : Check which packages are installed --- 1.30s /tmp/collections-gDy/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26