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-PC8/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-PC8/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Wednesday 22 January 2025 19:50:08 -0500 (0:00:00.058) 0:00:00.058 ***** ok: [managed-node1] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Wednesday 22 January 2025 19:50:10 -0500 (0:00:01.190) 0:00:01.249 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node1 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Wednesday 22 January 2025 19:50:10 -0500 (0:00:00.139) 0:00:01.389 ***** ok: [managed-node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Wednesday 22 January 2025 19:50:10 -0500 (0:00:00.477) 0:00:01.867 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Wednesday 22 January 2025 19:50:11 -0500 (0:00:00.689) 0:00:02.557 ***** ok: [managed-node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Wednesday 22 January 2025 19:50:11 -0500 (0:00:00.107) 0:00:02.664 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Wednesday 22 January 2025 19:50:11 -0500 (0:00:00.061) 0:00:02.726 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node1 TASK [Create EPEL 7] *********************************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Wednesday 22 January 2025 19:50:11 -0500 (0:00:00.089) 0:00:02.816 ***** ok: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Wednesday 22 January 2025 19:50:12 -0500 (0:00:00.458) 0:00:03.274 ***** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Wednesday 22 January 2025 19:50:13 -0500 (0:00:00.965) 0:00:04.240 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.165269", "end": "2025-01-22 19:50:13.527738", "rc": 0, "start": "2025-01-22 19:50:13.362469" } 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-PC8/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Wednesday 22 January 2025 19:50:13 -0500 (0:00:00.451) 0:00:04.692 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Wednesday 22 January 2025 19:50:13 -0500 (0:00:00.049) 0:00:04.741 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Wednesday 22 January 2025 19:50:13 -0500 (0:00:00.092) 0:00:04.834 ***** ok: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Wednesday 22 January 2025 19:50:13 -0500 (0:00:00.078) 0:00:04.913 ***** ok: [managed-node1] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Wednesday 22 January 2025 19:50:14 -0500 (0:00:00.928) 0:00:05.841 ***** ok: [managed-node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Wednesday 22 January 2025 19:50:14 -0500 (0:00:00.085) 0:00:05.927 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 22 January 2025 19:50:14 -0500 (0:00:00.082) 0:00:06.009 ***** ok: [managed-node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 22 January 2025 19:50:14 -0500 (0:00:00.041) 0:00:06.050 ***** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (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-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (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-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 22 January 2025 19:50:15 -0500 (0:00:00.139) 0:00:06.190 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 19:50:15 -0500 (0:00:00.066) 0:00:06.257 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 19:50:15 -0500 (0:00:00.061) 0:00:06.319 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003166", "end": "2025-01-22 19:50:15.494604", "rc": 0, "start": "2025-01-22 19:50:15.491438" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 19:50:15 -0500 (0:00:00.338) 0:00:06.657 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 19:50:15 -0500 (0:00:00.073) 0:00:06.731 ***** ok: [managed-node1] => {} MSG: current_interfaces: [u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 22 January 2025 19:50:15 -0500 (0:00:00.121) 0:00:06.852 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Wednesday 22 January 2025 19:50:15 -0500 (0:00:00.121) 0:00:06.974 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008195", "end": "2025-01-22 19:50:16.204407", "rc": 1, "start": "2025-01-22 19:50:16.196212" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 22 January 2025 19:50:16 -0500 (0:00:00.405) 0:00:07.379 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 22 January 2025 19:50:16 -0500 (0:00:00.053) 0:00:07.432 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Wednesday 22 January 2025 19:50:16 -0500 (0:00:00.380) 0:00:07.813 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 22 January 2025 19:50:16 -0500 (0:00:00.048) 0:00:07.861 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 22 January 2025 19:50:16 -0500 (0:00:00.080) 0:00:07.941 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 19:50:17 -0500 (0:00:00.353) 0:00:08.295 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 19:50:17 -0500 (0:00:00.087) 0:00:08.382 ***** skipping: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 19:50:17 -0500 (0:00:00.087) 0:00:08.470 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 19:50:17 -0500 (0:00:00.050) 0:00:08.520 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 19:50:17 -0500 (0:00:00.084) 0:00:08.605 ***** ok: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 19:50:18 -0500 (0:00:01.160) 0:00:09.765 ***** ok: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 19:50:20 -0500 (0:00:01.861) 0:00:11.626 ***** ok: [managed-node1] => {} 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 19:50:20 -0500 (0:00:00.112) 0:00:11.739 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 19:50:20 -0500 (0:00:00.123) 0:00:11.862 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 19:50:20 -0500 (0:00:00.099) 0:00:11.962 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 19:50:20 -0500 (0:00:00.114) 0:00:12.076 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 19:50:21 -0500 (0:00:00.131) 0:00:12.207 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 19:50:21 -0500 (0:00:00.213) 0:00:12.421 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 19:50:21 -0500 (0:00:00.134) 0:00:12.556 ***** changed: [managed-node1] => { "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" ] } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 19:50:24 -0500 (0:00:03.307) 0:00:15.863 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 19:50:24 -0500 (0:00:00.149) 0:00:16.012 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 19:50:25 -0500 (0:00:00.144) 0:00:16.157 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 19:50:25 -0500 (0:00:00.124) 0:00:16.281 ***** skipping: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 19:50:25 -0500 (0:00:00.170) 0:00:16.452 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 19:50:25 -0500 (0:00:00.112) 0:00:16.564 ***** ok: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 19:50:26 -0500 (0:00:01.118) 0:00:17.683 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16431vOjblE/tmpIEQOmG" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 19:50:27 -0500 (0:00:00.424) 0:00:18.108 ***** changed: [managed-node1] => { "_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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 19:50:28 -0500 (0:00:01.264) 0:00:19.373 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 19:50:28 -0500 (0:00:00.112) 0:00:19.486 ***** ok: [managed-node1] => { "__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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 19:50:28 -0500 (0:00:00.112) 0:00:19.598 ***** ok: [managed-node1] => { "__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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 19:50:28 -0500 (0:00:00.115) 0:00:19.714 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 19:50:28 -0500 (0:00:00.131) 0:00:19.845 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 22 January 2025 19:50:29 -0500 (0:00:00.731) 0:00:20.576 ***** ok: [managed-node1] => { "__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-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 22 January 2025 19:50:29 -0500 (0:00:00.115) 0:00:20.692 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 22 January 2025 19:50:29 -0500 (0:00:00.195) 0:00:20.887 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 22 January 2025 19:50:29 -0500 (0:00:00.210) 0:00:21.098 ***** ok: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 22 January 2025 19:50:30 -0500 (0:00:00.244) 0:00:21.343 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737593428.1360207, "block_size": 4096, "blocks": 8, "ctime": 1737593428.1360207, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 116, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1737593428.1360207, "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-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 22 January 2025 19:50:30 -0500 (0:00:00.540) 0:00:21.883 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 22 January 2025 19:50:30 -0500 (0:00:00.133) 0:00:22.017 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021962", "end": "2025-01-22 19:50:31.236343", "rc": 1, "start": "2025-01-22 19:50:31.214381" } 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-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 22 January 2025 19:50:31 -0500 (0:00:00.559) 0:00:22.576 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 22 January 2025 19:50:31 -0500 (0:00:00.242) 0:00:22.818 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003585", "end": "2025-01-22 19:50:32.273264", "rc": 0, "start": "2025-01-22 19:50:32.269679" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 22 January 2025 19:50:32 -0500 (0:00:00.683) 0:00:23.502 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 22 January 2025 19:50:32 -0500 (0:00:00.108) 0:00:23.611 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003183", "end": "2025-01-22 19:50:32.783810", "rc": 0, "start": "2025-01-22 19:50:32.780627" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 22 January 2025 19:50:32 -0500 (0:00:00.425) 0:00:24.036 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Wednesday 22 January 2025 19:50:33 -0500 (0:00:00.130) 0:00:24.166 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Wednesday 22 January 2025 19:50:33 -0500 (0:00:00.121) 0:00:24.288 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Wednesday 22 January 2025 19:50:33 -0500 (0:00:00.125) 0:00:24.413 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 22 January 2025 19:50:33 -0500 (0:00:00.114) 0:00:24.527 ***** skipping: [managed-node1] => (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-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 22 January 2025 19:50:33 -0500 (0:00:00.118) 0:00:24.646 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 22 January 2025 19:50:33 -0500 (0:00:00.088) 0:00:24.735 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 22 January 2025 19:50:33 -0500 (0:00:00.142) 0:00:24.877 ***** fatal: [managed-node1]: 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.039371", "end": "2025-01-22 19:50:34.087355", "rc": 1, "start": "2025-01-22 19:50:34.047984" } 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-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Wednesday 22 January 2025 19:50:34 -0500 (0:00:00.525) 0:00:25.403 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 22 January 2025 19:50:34 -0500 (0:00:00.205) 0:00:25.608 ***** ok: [managed-node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 22 January 2025 19:50:34 -0500 (0:00:00.111) 0:00:25.720 ***** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (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-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (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-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 22 January 2025 19:50:34 -0500 (0:00:00.199) 0:00:25.920 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 19:50:35 -0500 (0:00:00.206) 0:00:26.126 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 19:50:35 -0500 (0:00:00.222) 0:00:26.349 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003675", "end": "2025-01-22 19:50:35.755691", "rc": 0, "start": "2025-01-22 19:50:35.752016" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 19:50:35 -0500 (0:00:00.650) 0:00:27.000 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 19:50:36 -0500 (0:00:00.125) 0:00:27.126 ***** ok: [managed-node1] => {} MSG: current_interfaces: [u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 22 January 2025 19:50:36 -0500 (0:00:00.107) 0:00:27.233 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Wednesday 22 January 2025 19:50:36 -0500 (0:00:00.430) 0:00:27.671 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006822", "end": "2025-01-22 19:50:37.004313", "rc": 1, "start": "2025-01-22 19:50:36.997491" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 22 January 2025 19:50:37 -0500 (0:00:00.527) 0:00:28.198 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 22 January 2025 19:50:37 -0500 (0:00:00.206) 0:00:28.405 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Wednesday 22 January 2025 19:50:37 -0500 (0:00:00.550) 0:00:28.955 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 22 January 2025 19:50:38 -0500 (0:00:00.243) 0:00:29.199 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 22 January 2025 19:50:38 -0500 (0:00:00.262) 0:00:29.462 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 19:50:38 -0500 (0:00:00.272) 0:00:29.734 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 19:50:38 -0500 (0:00:00.277) 0:00:30.012 ***** skipping: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 19:50:39 -0500 (0:00:00.147) 0:00:30.159 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 19:50:39 -0500 (0:00:00.137) 0:00:30.297 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 19:50:39 -0500 (0:00:00.192) 0:00:30.489 ***** ok: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 19:50:40 -0500 (0:00:01.140) 0:00:31.630 ***** ok: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 19:50:42 -0500 (0:00:01.761) 0:00:33.392 ***** ok: [managed-node1] => {} 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 19:50:42 -0500 (0:00:00.175) 0:00:33.568 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 19:50:42 -0500 (0:00:00.111) 0:00:33.680 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 19:50:42 -0500 (0:00:00.129) 0:00:33.810 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 19:50:42 -0500 (0:00:00.135) 0:00:33.945 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 19:50:42 -0500 (0:00:00.152) 0:00:34.098 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 19:50:43 -0500 (0:00:00.169) 0:00:34.267 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 19:50:43 -0500 (0:00:00.145) 0:00:34.412 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 19:50:43 -0500 (0:00:00.257) 0:00:34.669 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 19:50:43 -0500 (0:00:00.155) 0:00:34.825 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 19:50:43 -0500 (0:00:00.127) 0:00:34.952 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 19:50:43 -0500 (0:00:00.129) 0:00:35.082 ***** skipping: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 19:50:44 -0500 (0:00:00.089) 0:00:35.171 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 19:50:44 -0500 (0:00:00.074) 0:00:35.246 ***** ok: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 19:50:44 -0500 (0:00:00.531) 0:00:35.778 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16431vOjblE/tmpfOkuYR" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 19:50:45 -0500 (0:00:00.493) 0:00:36.271 ***** changed: [managed-node1] => { "_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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 19:50:45 -0500 (0:00:00.795) 0:00:37.067 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 19:50:46 -0500 (0:00:00.194) 0:00:37.261 ***** ok: [managed-node1] => { "__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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 19:50:46 -0500 (0:00:00.120) 0:00:37.382 ***** ok: [managed-node1] => { "__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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 19:50:46 -0500 (0:00:00.133) 0:00:37.515 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 19:50:46 -0500 (0:00:00.164) 0:00:37.680 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 22 January 2025 19:50:47 -0500 (0:00:00.516) 0:00:38.196 ***** ok: [managed-node1] => { "__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-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 22 January 2025 19:50:47 -0500 (0:00:00.123) 0:00:38.320 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 22 January 2025 19:50:47 -0500 (0:00:00.244) 0:00:38.564 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 22 January 2025 19:50:47 -0500 (0:00:00.198) 0:00:38.762 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Wednesday 22 January 2025 19:50:48 -0500 (0:00:00.495) 0:00:39.258 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 22 January 2025 19:50:48 -0500 (0:00:00.125) 0:00:39.383 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 22 January 2025 19:50:48 -0500 (0:00:00.391) 0:00:39.775 ***** ok: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 22 January 2025 19:50:48 -0500 (0:00:00.219) 0:00:39.994 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737593445.8289378, "block_size": 4096, "blocks": 8, "ctime": 1737593445.8289378, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9469, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1737593445.8289378, "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-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 22 January 2025 19:50:49 -0500 (0:00:00.703) 0:00:40.698 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 22 January 2025 19:50:49 -0500 (0:00:00.163) 0:00:40.861 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019723", "end": "2025-01-22 19:50:50.067464", "rc": 1, "start": "2025-01-22 19:50:50.047741" } 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-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 22 January 2025 19:50:50 -0500 (0:00:00.560) 0:00:41.422 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 22 January 2025 19:50:50 -0500 (0:00:00.127) 0:00:41.550 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003712", "end": "2025-01-22 19:50:50.786312", "rc": 0, "start": "2025-01-22 19:50:50.782600" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 22 January 2025 19:50:50 -0500 (0:00:00.498) 0:00:42.049 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 22 January 2025 19:50:51 -0500 (0:00:00.172) 0:00:42.222 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003312", "end": "2025-01-22 19:50:51.409622", "rc": 0, "start": "2025-01-22 19:50:51.406310" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 22 January 2025 19:50:51 -0500 (0:00:00.531) 0:00:42.754 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Wednesday 22 January 2025 19:50:51 -0500 (0:00:00.199) 0:00:42.954 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Wednesday 22 January 2025 19:50:52 -0500 (0:00:00.166) 0:00:43.121 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Wednesday 22 January 2025 19:50:52 -0500 (0:00:00.130) 0:00:43.251 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 22 January 2025 19:50:52 -0500 (0:00:00.133) 0:00:43.384 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 22 January 2025 19:50:52 -0500 (0:00:00.128) 0:00:43.512 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 22 January 2025 19:50:52 -0500 (0:00:00.116) 0:00:43.629 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 22 January 2025 19:50:52 -0500 (0:00:00.367) 0:00:43.997 ***** fatal: [managed-node1]: 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.038368", "end": "2025-01-22 19:50:53.302968", "rc": 1, "start": "2025-01-22 19:50:53.264600" } 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-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Wednesday 22 January 2025 19:50:53 -0500 (0:00:00.507) 0:00:44.504 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 22 January 2025 19:50:53 -0500 (0:00:00.181) 0:00:44.685 ***** ok: [managed-node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 22 January 2025 19:50:53 -0500 (0:00:00.120) 0:00:44.806 ***** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (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-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (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-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 22 January 2025 19:50:54 -0500 (0:00:00.421) 0:00:45.227 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 19:50:54 -0500 (0:00:00.277) 0:00:45.504 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 19:50:54 -0500 (0:00:00.218) 0:00:45.722 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003170", "end": "2025-01-22 19:50:54.877047", "rc": 0, "start": "2025-01-22 19:50:54.873877" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 19:50:55 -0500 (0:00:00.401) 0:00:46.123 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 19:50:55 -0500 (0:00:00.114) 0:00:46.238 ***** ok: [managed-node1] => {} MSG: current_interfaces: [u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 22 January 2025 19:50:55 -0500 (0:00:00.123) 0:00:46.361 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 22 January 2025 19:50:55 -0500 (0:00:00.264) 0:00:46.626 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 19:50:55 -0500 (0:00:00.238) 0:00:46.864 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 19:50:56 -0500 (0:00:00.251) 0:00:47.116 ***** skipping: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 19:50:56 -0500 (0:00:00.168) 0:00:47.284 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 19:50:56 -0500 (0:00:00.202) 0:00:47.487 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 19:50:56 -0500 (0:00:00.175) 0:00:47.662 ***** ok: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 19:50:57 -0500 (0:00:01.212) 0:00:48.875 ***** ok: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 19:50:59 -0500 (0:00:01.347) 0:00:50.223 ***** ok: [managed-node1] => {} 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 19:50:59 -0500 (0:00:00.160) 0:00:50.383 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 19:50:59 -0500 (0:00:00.139) 0:00:50.523 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 19:50:59 -0500 (0:00:00.122) 0:00:50.645 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 19:50:59 -0500 (0:00:00.121) 0:00:50.766 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 19:50:59 -0500 (0:00:00.098) 0:00:50.864 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 19:50:59 -0500 (0:00:00.137) 0:00:51.002 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 19:51:00 -0500 (0:00:00.124) 0:00:51.126 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 19:51:00 -0500 (0:00:00.238) 0:00:51.365 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 19:51:00 -0500 (0:00:00.144) 0:00:51.509 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 19:51:00 -0500 (0:00:00.228) 0:00:51.737 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 19:51:00 -0500 (0:00:00.140) 0:00:51.878 ***** skipping: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 19:51:00 -0500 (0:00:00.193) 0:00:52.072 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 19:51:01 -0500 (0:00:00.253) 0:00:52.325 ***** ok: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 19:51:02 -0500 (0:00:00.970) 0:00:53.295 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16431vOjblE/tmpst1sjQ" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 19:51:02 -0500 (0:00:00.505) 0:00:53.801 ***** changed: [managed-node1] => { "_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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 19:51:03 -0500 (0:00:00.757) 0:00:54.558 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 19:51:03 -0500 (0:00:00.180) 0:00:54.738 ***** ok: [managed-node1] => { "__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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 19:51:03 -0500 (0:00:00.150) 0:00:54.888 ***** ok: [managed-node1] => { "__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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 19:51:03 -0500 (0:00:00.213) 0:00:55.102 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 19:51:04 -0500 (0:00:00.131) 0:00:55.234 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 22 January 2025 19:51:04 -0500 (0:00:00.466) 0:00:55.700 ***** ok: [managed-node1] => { "__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-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 22 January 2025 19:51:04 -0500 (0:00:00.139) 0:00:55.839 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Wednesday 22 January 2025 19:51:05 -0500 (0:00:00.280) 0:00:56.120 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 19:51:05 -0500 (0:00:00.319) 0:00:56.440 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 19:51:05 -0500 (0:00:00.198) 0:00:56.638 ***** skipping: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 19:51:05 -0500 (0:00:00.127) 0:00:56.766 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 19:51:05 -0500 (0:00:00.286) 0:00:57.053 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 19:51:06 -0500 (0:00:00.197) 0:00:57.251 ***** ok: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 19:51:07 -0500 (0:00:00.998) 0:00:58.250 ***** ok: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 19:51:08 -0500 (0:00:01.448) 0:00:59.698 ***** ok: [managed-node1] => {} 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 19:51:08 -0500 (0:00:00.079) 0:00:59.778 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 19:51:08 -0500 (0:00:00.088) 0:00:59.866 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 19:51:08 -0500 (0:00:00.074) 0:00:59.940 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 19:51:08 -0500 (0:00:00.077) 0:01:00.018 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 19:51:08 -0500 (0:00:00.075) 0:01:00.093 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 19:51:09 -0500 (0:00:00.084) 0:01:00.178 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 19:51:09 -0500 (0:00:00.082) 0:01:00.261 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 19:51:09 -0500 (0:00:00.305) 0:01:00.566 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 19:51:09 -0500 (0:00:00.110) 0:01:00.677 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 19:51:09 -0500 (0:00:00.114) 0:01:00.791 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 19:51:09 -0500 (0:00:00.139) 0:01:00.931 ***** skipping: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 19:51:09 -0500 (0:00:00.121) 0:01:01.053 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 19:51:10 -0500 (0:00:00.121) 0:01:01.174 ***** ok: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 19:51:10 -0500 (0:00:00.556) 0:01:01.731 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16431vOjblE/tmpTzMWLU" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 19:51:11 -0500 (0:00:00.480) 0:01:02.211 ***** changed: [managed-node1] => { "_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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 19:51:12 -0500 (0:00:01.082) 0:01:03.294 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 19:51:12 -0500 (0:00:00.131) 0:01:03.426 ***** ok: [managed-node1] => { "__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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 19:51:12 -0500 (0:00:00.121) 0:01:03.547 ***** ok: [managed-node1] => { "__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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 19:51:12 -0500 (0:00:00.107) 0:01:03.655 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 19:51:12 -0500 (0:00:00.123) 0:01:03.779 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 22 January 2025 19:51:13 -0500 (0:00:00.434) 0:01:04.213 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 22 January 2025 19:51:13 -0500 (0:00:00.340) 0:01:04.553 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 22 January 2025 19:51:13 -0500 (0:00:00.314) 0:01:04.867 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737593471.9358158, "block_size": 4096, "blocks": 0, "ctime": 1737593471.934816, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17794, "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": 1737593471.934816, "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-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Wednesday 22 January 2025 19:51:14 -0500 (0:00:00.446) 0:01:05.313 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 22 January 2025 19:51:14 -0500 (0:00:00.133) 0:01:05.447 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 22 January 2025 19:51:14 -0500 (0:00:00.300) 0:01:05.747 ***** ok: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 22 January 2025 19:51:14 -0500 (0:00:00.134) 0:01:05.882 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737593471.7788167, "block_size": 4096, "blocks": 8, "ctime": 1737593463.2848563, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 116, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1737593463.2848563, "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-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 22 January 2025 19:51:15 -0500 (0:00:00.546) 0:01:06.428 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 22 January 2025 19:51:15 -0500 (0:00:00.092) 0:01:06.520 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020765", "end": "2025-01-22 19:51:15.700726", "rc": 1, "start": "2025-01-22 19:51:15.679961" } 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-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 22 January 2025 19:51:15 -0500 (0:00:00.417) 0:01:06.938 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 22 January 2025 19:51:16 -0500 (0:00:00.175) 0:01:07.114 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003755", "end": "2025-01-22 19:51:16.496463", "rc": 0, "start": "2025-01-22 19:51:16.492708" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 22 January 2025 19:51:16 -0500 (0:00:00.678) 0:01:07.792 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 22 January 2025 19:51:16 -0500 (0:00:00.129) 0:01:07.922 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003539", "end": "2025-01-22 19:51:17.075030", "rc": 0, "start": "2025-01-22 19:51:17.071491" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 22 January 2025 19:51:17 -0500 (0:00:00.364) 0:01:08.286 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Wednesday 22 January 2025 19:51:17 -0500 (0:00:00.090) 0:01:08.376 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Wednesday 22 January 2025 19:51:17 -0500 (0:00:00.081) 0:01:08.458 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Wednesday 22 January 2025 19:51:17 -0500 (0:00:00.142) 0:01:08.600 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 22 January 2025 19:51:17 -0500 (0:00:00.123) 0:01:08.724 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 22 January 2025 19:51:17 -0500 (0:00:00.166) 0:01:08.891 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 22 January 2025 19:51:17 -0500 (0:00:00.152) 0:01:09.043 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 22 January 2025 19:51:18 -0500 (0:00:00.253) 0:01:09.297 ***** ok: [managed-node1] => { "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.044767", "end": "2025-01-22 19:51:18.525438", "rc": 0, "start": "2025-01-22 19:51:18.480671" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Wednesday 22 January 2025 19:51:18 -0500 (0:00:00.475) 0:01:09.772 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 22 January 2025 19:51:18 -0500 (0:00:00.208) 0:01:09.981 ***** ok: [managed-node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 22 January 2025 19:51:18 -0500 (0:00:00.120) 0:01:10.102 ***** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed-node1] => (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-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (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-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 22 January 2025 19:51:19 -0500 (0:00:00.348) 0:01:10.451 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 19:51:19 -0500 (0:00:00.251) 0:01:10.702 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 19:51:19 -0500 (0:00:00.216) 0:01:10.919 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004304", "end": "2025-01-22 19:51:21.285148", "rc": 0, "start": "2025-01-22 19:51:20.280844" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 19:51:21 -0500 (0:00:01.596) 0:01:12.515 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 19:51:21 -0500 (0:00:00.239) 0:01:12.755 ***** ok: [managed-node1] => {} MSG: current_interfaces: [u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 22 January 2025 19:51:21 -0500 (0:00:00.130) 0:01:12.885 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 22 January 2025 19:51:22 -0500 (0:00:00.240) 0:01:13.126 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 19:51:22 -0500 (0:00:00.210) 0:01:13.337 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 19:51:22 -0500 (0:00:00.253) 0:01:13.590 ***** skipping: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 19:51:22 -0500 (0:00:00.257) 0:01:13.848 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 19:51:22 -0500 (0:00:00.112) 0:01:13.960 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 19:51:22 -0500 (0:00:00.119) 0:01:14.080 ***** ok: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 19:51:23 -0500 (0:00:00.947) 0:01:15.028 ***** ok: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 19:51:25 -0500 (0:00:01.383) 0:01:16.412 ***** ok: [managed-node1] => {} 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 19:51:25 -0500 (0:00:00.080) 0:01:16.492 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 19:51:25 -0500 (0:00:00.077) 0:01:16.570 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 19:51:25 -0500 (0:00:00.075) 0:01:16.646 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 19:51:25 -0500 (0:00:00.077) 0:01:16.724 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 19:51:25 -0500 (0:00:00.091) 0:01:16.815 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 19:51:25 -0500 (0:00:00.095) 0:01:16.910 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 19:51:25 -0500 (0:00:00.126) 0:01:17.037 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 19:51:26 -0500 (0:00:00.188) 0:01:17.226 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 19:51:26 -0500 (0:00:00.100) 0:01:17.327 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 19:51:26 -0500 (0:00:00.084) 0:01:17.411 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 19:51:26 -0500 (0:00:00.081) 0:01:17.493 ***** skipping: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 19:51:26 -0500 (0:00:00.077) 0:01:17.570 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 19:51:26 -0500 (0:00:00.074) 0:01:17.645 ***** ok: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 19:51:27 -0500 (0:00:00.584) 0:01:18.230 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16431vOjblE/tmpbsatd0" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 19:51:27 -0500 (0:00:00.447) 0:01:18.677 ***** changed: [managed-node1] => { "_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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 19:51:28 -0500 (0:00:00.722) 0:01:19.400 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 19:51:28 -0500 (0:00:00.119) 0:01:19.520 ***** ok: [managed-node1] => { "__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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 19:51:28 -0500 (0:00:00.119) 0:01:19.640 ***** ok: [managed-node1] => { "__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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 19:51:28 -0500 (0:00:00.118) 0:01:19.758 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 19:51:28 -0500 (0:00:00.112) 0:01:19.871 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 22 January 2025 19:51:29 -0500 (0:00:00.372) 0:01:20.244 ***** ok: [managed-node1] => { "__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-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Wednesday 22 January 2025 19:51:29 -0500 (0:00:00.106) 0:01:20.350 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 19:51:29 -0500 (0:00:00.222) 0:01:20.572 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 19:51:29 -0500 (0:00:00.237) 0:01:20.810 ***** skipping: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 19:51:29 -0500 (0:00:00.144) 0:01:20.954 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 19:51:30 -0500 (0:00:00.203) 0:01:21.158 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 19:51:30 -0500 (0:00:00.148) 0:01:21.306 ***** ok: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 19:51:31 -0500 (0:00:01.352) 0:01:22.658 ***** ok: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 19:51:32 -0500 (0:00:01.362) 0:01:24.021 ***** ok: [managed-node1] => {} 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 19:51:33 -0500 (0:00:00.151) 0:01:24.173 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 19:51:33 -0500 (0:00:00.116) 0:01:24.290 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 19:51:33 -0500 (0:00:00.135) 0:01:24.425 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 19:51:33 -0500 (0:00:00.222) 0:01:24.648 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 19:51:33 -0500 (0:00:00.173) 0:01:24.822 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 19:51:33 -0500 (0:00:00.131) 0:01:24.953 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 19:51:33 -0500 (0:00:00.123) 0:01:25.077 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 19:51:34 -0500 (0:00:00.179) 0:01:25.256 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 19:51:34 -0500 (0:00:00.210) 0:01:25.466 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 19:51:34 -0500 (0:00:00.141) 0:01:25.608 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 19:51:34 -0500 (0:00:00.128) 0:01:25.736 ***** skipping: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 19:51:34 -0500 (0:00:00.184) 0:01:25.921 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 19:51:34 -0500 (0:00:00.124) 0:01:26.046 ***** ok: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 19:51:35 -0500 (0:00:00.773) 0:01:26.819 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16431vOjblE/tmppQGrjg" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 19:51:36 -0500 (0:00:00.784) 0:01:27.603 ***** changed: [managed-node1] => { "_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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 19:51:37 -0500 (0:00:00.972) 0:01:28.576 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 19:51:37 -0500 (0:00:00.188) 0:01:28.765 ***** ok: [managed-node1] => { "__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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 19:51:37 -0500 (0:00:00.138) 0:01:28.903 ***** ok: [managed-node1] => { "__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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 19:51:37 -0500 (0:00:00.150) 0:01:29.054 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 19:51:38 -0500 (0:00:00.178) 0:01:29.239 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 22 January 2025 19:51:38 -0500 (0:00:00.580) 0:01:29.819 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Wednesday 22 January 2025 19:51:38 -0500 (0:00:00.227) 0:01:30.047 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 19:51:39 -0500 (0:00:00.242) 0:01:30.290 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 19:51:39 -0500 (0:00:00.234) 0:01:30.524 ***** skipping: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 19:51:39 -0500 (0:00:00.267) 0:01:30.791 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 19:51:39 -0500 (0:00:00.140) 0:01:30.932 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 19:51:39 -0500 (0:00:00.156) 0:01:31.089 ***** ok: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 19:51:40 -0500 (0:00:00.954) 0:01:32.043 ***** ok: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 19:51:42 -0500 (0:00:01.380) 0:01:33.424 ***** ok: [managed-node1] => {} 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 19:51:42 -0500 (0:00:00.204) 0:01:33.629 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 19:51:42 -0500 (0:00:00.222) 0:01:33.852 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 19:51:42 -0500 (0:00:00.250) 0:01:34.102 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 19:51:43 -0500 (0:00:00.141) 0:01:34.243 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 19:51:43 -0500 (0:00:00.130) 0:01:34.374 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 19:51:43 -0500 (0:00:00.226) 0:01:34.600 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 19:51:43 -0500 (0:00:00.140) 0:01:34.741 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 19:51:43 -0500 (0:00:00.322) 0:01:35.063 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 19:51:44 -0500 (0:00:00.164) 0:01:35.228 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 19:51:44 -0500 (0:00:00.134) 0:01:35.363 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 19:51:44 -0500 (0:00:00.130) 0:01:35.493 ***** skipping: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 19:51:44 -0500 (0:00:00.119) 0:01:35.612 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 19:51:44 -0500 (0:00:00.181) 0:01:35.794 ***** ok: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 19:51:45 -0500 (0:00:00.772) 0:01:36.567 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16431vOjblE/tmpZ1ydoQ" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 19:51:46 -0500 (0:00:00.672) 0:01:37.240 ***** changed: [managed-node1] => { "_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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 19:51:47 -0500 (0:00:00.937) 0:01:38.177 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 19:51:47 -0500 (0:00:00.216) 0:01:38.394 ***** ok: [managed-node1] => { "__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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 19:51:47 -0500 (0:00:00.214) 0:01:38.609 ***** ok: [managed-node1] => { "__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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 19:51:47 -0500 (0:00:00.143) 0:01:38.753 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 19:51:47 -0500 (0:00:00.125) 0:01:38.879 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 22 January 2025 19:51:48 -0500 (0:00:00.454) 0:01:39.333 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 22 January 2025 19:51:48 -0500 (0:00:00.339) 0:01:39.673 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 22 January 2025 19:51:48 -0500 (0:00:00.198) 0:01:39.872 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1737593497.2356977, "block_size": 4096, "blocks": 0, "ctime": 1737593497.2316978, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17794, "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": 1737593497.2316978, "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-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Wednesday 22 January 2025 19:51:49 -0500 (0:00:00.662) 0:01:40.534 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 22 January 2025 19:51:49 -0500 (0:00:00.130) 0:01:40.665 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 22 January 2025 19:51:49 -0500 (0:00:00.215) 0:01:40.881 ***** ok: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 22 January 2025 19:51:49 -0500 (0:00:00.118) 0:01:40.999 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 22 January 2025 19:51:50 -0500 (0:00:00.409) 0:01:41.408 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 22 January 2025 19:51:50 -0500 (0:00:00.082) 0:01:41.491 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019810", "end": "2025-01-22 19:51:50.690927", "rc": 1, "start": "2025-01-22 19:51:50.671117" } 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-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 22 January 2025 19:51:50 -0500 (0:00:00.508) 0:01:42.000 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 22 January 2025 19:51:51 -0500 (0:00:00.143) 0:01:42.143 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 22 January 2025 19:51:51 -0500 (0:00:00.153) 0:01:42.297 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 22 January 2025 19:51:51 -0500 (0:00:00.120) 0:01:42.418 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 22 January 2025 19:51:51 -0500 (0:00:00.119) 0:01:42.538 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 22 January 2025 19:51:51 -0500 (0:00:00.120) 0:01:42.658 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 22 January 2025 19:51:51 -0500 (0:00:00.130) 0:01:42.789 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 22 January 2025 19:51:51 -0500 (0:00:00.109) 0:01:42.899 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 22 January 2025 19:51:51 -0500 (0:00:00.203) 0:01:43.103 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 22 January 2025 19:51:52 -0500 (0:00:00.226) 0:01:43.330 ***** ok: [managed-node1] => { "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.048574", "end": "2025-01-22 19:51:52.696480", "rc": 0, "start": "2025-01-22 19:51:52.647906" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Wednesday 22 January 2025 19:51:52 -0500 (0:00:00.606) 0:01:43.936 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 22 January 2025 19:51:53 -0500 (0:00:00.357) 0:01:44.294 ***** ok: [managed-node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 22 January 2025 19:51:53 -0500 (0:00:00.201) 0:01:44.496 ***** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed-node1] => (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-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed-node1] => (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-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (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-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 22 January 2025 19:51:53 -0500 (0:00:00.298) 0:01:44.794 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 19:51:53 -0500 (0:00:00.219) 0:01:45.013 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 19:51:54 -0500 (0:00:00.242) 0:01:45.256 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003293", "end": "2025-01-22 19:51:54.432536", "rc": 0, "start": "2025-01-22 19:51:54.429243" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 19:51:54 -0500 (0:00:00.427) 0:01:45.684 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 19:51:54 -0500 (0:00:00.147) 0:01:45.832 ***** ok: [managed-node1] => {} MSG: current_interfaces: [u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 22 January 2025 19:51:54 -0500 (0:00:00.138) 0:01:45.970 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 22 January 2025 19:51:55 -0500 (0:00:00.255) 0:01:46.226 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 19:51:55 -0500 (0:00:00.300) 0:01:46.526 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 19:51:55 -0500 (0:00:00.257) 0:01:46.783 ***** skipping: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 19:51:55 -0500 (0:00:00.128) 0:01:46.912 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 19:51:55 -0500 (0:00:00.092) 0:01:47.005 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 19:51:56 -0500 (0:00:00.116) 0:01:47.121 ***** ok: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 19:51:57 -0500 (0:00:01.158) 0:01:48.279 ***** ok: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 19:51:58 -0500 (0:00:01.588) 0:01:49.868 ***** ok: [managed-node1] => {} 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 19:51:58 -0500 (0:00:00.126) 0:01:49.994 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 19:51:59 -0500 (0:00:00.121) 0:01:50.115 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 19:51:59 -0500 (0:00:00.215) 0:01:50.331 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 19:51:59 -0500 (0:00:00.131) 0:01:50.463 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 19:51:59 -0500 (0:00:00.098) 0:01:50.561 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 19:51:59 -0500 (0:00:00.086) 0:01:50.648 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 19:51:59 -0500 (0:00:00.084) 0:01:50.732 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 19:51:59 -0500 (0:00:00.131) 0:01:50.864 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 19:51:59 -0500 (0:00:00.087) 0:01:50.952 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 19:51:59 -0500 (0:00:00.077) 0:01:51.029 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 19:52:00 -0500 (0:00:00.080) 0:01:51.109 ***** skipping: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 19:52:00 -0500 (0:00:00.075) 0:01:51.185 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 19:52:00 -0500 (0:00:00.089) 0:01:51.274 ***** ok: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 19:52:00 -0500 (0:00:00.802) 0:01:52.077 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16431vOjblE/tmpui0Q3b" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 19:52:01 -0500 (0:00:00.808) 0:01:52.886 ***** changed: [managed-node1] => { "_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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 19:52:02 -0500 (0:00:01.084) 0:01:53.971 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 19:52:03 -0500 (0:00:00.140) 0:01:54.111 ***** ok: [managed-node1] => { "__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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 19:52:03 -0500 (0:00:00.147) 0:01:54.259 ***** ok: [managed-node1] => { "__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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 19:52:03 -0500 (0:00:00.169) 0:01:54.429 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 19:52:03 -0500 (0:00:00.140) 0:01:54.569 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 22 January 2025 19:52:04 -0500 (0:00:00.545) 0:01:55.115 ***** ok: [managed-node1] => { "__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-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Wednesday 22 January 2025 19:52:04 -0500 (0:00:00.106) 0:01:55.221 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 19:52:04 -0500 (0:00:00.157) 0:01:55.379 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 19:52:04 -0500 (0:00:00.239) 0:01:55.619 ***** skipping: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 19:52:04 -0500 (0:00:00.167) 0:01:55.787 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 19:52:04 -0500 (0:00:00.116) 0:01:55.903 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 19:52:04 -0500 (0:00:00.120) 0:01:56.023 ***** ok: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 19:52:05 -0500 (0:00:01.033) 0:01:57.056 ***** ok: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 19:52:07 -0500 (0:00:01.420) 0:01:58.476 ***** ok: [managed-node1] => {} 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 19:52:07 -0500 (0:00:00.115) 0:01:58.592 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 19:52:07 -0500 (0:00:00.098) 0:01:58.690 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 19:52:07 -0500 (0:00:00.086) 0:01:58.777 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 19:52:07 -0500 (0:00:00.076) 0:01:58.853 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 19:52:07 -0500 (0:00:00.105) 0:01:58.959 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 19:52:07 -0500 (0:00:00.087) 0:01:59.047 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 19:52:08 -0500 (0:00:00.082) 0:01:59.129 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 19:52:08 -0500 (0:00:00.132) 0:01:59.262 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 19:52:08 -0500 (0:00:00.075) 0:01:59.338 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 19:52:08 -0500 (0:00:00.084) 0:01:59.422 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 19:52:08 -0500 (0:00:00.085) 0:01:59.507 ***** skipping: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 19:52:08 -0500 (0:00:00.105) 0:01:59.613 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 19:52:08 -0500 (0:00:00.117) 0:01:59.731 ***** ok: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 19:52:09 -0500 (0:00:00.610) 0:02:00.342 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16431vOjblE/tmpCJBdqu" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 19:52:09 -0500 (0:00:00.541) 0:02:00.883 ***** changed: [managed-node1] => { "_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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 19:52:10 -0500 (0:00:00.924) 0:02:01.808 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 19:52:10 -0500 (0:00:00.115) 0:02:01.923 ***** ok: [managed-node1] => { "__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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 19:52:10 -0500 (0:00:00.122) 0:02:02.045 ***** ok: [managed-node1] => { "__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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 19:52:11 -0500 (0:00:00.128) 0:02:02.174 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 19:52:11 -0500 (0:00:00.124) 0:02:02.298 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Wednesday 22 January 2025 19:52:11 -0500 (0:00:00.375) 0:02:02.674 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 19:52:11 -0500 (0:00:00.209) 0:02:02.883 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 19:52:12 -0500 (0:00:00.398) 0:02:03.281 ***** skipping: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 19:52:12 -0500 (0:00:00.314) 0:02:03.595 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 19:52:12 -0500 (0:00:00.153) 0:02:03.749 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 19:52:12 -0500 (0:00:00.127) 0:02:03.876 ***** ok: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 19:52:13 -0500 (0:00:01.016) 0:02:04.893 ***** ok: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 19:52:15 -0500 (0:00:01.592) 0:02:06.485 ***** ok: [managed-node1] => {} 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 19:52:15 -0500 (0:00:00.130) 0:02:06.616 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 19:52:15 -0500 (0:00:00.127) 0:02:06.743 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 19:52:15 -0500 (0:00:00.209) 0:02:06.953 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 19:52:16 -0500 (0:00:00.263) 0:02:07.217 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 19:52:16 -0500 (0:00:00.144) 0:02:07.361 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 19:52:16 -0500 (0:00:00.150) 0:02:07.511 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 19:52:16 -0500 (0:00:00.083) 0:02:07.595 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 19:52:16 -0500 (0:00:00.267) 0:02:07.862 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 19:52:16 -0500 (0:00:00.234) 0:02:08.097 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 19:52:17 -0500 (0:00:00.144) 0:02:08.241 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 19:52:17 -0500 (0:00:00.135) 0:02:08.377 ***** skipping: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 19:52:17 -0500 (0:00:00.129) 0:02:08.506 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 19:52:17 -0500 (0:00:00.104) 0:02:08.611 ***** ok: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 19:52:18 -0500 (0:00:00.770) 0:02:09.382 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16431vOjblE/tmpPSm2Ax" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 19:52:19 -0500 (0:00:00.752) 0:02:10.135 ***** changed: [managed-node1] => { "_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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 19:52:19 -0500 (0:00:00.783) 0:02:10.918 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 19:52:19 -0500 (0:00:00.128) 0:02:11.046 ***** ok: [managed-node1] => { "__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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 19:52:20 -0500 (0:00:00.131) 0:02:11.177 ***** ok: [managed-node1] => { "__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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 19:52:20 -0500 (0:00:00.243) 0:02:11.421 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 19:52:20 -0500 (0:00:00.208) 0:02:11.629 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 22 January 2025 19:52:21 -0500 (0:00:00.820) 0:02:12.449 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Wednesday 22 January 2025 19:52:21 -0500 (0:00:00.273) 0:02:12.723 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 19:52:21 -0500 (0:00:00.155) 0:02:12.879 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 19:52:21 -0500 (0:00:00.150) 0:02:13.030 ***** skipping: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 19:52:22 -0500 (0:00:00.101) 0:02:13.131 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 19:52:22 -0500 (0:00:00.077) 0:02:13.209 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 19:52:22 -0500 (0:00:00.075) 0:02:13.284 ***** ok: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 19:52:23 -0500 (0:00:01.080) 0:02:14.365 ***** ok: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 19:52:24 -0500 (0:00:01.552) 0:02:15.917 ***** ok: [managed-node1] => {} 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 19:52:24 -0500 (0:00:00.117) 0:02:16.035 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 19:52:25 -0500 (0:00:00.196) 0:02:16.231 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 19:52:25 -0500 (0:00:00.143) 0:02:16.374 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 19:52:25 -0500 (0:00:00.126) 0:02:16.501 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 19:52:25 -0500 (0:00:00.170) 0:02:16.672 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 19:52:25 -0500 (0:00:00.180) 0:02:16.853 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 19:52:26 -0500 (0:00:00.258) 0:02:17.111 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 19:52:26 -0500 (0:00:00.199) 0:02:17.311 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 19:52:26 -0500 (0:00:00.117) 0:02:17.428 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 19:52:26 -0500 (0:00:00.125) 0:02:17.553 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 19:52:26 -0500 (0:00:00.206) 0:02:17.760 ***** skipping: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 19:52:26 -0500 (0:00:00.101) 0:02:17.861 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 19:52:26 -0500 (0:00:00.078) 0:02:17.940 ***** ok: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 19:52:27 -0500 (0:00:00.793) 0:02:18.733 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16431vOjblE/tmp2zRdiW" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 19:52:28 -0500 (0:00:00.471) 0:02:19.205 ***** ok: [managed-node1] => { "_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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 19:52:29 -0500 (0:00:00.914) 0:02:20.120 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 19:52:29 -0500 (0:00:00.123) 0:02:20.243 ***** ok: [managed-node1] => { "__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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 19:52:29 -0500 (0:00:00.129) 0:02:20.373 ***** ok: [managed-node1] => { "__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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 19:52:29 -0500 (0:00:00.116) 0:02:20.489 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 19:52:29 -0500 (0:00:00.136) 0:02:20.626 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 22 January 2025 19:52:30 -0500 (0:00:00.622) 0:02:21.249 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 22 January 2025 19:52:30 -0500 (0:00:00.337) 0:02:21.587 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 22 January 2025 19:52:30 -0500 (0:00:00.272) 0:02:21.859 ***** ok: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 22 January 2025 19:52:30 -0500 (0:00:00.120) 0:02:21.980 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 22 January 2025 19:52:31 -0500 (0:00:00.547) 0:02:22.528 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 22 January 2025 19:52:31 -0500 (0:00:00.112) 0:02:22.640 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019545", "end": "2025-01-22 19:52:31.844672", "rc": 1, "start": "2025-01-22 19:52:31.825127" } 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-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 22 January 2025 19:52:32 -0500 (0:00:00.491) 0:02:23.132 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 22 January 2025 19:52:32 -0500 (0:00:00.117) 0:02:23.249 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 22 January 2025 19:52:32 -0500 (0:00:00.097) 0:02:23.346 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 22 January 2025 19:52:32 -0500 (0:00:00.078) 0:02:23.425 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 22 January 2025 19:52:32 -0500 (0:00:00.101) 0:02:23.526 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 22 January 2025 19:52:32 -0500 (0:00:00.121) 0:02:23.648 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 22 January 2025 19:52:32 -0500 (0:00:00.117) 0:02:23.765 ***** skipping: [managed-node1] => (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-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 22 January 2025 19:52:32 -0500 (0:00:00.129) 0:02:23.895 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 22 January 2025 19:52:32 -0500 (0:00:00.117) 0:02:24.013 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 22 January 2025 19:52:33 -0500 (0:00:00.227) 0:02:24.240 ***** ok: [managed-node1] => { "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.047485", "end": "2025-01-22 19:52:33.507437", "rc": 0, "start": "2025-01-22 19:52:33.459952" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Wednesday 22 January 2025 19:52:33 -0500 (0:00:00.598) 0:02:24.838 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 22 January 2025 19:52:33 -0500 (0:00:00.222) 0:02:25.061 ***** ok: [managed-node1] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 22 January 2025 19:52:34 -0500 (0:00:00.141) 0:02:25.203 ***** ok: [managed-node1] => (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-node1] => (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-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed-node1] => (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-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (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-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 22 January 2025 19:52:34 -0500 (0:00:00.375) 0:02:25.578 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 22 January 2025 19:52:34 -0500 (0:00:00.367) 0:02:25.946 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 22 January 2025 19:52:35 -0500 (0:00:00.218) 0:02:26.165 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003196", "end": "2025-01-22 19:52:35.401966", "rc": 0, "start": "2025-01-22 19:52:35.398770" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 22 January 2025 19:52:35 -0500 (0:00:00.543) 0:02:26.708 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 22 January 2025 19:52:35 -0500 (0:00:00.139) 0:02:26.847 ***** ok: [managed-node1] => {} MSG: current_interfaces: [u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 22 January 2025 19:52:35 -0500 (0:00:00.086) 0:02:26.934 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 22 January 2025 19:52:36 -0500 (0:00:00.208) 0:02:27.142 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 19:52:36 -0500 (0:00:00.243) 0:02:27.386 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 19:52:36 -0500 (0:00:00.355) 0:02:27.741 ***** skipping: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 19:52:36 -0500 (0:00:00.152) 0:02:27.894 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 19:52:36 -0500 (0:00:00.109) 0:02:28.003 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 19:52:36 -0500 (0:00:00.089) 0:02:28.093 ***** ok: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 19:52:38 -0500 (0:00:01.074) 0:02:29.168 ***** ok: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 19:52:39 -0500 (0:00:01.527) 0:02:30.696 ***** ok: [managed-node1] => {} 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 19:52:39 -0500 (0:00:00.151) 0:02:30.847 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 19:52:39 -0500 (0:00:00.121) 0:02:30.968 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 19:52:39 -0500 (0:00:00.106) 0:02:31.075 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 19:52:40 -0500 (0:00:00.123) 0:02:31.198 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 19:52:40 -0500 (0:00:00.115) 0:02:31.313 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 19:52:40 -0500 (0:00:00.109) 0:02:31.423 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 19:52:40 -0500 (0:00:00.113) 0:02:31.536 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 19:52:40 -0500 (0:00:00.185) 0:02:31.722 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 19:52:40 -0500 (0:00:00.138) 0:02:31.860 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 19:52:40 -0500 (0:00:00.097) 0:02:31.958 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 19:52:40 -0500 (0:00:00.080) 0:02:32.038 ***** skipping: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 19:52:41 -0500 (0:00:00.186) 0:02:32.225 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 19:52:41 -0500 (0:00:00.120) 0:02:32.346 ***** ok: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 19:52:42 -0500 (0:00:00.776) 0:02:33.122 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16431vOjblE/tmpiu9Q2J" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 19:52:42 -0500 (0:00:00.737) 0:02:33.860 ***** changed: [managed-node1] => { "_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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 19:52:43 -0500 (0:00:00.762) 0:02:34.622 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 19:52:43 -0500 (0:00:00.080) 0:02:34.703 ***** ok: [managed-node1] => { "__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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 19:52:43 -0500 (0:00:00.117) 0:02:34.820 ***** ok: [managed-node1] => { "__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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 19:52:43 -0500 (0:00:00.138) 0:02:34.958 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 19:52:44 -0500 (0:00:00.155) 0:02:35.114 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 22 January 2025 19:52:44 -0500 (0:00:00.446) 0:02:35.560 ***** ok: [managed-node1] => { "__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-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Wednesday 22 January 2025 19:52:44 -0500 (0:00:00.150) 0:02:35.711 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 19:52:44 -0500 (0:00:00.242) 0:02:35.953 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 19:52:45 -0500 (0:00:00.271) 0:02:36.225 ***** skipping: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 19:52:45 -0500 (0:00:00.165) 0:02:36.391 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 19:52:45 -0500 (0:00:00.153) 0:02:36.545 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 19:52:45 -0500 (0:00:00.216) 0:02:36.761 ***** ok: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 19:52:46 -0500 (0:00:00.978) 0:02:37.740 ***** ok: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 19:52:48 -0500 (0:00:01.626) 0:02:39.367 ***** ok: [managed-node1] => {} 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 19:52:48 -0500 (0:00:00.118) 0:02:39.485 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 19:52:48 -0500 (0:00:00.136) 0:02:39.621 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 19:52:48 -0500 (0:00:00.149) 0:02:39.770 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 19:52:48 -0500 (0:00:00.099) 0:02:39.870 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 19:52:48 -0500 (0:00:00.075) 0:02:39.946 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 19:52:48 -0500 (0:00:00.086) 0:02:40.032 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 19:52:49 -0500 (0:00:00.081) 0:02:40.114 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 19:52:49 -0500 (0:00:00.236) 0:02:40.350 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 19:52:49 -0500 (0:00:00.078) 0:02:40.429 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 19:52:49 -0500 (0:00:00.101) 0:02:40.530 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 19:52:49 -0500 (0:00:00.145) 0:02:40.676 ***** skipping: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 19:52:49 -0500 (0:00:00.205) 0:02:40.881 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 19:52:49 -0500 (0:00:00.133) 0:02:41.015 ***** ok: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 19:52:50 -0500 (0:00:00.674) 0:02:41.690 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16431vOjblE/tmpNaBXnt" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 19:52:51 -0500 (0:00:00.433) 0:02:42.123 ***** changed: [managed-node1] => { "_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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 19:52:52 -0500 (0:00:01.462) 0:02:43.586 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 19:52:52 -0500 (0:00:00.150) 0:02:43.736 ***** ok: [managed-node1] => { "__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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 19:52:52 -0500 (0:00:00.150) 0:02:43.887 ***** ok: [managed-node1] => { "__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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 19:52:52 -0500 (0:00:00.129) 0:02:44.016 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 19:52:53 -0500 (0:00:00.115) 0:02:44.132 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Wednesday 22 January 2025 19:52:53 -0500 (0:00:00.346) 0:02:44.478 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 19:52:53 -0500 (0:00:00.285) 0:02:44.764 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 19:52:53 -0500 (0:00:00.229) 0:02:44.993 ***** skipping: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 19:52:54 -0500 (0:00:00.151) 0:02:45.145 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 19:52:54 -0500 (0:00:00.103) 0:02:45.249 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 19:52:54 -0500 (0:00:00.101) 0:02:45.350 ***** ok: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 19:52:55 -0500 (0:00:00.894) 0:02:46.245 ***** ok: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 19:52:56 -0500 (0:00:01.319) 0:02:47.564 ***** ok: [managed-node1] => {} 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 19:52:56 -0500 (0:00:00.080) 0:02:47.644 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 19:52:56 -0500 (0:00:00.145) 0:02:47.790 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 19:52:56 -0500 (0:00:00.075) 0:02:47.865 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 19:52:56 -0500 (0:00:00.077) 0:02:47.943 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 19:52:56 -0500 (0:00:00.074) 0:02:48.017 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 19:52:56 -0500 (0:00:00.084) 0:02:48.102 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 19:52:57 -0500 (0:00:00.082) 0:02:48.185 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 19:52:57 -0500 (0:00:00.148) 0:02:48.333 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 19:52:57 -0500 (0:00:00.115) 0:02:48.448 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 19:52:57 -0500 (0:00:00.114) 0:02:48.563 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 19:52:57 -0500 (0:00:00.123) 0:02:48.687 ***** skipping: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 19:52:57 -0500 (0:00:00.132) 0:02:48.820 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 19:52:57 -0500 (0:00:00.124) 0:02:48.945 ***** ok: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 19:52:58 -0500 (0:00:00.555) 0:02:49.500 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16431vOjblE/tmp5xR02P" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 19:52:58 -0500 (0:00:00.459) 0:02:49.960 ***** changed: [managed-node1] => { "_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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 19:52:59 -0500 (0:00:00.636) 0:02:50.596 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 19:52:59 -0500 (0:00:00.081) 0:02:50.678 ***** ok: [managed-node1] => { "__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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 19:52:59 -0500 (0:00:00.085) 0:02:50.764 ***** ok: [managed-node1] => { "__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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 19:52:59 -0500 (0:00:00.211) 0:02:50.975 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 19:52:59 -0500 (0:00:00.099) 0:02:51.075 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 22 January 2025 19:53:00 -0500 (0:00:00.336) 0:02:51.411 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Wednesday 22 January 2025 19:53:00 -0500 (0:00:00.141) 0:02:51.553 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 22 January 2025 19:53:00 -0500 (0:00:00.134) 0:02:51.688 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 22 January 2025 19:53:00 -0500 (0:00:00.265) 0:02:51.953 ***** skipping: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 22 January 2025 19:53:01 -0500 (0:00:00.245) 0:02:52.199 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 22 January 2025 19:53:01 -0500 (0:00:00.115) 0:02:52.314 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 22 January 2025 19:53:01 -0500 (0:00:00.116) 0:02:52.431 ***** ok: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 22 January 2025 19:53:02 -0500 (0:00:00.999) 0:02:53.430 ***** ok: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 22 January 2025 19:53:04 -0500 (0:00:01.769) 0:02:55.200 ***** ok: [managed-node1] => {} 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 22 January 2025 19:53:04 -0500 (0:00:00.120) 0:02:55.321 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 22 January 2025 19:53:04 -0500 (0:00:00.178) 0:02:55.499 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 22 January 2025 19:53:04 -0500 (0:00:00.122) 0:02:55.621 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 22 January 2025 19:53:04 -0500 (0:00:00.114) 0:02:55.736 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 22 January 2025 19:53:04 -0500 (0:00:00.143) 0:02:55.879 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 22 January 2025 19:53:04 -0500 (0:00:00.155) 0:02:56.035 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 22 January 2025 19:53:05 -0500 (0:00:00.116) 0:02:56.151 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 22 January 2025 19:53:05 -0500 (0:00:00.223) 0:02:56.375 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 22 January 2025 19:53:05 -0500 (0:00:00.118) 0:02:56.493 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 22 January 2025 19:53:05 -0500 (0:00:00.120) 0:02:56.613 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 22 January 2025 19:53:05 -0500 (0:00:00.138) 0:02:56.752 ***** skipping: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 22 January 2025 19:53:05 -0500 (0:00:00.129) 0:02:56.882 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 22 January 2025 19:53:05 -0500 (0:00:00.126) 0:02:57.008 ***** ok: [managed-node1] => { "censored": "the output 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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 22 January 2025 19:53:06 -0500 (0:00:00.864) 0:02:57.872 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16431vOjblE/tmpYqO8rp" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 22 January 2025 19:53:07 -0500 (0:00:00.634) 0:02:58.506 ***** ok: [managed-node1] => { "_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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 22 January 2025 19:53:08 -0500 (0:00:00.688) 0:02:59.195 ***** skipping: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 22 January 2025 19:53:08 -0500 (0:00:00.118) 0:02:59.313 ***** ok: [managed-node1] => { "__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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 22 January 2025 19:53:08 -0500 (0:00:00.129) 0:02:59.443 ***** ok: [managed-node1] => { "__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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 22 January 2025 19:53:08 -0500 (0:00:00.204) 0:02:59.648 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 22 January 2025 19:53:08 -0500 (0:00:00.134) 0:02:59.782 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 22 January 2025 19:53:09 -0500 (0:00:00.455) 0:03:00.238 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed-node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 22 January 2025 19:53:09 -0500 (0:00:00.213) 0:03:00.452 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 22 January 2025 19:53:09 -0500 (0:00:00.247) 0:03:00.700 ***** ok: [managed-node1] => { "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-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 22 January 2025 19:53:09 -0500 (0:00:00.121) 0:03:00.821 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 22 January 2025 19:53:10 -0500 (0:00:00.457) 0:03:01.279 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 22 January 2025 19:53:10 -0500 (0:00:00.122) 0:03:01.401 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019648", "end": "2025-01-22 19:53:10.596722", "rc": 1, "start": "2025-01-22 19:53:10.577074" } 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-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 22 January 2025 19:53:10 -0500 (0:00:00.423) 0:03:01.825 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 22 January 2025 19:53:10 -0500 (0:00:00.132) 0:03:01.958 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 22 January 2025 19:53:10 -0500 (0:00:00.125) 0:03:02.083 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 22 January 2025 19:53:11 -0500 (0:00:00.169) 0:03:02.253 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 22 January 2025 19:53:11 -0500 (0:00:00.116) 0:03:02.369 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 22 January 2025 19:53:11 -0500 (0:00:00.110) 0:03:02.480 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 22 January 2025 19:53:11 -0500 (0:00:00.104) 0:03:02.584 ***** [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-node1] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.616045", "end": "2025-01-22 19:53:12.343124", "rc": 0, "start": "2025-01-22 19:53:11.727079" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 22 January 2025 19:53:12 -0500 (0:00:00.989) 0:03:03.574 ***** ok: [managed-node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 22 January 2025 19:53:12 -0500 (0:00:00.101) 0:03:03.676 ***** ok: [managed-node1] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 22 January 2025 19:53:12 -0500 (0:00:00.096) 0:03:03.772 ***** skipping: [managed-node1] => (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-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 22 January 2025 19:53:12 -0500 (0:00:00.150) 0:03:03.923 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 22 January 2025 19:53:13 -0500 (0:00:00.239) 0:03:04.162 ***** included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 included: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 22 January 2025 19:53:13 -0500 (0:00:00.365) 0:03:04.528 ***** ok: [managed-node1] => { "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.043632", "end": "2025-01-22 19:53:13.895456", "rc": 0, "start": "2025-01-22 19:53:13.851824" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Wednesday 22 January 2025 19:53:14 -0500 (0:00:00.615) 0:03:05.143 ***** ok: [managed-node1] => { "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.006644", "end": "2025-01-22 19:53:14.323703", "rc": 0, "start": "2025-01-22 19:53:14.317059" } 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:7e:de:20:5a:27 brd ff:ff:ff:ff:ff:ff inet 10.31.10.37/22 brd 10.31.11.255 scope global noprefixroute dynamic eth0 valid_lft 3097sec preferred_lft 3097sec inet6 fe80::107e:deff:fe20:5a27/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.10.37 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-PC8/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Wednesday 22 January 2025 19:53:14 -0500 (0:00:00.391) 0:03:05.535 ***** ok: [managed-node1] => { "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.470609", "end": "2025-01-22 19:53:15.232682", "rc": 0, "start": "2025-01-22 19:53:14.762073" } STDOUT: CHECK DNS AND CONNECTIVITY 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 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 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 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 1528 0 --:--:-- --:--:-- --:--:-- 1532 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 1159 0 --:--:-- --:--:-- --:--:-- 1164 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node1 : ok=338 changed=14 unreachable=0 failed=0 skipped=284 rescued=0 ignored=10 Wednesday 22 January 2025 19:53:15 -0500 (0:00:00.846) 0:03:06.381 ***** =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 1.86s /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.77s /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.76s /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.63s /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gather current interface info ------------------------------------------- 1.60s /tmp/collections-PC8/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.59s /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.59s /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.55s /tmp/collections-PC8/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-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Configure networking connection profiles --- 1.46s /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 fedora.linux_system_roles.network : Check which packages are installed --- 1.45s /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.42s /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.38s /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.38s /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.36s /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.35s /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.35s /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.32s /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.21s /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 1.19s /tmp/collections-PC8/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5