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-tes/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-tes/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Saturday 21 September 2024 08:50:04 -0400 (0:00:00.036) 0:00:00.036 **** ok: [managed_node2] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Saturday 21 September 2024 08:50:05 -0400 (0:00:01.268) 0:00:01.304 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed_node2 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 21 September 2024 08:50:05 -0400 (0:00:00.135) 0:00:01.439 **** ok: [managed_node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 21 September 2024 08:50:06 -0400 (0:00:00.459) 0:00:01.899 **** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 21 September 2024 08:50:06 -0400 (0:00:00.712) 0:00:02.611 **** ok: [managed_node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 21 September 2024 08:50:07 -0400 (0:00:00.102) 0:00:02.713 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 21 September 2024 08:50:07 -0400 (0:00:00.061) 0:00:02.774 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node2 TASK [Create EPEL 7] *********************************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 21 September 2024 08:50:07 -0400 (0:00:00.113) 0:00:02.888 **** ok: [managed_node2] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/archive/epel/7/x86_64/Packages/e/epel-release-7-14.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 21 September 2024 08:50:07 -0400 (0:00:00.465) 0:00:03.353 **** ok: [managed_node2] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } lsrpackages: yum-utils TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 21 September 2024 08:50:08 -0400 (0:00:00.993) 0:00:04.347 **** ok: [managed_node2] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.155076", "end": "2024-09-21 08:50:09.161825", "rc": 0, "start": "2024-09-21 08:50:09.006749" } 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-tes/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 21 September 2024 08:50:09 -0400 (0:00:00.592) 0:00:04.939 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 21 September 2024 08:50:09 -0400 (0:00:00.049) 0:00:04.988 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Saturday 21 September 2024 08:50:09 -0400 (0:00:00.034) 0:00:05.023 **** ok: [managed_node2] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 21 September 2024 08:50:09 -0400 (0:00:00.040) 0:00:05.063 **** ok: [managed_node2] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 21 September 2024 08:50:10 -0400 (0:00:00.691) 0:00:05.755 **** ok: [managed_node2] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 21 September 2024 08:50:10 -0400 (0:00:00.058) 0:00:05.813 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node2 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 21 September 2024 08:50:10 -0400 (0:00:00.080) 0:00:05.894 **** ok: [managed_node2] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 21 September 2024 08:50:10 -0400 (0:00:00.039) 0:00:05.934 **** ok: [managed_node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed_node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed_node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed_node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed_node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_present.yml" } ] } ok: [managed_node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 21 September 2024 08:50:10 -0400 (0:00:00.119) 0:00:06.053 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 21 September 2024 08:50:10 -0400 (0:00:00.049) 0:00:06.104 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 21 September 2024 08:50:10 -0400 (0:00:00.039) 0:00:06.143 **** ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003120", "end": "2024-09-21 08:50:10.760568", "rc": 0, "start": "2024-09-21 08:50:10.757448" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 21 September 2024 08:50:10 -0400 (0:00:00.411) 0:00:06.554 **** ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 21 September 2024 08:50:11 -0400 (0:00:00.114) 0:00:06.669 **** ok: [managed_node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'dummy0', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 21 September 2024 08:50:11 -0400 (0:00:00.074) 0:00:06.744 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node2 included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node2 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 21 September 2024 08:50:11 -0400 (0:00:00.121) 0:00:06.865 **** fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006692", "end": "2024-09-21 08:50:11.501909", "rc": 1, "start": "2024-09-21 08:50:11.495217" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 21 September 2024 08:50:11 -0400 (0:00:00.413) 0:00:07.279 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 21 September 2024 08:50:11 -0400 (0:00:00.074) 0:00:07.354 **** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 21 September 2024 08:50:12 -0400 (0:00:00.335) 0:00:07.689 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 21 September 2024 08:50:12 -0400 (0:00:00.039) 0:00:07.729 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node2 TASK [Include network role] **************************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 21 September 2024 08:50:12 -0400 (0:00:00.069) 0:00:07.798 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:50:12 -0400 (0:00:00.236) 0:00:08.035 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:50:12 -0400 (0:00:00.087) 0:00:08.122 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:50:12 -0400 (0:00:00.043) 0:00:08.165 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:50:12 -0400 (0:00:00.036) 0:00:08.201 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:50:12 -0400 (0:00:00.038) 0:00:08.239 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:50:13 -0400 (0:00:01.236) 0:00:09.476 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:50:15 -0400 (0:00:02.058) 0:00:11.535 **** ok: [managed_node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:50:16 -0400 (0:00:00.124) 0:00:11.659 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:50:16 -0400 (0:00:00.106) 0:00:11.766 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:50:16 -0400 (0:00:00.088) 0:00:11.855 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:50:16 -0400 (0:00:00.067) 0:00:11.922 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:50:16 -0400 (0:00:00.098) 0:00:12.021 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:50:16 -0400 (0:00:00.115) 0:00:12.137 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:50:16 -0400 (0:00:00.111) 0:00:12.249 **** changed: [managed_node2] => { "attempts": 1, "changed": true, "changes": { "installed": [ "bridge-utils" ] }, "rc": 0, "results": [ "initscripts-9.49.53-1.el7_9.1.x86_64 providing initscripts is already installed", "12:dhclient-4.2.5-83.el7.centos.2.x86_64 providing dhclient is already installed", "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: d2lzkl7pfhq30w.cloudfront.net\n * epel-debuginfo: d2lzkl7pfhq30w.cloudfront.net\n * epel-source: d2lzkl7pfhq30w.cloudfront.net\nResolving Dependencies\n--> Running transaction check\n---> Package bridge-utils.x86_64 0:1.5-9.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n bridge-utils x86_64 1.5-9.el7 base 32 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal download size: 32 k\nInstalled size: 56 k\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : bridge-utils-1.5-9.el7.x86_64 1/1 \n Verifying : bridge-utils-1.5-9.el7.x86_64 1/1 \n\nInstalled:\n bridge-utils.x86_64 0:1.5-9.el7 \n\nComplete!\n" ] } lsrpackages: bridge-utils dhclient initscripts TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:50:22 -0400 (0:00:06.238) 0:00:18.487 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:50:22 -0400 (0:00:00.131) 0:00:18.619 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:50:23 -0400 (0:00:00.107) 0:00:18.727 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:50:23 -0400 (0:00:00.117) 0:00:18.844 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:50:23 -0400 (0:00:00.127) 0:00:18.971 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:50:23 -0400 (0:00:00.111) 0:00:19.082 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:50:24 -0400 (0:00:00.967) 0:00:20.050 **** ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-11547tkslsq/tmpaP_J04" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:50:24 -0400 (0:00:00.428) 0:00:20.478 **** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:50:25 -0400 (0:00:01.137) 0:00:21.616 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:50:26 -0400 (0:00:00.162) 0:00:21.778 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:50:26 -0400 (0:00:00.216) 0:00:21.995 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:50:26 -0400 (0:00:00.154) 0:00:22.149 **** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:50:26 -0400 (0:00:00.230) 0:00:22.380 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 21 September 2024 08:50:27 -0400 (0:00:00.927) 0:00:23.308 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 21 September 2024 08:50:27 -0400 (0:00:00.099) 0:00:23.407 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node2 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 21 September 2024 08:50:27 -0400 (0:00:00.211) 0:00:23.619 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 21 September 2024 08:50:28 -0400 (0:00:00.251) 0:00:23.871 **** ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 21 September 2024 08:50:28 -0400 (0:00:00.109) 0:00:23.980 **** ok: [managed_node2] => { "changed": false, "stat": { "atime": 1726923025.7534328, "block_size": 4096, "blocks": 8, "ctime": 1726923025.7534328, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22435, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1726923025.7534328, "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-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 21 September 2024 08:50:28 -0400 (0:00:00.369) 0:00:24.350 **** ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 21 September 2024 08:50:28 -0400 (0:00:00.089) 0:00:24.439 **** fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019452", "end": "2024-09-21 08:50:29.060400", "rc": 1, "start": "2024-09-21 08:50:29.040948" } 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-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 21 September 2024 08:50:29 -0400 (0:00:00.458) 0:00:24.898 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 21 September 2024 08:50:29 -0400 (0:00:00.192) 0:00:25.091 **** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003112", "end": "2024-09-21 08:50:29.951904", "rc": 0, "start": "2024-09-21 08:50:29.948792" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 21 September 2024 08:50:30 -0400 (0:00:00.703) 0:00:25.795 **** ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 21 September 2024 08:50:30 -0400 (0:00:00.128) 0:00:25.923 **** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002927", "end": "2024-09-21 08:50:30.550629", "rc": 0, "start": "2024-09-21 08:50:30.547702" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 21 September 2024 08:50:30 -0400 (0:00:00.434) 0:00:26.357 **** ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 21 September 2024 08:50:30 -0400 (0:00:00.129) 0:00:26.487 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 21 September 2024 08:50:30 -0400 (0:00:00.107) 0:00:26.594 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 21 September 2024 08:50:31 -0400 (0:00:00.145) 0:00:26.740 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 21 September 2024 08:50:31 -0400 (0:00:00.076) 0:00:26.816 **** skipping: [managed_node2] => (item={u'what': u'tasks/assert_device_present.yml', u'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_present.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 21 September 2024 08:50:31 -0400 (0:00:00.081) 0:00:26.898 **** ok: [managed_node2] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 21 September 2024 08:50:31 -0400 (0:00:00.102) 0:00:27.000 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 21 September 2024 08:50:31 -0400 (0:00:00.207) 0:00:27.208 **** fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.039582", "end": "2024-09-21 08:50:31.894198", "rc": 1, "start": "2024-09-21 08:50:31.854616" } 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-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 21 September 2024 08:50:32 -0400 (0:00:00.454) 0:00:27.662 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node2 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 21 September 2024 08:50:32 -0400 (0:00:00.140) 0:00:27.802 **** ok: [managed_node2] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 21 September 2024 08:50:32 -0400 (0:00:00.077) 0:00:27.880 **** ok: [managed_node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed_node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed_node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed_node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed_node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed_node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 21 September 2024 08:50:32 -0400 (0:00:00.219) 0:00:28.100 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 21 September 2024 08:50:32 -0400 (0:00:00.309) 0:00:28.409 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 21 September 2024 08:50:32 -0400 (0:00:00.209) 0:00:28.619 **** ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002968", "end": "2024-09-21 08:50:33.377487", "rc": 0, "start": "2024-09-21 08:50:33.374519" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 21 September 2024 08:50:33 -0400 (0:00:00.539) 0:00:29.158 **** ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 21 September 2024 08:50:33 -0400 (0:00:00.117) 0:00:29.276 **** ok: [managed_node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'dummy0', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 21 September 2024 08:50:33 -0400 (0:00:00.327) 0:00:29.603 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node2 included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node2 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 21 September 2024 08:50:34 -0400 (0:00:00.307) 0:00:29.911 **** fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006719", "end": "2024-09-21 08:50:34.587612", "rc": 1, "start": "2024-09-21 08:50:34.580893" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 21 September 2024 08:50:34 -0400 (0:00:00.560) 0:00:30.472 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 21 September 2024 08:50:35 -0400 (0:00:00.301) 0:00:30.773 **** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 21 September 2024 08:50:35 -0400 (0:00:00.551) 0:00:31.325 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 21 September 2024 08:50:35 -0400 (0:00:00.079) 0:00:31.404 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed_node2 TASK [Include network role] **************************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 21 September 2024 08:50:35 -0400 (0:00:00.208) 0:00:31.613 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:50:36 -0400 (0:00:00.236) 0:00:31.850 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:50:36 -0400 (0:00:00.210) 0:00:32.061 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:50:36 -0400 (0:00:00.130) 0:00:32.191 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:50:36 -0400 (0:00:00.110) 0:00:32.301 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:50:36 -0400 (0:00:00.090) 0:00:32.392 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:50:37 -0400 (0:00:01.075) 0:00:33.468 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:50:39 -0400 (0:00:01.452) 0:00:34.920 **** ok: [managed_node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:50:39 -0400 (0:00:00.094) 0:00:35.015 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:50:39 -0400 (0:00:00.181) 0:00:35.196 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:50:39 -0400 (0:00:00.180) 0:00:35.376 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:50:39 -0400 (0:00:00.150) 0:00:35.527 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:50:39 -0400 (0:00:00.119) 0:00:35.647 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:50:40 -0400 (0:00:00.143) 0:00:35.790 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:50:40 -0400 (0:00:00.126) 0:00:35.916 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:50:40 -0400 (0:00:00.180) 0:00:36.097 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:50:40 -0400 (0:00:00.113) 0:00:36.211 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:50:40 -0400 (0:00:00.085) 0:00:36.296 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:50:40 -0400 (0:00:00.160) 0:00:36.457 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:50:40 -0400 (0:00:00.108) 0:00:36.566 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:50:41 -0400 (0:00:00.106) 0:00:36.672 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:50:41 -0400 (0:00:00.769) 0:00:37.442 **** ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-11547tkslsq/tmpTnMXb7" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:50:42 -0400 (0:00:00.473) 0:00:37.916 **** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:50:42 -0400 (0:00:00.707) 0:00:38.623 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:50:43 -0400 (0:00:00.150) 0:00:38.774 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:50:43 -0400 (0:00:00.122) 0:00:38.897 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:50:43 -0400 (0:00:00.092) 0:00:38.989 **** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:50:43 -0400 (0:00:00.094) 0:00:39.084 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 21 September 2024 08:50:43 -0400 (0:00:00.415) 0:00:39.499 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 21 September 2024 08:50:43 -0400 (0:00:00.080) 0:00:39.580 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node2 included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 21 September 2024 08:50:44 -0400 (0:00:00.211) 0:00:39.792 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 21 September 2024 08:50:44 -0400 (0:00:00.199) 0:00:39.992 **** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 21 September 2024 08:50:45 -0400 (0:00:00.836) 0:00:40.829 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 21 September 2024 08:50:45 -0400 (0:00:00.233) 0:00:41.062 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 21 September 2024 08:50:45 -0400 (0:00:00.300) 0:00:41.362 **** ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 21 September 2024 08:50:45 -0400 (0:00:00.115) 0:00:41.477 **** ok: [managed_node2] => { "changed": false, "stat": { "atime": 1726923042.7725549, "block_size": 4096, "blocks": 8, "ctime": 1726923042.7725549, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22441, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1726923042.7725549, "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-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 21 September 2024 08:50:46 -0400 (0:00:00.716) 0:00:42.194 **** ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 21 September 2024 08:50:46 -0400 (0:00:00.102) 0:00:42.296 **** fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019722", "end": "2024-09-21 08:50:46.972410", "rc": 1, "start": "2024-09-21 08:50:46.952688" } 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-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 21 September 2024 08:50:47 -0400 (0:00:00.527) 0:00:42.823 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 21 September 2024 08:50:47 -0400 (0:00:00.118) 0:00:42.942 **** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003154", "end": "2024-09-21 08:50:47.600910", "rc": 0, "start": "2024-09-21 08:50:47.597756" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 21 September 2024 08:50:47 -0400 (0:00:00.564) 0:00:43.506 **** ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 21 September 2024 08:50:47 -0400 (0:00:00.126) 0:00:43.633 **** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002974", "end": "2024-09-21 08:50:48.257166", "rc": 0, "start": "2024-09-21 08:50:48.254192" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 21 September 2024 08:50:48 -0400 (0:00:00.418) 0:00:44.051 **** ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 21 September 2024 08:50:48 -0400 (0:00:00.189) 0:00:44.240 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 21 September 2024 08:50:48 -0400 (0:00:00.115) 0:00:44.356 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 21 September 2024 08:50:48 -0400 (0:00:00.164) 0:00:44.521 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 21 September 2024 08:50:48 -0400 (0:00:00.115) 0:00:44.637 **** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 21 September 2024 08:50:49 -0400 (0:00:00.198) 0:00:44.835 **** ok: [managed_node2] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 21 September 2024 08:50:49 -0400 (0:00:00.202) 0:00:45.038 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 21 September 2024 08:50:49 -0400 (0:00:00.252) 0:00:45.290 **** fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.036676", "end": "2024-09-21 08:50:49.974274", "rc": 1, "start": "2024-09-21 08:50:49.937598" } 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-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 21 September 2024 08:50:50 -0400 (0:00:00.482) 0:00:45.772 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node2 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 21 September 2024 08:50:50 -0400 (0:00:00.192) 0:00:45.965 **** ok: [managed_node2] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 21 September 2024 08:50:50 -0400 (0:00:00.107) 0:00:46.073 **** ok: [managed_node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed_node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed_node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed_node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed_node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed_node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 21 September 2024 08:50:50 -0400 (0:00:00.197) 0:00:46.271 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 21 September 2024 08:50:50 -0400 (0:00:00.284) 0:00:46.555 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 21 September 2024 08:50:51 -0400 (0:00:00.195) 0:00:46.751 **** ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003076", "end": "2024-09-21 08:50:51.379400", "rc": 0, "start": "2024-09-21 08:50:51.376324" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 21 September 2024 08:50:51 -0400 (0:00:00.412) 0:00:47.164 **** ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 21 September 2024 08:50:51 -0400 (0:00:00.105) 0:00:47.269 **** ok: [managed_node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'dummy0', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 21 September 2024 08:50:51 -0400 (0:00:00.093) 0:00:47.363 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node2 TASK [Include network role] **************************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 21 September 2024 08:50:51 -0400 (0:00:00.210) 0:00:47.573 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:50:52 -0400 (0:00:00.240) 0:00:47.813 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:50:52 -0400 (0:00:00.269) 0:00:48.083 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:50:52 -0400 (0:00:00.225) 0:00:48.309 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:50:52 -0400 (0:00:00.112) 0:00:48.421 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:50:52 -0400 (0:00:00.120) 0:00:48.542 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:50:53 -0400 (0:00:01.004) 0:00:49.546 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:50:55 -0400 (0:00:01.271) 0:00:50.818 **** ok: [managed_node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:50:55 -0400 (0:00:00.079) 0:00:50.897 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:50:55 -0400 (0:00:00.109) 0:00:51.007 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:50:55 -0400 (0:00:00.178) 0:00:51.186 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:50:55 -0400 (0:00:00.142) 0:00:51.328 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:50:55 -0400 (0:00:00.168) 0:00:51.496 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:50:55 -0400 (0:00:00.153) 0:00:51.649 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:50:56 -0400 (0:00:00.091) 0:00:51.740 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:50:56 -0400 (0:00:00.129) 0:00:51.870 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:50:56 -0400 (0:00:00.096) 0:00:51.966 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:50:56 -0400 (0:00:00.230) 0:00:52.197 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:50:56 -0400 (0:00:00.227) 0:00:52.425 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:50:56 -0400 (0:00:00.110) 0:00:52.535 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:50:57 -0400 (0:00:00.257) 0:00:52.793 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:50:58 -0400 (0:00:00.889) 0:00:53.682 **** ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-11547tkslsq/tmpzJn0jc" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:50:58 -0400 (0:00:00.380) 0:00:54.062 **** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:50:59 -0400 (0:00:00.670) 0:00:54.733 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:50:59 -0400 (0:00:00.080) 0:00:54.813 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:50:59 -0400 (0:00:00.105) 0:00:54.919 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:50:59 -0400 (0:00:00.197) 0:00:55.117 **** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:50:59 -0400 (0:00:00.089) 0:00:55.206 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 21 September 2024 08:51:00 -0400 (0:00:00.552) 0:00:55.759 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "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-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 21 September 2024 08:51:00 -0400 (0:00:00.135) 0:00:55.895 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node2 TASK [Include network role] **************************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 21 September 2024 08:51:00 -0400 (0:00:00.211) 0:00:56.107 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:51:00 -0400 (0:00:00.267) 0:00:56.374 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:51:00 -0400 (0:00:00.219) 0:00:56.594 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:51:01 -0400 (0:00:00.207) 0:00:56.802 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:51:01 -0400 (0:00:00.171) 0:00:56.973 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:51:01 -0400 (0:00:00.114) 0:00:57.088 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:51:02 -0400 (0:00:01.079) 0:00:58.168 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:51:03 -0400 (0:00:01.475) 0:00:59.644 **** ok: [managed_node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:51:04 -0400 (0:00:00.128) 0:00:59.772 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:51:04 -0400 (0:00:00.125) 0:00:59.898 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:51:04 -0400 (0:00:00.168) 0:01:00.066 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:51:04 -0400 (0:00:00.144) 0:01:00.211 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:51:04 -0400 (0:00:00.114) 0:01:00.326 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:51:04 -0400 (0:00:00.176) 0:01:00.502 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:51:04 -0400 (0:00:00.124) 0:01:00.627 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:51:05 -0400 (0:00:00.189) 0:01:00.816 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:51:05 -0400 (0:00:00.106) 0:01:00.922 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:51:05 -0400 (0:00:00.107) 0:01:01.030 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:51:05 -0400 (0:00:00.108) 0:01:01.138 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:51:05 -0400 (0:00:00.091) 0:01:01.230 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:51:05 -0400 (0:00:00.077) 0:01:01.307 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:51:06 -0400 (0:00:00.493) 0:01:01.801 **** ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-11547tkslsq/tmp6_dcvd" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:51:06 -0400 (0:00:00.439) 0:01:02.240 **** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:51:07 -0400 (0:00:00.838) 0:01:03.079 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:51:07 -0400 (0:00:00.131) 0:01:03.211 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:51:07 -0400 (0:00:00.151) 0:01:03.362 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:51:07 -0400 (0:00:00.120) 0:01:03.483 **** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:51:07 -0400 (0:00:00.129) 0:01:03.612 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 21 September 2024 08:51:08 -0400 (0:00:00.603) 0:01:04.215 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node2 included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 21 September 2024 08:51:08 -0400 (0:00:00.324) 0:01:04.540 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 21 September 2024 08:51:09 -0400 (0:00:00.247) 0:01:04.787 **** ok: [managed_node2] => { "changed": false, "stat": { "atime": 1726923067.2227304, "block_size": 4096, "blocks": 0, "ctime": 1726923067.2217305, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17726, "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": 1726923067.2217305, "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-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 21 September 2024 08:51:09 -0400 (0:00:00.564) 0:01:05.352 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 21 September 2024 08:51:09 -0400 (0:00:00.121) 0:01:05.473 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 21 September 2024 08:51:10 -0400 (0:00:00.307) 0:01:05.780 **** ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 21 September 2024 08:51:10 -0400 (0:00:00.114) 0:01:05.895 **** ok: [managed_node2] => { "changed": false, "stat": { "atime": 1726923067.0697293, "block_size": 4096, "blocks": 8, "ctime": 1726923058.9866712, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22435, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1726923058.9866712, "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-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 21 September 2024 08:51:10 -0400 (0:00:00.402) 0:01:06.297 **** ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 21 September 2024 08:51:10 -0400 (0:00:00.091) 0:01:06.389 **** fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019200", "end": "2024-09-21 08:51:11.119479", "rc": 1, "start": "2024-09-21 08:51:11.100279" } 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-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 21 September 2024 08:51:11 -0400 (0:00:00.571) 0:01:06.960 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 21 September 2024 08:51:11 -0400 (0:00:00.127) 0:01:07.088 **** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003166", "end": "2024-09-21 08:51:11.750116", "rc": 0, "start": "2024-09-21 08:51:11.746950" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 21 September 2024 08:51:11 -0400 (0:00:00.408) 0:01:07.496 **** ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 21 September 2024 08:51:11 -0400 (0:00:00.116) 0:01:07.612 **** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003078", "end": "2024-09-21 08:51:12.250366", "rc": 0, "start": "2024-09-21 08:51:12.247288" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 21 September 2024 08:51:12 -0400 (0:00:00.490) 0:01:08.103 **** ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 21 September 2024 08:51:12 -0400 (0:00:00.143) 0:01:08.247 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 21 September 2024 08:51:12 -0400 (0:00:00.128) 0:01:08.376 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 21 September 2024 08:51:12 -0400 (0:00:00.127) 0:01:08.503 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 21 September 2024 08:51:13 -0400 (0:00:00.208) 0:01:08.712 **** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 21 September 2024 08:51:13 -0400 (0:00:00.102) 0:01:08.814 **** ok: [managed_node2] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 21 September 2024 08:51:13 -0400 (0:00:00.175) 0:01:08.990 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 21 September 2024 08:51:13 -0400 (0:00:00.452) 0:01:09.443 **** ok: [managed_node2] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.047531", "end": "2024-09-21 08:51:14.159722", "rc": 0, "start": "2024-09-21 08:51:14.112191" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 21 September 2024 08:51:14 -0400 (0:00:00.595) 0:01:10.039 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node2 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 21 September 2024 08:51:14 -0400 (0:00:00.248) 0:01:10.287 **** ok: [managed_node2] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 21 September 2024 08:51:14 -0400 (0:00:00.123) 0:01:10.410 **** ok: [managed_node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed_node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed_node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed_node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed_node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed_node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 21 September 2024 08:51:14 -0400 (0:00:00.214) 0:01:10.625 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 21 September 2024 08:51:15 -0400 (0:00:00.193) 0:01:10.818 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 21 September 2024 08:51:15 -0400 (0:00:00.190) 0:01:11.008 **** ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004177", "end": "2024-09-21 08:51:16.750791", "rc": 0, "start": "2024-09-21 08:51:15.746614" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 21 September 2024 08:51:16 -0400 (0:00:01.624) 0:01:12.633 **** ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 21 September 2024 08:51:17 -0400 (0:00:00.147) 0:01:12.780 **** ok: [managed_node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'dummy0', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 21 September 2024 08:51:17 -0400 (0:00:00.124) 0:01:12.904 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node2 included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node2 TASK [Include network role] **************************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 21 September 2024 08:51:17 -0400 (0:00:00.221) 0:01:13.126 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:51:17 -0400 (0:00:00.281) 0:01:13.408 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:51:17 -0400 (0:00:00.188) 0:01:13.597 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:51:18 -0400 (0:00:00.100) 0:01:13.697 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:51:18 -0400 (0:00:00.084) 0:01:13.782 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:51:18 -0400 (0:00:00.115) 0:01:13.897 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:51:19 -0400 (0:00:00.938) 0:01:14.835 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:51:20 -0400 (0:00:01.213) 0:01:16.049 **** ok: [managed_node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:51:20 -0400 (0:00:00.075) 0:01:16.124 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:51:20 -0400 (0:00:00.073) 0:01:16.198 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:51:20 -0400 (0:00:00.073) 0:01:16.271 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:51:20 -0400 (0:00:00.070) 0:01:16.342 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:51:20 -0400 (0:00:00.084) 0:01:16.427 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:51:20 -0400 (0:00:00.086) 0:01:16.514 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:51:20 -0400 (0:00:00.113) 0:01:16.627 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:51:21 -0400 (0:00:00.181) 0:01:16.808 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:51:21 -0400 (0:00:00.109) 0:01:16.918 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:51:21 -0400 (0:00:00.107) 0:01:17.026 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:51:21 -0400 (0:00:00.119) 0:01:17.145 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:51:21 -0400 (0:00:00.115) 0:01:17.260 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:51:21 -0400 (0:00:00.107) 0:01:17.368 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:51:22 -0400 (0:00:00.587) 0:01:17.955 **** ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-11547tkslsq/tmpOxUKWP" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:51:22 -0400 (0:00:00.414) 0:01:18.370 **** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:51:23 -0400 (0:00:00.837) 0:01:19.207 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:51:23 -0400 (0:00:00.112) 0:01:19.320 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:51:23 -0400 (0:00:00.147) 0:01:19.467 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:51:23 -0400 (0:00:00.134) 0:01:19.602 **** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:51:24 -0400 (0:00:00.117) 0:01:19.719 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 21 September 2024 08:51:24 -0400 (0:00:00.486) 0:01:20.205 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 21 September 2024 08:51:24 -0400 (0:00:00.124) 0:01:20.330 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:51:24 -0400 (0:00:00.286) 0:01:20.616 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:51:25 -0400 (0:00:00.261) 0:01:20.877 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:51:25 -0400 (0:00:00.170) 0:01:21.047 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:51:25 -0400 (0:00:00.133) 0:01:21.181 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:51:25 -0400 (0:00:00.122) 0:01:21.304 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:51:26 -0400 (0:00:01.062) 0:01:22.367 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:51:28 -0400 (0:00:01.301) 0:01:23.668 **** ok: [managed_node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:51:28 -0400 (0:00:00.120) 0:01:23.789 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:51:28 -0400 (0:00:00.146) 0:01:23.935 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:51:28 -0400 (0:00:00.112) 0:01:24.048 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:51:28 -0400 (0:00:00.128) 0:01:24.177 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:51:28 -0400 (0:00:00.154) 0:01:24.331 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:51:28 -0400 (0:00:00.130) 0:01:24.462 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:51:28 -0400 (0:00:00.152) 0:01:24.614 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:51:29 -0400 (0:00:00.259) 0:01:24.873 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:51:29 -0400 (0:00:00.131) 0:01:25.004 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:51:29 -0400 (0:00:00.206) 0:01:25.211 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:51:29 -0400 (0:00:00.176) 0:01:25.387 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:51:29 -0400 (0:00:00.109) 0:01:25.497 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:51:29 -0400 (0:00:00.112) 0:01:25.609 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:51:30 -0400 (0:00:00.738) 0:01:26.347 **** ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-11547tkslsq/tmpfCiwKG" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:51:31 -0400 (0:00:00.543) 0:01:26.890 **** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:51:32 -0400 (0:00:01.290) 0:01:28.181 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:51:32 -0400 (0:00:00.134) 0:01:28.316 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:51:32 -0400 (0:00:00.117) 0:01:28.433 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:51:32 -0400 (0:00:00.150) 0:01:28.583 **** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:51:33 -0400 (0:00:00.108) 0:01:28.691 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 21 September 2024 08:51:33 -0400 (0:00:00.407) 0:01:29.099 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node2 TASK [Include network role] **************************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 21 September 2024 08:51:33 -0400 (0:00:00.209) 0:01:29.309 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:51:33 -0400 (0:00:00.238) 0:01:29.547 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:51:34 -0400 (0:00:00.230) 0:01:29.777 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:51:34 -0400 (0:00:00.218) 0:01:29.995 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:51:34 -0400 (0:00:00.119) 0:01:30.115 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:51:34 -0400 (0:00:00.205) 0:01:30.320 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:51:35 -0400 (0:00:01.017) 0:01:31.338 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:51:37 -0400 (0:00:01.568) 0:01:32.906 **** ok: [managed_node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:51:37 -0400 (0:00:00.144) 0:01:33.050 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:51:37 -0400 (0:00:00.117) 0:01:33.167 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:51:37 -0400 (0:00:00.113) 0:01:33.280 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:51:37 -0400 (0:00:00.114) 0:01:33.395 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:51:37 -0400 (0:00:00.125) 0:01:33.521 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:51:37 -0400 (0:00:00.127) 0:01:33.648 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:51:38 -0400 (0:00:00.249) 0:01:33.898 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:51:38 -0400 (0:00:00.324) 0:01:34.222 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:51:38 -0400 (0:00:00.155) 0:01:34.378 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:51:38 -0400 (0:00:00.144) 0:01:34.522 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:51:38 -0400 (0:00:00.117) 0:01:34.640 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:51:39 -0400 (0:00:00.082) 0:01:34.722 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:51:39 -0400 (0:00:00.082) 0:01:34.805 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:51:40 -0400 (0:00:00.877) 0:01:35.682 **** ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-11547tkslsq/tmpbk1DeK" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:51:40 -0400 (0:00:00.471) 0:01:36.154 **** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:51:41 -0400 (0:00:00.886) 0:01:37.040 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:51:41 -0400 (0:00:00.097) 0:01:37.137 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:51:41 -0400 (0:00:00.103) 0:01:37.241 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:51:41 -0400 (0:00:00.113) 0:01:37.355 **** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:51:41 -0400 (0:00:00.111) 0:01:37.467 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 21 September 2024 08:51:42 -0400 (0:00:00.632) 0:01:38.099 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node2 included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 21 September 2024 08:51:42 -0400 (0:00:00.236) 0:01:38.336 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 21 September 2024 08:51:42 -0400 (0:00:00.303) 0:01:38.639 **** ok: [managed_node2] => { "changed": false, "stat": { "atime": 1726923092.3309107, "block_size": 4096, "blocks": 0, "ctime": 1726923092.3299105, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17726, "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": 1726923092.3299105, "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-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 21 September 2024 08:51:43 -0400 (0:00:00.465) 0:01:39.105 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 21 September 2024 08:51:43 -0400 (0:00:00.112) 0:01:39.217 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 21 September 2024 08:51:43 -0400 (0:00:00.263) 0:01:39.480 **** ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 21 September 2024 08:51:43 -0400 (0:00:00.115) 0:01:39.595 **** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 21 September 2024 08:51:44 -0400 (0:00:00.465) 0:01:40.061 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 21 September 2024 08:51:44 -0400 (0:00:00.119) 0:01:40.180 **** fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019669", "end": "2024-09-21 08:51:44.796941", "rc": 1, "start": "2024-09-21 08:51:44.777272" } 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-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 21 September 2024 08:51:44 -0400 (0:00:00.387) 0:01:40.568 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 21 September 2024 08:51:45 -0400 (0:00:00.107) 0:01:40.675 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 21 September 2024 08:51:45 -0400 (0:00:00.106) 0:01:40.781 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 21 September 2024 08:51:45 -0400 (0:00:00.110) 0:01:40.892 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 21 September 2024 08:51:45 -0400 (0:00:00.111) 0:01:41.003 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 21 September 2024 08:51:45 -0400 (0:00:00.123) 0:01:41.127 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 21 September 2024 08:51:45 -0400 (0:00:00.140) 0:01:41.268 **** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 21 September 2024 08:51:45 -0400 (0:00:00.109) 0:01:41.378 **** ok: [managed_node2] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 21 September 2024 08:51:45 -0400 (0:00:00.121) 0:01:41.499 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 21 September 2024 08:51:46 -0400 (0:00:00.337) 0:01:41.837 **** ok: [managed_node2] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.044831", "end": "2024-09-21 08:51:46.665728", "rc": 0, "start": "2024-09-21 08:51:46.620897" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 21 September 2024 08:51:46 -0400 (0:00:00.618) 0:01:42.456 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node2 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 21 September 2024 08:51:46 -0400 (0:00:00.196) 0:01:42.652 **** ok: [managed_node2] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 21 September 2024 08:51:47 -0400 (0:00:00.126) 0:01:42.779 **** ok: [managed_node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed_node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [managed_node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed_node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed_node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed_node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 21 September 2024 08:51:47 -0400 (0:00:00.181) 0:01:42.960 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 21 September 2024 08:51:47 -0400 (0:00:00.163) 0:01:43.123 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 21 September 2024 08:51:47 -0400 (0:00:00.244) 0:01:43.368 **** ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002851", "end": "2024-09-21 08:51:48.036200", "rc": 0, "start": "2024-09-21 08:51:48.033349" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 21 September 2024 08:51:48 -0400 (0:00:00.457) 0:01:43.826 **** ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 21 September 2024 08:51:48 -0400 (0:00:00.145) 0:01:43.972 **** ok: [managed_node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'dummy0', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 21 September 2024 08:51:48 -0400 (0:00:00.095) 0:01:44.067 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node2 included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node2 included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node2 TASK [Include network role] **************************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 21 September 2024 08:51:48 -0400 (0:00:00.229) 0:01:44.296 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:51:48 -0400 (0:00:00.228) 0:01:44.525 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:51:49 -0400 (0:00:00.303) 0:01:44.828 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:51:49 -0400 (0:00:00.218) 0:01:45.047 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:51:49 -0400 (0:00:00.214) 0:01:45.261 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:51:49 -0400 (0:00:00.121) 0:01:45.383 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:51:50 -0400 (0:00:01.008) 0:01:46.392 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:51:52 -0400 (0:00:01.289) 0:01:47.681 **** ok: [managed_node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:51:52 -0400 (0:00:00.117) 0:01:47.799 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:51:52 -0400 (0:00:00.106) 0:01:47.906 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:51:52 -0400 (0:00:00.109) 0:01:48.015 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:51:52 -0400 (0:00:00.181) 0:01:48.197 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:51:52 -0400 (0:00:00.160) 0:01:48.357 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:51:52 -0400 (0:00:00.126) 0:01:48.484 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:51:52 -0400 (0:00:00.125) 0:01:48.610 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:51:53 -0400 (0:00:00.205) 0:01:48.815 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:51:53 -0400 (0:00:00.124) 0:01:48.940 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:51:53 -0400 (0:00:00.119) 0:01:49.059 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:51:53 -0400 (0:00:00.236) 0:01:49.296 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:51:53 -0400 (0:00:00.176) 0:01:49.473 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:51:54 -0400 (0:00:00.217) 0:01:49.690 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:51:54 -0400 (0:00:00.675) 0:01:50.366 **** ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-11547tkslsq/tmpmQ99iS" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:51:55 -0400 (0:00:00.727) 0:01:51.094 **** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:51:56 -0400 (0:00:00.748) 0:01:51.842 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:51:56 -0400 (0:00:00.121) 0:01:51.964 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:51:56 -0400 (0:00:00.164) 0:01:52.129 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:51:56 -0400 (0:00:00.183) 0:01:52.313 **** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:51:56 -0400 (0:00:00.211) 0:01:52.524 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 21 September 2024 08:51:57 -0400 (0:00:00.518) 0:01:53.043 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 21 September 2024 08:51:57 -0400 (0:00:00.137) 0:01:53.180 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:51:57 -0400 (0:00:00.172) 0:01:53.353 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:51:57 -0400 (0:00:00.151) 0:01:53.505 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:51:57 -0400 (0:00:00.089) 0:01:53.594 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:51:58 -0400 (0:00:00.071) 0:01:53.666 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:51:58 -0400 (0:00:00.068) 0:01:53.735 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:51:58 -0400 (0:00:00.844) 0:01:54.579 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:52:00 -0400 (0:00:01.409) 0:01:55.989 **** ok: [managed_node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:52:00 -0400 (0:00:00.121) 0:01:56.111 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:52:00 -0400 (0:00:00.121) 0:01:56.232 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:52:00 -0400 (0:00:00.122) 0:01:56.354 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:52:00 -0400 (0:00:00.111) 0:01:56.465 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:52:00 -0400 (0:00:00.102) 0:01:56.568 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:52:01 -0400 (0:00:00.104) 0:01:56.673 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:52:01 -0400 (0:00:00.091) 0:01:56.764 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:52:01 -0400 (0:00:00.135) 0:01:56.899 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:52:01 -0400 (0:00:00.114) 0:01:57.013 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:52:01 -0400 (0:00:00.112) 0:01:57.126 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:52:01 -0400 (0:00:00.120) 0:01:57.246 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:52:01 -0400 (0:00:00.129) 0:01:57.376 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:52:01 -0400 (0:00:00.115) 0:01:57.491 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:52:02 -0400 (0:00:00.534) 0:01:58.025 **** ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-11547tkslsq/tmpSudIrG" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:52:02 -0400 (0:00:00.432) 0:01:58.458 **** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:52:03 -0400 (0:00:01.031) 0:01:59.489 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:52:03 -0400 (0:00:00.136) 0:01:59.626 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:52:04 -0400 (0:00:00.125) 0:01:59.751 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:52:04 -0400 (0:00:00.115) 0:01:59.867 **** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:52:04 -0400 (0:00:00.137) 0:02:00.005 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 21 September 2024 08:52:04 -0400 (0:00:00.458) 0:02:00.463 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:52:05 -0400 (0:00:00.208) 0:02:00.671 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:52:05 -0400 (0:00:00.310) 0:02:00.982 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:52:05 -0400 (0:00:00.156) 0:02:01.138 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:52:05 -0400 (0:00:00.099) 0:02:01.238 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:52:05 -0400 (0:00:00.090) 0:02:01.328 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:52:06 -0400 (0:00:00.960) 0:02:02.289 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:52:08 -0400 (0:00:01.666) 0:02:03.956 **** ok: [managed_node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:52:08 -0400 (0:00:00.126) 0:02:04.083 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:52:08 -0400 (0:00:00.100) 0:02:04.184 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:52:08 -0400 (0:00:00.113) 0:02:04.297 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:52:08 -0400 (0:00:00.116) 0:02:04.413 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:52:08 -0400 (0:00:00.193) 0:02:04.606 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:52:09 -0400 (0:00:00.150) 0:02:04.757 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:52:09 -0400 (0:00:00.122) 0:02:04.880 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:52:09 -0400 (0:00:00.297) 0:02:05.177 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:52:09 -0400 (0:00:00.199) 0:02:05.377 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:52:09 -0400 (0:00:00.100) 0:02:05.477 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:52:09 -0400 (0:00:00.111) 0:02:05.588 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:52:10 -0400 (0:00:00.078) 0:02:05.667 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:52:10 -0400 (0:00:00.083) 0:02:05.751 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:52:10 -0400 (0:00:00.822) 0:02:06.573 **** ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-11547tkslsq/tmpHbv0xe" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:52:11 -0400 (0:00:00.542) 0:02:07.116 **** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:52:12 -0400 (0:00:00.894) 0:02:08.010 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:52:12 -0400 (0:00:00.088) 0:02:08.099 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:52:12 -0400 (0:00:00.079) 0:02:08.178 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:52:12 -0400 (0:00:00.084) 0:02:08.263 **** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:52:12 -0400 (0:00:00.071) 0:02:08.334 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 21 September 2024 08:52:13 -0400 (0:00:00.461) 0:02:08.795 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node2 TASK [Include network role] **************************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 21 September 2024 08:52:13 -0400 (0:00:00.207) 0:02:09.003 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:52:13 -0400 (0:00:00.154) 0:02:09.158 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:52:13 -0400 (0:00:00.158) 0:02:09.316 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:52:13 -0400 (0:00:00.095) 0:02:09.411 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:52:13 -0400 (0:00:00.073) 0:02:09.485 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:52:13 -0400 (0:00:00.130) 0:02:09.615 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:52:15 -0400 (0:00:01.109) 0:02:10.725 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:52:16 -0400 (0:00:01.521) 0:02:12.246 **** ok: [managed_node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:52:16 -0400 (0:00:00.117) 0:02:12.364 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:52:16 -0400 (0:00:00.153) 0:02:12.518 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:52:16 -0400 (0:00:00.134) 0:02:12.652 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:52:17 -0400 (0:00:00.113) 0:02:12.765 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:52:17 -0400 (0:00:00.133) 0:02:12.898 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:52:17 -0400 (0:00:00.149) 0:02:13.048 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:52:17 -0400 (0:00:00.103) 0:02:13.152 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:52:17 -0400 (0:00:00.187) 0:02:13.339 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:52:17 -0400 (0:00:00.130) 0:02:13.470 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:52:17 -0400 (0:00:00.162) 0:02:13.632 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:52:18 -0400 (0:00:00.222) 0:02:13.855 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:52:18 -0400 (0:00:00.154) 0:02:14.009 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:52:18 -0400 (0:00:00.116) 0:02:14.126 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:52:19 -0400 (0:00:00.686) 0:02:14.813 **** ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-11547tkslsq/tmpess71y" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:52:19 -0400 (0:00:00.535) 0:02:15.349 **** ok: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:52:20 -0400 (0:00:00.916) 0:02:16.265 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:52:20 -0400 (0:00:00.108) 0:02:16.373 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:52:20 -0400 (0:00:00.116) 0:02:16.490 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:52:20 -0400 (0:00:00.121) 0:02:16.611 **** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:52:21 -0400 (0:00:00.119) 0:02:16.730 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 21 September 2024 08:52:21 -0400 (0:00:00.444) 0:02:17.175 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node2 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 21 September 2024 08:52:21 -0400 (0:00:00.212) 0:02:17.388 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 21 September 2024 08:52:21 -0400 (0:00:00.167) 0:02:17.555 **** ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 21 September 2024 08:52:21 -0400 (0:00:00.078) 0:02:17.634 **** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 21 September 2024 08:52:22 -0400 (0:00:00.567) 0:02:18.201 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 21 September 2024 08:52:22 -0400 (0:00:00.212) 0:02:18.413 **** fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018887", "end": "2024-09-21 08:52:23.193182", "rc": 1, "start": "2024-09-21 08:52:23.174295" } 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-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 21 September 2024 08:52:23 -0400 (0:00:00.612) 0:02:19.026 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 21 September 2024 08:52:23 -0400 (0:00:00.168) 0:02:19.194 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 21 September 2024 08:52:23 -0400 (0:00:00.227) 0:02:19.422 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 21 September 2024 08:52:23 -0400 (0:00:00.203) 0:02:19.625 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 21 September 2024 08:52:24 -0400 (0:00:00.158) 0:02:19.784 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 21 September 2024 08:52:24 -0400 (0:00:00.154) 0:02:19.938 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 21 September 2024 08:52:24 -0400 (0:00:00.156) 0:02:20.095 **** skipping: [managed_node2] => (item={u'what': u'tasks/assert_device_absent.yml', u'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 21 September 2024 08:52:24 -0400 (0:00:00.162) 0:02:20.257 **** ok: [managed_node2] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 21 September 2024 08:52:24 -0400 (0:00:00.098) 0:02:20.356 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 21 September 2024 08:52:24 -0400 (0:00:00.221) 0:02:20.578 **** ok: [managed_node2] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.045327", "end": "2024-09-21 08:52:25.305690", "rc": 0, "start": "2024-09-21 08:52:25.260363" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 21 September 2024 08:52:25 -0400 (0:00:00.595) 0:02:21.173 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node2 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 21 September 2024 08:52:25 -0400 (0:00:00.205) 0:02:21.379 **** ok: [managed_node2] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 21 September 2024 08:52:25 -0400 (0:00:00.085) 0:02:21.464 **** ok: [managed_node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [managed_node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [managed_node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed_node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed_node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed_node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 21 September 2024 08:52:26 -0400 (0:00:00.210) 0:02:21.674 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 21 September 2024 08:52:26 -0400 (0:00:00.199) 0:02:21.874 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 21 September 2024 08:52:26 -0400 (0:00:00.219) 0:02:22.094 **** ok: [managed_node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003180", "end": "2024-09-21 08:52:26.823131", "rc": 0, "start": "2024-09-21 08:52:26.819951" } STDOUT: bond0 bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 21 September 2024 08:52:26 -0400 (0:00:00.471) 0:02:22.566 **** ok: [managed_node2] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 21 September 2024 08:52:27 -0400 (0:00:00.093) 0:02:22.659 **** ok: [managed_node2] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'dummy0', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 21 September 2024 08:52:27 -0400 (0:00:00.111) 0:02:22.771 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node2 included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node2 included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node2 TASK [Include network role] **************************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 21 September 2024 08:52:27 -0400 (0:00:00.228) 0:02:23.000 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:52:27 -0400 (0:00:00.212) 0:02:23.212 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:52:27 -0400 (0:00:00.307) 0:02:23.520 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:52:28 -0400 (0:00:00.168) 0:02:23.688 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:52:28 -0400 (0:00:00.131) 0:02:23.820 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:52:28 -0400 (0:00:00.164) 0:02:23.985 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:52:29 -0400 (0:00:01.196) 0:02:25.181 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:52:31 -0400 (0:00:01.640) 0:02:26.822 **** ok: [managed_node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:52:31 -0400 (0:00:00.193) 0:02:27.015 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:52:31 -0400 (0:00:00.135) 0:02:27.151 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:52:31 -0400 (0:00:00.100) 0:02:27.251 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:52:31 -0400 (0:00:00.119) 0:02:27.371 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:52:31 -0400 (0:00:00.173) 0:02:27.544 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:52:32 -0400 (0:00:00.133) 0:02:27.678 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:52:32 -0400 (0:00:00.124) 0:02:27.803 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:52:32 -0400 (0:00:00.186) 0:02:27.989 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:52:32 -0400 (0:00:00.111) 0:02:28.100 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:52:32 -0400 (0:00:00.214) 0:02:28.314 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:52:32 -0400 (0:00:00.141) 0:02:28.456 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:52:32 -0400 (0:00:00.095) 0:02:28.552 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:52:32 -0400 (0:00:00.084) 0:02:28.636 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:52:33 -0400 (0:00:00.606) 0:02:29.243 **** ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-11547tkslsq/tmphlxw37" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:52:34 -0400 (0:00:00.445) 0:02:29.689 **** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:52:34 -0400 (0:00:00.618) 0:02:30.307 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:52:34 -0400 (0:00:00.115) 0:02:30.422 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:52:34 -0400 (0:00:00.121) 0:02:30.544 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:52:35 -0400 (0:00:00.138) 0:02:30.683 **** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:52:35 -0400 (0:00:00.072) 0:02:30.755 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 21 September 2024 08:52:35 -0400 (0:00:00.386) 0:02:31.142 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 21 September 2024 08:52:35 -0400 (0:00:00.073) 0:02:31.215 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:52:35 -0400 (0:00:00.176) 0:02:31.391 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:52:35 -0400 (0:00:00.230) 0:02:31.621 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:52:36 -0400 (0:00:00.175) 0:02:31.797 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:52:36 -0400 (0:00:00.184) 0:02:31.981 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:52:36 -0400 (0:00:00.124) 0:02:32.106 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:52:37 -0400 (0:00:01.152) 0:02:33.258 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:52:38 -0400 (0:00:01.241) 0:02:34.500 **** ok: [managed_node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:52:38 -0400 (0:00:00.104) 0:02:34.605 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:52:39 -0400 (0:00:00.093) 0:02:34.699 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:52:39 -0400 (0:00:00.122) 0:02:34.821 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:52:39 -0400 (0:00:00.334) 0:02:35.156 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:52:39 -0400 (0:00:00.155) 0:02:35.312 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:52:39 -0400 (0:00:00.158) 0:02:35.471 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:52:39 -0400 (0:00:00.155) 0:02:35.626 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:52:40 -0400 (0:00:00.205) 0:02:35.832 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:52:40 -0400 (0:00:00.120) 0:02:35.953 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:52:40 -0400 (0:00:00.117) 0:02:36.070 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:52:40 -0400 (0:00:00.156) 0:02:36.227 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:52:40 -0400 (0:00:00.123) 0:02:36.351 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:52:40 -0400 (0:00:00.117) 0:02:36.468 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:52:41 -0400 (0:00:00.555) 0:02:37.024 **** ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-11547tkslsq/tmp29B3SE" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:52:41 -0400 (0:00:00.382) 0:02:37.406 **** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:52:42 -0400 (0:00:00.820) 0:02:38.226 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:52:42 -0400 (0:00:00.070) 0:02:38.296 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:52:42 -0400 (0:00:00.073) 0:02:38.370 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:52:42 -0400 (0:00:00.135) 0:02:38.506 **** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:52:42 -0400 (0:00:00.106) 0:02:38.613 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 21 September 2024 08:52:43 -0400 (0:00:00.340) 0:02:38.953 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:52:43 -0400 (0:00:00.162) 0:02:39.115 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:52:43 -0400 (0:00:00.159) 0:02:39.275 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:52:43 -0400 (0:00:00.089) 0:02:39.365 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:52:43 -0400 (0:00:00.071) 0:02:39.436 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:52:43 -0400 (0:00:00.071) 0:02:39.508 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:52:44 -0400 (0:00:00.857) 0:02:40.365 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:52:45 -0400 (0:00:01.282) 0:02:41.648 **** ok: [managed_node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:52:46 -0400 (0:00:00.076) 0:02:41.725 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:52:46 -0400 (0:00:00.092) 0:02:41.817 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:52:46 -0400 (0:00:00.116) 0:02:41.934 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:52:46 -0400 (0:00:00.114) 0:02:42.048 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:52:46 -0400 (0:00:00.124) 0:02:42.172 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:52:46 -0400 (0:00:00.123) 0:02:42.295 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:52:46 -0400 (0:00:00.118) 0:02:42.414 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:52:46 -0400 (0:00:00.129) 0:02:42.544 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:52:46 -0400 (0:00:00.071) 0:02:42.615 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:52:47 -0400 (0:00:00.073) 0:02:42.689 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:52:47 -0400 (0:00:00.076) 0:02:42.766 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:52:47 -0400 (0:00:00.073) 0:02:42.839 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:52:47 -0400 (0:00:00.071) 0:02:42.910 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:52:47 -0400 (0:00:00.603) 0:02:43.513 **** ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-11547tkslsq/tmpYNb2RB" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:52:48 -0400 (0:00:00.426) 0:02:43.939 **** changed: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:52:49 -0400 (0:00:01.080) 0:02:45.020 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:52:49 -0400 (0:00:00.214) 0:02:45.234 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:52:49 -0400 (0:00:00.176) 0:02:45.411 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:52:49 -0400 (0:00:00.169) 0:02:45.581 **** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:52:50 -0400 (0:00:00.117) 0:02:45.699 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 21 September 2024 08:52:50 -0400 (0:00:00.399) 0:02:46.098 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node2 TASK [Include network role] **************************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 21 September 2024 08:52:50 -0400 (0:00:00.220) 0:02:46.319 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 September 2024 08:52:50 -0400 (0:00:00.241) 0:02:46.561 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 September 2024 08:52:51 -0400 (0:00:00.337) 0:02:46.898 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 September 2024 08:52:51 -0400 (0:00:00.249) 0:02:47.148 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 September 2024 08:52:51 -0400 (0:00:00.111) 0:02:47.259 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 September 2024 08:52:51 -0400 (0:00:00.140) 0:02:47.400 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 September 2024 08:52:52 -0400 (0:00:01.184) 0:02:48.584 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 September 2024 08:52:54 -0400 (0:00:01.263) 0:02:49.848 **** ok: [managed_node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 September 2024 08:52:54 -0400 (0:00:00.105) 0:02:49.953 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 September 2024 08:52:54 -0400 (0:00:00.097) 0:02:50.051 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 September 2024 08:52:54 -0400 (0:00:00.099) 0:02:50.151 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 September 2024 08:52:54 -0400 (0:00:00.078) 0:02:50.229 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 September 2024 08:52:54 -0400 (0:00:00.111) 0:02:50.340 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 September 2024 08:52:54 -0400 (0:00:00.122) 0:02:50.463 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 September 2024 08:52:54 -0400 (0:00:00.151) 0:02:50.614 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 September 2024 08:52:55 -0400 (0:00:00.265) 0:02:50.879 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 September 2024 08:52:55 -0400 (0:00:00.111) 0:02:50.991 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 September 2024 08:52:55 -0400 (0:00:00.114) 0:02:51.106 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 September 2024 08:52:55 -0400 (0:00:00.116) 0:02:51.223 **** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 September 2024 08:52:55 -0400 (0:00:00.114) 0:02:51.337 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 September 2024 08:52:55 -0400 (0:00:00.113) 0:02:51.450 **** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 September 2024 08:52:56 -0400 (0:00:00.696) 0:02:52.147 **** ok: [managed_node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-11547tkslsq/tmpW7WasP" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 September 2024 08:52:57 -0400 (0:00:00.609) 0:02:52.757 **** ok: [managed_node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 September 2024 08:52:57 -0400 (0:00:00.811) 0:02:53.569 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 September 2024 08:52:58 -0400 (0:00:00.150) 0:02:53.719 **** ok: [managed_node2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 September 2024 08:52:58 -0400 (0:00:00.144) 0:02:53.863 **** ok: [managed_node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 September 2024 08:52:58 -0400 (0:00:00.095) 0:02:53.958 **** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 September 2024 08:52:58 -0400 (0:00:00.100) 0:02:54.059 **** ok: [managed_node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 21 September 2024 08:52:58 -0400 (0:00:00.413) 0:02:54.473 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node2 included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed_node2 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 21 September 2024 08:52:59 -0400 (0:00:00.232) 0:02:54.705 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 21 September 2024 08:52:59 -0400 (0:00:00.335) 0:02:55.040 **** ok: [managed_node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 21 September 2024 08:52:59 -0400 (0:00:00.138) 0:02:55.179 **** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 21 September 2024 08:52:59 -0400 (0:00:00.426) 0:02:55.606 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 21 September 2024 08:53:00 -0400 (0:00:00.102) 0:02:55.708 **** fatal: [managed_node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019886", "end": "2024-09-21 08:53:00.524908", "rc": 1, "start": "2024-09-21 08:53:00.505022" } 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-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 21 September 2024 08:53:00 -0400 (0:00:00.578) 0:02:56.286 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 21 September 2024 08:53:00 -0400 (0:00:00.074) 0:02:56.361 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 21 September 2024 08:53:00 -0400 (0:00:00.072) 0:02:56.433 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 21 September 2024 08:53:00 -0400 (0:00:00.073) 0:02:56.507 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 21 September 2024 08:53:00 -0400 (0:00:00.079) 0:02:56.587 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 21 September 2024 08:53:01 -0400 (0:00:00.103) 0:02:56.690 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 21 September 2024 08:53:01 -0400 (0:00:00.124) 0:02:56.814 **** [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ok: [managed_node2] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.591123", "end": "2024-09-21 08:53:02.091981", "rc": 0, "start": "2024-09-21 08:53:01.500858" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 21 September 2024 08:53:02 -0400 (0:00:01.082) 0:02:57.897 **** ok: [managed_node2] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 21 September 2024 08:53:02 -0400 (0:00:00.183) 0:02:58.081 **** ok: [managed_node2] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 21 September 2024 08:53:02 -0400 (0:00:00.142) 0:02:58.223 **** skipping: [managed_node2] => (item={u'what': u'tasks/assert_device_absent.yml', u'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 21 September 2024 08:53:02 -0400 (0:00:00.145) 0:02:58.369 **** ok: [managed_node2] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 21 September 2024 08:53:02 -0400 (0:00:00.225) 0:02:58.595 **** included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node2 included: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed_node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 21 September 2024 08:53:03 -0400 (0:00:00.323) 0:02:58.918 **** ok: [managed_node2] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.041031", "end": "2024-09-21 08:53:03.687683", "rc": 0, "start": "2024-09-21 08:53:03.646652" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 21 September 2024 08:53:03 -0400 (0:00:00.560) 0:02:59.478 **** ok: [managed_node2] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.006508", "end": "2024-09-21 08:53:04.135730", "rc": 0, "start": "2024-09-21 08:53:04.129222" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0a:ff:e5:cc:e6:21 brd ff:ff:ff:ff:ff:ff inet 10.31.13.172/22 brd 10.31.15.255 scope global noprefixroute dynamic eth0 valid_lft 3218sec preferred_lft 3218sec inet6 fe80::8ff:e5ff:fecc:e621/64 scope link valid_lft forever preferred_lft forever 8: bond0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether ae:59:19:4f:8d:76 brd ff:ff:ff:ff:ff:ff 30: dummy0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 2e:a4:f8:c6:e6:a5 brd ff:ff:ff:ff:ff:ff IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.13.172 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-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 21 September 2024 08:53:04 -0400 (0:00:00.427) 0:02:59.906 **** ok: [managed_node2] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.434775", "end": "2024-09-21 08:53:05.081919", "rc": 0, "start": "2024-09-21 08:53:04.647144" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600: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 STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 1772 0 --:--:-- --:--:-- --:--:-- 1783 % 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 1199 0 --:--:-- --:--:-- --:--:-- 1202 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed_node2 : ok=338 changed=14 unreachable=0 failed=0 skipped=284 rescued=0 ignored=10 Saturday 21 September 2024 08:53:05 -0400 (0:00:00.871) 0:03:00.778 **** =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 2.06s /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.67s /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.64s /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gather current interface info ------------------------------------------- 1.62s /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 fedora.linux_system_roles.network : Check which packages are installed --- 1.57s /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.52s /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.48s /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.45s /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.41s /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.30s /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.29s /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.28s /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.27s /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 1.27s /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 fedora.linux_system_roles.network : Check which packages are installed --- 1.26s /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.24s /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.24s /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.21s /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.20s /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.18s /tmp/collections-tes/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21