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-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Saturday 30 November 2024 07:53:37 -0500 (0:00:00.039) 0:00:00.039 ***** ok: [managed-node3] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Saturday 30 November 2024 07:53:38 -0500 (0:00:01.264) 0:00:01.304 ***** included: /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 30 November 2024 07:53:38 -0500 (0:00:00.142) 0:00:01.447 ***** ok: [managed-node3] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 30 November 2024 07:53:39 -0500 (0:00:00.721) 0:00:02.168 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 30 November 2024 07:53:40 -0500 (0:00:00.745) 0:00:02.914 ***** ok: [managed-node3] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 30 November 2024 07:53:40 -0500 (0:00:00.068) 0:00:02.983 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 30 November 2024 07:53:40 -0500 (0:00:00.065) 0:00:03.049 ***** included: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node3 TASK [Create EPEL 7] *********************************************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 30 November 2024 07:53:40 -0500 (0:00:00.116) 0:00:03.165 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 30 November 2024 07:53:40 -0500 (0:00:00.655) 0:00:03.821 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 30 November 2024 07:53:42 -0500 (0:00:01.055) 0:00:04.876 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.161903", "end": "2024-11-30 07:53:42.639275", "rc": 0, "start": "2024-11-30 07:53:42.477372" } 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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 30 November 2024 07:53:42 -0500 (0:00:00.791) 0:00:05.668 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 30 November 2024 07:53:42 -0500 (0:00:00.082) 0:00:05.751 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Saturday 30 November 2024 07:53:42 -0500 (0:00:00.054) 0:00:05.806 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 30 November 2024 07:53:43 -0500 (0:00:00.077) 0:00:05.883 ***** ok: [managed-node3] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 30 November 2024 07:53:43 -0500 (0:00:00.914) 0:00:06.798 ***** ok: [managed-node3] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 30 November 2024 07:53:44 -0500 (0:00:00.075) 0:00:06.873 ***** included: /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 30 November 2024 07:53:44 -0500 (0:00:00.145) 0:00:07.018 ***** ok: [managed-node3] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 30 November 2024 07:53:44 -0500 (0:00:00.047) 0:00:07.066 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 30 November 2024 07:53:44 -0500 (0:00:00.211) 0:00:07.277 ***** included: /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 30 November 2024 07:53:44 -0500 (0:00:00.074) 0:00:07.352 ***** included: /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 30 November 2024 07:53:44 -0500 (0:00:00.110) 0:00:07.463 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004214", "end": "2024-11-30 07:53:46.181332", "rc": 0, "start": "2024-11-30 07:53:45.177118" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 30 November 2024 07:53:46 -0500 (0:00:01.606) 0:00:09.069 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 30 November 2024 07:53:46 -0500 (0:00:00.058) 0:00:09.128 ***** ok: [managed-node3] => {} MSG: current_interfaces: [u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 30 November 2024 07:53:46 -0500 (0:00:00.049) 0:00:09.177 ***** included: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node3 included: /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 30 November 2024 07:53:46 -0500 (0:00:00.079) 0:00:09.256 ***** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006462", "end": "2024-11-30 07:53:46.746252", "rc": 1, "start": "2024-11-30 07:53:46.739790" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 30 November 2024 07:53:46 -0500 (0:00:00.369) 0:00:09.626 ***** included: /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 30 November 2024 07:53:46 -0500 (0:00:00.049) 0:00:09.675 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 30 November 2024 07:53:47 -0500 (0:00:00.552) 0:00:10.228 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 30 November 2024 07:53:47 -0500 (0:00:00.082) 0:00:10.310 ***** included: /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 30 November 2024 07:53:47 -0500 (0:00:00.158) 0:00:10.468 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:53:48 -0500 (0:00:00.367) 0:00:10.836 ***** included: /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:53:48 -0500 (0:00:00.168) 0:00:11.005 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:53:48 -0500 (0:00:00.043) 0:00:11.048 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:53:48 -0500 (0:00:00.032) 0:00:11.081 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:53:48 -0500 (0:00:00.058) 0:00:11.139 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:53:49 -0500 (0:00:01.220) 0:00:12.360 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:53:51 -0500 (0:00:01.963) 0:00:14.323 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:53:51 -0500 (0:00:00.188) 0:00:14.513 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:53:51 -0500 (0:00:00.139) 0:00:14.652 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:53:51 -0500 (0:00:00.124) 0:00:14.776 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:53:52 -0500 (0:00:00.101) 0:00:14.878 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:53:52 -0500 (0:00:00.092) 0:00:14.970 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:53:52 -0500 (0:00:00.118) 0:00:15.089 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:53:52 -0500 (0:00:00.124) 0:00:15.214 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:53:55 -0500 (0:00:03.315) 0:00:18.529 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:53:55 -0500 (0:00:00.111) 0:00:18.640 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:53:55 -0500 (0:00:00.096) 0:00:18.737 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:53:56 -0500 (0:00:00.096) 0:00:18.834 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:53:56 -0500 (0:00:00.164) 0:00:18.998 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:53:56 -0500 (0:00:00.128) 0:00:19.126 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:53:57 -0500 (0:00:00.955) 0:00:20.082 ***** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16697ltTwGb/tmp2gij35" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:53:57 -0500 (0:00:00.524) 0:00:20.606 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:53:58 -0500 (0:00:01.173) 0:00:21.780 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:53:59 -0500 (0:00:00.083) 0:00:21.863 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:53:59 -0500 (0:00:00.091) 0:00:21.954 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:53:59 -0500 (0:00:00.124) 0:00:22.079 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:53:59 -0500 (0:00:00.095) 0:00:22.175 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 30 November 2024 07:53:59 -0500 (0:00:00.544) 0:00:22.719 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 30 November 2024 07:54:00 -0500 (0:00:00.114) 0:00:22.834 ***** included: /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 30 November 2024 07:54:00 -0500 (0:00:00.220) 0:00:23.054 ***** included: /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 30 November 2024 07:54:00 -0500 (0:00:00.210) 0:00:23.265 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 30 November 2024 07:54:00 -0500 (0:00:00.253) 0:00:23.518 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1732971238.8221774, "block_size": 4096, "blocks": 8, "ctime": 1732971238.8221774, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9253, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1732971238.8221774, "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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 30 November 2024 07:54:01 -0500 (0:00:00.430) 0:00:23.948 ***** ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 30 November 2024 07:54:01 -0500 (0:00:00.119) 0:00:24.067 ***** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021976", "end": "2024-11-30 07:54:01.555150", "rc": 1, "start": "2024-11-30 07:54:01.533174" } 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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 30 November 2024 07:54:01 -0500 (0:00:00.550) 0:00:24.617 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 30 November 2024 07:54:02 -0500 (0:00:00.237) 0:00:24.855 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003132", "end": "2024-11-30 07:54:02.479642", "rc": 0, "start": "2024-11-30 07:54:02.476510" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 30 November 2024 07:54:02 -0500 (0:00:00.589) 0:00:25.445 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 30 November 2024 07:54:02 -0500 (0:00:00.155) 0:00:25.601 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003121", "end": "2024-11-30 07:54:03.329638", "rc": 0, "start": "2024-11-30 07:54:03.326517" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 30 November 2024 07:54:03 -0500 (0:00:00.838) 0:00:26.439 ***** ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 30 November 2024 07:54:03 -0500 (0:00:00.133) 0:00:26.573 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 30 November 2024 07:54:03 -0500 (0:00:00.143) 0:00:26.717 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 30 November 2024 07:54:04 -0500 (0:00:00.120) 0:00:26.838 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 30 November 2024 07:54:04 -0500 (0:00:00.108) 0:00:26.947 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 30 November 2024 07:54:04 -0500 (0:00:00.120) 0:00:27.067 ***** ok: [managed-node3] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 30 November 2024 07:54:04 -0500 (0:00:00.238) 0:00:27.306 ***** included: /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 30 November 2024 07:54:04 -0500 (0:00:00.279) 0:00:27.585 ***** 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.039028", "end": "2024-11-30 07:54:05.112302", "rc": 1, "start": "2024-11-30 07:54:05.073274" } 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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 30 November 2024 07:54:05 -0500 (0:00:00.562) 0:00:28.148 ***** included: /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 30 November 2024 07:54:05 -0500 (0:00:00.187) 0:00:28.336 ***** ok: [managed-node3] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 30 November 2024 07:54:05 -0500 (0:00:00.116) 0:00:28.452 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 30 November 2024 07:54:05 -0500 (0:00:00.353) 0:00:28.806 ***** included: /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 30 November 2024 07:54:06 -0500 (0:00:00.301) 0:00:29.108 ***** included: /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 30 November 2024 07:54:06 -0500 (0:00:00.234) 0:00:29.342 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004172", "end": "2024-11-30 07:54:07.840982", "rc": 0, "start": "2024-11-30 07:54:06.836810" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 30 November 2024 07:54:07 -0500 (0:00:01.431) 0:00:30.774 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 30 November 2024 07:54:08 -0500 (0:00:00.117) 0:00:30.892 ***** ok: [managed-node3] => {} MSG: current_interfaces: [u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 30 November 2024 07:54:08 -0500 (0:00:00.118) 0:00:31.010 ***** included: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node3 included: /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 30 November 2024 07:54:08 -0500 (0:00:00.234) 0:00:31.245 ***** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006589", "end": "2024-11-30 07:54:08.717803", "rc": 1, "start": "2024-11-30 07:54:08.711214" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 30 November 2024 07:54:08 -0500 (0:00:00.495) 0:00:31.740 ***** included: /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 30 November 2024 07:54:09 -0500 (0:00:00.199) 0:00:31.940 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 30 November 2024 07:54:09 -0500 (0:00:00.589) 0:00:32.529 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 30 November 2024 07:54:09 -0500 (0:00:00.126) 0:00:32.655 ***** included: /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 30 November 2024 07:54:10 -0500 (0:00:00.269) 0:00:32.925 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:54:10 -0500 (0:00:00.284) 0:00:33.209 ***** included: /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:54:10 -0500 (0:00:00.260) 0:00:33.470 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:54:10 -0500 (0:00:00.247) 0:00:33.717 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:54:11 -0500 (0:00:00.184) 0:00:33.902 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:54:11 -0500 (0:00:00.208) 0:00:34.111 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:54:12 -0500 (0:00:01.139) 0:00:35.251 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:54:14 -0500 (0:00:01.706) 0:00:36.957 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:54:14 -0500 (0:00:00.113) 0:00:37.071 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:54:14 -0500 (0:00:00.087) 0:00:37.158 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:54:14 -0500 (0:00:00.111) 0:00:37.269 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:54:14 -0500 (0:00:00.111) 0:00:37.381 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:54:14 -0500 (0:00:00.096) 0:00:37.477 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:54:14 -0500 (0:00:00.117) 0:00:37.595 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:54:14 -0500 (0:00:00.089) 0:00:37.685 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:54:15 -0500 (0:00:00.151) 0:00:37.837 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:54:15 -0500 (0:00:00.169) 0:00:38.007 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:54:15 -0500 (0:00:00.115) 0:00:38.122 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:54:15 -0500 (0:00:00.123) 0:00:38.245 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:54:15 -0500 (0:00:00.180) 0:00:38.426 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:54:15 -0500 (0:00:00.144) 0:00:38.571 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:54:16 -0500 (0:00:00.992) 0:00:39.563 ***** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16697ltTwGb/tmpCMp_00" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:54:17 -0500 (0:00:00.487) 0:00:40.051 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:54:18 -0500 (0:00:00.788) 0:00:40.840 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:54:18 -0500 (0:00:00.112) 0:00:40.952 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:54:18 -0500 (0:00:00.118) 0:00:41.070 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:54:18 -0500 (0:00:00.136) 0:00:41.207 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:54:18 -0500 (0:00:00.122) 0:00:41.330 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 30 November 2024 07:54:18 -0500 (0:00:00.440) 0:00:41.770 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 30 November 2024 07:54:19 -0500 (0:00:00.113) 0:00:41.884 ***** included: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node3 included: /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 30 November 2024 07:54:19 -0500 (0:00:00.264) 0:00:42.148 ***** included: /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 30 November 2024 07:54:19 -0500 (0:00:00.242) 0:00:42.391 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 30 November 2024 07:54:20 -0500 (0:00:00.633) 0:00:43.024 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 30 November 2024 07:54:20 -0500 (0:00:00.087) 0:00:43.112 ***** included: /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 30 November 2024 07:54:20 -0500 (0:00:00.241) 0:00:43.354 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 30 November 2024 07:54:20 -0500 (0:00:00.114) 0:00:43.468 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1732971257.8691287, "block_size": 4096, "blocks": 8, "ctime": 1732971257.8691287, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9253, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1732971257.8691287, "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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 30 November 2024 07:54:21 -0500 (0:00:00.546) 0:00:44.015 ***** ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 30 November 2024 07:54:21 -0500 (0:00:00.187) 0:00:44.202 ***** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018543", "end": "2024-11-30 07:54:21.749835", "rc": 1, "start": "2024-11-30 07:54:21.731292" } 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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 30 November 2024 07:54:21 -0500 (0:00:00.484) 0:00:44.687 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 30 November 2024 07:54:21 -0500 (0:00:00.072) 0:00:44.760 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003171", "end": "2024-11-30 07:54:22.192303", "rc": 0, "start": "2024-11-30 07:54:22.189132" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 30 November 2024 07:54:22 -0500 (0:00:00.354) 0:00:45.114 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 30 November 2024 07:54:22 -0500 (0:00:00.085) 0:00:45.199 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002999", "end": "2024-11-30 07:54:22.705754", "rc": 0, "start": "2024-11-30 07:54:22.702755" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 30 November 2024 07:54:22 -0500 (0:00:00.510) 0:00:45.710 ***** ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 30 November 2024 07:54:23 -0500 (0:00:00.131) 0:00:45.842 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 30 November 2024 07:54:23 -0500 (0:00:00.123) 0:00:45.965 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 30 November 2024 07:54:23 -0500 (0:00:00.138) 0:00:46.104 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 30 November 2024 07:54:23 -0500 (0:00:00.116) 0:00:46.220 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 30 November 2024 07:54:23 -0500 (0:00:00.105) 0:00:46.326 ***** ok: [managed-node3] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 30 November 2024 07:54:23 -0500 (0:00:00.116) 0:00:46.442 ***** included: /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 30 November 2024 07:54:24 -0500 (0:00:00.405) 0:00:46.848 ***** 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.035328", "end": "2024-11-30 07:54:24.607158", "rc": 1, "start": "2024-11-30 07:54:24.571830" } 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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 30 November 2024 07:54:24 -0500 (0:00:00.808) 0:00:47.657 ***** included: /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 30 November 2024 07:54:25 -0500 (0:00:00.242) 0:00:47.899 ***** ok: [managed-node3] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 30 November 2024 07:54:25 -0500 (0:00:00.153) 0:00:48.053 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 30 November 2024 07:54:25 -0500 (0:00:00.223) 0:00:48.277 ***** included: /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 30 November 2024 07:54:25 -0500 (0:00:00.227) 0:00:48.504 ***** included: /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 30 November 2024 07:54:25 -0500 (0:00:00.244) 0:00:48.749 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004567", "end": "2024-11-30 07:54:27.243850", "rc": 0, "start": "2024-11-30 07:54:26.239283" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 30 November 2024 07:54:27 -0500 (0:00:01.458) 0:00:50.207 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 30 November 2024 07:54:27 -0500 (0:00:00.145) 0:00:50.353 ***** ok: [managed-node3] => {} MSG: current_interfaces: [u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 30 November 2024 07:54:27 -0500 (0:00:00.138) 0:00:50.491 ***** included: /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 30 November 2024 07:54:27 -0500 (0:00:00.230) 0:00:50.721 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:54:28 -0500 (0:00:00.291) 0:00:51.013 ***** included: /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:54:28 -0500 (0:00:00.297) 0:00:51.311 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:54:28 -0500 (0:00:00.184) 0:00:51.495 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:54:28 -0500 (0:00:00.119) 0:00:51.614 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:54:28 -0500 (0:00:00.168) 0:00:51.782 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:54:30 -0500 (0:00:01.284) 0:00:53.067 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:54:31 -0500 (0:00:01.359) 0:00:54.427 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:54:31 -0500 (0:00:00.152) 0:00:54.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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:54:31 -0500 (0:00:00.142) 0:00:54.722 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:54:32 -0500 (0:00:00.212) 0:00:54.935 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:54:32 -0500 (0:00:00.133) 0:00:55.068 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:54:32 -0500 (0:00:00.138) 0:00:55.207 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:54:32 -0500 (0:00:00.120) 0:00:55.327 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:54:32 -0500 (0:00:00.179) 0:00:55.507 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:54:32 -0500 (0:00:00.214) 0:00:55.722 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:54:33 -0500 (0:00:00.121) 0:00:55.844 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:54:33 -0500 (0:00:00.124) 0:00:55.968 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:54:33 -0500 (0:00:00.176) 0:00:56.145 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:54:33 -0500 (0:00:00.199) 0:00:56.345 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:54:33 -0500 (0:00:00.141) 0:00:56.486 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:54:34 -0500 (0:00:00.643) 0:00:57.130 ***** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16697ltTwGb/tmp7VwPa4" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:54:34 -0500 (0:00:00.487) 0:00:57.617 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:54:35 -0500 (0:00:00.756) 0:00:58.373 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:54:35 -0500 (0:00:00.110) 0:00:58.484 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:54:35 -0500 (0:00:00.110) 0:00:58.594 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:54:35 -0500 (0:00:00.117) 0:00:58.712 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:54:36 -0500 (0:00:00.197) 0:00:58.912 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 30 November 2024 07:54:36 -0500 (0:00:00.752) 0:00:59.665 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 30 November 2024 07:54:37 -0500 (0:00:00.243) 0:00:59.908 ***** included: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 TASK [Include network role] **************************************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 30 November 2024 07:54:37 -0500 (0:00:00.316) 0:01:00.225 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:54:37 -0500 (0:00:00.244) 0:01:00.469 ***** included: /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:54:37 -0500 (0:00:00.236) 0:01:00.705 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:54:38 -0500 (0:00:00.126) 0:01:00.832 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:54:38 -0500 (0:00:00.091) 0:01:00.924 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:54:38 -0500 (0:00:00.115) 0:01:01.039 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:54:39 -0500 (0:00:00.938) 0:01:01.978 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:54:40 -0500 (0:00:01.837) 0:01:03.815 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:54:41 -0500 (0:00:00.134) 0:01:03.950 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:54:41 -0500 (0:00:00.114) 0:01:04.065 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:54:41 -0500 (0:00:00.139) 0:01:04.204 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:54:41 -0500 (0:00:00.108) 0:01:04.312 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:54:41 -0500 (0:00:00.123) 0:01:04.436 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:54:41 -0500 (0:00:00.096) 0:01:04.533 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:54:41 -0500 (0:00:00.106) 0:01:04.640 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:54:41 -0500 (0:00:00.187) 0:01:04.827 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:54:42 -0500 (0:00:00.115) 0:01:04.943 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:54:42 -0500 (0:00:00.133) 0:01:05.077 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:54:42 -0500 (0:00:00.191) 0:01:05.268 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:54:42 -0500 (0:00:00.169) 0:01:05.437 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:54:42 -0500 (0:00:00.150) 0:01:05.587 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:54:43 -0500 (0:00:00.592) 0:01:06.180 ***** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16697ltTwGb/tmpaNQvC2" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:54:44 -0500 (0:00:00.689) 0:01:06.869 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:54:45 -0500 (0:00:01.074) 0:01:07.944 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:54:45 -0500 (0:00:00.137) 0:01:08.082 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:54:45 -0500 (0:00:00.147) 0:01:08.229 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:54:45 -0500 (0:00:00.102) 0:01:08.332 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:54:45 -0500 (0:00:00.101) 0:01:08.433 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 30 November 2024 07:54:45 -0500 (0:00:00.369) 0:01:08.803 ***** included: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node3 included: /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 30 November 2024 07:54:46 -0500 (0:00:00.171) 0:01:08.974 ***** included: /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 30 November 2024 07:54:46 -0500 (0:00:00.169) 0:01:09.144 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1732971284.8960593, "block_size": 4096, "blocks": 0, "ctime": 1732971284.8950593, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17707, "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": 1732971284.8950593, "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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 30 November 2024 07:54:46 -0500 (0:00:00.423) 0:01:09.568 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 30 November 2024 07:54:46 -0500 (0:00:00.079) 0:01:09.647 ***** included: /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 30 November 2024 07:54:46 -0500 (0:00:00.167) 0:01:09.814 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 30 November 2024 07:54:47 -0500 (0:00:00.092) 0:01:09.907 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1732971284.7400599, "block_size": 4096, "blocks": 8, "ctime": 1732971275.3820837, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9253, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1732971275.3820837, "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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 30 November 2024 07:54:47 -0500 (0:00:00.491) 0:01:10.399 ***** ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 30 November 2024 07:54:47 -0500 (0:00:00.185) 0:01:10.585 ***** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019595", "end": "2024-11-30 07:54:48.177256", "rc": 1, "start": "2024-11-30 07:54:48.157661" } 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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 30 November 2024 07:54:48 -0500 (0:00:00.555) 0:01:11.140 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 30 November 2024 07:54:48 -0500 (0:00:00.150) 0:01:11.291 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003093", "end": "2024-11-30 07:54:48.967772", "rc": 0, "start": "2024-11-30 07:54:48.964679" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 30 November 2024 07:54:49 -0500 (0:00:00.775) 0:01:12.066 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 30 November 2024 07:54:49 -0500 (0:00:00.166) 0:01:12.233 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002974", "end": "2024-11-30 07:54:49.708777", "rc": 0, "start": "2024-11-30 07:54:49.705803" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 30 November 2024 07:54:49 -0500 (0:00:00.432) 0:01:12.665 ***** ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 30 November 2024 07:54:49 -0500 (0:00:00.096) 0:01:12.761 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 30 November 2024 07:54:50 -0500 (0:00:00.090) 0:01:12.852 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 30 November 2024 07:54:50 -0500 (0:00:00.123) 0:01:12.976 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 30 November 2024 07:54:50 -0500 (0:00:00.161) 0:01:13.137 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 30 November 2024 07:54:50 -0500 (0:00:00.109) 0:01:13.247 ***** ok: [managed-node3] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 30 November 2024 07:54:50 -0500 (0:00:00.223) 0:01:13.471 ***** included: /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 30 November 2024 07:54:51 -0500 (0:00:00.429) 0:01:13.900 ***** 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.046016", "end": "2024-11-30 07:54:51.390672", "rc": 0, "start": "2024-11-30 07:54:51.344656" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 30 November 2024 07:54:51 -0500 (0:00:00.421) 0:01:14.321 ***** included: /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 30 November 2024 07:54:51 -0500 (0:00:00.284) 0:01:14.605 ***** ok: [managed-node3] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 30 November 2024 07:54:51 -0500 (0:00:00.114) 0:01:14.720 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 30 November 2024 07:54:52 -0500 (0:00:00.264) 0:01:14.985 ***** included: /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 30 November 2024 07:54:52 -0500 (0:00:00.215) 0:01:15.200 ***** included: /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 30 November 2024 07:54:52 -0500 (0:00:00.195) 0:01:15.396 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004130", "end": "2024-11-30 07:54:53.969344", "rc": 0, "start": "2024-11-30 07:54:52.965214" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 30 November 2024 07:54:54 -0500 (0:00:01.554) 0:01:16.950 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 30 November 2024 07:54:54 -0500 (0:00:00.140) 0:01:17.090 ***** ok: [managed-node3] => {} MSG: current_interfaces: [u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 30 November 2024 07:54:54 -0500 (0:00:00.101) 0:01:17.191 ***** included: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 included: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 TASK [Include network role] **************************************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 30 November 2024 07:54:54 -0500 (0:00:00.227) 0:01:17.419 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:54:54 -0500 (0:00:00.200) 0:01:17.620 ***** included: /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:54:55 -0500 (0:00:00.227) 0:01:17.848 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:54:55 -0500 (0:00:00.228) 0:01:18.077 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:54:55 -0500 (0:00:00.090) 0:01:18.167 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:54:55 -0500 (0:00:00.105) 0:01:18.272 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:54:56 -0500 (0:00:01.076) 0:01:19.349 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:54:57 -0500 (0:00:01.413) 0:01:20.763 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:54:58 -0500 (0:00:00.099) 0:01:20.862 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:54:58 -0500 (0:00:00.074) 0:01:20.937 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:54:58 -0500 (0:00:00.074) 0:01:21.012 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:54:58 -0500 (0:00:00.108) 0:01:21.120 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:54:58 -0500 (0:00:00.142) 0:01:21.262 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:54:58 -0500 (0:00:00.193) 0:01:21.456 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:54:58 -0500 (0:00:00.125) 0:01:21.581 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:54:58 -0500 (0:00:00.202) 0:01:21.784 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:54:59 -0500 (0:00:00.095) 0:01:21.880 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:54:59 -0500 (0:00:00.090) 0:01:21.970 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:54:59 -0500 (0:00:00.083) 0:01:22.054 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:54:59 -0500 (0:00:00.073) 0:01:22.127 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:54:59 -0500 (0:00:00.080) 0:01:22.208 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:54:59 -0500 (0:00:00.591) 0:01:22.800 ***** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16697ltTwGb/tmpECkDZi" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:55:00 -0500 (0:00:00.403) 0:01:23.204 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:55:01 -0500 (0:00:00.705) 0:01:23.909 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:55:01 -0500 (0:00:00.123) 0:01:24.033 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:55:01 -0500 (0:00:00.122) 0:01:24.155 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:55:01 -0500 (0:00:00.124) 0:01:24.280 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:55:01 -0500 (0:00:00.102) 0:01:24.383 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 30 November 2024 07:55:01 -0500 (0:00:00.395) 0:01:24.778 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 30 November 2024 07:55:02 -0500 (0:00:00.185) 0:01:24.964 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:55:02 -0500 (0:00:00.146) 0:01:25.110 ***** included: /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:55:02 -0500 (0:00:00.208) 0:01:25.319 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:55:02 -0500 (0:00:00.145) 0:01:25.464 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:55:02 -0500 (0:00:00.144) 0:01:25.609 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:55:02 -0500 (0:00:00.120) 0:01:25.729 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:55:03 -0500 (0:00:00.992) 0:01:26.721 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:55:05 -0500 (0:00:01.430) 0:01:28.151 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:55:05 -0500 (0:00:00.083) 0:01:28.235 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:55:05 -0500 (0:00:00.203) 0:01:28.438 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:55:05 -0500 (0:00:00.237) 0:01:28.676 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:55:06 -0500 (0:00:00.228) 0:01:28.905 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:55:06 -0500 (0:00:00.195) 0:01:29.100 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:55:06 -0500 (0:00:00.127) 0:01:29.228 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:55:06 -0500 (0:00:00.162) 0:01:29.390 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:55:06 -0500 (0:00:00.376) 0:01:29.767 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:55:07 -0500 (0:00:00.123) 0:01:29.890 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:55:07 -0500 (0:00:00.145) 0:01:30.035 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:55:07 -0500 (0:00:00.130) 0:01:30.166 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:55:07 -0500 (0:00:00.162) 0:01:30.328 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:55:07 -0500 (0:00:00.142) 0:01:30.470 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:55:08 -0500 (0:00:00.553) 0:01:31.024 ***** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16697ltTwGb/tmpUNS7GE" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:55:08 -0500 (0:00:00.434) 0:01:31.458 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:55:09 -0500 (0:00:00.949) 0:01:32.407 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:55:09 -0500 (0:00:00.113) 0:01:32.521 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:55:09 -0500 (0:00:00.185) 0:01:32.706 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:55:10 -0500 (0:00:00.242) 0:01:32.948 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:55:10 -0500 (0:00:00.125) 0:01:33.074 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 30 November 2024 07:55:10 -0500 (0:00:00.639) 0:01:33.714 ***** included: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node3 TASK [Include network role] **************************************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 30 November 2024 07:55:11 -0500 (0:00:00.318) 0:01:34.032 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:55:11 -0500 (0:00:00.263) 0:01:34.295 ***** included: /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:55:11 -0500 (0:00:00.267) 0:01:34.563 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:55:12 -0500 (0:00:00.297) 0:01:34.861 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:55:12 -0500 (0:00:00.148) 0:01:35.010 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:55:12 -0500 (0:00:00.174) 0:01:35.184 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:55:13 -0500 (0:00:00.957) 0:01:36.141 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:55:14 -0500 (0:00:01.428) 0:01:37.570 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:55:14 -0500 (0:00:00.121) 0:01:37.693 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:55:14 -0500 (0:00:00.117) 0:01:37.810 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:55:15 -0500 (0:00:00.118) 0:01:37.928 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:55:15 -0500 (0:00:00.230) 0:01:38.159 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:55:15 -0500 (0:00:00.186) 0:01:38.345 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:55:15 -0500 (0:00:00.208) 0:01:38.554 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:55:15 -0500 (0:00:00.185) 0:01:38.739 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:55:16 -0500 (0:00:00.210) 0:01:38.950 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:55:16 -0500 (0:00:00.116) 0:01:39.067 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:55:16 -0500 (0:00:00.116) 0:01:39.183 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:55:16 -0500 (0:00:00.128) 0:01:39.311 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:55:16 -0500 (0:00:00.114) 0:01:39.426 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:55:16 -0500 (0:00:00.116) 0:01:39.543 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:55:17 -0500 (0:00:00.760) 0:01:40.303 ***** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16697ltTwGb/tmpd_4gnq" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:55:17 -0500 (0:00:00.404) 0:01:40.707 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:55:18 -0500 (0:00:00.884) 0:01:41.592 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:55:18 -0500 (0:00:00.154) 0:01:41.747 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:55:19 -0500 (0:00:00.160) 0:01:41.907 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:55:19 -0500 (0:00:00.159) 0:01:42.066 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:55:19 -0500 (0:00:00.118) 0:01:42.185 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 30 November 2024 07:55:19 -0500 (0:00:00.538) 0:01:42.723 ***** included: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node3 included: /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 30 November 2024 07:55:20 -0500 (0:00:00.394) 0:01:43.118 ***** included: /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 30 November 2024 07:55:20 -0500 (0:00:00.225) 0:01:43.343 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1732971309.3839965, "block_size": 4096, "blocks": 0, "ctime": 1732971309.3829966, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17707, "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": 1732971309.3829966, "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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 30 November 2024 07:55:20 -0500 (0:00:00.427) 0:01:43.771 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 30 November 2024 07:55:21 -0500 (0:00:00.136) 0:01:43.907 ***** included: /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 30 November 2024 07:55:21 -0500 (0:00:00.224) 0:01:44.132 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 30 November 2024 07:55:21 -0500 (0:00:00.123) 0:01:44.256 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 30 November 2024 07:55:22 -0500 (0:00:00.661) 0:01:44.918 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 30 November 2024 07:55:22 -0500 (0:00:00.114) 0:01:45.032 ***** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019153", "end": "2024-11-30 07:55:22.516221", "rc": 1, "start": "2024-11-30 07:55:22.497068" } 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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 30 November 2024 07:55:22 -0500 (0:00:00.464) 0:01:45.497 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 30 November 2024 07:55:22 -0500 (0:00:00.212) 0:01:45.709 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 30 November 2024 07:55:23 -0500 (0:00:00.118) 0:01:45.828 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 30 November 2024 07:55:23 -0500 (0:00:00.114) 0:01:45.942 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 30 November 2024 07:55:23 -0500 (0:00:00.133) 0:01:46.075 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 30 November 2024 07:55:23 -0500 (0:00:00.146) 0:01:46.222 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 30 November 2024 07:55:23 -0500 (0:00:00.108) 0:01:46.330 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 30 November 2024 07:55:23 -0500 (0:00:00.107) 0:01:46.438 ***** ok: [managed-node3] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 30 November 2024 07:55:23 -0500 (0:00:00.114) 0:01:46.553 ***** included: /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 30 November 2024 07:55:23 -0500 (0:00:00.222) 0:01:46.776 ***** 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.045461", "end": "2024-11-30 07:55:24.536664", "rc": 0, "start": "2024-11-30 07:55:24.491203" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 30 November 2024 07:55:24 -0500 (0:00:00.728) 0:01:47.504 ***** included: /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 30 November 2024 07:55:24 -0500 (0:00:00.182) 0:01:47.686 ***** ok: [managed-node3] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 30 November 2024 07:55:24 -0500 (0:00:00.077) 0:01:47.764 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 30 November 2024 07:55:25 -0500 (0:00:00.272) 0:01:48.037 ***** included: /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 30 November 2024 07:55:25 -0500 (0:00:00.202) 0:01:48.239 ***** included: /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 30 November 2024 07:55:25 -0500 (0:00:00.271) 0:01:48.511 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003087", "end": "2024-11-30 07:55:26.084724", "rc": 0, "start": "2024-11-30 07:55:26.081637" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 30 November 2024 07:55:26 -0500 (0:00:00.538) 0:01:49.049 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 30 November 2024 07:55:26 -0500 (0:00:00.121) 0:01:49.171 ***** ok: [managed-node3] => {} MSG: current_interfaces: [u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 30 November 2024 07:55:26 -0500 (0:00:00.113) 0:01:49.285 ***** included: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 included: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 included: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node3 TASK [Include network role] **************************************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 30 November 2024 07:55:26 -0500 (0:00:00.253) 0:01:49.538 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:55:26 -0500 (0:00:00.218) 0:01:49.756 ***** included: /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:55:27 -0500 (0:00:00.275) 0:01:50.032 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:55:27 -0500 (0:00:00.167) 0:01:50.199 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:55:27 -0500 (0:00:00.164) 0:01:50.364 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:55:27 -0500 (0:00:00.182) 0:01:50.547 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:55:29 -0500 (0:00:01.356) 0:01:51.903 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:55:30 -0500 (0:00:01.286) 0:01:53.190 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:55:30 -0500 (0:00:00.141) 0:01:53.331 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:55:30 -0500 (0:00:00.197) 0:01:53.528 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:55:30 -0500 (0:00:00.138) 0:01:53.667 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:55:31 -0500 (0:00:00.162) 0:01:53.829 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:55:31 -0500 (0:00:00.190) 0:01:54.019 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:55:31 -0500 (0:00:00.148) 0:01:54.168 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:55:31 -0500 (0:00:00.152) 0:01:54.320 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:55:31 -0500 (0:00:00.226) 0:01:54.546 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:55:31 -0500 (0:00:00.204) 0:01:54.750 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:55:32 -0500 (0:00:00.223) 0:01:54.974 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:55:32 -0500 (0:00:00.257) 0:01:55.231 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:55:32 -0500 (0:00:00.129) 0:01:55.361 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:55:32 -0500 (0:00:00.155) 0:01:55.516 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:55:33 -0500 (0:00:00.609) 0:01:56.126 ***** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16697ltTwGb/tmpJ1Ss8y" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:55:33 -0500 (0:00:00.394) 0:01:56.520 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:55:34 -0500 (0:00:00.717) 0:01:57.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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:55:34 -0500 (0:00:00.074) 0:01:57.312 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:55:34 -0500 (0:00:00.079) 0:01:57.391 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:55:34 -0500 (0:00:00.078) 0:01:57.469 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:55:34 -0500 (0:00:00.075) 0:01:57.545 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 30 November 2024 07:55:35 -0500 (0:00:00.419) 0:01:57.964 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 30 November 2024 07:55:35 -0500 (0:00:00.217) 0:01:58.181 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:55:35 -0500 (0:00:00.340) 0:01:58.521 ***** included: /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:55:36 -0500 (0:00:00.310) 0:01:58.832 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:55:36 -0500 (0:00:00.230) 0:01:59.063 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:55:36 -0500 (0:00:00.210) 0:01:59.274 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:55:36 -0500 (0:00:00.204) 0:01:59.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 : Check which packages are installed] *** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:55:37 -0500 (0:00:01.268) 0:02:00.747 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:55:39 -0500 (0:00:01.314) 0:02:02.062 ***** ok: [managed-node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:55:39 -0500 (0:00:00.103) 0:02:02.166 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:55:39 -0500 (0:00:00.113) 0:02:02.280 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:55:39 -0500 (0:00:00.124) 0:02:02.404 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:55:39 -0500 (0:00:00.113) 0:02:02.518 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:55:39 -0500 (0:00:00.127) 0:02:02.645 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:55:39 -0500 (0:00:00.121) 0:02:02.767 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:55:40 -0500 (0:00:00.181) 0:02:02.948 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:55:40 -0500 (0:00:00.142) 0:02:03.091 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:55:40 -0500 (0:00:00.098) 0:02:03.189 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:55:40 -0500 (0:00:00.119) 0:02:03.308 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:55:40 -0500 (0:00:00.125) 0:02:03.434 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:55:40 -0500 (0:00:00.120) 0:02:03.554 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:55:40 -0500 (0:00:00.125) 0:02:03.680 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:55:41 -0500 (0:00:00.580) 0:02:04.261 ***** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16697ltTwGb/tmpo2BLfA" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:55:41 -0500 (0:00:00.394) 0:02:04.655 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:55:42 -0500 (0:00:00.947) 0:02:05.602 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:55:42 -0500 (0:00:00.123) 0:02:05.726 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:55:43 -0500 (0:00:00.118) 0:02:05.844 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:55:43 -0500 (0:00:00.101) 0:02:05.946 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:55:43 -0500 (0:00:00.075) 0:02:06.022 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 30 November 2024 07:55:43 -0500 (0:00:00.402) 0:02:06.425 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:55:43 -0500 (0:00:00.258) 0:02:06.684 ***** included: /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:55:44 -0500 (0:00:00.172) 0:02:06.857 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:55:44 -0500 (0:00:00.125) 0:02:06.982 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:55:44 -0500 (0:00:00.116) 0:02:07.099 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:55:44 -0500 (0:00:00.116) 0:02:07.215 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:55:45 -0500 (0:00:00.933) 0:02:08.149 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:55:46 -0500 (0:00:01.435) 0:02:09.584 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:55:46 -0500 (0:00:00.121) 0:02:09.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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:55:47 -0500 (0:00:00.179) 0:02:09.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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:55:47 -0500 (0:00:00.112) 0:02:09.997 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:55:47 -0500 (0:00:00.137) 0:02:10.135 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:55:47 -0500 (0:00:00.115) 0:02:10.250 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:55:47 -0500 (0:00:00.126) 0:02:10.377 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:55:47 -0500 (0:00:00.185) 0:02:10.562 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:55:47 -0500 (0:00:00.196) 0:02:10.759 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:55:48 -0500 (0:00:00.100) 0:02:10.859 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:55:48 -0500 (0:00:00.086) 0:02:10.946 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:55:48 -0500 (0:00:00.118) 0:02:11.064 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:55:48 -0500 (0:00:00.135) 0:02:11.200 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:55:48 -0500 (0:00:00.117) 0:02:11.317 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:55:49 -0500 (0:00:00.653) 0:02:11.971 ***** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16697ltTwGb/tmpma_vky" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:55:49 -0500 (0:00:00.594) 0:02:12.566 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:55:50 -0500 (0:00:00.977) 0:02:13.544 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:55:50 -0500 (0:00:00.129) 0:02:13.673 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:55:50 -0500 (0:00:00.150) 0:02:13.823 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:55:51 -0500 (0:00:00.116) 0:02:13.940 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:55:51 -0500 (0:00:00.170) 0:02:14.110 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 30 November 2024 07:55:51 -0500 (0:00:00.542) 0:02:14.652 ***** included: /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 30 November 2024 07:55:52 -0500 (0:00:00.258) 0:02:14.911 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:55:52 -0500 (0:00:00.315) 0:02:15.226 ***** included: /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:55:52 -0500 (0:00:00.255) 0:02:15.481 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:55:52 -0500 (0:00:00.152) 0:02:15.634 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:55:52 -0500 (0:00:00.159) 0:02:15.794 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:55:53 -0500 (0:00:00.135) 0:02:15.929 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:55:54 -0500 (0:00:01.162) 0:02:17.092 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:55:55 -0500 (0:00:01.733) 0:02:18.825 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:55:56 -0500 (0:00:00.120) 0:02:18.945 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:55:56 -0500 (0:00:00.136) 0:02:19.082 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:55:56 -0500 (0:00:00.101) 0:02:19.183 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:55:56 -0500 (0:00:00.093) 0:02:19.276 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:55:56 -0500 (0:00:00.095) 0:02:19.372 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:55:56 -0500 (0:00:00.084) 0:02:19.456 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:55:56 -0500 (0:00:00.081) 0:02:19.538 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:55:56 -0500 (0:00:00.127) 0:02:19.666 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:55:56 -0500 (0:00:00.079) 0:02:19.745 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:55:57 -0500 (0:00:00.083) 0:02:19.829 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:55:57 -0500 (0:00:00.112) 0:02:19.942 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:55:57 -0500 (0:00:00.108) 0:02:20.050 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:55:57 -0500 (0:00:00.115) 0:02:20.166 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:55:58 -0500 (0:00:00.880) 0:02:21.046 ***** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16697ltTwGb/tmpo10Xk2" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:55:59 -0500 (0:00:00.872) 0:02:21.919 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:56:00 -0500 (0:00:00.988) 0:02:22.907 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:56:00 -0500 (0:00:00.152) 0:02:23.060 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:56:00 -0500 (0:00:00.188) 0:02:23.248 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:56:00 -0500 (0:00:00.134) 0:02:23.383 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:56:00 -0500 (0:00:00.120) 0:02:23.503 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 30 November 2024 07:56:01 -0500 (0:00:00.435) 0:02:23.939 ***** included: /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 30 November 2024 07:56:01 -0500 (0:00:00.232) 0:02:24.171 ***** included: /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 30 November 2024 07:56:01 -0500 (0:00:00.263) 0:02:24.435 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 30 November 2024 07:56:01 -0500 (0:00:00.161) 0:02:24.597 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 30 November 2024 07:56:02 -0500 (0:00:00.444) 0:02:25.042 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 30 November 2024 07:56:02 -0500 (0:00:00.079) 0:02:25.121 ***** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018745", "end": "2024-11-30 07:56:02.680528", "rc": 1, "start": "2024-11-30 07:56:02.661783" } 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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 30 November 2024 07:56:02 -0500 (0:00:00.636) 0:02:25.757 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 30 November 2024 07:56:03 -0500 (0:00:00.198) 0:02:25.956 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 30 November 2024 07:56:03 -0500 (0:00:00.162) 0:02:26.118 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 30 November 2024 07:56:03 -0500 (0:00:00.243) 0:02:26.361 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 30 November 2024 07:56:03 -0500 (0:00:00.142) 0:02:26.504 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 30 November 2024 07:56:03 -0500 (0:00:00.131) 0:02:26.635 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 30 November 2024 07:56:03 -0500 (0:00:00.086) 0:02:26.722 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 30 November 2024 07:56:03 -0500 (0:00:00.095) 0:02:26.818 ***** ok: [managed-node3] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 30 November 2024 07:56:04 -0500 (0:00:00.117) 0:02:26.936 ***** included: /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 30 November 2024 07:56:04 -0500 (0:00:00.218) 0:02:27.155 ***** 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.043093", "end": "2024-11-30 07:56:04.713632", "rc": 0, "start": "2024-11-30 07:56:04.670539" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 30 November 2024 07:56:04 -0500 (0:00:00.538) 0:02:27.693 ***** included: /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 30 November 2024 07:56:05 -0500 (0:00:00.210) 0:02:27.904 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 30 November 2024 07:56:05 -0500 (0:00:00.105) 0:02:28.010 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 30 November 2024 07:56:05 -0500 (0:00:00.168) 0:02:28.178 ***** included: /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 30 November 2024 07:56:05 -0500 (0:00:00.135) 0:02:28.313 ***** included: /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 30 November 2024 07:56:05 -0500 (0:00:00.201) 0:02:28.514 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003120", "end": "2024-11-30 07:56:06.027715", "rc": 0, "start": "2024-11-30 07:56:06.024595" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 30 November 2024 07:56:06 -0500 (0:00:00.508) 0:02:29.022 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 30 November 2024 07:56:06 -0500 (0:00:00.199) 0:02:29.222 ***** ok: [managed-node3] => {} MSG: current_interfaces: [u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 30 November 2024 07:56:06 -0500 (0:00:00.120) 0:02:29.342 ***** included: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 included: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 included: /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 30 November 2024 07:56:06 -0500 (0:00:00.351) 0:02:29.694 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:56:07 -0500 (0:00:00.431) 0:02:30.125 ***** included: /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:56:07 -0500 (0:00:00.350) 0:02:30.476 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:56:07 -0500 (0:00:00.196) 0:02:30.672 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:56:07 -0500 (0:00:00.111) 0:02:30.784 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:56:08 -0500 (0:00:00.111) 0:02:30.895 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:56:09 -0500 (0:00:01.113) 0:02:32.009 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:56:10 -0500 (0:00:01.434) 0:02:33.443 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:56:10 -0500 (0:00:00.143) 0:02:33.586 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:56:10 -0500 (0:00:00.209) 0:02:33.796 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:56:11 -0500 (0:00:00.208) 0:02:34.004 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:56:11 -0500 (0:00:00.236) 0:02:34.241 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:56:11 -0500 (0:00:00.268) 0:02:34.510 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:56:11 -0500 (0:00:00.204) 0:02:34.714 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:56:12 -0500 (0:00:00.165) 0:02:34.879 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:56:12 -0500 (0:00:00.199) 0:02:35.079 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:56:12 -0500 (0:00:00.128) 0:02:35.208 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:56:12 -0500 (0:00:00.105) 0:02:35.314 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:56:12 -0500 (0:00:00.132) 0:02:35.447 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:56:12 -0500 (0:00:00.118) 0:02:35.566 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:56:12 -0500 (0:00:00.126) 0:02:35.692 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:56:13 -0500 (0:00:00.582) 0:02:36.274 ***** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16697ltTwGb/tmpE1ZWR6" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:56:13 -0500 (0:00:00.470) 0:02:36.745 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:56:14 -0500 (0:00:00.796) 0:02:37.541 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:56:14 -0500 (0:00:00.127) 0:02:37.668 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:56:15 -0500 (0:00:00.197) 0:02:37.866 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:56:15 -0500 (0:00:00.158) 0:02:38.025 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:56:15 -0500 (0:00:00.124) 0:02:38.150 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 30 November 2024 07:56:15 -0500 (0:00:00.542) 0:02:38.692 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 30 November 2024 07:56:15 -0500 (0:00:00.130) 0:02:38.823 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:56:16 -0500 (0:00:00.221) 0:02:39.045 ***** included: /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:56:16 -0500 (0:00:00.267) 0:02:39.312 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:56:16 -0500 (0:00:00.152) 0:02:39.464 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:56:16 -0500 (0:00:00.119) 0:02:39.584 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:56:16 -0500 (0:00:00.148) 0:02:39.733 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:56:17 -0500 (0:00:01.046) 0:02:40.779 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:56:19 -0500 (0:00:01.483) 0:02:42.263 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:56:19 -0500 (0:00:00.168) 0:02:42.432 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:56:19 -0500 (0:00:00.123) 0:02:42.555 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:56:19 -0500 (0:00:00.124) 0:02:42.679 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:56:20 -0500 (0:00:00.189) 0:02:42.868 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:56:20 -0500 (0:00:00.139) 0:02:43.008 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:56:20 -0500 (0:00:00.146) 0:02:43.155 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:56:20 -0500 (0:00:00.107) 0:02:43.262 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:56:20 -0500 (0:00:00.200) 0:02:43.463 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:56:20 -0500 (0:00:00.122) 0:02:43.585 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:56:20 -0500 (0:00:00.134) 0:02:43.720 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:56:21 -0500 (0:00:00.115) 0:02:43.836 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:56:21 -0500 (0:00:00.153) 0:02:43.989 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:56:21 -0500 (0:00:00.103) 0:02:44.093 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:56:22 -0500 (0:00:00.890) 0:02:44.983 ***** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16697ltTwGb/tmpAdgJQx" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:56:22 -0500 (0:00:00.500) 0:02:45.483 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:56:23 -0500 (0:00:00.924) 0:02:46.408 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:56:23 -0500 (0:00:00.231) 0:02:46.639 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:56:23 -0500 (0:00:00.180) 0:02:46.820 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:56:24 -0500 (0:00:00.139) 0:02:46.959 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:56:24 -0500 (0:00:00.114) 0:02:47.073 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 30 November 2024 07:56:24 -0500 (0:00:00.386) 0:02:47.459 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:56:24 -0500 (0:00:00.205) 0:02:47.664 ***** included: /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:56:25 -0500 (0:00:00.391) 0:02:48.056 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:56:25 -0500 (0:00:00.183) 0:02:48.240 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:56:25 -0500 (0:00:00.209) 0:02:48.449 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:56:25 -0500 (0:00:00.120) 0:02:48.569 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:56:26 -0500 (0:00:01.054) 0:02:49.624 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:56:27 -0500 (0:00:01.167) 0:02:50.792 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:56:28 -0500 (0:00:00.084) 0:02:50.876 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:56:28 -0500 (0:00:00.124) 0:02:51.001 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:56:28 -0500 (0:00:00.116) 0:02:51.118 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:56:28 -0500 (0:00:00.120) 0:02:51.239 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:56:28 -0500 (0:00:00.118) 0:02:51.357 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:56:28 -0500 (0:00:00.231) 0:02:51.589 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:56:28 -0500 (0:00:00.149) 0:02:51.738 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:56:29 -0500 (0:00:00.205) 0:02:51.944 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:56:29 -0500 (0:00:00.125) 0:02:52.069 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:56:29 -0500 (0:00:00.097) 0:02:52.167 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:56:29 -0500 (0:00:00.122) 0:02:52.290 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:56:29 -0500 (0:00:00.116) 0:02:52.406 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:56:29 -0500 (0:00:00.111) 0:02:52.518 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:56:30 -0500 (0:00:00.504) 0:02:53.023 ***** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16697ltTwGb/tmpA0mtSR" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:56:30 -0500 (0:00:00.384) 0:02:53.407 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:56:31 -0500 (0:00:00.653) 0:02:54.061 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:56:31 -0500 (0:00:00.112) 0:02:54.173 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:56:31 -0500 (0:00:00.121) 0:02:54.295 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:56:31 -0500 (0:00:00.119) 0:02:54.415 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:56:31 -0500 (0:00:00.104) 0:02:54.520 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 30 November 2024 07:56:32 -0500 (0:00:00.504) 0:02:55.024 ***** included: /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 30 November 2024 07:56:32 -0500 (0:00:00.258) 0:02:55.283 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:56:32 -0500 (0:00:00.239) 0:02:55.523 ***** included: /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:56:32 -0500 (0:00:00.249) 0:02:55.772 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:56:33 -0500 (0:00:00.176) 0:02:55.949 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:56:33 -0500 (0:00:00.133) 0:02:56.083 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:56:33 -0500 (0:00:00.149) 0:02:56.232 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:56:34 -0500 (0:00:00.960) 0:02:57.193 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:56:35 -0500 (0:00:01.574) 0:02:58.768 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:56:36 -0500 (0:00:00.132) 0:02:58.901 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:56:36 -0500 (0:00:00.123) 0:02:59.025 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:56:36 -0500 (0:00:00.112) 0:02:59.137 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:56:36 -0500 (0:00:00.116) 0:02:59.254 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:56:36 -0500 (0:00:00.095) 0:02:59.349 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:56:36 -0500 (0:00:00.154) 0:02:59.503 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:56:36 -0500 (0:00:00.096) 0:02:59.600 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:56:36 -0500 (0:00:00.137) 0:02:59.737 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:56:37 -0500 (0:00:00.122) 0:02:59.859 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:56:37 -0500 (0:00:00.119) 0:02:59.978 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:56:37 -0500 (0:00:00.119) 0:03:00.098 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:56:37 -0500 (0:00:00.116) 0:03:00.214 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:56:37 -0500 (0:00:00.131) 0:03:00.345 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:56:38 -0500 (0:00:00.667) 0:03:01.013 ***** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16697ltTwGb/tmpIs8Xid" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:56:38 -0500 (0:00:00.513) 0:03:01.527 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:56:39 -0500 (0:00:00.918) 0:03:02.445 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:56:39 -0500 (0:00:00.222) 0:03:02.668 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:56:40 -0500 (0:00:00.260) 0:03:02.928 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:56:40 -0500 (0:00:00.174) 0:03:03.102 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:56:40 -0500 (0:00:00.109) 0:03:03.212 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 30 November 2024 07:56:40 -0500 (0:00:00.389) 0:03:03.601 ***** included: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node3 included: /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 30 November 2024 07:56:41 -0500 (0:00:00.264) 0:03:03.866 ***** included: /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 30 November 2024 07:56:41 -0500 (0:00:00.212) 0:03:04.079 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 30 November 2024 07:56:41 -0500 (0:00:00.116) 0:03:04.196 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 30 November 2024 07:56:41 -0500 (0:00:00.533) 0:03:04.729 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 30 November 2024 07:56:42 -0500 (0:00:00.147) 0:03:04.877 ***** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018079", "end": "2024-11-30 07:56:42.443926", "rc": 1, "start": "2024-11-30 07:56:42.425847" } 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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 30 November 2024 07:56:42 -0500 (0:00:00.544) 0:03:05.422 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 30 November 2024 07:56:42 -0500 (0:00:00.211) 0:03:05.634 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 30 November 2024 07:56:42 -0500 (0:00:00.129) 0:03:05.763 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 30 November 2024 07:56:43 -0500 (0:00:00.234) 0:03:05.998 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 30 November 2024 07:56:43 -0500 (0:00:00.127) 0:03:06.126 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 30 November 2024 07:56:43 -0500 (0:00:00.120) 0:03:06.247 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 30 November 2024 07:56:43 -0500 (0:00:00.115) 0:03:06.362 ***** [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.605384", "end": "2024-11-30 07:56:44.443797", "rc": 0, "start": "2024-11-30 07:56:43.838413" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 30 November 2024 07:56:44 -0500 (0:00:01.000) 0:03:07.363 ***** ok: [managed-node3] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 30 November 2024 07:56:44 -0500 (0:00:00.106) 0:03:07.469 ***** ok: [managed-node3] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 30 November 2024 07:56:44 -0500 (0:00:00.124) 0:03:07.593 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 30 November 2024 07:56:44 -0500 (0:00:00.122) 0:03:07.716 ***** 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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 30 November 2024 07:56:45 -0500 (0:00:00.138) 0:03:07.854 ***** included: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 included: /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 30 November 2024 07:56:45 -0500 (0:00:00.244) 0:03:08.099 ***** 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.042227", "end": "2024-11-30 07:56:45.720639", "rc": 0, "start": "2024-11-30 07:56:45.678412" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 30 November 2024 07:56:45 -0500 (0:00:00.596) 0:03:08.696 ***** 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.007136", "end": "2024-11-30 07:56:46.161266", "rc": 0, "start": "2024-11-30 07:56:46.154130" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 12:d0:bb:d0:58:a9 brd ff:ff:ff:ff:ff:ff inet 10.31.11.197/22 brd 10.31.11.255 scope global noprefixroute dynamic eth0 valid_lft 3222sec preferred_lft 3222sec inet6 fe80::10d0:bbff:fed0:58a9/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.11.197 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-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 30 November 2024 07:56:46 -0500 (0:00:00.433) 0:03:09.129 ***** 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.560744", "end": "2024-11-30 07:56:47.179661", "rc": 0, "start": "2024-11-30 07:56:46.618917" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 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 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 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 785 0 --:--:-- --:--:-- --:--:-- 784 % 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 1908 0 --:--:-- --:--:-- --:--:-- 1914 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 30 November 2024 07:56:47 -0500 (0:00:00.943) 0:03:10.073 ***** =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 1.96s /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.84s /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.73s /tmp/collections-mDJ/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-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gather current interface info ------------------------------------------- 1.61s /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 fedora.linux_system_roles.network : Check which packages are installed --- 1.57s /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gather current interface info ------------------------------------------- 1.55s /tmp/collections-mDJ/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.48s /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gather current interface info ------------------------------------------- 1.46s /tmp/collections-mDJ/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.44s /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.43s /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gather current interface info ------------------------------------------- 1.43s /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 fedora.linux_system_roles.network : Check which packages are installed --- 1.43s /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.43s /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.41s /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.36s /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.36s /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.31s /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.29s /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.29s /tmp/collections-mDJ/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21