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-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Monday 11 November 2024 20:12:01 -0500 (0:00:00.040) 0:00:00.040 ******* ok: [managed-node3] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Monday 11 November 2024 20:12:03 -0500 (0:00:01.151) 0:00:01.191 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Monday 11 November 2024 20:12:03 -0500 (0:00:00.091) 0:00:01.283 ******* ok: [managed-node3] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Monday 11 November 2024 20:12:03 -0500 (0:00:00.475) 0:00:01.758 ******* ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Monday 11 November 2024 20:12:04 -0500 (0:00:00.797) 0:00:02.556 ******* ok: [managed-node3] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Monday 11 November 2024 20:12:04 -0500 (0:00:00.070) 0:00:02.627 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Monday 11 November 2024 20:12:04 -0500 (0:00:00.072) 0:00:02.699 ******* included: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node3 TASK [Create EPEL 7] *********************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Monday 11 November 2024 20:12:04 -0500 (0:00:00.126) 0:00:02.826 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Monday 11 November 2024 20:12:05 -0500 (0:00:00.834) 0:00:03.661 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Monday 11 November 2024 20:12:06 -0500 (0:00:01.233) 0:00:04.895 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.164867", "end": "2024-11-11 20:12:07.449855", "rc": 0, "start": "2024-11-11 20:12:07.284988" } STDOUT: Loaded plugins: fastestmirror ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7 baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=stock&content=centos minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7/epel pkgdir = /var/cache/yum/x86_64/7/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Monday 11 November 2024 20:12:07 -0500 (0:00:00.751) 0:00:05.647 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Monday 11 November 2024 20:12:07 -0500 (0:00:00.064) 0:00:05.711 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Monday 11 November 2024 20:12:07 -0500 (0:00:00.086) 0:00:05.797 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Monday 11 November 2024 20:12:07 -0500 (0:00:00.116) 0:00:05.914 ******* ok: [managed-node3] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Monday 11 November 2024 20:12:08 -0500 (0:00:00.683) 0:00:06.598 ******* ok: [managed-node3] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Monday 11 November 2024 20:12:08 -0500 (0:00:00.042) 0:00:06.641 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 11 November 2024 20:12:08 -0500 (0:00:00.065) 0:00:06.707 ******* ok: [managed-node3] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 11 November 2024 20:12:08 -0500 (0:00:00.058) 0:00:06.766 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 11 November 2024 20:12:08 -0500 (0:00:00.134) 0:00:06.900 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 11 November 2024 20:12:08 -0500 (0:00:00.106) 0:00:07.006 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 11 November 2024 20:12:09 -0500 (0:00:00.100) 0:00:07.107 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003283", "end": "2024-11-11 20:12:09.395078", "rc": 0, "start": "2024-11-11 20:12:09.391795" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 11 November 2024 20:12:09 -0500 (0:00:00.464) 0:00:07.572 ******* ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 11 November 2024 20:12:09 -0500 (0:00:00.030) 0:00:07.602 ******* ok: [managed-node3] => {} MSG: current_interfaces: [u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 11 November 2024 20:12:09 -0500 (0:00:00.034) 0:00:07.637 ******* included: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node3 included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Monday 11 November 2024 20:12:09 -0500 (0:00:00.083) 0:00:07.720 ******* fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008553", "end": "2024-11-11 20:12:09.978640", "rc": 1, "start": "2024-11-11 20:12:09.970087" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 11 November 2024 20:12:10 -0500 (0:00:00.477) 0:00:08.198 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 11 November 2024 20:12:10 -0500 (0:00:00.076) 0:00:08.275 ******* ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 11 November 2024 20:12:10 -0500 (0:00:00.337) 0:00:08.612 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 11 November 2024 20:12:10 -0500 (0:00:00.054) 0:00:08.666 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 11 November 2024 20:12:10 -0500 (0:00:00.062) 0:00:08.729 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 11 November 2024 20:12:10 -0500 (0:00:00.283) 0:00:09.012 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:12:10 -0500 (0:00:00.085) 0:00:09.097 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:12:11 -0500 (0:00:00.040) 0:00:09.138 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 11 November 2024 20:12:11 -0500 (0:00:00.039) 0:00:09.177 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 11 November 2024 20:12:11 -0500 (0:00:00.040) 0:00:09.218 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:12:12 -0500 (0:00:01.285) 0:00:10.504 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:12:14 -0500 (0:00:01.827) 0:00:12.331 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:12:14 -0500 (0:00:00.148) 0:00:12.480 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 11 November 2024 20:12:14 -0500 (0:00:00.114) 0:00:12.594 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 11 November 2024 20:12:14 -0500 (0:00:00.106) 0:00:12.701 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 11 November 2024 20:12:14 -0500 (0:00:00.110) 0:00:12.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 YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 11 November 2024 20:12:14 -0500 (0:00:00.107) 0:00:12.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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 11 November 2024 20:12:14 -0500 (0:00:00.122) 0:00:13.041 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 11 November 2024 20:12:15 -0500 (0:00:00.142) 0:00:13.184 ******* 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: d2lzkl7pfhq30w.cloudfront.net\n * epel-debuginfo: d2lzkl7pfhq30w.cloudfront.net\n * epel-source: d2lzkl7pfhq30w.cloudfront.net\nResolving Dependencies\n--> Running transaction check\n---> Package bridge-utils.x86_64 0:1.5-9.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n bridge-utils x86_64 1.5-9.el7 base 32 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal download size: 32 k\nInstalled size: 56 k\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : bridge-utils-1.5-9.el7.x86_64 1/1 \n Verifying : bridge-utils-1.5-9.el7.x86_64 1/1 \n\nInstalled:\n bridge-utils.x86_64 0:1.5-9.el7 \n\nComplete!\n" ] } lsrpackages: bridge-utils dhclient initscripts TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 11 November 2024 20:12:24 -0500 (0:00:08.964) 0:00:22.148 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 11 November 2024 20:12:24 -0500 (0:00:00.095) 0:00:22.243 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 11 November 2024 20:12:24 -0500 (0:00:00.085) 0:00:22.329 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 11 November 2024 20:12:24 -0500 (0:00:00.115) 0:00:22.444 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 11 November 2024 20:12:24 -0500 (0:00:00.110) 0:00:22.555 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 11 November 2024 20:12:24 -0500 (0:00:00.107) 0:00:22.662 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 11 November 2024 20:12:25 -0500 (0:00:00.881) 0:00:23.543 ******* ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-31851OTEEO5/tmpvenPk0" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 11 November 2024 20:12:25 -0500 (0:00:00.440) 0:00:23.983 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:12:27 -0500 (0:00:01.162) 0:00:25.146 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 11 November 2024 20:12:27 -0500 (0:00:00.181) 0:00:25.327 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:12:27 -0500 (0:00:00.205) 0:00:25.533 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:12:27 -0500 (0:00:00.198) 0:00:25.731 ******* skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 11 November 2024 20:12:27 -0500 (0:00:00.133) 0:00:25.864 ******* ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 11 November 2024 20:12:28 -0500 (0:00:00.732) 0:00:26.597 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 11 November 2024 20:12:28 -0500 (0:00:00.217) 0:00:26.815 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Monday 11 November 2024 20:12:28 -0500 (0:00:00.223) 0:00:27.038 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 11 November 2024 20:12:29 -0500 (0:00:00.176) 0:00:27.215 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 11 November 2024 20:12:29 -0500 (0:00:00.098) 0:00:27.313 ******* ok: [managed-node3] => { "changed": false, "stat": { "atime": 1731373946.8984241, "block_size": 4096, "blocks": 8, "ctime": 1731373946.8984241, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 152, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1731373946.8984241, "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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 11 November 2024 20:12:29 -0500 (0:00:00.453) 0:00:27.767 ******* ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 11 November 2024 20:12:29 -0500 (0:00:00.110) 0:00:27.877 ******* fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020161", "end": "2024-11-11 20:12:30.212902", "rc": 1, "start": "2024-11-11 20:12:30.192741" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 11 November 2024 20:12:30 -0500 (0:00:00.544) 0:00:28.422 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 11 November 2024 20:12:30 -0500 (0:00:00.089) 0:00:28.512 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003146", "end": "2024-11-11 20:12:30.653351", "rc": 0, "start": "2024-11-11 20:12:30.650205" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 11 November 2024 20:12:30 -0500 (0:00:00.361) 0:00:28.873 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 11 November 2024 20:12:30 -0500 (0:00:00.099) 0:00:28.972 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003222", "end": "2024-11-11 20:12:31.147990", "rc": 0, "start": "2024-11-11 20:12:31.144768" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 11 November 2024 20:12:31 -0500 (0:00:00.418) 0:00:29.391 ******* ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Monday 11 November 2024 20:12:31 -0500 (0:00:00.164) 0:00:29.556 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Monday 11 November 2024 20:12:31 -0500 (0:00:00.098) 0:00:29.654 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Monday 11 November 2024 20:12:31 -0500 (0:00:00.113) 0:00:29.768 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 11 November 2024 20:12:31 -0500 (0:00:00.114) 0:00:29.882 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 11 November 2024 20:12:31 -0500 (0:00:00.118) 0:00:30.000 ******* ok: [managed-node3] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 11 November 2024 20:12:32 -0500 (0:00:00.117) 0:00:30.117 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 11 November 2024 20:12:32 -0500 (0:00:00.233) 0:00:30.350 ******* 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.038772", "end": "2024-11-11 20:12:32.558087", "rc": 1, "start": "2024-11-11 20:12:32.519315" } 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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Monday 11 November 2024 20:12:32 -0500 (0:00:00.507) 0:00:30.857 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 11 November 2024 20:12:32 -0500 (0:00:00.214) 0:00:31.072 ******* ok: [managed-node3] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 11 November 2024 20:12:33 -0500 (0:00:00.107) 0:00:31.180 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 11 November 2024 20:12:33 -0500 (0:00:00.160) 0:00:31.340 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 11 November 2024 20:12:33 -0500 (0:00:00.120) 0:00:31.461 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 11 November 2024 20:12:33 -0500 (0:00:00.155) 0:00:31.616 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004506", "end": "2024-11-11 20:12:34.771125", "rc": 0, "start": "2024-11-11 20:12:33.766619" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 11 November 2024 20:12:34 -0500 (0:00:01.409) 0:00:33.026 ******* ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 11 November 2024 20:12:35 -0500 (0:00:00.136) 0:00:33.163 ******* ok: [managed-node3] => {} MSG: current_interfaces: [u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 11 November 2024 20:12:35 -0500 (0:00:00.136) 0:00:33.299 ******* included: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node3 included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Monday 11 November 2024 20:12:35 -0500 (0:00:00.233) 0:00:33.533 ******* fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007102", "end": "2024-11-11 20:12:35.851463", "rc": 1, "start": "2024-11-11 20:12:35.844361" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 11 November 2024 20:12:36 -0500 (0:00:00.683) 0:00:34.217 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 11 November 2024 20:12:36 -0500 (0:00:00.279) 0:00:34.496 ******* ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 11 November 2024 20:12:36 -0500 (0:00:00.403) 0:00:34.899 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 11 November 2024 20:12:36 -0500 (0:00:00.091) 0:00:34.991 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Monday 11 November 2024 20:12:37 -0500 (0:00:00.161) 0:00:35.153 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 11 November 2024 20:12:37 -0500 (0:00:00.249) 0:00:35.403 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:12:37 -0500 (0:00:00.575) 0:00:35.979 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:12:38 -0500 (0:00:00.184) 0:00:36.163 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 11 November 2024 20:12:38 -0500 (0:00:00.097) 0:00:36.261 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 11 November 2024 20:12:38 -0500 (0:00:00.082) 0:00:36.344 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:12:39 -0500 (0:00:00.955) 0:00:37.299 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:12:40 -0500 (0:00:01.661) 0:00:38.960 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:12:40 -0500 (0:00:00.140) 0:00:39.101 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 11 November 2024 20:12:41 -0500 (0:00:00.123) 0:00:39.224 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 11 November 2024 20:12:41 -0500 (0:00:00.117) 0:00:39.342 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 11 November 2024 20:12:41 -0500 (0:00:00.104) 0:00:39.447 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 11 November 2024 20:12:41 -0500 (0:00:00.112) 0:00:39.559 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 11 November 2024 20:12:41 -0500 (0:00:00.195) 0:00:39.755 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 11 November 2024 20:12:41 -0500 (0:00:00.133) 0:00:39.888 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 11 November 2024 20:12:41 -0500 (0:00:00.159) 0:00:40.048 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 11 November 2024 20:12:42 -0500 (0:00:00.116) 0:00:40.165 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 11 November 2024 20:12:42 -0500 (0:00:00.119) 0:00:40.284 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 11 November 2024 20:12:42 -0500 (0:00:00.123) 0:00:40.408 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 11 November 2024 20:12:42 -0500 (0:00:00.100) 0:00:40.508 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 11 November 2024 20:12:42 -0500 (0:00:00.076) 0:00:40.584 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 11 November 2024 20:12:43 -0500 (0:00:00.551) 0:00:41.136 ******* ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-31851OTEEO5/tmpk7jB57" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 11 November 2024 20:12:43 -0500 (0:00:00.499) 0:00:41.636 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:12:44 -0500 (0:00:00.735) 0:00:42.371 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 11 November 2024 20:12:44 -0500 (0:00:00.109) 0:00:42.481 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:12:44 -0500 (0:00:00.119) 0:00:42.601 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:12:44 -0500 (0:00:00.121) 0:00:42.722 ******* skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 11 November 2024 20:12:44 -0500 (0:00:00.114) 0:00:42.836 ******* ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Monday 11 November 2024 20:12:45 -0500 (0:00:00.398) 0:00:43.235 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 11 November 2024 20:12:45 -0500 (0:00:00.131) 0:00:43.366 ******* included: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node3 included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 11 November 2024 20:12:45 -0500 (0:00:00.202) 0:00:43.569 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 11 November 2024 20:12:45 -0500 (0:00:00.193) 0:00:43.762 ******* ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 11 November 2024 20:12:46 -0500 (0:00:00.676) 0:00:44.439 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Monday 11 November 2024 20:12:46 -0500 (0:00:00.119) 0:00:44.558 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 11 November 2024 20:12:46 -0500 (0:00:00.222) 0:00:44.781 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 11 November 2024 20:12:46 -0500 (0:00:00.099) 0:00:44.881 ******* ok: [managed-node3] => { "changed": false, "stat": { "atime": 1731373964.1236687, "block_size": 4096, "blocks": 8, "ctime": 1731373964.1246686, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 152, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1731373964.1246686, "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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 11 November 2024 20:12:47 -0500 (0:00:00.576) 0:00:45.457 ******* ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 11 November 2024 20:12:47 -0500 (0:00:00.136) 0:00:45.595 ******* fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017920", "end": "2024-11-11 20:12:47.849135", "rc": 1, "start": "2024-11-11 20:12:47.831215" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 11 November 2024 20:12:47 -0500 (0:00:00.499) 0:00:46.094 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 11 November 2024 20:12:48 -0500 (0:00:00.148) 0:00:46.243 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003387", "end": "2024-11-11 20:12:48.792057", "rc": 0, "start": "2024-11-11 20:12:48.788670" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 11 November 2024 20:12:48 -0500 (0:00:00.774) 0:00:47.017 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 11 November 2024 20:12:49 -0500 (0:00:00.138) 0:00:47.155 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003176", "end": "2024-11-11 20:12:49.372014", "rc": 0, "start": "2024-11-11 20:12:49.368838" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 11 November 2024 20:12:49 -0500 (0:00:00.529) 0:00:47.685 ******* ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Monday 11 November 2024 20:12:49 -0500 (0:00:00.211) 0:00:47.896 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Monday 11 November 2024 20:12:49 -0500 (0:00:00.088) 0:00:47.985 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Monday 11 November 2024 20:12:50 -0500 (0:00:00.120) 0:00:48.105 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 11 November 2024 20:12:50 -0500 (0:00:00.130) 0:00:48.236 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 11 November 2024 20:12:50 -0500 (0:00:00.144) 0:00:48.381 ******* ok: [managed-node3] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 11 November 2024 20:12:50 -0500 (0:00:00.149) 0:00:48.530 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 11 November 2024 20:12:50 -0500 (0:00:00.211) 0:00:48.742 ******* 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.036022", "end": "2024-11-11 20:12:50.941257", "rc": 1, "start": "2024-11-11 20:12:50.905235" } 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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Monday 11 November 2024 20:12:51 -0500 (0:00:00.454) 0:00:49.197 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 11 November 2024 20:12:51 -0500 (0:00:00.210) 0:00:49.408 ******* ok: [managed-node3] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 11 November 2024 20:12:51 -0500 (0:00:00.171) 0:00:49.579 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 11 November 2024 20:12:51 -0500 (0:00:00.382) 0:00:49.962 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 11 November 2024 20:12:52 -0500 (0:00:00.304) 0:00:50.267 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 11 November 2024 20:12:52 -0500 (0:00:00.261) 0:00:50.529 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003200", "end": "2024-11-11 20:12:52.730523", "rc": 0, "start": "2024-11-11 20:12:52.727323" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 11 November 2024 20:12:52 -0500 (0:00:00.455) 0:00:50.984 ******* ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 11 November 2024 20:12:53 -0500 (0:00:00.217) 0:00:51.201 ******* ok: [managed-node3] => {} MSG: current_interfaces: [u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 11 November 2024 20:12:53 -0500 (0:00:00.101) 0:00:51.303 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 11 November 2024 20:12:53 -0500 (0:00:00.160) 0:00:51.463 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 11 November 2024 20:12:53 -0500 (0:00:00.226) 0:00:51.690 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:12:53 -0500 (0:00:00.283) 0:00:51.973 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:12:54 -0500 (0:00:00.149) 0:00:52.123 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 11 November 2024 20:12:54 -0500 (0:00:00.183) 0:00:52.306 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 11 November 2024 20:12:54 -0500 (0:00:00.129) 0:00:52.436 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:12:55 -0500 (0:00:01.145) 0:00:53.581 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:12:56 -0500 (0:00:01.480) 0:00:55.062 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:12:57 -0500 (0:00:00.119) 0:00:55.181 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 11 November 2024 20:12:57 -0500 (0:00:00.111) 0:00:55.292 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 11 November 2024 20:12:57 -0500 (0:00:00.137) 0:00:55.430 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 11 November 2024 20:12:57 -0500 (0:00:00.119) 0:00:55.549 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 11 November 2024 20:12:57 -0500 (0:00:00.099) 0:00:55.648 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 11 November 2024 20:12:57 -0500 (0:00:00.101) 0:00:55.749 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 11 November 2024 20:12:57 -0500 (0:00:00.088) 0:00:55.838 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 11 November 2024 20:12:57 -0500 (0:00:00.136) 0:00:55.974 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 11 November 2024 20:12:57 -0500 (0:00:00.072) 0:00:56.046 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 11 November 2024 20:12:58 -0500 (0:00:00.073) 0:00:56.120 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 11 November 2024 20:12:58 -0500 (0:00:00.077) 0:00:56.198 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 11 November 2024 20:12:58 -0500 (0:00:00.076) 0:00:56.274 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 11 November 2024 20:12:58 -0500 (0:00:00.104) 0:00:56.379 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 11 November 2024 20:12:59 -0500 (0:00:00.756) 0:00:57.135 ******* ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-31851OTEEO5/tmp1PABHA" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 11 November 2024 20:12:59 -0500 (0:00:00.757) 0:00:57.893 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:13:00 -0500 (0:00:01.183) 0:00:59.077 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 11 November 2024 20:13:01 -0500 (0:00:00.132) 0:00:59.209 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:13:01 -0500 (0:00:00.083) 0:00:59.293 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:13:01 -0500 (0:00:00.085) 0:00:59.378 ******* skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 11 November 2024 20:13:01 -0500 (0:00:00.129) 0:00:59.508 ******* ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 11 November 2024 20:13:01 -0500 (0:00:00.487) 0:00:59.995 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 11 November 2024 20:13:02 -0500 (0:00:00.186) 0:01:00.182 ******* included: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 TASK [Include network role] **************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 11 November 2024 20:13:02 -0500 (0:00:00.256) 0:01:00.438 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 11 November 2024 20:13:02 -0500 (0:00:00.201) 0:01:00.640 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:13:02 -0500 (0:00:00.152) 0:01:00.793 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:13:02 -0500 (0:00:00.138) 0:01:00.931 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 11 November 2024 20:13:03 -0500 (0:00:00.174) 0:01:01.106 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 11 November 2024 20:13:03 -0500 (0:00:00.165) 0:01:01.271 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:13:04 -0500 (0:00:01.499) 0:01:02.771 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:13:06 -0500 (0:00:01.578) 0:01:04.350 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:13:06 -0500 (0:00:00.132) 0:01:04.482 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 11 November 2024 20:13:06 -0500 (0:00:00.133) 0:01:04.616 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 11 November 2024 20:13:06 -0500 (0:00:00.122) 0:01:04.738 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 11 November 2024 20:13:06 -0500 (0:00:00.091) 0:01:04.829 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 11 November 2024 20:13:06 -0500 (0:00:00.086) 0:01:04.916 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 11 November 2024 20:13:06 -0500 (0:00:00.082) 0:01:04.998 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 11 November 2024 20:13:06 -0500 (0:00:00.098) 0:01:05.096 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 11 November 2024 20:13:07 -0500 (0:00:00.188) 0:01:05.285 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 11 November 2024 20:13:07 -0500 (0:00:00.118) 0:01:05.403 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 11 November 2024 20:13:07 -0500 (0:00:00.190) 0:01:05.594 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 11 November 2024 20:13:07 -0500 (0:00:00.279) 0:01:05.874 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 11 November 2024 20:13:07 -0500 (0:00:00.147) 0:01:06.021 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 11 November 2024 20:13:08 -0500 (0:00:00.123) 0:01:06.145 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 11 November 2024 20:13:08 -0500 (0:00:00.883) 0:01:07.028 ******* ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-31851OTEEO5/tmppQB16K" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 11 November 2024 20:13:09 -0500 (0:00:00.613) 0:01:07.642 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:13:10 -0500 (0:00:00.867) 0:01:08.509 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 11 November 2024 20:13:10 -0500 (0:00:00.089) 0:01:08.599 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:13:10 -0500 (0:00:00.105) 0:01:08.705 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:13:10 -0500 (0:00:00.093) 0:01:08.798 ******* skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 11 November 2024 20:13:10 -0500 (0:00:00.108) 0:01:08.907 ******* ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 11 November 2024 20:13:11 -0500 (0:00:00.737) 0:01:09.644 ******* included: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node3 included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Monday 11 November 2024 20:13:11 -0500 (0:00:00.241) 0:01:09.886 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 11 November 2024 20:13:11 -0500 (0:00:00.208) 0:01:10.094 ******* ok: [managed-node3] => { "changed": false, "stat": { "atime": 1731373990.1890383, "block_size": 4096, "blocks": 0, "ctime": 1731373990.1880383, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17685, "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": 1731373990.1880383, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Monday 11 November 2024 20:13:12 -0500 (0:00:00.543) 0:01:10.638 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Monday 11 November 2024 20:13:12 -0500 (0:00:00.236) 0:01:10.874 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 11 November 2024 20:13:13 -0500 (0:00:00.237) 0:01:11.112 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 11 November 2024 20:13:13 -0500 (0:00:00.115) 0:01:11.228 ******* ok: [managed-node3] => { "changed": false, "stat": { "atime": 1731373990.0310361, "block_size": 4096, "blocks": 8, "ctime": 1731373980.727904, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 152, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1731373980.727904, "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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 11 November 2024 20:13:13 -0500 (0:00:00.549) 0:01:11.777 ******* ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 11 November 2024 20:13:13 -0500 (0:00:00.093) 0:01:11.871 ******* fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019631", "end": "2024-11-11 20:13:14.071639", "rc": 1, "start": "2024-11-11 20:13:14.052008" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 11 November 2024 20:13:14 -0500 (0:00:00.419) 0:01:12.291 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 11 November 2024 20:13:14 -0500 (0:00:00.075) 0:01:12.366 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003455", "end": "2024-11-11 20:13:14.563004", "rc": 0, "start": "2024-11-11 20:13:14.559549" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 11 November 2024 20:13:14 -0500 (0:00:00.470) 0:01:12.837 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 11 November 2024 20:13:14 -0500 (0:00:00.153) 0:01:12.991 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003286", "end": "2024-11-11 20:13:15.182829", "rc": 0, "start": "2024-11-11 20:13:15.179543" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 11 November 2024 20:13:15 -0500 (0:00:00.428) 0:01:13.419 ******* ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Monday 11 November 2024 20:13:15 -0500 (0:00:00.124) 0:01:13.544 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Monday 11 November 2024 20:13:15 -0500 (0:00:00.089) 0:01:13.633 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Monday 11 November 2024 20:13:15 -0500 (0:00:00.076) 0:01:13.710 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 11 November 2024 20:13:15 -0500 (0:00:00.072) 0:01:13.782 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 11 November 2024 20:13:15 -0500 (0:00:00.066) 0:01:13.849 ******* ok: [managed-node3] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 11 November 2024 20:13:15 -0500 (0:00:00.167) 0:01:14.017 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 11 November 2024 20:13:16 -0500 (0:00:00.284) 0:01:14.301 ******* 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.043529", "end": "2024-11-11 20:13:16.549018", "rc": 0, "start": "2024-11-11 20:13:16.505489" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Monday 11 November 2024 20:13:16 -0500 (0:00:00.550) 0:01:14.852 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 11 November 2024 20:13:16 -0500 (0:00:00.229) 0:01:15.082 ******* ok: [managed-node3] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 11 November 2024 20:13:17 -0500 (0:00:00.166) 0:01:15.248 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 11 November 2024 20:13:17 -0500 (0:00:00.248) 0:01:15.496 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 11 November 2024 20:13:17 -0500 (0:00:00.194) 0:01:15.691 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 11 November 2024 20:13:17 -0500 (0:00:00.231) 0:01:15.922 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003248", "end": "2024-11-11 20:13:18.167244", "rc": 0, "start": "2024-11-11 20:13:18.163996" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 11 November 2024 20:13:18 -0500 (0:00:00.438) 0:01:16.361 ******* ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 11 November 2024 20:13:18 -0500 (0:00:00.102) 0:01:16.464 ******* ok: [managed-node3] => {} MSG: current_interfaces: [u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 11 November 2024 20:13:18 -0500 (0:00:00.232) 0:01:16.697 ******* included: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 included: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 TASK [Include network role] **************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 11 November 2024 20:13:18 -0500 (0:00:00.259) 0:01:16.956 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 11 November 2024 20:13:19 -0500 (0:00:00.352) 0:01:17.309 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:13:19 -0500 (0:00:00.238) 0:01:17.547 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:13:19 -0500 (0:00:00.125) 0:01:17.673 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 11 November 2024 20:13:19 -0500 (0:00:00.108) 0:01:17.782 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 11 November 2024 20:13:19 -0500 (0:00:00.100) 0:01:17.882 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:13:20 -0500 (0:00:00.944) 0:01:18.827 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:13:22 -0500 (0:00:01.427) 0:01:20.254 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:13:22 -0500 (0:00:00.145) 0:01:20.399 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 11 November 2024 20:13:22 -0500 (0:00:00.133) 0:01:20.533 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 11 November 2024 20:13:22 -0500 (0:00:00.195) 0:01:20.729 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 11 November 2024 20:13:22 -0500 (0:00:00.080) 0:01:20.810 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 11 November 2024 20:13:22 -0500 (0:00:00.117) 0:01:20.927 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 11 November 2024 20:13:22 -0500 (0:00:00.124) 0:01:21.052 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 11 November 2024 20:13:23 -0500 (0:00:00.132) 0:01:21.185 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 11 November 2024 20:13:23 -0500 (0:00:00.219) 0:01:21.405 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 11 November 2024 20:13:23 -0500 (0:00:00.124) 0:01:21.529 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 11 November 2024 20:13:23 -0500 (0:00:00.123) 0:01:21.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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 11 November 2024 20:13:23 -0500 (0:00:00.119) 0:01:21.772 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 11 November 2024 20:13:23 -0500 (0:00:00.080) 0:01:21.853 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 11 November 2024 20:13:23 -0500 (0:00:00.099) 0:01:21.953 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 11 November 2024 20:13:24 -0500 (0:00:00.674) 0:01:22.628 ******* ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-31851OTEEO5/tmptzVhqj" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 11 November 2024 20:13:25 -0500 (0:00:00.671) 0:01:23.299 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:13:25 -0500 (0:00:00.607) 0:01:23.906 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 11 November 2024 20:13:25 -0500 (0:00:00.144) 0:01:24.051 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:13:26 -0500 (0:00:00.199) 0:01:24.251 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:13:26 -0500 (0:00:00.200) 0:01:24.451 ******* skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 11 November 2024 20:13:26 -0500 (0:00:00.399) 0:01:24.851 ******* ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 11 November 2024 20:13:27 -0500 (0:00:00.586) 0:01:25.438 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 11 November 2024 20:13:27 -0500 (0:00:00.121) 0:01:25.559 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 11 November 2024 20:13:27 -0500 (0:00:00.199) 0:01:25.759 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:13:28 -0500 (0:00:00.390) 0:01:26.150 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:13:28 -0500 (0:00:00.232) 0:01:26.382 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 11 November 2024 20:13:28 -0500 (0:00:00.165) 0:01:26.548 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 11 November 2024 20:13:28 -0500 (0:00:00.182) 0:01:26.730 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:13:29 -0500 (0:00:01.054) 0:01:27.784 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:13:30 -0500 (0:00:01.314) 0:01:29.098 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:13:31 -0500 (0:00:00.075) 0:01:29.174 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 11 November 2024 20:13:31 -0500 (0:00:00.074) 0:01:29.249 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 11 November 2024 20:13:31 -0500 (0:00:00.073) 0:01:29.323 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 11 November 2024 20:13:31 -0500 (0:00:00.101) 0:01:29.424 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 11 November 2024 20:13:31 -0500 (0:00:00.102) 0:01:29.527 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 11 November 2024 20:13:31 -0500 (0:00:00.121) 0:01:29.648 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 11 November 2024 20:13:31 -0500 (0:00:00.119) 0:01:29.768 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 11 November 2024 20:13:31 -0500 (0:00:00.186) 0:01:29.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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 11 November 2024 20:13:31 -0500 (0:00:00.116) 0:01:30.071 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 11 November 2024 20:13:32 -0500 (0:00:00.126) 0:01:30.197 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 11 November 2024 20:13:32 -0500 (0:00:00.120) 0:01:30.318 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 11 November 2024 20:13:32 -0500 (0:00:00.108) 0:01:30.427 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 11 November 2024 20:13:32 -0500 (0:00:00.112) 0:01:30.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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 11 November 2024 20:13:33 -0500 (0:00:00.575) 0:01:31.114 ******* ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-31851OTEEO5/tmpkdVILr" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 11 November 2024 20:13:33 -0500 (0:00:00.405) 0:01:31.519 ******* changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:13:34 -0500 (0:00:00.955) 0:01:32.475 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 11 November 2024 20:13:34 -0500 (0:00:00.071) 0:01:32.547 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:13:34 -0500 (0:00:00.101) 0:01:32.648 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:13:34 -0500 (0:00:00.116) 0:01:32.765 ******* skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 11 November 2024 20:13:34 -0500 (0:00:00.113) 0:01:32.878 ******* ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 11 November 2024 20:13:35 -0500 (0:00:00.396) 0:01:33.275 ******* included: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node3 TASK [Include network role] **************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Monday 11 November 2024 20:13:35 -0500 (0:00:00.144) 0:01:33.419 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 11 November 2024 20:13:35 -0500 (0:00:00.230) 0:01:33.650 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:13:35 -0500 (0:00:00.224) 0:01:33.875 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:13:35 -0500 (0:00:00.144) 0:01:34.019 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 11 November 2024 20:13:36 -0500 (0:00:00.112) 0:01:34.132 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 11 November 2024 20:13:36 -0500 (0:00:00.115) 0:01:34.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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:13:37 -0500 (0:00:01.061) 0:01:35.309 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:13:38 -0500 (0:00:01.471) 0:01:36.780 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:13:38 -0500 (0:00:00.120) 0:01:36.901 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 11 November 2024 20:13:38 -0500 (0:00:00.112) 0:01:37.013 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 11 November 2024 20:13:39 -0500 (0:00:00.143) 0:01:37.156 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 11 November 2024 20:13:39 -0500 (0:00:00.111) 0:01:37.268 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 11 November 2024 20:13:39 -0500 (0:00:00.206) 0:01:37.474 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 11 November 2024 20:13:39 -0500 (0:00:00.217) 0:01:37.691 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 11 November 2024 20:13:39 -0500 (0:00:00.215) 0:01:37.907 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 11 November 2024 20:13:39 -0500 (0:00:00.195) 0:01:38.102 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 11 November 2024 20:13:40 -0500 (0:00:00.125) 0:01:38.228 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 11 November 2024 20:13:40 -0500 (0:00:00.201) 0:01:38.430 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 11 November 2024 20:13:40 -0500 (0:00:00.138) 0:01:38.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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 11 November 2024 20:13:40 -0500 (0:00:00.144) 0:01:38.713 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 11 November 2024 20:13:40 -0500 (0:00:00.119) 0:01:38.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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 11 November 2024 20:13:41 -0500 (0:00:00.745) 0:01:39.578 ******* ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-31851OTEEO5/tmpMf8Ra4" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 11 November 2024 20:13:42 -0500 (0:00:00.533) 0:01:40.112 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:13:42 -0500 (0:00:00.884) 0:01:40.997 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 11 November 2024 20:13:43 -0500 (0:00:00.182) 0:01:41.179 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:13:43 -0500 (0:00:00.115) 0:01:41.295 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:13:43 -0500 (0:00:00.142) 0:01:41.437 ******* skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 11 November 2024 20:13:43 -0500 (0:00:00.116) 0:01:41.553 ******* ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 11 November 2024 20:13:43 -0500 (0:00:00.529) 0:01:42.083 ******* included: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node3 included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Monday 11 November 2024 20:13:44 -0500 (0:00:00.235) 0:01:42.318 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 11 November 2024 20:13:44 -0500 (0:00:00.232) 0:01:42.551 ******* ok: [managed-node3] => { "changed": false, "stat": { "atime": 1731374014.2173793, "block_size": 4096, "blocks": 0, "ctime": 1731374014.2163792, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17685, "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": 1731374014.2163792, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Monday 11 November 2024 20:13:45 -0500 (0:00:00.704) 0:01:43.256 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Monday 11 November 2024 20:13:45 -0500 (0:00:00.145) 0:01:43.401 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 11 November 2024 20:13:45 -0500 (0:00:00.206) 0:01:43.607 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 11 November 2024 20:13:45 -0500 (0:00:00.112) 0:01:43.720 ******* ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 11 November 2024 20:13:46 -0500 (0:00:00.420) 0:01:44.141 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 11 November 2024 20:13:46 -0500 (0:00:00.123) 0:01:44.265 ******* fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019309", "end": "2024-11-11 20:13:46.457008", "rc": 1, "start": "2024-11-11 20:13:46.437699" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 11 November 2024 20:13:46 -0500 (0:00:00.388) 0:01:44.654 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 11 November 2024 20:13:46 -0500 (0:00:00.071) 0:01:44.726 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 11 November 2024 20:13:46 -0500 (0:00:00.072) 0:01:44.799 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 11 November 2024 20:13:46 -0500 (0:00:00.074) 0:01:44.873 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 11 November 2024 20:13:46 -0500 (0:00:00.096) 0:01:44.969 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Monday 11 November 2024 20:13:46 -0500 (0:00:00.117) 0:01:45.086 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 11 November 2024 20:13:47 -0500 (0:00:00.107) 0:01:45.194 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 11 November 2024 20:13:47 -0500 (0:00:00.092) 0:01:45.287 ******* ok: [managed-node3] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 11 November 2024 20:13:47 -0500 (0:00:00.114) 0:01:45.401 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 11 November 2024 20:13:47 -0500 (0:00:00.284) 0:01:45.686 ******* 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.043807", "end": "2024-11-11 20:13:47.909990", "rc": 0, "start": "2024-11-11 20:13:47.866183" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Monday 11 November 2024 20:13:48 -0500 (0:00:00.465) 0:01:46.151 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 11 November 2024 20:13:48 -0500 (0:00:00.202) 0:01:46.354 ******* ok: [managed-node3] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 11 November 2024 20:13:48 -0500 (0:00:00.119) 0:01:46.474 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 11 November 2024 20:13:48 -0500 (0:00:00.309) 0:01:46.784 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 11 November 2024 20:13:48 -0500 (0:00:00.205) 0:01:46.989 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 11 November 2024 20:13:49 -0500 (0:00:00.325) 0:01:47.314 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003514", "end": "2024-11-11 20:13:49.656553", "rc": 0, "start": "2024-11-11 20:13:49.653039" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 11 November 2024 20:13:49 -0500 (0:00:00.584) 0:01:47.899 ******* ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 11 November 2024 20:13:49 -0500 (0:00:00.130) 0:01:48.030 ******* ok: [managed-node3] => {} MSG: current_interfaces: [u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 11 November 2024 20:13:50 -0500 (0:00:00.217) 0:01:48.248 ******* included: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 included: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 included: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node3 TASK [Include network role] **************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 11 November 2024 20:13:50 -0500 (0:00:00.375) 0:01:48.623 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 11 November 2024 20:13:50 -0500 (0:00:00.203) 0:01:48.827 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:13:51 -0500 (0:00:00.418) 0:01:49.245 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:13:51 -0500 (0:00:00.165) 0:01:49.410 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 11 November 2024 20:13:51 -0500 (0:00:00.099) 0:01:49.510 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 11 November 2024 20:13:51 -0500 (0:00:00.075) 0:01:49.585 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:13:52 -0500 (0:00:00.957) 0:01:50.543 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:13:53 -0500 (0:00:01.354) 0:01:51.897 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:13:53 -0500 (0:00:00.150) 0:01:52.048 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 11 November 2024 20:13:54 -0500 (0:00:00.141) 0:01:52.190 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 11 November 2024 20:13:54 -0500 (0:00:00.124) 0:01:52.315 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 11 November 2024 20:13:54 -0500 (0:00:00.120) 0:01:52.435 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 11 November 2024 20:13:54 -0500 (0:00:00.128) 0:01:52.564 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 11 November 2024 20:13:54 -0500 (0:00:00.116) 0:01:52.680 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 11 November 2024 20:13:54 -0500 (0:00:00.190) 0:01:52.870 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 11 November 2024 20:13:54 -0500 (0:00:00.222) 0:01:53.093 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 11 November 2024 20:13:55 -0500 (0:00:00.123) 0:01:53.217 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 11 November 2024 20:13:55 -0500 (0:00:00.136) 0:01:53.353 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 11 November 2024 20:13:55 -0500 (0:00:00.101) 0:01:53.454 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 11 November 2024 20:13:55 -0500 (0:00:00.124) 0:01:53.579 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 11 November 2024 20:13:55 -0500 (0:00:00.112) 0:01:53.692 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 11 November 2024 20:13:56 -0500 (0:00:00.519) 0:01:54.211 ******* ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-31851OTEEO5/tmpFPCUnO" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 11 November 2024 20:13:56 -0500 (0:00:00.558) 0:01:54.770 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:13:57 -0500 (0:00:00.969) 0:01:55.739 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 11 November 2024 20:13:57 -0500 (0:00:00.232) 0:01:55.972 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:13:58 -0500 (0:00:00.184) 0:01:56.157 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:13:58 -0500 (0:00:00.216) 0:01:56.373 ******* skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 11 November 2024 20:13:58 -0500 (0:00:00.191) 0:01:56.565 ******* ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 11 November 2024 20:13:58 -0500 (0:00:00.470) 0:01:57.035 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 11 November 2024 20:13:59 -0500 (0:00:00.179) 0:01:57.215 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 11 November 2024 20:13:59 -0500 (0:00:00.381) 0:01:57.597 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:13:59 -0500 (0:00:00.305) 0:01:57.902 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:13:59 -0500 (0:00:00.149) 0:01:58.052 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 11 November 2024 20:14:00 -0500 (0:00:00.110) 0:01:58.163 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 11 November 2024 20:14:00 -0500 (0:00:00.094) 0:01:58.257 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:14:01 -0500 (0:00:00.948) 0:01:59.206 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:14:02 -0500 (0:00:01.369) 0:02:00.575 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:14:02 -0500 (0:00:00.125) 0:02:00.700 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 11 November 2024 20:14:02 -0500 (0:00:00.111) 0:02:00.812 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 11 November 2024 20:14:02 -0500 (0:00:00.165) 0:02:00.978 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 11 November 2024 20:14:02 -0500 (0:00:00.107) 0:02:01.085 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 11 November 2024 20:14:03 -0500 (0:00:00.114) 0:02:01.200 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 11 November 2024 20:14:03 -0500 (0:00:00.170) 0:02:01.370 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 11 November 2024 20:14:03 -0500 (0:00:00.115) 0:02:01.485 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 11 November 2024 20:14:03 -0500 (0:00:00.285) 0:02:01.771 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 11 November 2024 20:14:03 -0500 (0:00:00.116) 0:02:01.888 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 11 November 2024 20:14:03 -0500 (0:00:00.117) 0:02:02.005 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 11 November 2024 20:14:04 -0500 (0:00:00.129) 0:02:02.135 ******* skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 11 November 2024 20:14:04 -0500 (0:00:00.208) 0:02:02.344 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 11 November 2024 20:14:04 -0500 (0:00:00.191) 0:02:02.535 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 11 November 2024 20:14:05 -0500 (0:00:00.738) 0:02:03.273 ******* ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-31851OTEEO5/tmpTMK0nE" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 11 November 2024 20:14:05 -0500 (0:00:00.716) 0:02:03.990 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:14:06 -0500 (0:00:00.975) 0:02:04.966 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 11 November 2024 20:14:07 -0500 (0:00:00.140) 0:02:05.106 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:14:07 -0500 (0:00:00.141) 0:02:05.248 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:14:07 -0500 (0:00:00.168) 0:02:05.416 ******* skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 11 November 2024 20:14:07 -0500 (0:00:00.071) 0:02:05.488 ******* ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Monday 11 November 2024 20:14:07 -0500 (0:00:00.387) 0:02:05.876 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 11 November 2024 20:14:07 -0500 (0:00:00.205) 0:02:06.082 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:14:08 -0500 (0:00:00.380) 0:02:06.463 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:14:08 -0500 (0:00:00.143) 0:02:06.606 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 11 November 2024 20:14:08 -0500 (0:00:00.217) 0:02:06.824 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 11 November 2024 20:14:08 -0500 (0:00:00.128) 0:02:06.952 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:14:09 -0500 (0:00:01.109) 0:02:08.061 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:14:11 -0500 (0:00:01.790) 0:02:09.851 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:14:11 -0500 (0:00:00.120) 0:02:09.972 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 11 November 2024 20:14:11 -0500 (0:00:00.109) 0:02:10.082 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 11 November 2024 20:14:12 -0500 (0:00:00.114) 0:02:10.196 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 11 November 2024 20:14:12 -0500 (0:00:00.111) 0:02:10.307 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 11 November 2024 20:14:12 -0500 (0:00:00.112) 0:02:10.420 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 11 November 2024 20:14:12 -0500 (0:00:00.118) 0:02:10.538 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 11 November 2024 20:14:12 -0500 (0:00:00.127) 0:02:10.666 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 11 November 2024 20:14:12 -0500 (0:00:00.185) 0:02:10.851 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 11 November 2024 20:14:12 -0500 (0:00:00.106) 0:02:10.958 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 11 November 2024 20:14:12 -0500 (0:00:00.115) 0:02:11.073 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 11 November 2024 20:14:13 -0500 (0:00:00.126) 0:02:11.199 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 11 November 2024 20:14:13 -0500 (0:00:00.117) 0:02:11.317 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 11 November 2024 20:14:13 -0500 (0:00:00.104) 0:02:11.421 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 11 November 2024 20:14:13 -0500 (0:00:00.557) 0:02:11.979 ******* ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-31851OTEEO5/tmpXWt2Hu" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 11 November 2024 20:14:14 -0500 (0:00:00.448) 0:02:12.428 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:14:15 -0500 (0:00:00.729) 0:02:13.158 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 11 November 2024 20:14:15 -0500 (0:00:00.109) 0:02:13.267 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:14:15 -0500 (0:00:00.122) 0:02:13.389 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:14:15 -0500 (0:00:00.118) 0:02:13.507 ******* skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 11 November 2024 20:14:15 -0500 (0:00:00.085) 0:02:13.593 ******* ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 11 November 2024 20:14:15 -0500 (0:00:00.384) 0:02:13.978 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Monday 11 November 2024 20:14:16 -0500 (0:00:00.210) 0:02:14.188 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 11 November 2024 20:14:16 -0500 (0:00:00.237) 0:02:14.426 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:14:16 -0500 (0:00:00.223) 0:02:14.649 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:14:16 -0500 (0:00:00.152) 0:02:14.802 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 11 November 2024 20:14:16 -0500 (0:00:00.124) 0:02:14.926 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 11 November 2024 20:14:16 -0500 (0:00:00.097) 0:02:15.024 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:14:17 -0500 (0:00:00.934) 0:02:15.959 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:14:19 -0500 (0:00:01.569) 0:02:17.528 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:14:19 -0500 (0:00:00.118) 0:02:17.647 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 11 November 2024 20:14:19 -0500 (0:00:00.122) 0:02:17.770 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 11 November 2024 20:14:19 -0500 (0:00:00.115) 0:02:17.885 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 11 November 2024 20:14:19 -0500 (0:00:00.205) 0:02:18.091 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 11 November 2024 20:14:20 -0500 (0:00:00.204) 0:02:18.295 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 11 November 2024 20:14:20 -0500 (0:00:00.223) 0:02:18.518 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 11 November 2024 20:14:20 -0500 (0:00:00.249) 0:02:18.767 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 11 November 2024 20:14:20 -0500 (0:00:00.265) 0:02:19.033 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 11 November 2024 20:14:21 -0500 (0:00:00.154) 0:02:19.187 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 11 November 2024 20:14:21 -0500 (0:00:00.208) 0:02:19.396 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 11 November 2024 20:14:21 -0500 (0:00:00.157) 0:02:19.554 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 11 November 2024 20:14:21 -0500 (0:00:00.117) 0:02:19.672 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 11 November 2024 20:14:21 -0500 (0:00:00.133) 0:02:19.805 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 11 November 2024 20:14:22 -0500 (0:00:00.736) 0:02:20.542 ******* ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-31851OTEEO5/tmpUAYNLh" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 11 November 2024 20:14:22 -0500 (0:00:00.510) 0:02:21.052 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:14:23 -0500 (0:00:00.775) 0:02:21.827 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 11 November 2024 20:14:23 -0500 (0:00:00.141) 0:02:21.968 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:14:24 -0500 (0:00:00.217) 0:02:22.186 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:14:24 -0500 (0:00:00.224) 0:02:22.411 ******* skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 11 November 2024 20:14:24 -0500 (0:00:00.139) 0:02:22.550 ******* ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 11 November 2024 20:14:24 -0500 (0:00:00.486) 0:02:23.036 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Monday 11 November 2024 20:14:25 -0500 (0:00:00.293) 0:02:23.329 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 11 November 2024 20:14:25 -0500 (0:00:00.277) 0:02:23.607 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 11 November 2024 20:14:25 -0500 (0:00:00.336) 0:02:23.943 ******* ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 11 November 2024 20:14:26 -0500 (0:00:00.485) 0:02:24.429 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 11 November 2024 20:14:26 -0500 (0:00:00.114) 0:02:24.543 ******* fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019732", "end": "2024-11-11 20:14:26.758016", "rc": 1, "start": "2024-11-11 20:14:26.738284" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 11 November 2024 20:14:26 -0500 (0:00:00.449) 0:02:24.993 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 11 November 2024 20:14:26 -0500 (0:00:00.104) 0:02:25.098 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 11 November 2024 20:14:27 -0500 (0:00:00.099) 0:02:25.197 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 11 November 2024 20:14:27 -0500 (0:00:00.075) 0:02:25.273 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 11 November 2024 20:14:27 -0500 (0:00:00.074) 0:02:25.347 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Monday 11 November 2024 20:14:27 -0500 (0:00:00.073) 0:02:25.420 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 11 November 2024 20:14:27 -0500 (0:00:00.087) 0:02:25.508 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 11 November 2024 20:14:27 -0500 (0:00:00.134) 0:02:25.643 ******* ok: [managed-node3] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 11 November 2024 20:14:27 -0500 (0:00:00.108) 0:02:25.751 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 11 November 2024 20:14:27 -0500 (0:00:00.167) 0:02:25.919 ******* 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.042713", "end": "2024-11-11 20:14:28.123995", "rc": 0, "start": "2024-11-11 20:14:28.081282" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Monday 11 November 2024 20:14:28 -0500 (0:00:00.441) 0:02:26.361 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 11 November 2024 20:14:28 -0500 (0:00:00.271) 0:02:26.632 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 11 November 2024 20:14:28 -0500 (0:00:00.124) 0:02:26.757 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 11 November 2024 20:14:28 -0500 (0:00:00.212) 0:02:26.970 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 11 November 2024 20:14:29 -0500 (0:00:00.203) 0:02:27.173 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 11 November 2024 20:14:29 -0500 (0:00:00.321) 0:02:27.494 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003093", "end": "2024-11-11 20:14:29.974809", "rc": 0, "start": "2024-11-11 20:14:29.971716" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 11 November 2024 20:14:30 -0500 (0:00:00.811) 0:02:28.306 ******* ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 11 November 2024 20:14:30 -0500 (0:00:00.145) 0:02:28.452 ******* ok: [managed-node3] => {} MSG: current_interfaces: [u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 11 November 2024 20:14:30 -0500 (0:00:00.151) 0:02:28.604 ******* included: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 included: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 11 November 2024 20:14:30 -0500 (0:00:00.242) 0:02:28.846 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 11 November 2024 20:14:31 -0500 (0:00:00.299) 0:02:29.146 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:14:31 -0500 (0:00:00.385) 0:02:29.532 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:14:31 -0500 (0:00:00.183) 0:02:29.715 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 11 November 2024 20:14:31 -0500 (0:00:00.141) 0:02:29.857 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 11 November 2024 20:14:31 -0500 (0:00:00.227) 0:02:30.085 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:14:33 -0500 (0:00:01.026) 0:02:31.111 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:14:34 -0500 (0:00:01.408) 0:02:32.520 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:14:34 -0500 (0:00:00.126) 0:02:32.646 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 11 November 2024 20:14:34 -0500 (0:00:00.142) 0:02:32.788 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 11 November 2024 20:14:34 -0500 (0:00:00.116) 0:02:32.905 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 11 November 2024 20:14:34 -0500 (0:00:00.116) 0:02:33.022 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 11 November 2024 20:14:35 -0500 (0:00:00.125) 0:02:33.147 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 11 November 2024 20:14:35 -0500 (0:00:00.132) 0:02:33.280 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 11 November 2024 20:14:35 -0500 (0:00:00.120) 0:02:33.400 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 11 November 2024 20:14:35 -0500 (0:00:00.181) 0:02:33.582 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 11 November 2024 20:14:35 -0500 (0:00:00.114) 0:02:33.696 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 11 November 2024 20:14:35 -0500 (0:00:00.174) 0:02:33.871 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 11 November 2024 20:14:36 -0500 (0:00:00.243) 0:02:34.114 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 11 November 2024 20:14:36 -0500 (0:00:00.127) 0:02:34.242 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 11 November 2024 20:14:36 -0500 (0:00:00.103) 0:02:34.345 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 11 November 2024 20:14:36 -0500 (0:00:00.549) 0:02:34.895 ******* ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-31851OTEEO5/tmpHZYScl" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 11 November 2024 20:14:37 -0500 (0:00:00.479) 0:02:35.375 ******* changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:14:38 -0500 (0:00:00.851) 0:02:36.226 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 11 November 2024 20:14:38 -0500 (0:00:00.134) 0:02:36.361 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:14:38 -0500 (0:00:00.153) 0:02:36.514 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:14:38 -0500 (0:00:00.148) 0:02:36.663 ******* skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 11 November 2024 20:14:38 -0500 (0:00:00.189) 0:02:36.853 ******* ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 11 November 2024 20:14:39 -0500 (0:00:00.704) 0:02:37.558 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 11 November 2024 20:14:39 -0500 (0:00:00.134) 0:02:37.692 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 11 November 2024 20:14:39 -0500 (0:00:00.193) 0:02:37.885 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:14:39 -0500 (0:00:00.213) 0:02:38.098 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:14:40 -0500 (0:00:00.358) 0:02:38.457 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 11 November 2024 20:14:40 -0500 (0:00:00.158) 0:02:38.616 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 11 November 2024 20:14:40 -0500 (0:00:00.111) 0:02:38.727 ******* ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:14:41 -0500 (0:00:01.132) 0:02:39.860 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:14:43 -0500 (0:00:01.526) 0:02:41.387 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:14:43 -0500 (0:00:00.077) 0:02:41.464 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 11 November 2024 20:14:43 -0500 (0:00:00.106) 0:02:41.570 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 11 November 2024 20:14:43 -0500 (0:00:00.179) 0:02:41.750 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 11 November 2024 20:14:43 -0500 (0:00:00.166) 0:02:41.916 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 11 November 2024 20:14:43 -0500 (0:00:00.115) 0:02:42.032 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 11 November 2024 20:14:44 -0500 (0:00:00.114) 0:02:42.147 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 11 November 2024 20:14:44 -0500 (0:00:00.146) 0:02:42.293 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 11 November 2024 20:14:44 -0500 (0:00:00.271) 0:02:42.565 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 11 November 2024 20:14:44 -0500 (0:00:00.232) 0:02:42.798 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 11 November 2024 20:14:44 -0500 (0:00:00.173) 0:02:42.971 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 11 November 2024 20:14:45 -0500 (0:00:00.148) 0:02:43.120 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 11 November 2024 20:14:45 -0500 (0:00:00.114) 0:02:43.234 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 11 November 2024 20:14:45 -0500 (0:00:00.124) 0:02:43.358 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 11 November 2024 20:14:45 -0500 (0:00:00.601) 0:02:43.959 ******* ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-31851OTEEO5/tmpJ9laD2" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 11 November 2024 20:14:46 -0500 (0:00:00.439) 0:02:44.399 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:14:47 -0500 (0:00:01.022) 0:02:45.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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 11 November 2024 20:14:47 -0500 (0:00:00.103) 0:02:45.525 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:14:47 -0500 (0:00:00.127) 0:02:45.653 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:14:47 -0500 (0:00:00.206) 0:02:45.859 ******* skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 11 November 2024 20:14:47 -0500 (0:00:00.155) 0:02:46.015 ******* ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Monday 11 November 2024 20:14:48 -0500 (0:00:00.395) 0:02:46.411 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 11 November 2024 20:14:48 -0500 (0:00:00.350) 0:02:46.761 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:14:48 -0500 (0:00:00.318) 0:02:47.080 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:14:49 -0500 (0:00:00.133) 0:02:47.213 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 11 November 2024 20:14:49 -0500 (0:00:00.095) 0:02:47.308 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 11 November 2024 20:14:49 -0500 (0:00:00.159) 0:02:47.468 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:14:50 -0500 (0:00:01.070) 0:02:48.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 : Print network provider] ************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:14:51 -0500 (0:00:01.411) 0:02:49.950 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:14:52 -0500 (0:00:00.201) 0:02:50.152 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 11 November 2024 20:14:52 -0500 (0:00:00.120) 0:02:50.273 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 11 November 2024 20:14:52 -0500 (0:00:00.131) 0:02:50.404 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 11 November 2024 20:14:52 -0500 (0:00:00.194) 0:02:50.598 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 11 November 2024 20:14:52 -0500 (0:00:00.141) 0:02:50.740 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 11 November 2024 20:14:52 -0500 (0:00:00.142) 0:02:50.883 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 11 November 2024 20:14:52 -0500 (0:00:00.094) 0:02:50.978 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 11 November 2024 20:14:53 -0500 (0:00:00.144) 0:02:51.123 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 11 November 2024 20:14:53 -0500 (0:00:00.071) 0:02:51.194 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 11 November 2024 20:14:53 -0500 (0:00:00.084) 0:02:51.278 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 11 November 2024 20:14:53 -0500 (0:00:00.077) 0:02:51.356 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 11 November 2024 20:14:53 -0500 (0:00:00.076) 0:02:51.433 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 11 November 2024 20:14:53 -0500 (0:00:00.099) 0:02:51.533 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 11 November 2024 20:14:54 -0500 (0:00:00.680) 0:02:52.213 ******* ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-31851OTEEO5/tmpo33E4b" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 11 November 2024 20:14:54 -0500 (0:00:00.564) 0:02:52.777 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:14:55 -0500 (0:00:00.859) 0:02:53.637 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 11 November 2024 20:14:55 -0500 (0:00:00.101) 0:02:53.738 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:14:55 -0500 (0:00:00.181) 0:02:53.920 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:14:55 -0500 (0:00:00.081) 0:02:54.002 ******* skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 11 November 2024 20:14:55 -0500 (0:00:00.073) 0:02:54.075 ******* ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 11 November 2024 20:14:56 -0500 (0:00:00.349) 0:02:54.425 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Monday 11 November 2024 20:14:56 -0500 (0:00:00.148) 0:02:54.574 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 11 November 2024 20:14:56 -0500 (0:00:00.128) 0:02:54.702 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:14:56 -0500 (0:00:00.192) 0:02:54.894 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:14:56 -0500 (0:00:00.124) 0:02:55.019 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 11 November 2024 20:14:57 -0500 (0:00:00.095) 0:02:55.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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 11 November 2024 20:14:57 -0500 (0:00:00.073) 0:02:55.187 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:14:57 -0500 (0:00:00.906) 0:02:56.094 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:14:59 -0500 (0:00:01.267) 0:02:57.361 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:14:59 -0500 (0:00:00.094) 0:02:57.456 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 11 November 2024 20:14:59 -0500 (0:00:00.074) 0:02:57.531 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 11 November 2024 20:14:59 -0500 (0:00:00.095) 0:02:57.626 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 11 November 2024 20:14:59 -0500 (0:00:00.074) 0:02:57.701 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 11 November 2024 20:14:59 -0500 (0:00:00.075) 0:02:57.776 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 11 November 2024 20:14:59 -0500 (0:00:00.081) 0:02:57.857 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 11 November 2024 20:14:59 -0500 (0:00:00.077) 0:02:57.935 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 11 November 2024 20:14:59 -0500 (0:00:00.129) 0:02:58.065 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 11 November 2024 20:15:00 -0500 (0:00:00.097) 0:02:58.162 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 11 November 2024 20:15:00 -0500 (0:00:00.091) 0:02:58.253 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 11 November 2024 20:15:00 -0500 (0:00:00.087) 0:02:58.340 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 11 November 2024 20:15:00 -0500 (0:00:00.157) 0:02:58.498 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 11 November 2024 20:15:00 -0500 (0:00:00.122) 0:02:58.620 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 11 November 2024 20:15:01 -0500 (0:00:00.557) 0:02:59.177 ******* ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-31851OTEEO5/tmp0o2h6w" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 11 November 2024 20:15:01 -0500 (0:00:00.368) 0:02:59.546 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:15:02 -0500 (0:00:00.617) 0:03:00.164 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 11 November 2024 20:15:02 -0500 (0:00:00.111) 0:03:00.275 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:15:02 -0500 (0:00:00.092) 0:03:00.368 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:15:02 -0500 (0:00:00.079) 0:03:00.447 ******* skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 11 November 2024 20:15:02 -0500 (0:00:00.070) 0:03:00.518 ******* ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 11 November 2024 20:15:02 -0500 (0:00:00.334) 0:03:00.853 ******* included: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node3 included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Monday 11 November 2024 20:15:02 -0500 (0:00:00.153) 0:03:01.006 ******* included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 11 November 2024 20:15:03 -0500 (0:00:00.138) 0:03:01.145 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 11 November 2024 20:15:03 -0500 (0:00:00.109) 0:03:01.254 ******* ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 11 November 2024 20:15:03 -0500 (0:00:00.491) 0:03:01.746 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 11 November 2024 20:15:03 -0500 (0:00:00.120) 0:03:01.867 ******* fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019118", "end": "2024-11-11 20:15:04.075181", "rc": 1, "start": "2024-11-11 20:15:04.056063" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 11 November 2024 20:15:04 -0500 (0:00:00.453) 0:03:02.320 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 11 November 2024 20:15:04 -0500 (0:00:00.118) 0:03:02.439 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 11 November 2024 20:15:04 -0500 (0:00:00.113) 0:03:02.553 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 11 November 2024 20:15:04 -0500 (0:00:00.120) 0:03:02.674 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 11 November 2024 20:15:04 -0500 (0:00:00.119) 0:03:02.794 ******* skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Monday 11 November 2024 20:15:04 -0500 (0:00:00.116) 0:03:02.910 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Monday 11 November 2024 20:15:04 -0500 (0:00:00.121) 0:03:03.032 ******* [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.617213", "end": "2024-11-11 20:15:05.825596", "rc": 0, "start": "2024-11-11 20:15:05.208383" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Monday 11 November 2024 20:15:05 -0500 (0:00:01.057) 0:03:04.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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Monday 11 November 2024 20:15:06 -0500 (0:00:00.174) 0:03:04.264 ******* ok: [managed-node3] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 11 November 2024 20:15:06 -0500 (0:00:00.262) 0:03:04.526 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 11 November 2024 20:15:06 -0500 (0:00:00.223) 0:03:04.750 ******* 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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 11 November 2024 20:15:06 -0500 (0:00:00.150) 0:03:04.900 ******* included: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 included: /tmp/collections-jOR/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-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 11 November 2024 20:15:07 -0500 (0:00:00.409) 0:03:05.310 ******* 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.041545", "end": "2024-11-11 20:15:07.545963", "rc": 0, "start": "2024-11-11 20:15:07.504418" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Monday 11 November 2024 20:15:07 -0500 (0:00:00.446) 0:03:05.757 ******* 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.006671", "end": "2024-11-11 20:15:07.921873", "rc": 0, "start": "2024-11-11 20:15:07.915202" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 12:b0:a1:91:3c:09 brd ff:ff:ff:ff:ff:ff inet 10.31.9.250/22 brd 10.31.11.255 scope global noprefixroute dynamic eth0 valid_lft 2410sec preferred_lft 2410sec inet6 fe80::10b0:a1ff:fe91:3c09/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.9.250 metric 100 IP -6 ROUTE unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Monday 11 November 2024 20:15:08 -0500 (0:00:00.404) 0:03:06.162 ******* 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.360004", "end": "2024-11-11 20:15:08.736148", "rc": 0, "start": "2024-11-11 20:15:08.376144" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 1690 0 --:--:-- --:--:-- --:--:-- 1694 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 1817 0 --:--:-- --:--:-- --:--:-- 1807 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node3 : ok=338 changed=14 unreachable=0 failed=0 skipped=284 rescued=0 ignored=10 Monday 11 November 2024 20:15:08 -0500 (0:00:00.720) 0:03:06.882 ******* =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 1.83s /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.79s /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.66s /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.58s /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.57s /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.53s /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.50s /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.48s /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.47s /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.43s /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.41s /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gather current interface info ------------------------------------------- 1.41s /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 fedora.linux_system_roles.network : Check which packages are installed --- 1.41s /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.37s /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.35s /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.31s /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.29s /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.27s /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Install yum-utils package ----------------------------------------------- 1.23s /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Gathering Facts --------------------------------------------------------- 1.15s /tmp/collections-jOR/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5