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-yjU/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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Saturday 07 September 2024 08:50:13 -0400 (0:00:00.042) 0:00:00.042 **** ok: [managed_node3] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Saturday 07 September 2024 08:50:14 -0400 (0:00:01.198) 0:00:01.240 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed_node3 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 07 September 2024 08:50:15 -0400 (0:00:00.255) 0:00:01.496 **** ok: [managed_node3] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 07 September 2024 08:50:15 -0400 (0:00:00.530) 0:00:02.026 **** ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 07 September 2024 08:50:16 -0400 (0:00:00.589) 0:00:02.616 **** ok: [managed_node3] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 07 September 2024 08:50:16 -0400 (0:00:00.067) 0:00:02.684 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 07 September 2024 08:50:16 -0400 (0:00:00.067) 0:00:02.751 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node3 TASK [Create EPEL 7] *********************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 07 September 2024 08:50:16 -0400 (0:00:00.153) 0:00:02.905 **** ok: [managed_node3] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/archive/epel/7/x86_64/Packages/e/epel-release-7-14.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 07 September 2024 08:50:17 -0400 (0:00:00.552) 0:00:03.458 **** ok: [managed_node3] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } lsrpackages: yum-utils TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 07 September 2024 08:50:18 -0400 (0:00:00.950) 0:00:04.408 **** ok: [managed_node3] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.142358", "end": "2024-09-07 08:50:18.621837", "rc": 0, "start": "2024-09-07 08:50:18.479479" } STDOUT: Loaded plugins: fastestmirror ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=stock&content=centos minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7/epel pkgdir = /var/cache/yum/x86_64/7/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 07 September 2024 08:50:18 -0400 (0:00:00.537) 0:00:04.945 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 07 September 2024 08:50:18 -0400 (0:00:00.025) 0:00:04.971 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Saturday 07 September 2024 08:50:18 -0400 (0:00:00.022) 0:00:04.993 **** ok: [managed_node3] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 07 September 2024 08:50:18 -0400 (0:00:00.025) 0:00:05.018 **** ok: [managed_node3] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 07 September 2024 08:50:19 -0400 (0:00:00.616) 0:00:05.635 **** ok: [managed_node3] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 07 September 2024 08:50:19 -0400 (0:00:00.045) 0:00:05.680 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node3 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 07 September 2024 08:50:19 -0400 (0:00:00.074) 0:00:05.755 **** ok: [managed_node3] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 07 September 2024 08:50:19 -0400 (0:00:00.050) 0:00:05.806 **** ok: [managed_node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed_node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed_node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed_node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed_node3] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_present.yml" } ] } ok: [managed_node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node3] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 07 September 2024 08:50:19 -0400 (0:00:00.107) 0:00:05.914 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 07 September 2024 08:50:19 -0400 (0:00:00.042) 0:00:05.956 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 07 September 2024 08:50:19 -0400 (0:00:00.035) 0:00:05.991 **** ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002516", "end": "2024-09-07 08:50:19.953702", "rc": 0, "start": "2024-09-07 08:50:19.951186" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 07 September 2024 08:50:20 -0400 (0:00:00.295) 0:00:06.287 **** ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 07 September 2024 08:50:20 -0400 (0:00:00.031) 0:00:06.319 **** ok: [managed_node3] => {} MSG: current_interfaces: [u'bonding_masters', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 07 September 2024 08:50:20 -0400 (0:00:00.033) 0:00:06.352 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node3 included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node3 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 07 September 2024 08:50:20 -0400 (0:00:00.062) 0:00:06.415 **** fatal: [managed_node3]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006133", "end": "2024-09-07 08:50:20.389101", "rc": 1, "start": "2024-09-07 08:50:20.382968" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 07 September 2024 08:50:20 -0400 (0:00:00.325) 0:00:06.740 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 07 September 2024 08:50:20 -0400 (0:00:00.118) 0:00:06.859 **** ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 07 September 2024 08:50:21 -0400 (0:00:00.579) 0:00:07.439 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 07 September 2024 08:50:21 -0400 (0:00:00.102) 0:00:07.542 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node3 TASK [Include network role] **************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 07 September 2024 08:50:21 -0400 (0:00:00.178) 0:00:07.720 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 September 2024 08:50:21 -0400 (0:00:00.423) 0:00:08.144 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 September 2024 08:50:21 -0400 (0:00:00.083) 0:00:08.227 **** skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 September 2024 08:50:22 -0400 (0:00:00.061) 0:00:08.288 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 September 2024 08:50:22 -0400 (0:00:00.035) 0:00:08.324 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 September 2024 08:50:22 -0400 (0:00:00.036) 0:00:08.361 **** ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 September 2024 08:50:23 -0400 (0:00:01.243) 0:00:09.604 **** ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 September 2024 08:50:25 -0400 (0:00:01.745) 0:00:11.349 **** ok: [managed_node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 September 2024 08:50:25 -0400 (0:00:00.151) 0:00:11.500 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 September 2024 08:50:25 -0400 (0:00:00.121) 0:00:11.622 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 September 2024 08:50:25 -0400 (0:00:00.137) 0:00:11.760 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 September 2024 08:50:25 -0400 (0:00:00.115) 0:00:11.875 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 September 2024 08:50:25 -0400 (0:00:00.116) 0:00:11.991 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 September 2024 08:50:25 -0400 (0:00:00.128) 0:00:12.120 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 September 2024 08:50:25 -0400 (0:00:00.123) 0:00:12.244 **** changed: [managed_node3] => { "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: dl.fedoraproject.org\n * epel-debuginfo: dl.fedoraproject.org\n * epel-source: dl.fedoraproject.org\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-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 September 2024 08:50:31 -0400 (0:00:06.033) 0:00:18.278 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 September 2024 08:50:32 -0400 (0:00:00.174) 0:00:18.452 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 September 2024 08:50:32 -0400 (0:00:00.133) 0:00:18.585 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 September 2024 08:50:32 -0400 (0:00:00.116) 0:00:18.701 **** skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 September 2024 08:50:32 -0400 (0:00:00.109) 0:00:18.811 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 September 2024 08:50:32 -0400 (0:00:00.167) 0:00:18.979 **** ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 September 2024 08:50:33 -0400 (0:00:01.084) 0:00:20.064 **** ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-114269JtOV6/tmpJCI17_" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 September 2024 08:50:34 -0400 (0:00:00.493) 0:00:20.557 **** changed: [managed_node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 September 2024 08:50:35 -0400 (0:00:01.182) 0:00:21.740 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 September 2024 08:50:35 -0400 (0:00:00.124) 0:00:21.864 **** ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 September 2024 08:50:35 -0400 (0:00:00.163) 0:00:22.028 **** ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 September 2024 08:50:35 -0400 (0:00:00.124) 0:00:22.152 **** skipping: [managed_node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 September 2024 08:50:35 -0400 (0:00:00.111) 0:00:22.264 **** ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 07 September 2024 08:50:36 -0400 (0:00:00.647) 0:00:22.911 **** ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 07 September 2024 08:50:36 -0400 (0:00:00.088) 0:00:23.000 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node3 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 07 September 2024 08:50:37 -0400 (0:00:00.409) 0:00:23.410 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 07 September 2024 08:50:37 -0400 (0:00:00.329) 0:00:23.739 **** ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 07 September 2024 08:50:37 -0400 (0:00:00.117) 0:00:23.856 **** ok: [managed_node3] => { "changed": false, "stat": { "atime": 1725713435.3229964, "block_size": 4096, "blocks": 8, "ctime": 1725713435.3229964, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 143, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725713435.3229964, "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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 07 September 2024 08:50:38 -0400 (0:00:00.529) 0:00:24.386 **** ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 07 September 2024 08:50:38 -0400 (0:00:00.117) 0:00:24.503 **** fatal: [managed_node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018438", "end": "2024-09-07 08:50:38.548332", "rc": 1, "start": "2024-09-07 08:50:38.529894" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 07 September 2024 08:50:38 -0400 (0:00:00.445) 0:00:24.949 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 07 September 2024 08:50:38 -0400 (0:00:00.093) 0:00:25.042 **** ok: [managed_node3] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002654", "end": "2024-09-07 08:50:39.035849", "rc": 0, "start": "2024-09-07 08:50:39.033195" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 07 September 2024 08:50:39 -0400 (0:00:00.455) 0:00:25.498 **** ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 07 September 2024 08:50:39 -0400 (0:00:00.157) 0:00:25.655 **** ok: [managed_node3] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002510", "end": "2024-09-07 08:50:39.768561", "rc": 0, "start": "2024-09-07 08:50:39.766051" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 07 September 2024 08:50:39 -0400 (0:00:00.540) 0:00:26.195 **** ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 07 September 2024 08:50:40 -0400 (0:00:00.131) 0:00:26.327 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 07 September 2024 08:50:40 -0400 (0:00:00.175) 0:00:26.502 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 07 September 2024 08:50:40 -0400 (0:00:00.121) 0:00:26.623 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 07 September 2024 08:50:40 -0400 (0:00:00.111) 0:00:26.735 **** skipping: [managed_node3] => (item={u'what': u'tasks/assert_device_present.yml', u'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_present.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 07 September 2024 08:50:40 -0400 (0:00:00.108) 0:00:26.843 **** ok: [managed_node3] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 07 September 2024 08:50:40 -0400 (0:00:00.210) 0:00:27.054 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node3 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 07 September 2024 08:50:40 -0400 (0:00:00.223) 0:00:27.277 **** fatal: [managed_node3]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.034924", "end": "2024-09-07 08:50:41.425247", "rc": 1, "start": "2024-09-07 08:50:41.390323" } 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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 07 September 2024 08:50:41 -0400 (0:00:00.635) 0:00:27.913 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node3 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 07 September 2024 08:50:41 -0400 (0:00:00.244) 0:00:28.158 **** ok: [managed_node3] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 07 September 2024 08:50:41 -0400 (0:00:00.116) 0:00:28.274 **** ok: [managed_node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed_node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed_node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed_node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed_node3] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed_node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node3] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 07 September 2024 08:50:42 -0400 (0:00:00.190) 0:00:28.465 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 07 September 2024 08:50:42 -0400 (0:00:00.161) 0:00:28.627 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 07 September 2024 08:50:42 -0400 (0:00:00.178) 0:00:28.805 **** ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002689", "end": "2024-09-07 08:50:42.833595", "rc": 0, "start": "2024-09-07 08:50:42.830906" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 07 September 2024 08:50:43 -0400 (0:00:00.481) 0:00:29.287 **** ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 07 September 2024 08:50:43 -0400 (0:00:00.113) 0:00:29.400 **** ok: [managed_node3] => {} MSG: current_interfaces: [u'bonding_masters', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 07 September 2024 08:50:43 -0400 (0:00:00.116) 0:00:29.517 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node3 included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node3 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 07 September 2024 08:50:43 -0400 (0:00:00.179) 0:00:29.696 **** fatal: [managed_node3]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005752", "end": "2024-09-07 08:50:43.664160", "rc": 1, "start": "2024-09-07 08:50:43.658408" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 07 September 2024 08:50:43 -0400 (0:00:00.431) 0:00:30.128 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 07 September 2024 08:50:44 -0400 (0:00:00.198) 0:00:30.326 **** ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 07 September 2024 08:50:44 -0400 (0:00:00.518) 0:00:30.845 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 07 September 2024 08:50:44 -0400 (0:00:00.194) 0:00:31.039 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed_node3 TASK [Include network role] **************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 07 September 2024 08:50:45 -0400 (0:00:00.396) 0:00:31.436 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 September 2024 08:50:45 -0400 (0:00:00.462) 0:00:31.898 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 September 2024 08:50:46 -0400 (0:00:00.448) 0:00:32.347 **** skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 September 2024 08:50:46 -0400 (0:00:00.158) 0:00:32.505 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 September 2024 08:50:46 -0400 (0:00:00.128) 0:00:32.634 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 September 2024 08:50:46 -0400 (0:00:00.199) 0:00:32.833 **** ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 September 2024 08:50:47 -0400 (0:00:01.111) 0:00:33.944 **** ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 September 2024 08:50:49 -0400 (0:00:01.428) 0:00:35.373 **** ok: [managed_node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 September 2024 08:50:49 -0400 (0:00:00.089) 0:00:35.462 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 September 2024 08:50:49 -0400 (0:00:00.096) 0:00:35.558 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 September 2024 08:50:49 -0400 (0:00:00.110) 0:00:35.669 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 September 2024 08:50:49 -0400 (0:00:00.114) 0:00:35.784 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 September 2024 08:50:49 -0400 (0:00:00.119) 0:00:35.903 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 September 2024 08:50:49 -0400 (0:00:00.130) 0:00:36.034 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 September 2024 08:50:49 -0400 (0:00:00.183) 0:00:36.217 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 September 2024 08:50:50 -0400 (0:00:00.192) 0:00:36.410 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 September 2024 08:50:50 -0400 (0:00:00.117) 0:00:36.528 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 September 2024 08:50:50 -0400 (0:00:00.125) 0:00:36.653 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 September 2024 08:50:50 -0400 (0:00:00.120) 0:00:36.774 **** skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 September 2024 08:50:50 -0400 (0:00:00.110) 0:00:36.885 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 September 2024 08:50:50 -0400 (0:00:00.112) 0:00:36.997 **** ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 September 2024 08:50:51 -0400 (0:00:00.488) 0:00:37.485 **** ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-114269JtOV6/tmpppLbbW" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 September 2024 08:50:51 -0400 (0:00:00.532) 0:00:38.018 **** changed: [managed_node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 September 2024 08:50:52 -0400 (0:00:00.729) 0:00:38.747 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 September 2024 08:50:52 -0400 (0:00:00.117) 0:00:38.865 **** ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 September 2024 08:50:52 -0400 (0:00:00.120) 0:00:38.986 **** ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 September 2024 08:50:52 -0400 (0:00:00.157) 0:00:39.143 **** skipping: [managed_node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 September 2024 08:50:53 -0400 (0:00:00.144) 0:00:39.288 **** ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 07 September 2024 08:50:53 -0400 (0:00:00.657) 0:00:39.945 **** ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 07 September 2024 08:50:53 -0400 (0:00:00.192) 0:00:40.138 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node3 included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node3 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 07 September 2024 08:50:54 -0400 (0:00:00.238) 0:00:40.376 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 07 September 2024 08:50:54 -0400 (0:00:00.288) 0:00:40.665 **** ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 07 September 2024 08:50:54 -0400 (0:00:00.523) 0:00:41.189 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 07 September 2024 08:50:55 -0400 (0:00:00.185) 0:00:41.375 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 07 September 2024 08:50:55 -0400 (0:00:00.320) 0:00:41.702 **** ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 07 September 2024 08:50:55 -0400 (0:00:00.093) 0:00:41.795 **** ok: [managed_node3] => { "changed": false, "stat": { "atime": 1725713452.3270755, "block_size": 4096, "blocks": 8, "ctime": 1725713452.3270755, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9256, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725713452.3270755, "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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 07 September 2024 08:50:56 -0400 (0:00:00.497) 0:00:42.292 **** ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 07 September 2024 08:50:56 -0400 (0:00:00.132) 0:00:42.425 **** fatal: [managed_node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.016621", "end": "2024-09-07 08:50:56.461159", "rc": 1, "start": "2024-09-07 08:50:56.444538" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 07 September 2024 08:50:56 -0400 (0:00:00.458) 0:00:42.884 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 07 September 2024 08:50:56 -0400 (0:00:00.128) 0:00:43.012 **** ok: [managed_node3] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002476", "end": "2024-09-07 08:50:57.018676", "rc": 0, "start": "2024-09-07 08:50:57.016200" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 07 September 2024 08:50:57 -0400 (0:00:00.472) 0:00:43.484 **** ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 07 September 2024 08:50:57 -0400 (0:00:00.130) 0:00:43.616 **** ok: [managed_node3] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002610", "end": "2024-09-07 08:50:57.841064", "rc": 0, "start": "2024-09-07 08:50:57.838454" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 07 September 2024 08:50:57 -0400 (0:00:00.638) 0:00:44.254 **** ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 07 September 2024 08:50:58 -0400 (0:00:00.103) 0:00:44.358 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 07 September 2024 08:50:58 -0400 (0:00:00.130) 0:00:44.488 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 07 September 2024 08:50:58 -0400 (0:00:00.213) 0:00:44.702 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 07 September 2024 08:50:58 -0400 (0:00:00.180) 0:00:44.883 **** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 07 September 2024 08:50:58 -0400 (0:00:00.113) 0:00:44.997 **** ok: [managed_node3] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 07 September 2024 08:50:58 -0400 (0:00:00.118) 0:00:45.116 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node3 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 07 September 2024 08:50:59 -0400 (0:00:00.292) 0:00:45.408 **** fatal: [managed_node3]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.034026", "end": "2024-09-07 08:50:59.422797", "rc": 1, "start": "2024-09-07 08:50:59.388771" } 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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 07 September 2024 08:50:59 -0400 (0:00:00.488) 0:00:45.897 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node3 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 07 September 2024 08:50:59 -0400 (0:00:00.231) 0:00:46.129 **** ok: [managed_node3] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 07 September 2024 08:51:00 -0400 (0:00:00.150) 0:00:46.279 **** ok: [managed_node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed_node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed_node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed_node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed_node3] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed_node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node3] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 07 September 2024 08:51:00 -0400 (0:00:00.221) 0:00:46.501 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 07 September 2024 08:51:00 -0400 (0:00:00.186) 0:00:46.687 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 07 September 2024 08:51:00 -0400 (0:00:00.138) 0:00:46.826 **** ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002459", "end": "2024-09-07 08:51:00.882004", "rc": 0, "start": "2024-09-07 08:51:00.879545" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 07 September 2024 08:51:01 -0400 (0:00:00.492) 0:00:47.319 **** ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 07 September 2024 08:51:01 -0400 (0:00:00.097) 0:00:47.416 **** ok: [managed_node3] => {} MSG: current_interfaces: [u'bonding_masters', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 07 September 2024 08:51:01 -0400 (0:00:00.122) 0:00:47.538 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node3 TASK [Include network role] **************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 07 September 2024 08:51:01 -0400 (0:00:00.266) 0:00:47.805 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 September 2024 08:51:01 -0400 (0:00:00.233) 0:00:48.038 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 September 2024 08:51:02 -0400 (0:00:00.370) 0:00:48.409 **** skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 September 2024 08:51:02 -0400 (0:00:00.156) 0:00:48.565 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 September 2024 08:51:02 -0400 (0:00:00.219) 0:00:48.785 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 September 2024 08:51:02 -0400 (0:00:00.129) 0:00:48.914 **** ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 September 2024 08:51:03 -0400 (0:00:00.953) 0:00:49.868 **** ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 September 2024 08:51:04 -0400 (0:00:01.310) 0:00:51.178 **** ok: [managed_node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 September 2024 08:51:05 -0400 (0:00:00.127) 0:00:51.306 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 September 2024 08:51:05 -0400 (0:00:00.129) 0:00:51.435 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 September 2024 08:51:05 -0400 (0:00:00.161) 0:00:51.596 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 September 2024 08:51:05 -0400 (0:00:00.127) 0:00:51.724 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 September 2024 08:51:05 -0400 (0:00:00.194) 0:00:51.919 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 September 2024 08:51:05 -0400 (0:00:00.309) 0:00:52.229 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 September 2024 08:51:06 -0400 (0:00:00.128) 0:00:52.357 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 September 2024 08:51:06 -0400 (0:00:00.195) 0:00:52.553 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 September 2024 08:51:06 -0400 (0:00:00.179) 0:00:52.732 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 September 2024 08:51:06 -0400 (0:00:00.236) 0:00:52.968 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 September 2024 08:51:06 -0400 (0:00:00.214) 0:00:53.182 **** skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 September 2024 08:51:07 -0400 (0:00:00.144) 0:00:53.327 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 September 2024 08:51:07 -0400 (0:00:00.152) 0:00:53.480 **** ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 September 2024 08:51:07 -0400 (0:00:00.600) 0:00:54.080 **** ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-114269JtOV6/tmpLQqh1y" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 September 2024 08:51:08 -0400 (0:00:00.404) 0:00:54.485 **** changed: [managed_node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 September 2024 08:51:08 -0400 (0:00:00.747) 0:00:55.233 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 September 2024 08:51:09 -0400 (0:00:00.091) 0:00:55.325 **** ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 September 2024 08:51:09 -0400 (0:00:00.090) 0:00:55.415 **** ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 September 2024 08:51:09 -0400 (0:00:00.079) 0:00:55.495 **** skipping: [managed_node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 September 2024 08:51:09 -0400 (0:00:00.076) 0:00:55.572 **** ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 07 September 2024 08:51:09 -0400 (0:00:00.634) 0:00:56.207 **** ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 07 September 2024 08:51:10 -0400 (0:00:00.275) 0:00:56.482 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node3 TASK [Include network role] **************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 07 September 2024 08:51:10 -0400 (0:00:00.240) 0:00:56.722 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 September 2024 08:51:10 -0400 (0:00:00.288) 0:00:57.011 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 September 2024 08:51:10 -0400 (0:00:00.253) 0:00:57.264 **** skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 September 2024 08:51:11 -0400 (0:00:00.145) 0:00:57.409 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 September 2024 08:51:11 -0400 (0:00:00.115) 0:00:57.525 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 September 2024 08:51:11 -0400 (0:00:00.135) 0:00:57.661 **** ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 September 2024 08:51:12 -0400 (0:00:01.091) 0:00:58.752 **** ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 September 2024 08:51:14 -0400 (0:00:01.736) 0:01:00.488 **** ok: [managed_node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 September 2024 08:51:14 -0400 (0:00:00.126) 0:01:00.615 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 September 2024 08:51:14 -0400 (0:00:00.193) 0:01:00.808 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 September 2024 08:51:14 -0400 (0:00:00.135) 0:01:00.944 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 September 2024 08:51:14 -0400 (0:00:00.121) 0:01:01.066 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 September 2024 08:51:14 -0400 (0:00:00.140) 0:01:01.206 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 September 2024 08:51:15 -0400 (0:00:00.144) 0:01:01.351 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 September 2024 08:51:15 -0400 (0:00:00.130) 0:01:01.482 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 September 2024 08:51:15 -0400 (0:00:00.215) 0:01:01.697 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 September 2024 08:51:15 -0400 (0:00:00.207) 0:01:01.905 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 September 2024 08:51:15 -0400 (0:00:00.227) 0:01:02.132 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 September 2024 08:51:15 -0400 (0:00:00.139) 0:01:02.272 **** skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 September 2024 08:51:16 -0400 (0:00:00.149) 0:01:02.421 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 September 2024 08:51:16 -0400 (0:00:00.117) 0:01:02.539 **** ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 September 2024 08:51:16 -0400 (0:00:00.620) 0:01:03.160 **** ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-114269JtOV6/tmpndZoyk" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 September 2024 08:51:17 -0400 (0:00:00.392) 0:01:03.552 **** changed: [managed_node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 September 2024 08:51:18 -0400 (0:00:00.959) 0:01:04.512 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 September 2024 08:51:18 -0400 (0:00:00.113) 0:01:04.625 **** ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 September 2024 08:51:18 -0400 (0:00:00.116) 0:01:04.742 **** ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 September 2024 08:51:18 -0400 (0:00:00.120) 0:01:04.863 **** skipping: [managed_node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 September 2024 08:51:18 -0400 (0:00:00.115) 0:01:04.978 **** ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 07 September 2024 08:51:19 -0400 (0:00:00.778) 0:01:05.757 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node3 included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node3 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 07 September 2024 08:51:19 -0400 (0:00:00.292) 0:01:06.049 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 07 September 2024 08:51:19 -0400 (0:00:00.227) 0:01:06.277 **** ok: [managed_node3] => { "changed": false, "stat": { "atime": 1725713478.0601952, "block_size": 4096, "blocks": 0, "ctime": 1725713478.058195, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17658, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1725713478.058195, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 07 September 2024 08:51:20 -0400 (0:00:00.549) 0:01:06.827 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 07 September 2024 08:51:20 -0400 (0:00:00.118) 0:01:06.945 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 07 September 2024 08:51:20 -0400 (0:00:00.208) 0:01:07.154 **** ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 07 September 2024 08:51:20 -0400 (0:00:00.114) 0:01:07.268 **** ok: [managed_node3] => { "changed": false, "stat": { "atime": 1725713477.9211946, "block_size": 4096, "blocks": 8, "ctime": 1725713468.8181522, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 143, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725713468.8181522, "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-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 07 September 2024 08:51:21 -0400 (0:00:00.366) 0:01:07.635 **** ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 07 September 2024 08:51:21 -0400 (0:00:00.188) 0:01:07.823 **** fatal: [managed_node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017449", "end": "2024-09-07 08:51:21.899660", "rc": 1, "start": "2024-09-07 08:51:21.882211" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 07 September 2024 08:51:22 -0400 (0:00:00.502) 0:01:08.326 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 07 September 2024 08:51:22 -0400 (0:00:00.150) 0:01:08.476 **** ok: [managed_node3] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002622", "end": "2024-09-07 08:51:22.479748", "rc": 0, "start": "2024-09-07 08:51:22.477126" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 07 September 2024 08:51:22 -0400 (0:00:00.403) 0:01:08.880 **** ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 07 September 2024 08:51:22 -0400 (0:00:00.166) 0:01:09.046 **** ok: [managed_node3] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002492", "end": "2024-09-07 08:51:23.129814", "rc": 0, "start": "2024-09-07 08:51:23.127322" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 07 September 2024 08:51:23 -0400 (0:00:00.631) 0:01:09.678 **** ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 07 September 2024 08:51:23 -0400 (0:00:00.156) 0:01:09.834 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 07 September 2024 08:51:23 -0400 (0:00:00.136) 0:01:09.971 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 07 September 2024 08:51:23 -0400 (0:00:00.109) 0:01:10.081 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 07 September 2024 08:51:23 -0400 (0:00:00.095) 0:01:10.176 **** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 07 September 2024 08:51:24 -0400 (0:00:00.142) 0:01:10.319 **** ok: [managed_node3] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 07 September 2024 08:51:24 -0400 (0:00:00.179) 0:01:10.498 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node3 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 07 September 2024 08:51:24 -0400 (0:00:00.335) 0:01:10.834 **** ok: [managed_node3] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.041243", "end": "2024-09-07 08:51:24.899898", "rc": 0, "start": "2024-09-07 08:51:24.858655" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 07 September 2024 08:51:25 -0400 (0:00:00.534) 0:01:11.368 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node3 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 07 September 2024 08:51:25 -0400 (0:00:00.228) 0:01:11.596 **** ok: [managed_node3] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 07 September 2024 08:51:25 -0400 (0:00:00.161) 0:01:11.758 **** ok: [managed_node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed_node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed_node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed_node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed_node3] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed_node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node3] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 07 September 2024 08:51:25 -0400 (0:00:00.158) 0:01:11.917 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 07 September 2024 08:51:25 -0400 (0:00:00.192) 0:01:12.109 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 07 September 2024 08:51:25 -0400 (0:00:00.156) 0:01:12.265 **** ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.003728", "end": "2024-09-07 08:51:27.252050", "rc": 0, "start": "2024-09-07 08:51:26.248322" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 07 September 2024 08:51:27 -0400 (0:00:01.455) 0:01:13.721 **** ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 07 September 2024 08:51:27 -0400 (0:00:00.130) 0:01:13.851 **** ok: [managed_node3] => {} MSG: current_interfaces: [u'bonding_masters', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 07 September 2024 08:51:27 -0400 (0:00:00.150) 0:01:14.002 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node3 included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node3 TASK [Include network role] **************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 07 September 2024 08:51:27 -0400 (0:00:00.226) 0:01:14.229 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 September 2024 08:51:28 -0400 (0:00:00.212) 0:01:14.442 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 September 2024 08:51:28 -0400 (0:00:00.404) 0:01:14.847 **** skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 September 2024 08:51:28 -0400 (0:00:00.192) 0:01:15.039 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 September 2024 08:51:28 -0400 (0:00:00.136) 0:01:15.176 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 September 2024 08:51:29 -0400 (0:00:00.126) 0:01:15.302 **** ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 September 2024 08:51:30 -0400 (0:00:00.994) 0:01:16.296 **** ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 September 2024 08:51:31 -0400 (0:00:01.605) 0:01:17.901 **** ok: [managed_node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 September 2024 08:51:31 -0400 (0:00:00.121) 0:01:18.023 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 September 2024 08:51:31 -0400 (0:00:00.107) 0:01:18.131 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 September 2024 08:51:31 -0400 (0:00:00.082) 0:01:18.214 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 September 2024 08:51:32 -0400 (0:00:00.119) 0:01:18.333 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 September 2024 08:51:32 -0400 (0:00:00.115) 0:01:18.449 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 September 2024 08:51:32 -0400 (0:00:00.146) 0:01:18.595 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 September 2024 08:51:32 -0400 (0:00:00.261) 0:01:18.856 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 September 2024 08:51:32 -0400 (0:00:00.214) 0:01:19.071 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 September 2024 08:51:32 -0400 (0:00:00.140) 0:01:19.211 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 September 2024 08:51:33 -0400 (0:00:00.147) 0:01:19.358 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 September 2024 08:51:33 -0400 (0:00:00.129) 0:01:19.488 **** skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 September 2024 08:51:33 -0400 (0:00:00.096) 0:01:19.585 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 September 2024 08:51:33 -0400 (0:00:00.121) 0:01:19.706 **** ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 September 2024 08:51:33 -0400 (0:00:00.566) 0:01:20.272 **** ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-114269JtOV6/tmpdftHC6" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 September 2024 08:51:34 -0400 (0:00:00.532) 0:01:20.805 **** changed: [managed_node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 September 2024 08:51:35 -0400 (0:00:00.927) 0:01:21.732 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 September 2024 08:51:35 -0400 (0:00:00.155) 0:01:21.887 **** ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 September 2024 08:51:35 -0400 (0:00:00.257) 0:01:22.144 **** ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 September 2024 08:51:35 -0400 (0:00:00.131) 0:01:22.276 **** skipping: [managed_node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 September 2024 08:51:36 -0400 (0:00:00.208) 0:01:22.485 **** ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 07 September 2024 08:51:36 -0400 (0:00:00.698) 0:01:23.183 **** ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 07 September 2024 08:51:37 -0400 (0:00:00.131) 0:01:23.314 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 September 2024 08:51:37 -0400 (0:00:00.263) 0:01:23.578 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 September 2024 08:51:37 -0400 (0:00:00.244) 0:01:23.822 **** skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 September 2024 08:51:37 -0400 (0:00:00.172) 0:01:23.994 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 September 2024 08:51:37 -0400 (0:00:00.119) 0:01:24.114 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 September 2024 08:51:37 -0400 (0:00:00.133) 0:01:24.247 **** ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 September 2024 08:51:38 -0400 (0:00:00.998) 0:01:25.246 **** ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 September 2024 08:51:40 -0400 (0:00:01.264) 0:01:26.511 **** ok: [managed_node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 September 2024 08:51:40 -0400 (0:00:00.078) 0:01:26.590 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 September 2024 08:51:40 -0400 (0:00:00.088) 0:01:26.679 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 September 2024 08:51:40 -0400 (0:00:00.131) 0:01:26.811 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 September 2024 08:51:40 -0400 (0:00:00.075) 0:01:26.886 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 September 2024 08:51:40 -0400 (0:00:00.077) 0:01:26.964 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 September 2024 08:51:40 -0400 (0:00:00.081) 0:01:27.045 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 September 2024 08:51:40 -0400 (0:00:00.091) 0:01:27.137 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 September 2024 08:51:41 -0400 (0:00:00.181) 0:01:27.318 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 September 2024 08:51:41 -0400 (0:00:00.097) 0:01:27.416 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 September 2024 08:51:41 -0400 (0:00:00.097) 0:01:27.513 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 September 2024 08:51:41 -0400 (0:00:00.084) 0:01:27.598 **** skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 September 2024 08:51:41 -0400 (0:00:00.082) 0:01:27.680 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 September 2024 08:51:41 -0400 (0:00:00.078) 0:01:27.759 **** ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 September 2024 08:51:41 -0400 (0:00:00.461) 0:01:28.221 **** ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-114269JtOV6/tmpQ_BVHD" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 September 2024 08:51:42 -0400 (0:00:00.404) 0:01:28.626 **** changed: [managed_node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 September 2024 08:51:43 -0400 (0:00:00.903) 0:01:29.529 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 September 2024 08:51:43 -0400 (0:00:00.122) 0:01:29.652 **** ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 September 2024 08:51:43 -0400 (0:00:00.125) 0:01:29.778 **** ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 September 2024 08:51:43 -0400 (0:00:00.314) 0:01:30.092 **** skipping: [managed_node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 September 2024 08:51:43 -0400 (0:00:00.096) 0:01:30.188 **** ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 07 September 2024 08:51:44 -0400 (0:00:00.375) 0:01:30.563 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node3 TASK [Include network role] **************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 07 September 2024 08:51:44 -0400 (0:00:00.214) 0:01:30.778 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 September 2024 08:51:44 -0400 (0:00:00.255) 0:01:31.033 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 September 2024 08:51:44 -0400 (0:00:00.216) 0:01:31.249 **** skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 September 2024 08:51:45 -0400 (0:00:00.121) 0:01:31.371 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 September 2024 08:51:45 -0400 (0:00:00.079) 0:01:31.451 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 September 2024 08:51:45 -0400 (0:00:00.073) 0:01:31.524 **** ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 September 2024 08:51:46 -0400 (0:00:00.967) 0:01:32.491 **** ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 September 2024 08:51:47 -0400 (0:00:01.519) 0:01:34.011 **** ok: [managed_node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 September 2024 08:51:47 -0400 (0:00:00.143) 0:01:34.155 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 September 2024 08:51:48 -0400 (0:00:00.138) 0:01:34.293 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 September 2024 08:51:48 -0400 (0:00:00.121) 0:01:34.414 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 September 2024 08:51:48 -0400 (0:00:00.129) 0:01:34.544 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 September 2024 08:51:48 -0400 (0:00:00.122) 0:01:34.666 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 September 2024 08:51:48 -0400 (0:00:00.161) 0:01:34.828 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 September 2024 08:51:48 -0400 (0:00:00.168) 0:01:34.996 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 September 2024 08:51:48 -0400 (0:00:00.231) 0:01:35.228 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 September 2024 08:51:49 -0400 (0:00:00.118) 0:01:35.346 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 September 2024 08:51:49 -0400 (0:00:00.119) 0:01:35.466 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 September 2024 08:51:49 -0400 (0:00:00.126) 0:01:35.592 **** skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 September 2024 08:51:49 -0400 (0:00:00.102) 0:01:35.695 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 September 2024 08:51:49 -0400 (0:00:00.100) 0:01:35.796 **** ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 September 2024 08:51:50 -0400 (0:00:00.559) 0:01:36.355 **** ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-114269JtOV6/tmpXuPsK_" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 September 2024 08:51:50 -0400 (0:00:00.582) 0:01:36.938 **** changed: [managed_node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 September 2024 08:51:51 -0400 (0:00:01.189) 0:01:38.127 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 September 2024 08:51:51 -0400 (0:00:00.138) 0:01:38.265 **** ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 September 2024 08:51:52 -0400 (0:00:00.149) 0:01:38.415 **** ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 September 2024 08:51:52 -0400 (0:00:00.153) 0:01:38.568 **** skipping: [managed_node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 September 2024 08:51:52 -0400 (0:00:00.104) 0:01:38.673 **** ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 07 September 2024 08:51:52 -0400 (0:00:00.450) 0:01:39.123 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node3 included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node3 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 07 September 2024 08:51:53 -0400 (0:00:00.237) 0:01:39.361 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 07 September 2024 08:51:53 -0400 (0:00:00.340) 0:01:39.701 **** ok: [managed_node3] => { "changed": false, "stat": { "atime": 1725713503.0583115, "block_size": 4096, "blocks": 0, "ctime": 1725713503.0573113, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17658, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1725713503.0573113, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 07 September 2024 08:51:54 -0400 (0:00:00.605) 0:01:40.307 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 07 September 2024 08:51:54 -0400 (0:00:00.186) 0:01:40.493 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 07 September 2024 08:51:54 -0400 (0:00:00.346) 0:01:40.840 **** ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 07 September 2024 08:51:54 -0400 (0:00:00.152) 0:01:40.992 **** ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 07 September 2024 08:51:55 -0400 (0:00:00.378) 0:01:41.371 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 07 September 2024 08:51:55 -0400 (0:00:00.192) 0:01:41.563 **** fatal: [managed_node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017693", "end": "2024-09-07 08:51:55.761492", "rc": 1, "start": "2024-09-07 08:51:55.743799" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 07 September 2024 08:51:55 -0400 (0:00:00.668) 0:01:42.231 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 07 September 2024 08:51:56 -0400 (0:00:00.106) 0:01:42.338 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 07 September 2024 08:51:56 -0400 (0:00:00.097) 0:01:42.435 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 07 September 2024 08:51:56 -0400 (0:00:00.086) 0:01:42.522 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 07 September 2024 08:51:56 -0400 (0:00:00.076) 0:01:42.598 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 07 September 2024 08:51:56 -0400 (0:00:00.077) 0:01:42.676 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 07 September 2024 08:51:56 -0400 (0:00:00.078) 0:01:42.755 **** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 07 September 2024 08:51:56 -0400 (0:00:00.086) 0:01:42.842 **** ok: [managed_node3] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 07 September 2024 08:51:56 -0400 (0:00:00.106) 0:01:42.948 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node3 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 07 September 2024 08:51:56 -0400 (0:00:00.244) 0:01:43.193 **** ok: [managed_node3] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.042100", "end": "2024-09-07 08:51:57.376892", "rc": 0, "start": "2024-09-07 08:51:57.334792" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 07 September 2024 08:51:57 -0400 (0:00:00.598) 0:01:43.791 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node3 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 07 September 2024 08:51:57 -0400 (0:00:00.224) 0:01:44.016 **** ok: [managed_node3] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 07 September 2024 08:51:57 -0400 (0:00:00.113) 0:01:44.130 **** ok: [managed_node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed_node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [managed_node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed_node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed_node3] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed_node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node3] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 07 September 2024 08:51:58 -0400 (0:00:00.229) 0:01:44.359 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 07 September 2024 08:51:58 -0400 (0:00:00.402) 0:01:44.761 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 07 September 2024 08:51:58 -0400 (0:00:00.357) 0:01:45.119 **** ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.003836", "end": "2024-09-07 08:52:00.369520", "rc": 0, "start": "2024-09-07 08:51:59.365684" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 07 September 2024 08:52:00 -0400 (0:00:01.656) 0:01:46.775 **** ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 07 September 2024 08:52:00 -0400 (0:00:00.131) 0:01:46.907 **** ok: [managed_node3] => {} MSG: current_interfaces: [u'bonding_masters', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 07 September 2024 08:52:00 -0400 (0:00:00.122) 0:01:47.029 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node3 included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node3 included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node3 TASK [Include network role] **************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 07 September 2024 08:52:01 -0400 (0:00:00.282) 0:01:47.312 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 September 2024 08:52:01 -0400 (0:00:00.292) 0:01:47.604 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 September 2024 08:52:01 -0400 (0:00:00.326) 0:01:47.931 **** skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 September 2024 08:52:01 -0400 (0:00:00.170) 0:01:48.101 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 September 2024 08:52:01 -0400 (0:00:00.124) 0:01:48.226 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 September 2024 08:52:02 -0400 (0:00:00.096) 0:01:48.322 **** ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 September 2024 08:52:03 -0400 (0:00:01.217) 0:01:49.540 **** ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 September 2024 08:52:04 -0400 (0:00:01.309) 0:01:50.849 **** ok: [managed_node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 September 2024 08:52:04 -0400 (0:00:00.158) 0:01:51.008 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 September 2024 08:52:04 -0400 (0:00:00.145) 0:01:51.153 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 September 2024 08:52:05 -0400 (0:00:00.129) 0:01:51.283 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 September 2024 08:52:05 -0400 (0:00:00.120) 0:01:51.403 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 September 2024 08:52:05 -0400 (0:00:00.089) 0:01:51.493 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 September 2024 08:52:05 -0400 (0:00:00.089) 0:01:51.582 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 September 2024 08:52:05 -0400 (0:00:00.123) 0:01:51.705 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 September 2024 08:52:05 -0400 (0:00:00.248) 0:01:51.954 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 September 2024 08:52:05 -0400 (0:00:00.221) 0:01:52.175 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 September 2024 08:52:06 -0400 (0:00:00.187) 0:01:52.362 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 September 2024 08:52:06 -0400 (0:00:00.205) 0:01:52.568 **** skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 September 2024 08:52:06 -0400 (0:00:00.199) 0:01:52.768 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 September 2024 08:52:06 -0400 (0:00:00.115) 0:01:52.883 **** ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 September 2024 08:52:07 -0400 (0:00:00.607) 0:01:53.491 **** ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-114269JtOV6/tmpU5Hpa7" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 September 2024 08:52:07 -0400 (0:00:00.564) 0:01:54.056 **** changed: [managed_node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 September 2024 08:52:08 -0400 (0:00:00.835) 0:01:54.892 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 September 2024 08:52:08 -0400 (0:00:00.119) 0:01:55.011 **** ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 September 2024 08:52:08 -0400 (0:00:00.197) 0:01:55.208 **** ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 September 2024 08:52:09 -0400 (0:00:00.153) 0:01:55.362 **** skipping: [managed_node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 September 2024 08:52:09 -0400 (0:00:00.129) 0:01:55.492 **** ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 07 September 2024 08:52:09 -0400 (0:00:00.451) 0:01:55.944 **** ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 07 September 2024 08:52:09 -0400 (0:00:00.103) 0:01:56.047 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 September 2024 08:52:10 -0400 (0:00:00.265) 0:01:56.312 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 September 2024 08:52:10 -0400 (0:00:00.248) 0:01:56.561 **** skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 September 2024 08:52:10 -0400 (0:00:00.294) 0:01:56.855 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 September 2024 08:52:10 -0400 (0:00:00.181) 0:01:57.037 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 September 2024 08:52:10 -0400 (0:00:00.192) 0:01:57.230 **** ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 September 2024 08:52:11 -0400 (0:00:00.902) 0:01:58.132 **** ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 September 2024 08:52:13 -0400 (0:00:01.339) 0:01:59.472 **** ok: [managed_node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 September 2024 08:52:13 -0400 (0:00:00.168) 0:01:59.640 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 September 2024 08:52:13 -0400 (0:00:00.142) 0:01:59.782 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 September 2024 08:52:13 -0400 (0:00:00.145) 0:01:59.928 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 September 2024 08:52:13 -0400 (0:00:00.127) 0:02:00.055 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 September 2024 08:52:13 -0400 (0:00:00.106) 0:02:00.162 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 September 2024 08:52:13 -0400 (0:00:00.096) 0:02:00.258 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 September 2024 08:52:14 -0400 (0:00:00.086) 0:02:00.344 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 September 2024 08:52:14 -0400 (0:00:00.188) 0:02:00.533 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 September 2024 08:52:14 -0400 (0:00:00.182) 0:02:00.716 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 September 2024 08:52:14 -0400 (0:00:00.144) 0:02:00.861 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 September 2024 08:52:14 -0400 (0:00:00.267) 0:02:01.129 **** skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 September 2024 08:52:15 -0400 (0:00:00.222) 0:02:01.351 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 September 2024 08:52:15 -0400 (0:00:00.238) 0:02:01.590 **** ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 September 2024 08:52:16 -0400 (0:00:00.866) 0:02:02.456 **** ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-114269JtOV6/tmptHk7pk" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 September 2024 08:52:16 -0400 (0:00:00.758) 0:02:03.214 **** changed: [managed_node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 September 2024 08:52:17 -0400 (0:00:01.039) 0:02:04.254 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 September 2024 08:52:18 -0400 (0:00:00.154) 0:02:04.408 **** ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 September 2024 08:52:18 -0400 (0:00:00.130) 0:02:04.538 **** ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 September 2024 08:52:18 -0400 (0:00:00.136) 0:02:04.675 **** skipping: [managed_node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 September 2024 08:52:18 -0400 (0:00:00.144) 0:02:04.819 **** ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 07 September 2024 08:52:19 -0400 (0:00:00.599) 0:02:05.419 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 September 2024 08:52:19 -0400 (0:00:00.240) 0:02:05.660 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 September 2024 08:52:19 -0400 (0:00:00.303) 0:02:05.964 **** skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 September 2024 08:52:19 -0400 (0:00:00.156) 0:02:06.120 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 September 2024 08:52:19 -0400 (0:00:00.120) 0:02:06.241 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 September 2024 08:52:20 -0400 (0:00:00.121) 0:02:06.362 **** ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 September 2024 08:52:20 -0400 (0:00:00.859) 0:02:07.221 **** ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 September 2024 08:52:22 -0400 (0:00:01.098) 0:02:08.320 **** ok: [managed_node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 September 2024 08:52:22 -0400 (0:00:00.078) 0:02:08.398 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 September 2024 08:52:22 -0400 (0:00:00.076) 0:02:08.475 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 September 2024 08:52:22 -0400 (0:00:00.169) 0:02:08.644 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 September 2024 08:52:22 -0400 (0:00:00.118) 0:02:08.763 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 September 2024 08:52:22 -0400 (0:00:00.128) 0:02:08.891 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 September 2024 08:52:22 -0400 (0:00:00.130) 0:02:09.022 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 September 2024 08:52:22 -0400 (0:00:00.127) 0:02:09.150 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 September 2024 08:52:23 -0400 (0:00:00.188) 0:02:09.338 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 September 2024 08:52:23 -0400 (0:00:00.118) 0:02:09.456 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 September 2024 08:52:23 -0400 (0:00:00.113) 0:02:09.570 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 September 2024 08:52:23 -0400 (0:00:00.146) 0:02:09.716 **** skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 September 2024 08:52:23 -0400 (0:00:00.126) 0:02:09.843 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 September 2024 08:52:23 -0400 (0:00:00.116) 0:02:09.960 **** ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 September 2024 08:52:24 -0400 (0:00:00.541) 0:02:10.501 **** ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-114269JtOV6/tmpV3QAr_" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 September 2024 08:52:24 -0400 (0:00:00.393) 0:02:10.895 **** changed: [managed_node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 September 2024 08:52:25 -0400 (0:00:01.054) 0:02:11.949 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 September 2024 08:52:25 -0400 (0:00:00.076) 0:02:12.026 **** ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 September 2024 08:52:25 -0400 (0:00:00.107) 0:02:12.134 **** ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 September 2024 08:52:25 -0400 (0:00:00.132) 0:02:12.266 **** skipping: [managed_node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 September 2024 08:52:26 -0400 (0:00:00.130) 0:02:12.397 **** ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 07 September 2024 08:52:26 -0400 (0:00:00.636) 0:02:13.034 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node3 TASK [Include network role] **************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 07 September 2024 08:52:27 -0400 (0:00:00.250) 0:02:13.284 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 September 2024 08:52:27 -0400 (0:00:00.231) 0:02:13.516 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 September 2024 08:52:27 -0400 (0:00:00.255) 0:02:13.771 **** skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 September 2024 08:52:27 -0400 (0:00:00.149) 0:02:13.920 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 September 2024 08:52:27 -0400 (0:00:00.212) 0:02:14.133 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 September 2024 08:52:28 -0400 (0:00:00.195) 0:02:14.328 **** ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 September 2024 08:52:29 -0400 (0:00:01.018) 0:02:15.347 **** ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 September 2024 08:52:30 -0400 (0:00:01.354) 0:02:16.701 **** ok: [managed_node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 September 2024 08:52:30 -0400 (0:00:00.120) 0:02:16.821 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 September 2024 08:52:30 -0400 (0:00:00.118) 0:02:16.940 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 September 2024 08:52:30 -0400 (0:00:00.199) 0:02:17.139 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 September 2024 08:52:30 -0400 (0:00:00.138) 0:02:17.278 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 September 2024 08:52:31 -0400 (0:00:00.144) 0:02:17.423 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 September 2024 08:52:31 -0400 (0:00:00.142) 0:02:17.566 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 September 2024 08:52:31 -0400 (0:00:00.154) 0:02:17.721 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 September 2024 08:52:31 -0400 (0:00:00.200) 0:02:17.921 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 September 2024 08:52:31 -0400 (0:00:00.196) 0:02:18.118 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 September 2024 08:52:32 -0400 (0:00:00.251) 0:02:18.370 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 September 2024 08:52:32 -0400 (0:00:00.210) 0:02:18.580 **** skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 September 2024 08:52:32 -0400 (0:00:00.166) 0:02:18.747 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 September 2024 08:52:32 -0400 (0:00:00.138) 0:02:18.885 **** ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 September 2024 08:52:33 -0400 (0:00:00.835) 0:02:19.720 **** ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-114269JtOV6/tmp9BQgnk" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 September 2024 08:52:33 -0400 (0:00:00.481) 0:02:20.202 **** ok: [managed_node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 September 2024 08:52:34 -0400 (0:00:00.884) 0:02:21.087 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 September 2024 08:52:34 -0400 (0:00:00.182) 0:02:21.269 **** ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 September 2024 08:52:35 -0400 (0:00:00.223) 0:02:21.493 **** ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 September 2024 08:52:35 -0400 (0:00:00.206) 0:02:21.699 **** skipping: [managed_node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 September 2024 08:52:35 -0400 (0:00:00.171) 0:02:21.871 **** ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 07 September 2024 08:52:35 -0400 (0:00:00.367) 0:02:22.238 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node3 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 07 September 2024 08:52:36 -0400 (0:00:00.223) 0:02:22.461 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 07 September 2024 08:52:36 -0400 (0:00:00.300) 0:02:22.762 **** ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 07 September 2024 08:52:36 -0400 (0:00:00.134) 0:02:22.896 **** ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 07 September 2024 08:52:37 -0400 (0:00:00.586) 0:02:23.483 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 07 September 2024 08:52:37 -0400 (0:00:00.146) 0:02:23.630 **** fatal: [managed_node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017980", "end": "2024-09-07 08:52:37.699766", "rc": 1, "start": "2024-09-07 08:52:37.681786" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 07 September 2024 08:52:37 -0400 (0:00:00.480) 0:02:24.111 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 07 September 2024 08:52:37 -0400 (0:00:00.116) 0:02:24.227 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 07 September 2024 08:52:38 -0400 (0:00:00.117) 0:02:24.345 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 07 September 2024 08:52:38 -0400 (0:00:00.119) 0:02:24.465 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 07 September 2024 08:52:38 -0400 (0:00:00.309) 0:02:24.774 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 07 September 2024 08:52:38 -0400 (0:00:00.158) 0:02:24.933 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 07 September 2024 08:52:38 -0400 (0:00:00.126) 0:02:25.059 **** skipping: [managed_node3] => (item={u'what': u'tasks/assert_device_absent.yml', u'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 07 September 2024 08:52:38 -0400 (0:00:00.142) 0:02:25.201 **** ok: [managed_node3] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 07 September 2024 08:52:39 -0400 (0:00:00.102) 0:02:25.304 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node3 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 07 September 2024 08:52:39 -0400 (0:00:00.171) 0:02:25.475 **** ok: [managed_node3] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.040687", "end": "2024-09-07 08:52:39.490904", "rc": 0, "start": "2024-09-07 08:52:39.450217" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 07 September 2024 08:52:39 -0400 (0:00:00.424) 0:02:25.899 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node3 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 07 September 2024 08:52:39 -0400 (0:00:00.249) 0:02:26.148 **** ok: [managed_node3] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 07 September 2024 08:52:39 -0400 (0:00:00.114) 0:02:26.262 **** ok: [managed_node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [managed_node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [managed_node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed_node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed_node3] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed_node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node3] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 07 September 2024 08:52:40 -0400 (0:00:00.415) 0:02:26.677 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 07 September 2024 08:52:40 -0400 (0:00:00.267) 0:02:26.945 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 07 September 2024 08:52:40 -0400 (0:00:00.220) 0:02:27.166 **** ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002736", "end": "2024-09-07 08:52:41.323977", "rc": 0, "start": "2024-09-07 08:52:41.321241" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 07 September 2024 08:52:41 -0400 (0:00:00.660) 0:02:27.826 **** ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 07 September 2024 08:52:41 -0400 (0:00:00.283) 0:02:28.110 **** ok: [managed_node3] => {} MSG: current_interfaces: [u'bonding_masters', u'eth0', u'lo', u'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 07 September 2024 08:52:41 -0400 (0:00:00.147) 0:02:28.258 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node3 included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node3 included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node3 TASK [Include network role] **************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 07 September 2024 08:52:42 -0400 (0:00:00.251) 0:02:28.509 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 September 2024 08:52:42 -0400 (0:00:00.204) 0:02:28.714 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 September 2024 08:52:42 -0400 (0:00:00.248) 0:02:28.963 **** skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 September 2024 08:52:42 -0400 (0:00:00.267) 0:02:29.230 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 September 2024 08:52:43 -0400 (0:00:00.211) 0:02:29.442 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 September 2024 08:52:43 -0400 (0:00:00.253) 0:02:29.696 **** ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 September 2024 08:52:44 -0400 (0:00:01.098) 0:02:30.794 **** ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 September 2024 08:52:46 -0400 (0:00:01.842) 0:02:32.637 **** ok: [managed_node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 September 2024 08:52:46 -0400 (0:00:00.209) 0:02:32.847 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 September 2024 08:52:46 -0400 (0:00:00.151) 0:02:32.998 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 September 2024 08:52:46 -0400 (0:00:00.134) 0:02:33.133 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 September 2024 08:52:46 -0400 (0:00:00.119) 0:02:33.252 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 September 2024 08:52:47 -0400 (0:00:00.098) 0:02:33.351 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 September 2024 08:52:47 -0400 (0:00:00.118) 0:02:33.469 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 September 2024 08:52:47 -0400 (0:00:00.082) 0:02:33.552 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 September 2024 08:52:47 -0400 (0:00:00.181) 0:02:33.733 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 September 2024 08:52:47 -0400 (0:00:00.212) 0:02:33.945 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 September 2024 08:52:47 -0400 (0:00:00.151) 0:02:34.097 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 September 2024 08:52:47 -0400 (0:00:00.119) 0:02:34.217 **** skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 September 2024 08:52:48 -0400 (0:00:00.094) 0:02:34.312 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 September 2024 08:52:48 -0400 (0:00:00.096) 0:02:34.408 **** ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 September 2024 08:52:48 -0400 (0:00:00.482) 0:02:34.890 **** ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-114269JtOV6/tmpntPo3S" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 September 2024 08:52:49 -0400 (0:00:00.394) 0:02:35.285 **** changed: [managed_node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 September 2024 08:52:50 -0400 (0:00:01.137) 0:02:36.422 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 September 2024 08:52:50 -0400 (0:00:00.212) 0:02:36.635 **** ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 September 2024 08:52:50 -0400 (0:00:00.152) 0:02:36.788 **** ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 September 2024 08:52:50 -0400 (0:00:00.127) 0:02:36.915 **** skipping: [managed_node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 September 2024 08:52:50 -0400 (0:00:00.129) 0:02:37.045 **** ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 07 September 2024 08:52:51 -0400 (0:00:00.593) 0:02:37.639 **** ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 07 September 2024 08:52:51 -0400 (0:00:00.080) 0:02:37.719 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 September 2024 08:52:51 -0400 (0:00:00.170) 0:02:37.889 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 September 2024 08:52:51 -0400 (0:00:00.385) 0:02:38.275 **** skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 September 2024 08:52:52 -0400 (0:00:00.172) 0:02:38.447 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 September 2024 08:52:52 -0400 (0:00:00.129) 0:02:38.577 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 September 2024 08:52:52 -0400 (0:00:00.144) 0:02:38.721 **** ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 September 2024 08:52:53 -0400 (0:00:00.987) 0:02:39.709 **** ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 September 2024 08:52:54 -0400 (0:00:01.516) 0:02:41.226 **** ok: [managed_node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 September 2024 08:52:55 -0400 (0:00:00.144) 0:02:41.371 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 September 2024 08:52:55 -0400 (0:00:00.110) 0:02:41.481 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 September 2024 08:52:55 -0400 (0:00:00.112) 0:02:41.594 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 September 2024 08:52:55 -0400 (0:00:00.110) 0:02:41.705 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 September 2024 08:52:55 -0400 (0:00:00.152) 0:02:41.858 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 September 2024 08:52:55 -0400 (0:00:00.155) 0:02:42.013 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 September 2024 08:52:55 -0400 (0:00:00.132) 0:02:42.146 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 September 2024 08:52:56 -0400 (0:00:00.164) 0:02:42.310 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 September 2024 08:52:56 -0400 (0:00:00.118) 0:02:42.429 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 September 2024 08:52:56 -0400 (0:00:00.128) 0:02:42.558 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 September 2024 08:52:56 -0400 (0:00:00.156) 0:02:42.714 **** skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 September 2024 08:52:56 -0400 (0:00:00.148) 0:02:42.863 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 September 2024 08:52:56 -0400 (0:00:00.216) 0:02:43.079 **** ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 September 2024 08:52:57 -0400 (0:00:00.734) 0:02:43.813 **** ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-114269JtOV6/tmpOUZVWl" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 September 2024 08:52:57 -0400 (0:00:00.344) 0:02:44.158 **** changed: [managed_node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 September 2024 08:52:58 -0400 (0:00:00.896) 0:02:45.054 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 September 2024 08:52:58 -0400 (0:00:00.121) 0:02:45.175 **** ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 September 2024 08:52:59 -0400 (0:00:00.109) 0:02:45.284 **** ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 September 2024 08:52:59 -0400 (0:00:00.122) 0:02:45.407 **** skipping: [managed_node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 September 2024 08:52:59 -0400 (0:00:00.116) 0:02:45.523 **** ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 07 September 2024 08:52:59 -0400 (0:00:00.587) 0:02:46.111 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 September 2024 08:53:00 -0400 (0:00:00.281) 0:02:46.392 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 September 2024 08:53:00 -0400 (0:00:00.276) 0:02:46.669 **** skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 September 2024 08:53:00 -0400 (0:00:00.197) 0:02:46.866 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 September 2024 08:53:00 -0400 (0:00:00.148) 0:02:47.015 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 September 2024 08:53:00 -0400 (0:00:00.111) 0:02:47.127 **** ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 September 2024 08:53:01 -0400 (0:00:00.968) 0:02:48.096 **** ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 September 2024 08:53:03 -0400 (0:00:01.379) 0:02:49.475 **** ok: [managed_node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 September 2024 08:53:03 -0400 (0:00:00.184) 0:02:49.660 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 September 2024 08:53:03 -0400 (0:00:00.229) 0:02:49.889 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 September 2024 08:53:03 -0400 (0:00:00.279) 0:02:50.169 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 September 2024 08:53:04 -0400 (0:00:00.227) 0:02:50.397 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 September 2024 08:53:04 -0400 (0:00:00.231) 0:02:50.628 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 September 2024 08:53:04 -0400 (0:00:00.157) 0:02:50.786 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 September 2024 08:53:04 -0400 (0:00:00.139) 0:02:50.926 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 September 2024 08:53:04 -0400 (0:00:00.208) 0:02:51.134 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 September 2024 08:53:05 -0400 (0:00:00.197) 0:02:51.331 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 September 2024 08:53:05 -0400 (0:00:00.106) 0:02:51.438 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 September 2024 08:53:05 -0400 (0:00:00.101) 0:02:51.540 **** skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 September 2024 08:53:05 -0400 (0:00:00.077) 0:02:51.617 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 September 2024 08:53:05 -0400 (0:00:00.074) 0:02:51.691 **** ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 September 2024 08:53:05 -0400 (0:00:00.494) 0:02:52.185 **** ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-114269JtOV6/tmpE5L7Kq" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 September 2024 08:53:06 -0400 (0:00:00.371) 0:02:52.557 **** changed: [managed_node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 September 2024 08:53:06 -0400 (0:00:00.684) 0:02:53.241 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 September 2024 08:53:07 -0400 (0:00:00.105) 0:02:53.347 **** ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 September 2024 08:53:07 -0400 (0:00:00.129) 0:02:53.476 **** ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 September 2024 08:53:07 -0400 (0:00:00.113) 0:02:53.589 **** skipping: [managed_node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 September 2024 08:53:07 -0400 (0:00:00.085) 0:02:53.675 **** ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 07 September 2024 08:53:07 -0400 (0:00:00.381) 0:02:54.057 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node3 TASK [Include network role] **************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 07 September 2024 08:53:07 -0400 (0:00:00.153) 0:02:54.210 **** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 September 2024 08:53:08 -0400 (0:00:00.190) 0:02:54.401 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 September 2024 08:53:08 -0400 (0:00:00.202) 0:02:54.603 **** skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 September 2024 08:53:08 -0400 (0:00:00.116) 0:02:54.720 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 September 2024 08:53:08 -0400 (0:00:00.074) 0:02:54.795 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 September 2024 08:53:08 -0400 (0:00:00.076) 0:02:54.871 **** ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 September 2024 08:53:09 -0400 (0:00:00.880) 0:02:55.752 **** ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 September 2024 08:53:10 -0400 (0:00:01.220) 0:02:56.972 **** ok: [managed_node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 September 2024 08:53:10 -0400 (0:00:00.089) 0:02:57.062 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 September 2024 08:53:10 -0400 (0:00:00.078) 0:02:57.140 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 September 2024 08:53:10 -0400 (0:00:00.074) 0:02:57.215 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 September 2024 08:53:11 -0400 (0:00:00.077) 0:02:57.292 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 September 2024 08:53:11 -0400 (0:00:00.075) 0:02:57.367 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 September 2024 08:53:11 -0400 (0:00:00.083) 0:02:57.451 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 September 2024 08:53:11 -0400 (0:00:00.082) 0:02:57.534 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 September 2024 08:53:11 -0400 (0:00:00.144) 0:02:57.678 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 September 2024 08:53:11 -0400 (0:00:00.076) 0:02:57.755 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 September 2024 08:53:11 -0400 (0:00:00.074) 0:02:57.830 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 September 2024 08:53:11 -0400 (0:00:00.082) 0:02:57.912 **** skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 September 2024 08:53:11 -0400 (0:00:00.076) 0:02:57.988 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 September 2024 08:53:11 -0400 (0:00:00.074) 0:02:58.063 **** ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 September 2024 08:53:12 -0400 (0:00:00.524) 0:02:58.588 **** ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-114269JtOV6/tmpdll26P" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 September 2024 08:53:12 -0400 (0:00:00.626) 0:02:59.214 **** ok: [managed_node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 September 2024 08:53:13 -0400 (0:00:00.841) 0:03:00.056 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 September 2024 08:53:13 -0400 (0:00:00.187) 0:03:00.244 **** ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 September 2024 08:53:14 -0400 (0:00:00.120) 0:03:00.364 **** ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 September 2024 08:53:14 -0400 (0:00:00.144) 0:03:00.508 **** skipping: [managed_node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 September 2024 08:53:14 -0400 (0:00:00.125) 0:03:00.633 **** ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 07 September 2024 08:53:15 -0400 (0:00:00.681) 0:03:01.315 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node3 included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed_node3 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 07 September 2024 08:53:15 -0400 (0:00:00.243) 0:03:01.559 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 07 September 2024 08:53:15 -0400 (0:00:00.173) 0:03:01.732 **** ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 07 September 2024 08:53:15 -0400 (0:00:00.076) 0:03:01.809 **** ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 07 September 2024 08:53:15 -0400 (0:00:00.399) 0:03:02.209 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 07 September 2024 08:53:16 -0400 (0:00:00.173) 0:03:02.382 **** fatal: [managed_node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017238", "end": "2024-09-07 08:53:16.438226", "rc": 1, "start": "2024-09-07 08:53:16.420988" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 07 September 2024 08:53:16 -0400 (0:00:00.505) 0:03:02.888 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 07 September 2024 08:53:16 -0400 (0:00:00.146) 0:03:03.035 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 07 September 2024 08:53:16 -0400 (0:00:00.153) 0:03:03.189 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 07 September 2024 08:53:17 -0400 (0:00:00.120) 0:03:03.309 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 07 September 2024 08:53:17 -0400 (0:00:00.126) 0:03:03.436 **** skipping: [managed_node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 07 September 2024 08:53:17 -0400 (0:00:00.322) 0:03:03.758 **** ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 07 September 2024 08:53:17 -0400 (0:00:00.260) 0:03:04.019 **** [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ok: [managed_node3] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.540702", "end": "2024-09-07 08:53:18.649913", "rc": 0, "start": "2024-09-07 08:53:18.109211" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 07 September 2024 08:53:18 -0400 (0:00:01.069) 0:03:05.089 **** ok: [managed_node3] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 07 September 2024 08:53:18 -0400 (0:00:00.149) 0:03:05.239 **** ok: [managed_node3] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 07 September 2024 08:53:19 -0400 (0:00:00.124) 0:03:05.364 **** skipping: [managed_node3] => (item={u'what': u'tasks/assert_device_absent.yml', u'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 07 September 2024 08:53:19 -0400 (0:00:00.133) 0:03:05.497 **** ok: [managed_node3] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 07 September 2024 08:53:19 -0400 (0:00:00.134) 0:03:05.631 **** included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node3 included: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed_node3 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 07 September 2024 08:53:19 -0400 (0:00:00.268) 0:03:05.899 **** ok: [managed_node3] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.039952", "end": "2024-09-07 08:53:19.981896", "rc": 0, "start": "2024-09-07 08:53:19.941944" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 07 September 2024 08:53:20 -0400 (0:00:00.532) 0:03:06.432 **** ok: [managed_node3] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.005672", "end": "2024-09-07 08:53:20.482866", "rc": 0, "start": "2024-09-07 08:53:20.477194" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 02:85:2f:0a:87:25 brd ff:ff:ff:ff:ff:ff inet 10.31.46.37/22 brd 10.31.47.255 scope global noprefixroute dynamic eth0 valid_lft 2433sec preferred_lft 2433sec inet6 fe80::85:2fff:fe0a:8725/64 scope link valid_lft forever preferred_lft forever 34: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether ca:8e:52:22:4b:1d brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 brd 192.0.2.73 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever inet6 fe80::c88e:52ff:fe22:4b1d/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.46.37 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 IP -6 ROUTE unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 pref medium fe80::/64 dev rpltstbr proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 07 September 2024 08:53:20 -0400 (0:00:00.490) 0:03:06.922 **** ok: [managed_node3] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.433969", "end": "2024-09-07 08:53:21.485574", "rc": 0, "start": "2024-09-07 08:53:21.051605" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 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 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 2620:52:3:1:dead:beef:cafe:fed6 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 1091 0 --:--:-- --:--:-- --:--:-- 1093 % 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 2123 0 --:--:-- --:--:-- --:--:-- 2139 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed_node3 : ok=338 changed=14 unreachable=0 failed=0 skipped=284 rescued=0 ignored=10 Saturday 07 September 2024 08:53:21 -0400 (0:00:00.900) 0:03:07.823 **** =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 1.84s /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.75s /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.74s /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gather current interface info ------------------------------------------- 1.66s /tmp/collections-yjU/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.61s /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.52s /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.52s /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gather current interface info ------------------------------------------- 1.46s /tmp/collections-yjU/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.43s /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.38s /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.35s /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.34s /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.31s /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.31s /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.26s /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.24s /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.22s /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.22s /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 1.20s /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 fedora.linux_system_roles.network : Configure networking connection profiles --- 1.14s /tmp/collections-yjU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159