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-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Saturday 21 December 2024 07:50:38 -0500 (0:00:00.025) 0:00:00.025 ***** ok: [managed-node3] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Saturday 21 December 2024 07:50:39 -0500 (0:00:01.115) 0:00:01.141 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node3 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 21 December 2024 07:50:40 -0500 (0:00:00.237) 0:00:01.378 ***** ok: [managed-node3] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 21 December 2024 07:50:40 -0500 (0:00:00.530) 0:00:01.908 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 21 December 2024 07:50:41 -0500 (0:00:00.652) 0:00:02.560 ***** ok: [managed-node3] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 21 December 2024 07:50:41 -0500 (0:00:00.152) 0:00:02.713 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 21 December 2024 07:50:41 -0500 (0:00:00.080) 0:00:02.794 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node3 TASK [Create EPEL 7] *********************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 21 December 2024 07:50:41 -0500 (0:00:00.119) 0:00:02.913 ***** ok: [managed-node3] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/archive/epel/7/x86_64/Packages/e/epel-release-7-14.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 21 December 2024 07:50:42 -0500 (0:00:00.612) 0:00:03.526 ***** ok: [managed-node3] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } lsrpackages: yum-utils TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 21 December 2024 07:50:43 -0500 (0:00:01.244) 0:00:04.770 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.168064", "end": "2024-12-21 07:50:43.866864", "rc": 0, "start": "2024-12-21 07:50:43.698800" } 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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 21 December 2024 07:50:43 -0500 (0:00:00.505) 0:00:05.276 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 21 December 2024 07:50:43 -0500 (0:00:00.047) 0:00:05.323 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Saturday 21 December 2024 07:50:44 -0500 (0:00:00.034) 0:00:05.358 ***** ok: [managed-node3] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 21 December 2024 07:50:44 -0500 (0:00:00.038) 0:00:05.396 ***** ok: [managed-node3] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 21 December 2024 07:50:44 -0500 (0:00:00.631) 0:00:06.028 ***** ok: [managed-node3] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 21 December 2024 07:50:44 -0500 (0:00:00.039) 0:00:06.067 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 21 December 2024 07:50:44 -0500 (0:00:00.070) 0:00:06.138 ***** ok: [managed-node3] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 21 December 2024 07:50:44 -0500 (0:00:00.066) 0:00:06.204 ***** ok: [managed-node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed-node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed-node3] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_present.yml" } ] } ok: [managed-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 21 December 2024 07:50:45 -0500 (0:00:00.160) 0:00:06.365 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 21 December 2024 07:50:45 -0500 (0:00:00.055) 0:00:06.421 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 21 December 2024 07:50:45 -0500 (0:00:00.052) 0:00:06.473 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004990", "end": "2024-12-21 07:50:46.519775", "rc": 0, "start": "2024-12-21 07:50:45.514785" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 21 December 2024 07:50:46 -0500 (0:00:01.475) 0:00:07.949 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 21 December 2024 07:50:46 -0500 (0:00:00.050) 0:00:07.999 ***** ok: [managed-node3] => {} MSG: current_interfaces: [u'bonding_masters', u'dummy0', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 21 December 2024 07:50:46 -0500 (0:00:00.041) 0:00:08.040 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node3 included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node3 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 21 December 2024 07:50:46 -0500 (0:00:00.083) 0:00:08.124 ***** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006910", "end": "2024-12-21 07:50:47.087445", "rc": 1, "start": "2024-12-21 07:50:47.080535" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 21 December 2024 07:50:47 -0500 (0:00:00.365) 0:00:08.489 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 21 December 2024 07:50:47 -0500 (0:00:00.057) 0:00:08.547 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 21 December 2024 07:50:47 -0500 (0:00:00.519) 0:00:09.067 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 21 December 2024 07:50:47 -0500 (0:00:00.039) 0:00:09.106 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 TASK [Include network role] **************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 21 December 2024 07:50:47 -0500 (0:00:00.061) 0:00:09.168 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 December 2024 07:50:48 -0500 (0:00:00.230) 0:00:09.398 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 December 2024 07:50:48 -0500 (0:00:00.152) 0:00:09.551 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 December 2024 07:50:48 -0500 (0:00:00.082) 0:00:09.633 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 December 2024 07:50:48 -0500 (0:00:00.043) 0:00:09.677 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 December 2024 07:50:48 -0500 (0:00:00.055) 0:00:09.732 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 December 2024 07:50:49 -0500 (0:00:01.305) 0:00:11.038 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 December 2024 07:50:51 -0500 (0:00:01.746) 0:00:12.784 ***** ok: [managed-node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 December 2024 07:50:51 -0500 (0:00:00.134) 0:00:12.919 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 December 2024 07:50:51 -0500 (0:00:00.120) 0:00:13.039 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 December 2024 07:50:51 -0500 (0:00:00.113) 0:00:13.152 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 December 2024 07:50:51 -0500 (0:00:00.119) 0:00:13.271 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 December 2024 07:50:52 -0500 (0:00:00.125) 0:00:13.397 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 December 2024 07:50:52 -0500 (0:00:00.186) 0:00:13.583 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 December 2024 07:50:52 -0500 (0:00:00.183) 0:00:13.767 ***** changed: [managed-node3] => { "attempts": 1, "changed": true, "changes": { "installed": [ "bridge-utils" ] }, "rc": 0, "results": [ "initscripts-9.49.53-1.el7_9.1.x86_64 providing initscripts is already installed", "12:dhclient-4.2.5-83.el7.centos.2.x86_64 providing dhclient is already installed", "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: d2lzkl7pfhq30w.cloudfront.net\n * epel-debuginfo: d2lzkl7pfhq30w.cloudfront.net\n * epel-source: d2lzkl7pfhq30w.cloudfront.net\nResolving Dependencies\n--> Running transaction check\n---> Package bridge-utils.x86_64 0:1.5-9.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n bridge-utils x86_64 1.5-9.el7 base 32 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal download size: 32 k\nInstalled size: 56 k\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : bridge-utils-1.5-9.el7.x86_64 1/1 \n Verifying : bridge-utils-1.5-9.el7.x86_64 1/1 \n\nInstalled:\n bridge-utils.x86_64 0:1.5-9.el7 \n\nComplete!\n" ] } lsrpackages: bridge-utils dhclient initscripts TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 December 2024 07:50:55 -0500 (0:00:03.459) 0:00:17.226 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 December 2024 07:50:55 -0500 (0:00:00.084) 0:00:17.311 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 December 2024 07:50:56 -0500 (0:00:00.074) 0:00:17.385 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 December 2024 07:50:56 -0500 (0:00:00.078) 0:00:17.464 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 December 2024 07:50:56 -0500 (0:00:00.072) 0:00:17.537 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 December 2024 07:50:56 -0500 (0:00:00.076) 0:00:17.613 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 December 2024 07:50:57 -0500 (0:00:01.239) 0:00:18.852 ***** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16684nwJ3j1/tmpILPL_k" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 December 2024 07:50:57 -0500 (0:00:00.457) 0:00:19.310 ***** changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 December 2024 07:50:59 -0500 (0:00:01.139) 0:00:20.450 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 December 2024 07:50:59 -0500 (0:00:00.123) 0:00:20.573 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 December 2024 07:50:59 -0500 (0:00:00.131) 0:00:20.705 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 December 2024 07:50:59 -0500 (0:00:00.150) 0:00:20.855 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 December 2024 07:50:59 -0500 (0:00:00.114) 0:00:20.970 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 21 December 2024 07:51:00 -0500 (0:00:00.946) 0:00:21.917 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 21 December 2024 07:51:00 -0500 (0:00:00.240) 0:00:22.158 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node3 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 21 December 2024 07:51:01 -0500 (0:00:00.373) 0:00:22.532 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 21 December 2024 07:51:01 -0500 (0:00:00.247) 0:00:22.779 ***** ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 21 December 2024 07:51:01 -0500 (0:00:00.165) 0:00:22.944 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1734785458.9107578, "block_size": 4096, "blocks": 8, "ctime": 1734785458.9107578, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22439, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1734785458.9107578, "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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 21 December 2024 07:51:02 -0500 (0:00:00.445) 0:00:23.390 ***** ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 21 December 2024 07:51:02 -0500 (0:00:00.180) 0:00:23.571 ***** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021225", "end": "2024-12-21 07:51:02.584544", "rc": 1, "start": "2024-12-21 07:51:02.563319" } 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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 21 December 2024 07:51:02 -0500 (0:00:00.617) 0:00:24.188 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 21 December 2024 07:51:02 -0500 (0:00:00.121) 0:00:24.310 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003279", "end": "2024-12-21 07:51:03.300363", "rc": 0, "start": "2024-12-21 07:51:03.297084" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 21 December 2024 07:51:03 -0500 (0:00:00.535) 0:00:24.846 ***** ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 21 December 2024 07:51:03 -0500 (0:00:00.163) 0:00:25.010 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003520", "end": "2024-12-21 07:51:04.014267", "rc": 0, "start": "2024-12-21 07:51:04.010747" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 21 December 2024 07:51:04 -0500 (0:00:00.444) 0:00:25.455 ***** ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 21 December 2024 07:51:04 -0500 (0:00:00.127) 0:00:25.582 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 21 December 2024 07:51:04 -0500 (0:00:00.129) 0:00:25.711 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 21 December 2024 07:51:04 -0500 (0:00:00.122) 0:00:25.833 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 21 December 2024 07:51:04 -0500 (0:00:00.113) 0:00:25.946 ***** skipping: [managed-node3] => (item={u'what': u'tasks/assert_device_present.yml', u'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_present.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 21 December 2024 07:51:04 -0500 (0:00:00.079) 0:00:26.025 ***** ok: [managed-node3] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 21 December 2024 07:51:04 -0500 (0:00:00.153) 0:00:26.179 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 21 December 2024 07:51:05 -0500 (0:00:00.227) 0:00:26.406 ***** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.042382", "end": "2024-12-21 07:51:05.407608", "rc": 1, "start": "2024-12-21 07:51:05.365226" } 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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 21 December 2024 07:51:05 -0500 (0:00:00.494) 0:00:26.901 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 21 December 2024 07:51:05 -0500 (0:00:00.203) 0:00:27.104 ***** ok: [managed-node3] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 21 December 2024 07:51:05 -0500 (0:00:00.117) 0:00:27.222 ***** ok: [managed-node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed-node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node3] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 21 December 2024 07:51:06 -0500 (0:00:00.220) 0:00:27.442 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 21 December 2024 07:51:06 -0500 (0:00:00.315) 0:00:27.758 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 21 December 2024 07:51:06 -0500 (0:00:00.228) 0:00:27.987 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004883", "end": "2024-12-21 07:51:07.940242", "rc": 0, "start": "2024-12-21 07:51:06.935359" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 21 December 2024 07:51:08 -0500 (0:00:01.431) 0:00:29.418 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 21 December 2024 07:51:08 -0500 (0:00:00.134) 0:00:29.553 ***** ok: [managed-node3] => {} MSG: current_interfaces: [u'bonding_masters', u'dummy0', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 21 December 2024 07:51:08 -0500 (0:00:00.115) 0:00:29.670 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node3 included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node3 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 21 December 2024 07:51:08 -0500 (0:00:00.316) 0:00:29.986 ***** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006837", "end": "2024-12-21 07:51:09.079196", "rc": 1, "start": "2024-12-21 07:51:09.072359" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 21 December 2024 07:51:09 -0500 (0:00:00.575) 0:00:30.561 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 21 December 2024 07:51:09 -0500 (0:00:00.202) 0:00:30.764 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 21 December 2024 07:51:10 -0500 (0:00:00.589) 0:00:31.354 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 21 December 2024 07:51:10 -0500 (0:00:00.127) 0:00:31.481 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed-node3 TASK [Include network role] **************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 21 December 2024 07:51:10 -0500 (0:00:00.174) 0:00:31.656 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 December 2024 07:51:10 -0500 (0:00:00.237) 0:00:31.893 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 December 2024 07:51:10 -0500 (0:00:00.182) 0:00:32.075 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 December 2024 07:51:10 -0500 (0:00:00.102) 0:00:32.178 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 December 2024 07:51:11 -0500 (0:00:00.164) 0:00:32.342 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 December 2024 07:51:11 -0500 (0:00:00.132) 0:00:32.475 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 December 2024 07:51:12 -0500 (0:00:01.071) 0:00:33.546 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 December 2024 07:51:13 -0500 (0:00:01.619) 0:00:35.165 ***** ok: [managed-node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 December 2024 07:51:13 -0500 (0:00:00.121) 0:00:35.287 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 December 2024 07:51:14 -0500 (0:00:00.138) 0:00:35.425 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 December 2024 07:51:14 -0500 (0:00:00.117) 0:00:35.543 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 December 2024 07:51:14 -0500 (0:00:00.193) 0:00:35.736 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 December 2024 07:51:14 -0500 (0:00:00.132) 0:00:35.869 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 December 2024 07:51:14 -0500 (0:00:00.108) 0:00:35.978 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 December 2024 07:51:14 -0500 (0:00:00.083) 0:00:36.061 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 December 2024 07:51:14 -0500 (0:00:00.218) 0:00:36.279 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 December 2024 07:51:15 -0500 (0:00:00.175) 0:00:36.455 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 December 2024 07:51:15 -0500 (0:00:00.186) 0:00:36.641 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 December 2024 07:51:15 -0500 (0:00:00.153) 0:00:36.794 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 December 2024 07:51:15 -0500 (0:00:00.351) 0:00:37.146 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 December 2024 07:51:15 -0500 (0:00:00.116) 0:00:37.263 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 December 2024 07:51:16 -0500 (0:00:00.554) 0:00:37.817 ***** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16684nwJ3j1/tmp6t1afM" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 December 2024 07:51:16 -0500 (0:00:00.465) 0:00:38.283 ***** changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 December 2024 07:51:17 -0500 (0:00:00.813) 0:00:39.096 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 December 2024 07:51:17 -0500 (0:00:00.111) 0:00:39.207 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 December 2024 07:51:17 -0500 (0:00:00.120) 0:00:39.328 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 December 2024 07:51:18 -0500 (0:00:00.120) 0:00:39.448 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 December 2024 07:51:18 -0500 (0:00:00.119) 0:00:39.568 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 21 December 2024 07:51:18 -0500 (0:00:00.688) 0:00:40.257 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 21 December 2024 07:51:19 -0500 (0:00:00.135) 0:00:40.393 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node3 included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node3 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 21 December 2024 07:51:19 -0500 (0:00:00.256) 0:00:40.649 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 21 December 2024 07:51:19 -0500 (0:00:00.225) 0:00:40.874 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 21 December 2024 07:51:19 -0500 (0:00:00.461) 0:00:41.335 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 21 December 2024 07:51:20 -0500 (0:00:00.261) 0:00:41.597 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 21 December 2024 07:51:20 -0500 (0:00:00.299) 0:00:41.897 ***** ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 21 December 2024 07:51:20 -0500 (0:00:00.123) 0:00:42.021 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1734785477.6067846, "block_size": 4096, "blocks": 8, "ctime": 1734785477.6067846, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22439, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1734785477.6067846, "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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 21 December 2024 07:51:21 -0500 (0:00:00.388) 0:00:42.409 ***** ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 21 December 2024 07:51:21 -0500 (0:00:00.095) 0:00:42.505 ***** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020050", "end": "2024-12-21 07:51:21.444713", "rc": 1, "start": "2024-12-21 07:51:21.424663" } 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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 21 December 2024 07:51:21 -0500 (0:00:00.505) 0:00:43.010 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 21 December 2024 07:51:21 -0500 (0:00:00.134) 0:00:43.145 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003870", "end": "2024-12-21 07:51:22.145982", "rc": 0, "start": "2024-12-21 07:51:22.142112" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 21 December 2024 07:51:22 -0500 (0:00:00.488) 0:00:43.633 ***** ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 21 December 2024 07:51:22 -0500 (0:00:00.131) 0:00:43.765 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003667", "end": "2024-12-21 07:51:22.904695", "rc": 0, "start": "2024-12-21 07:51:22.901028" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 21 December 2024 07:51:23 -0500 (0:00:00.715) 0:00:44.480 ***** ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 21 December 2024 07:51:23 -0500 (0:00:00.147) 0:00:44.628 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 21 December 2024 07:51:23 -0500 (0:00:00.179) 0:00:44.807 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 21 December 2024 07:51:23 -0500 (0:00:00.132) 0:00:44.940 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 21 December 2024 07:51:23 -0500 (0:00:00.162) 0:00:45.103 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 21 December 2024 07:51:23 -0500 (0:00:00.122) 0:00:45.226 ***** ok: [managed-node3] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 21 December 2024 07:51:24 -0500 (0:00:00.192) 0:00:45.419 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 21 December 2024 07:51:24 -0500 (0:00:00.241) 0:00:45.660 ***** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.038728", "end": "2024-12-21 07:51:24.955684", "rc": 1, "start": "2024-12-21 07:51:24.916956" } 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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 21 December 2024 07:51:25 -0500 (0:00:00.792) 0:00:46.452 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 21 December 2024 07:51:25 -0500 (0:00:00.184) 0:00:46.637 ***** ok: [managed-node3] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 21 December 2024 07:51:25 -0500 (0:00:00.121) 0:00:46.758 ***** ok: [managed-node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed-node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node3] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 21 December 2024 07:51:25 -0500 (0:00:00.335) 0:00:47.093 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 21 December 2024 07:51:25 -0500 (0:00:00.229) 0:00:47.323 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 21 December 2024 07:51:26 -0500 (0:00:00.229) 0:00:47.552 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003902", "end": "2024-12-21 07:51:26.496087", "rc": 0, "start": "2024-12-21 07:51:26.492185" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 21 December 2024 07:51:26 -0500 (0:00:00.428) 0:00:47.981 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 21 December 2024 07:51:26 -0500 (0:00:00.218) 0:00:48.199 ***** ok: [managed-node3] => {} MSG: current_interfaces: [u'bonding_masters', u'dummy0', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 21 December 2024 07:51:27 -0500 (0:00:00.173) 0:00:48.373 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 TASK [Include network role] **************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 21 December 2024 07:51:27 -0500 (0:00:00.234) 0:00:48.608 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 December 2024 07:51:27 -0500 (0:00:00.357) 0:00:48.965 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 December 2024 07:51:27 -0500 (0:00:00.249) 0:00:49.215 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 December 2024 07:51:28 -0500 (0:00:00.169) 0:00:49.385 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 December 2024 07:51:28 -0500 (0:00:00.142) 0:00:49.527 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 December 2024 07:51:28 -0500 (0:00:00.114) 0:00:49.642 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 December 2024 07:51:29 -0500 (0:00:01.016) 0:00:50.659 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 December 2024 07:51:30 -0500 (0:00:01.463) 0:00:52.123 ***** ok: [managed-node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 December 2024 07:51:30 -0500 (0:00:00.104) 0:00:52.228 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 December 2024 07:51:31 -0500 (0:00:00.145) 0:00:52.373 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 December 2024 07:51:31 -0500 (0:00:00.074) 0:00:52.448 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 December 2024 07:51:31 -0500 (0:00:00.110) 0:00:52.558 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 December 2024 07:51:31 -0500 (0:00:00.167) 0:00:52.726 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 December 2024 07:51:31 -0500 (0:00:00.260) 0:00:52.986 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 December 2024 07:51:31 -0500 (0:00:00.259) 0:00:53.246 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 December 2024 07:51:32 -0500 (0:00:00.385) 0:00:53.631 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 December 2024 07:51:32 -0500 (0:00:00.235) 0:00:53.867 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 December 2024 07:51:32 -0500 (0:00:00.198) 0:00:54.066 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 December 2024 07:51:32 -0500 (0:00:00.134) 0:00:54.200 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 December 2024 07:51:32 -0500 (0:00:00.113) 0:00:54.314 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 December 2024 07:51:33 -0500 (0:00:00.151) 0:00:54.466 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 December 2024 07:51:33 -0500 (0:00:00.618) 0:00:55.084 ***** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16684nwJ3j1/tmpqLejbB" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 December 2024 07:51:34 -0500 (0:00:00.592) 0:00:55.676 ***** changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 December 2024 07:51:35 -0500 (0:00:00.893) 0:00:56.570 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 December 2024 07:51:35 -0500 (0:00:00.117) 0:00:56.687 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 December 2024 07:51:35 -0500 (0:00:00.149) 0:00:56.837 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 December 2024 07:51:35 -0500 (0:00:00.185) 0:00:57.023 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 December 2024 07:51:35 -0500 (0:00:00.110) 0:00:57.133 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 21 December 2024 07:51:36 -0500 (0:00:00.443) 0:00:57.577 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 21 December 2024 07:51:36 -0500 (0:00:00.114) 0:00:57.692 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 TASK [Include network role] **************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 21 December 2024 07:51:36 -0500 (0:00:00.159) 0:00:57.851 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 December 2024 07:51:36 -0500 (0:00:00.148) 0:00:58.000 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 December 2024 07:51:36 -0500 (0:00:00.187) 0:00:58.187 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 December 2024 07:51:36 -0500 (0:00:00.113) 0:00:58.301 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 December 2024 07:51:37 -0500 (0:00:00.109) 0:00:58.411 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 December 2024 07:51:37 -0500 (0:00:00.113) 0:00:58.525 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 December 2024 07:51:38 -0500 (0:00:01.227) 0:00:59.752 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 December 2024 07:51:40 -0500 (0:00:01.618) 0:01:01.370 ***** ok: [managed-node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 December 2024 07:51:40 -0500 (0:00:00.084) 0:01:01.455 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 December 2024 07:51:40 -0500 (0:00:00.076) 0:01:01.532 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 December 2024 07:51:40 -0500 (0:00:00.106) 0:01:01.638 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 December 2024 07:51:40 -0500 (0:00:00.130) 0:01:01.769 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 December 2024 07:51:40 -0500 (0:00:00.120) 0:01:01.889 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 December 2024 07:51:40 -0500 (0:00:00.156) 0:01:02.046 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 December 2024 07:51:40 -0500 (0:00:00.134) 0:01:02.181 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 December 2024 07:51:41 -0500 (0:00:00.252) 0:01:02.433 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 December 2024 07:51:41 -0500 (0:00:00.130) 0:01:02.564 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 December 2024 07:51:41 -0500 (0:00:00.101) 0:01:02.665 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 December 2024 07:51:41 -0500 (0:00:00.107) 0:01:02.773 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 December 2024 07:51:41 -0500 (0:00:00.127) 0:01:02.900 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 December 2024 07:51:41 -0500 (0:00:00.129) 0:01:03.030 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 December 2024 07:51:42 -0500 (0:00:00.890) 0:01:03.921 ***** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16684nwJ3j1/tmpubfaM2" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 December 2024 07:51:43 -0500 (0:00:00.503) 0:01:04.424 ***** changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 December 2024 07:51:44 -0500 (0:00:00.940) 0:01:05.365 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 December 2024 07:51:44 -0500 (0:00:00.076) 0:01:05.441 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 December 2024 07:51:44 -0500 (0:00:00.078) 0:01:05.519 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 December 2024 07:51:44 -0500 (0:00:00.081) 0:01:05.601 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 December 2024 07:51:44 -0500 (0:00:00.074) 0:01:05.675 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 21 December 2024 07:51:44 -0500 (0:00:00.417) 0:01:06.093 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node3 included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node3 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 21 December 2024 07:51:45 -0500 (0:00:00.260) 0:01:06.354 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 21 December 2024 07:51:45 -0500 (0:00:00.217) 0:01:06.572 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1734785503.842822, "block_size": 4096, "blocks": 0, "ctime": 1734785503.8418221, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17740, "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": 1734785503.8418221, "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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 21 December 2024 07:51:45 -0500 (0:00:00.448) 0:01:07.020 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 21 December 2024 07:51:45 -0500 (0:00:00.120) 0:01:07.140 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 21 December 2024 07:51:46 -0500 (0:00:00.368) 0:01:07.509 ***** ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 21 December 2024 07:51:46 -0500 (0:00:00.206) 0:01:07.715 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1734785503.682822, "block_size": 4096, "blocks": 8, "ctime": 1734785495.0998096, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22439, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1734785495.0998096, "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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 21 December 2024 07:51:47 -0500 (0:00:00.808) 0:01:08.524 ***** ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 21 December 2024 07:51:47 -0500 (0:00:00.139) 0:01:08.664 ***** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021144", "end": "2024-12-21 07:51:47.782672", "rc": 1, "start": "2024-12-21 07:51:47.761528" } 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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 21 December 2024 07:51:48 -0500 (0:00:00.700) 0:01:09.365 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 21 December 2024 07:51:48 -0500 (0:00:00.270) 0:01:09.635 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003300", "end": "2024-12-21 07:51:48.707265", "rc": 0, "start": "2024-12-21 07:51:48.703965" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 21 December 2024 07:51:48 -0500 (0:00:00.607) 0:01:10.243 ***** ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 21 December 2024 07:51:49 -0500 (0:00:00.199) 0:01:10.442 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003354", "end": "2024-12-21 07:51:49.473075", "rc": 0, "start": "2024-12-21 07:51:49.469721" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 21 December 2024 07:51:49 -0500 (0:00:00.560) 0:01:11.003 ***** ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 21 December 2024 07:51:49 -0500 (0:00:00.123) 0:01:11.126 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 21 December 2024 07:51:49 -0500 (0:00:00.082) 0:01:11.208 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 21 December 2024 07:51:49 -0500 (0:00:00.123) 0:01:11.332 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 21 December 2024 07:51:50 -0500 (0:00:00.218) 0:01:11.550 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 21 December 2024 07:51:50 -0500 (0:00:00.218) 0:01:11.769 ***** ok: [managed-node3] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 21 December 2024 07:51:50 -0500 (0:00:00.227) 0:01:11.996 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 21 December 2024 07:51:50 -0500 (0:00:00.242) 0:01:12.239 ***** ok: [managed-node3] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.047031", "end": "2024-12-21 07:51:51.307817", "rc": 0, "start": "2024-12-21 07:51:51.260786" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 21 December 2024 07:51:51 -0500 (0:00:00.583) 0:01:12.822 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 21 December 2024 07:51:51 -0500 (0:00:00.167) 0:01:12.990 ***** ok: [managed-node3] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 21 December 2024 07:51:51 -0500 (0:00:00.079) 0:01:13.070 ***** ok: [managed-node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed-node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed-node3] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 21 December 2024 07:51:51 -0500 (0:00:00.141) 0:01:13.212 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 21 December 2024 07:51:52 -0500 (0:00:00.128) 0:01:13.340 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 21 December 2024 07:51:52 -0500 (0:00:00.126) 0:01:13.466 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003784", "end": "2024-12-21 07:51:52.416006", "rc": 0, "start": "2024-12-21 07:51:52.412222" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 21 December 2024 07:51:52 -0500 (0:00:00.435) 0:01:13.902 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 21 December 2024 07:51:52 -0500 (0:00:00.094) 0:01:13.997 ***** ok: [managed-node3] => {} MSG: current_interfaces: [u'bonding_masters', u'dummy0', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 21 December 2024 07:51:52 -0500 (0:00:00.075) 0:01:14.073 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 TASK [Include network role] **************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 21 December 2024 07:51:52 -0500 (0:00:00.150) 0:01:14.223 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 December 2024 07:51:53 -0500 (0:00:00.133) 0:01:14.357 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 December 2024 07:51:53 -0500 (0:00:00.200) 0:01:14.557 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 December 2024 07:51:53 -0500 (0:00:00.101) 0:01:14.659 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 December 2024 07:51:53 -0500 (0:00:00.074) 0:01:14.733 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 December 2024 07:51:53 -0500 (0:00:00.082) 0:01:14.816 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 December 2024 07:51:54 -0500 (0:00:01.038) 0:01:15.855 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 December 2024 07:51:55 -0500 (0:00:01.397) 0:01:17.252 ***** ok: [managed-node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 December 2024 07:51:56 -0500 (0:00:00.098) 0:01:17.351 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 December 2024 07:51:56 -0500 (0:00:00.085) 0:01:17.436 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 December 2024 07:51:56 -0500 (0:00:00.130) 0:01:17.566 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 December 2024 07:51:56 -0500 (0:00:00.082) 0:01:17.649 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 December 2024 07:51:56 -0500 (0:00:00.118) 0:01:17.768 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 December 2024 07:51:56 -0500 (0:00:00.129) 0:01:17.897 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 December 2024 07:51:56 -0500 (0:00:00.130) 0:01:18.028 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 December 2024 07:51:56 -0500 (0:00:00.211) 0:01:18.239 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 December 2024 07:51:57 -0500 (0:00:00.100) 0:01:18.340 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 December 2024 07:51:57 -0500 (0:00:00.098) 0:01:18.439 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 December 2024 07:51:57 -0500 (0:00:00.083) 0:01:18.523 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 December 2024 07:51:57 -0500 (0:00:00.087) 0:01:18.610 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 December 2024 07:51:57 -0500 (0:00:00.115) 0:01:18.726 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 December 2024 07:51:58 -0500 (0:00:00.889) 0:01:19.616 ***** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16684nwJ3j1/tmpQS_GHt" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 December 2024 07:51:58 -0500 (0:00:00.596) 0:01:20.213 ***** changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 December 2024 07:51:59 -0500 (0:00:00.804) 0:01:21.018 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 December 2024 07:51:59 -0500 (0:00:00.130) 0:01:21.149 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 December 2024 07:51:59 -0500 (0:00:00.130) 0:01:21.279 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 December 2024 07:52:00 -0500 (0:00:00.240) 0:01:21.520 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 December 2024 07:52:00 -0500 (0:00:00.195) 0:01:21.715 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 21 December 2024 07:52:01 -0500 (0:00:00.659) 0:01:22.374 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 21 December 2024 07:52:01 -0500 (0:00:00.148) 0:01:22.523 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 December 2024 07:52:01 -0500 (0:00:00.270) 0:01:22.793 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 December 2024 07:52:01 -0500 (0:00:00.271) 0:01:23.065 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 December 2024 07:52:01 -0500 (0:00:00.174) 0:01:23.239 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 December 2024 07:52:02 -0500 (0:00:00.104) 0:01:23.344 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 December 2024 07:52:02 -0500 (0:00:00.093) 0:01:23.438 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 December 2024 07:52:03 -0500 (0:00:01.070) 0:01:24.509 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 December 2024 07:52:04 -0500 (0:00:01.502) 0:01:26.011 ***** ok: [managed-node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 December 2024 07:52:04 -0500 (0:00:00.205) 0:01:26.216 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 December 2024 07:52:05 -0500 (0:00:00.232) 0:01:26.449 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 December 2024 07:52:05 -0500 (0:00:00.120) 0:01:26.570 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 December 2024 07:52:05 -0500 (0:00:00.117) 0:01:26.687 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 December 2024 07:52:05 -0500 (0:00:00.193) 0:01:26.881 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 December 2024 07:52:05 -0500 (0:00:00.220) 0:01:27.102 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 December 2024 07:52:06 -0500 (0:00:00.289) 0:01:27.391 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 December 2024 07:52:06 -0500 (0:00:00.211) 0:01:27.603 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 December 2024 07:52:06 -0500 (0:00:00.120) 0:01:27.724 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 December 2024 07:52:06 -0500 (0:00:00.117) 0:01:27.842 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 December 2024 07:52:06 -0500 (0:00:00.138) 0:01:27.980 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 December 2024 07:52:06 -0500 (0:00:00.109) 0:01:28.090 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 December 2024 07:52:06 -0500 (0:00:00.089) 0:01:28.179 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 December 2024 07:52:07 -0500 (0:00:00.536) 0:01:28.715 ***** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16684nwJ3j1/tmpN4Qsxh" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 December 2024 07:52:07 -0500 (0:00:00.402) 0:01:29.117 ***** changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 December 2024 07:52:08 -0500 (0:00:00.989) 0:01:30.107 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 December 2024 07:52:08 -0500 (0:00:00.139) 0:01:30.247 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 December 2024 07:52:09 -0500 (0:00:00.148) 0:01:30.395 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 December 2024 07:52:09 -0500 (0:00:00.161) 0:01:30.557 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 December 2024 07:52:09 -0500 (0:00:00.182) 0:01:30.739 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 21 December 2024 07:52:10 -0500 (0:00:00.788) 0:01:31.527 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node3 TASK [Include network role] **************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 21 December 2024 07:52:10 -0500 (0:00:00.231) 0:01:31.758 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 December 2024 07:52:10 -0500 (0:00:00.333) 0:01:32.092 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 December 2024 07:52:11 -0500 (0:00:00.337) 0:01:32.429 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 December 2024 07:52:11 -0500 (0:00:00.158) 0:01:32.588 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 December 2024 07:52:11 -0500 (0:00:00.188) 0:01:32.776 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 December 2024 07:52:11 -0500 (0:00:00.134) 0:01:32.911 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 December 2024 07:52:12 -0500 (0:00:01.106) 0:01:34.017 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 December 2024 07:52:14 -0500 (0:00:01.714) 0:01:35.732 ***** ok: [managed-node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 December 2024 07:52:14 -0500 (0:00:00.123) 0:01:35.856 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 December 2024 07:52:14 -0500 (0:00:00.130) 0:01:35.986 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 December 2024 07:52:14 -0500 (0:00:00.102) 0:01:36.089 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 December 2024 07:52:14 -0500 (0:00:00.118) 0:01:36.207 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 December 2024 07:52:14 -0500 (0:00:00.116) 0:01:36.324 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 December 2024 07:52:15 -0500 (0:00:00.136) 0:01:36.461 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 December 2024 07:52:15 -0500 (0:00:00.159) 0:01:36.620 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 December 2024 07:52:15 -0500 (0:00:00.191) 0:01:36.812 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 December 2024 07:52:15 -0500 (0:00:00.126) 0:01:36.938 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 December 2024 07:52:15 -0500 (0:00:00.129) 0:01:37.067 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 December 2024 07:52:15 -0500 (0:00:00.188) 0:01:37.256 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 December 2024 07:52:16 -0500 (0:00:00.146) 0:01:37.403 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 December 2024 07:52:16 -0500 (0:00:00.136) 0:01:37.540 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 December 2024 07:52:16 -0500 (0:00:00.620) 0:01:38.160 ***** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16684nwJ3j1/tmpbOuhEr" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 December 2024 07:52:17 -0500 (0:00:00.487) 0:01:38.648 ***** changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 December 2024 07:52:18 -0500 (0:00:00.824) 0:01:39.473 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 December 2024 07:52:18 -0500 (0:00:00.117) 0:01:39.590 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 December 2024 07:52:18 -0500 (0:00:00.123) 0:01:39.714 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 December 2024 07:52:18 -0500 (0:00:00.125) 0:01:39.839 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 December 2024 07:52:18 -0500 (0:00:00.122) 0:01:39.961 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 21 December 2024 07:52:19 -0500 (0:00:00.646) 0:01:40.607 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node3 included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node3 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 21 December 2024 07:52:19 -0500 (0:00:00.362) 0:01:40.970 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 21 December 2024 07:52:19 -0500 (0:00:00.335) 0:01:41.305 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1734785528.542862, "block_size": 4096, "blocks": 0, "ctime": 1734785528.5418618, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17740, "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": 1734785528.5418618, "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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 21 December 2024 07:52:20 -0500 (0:00:00.567) 0:01:41.873 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 21 December 2024 07:52:20 -0500 (0:00:00.142) 0:01:42.015 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 21 December 2024 07:52:21 -0500 (0:00:00.323) 0:01:42.339 ***** ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 21 December 2024 07:52:21 -0500 (0:00:00.138) 0:01:42.478 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 21 December 2024 07:52:21 -0500 (0:00:00.400) 0:01:42.879 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 21 December 2024 07:52:21 -0500 (0:00:00.115) 0:01:42.995 ***** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020109", "end": "2024-12-21 07:52:22.073340", "rc": 1, "start": "2024-12-21 07:52:22.053231" } 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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 21 December 2024 07:52:22 -0500 (0:00:00.658) 0:01:43.654 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 21 December 2024 07:52:22 -0500 (0:00:00.116) 0:01:43.770 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 21 December 2024 07:52:22 -0500 (0:00:00.158) 0:01:43.928 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 21 December 2024 07:52:22 -0500 (0:00:00.085) 0:01:44.013 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 21 December 2024 07:52:22 -0500 (0:00:00.083) 0:01:44.097 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 21 December 2024 07:52:22 -0500 (0:00:00.128) 0:01:44.226 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 21 December 2024 07:52:23 -0500 (0:00:00.218) 0:01:44.444 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 21 December 2024 07:52:23 -0500 (0:00:00.230) 0:01:44.675 ***** ok: [managed-node3] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 21 December 2024 07:52:23 -0500 (0:00:00.213) 0:01:44.888 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 21 December 2024 07:52:23 -0500 (0:00:00.406) 0:01:45.294 ***** ok: [managed-node3] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.045057", "end": "2024-12-21 07:52:24.438791", "rc": 0, "start": "2024-12-21 07:52:24.393734" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 21 December 2024 07:52:24 -0500 (0:00:00.621) 0:01:45.916 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 21 December 2024 07:52:24 -0500 (0:00:00.211) 0:01:46.128 ***** ok: [managed-node3] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 21 December 2024 07:52:24 -0500 (0:00:00.120) 0:01:46.248 ***** ok: [managed-node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed-node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [managed-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed-node3] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 21 December 2024 07:52:25 -0500 (0:00:00.312) 0:01:46.561 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 21 December 2024 07:52:25 -0500 (0:00:00.288) 0:01:46.849 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 21 December 2024 07:52:25 -0500 (0:00:00.183) 0:01:47.032 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003263", "end": "2024-12-21 07:52:25.952533", "rc": 0, "start": "2024-12-21 07:52:25.949270" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 21 December 2024 07:52:26 -0500 (0:00:00.378) 0:01:47.411 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 21 December 2024 07:52:26 -0500 (0:00:00.088) 0:01:47.499 ***** ok: [managed-node3] => {} MSG: current_interfaces: [u'bonding_masters', u'dummy0', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 21 December 2024 07:52:26 -0500 (0:00:00.083) 0:01:47.583 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node3 TASK [Include network role] **************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 21 December 2024 07:52:26 -0500 (0:00:00.271) 0:01:47.855 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 December 2024 07:52:26 -0500 (0:00:00.231) 0:01:48.086 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 December 2024 07:52:27 -0500 (0:00:00.326) 0:01:48.413 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 December 2024 07:52:27 -0500 (0:00:00.164) 0:01:48.578 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 December 2024 07:52:27 -0500 (0:00:00.130) 0:01:48.708 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 December 2024 07:52:27 -0500 (0:00:00.115) 0:01:48.824 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 December 2024 07:52:28 -0500 (0:00:01.145) 0:01:49.969 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 December 2024 07:52:30 -0500 (0:00:01.587) 0:01:51.557 ***** ok: [managed-node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 December 2024 07:52:30 -0500 (0:00:00.101) 0:01:51.658 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 December 2024 07:52:30 -0500 (0:00:00.109) 0:01:51.768 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 December 2024 07:52:30 -0500 (0:00:00.127) 0:01:51.895 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 December 2024 07:52:30 -0500 (0:00:00.121) 0:01:52.017 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 December 2024 07:52:30 -0500 (0:00:00.114) 0:01:52.132 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 December 2024 07:52:30 -0500 (0:00:00.199) 0:01:52.331 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 December 2024 07:52:31 -0500 (0:00:00.124) 0:01:52.455 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 December 2024 07:52:31 -0500 (0:00:00.169) 0:01:52.625 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 December 2024 07:52:31 -0500 (0:00:00.089) 0:01:52.714 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 December 2024 07:52:31 -0500 (0:00:00.077) 0:01:52.791 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 December 2024 07:52:31 -0500 (0:00:00.095) 0:01:52.886 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 December 2024 07:52:31 -0500 (0:00:00.077) 0:01:52.964 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 December 2024 07:52:31 -0500 (0:00:00.107) 0:01:53.071 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 December 2024 07:52:32 -0500 (0:00:00.584) 0:01:53.655 ***** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16684nwJ3j1/tmpeS4Acz" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 December 2024 07:52:32 -0500 (0:00:00.414) 0:01:54.070 ***** changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 December 2024 07:52:33 -0500 (0:00:00.730) 0:01:54.801 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 December 2024 07:52:33 -0500 (0:00:00.092) 0:01:54.893 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 December 2024 07:52:33 -0500 (0:00:00.116) 0:01:55.009 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 December 2024 07:52:33 -0500 (0:00:00.102) 0:01:55.112 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 December 2024 07:52:33 -0500 (0:00:00.075) 0:01:55.187 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 21 December 2024 07:52:34 -0500 (0:00:00.393) 0:01:55.580 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 21 December 2024 07:52:34 -0500 (0:00:00.111) 0:01:55.692 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 December 2024 07:52:34 -0500 (0:00:00.199) 0:01:55.892 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 December 2024 07:52:34 -0500 (0:00:00.204) 0:01:56.096 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 December 2024 07:52:34 -0500 (0:00:00.097) 0:01:56.193 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 December 2024 07:52:34 -0500 (0:00:00.076) 0:01:56.270 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 December 2024 07:52:35 -0500 (0:00:00.073) 0:01:56.343 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 December 2024 07:52:35 -0500 (0:00:00.972) 0:01:57.316 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 December 2024 07:52:37 -0500 (0:00:01.669) 0:01:58.985 ***** ok: [managed-node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 December 2024 07:52:37 -0500 (0:00:00.114) 0:01:59.100 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 December 2024 07:52:37 -0500 (0:00:00.153) 0:01:59.253 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 December 2024 07:52:38 -0500 (0:00:00.116) 0:01:59.370 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 December 2024 07:52:38 -0500 (0:00:00.144) 0:01:59.515 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 December 2024 07:52:38 -0500 (0:00:00.118) 0:01:59.634 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 December 2024 07:52:38 -0500 (0:00:00.131) 0:01:59.765 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 December 2024 07:52:38 -0500 (0:00:00.152) 0:01:59.918 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 December 2024 07:52:38 -0500 (0:00:00.209) 0:02:00.127 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 December 2024 07:52:38 -0500 (0:00:00.179) 0:02:00.307 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 December 2024 07:52:39 -0500 (0:00:00.153) 0:02:00.460 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 December 2024 07:52:39 -0500 (0:00:00.106) 0:02:00.566 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 December 2024 07:52:39 -0500 (0:00:00.097) 0:02:00.663 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 December 2024 07:52:39 -0500 (0:00:00.113) 0:02:00.777 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 December 2024 07:52:40 -0500 (0:00:00.796) 0:02:01.574 ***** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16684nwJ3j1/tmp39Fx3k" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 December 2024 07:52:40 -0500 (0:00:00.509) 0:02:02.084 ***** changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 December 2024 07:52:41 -0500 (0:00:01.232) 0:02:03.316 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 December 2024 07:52:42 -0500 (0:00:00.206) 0:02:03.522 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 December 2024 07:52:42 -0500 (0:00:00.169) 0:02:03.692 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 December 2024 07:52:42 -0500 (0:00:00.128) 0:02:03.820 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 December 2024 07:52:42 -0500 (0:00:00.120) 0:02:03.941 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 21 December 2024 07:52:43 -0500 (0:00:00.514) 0:02:04.455 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 December 2024 07:52:43 -0500 (0:00:00.303) 0:02:04.759 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 December 2024 07:52:43 -0500 (0:00:00.335) 0:02:05.095 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 December 2024 07:52:44 -0500 (0:00:00.273) 0:02:05.368 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 December 2024 07:52:44 -0500 (0:00:00.148) 0:02:05.516 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 December 2024 07:52:44 -0500 (0:00:00.129) 0:02:05.646 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 December 2024 07:52:45 -0500 (0:00:01.064) 0:02:06.710 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 December 2024 07:52:46 -0500 (0:00:01.576) 0:02:08.286 ***** ok: [managed-node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 December 2024 07:52:47 -0500 (0:00:00.142) 0:02:08.428 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 December 2024 07:52:47 -0500 (0:00:00.132) 0:02:08.561 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 December 2024 07:52:47 -0500 (0:00:00.119) 0:02:08.680 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 December 2024 07:52:47 -0500 (0:00:00.144) 0:02:08.825 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 December 2024 07:52:47 -0500 (0:00:00.130) 0:02:08.956 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 December 2024 07:52:47 -0500 (0:00:00.147) 0:02:09.103 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 December 2024 07:52:47 -0500 (0:00:00.122) 0:02:09.226 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 December 2024 07:52:48 -0500 (0:00:00.199) 0:02:09.426 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 December 2024 07:52:48 -0500 (0:00:00.117) 0:02:09.544 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 December 2024 07:52:48 -0500 (0:00:00.118) 0:02:09.662 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 December 2024 07:52:48 -0500 (0:00:00.185) 0:02:09.847 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 December 2024 07:52:48 -0500 (0:00:00.120) 0:02:09.967 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 December 2024 07:52:48 -0500 (0:00:00.193) 0:02:10.161 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 December 2024 07:52:49 -0500 (0:00:00.679) 0:02:10.840 ***** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16684nwJ3j1/tmpy5IXFp" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 December 2024 07:52:50 -0500 (0:00:00.617) 0:02:11.457 ***** changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 December 2024 07:52:50 -0500 (0:00:00.749) 0:02:12.207 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 December 2024 07:52:50 -0500 (0:00:00.101) 0:02:12.308 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 December 2024 07:52:51 -0500 (0:00:00.078) 0:02:12.387 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 December 2024 07:52:51 -0500 (0:00:00.090) 0:02:12.477 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 December 2024 07:52:51 -0500 (0:00:00.112) 0:02:12.590 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 21 December 2024 07:52:51 -0500 (0:00:00.539) 0:02:13.129 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node3 TASK [Include network role] **************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 21 December 2024 07:52:52 -0500 (0:00:00.446) 0:02:13.576 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 December 2024 07:52:52 -0500 (0:00:00.289) 0:02:13.866 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 December 2024 07:52:52 -0500 (0:00:00.256) 0:02:14.123 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 December 2024 07:52:52 -0500 (0:00:00.158) 0:02:14.281 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 December 2024 07:52:53 -0500 (0:00:00.192) 0:02:14.473 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 December 2024 07:52:53 -0500 (0:00:00.237) 0:02:14.710 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 December 2024 07:52:54 -0500 (0:00:01.396) 0:02:16.106 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 December 2024 07:52:56 -0500 (0:00:01.492) 0:02:17.599 ***** ok: [managed-node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 December 2024 07:52:56 -0500 (0:00:00.096) 0:02:17.695 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 December 2024 07:52:56 -0500 (0:00:00.141) 0:02:17.836 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 December 2024 07:52:56 -0500 (0:00:00.139) 0:02:17.975 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 December 2024 07:52:56 -0500 (0:00:00.126) 0:02:18.102 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 December 2024 07:52:56 -0500 (0:00:00.119) 0:02:18.221 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 December 2024 07:52:57 -0500 (0:00:00.177) 0:02:18.399 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 December 2024 07:52:57 -0500 (0:00:00.125) 0:02:18.524 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 December 2024 07:52:57 -0500 (0:00:00.194) 0:02:18.719 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 December 2024 07:52:57 -0500 (0:00:00.140) 0:02:18.860 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 December 2024 07:52:57 -0500 (0:00:00.162) 0:02:19.022 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 December 2024 07:52:57 -0500 (0:00:00.208) 0:02:19.230 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 December 2024 07:52:57 -0500 (0:00:00.107) 0:02:19.338 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 December 2024 07:52:58 -0500 (0:00:00.140) 0:02:19.479 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 December 2024 07:52:58 -0500 (0:00:00.630) 0:02:20.110 ***** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16684nwJ3j1/tmpLW1gyJ" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 December 2024 07:52:59 -0500 (0:00:00.509) 0:02:20.619 ***** ok: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 December 2024 07:52:59 -0500 (0:00:00.628) 0:02:21.248 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 December 2024 07:52:59 -0500 (0:00:00.074) 0:02:21.322 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 December 2024 07:53:00 -0500 (0:00:00.126) 0:02:21.449 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 December 2024 07:53:00 -0500 (0:00:00.116) 0:02:21.566 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 December 2024 07:53:00 -0500 (0:00:00.115) 0:02:21.682 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 21 December 2024 07:53:00 -0500 (0:00:00.538) 0:02:22.221 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node3 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 21 December 2024 07:53:01 -0500 (0:00:00.453) 0:02:22.674 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 21 December 2024 07:53:01 -0500 (0:00:00.359) 0:02:23.033 ***** ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 21 December 2024 07:53:01 -0500 (0:00:00.193) 0:02:23.226 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 21 December 2024 07:53:02 -0500 (0:00:00.728) 0:02:23.955 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 21 December 2024 07:53:02 -0500 (0:00:00.131) 0:02:24.087 ***** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019881", "end": "2024-12-21 07:53:03.042316", "rc": 1, "start": "2024-12-21 07:53:03.022435" } 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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 21 December 2024 07:53:03 -0500 (0:00:00.437) 0:02:24.524 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 21 December 2024 07:53:03 -0500 (0:00:00.180) 0:02:24.705 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 21 December 2024 07:53:03 -0500 (0:00:00.154) 0:02:24.860 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 21 December 2024 07:53:03 -0500 (0:00:00.127) 0:02:24.987 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 21 December 2024 07:53:03 -0500 (0:00:00.143) 0:02:25.130 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 21 December 2024 07:53:03 -0500 (0:00:00.180) 0:02:25.311 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 21 December 2024 07:53:04 -0500 (0:00:00.133) 0:02:25.444 ***** skipping: [managed-node3] => (item={u'what': u'tasks/assert_device_absent.yml', u'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 21 December 2024 07:53:04 -0500 (0:00:00.131) 0:02:25.576 ***** ok: [managed-node3] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 21 December 2024 07:53:04 -0500 (0:00:00.157) 0:02:25.733 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 21 December 2024 07:53:04 -0500 (0:00:00.174) 0:02:25.908 ***** ok: [managed-node3] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.042913", "end": "2024-12-21 07:53:04.949801", "rc": 0, "start": "2024-12-21 07:53:04.906888" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 21 December 2024 07:53:05 -0500 (0:00:00.601) 0:02:26.509 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node3 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 21 December 2024 07:53:05 -0500 (0:00:00.222) 0:02:26.732 ***** ok: [managed-node3] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 21 December 2024 07:53:05 -0500 (0:00:00.132) 0:02:26.864 ***** ok: [managed-node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [managed-node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [managed-node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed-node3] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node3] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 21 December 2024 07:53:05 -0500 (0:00:00.284) 0:02:27.149 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 21 December 2024 07:53:06 -0500 (0:00:00.229) 0:02:27.379 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 21 December 2024 07:53:06 -0500 (0:00:00.290) 0:02:27.670 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004569", "end": "2024-12-21 07:53:07.632604", "rc": 0, "start": "2024-12-21 07:53:06.628035" } STDOUT: bonding_masters dummy0 eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 21 December 2024 07:53:07 -0500 (0:00:01.409) 0:02:29.080 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "dummy0", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 21 December 2024 07:53:07 -0500 (0:00:00.119) 0:02:29.199 ***** ok: [managed-node3] => {} MSG: current_interfaces: [u'bonding_masters', u'dummy0', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 21 December 2024 07:53:08 -0500 (0:00:00.167) 0:02:29.367 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node3 TASK [Include network role] **************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 21 December 2024 07:53:08 -0500 (0:00:00.269) 0:02:29.637 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 December 2024 07:53:08 -0500 (0:00:00.237) 0:02:29.874 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 December 2024 07:53:08 -0500 (0:00:00.183) 0:02:30.058 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 December 2024 07:53:08 -0500 (0:00:00.104) 0:02:30.163 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 December 2024 07:53:08 -0500 (0:00:00.175) 0:02:30.338 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 December 2024 07:53:09 -0500 (0:00:00.110) 0:02:30.448 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 December 2024 07:53:10 -0500 (0:00:01.201) 0:02:31.650 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 December 2024 07:53:12 -0500 (0:00:01.809) 0:02:33.459 ***** ok: [managed-node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 December 2024 07:53:12 -0500 (0:00:00.245) 0:02:33.705 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 December 2024 07:53:12 -0500 (0:00:00.180) 0:02:33.885 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 December 2024 07:53:12 -0500 (0:00:00.106) 0:02:33.991 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 December 2024 07:53:12 -0500 (0:00:00.082) 0:02:34.074 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 December 2024 07:53:12 -0500 (0:00:00.075) 0:02:34.150 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 December 2024 07:53:12 -0500 (0:00:00.080) 0:02:34.231 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 December 2024 07:53:13 -0500 (0:00:00.140) 0:02:34.371 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 December 2024 07:53:13 -0500 (0:00:00.185) 0:02:34.556 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 December 2024 07:53:13 -0500 (0:00:00.116) 0:02:34.672 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 December 2024 07:53:13 -0500 (0:00:00.184) 0:02:34.857 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 December 2024 07:53:13 -0500 (0:00:00.135) 0:02:34.992 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 December 2024 07:53:13 -0500 (0:00:00.116) 0:02:35.109 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 December 2024 07:53:13 -0500 (0:00:00.145) 0:02:35.254 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 December 2024 07:53:14 -0500 (0:00:00.733) 0:02:35.988 ***** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16684nwJ3j1/tmpXGZzjL" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 December 2024 07:53:15 -0500 (0:00:00.553) 0:02:36.542 ***** changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 December 2024 07:53:15 -0500 (0:00:00.695) 0:02:37.237 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 December 2024 07:53:15 -0500 (0:00:00.098) 0:02:37.336 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 December 2024 07:53:16 -0500 (0:00:00.082) 0:02:37.419 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 December 2024 07:53:16 -0500 (0:00:00.079) 0:02:37.498 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 December 2024 07:53:16 -0500 (0:00:00.072) 0:02:37.571 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 21 December 2024 07:53:16 -0500 (0:00:00.381) 0:02:37.952 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 21 December 2024 07:53:16 -0500 (0:00:00.105) 0:02:38.058 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 December 2024 07:53:16 -0500 (0:00:00.183) 0:02:38.242 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 December 2024 07:53:17 -0500 (0:00:00.146) 0:02:38.389 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 December 2024 07:53:17 -0500 (0:00:00.098) 0:02:38.487 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 December 2024 07:53:17 -0500 (0:00:00.072) 0:02:38.559 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 December 2024 07:53:17 -0500 (0:00:00.073) 0:02:38.633 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 December 2024 07:53:18 -0500 (0:00:00.953) 0:02:39.586 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 December 2024 07:53:19 -0500 (0:00:01.339) 0:02:40.926 ***** ok: [managed-node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 December 2024 07:53:19 -0500 (0:00:00.199) 0:02:41.126 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 December 2024 07:53:19 -0500 (0:00:00.145) 0:02:41.271 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 December 2024 07:53:20 -0500 (0:00:00.151) 0:02:41.423 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 December 2024 07:53:20 -0500 (0:00:00.114) 0:02:41.538 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 December 2024 07:53:20 -0500 (0:00:00.139) 0:02:41.677 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 December 2024 07:53:20 -0500 (0:00:00.140) 0:02:41.818 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 December 2024 07:53:20 -0500 (0:00:00.123) 0:02:41.942 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 December 2024 07:53:20 -0500 (0:00:00.220) 0:02:42.162 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 December 2024 07:53:20 -0500 (0:00:00.168) 0:02:42.331 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 December 2024 07:53:21 -0500 (0:00:00.113) 0:02:42.444 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 December 2024 07:53:21 -0500 (0:00:00.137) 0:02:42.582 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 December 2024 07:53:21 -0500 (0:00:00.202) 0:02:42.784 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 December 2024 07:53:21 -0500 (0:00:00.208) 0:02:42.993 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 December 2024 07:53:22 -0500 (0:00:00.717) 0:02:43.710 ***** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16684nwJ3j1/tmp_iX7jY" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 December 2024 07:53:23 -0500 (0:00:00.677) 0:02:44.388 ***** changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 December 2024 07:53:24 -0500 (0:00:01.176) 0:02:45.564 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 December 2024 07:53:24 -0500 (0:00:00.155) 0:02:45.720 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 December 2024 07:53:24 -0500 (0:00:00.232) 0:02:45.953 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 December 2024 07:53:24 -0500 (0:00:00.155) 0:02:46.109 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 December 2024 07:53:24 -0500 (0:00:00.122) 0:02:46.231 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 21 December 2024 07:53:25 -0500 (0:00:00.508) 0:02:46.739 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 December 2024 07:53:25 -0500 (0:00:00.217) 0:02:46.957 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 December 2024 07:53:25 -0500 (0:00:00.247) 0:02:47.205 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 December 2024 07:53:26 -0500 (0:00:00.156) 0:02:47.362 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 December 2024 07:53:26 -0500 (0:00:00.115) 0:02:47.478 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 December 2024 07:53:26 -0500 (0:00:00.200) 0:02:47.679 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 December 2024 07:53:27 -0500 (0:00:01.008) 0:02:48.688 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 December 2024 07:53:29 -0500 (0:00:01.749) 0:02:50.437 ***** ok: [managed-node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 December 2024 07:53:29 -0500 (0:00:00.142) 0:02:50.580 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 December 2024 07:53:29 -0500 (0:00:00.128) 0:02:50.709 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 December 2024 07:53:29 -0500 (0:00:00.126) 0:02:50.835 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 December 2024 07:53:29 -0500 (0:00:00.145) 0:02:50.981 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 December 2024 07:53:29 -0500 (0:00:00.116) 0:02:51.097 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 December 2024 07:53:29 -0500 (0:00:00.116) 0:02:51.214 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 December 2024 07:53:29 -0500 (0:00:00.104) 0:02:51.318 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 December 2024 07:53:30 -0500 (0:00:00.189) 0:02:51.508 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 December 2024 07:53:30 -0500 (0:00:00.112) 0:02:51.621 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 December 2024 07:53:30 -0500 (0:00:00.110) 0:02:51.731 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 December 2024 07:53:30 -0500 (0:00:00.096) 0:02:51.827 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 December 2024 07:53:30 -0500 (0:00:00.094) 0:02:51.922 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 December 2024 07:53:30 -0500 (0:00:00.115) 0:02:52.038 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 December 2024 07:53:31 -0500 (0:00:00.782) 0:02:52.820 ***** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16684nwJ3j1/tmpFV8h1D" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 December 2024 07:53:32 -0500 (0:00:00.525) 0:02:53.345 ***** changed: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 December 2024 07:53:32 -0500 (0:00:00.806) 0:02:54.152 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 December 2024 07:53:32 -0500 (0:00:00.158) 0:02:54.311 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 December 2024 07:53:33 -0500 (0:00:00.181) 0:02:54.492 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 December 2024 07:53:33 -0500 (0:00:00.137) 0:02:54.630 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 December 2024 07:53:33 -0500 (0:00:00.143) 0:02:54.773 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 21 December 2024 07:53:33 -0500 (0:00:00.468) 0:02:55.241 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node3 TASK [Include network role] **************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 21 December 2024 07:53:34 -0500 (0:00:00.301) 0:02:55.543 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 21 December 2024 07:53:34 -0500 (0:00:00.180) 0:02:55.724 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 21 December 2024 07:53:34 -0500 (0:00:00.232) 0:02:55.957 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 21 December 2024 07:53:34 -0500 (0:00:00.181) 0:02:56.138 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 21 December 2024 07:53:35 -0500 (0:00:00.219) 0:02:56.358 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 21 December 2024 07:53:35 -0500 (0:00:00.126) 0:02:56.485 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 21 December 2024 07:53:36 -0500 (0:00:01.045) 0:02:57.530 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 21 December 2024 07:53:37 -0500 (0:00:01.319) 0:02:58.850 ***** ok: [managed-node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 21 December 2024 07:53:37 -0500 (0:00:00.120) 0:02:58.971 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 21 December 2024 07:53:37 -0500 (0:00:00.138) 0:02:59.109 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 21 December 2024 07:53:37 -0500 (0:00:00.096) 0:02:59.206 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 21 December 2024 07:53:37 -0500 (0:00:00.079) 0:02:59.286 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 21 December 2024 07:53:38 -0500 (0:00:00.076) 0:02:59.363 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 21 December 2024 07:53:38 -0500 (0:00:00.082) 0:02:59.445 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 21 December 2024 07:53:38 -0500 (0:00:00.110) 0:02:59.556 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 21 December 2024 07:53:38 -0500 (0:00:00.172) 0:02:59.728 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 21 December 2024 07:53:38 -0500 (0:00:00.098) 0:02:59.827 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 21 December 2024 07:53:38 -0500 (0:00:00.076) 0:02:59.903 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 21 December 2024 07:53:38 -0500 (0:00:00.134) 0:03:00.037 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 21 December 2024 07:53:38 -0500 (0:00:00.077) 0:03:00.115 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 21 December 2024 07:53:38 -0500 (0:00:00.084) 0:03:00.200 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 21 December 2024 07:53:39 -0500 (0:00:00.566) 0:03:00.766 ***** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16684nwJ3j1/tmpgE40zz" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 21 December 2024 07:53:39 -0500 (0:00:00.396) 0:03:01.162 ***** ok: [managed-node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 21 December 2024 07:53:40 -0500 (0:00:00.672) 0:03:01.834 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 21 December 2024 07:53:40 -0500 (0:00:00.121) 0:03:01.955 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 21 December 2024 07:53:40 -0500 (0:00:00.105) 0:03:02.061 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 21 December 2024 07:53:40 -0500 (0:00:00.101) 0:03:02.163 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 21 December 2024 07:53:40 -0500 (0:00:00.074) 0:03:02.237 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 21 December 2024 07:53:41 -0500 (0:00:00.392) 0:03:02.629 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node3 included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed-node3 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 21 December 2024 07:53:41 -0500 (0:00:00.236) 0:03:02.865 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 21 December 2024 07:53:41 -0500 (0:00:00.265) 0:03:03.131 ***** ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 21 December 2024 07:53:41 -0500 (0:00:00.122) 0:03:03.253 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 21 December 2024 07:53:42 -0500 (0:00:00.391) 0:03:03.645 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 21 December 2024 07:53:42 -0500 (0:00:00.079) 0:03:03.724 ***** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020339", "end": "2024-12-21 07:53:42.649703", "rc": 1, "start": "2024-12-21 07:53:42.629364" } 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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 21 December 2024 07:53:42 -0500 (0:00:00.430) 0:03:04.155 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 21 December 2024 07:53:42 -0500 (0:00:00.125) 0:03:04.280 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 21 December 2024 07:53:43 -0500 (0:00:00.139) 0:03:04.420 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 21 December 2024 07:53:43 -0500 (0:00:00.138) 0:03:04.558 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 21 December 2024 07:53:43 -0500 (0:00:00.116) 0:03:04.675 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 21 December 2024 07:53:43 -0500 (0:00:00.093) 0:03:04.769 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 21 December 2024 07:53:43 -0500 (0:00:00.077) 0:03:04.847 ***** [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ok: [managed-node3] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.621138", "end": "2024-12-21 07:53:44.376807", "rc": 0, "start": "2024-12-21 07:53:43.755669" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 21 December 2024 07:53:44 -0500 (0:00:01.035) 0:03:05.882 ***** ok: [managed-node3] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 21 December 2024 07:53:44 -0500 (0:00:00.115) 0:03:05.998 ***** ok: [managed-node3] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 21 December 2024 07:53:44 -0500 (0:00:00.119) 0:03:06.118 ***** skipping: [managed-node3] => (item={u'what': u'tasks/assert_device_absent.yml', u'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 21 December 2024 07:53:44 -0500 (0:00:00.130) 0:03:06.248 ***** ok: [managed-node3] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 21 December 2024 07:53:45 -0500 (0:00:00.198) 0:03:06.447 ***** included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 included: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node3 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 21 December 2024 07:53:45 -0500 (0:00:00.378) 0:03:06.826 ***** ok: [managed-node3] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.044799", "end": "2024-12-21 07:53:45.853788", "rc": 0, "start": "2024-12-21 07:53:45.808989" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 21 December 2024 07:53:45 -0500 (0:00:00.461) 0:03:07.287 ***** ok: [managed-node3] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.007353", "end": "2024-12-21 07:53:46.201987", "rc": 0, "start": "2024-12-21 07:53:46.194634" } 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 0e:ce:b3:0d:9c:0f brd ff:ff:ff:ff:ff:ff inet 10.31.41.154/22 brd 10.31.43.255 scope global noprefixroute dynamic eth0 valid_lft 3226sec preferred_lft 3226sec inet6 fe80::cce:b3ff:fe0d:9c0f/64 scope link valid_lft forever preferred_lft forever 35: dummy0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 5a:6e:da:71:ae:37 brd ff:ff:ff:ff:ff:ff IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.41.154 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-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 21 December 2024 07:53:46 -0500 (0:00:00.351) 0:03:07.639 ***** ok: [managed-node3] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.494540", "end": "2024-12-21 07:53:47.095579", "rc": 0, "start": "2024-12-21 07:53:46.601039" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 1102 0 --:--:-- --:--:-- --:--:-- 1101 % 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 1478 0 --:--:-- --:--:-- --:--:-- 1484 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node3 : ok=338 changed=14 unreachable=0 failed=0 skipped=284 rescued=0 ignored=10 Saturday 21 December 2024 07:53:47 -0500 (0:00:00.844) 0:03:08.483 ***** =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 1.81s /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.75s /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.75s /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.71s /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.67s /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.62s /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.62s /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.58s /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.50s /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.49s /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gather current interface info ------------------------------------------- 1.48s /tmp/collections-5h1/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.46s /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gather current interface info ------------------------------------------- 1.43s /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.41s /tmp/collections-5h1/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.40s /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.40s /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.34s /tmp/collections-5h1/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-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.31s /tmp/collections-5h1/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21