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-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Saturday 07 December 2024 07:55:31 -0500 (0:00:00.044) 0:00:00.044 ***** ok: [managed-node3] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Saturday 07 December 2024 07:55:32 -0500 (0:00:01.265) 0:00:01.309 ***** included: /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 07 December 2024 07:55:33 -0500 (0:00:00.189) 0:00:01.499 ***** ok: [managed-node3] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 07 December 2024 07:55:33 -0500 (0:00:00.419) 0:00:01.918 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 07 December 2024 07:55:34 -0500 (0:00:00.676) 0:00:02.595 ***** ok: [managed-node3] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 07 December 2024 07:55:34 -0500 (0:00:00.122) 0:00:02.718 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 07 December 2024 07:55:34 -0500 (0:00:00.117) 0:00:02.835 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node3 TASK [Create EPEL 7] *********************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 07 December 2024 07:55:34 -0500 (0:00:00.200) 0:00:03.035 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 07 December 2024 07:55:35 -0500 (0:00:00.845) 0:00:03.881 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 07 December 2024 07:55:36 -0500 (0:00:01.030) 0:00:04.912 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.169904", "end": "2024-12-07 07:55:36.995927", "rc": 0, "start": "2024-12-07 07:55:36.826023" } 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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 07 December 2024 07:55:37 -0500 (0:00:00.607) 0:00:05.520 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 07 December 2024 07:55:37 -0500 (0:00:00.053) 0:00:05.573 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Saturday 07 December 2024 07:55:37 -0500 (0:00:00.050) 0:00:05.623 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 07 December 2024 07:55:37 -0500 (0:00:00.062) 0:00:05.686 ***** ok: [managed-node3] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 07 December 2024 07:55:38 -0500 (0:00:00.835) 0:00:06.521 ***** ok: [managed-node3] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 07 December 2024 07:55:38 -0500 (0:00:00.054) 0:00:06.576 ***** included: /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 07 December 2024 07:55:38 -0500 (0:00:00.066) 0:00:06.642 ***** ok: [managed-node3] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 07 December 2024 07:55:38 -0500 (0:00:00.035) 0:00:06.678 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 07 December 2024 07:55:38 -0500 (0:00:00.143) 0:00:06.821 ***** included: /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 07 December 2024 07:55:38 -0500 (0:00:00.049) 0:00:06.871 ***** included: /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 07 December 2024 07:55:38 -0500 (0:00:00.057) 0:00:06.929 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003860", "end": "2024-12-07 07:55:38.839086", "rc": 0, "start": "2024-12-07 07:55:38.835226" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 07 December 2024 07:55:38 -0500 (0:00:00.376) 0:00:07.305 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 07 December 2024 07:55:38 -0500 (0:00:00.045) 0:00:07.350 ***** ok: [managed-node3] => {} MSG: current_interfaces: [u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 07 December 2024 07:55:38 -0500 (0:00:00.042) 0:00:07.393 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node3 included: /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 07 December 2024 07:55:39 -0500 (0:00:00.076) 0:00:07.470 ***** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008413", "end": "2024-12-07 07:55:39.405532", "rc": 1, "start": "2024-12-07 07:55:39.397119" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 07 December 2024 07:55:39 -0500 (0:00:00.402) 0:00:07.872 ***** included: /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 07 December 2024 07:55:39 -0500 (0:00:00.057) 0:00:07.930 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 07 December 2024 07:55:39 -0500 (0:00:00.357) 0:00:08.288 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 07 December 2024 07:55:39 -0500 (0:00:00.045) 0:00:08.333 ***** included: /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 07 December 2024 07:55:40 -0500 (0:00:00.078) 0:00:08.412 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 07:55:40 -0500 (0:00:00.293) 0:00:08.706 ***** included: /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 07:55:40 -0500 (0:00:00.102) 0:00:08.808 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 07:55:40 -0500 (0:00:00.043) 0:00:08.852 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 07:55:40 -0500 (0:00:00.048) 0:00:08.900 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 07:55:40 -0500 (0:00:00.068) 0:00:08.969 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 07:55:41 -0500 (0:00:01.215) 0:00:10.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 : Print network provider] ************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 07:55:43 -0500 (0:00:01.861) 0:00:12.045 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 07:55:43 -0500 (0:00:00.241) 0:00:12.287 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 07:55:43 -0500 (0:00:00.113) 0:00:12.400 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 07:55:44 -0500 (0:00:00.113) 0:00:12.514 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 07:55:44 -0500 (0:00:00.109) 0:00:12.623 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 07:55:44 -0500 (0:00:00.131) 0:00:12.754 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 07:55:44 -0500 (0:00:00.149) 0:00:12.904 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 07:55:44 -0500 (0:00:00.112) 0:00:13.016 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 07:55:48 -0500 (0:00:03.591) 0:00:16.608 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 07:55:48 -0500 (0:00:00.229) 0:00:16.837 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 07:55:48 -0500 (0:00:00.224) 0:00:17.061 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 07:55:48 -0500 (0:00:00.167) 0:00:17.229 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 07:55:48 -0500 (0:00:00.113) 0:00:17.342 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 07:55:49 -0500 (0:00:00.126) 0:00:17.469 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 07:55:50 -0500 (0:00:01.144) 0:00:18.613 ***** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16754esA2V2/tmpUtqp5V" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 07:55:50 -0500 (0:00:00.433) 0:00:19.047 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 07:55:51 -0500 (0:00:01.326) 0:00:20.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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 07:55:52 -0500 (0:00:00.232) 0:00:20.606 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 07:55:52 -0500 (0:00:00.193) 0:00:20.799 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 07:55:52 -0500 (0:00:00.119) 0:00:20.918 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 07:55:52 -0500 (0:00:00.111) 0:00:21.029 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 07 December 2024 07:55:53 -0500 (0:00:00.660) 0:00:21.690 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 07 December 2024 07:55:53 -0500 (0:00:00.112) 0:00:21.803 ***** included: /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 07 December 2024 07:55:53 -0500 (0:00:00.141) 0:00:21.944 ***** included: /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 07 December 2024 07:55:53 -0500 (0:00:00.164) 0:00:22.109 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 07 December 2024 07:55:53 -0500 (0:00:00.113) 0:00:22.223 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1733576151.6966348, "block_size": 4096, "blocks": 8, "ctime": 1733576151.6966348, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 183, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1733576151.6966348, "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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 07 December 2024 07:55:54 -0500 (0:00:00.506) 0:00:22.729 ***** ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 07 December 2024 07:55:54 -0500 (0:00:00.096) 0:00:22.826 ***** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022090", "end": "2024-12-07 07:55:54.701082", "rc": 1, "start": "2024-12-07 07:55:54.678992" } 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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 07 December 2024 07:55:54 -0500 (0:00:00.410) 0:00:23.237 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 07 December 2024 07:55:54 -0500 (0:00:00.128) 0:00:23.365 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003319", "end": "2024-12-07 07:55:55.494667", "rc": 0, "start": "2024-12-07 07:55:55.491348" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 07 December 2024 07:55:55 -0500 (0:00:00.686) 0:00:24.052 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 07 December 2024 07:55:55 -0500 (0:00:00.139) 0:00:24.192 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003404", "end": "2024-12-07 07:55:56.101726", "rc": 0, "start": "2024-12-07 07:55:56.098322" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 07 December 2024 07:55:56 -0500 (0:00:00.584) 0:00:24.777 ***** ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 07 December 2024 07:55:56 -0500 (0:00:00.276) 0:00:25.054 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 07 December 2024 07:55:56 -0500 (0:00:00.180) 0:00:25.234 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 07 December 2024 07:55:56 -0500 (0:00:00.117) 0:00:25.352 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 07 December 2024 07:55:57 -0500 (0:00:00.093) 0:00:25.446 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 07 December 2024 07:55:57 -0500 (0:00:00.131) 0:00:25.577 ***** ok: [managed-node3] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 07 December 2024 07:55:57 -0500 (0:00:00.136) 0:00:25.714 ***** included: /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 07 December 2024 07:55:57 -0500 (0:00:00.247) 0:00:25.961 ***** 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.037676", "end": "2024-12-07 07:55:58.114168", "rc": 1, "start": "2024-12-07 07:55:58.076492" } 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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 07 December 2024 07:55:58 -0500 (0:00:00.680) 0:00:26.642 ***** included: /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 07 December 2024 07:55:58 -0500 (0:00:00.275) 0:00:26.918 ***** ok: [managed-node3] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 07 December 2024 07:55:58 -0500 (0:00:00.119) 0:00:27.037 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 07 December 2024 07:55:58 -0500 (0:00:00.216) 0:00:27.254 ***** included: /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 07 December 2024 07:55:59 -0500 (0:00:00.190) 0:00:27.445 ***** included: /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 07 December 2024 07:55:59 -0500 (0:00:00.141) 0:00:27.586 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004627", "end": "2024-12-07 07:56:00.666702", "rc": 0, "start": "2024-12-07 07:55:59.662075" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 07 December 2024 07:56:00 -0500 (0:00:01.638) 0:00:29.224 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 07 December 2024 07:56:00 -0500 (0:00:00.129) 0:00:29.354 ***** ok: [managed-node3] => {} MSG: current_interfaces: [u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 07 December 2024 07:56:01 -0500 (0:00:00.130) 0:00:29.485 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node3 included: /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 07 December 2024 07:56:01 -0500 (0:00:00.191) 0:00:29.676 ***** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007436", "end": "2024-12-07 07:56:01.617542", "rc": 1, "start": "2024-12-07 07:56:01.610106" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 07 December 2024 07:56:01 -0500 (0:00:00.554) 0:00:30.230 ***** included: /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 07 December 2024 07:56:02 -0500 (0:00:00.294) 0:00:30.525 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 07 December 2024 07:56:02 -0500 (0:00:00.540) 0:00:31.066 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 07 December 2024 07:56:02 -0500 (0:00:00.232) 0:00:31.298 ***** included: /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 07 December 2024 07:56:03 -0500 (0:00:00.220) 0:00:31.519 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 07:56:03 -0500 (0:00:00.241) 0:00:31.760 ***** included: /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 07:56:03 -0500 (0:00:00.230) 0:00:31.991 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 07:56:03 -0500 (0:00:00.145) 0:00:32.136 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 07:56:03 -0500 (0:00:00.122) 0:00:32.259 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 07:56:03 -0500 (0:00:00.134) 0:00:32.393 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 07:56:05 -0500 (0:00:01.076) 0:00:33.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 : Print network provider] ************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 07:56:06 -0500 (0:00:01.390) 0:00:34.860 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 07:56:06 -0500 (0:00:00.112) 0:00:34.972 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 07:56:06 -0500 (0:00:00.110) 0:00:35.083 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 07:56:06 -0500 (0:00:00.114) 0:00:35.198 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 07:56:06 -0500 (0:00:00.116) 0:00:35.315 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 07:56:07 -0500 (0:00:00.226) 0:00:35.541 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 07:56:07 -0500 (0:00:00.203) 0:00:35.745 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 07:56:07 -0500 (0:00:00.271) 0:00:36.016 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 07:56:07 -0500 (0:00:00.222) 0:00:36.238 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 07:56:08 -0500 (0:00:00.248) 0:00:36.487 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 07:56:08 -0500 (0:00:00.180) 0:00:36.667 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 07:56:08 -0500 (0:00:00.172) 0:00:36.840 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 07:56:08 -0500 (0:00:00.194) 0:00:37.035 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 07:56:08 -0500 (0:00:00.267) 0:00:37.302 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 07:56:09 -0500 (0:00:00.734) 0:00:38.037 ***** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16754esA2V2/tmpyAo3Uk" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 07:56:10 -0500 (0:00:00.664) 0:00:38.702 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 07:56:11 -0500 (0:00:00.835) 0:00:39.537 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 07:56:11 -0500 (0:00:00.149) 0:00:39.687 ***** ok: [managed-node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 07:56:11 -0500 (0:00:00.163) 0:00:39.850 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 07:56:11 -0500 (0:00:00.136) 0:00:39.986 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 07:56:11 -0500 (0:00:00.089) 0:00:40.076 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 07 December 2024 07:56:12 -0500 (0:00:00.498) 0:00:40.575 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 07 December 2024 07:56:12 -0500 (0:00:00.182) 0:00:40.757 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node3 included: /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 07 December 2024 07:56:12 -0500 (0:00:00.270) 0:00:41.027 ***** included: /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 07 December 2024 07:56:12 -0500 (0:00:00.201) 0:00:41.229 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 07 December 2024 07:56:13 -0500 (0:00:00.719) 0:00:41.949 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 07 December 2024 07:56:13 -0500 (0:00:00.211) 0:00:42.161 ***** included: /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 07 December 2024 07:56:13 -0500 (0:00:00.209) 0:00:42.370 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 07 December 2024 07:56:14 -0500 (0:00:00.108) 0:00:42.478 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1733576170.909754, "block_size": 4096, "blocks": 8, "ctime": 1733576170.909754, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 23, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1733576170.909754, "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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 07 December 2024 07:56:14 -0500 (0:00:00.385) 0:00:42.864 ***** ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 07 December 2024 07:56:14 -0500 (0:00:00.110) 0:00:42.974 ***** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018085", "end": "2024-12-07 07:56:14.890875", "rc": 1, "start": "2024-12-07 07:56:14.872790" } 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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 07 December 2024 07:56:15 -0500 (0:00:00.437) 0:00:43.412 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 07 December 2024 07:56:15 -0500 (0:00:00.091) 0:00:43.504 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003771", "end": "2024-12-07 07:56:15.371756", "rc": 0, "start": "2024-12-07 07:56:15.367985" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 07 December 2024 07:56:15 -0500 (0:00:00.413) 0:00:43.917 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 07 December 2024 07:56:15 -0500 (0:00:00.110) 0:00:44.028 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003285", "end": "2024-12-07 07:56:15.887263", "rc": 0, "start": "2024-12-07 07:56:15.883978" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 07 December 2024 07:56:16 -0500 (0:00:00.433) 0:00:44.461 ***** ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 07 December 2024 07:56:16 -0500 (0:00:00.132) 0:00:44.593 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 07 December 2024 07:56:16 -0500 (0:00:00.140) 0:00:44.734 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 07 December 2024 07:56:16 -0500 (0:00:00.120) 0:00:44.855 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 07 December 2024 07:56:16 -0500 (0:00:00.123) 0:00:44.978 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 07 December 2024 07:56:16 -0500 (0:00:00.104) 0:00:45.083 ***** ok: [managed-node3] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 07 December 2024 07:56:16 -0500 (0:00:00.142) 0:00:45.225 ***** included: /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 07 December 2024 07:56:17 -0500 (0:00:00.272) 0:00:45.497 ***** 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.037806", "end": "2024-12-07 07:56:17.441837", "rc": 1, "start": "2024-12-07 07:56:17.404031" } 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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 07 December 2024 07:56:17 -0500 (0:00:00.571) 0:00:46.069 ***** included: /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 07 December 2024 07:56:17 -0500 (0:00:00.303) 0:00:46.373 ***** ok: [managed-node3] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 07 December 2024 07:56:18 -0500 (0:00:00.148) 0:00:46.522 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 07 December 2024 07:56:18 -0500 (0:00:00.218) 0:00:46.740 ***** included: /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 07 December 2024 07:56:18 -0500 (0:00:00.207) 0:00:46.947 ***** included: /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 07 December 2024 07:56:18 -0500 (0:00:00.170) 0:00:47.118 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003706", "end": "2024-12-07 07:56:18.979388", "rc": 0, "start": "2024-12-07 07:56:18.975682" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 07 December 2024 07:56:19 -0500 (0:00:00.446) 0:00:47.565 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 07 December 2024 07:56:19 -0500 (0:00:00.118) 0:00:47.683 ***** ok: [managed-node3] => {} MSG: current_interfaces: [u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 07 December 2024 07:56:19 -0500 (0:00:00.108) 0:00:47.792 ***** included: /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 07 December 2024 07:56:19 -0500 (0:00:00.228) 0:00:48.020 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 07:56:19 -0500 (0:00:00.188) 0:00:48.208 ***** included: /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 07:56:19 -0500 (0:00:00.160) 0:00:48.368 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 07:56:20 -0500 (0:00:00.094) 0:00:48.463 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 07:56:20 -0500 (0:00:00.187) 0:00:48.651 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 07:56:20 -0500 (0:00:00.211) 0:00:48.862 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 07:56:21 -0500 (0:00:01.320) 0:00:50.183 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 07:56:23 -0500 (0:00:01.557) 0:00:51.741 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 07:56:23 -0500 (0:00:00.129) 0:00:51.871 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 07:56:23 -0500 (0:00:00.101) 0:00:51.972 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 07:56:23 -0500 (0:00:00.082) 0:00:52.055 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 07:56:23 -0500 (0:00:00.205) 0:00:52.260 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 07:56:23 -0500 (0:00:00.128) 0:00:52.389 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 07:56:24 -0500 (0:00:00.224) 0:00:52.613 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 07:56:24 -0500 (0:00:00.197) 0:00:52.811 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 07:56:24 -0500 (0:00:00.266) 0:00:53.077 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 07:56:24 -0500 (0:00:00.120) 0:00:53.197 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 07:56:24 -0500 (0:00:00.121) 0:00:53.318 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 07:56:25 -0500 (0:00:00.126) 0:00:53.445 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 07:56:25 -0500 (0:00:00.115) 0:00:53.560 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 07:56:25 -0500 (0:00:00.158) 0:00:53.718 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 07:56:25 -0500 (0:00:00.675) 0:00:54.394 ***** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16754esA2V2/tmp1StwBX" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 07:56:26 -0500 (0:00:00.426) 0:00:54.821 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 07:56:27 -0500 (0:00:00.912) 0:00:55.733 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 07:56:27 -0500 (0:00:00.087) 0:00:55.820 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 07:56:27 -0500 (0:00:00.111) 0:00:55.932 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 07:56:27 -0500 (0:00:00.139) 0:00:56.071 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 07:56:27 -0500 (0:00:00.114) 0:00:56.185 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 07 December 2024 07:56:28 -0500 (0:00:00.495) 0:00:56.681 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 07 December 2024 07:56:28 -0500 (0:00:00.124) 0:00:56.806 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 TASK [Include network role] **************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 07 December 2024 07:56:28 -0500 (0:00:00.259) 0:00:57.066 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 07:56:28 -0500 (0:00:00.337) 0:00:57.403 ***** included: /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 07:56:29 -0500 (0:00:00.327) 0:00:57.731 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 07:56:29 -0500 (0:00:00.174) 0:00:57.906 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 07:56:29 -0500 (0:00:00.113) 0:00:58.019 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 07:56:29 -0500 (0:00:00.099) 0:00:58.118 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 07:56:30 -0500 (0:00:00.987) 0:00:59.106 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 07:56:32 -0500 (0:00:01.659) 0:01:00.766 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 07:56:32 -0500 (0:00:00.162) 0:01:00.929 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 07:56:32 -0500 (0:00:00.127) 0:01:01.056 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 07:56:32 -0500 (0:00:00.140) 0:01:01.196 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 07:56:32 -0500 (0:00:00.124) 0:01:01.321 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 07:56:33 -0500 (0:00:00.180) 0:01:01.501 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 07:56:33 -0500 (0:00:00.195) 0:01:01.697 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 07:56:33 -0500 (0:00:00.123) 0:01:01.820 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 07:56:33 -0500 (0:00:00.268) 0:01:02.088 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 07:56:33 -0500 (0:00:00.120) 0:01:02.209 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 07:56:33 -0500 (0:00:00.120) 0:01:02.330 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 07:56:34 -0500 (0:00:00.122) 0:01:02.452 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 07:56:34 -0500 (0:00:00.177) 0:01:02.630 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 07:56:34 -0500 (0:00:00.128) 0:01:02.758 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 07:56:34 -0500 (0:00:00.565) 0:01:03.323 ***** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16754esA2V2/tmpNBknyP" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 07:56:35 -0500 (0:00:00.696) 0:01:04.020 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 07:56:36 -0500 (0:00:01.173) 0:01:05.194 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 07:56:36 -0500 (0:00:00.124) 0:01:05.318 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 07:56:37 -0500 (0:00:00.129) 0:01:05.447 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 07:56:37 -0500 (0:00:00.152) 0:01:05.600 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 07:56:37 -0500 (0:00:00.116) 0:01:05.717 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 07 December 2024 07:56:37 -0500 (0:00:00.683) 0:01:06.401 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node3 included: /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 07 December 2024 07:56:38 -0500 (0:00:00.358) 0:01:06.759 ***** included: /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 07 December 2024 07:56:38 -0500 (0:00:00.317) 0:01:07.077 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1733576196.466913, "block_size": 4096, "blocks": 0, "ctime": 1733576196.4659128, "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": 1733576196.4659128, "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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 07 December 2024 07:56:39 -0500 (0:00:00.542) 0:01:07.620 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 07 December 2024 07:56:39 -0500 (0:00:00.101) 0:01:07.721 ***** included: /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 07 December 2024 07:56:39 -0500 (0:00:00.218) 0:01:07.940 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 07 December 2024 07:56:39 -0500 (0:00:00.120) 0:01:08.060 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1733576196.3079119, "block_size": 4096, "blocks": 8, "ctime": 1733576187.1978552, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 23, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1733576187.1978552, "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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 07 December 2024 07:56:40 -0500 (0:00:00.484) 0:01:08.545 ***** ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 07 December 2024 07:56:40 -0500 (0:00:00.127) 0:01:08.673 ***** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019056", "end": "2024-12-07 07:56:40.549940", "rc": 1, "start": "2024-12-07 07:56:40.530884" } 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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 07 December 2024 07:56:40 -0500 (0:00:00.510) 0:01:09.184 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 07 December 2024 07:56:40 -0500 (0:00:00.101) 0:01:09.285 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003305", "end": "2024-12-07 07:56:41.340236", "rc": 0, "start": "2024-12-07 07:56:41.336931" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 07 December 2024 07:56:41 -0500 (0:00:00.606) 0:01:09.892 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 07 December 2024 07:56:41 -0500 (0:00:00.137) 0:01:10.030 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003370", "end": "2024-12-07 07:56:41.971388", "rc": 0, "start": "2024-12-07 07:56:41.968018" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 07 December 2024 07:56:42 -0500 (0:00:00.485) 0:01:10.515 ***** ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 07 December 2024 07:56:42 -0500 (0:00:00.135) 0:01:10.650 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 07 December 2024 07:56:42 -0500 (0:00:00.121) 0:01:10.772 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 07 December 2024 07:56:42 -0500 (0:00:00.122) 0:01:10.894 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 07 December 2024 07:56:42 -0500 (0:00:00.122) 0:01:11.016 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 07 December 2024 07:56:42 -0500 (0:00:00.112) 0:01:11.129 ***** ok: [managed-node3] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 07 December 2024 07:56:42 -0500 (0:00:00.132) 0:01:11.262 ***** included: /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 07 December 2024 07:56:43 -0500 (0:00:00.186) 0:01:11.448 ***** 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.043966", "end": "2024-12-07 07:56:43.348770", "rc": 0, "start": "2024-12-07 07:56:43.304804" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 07 December 2024 07:56:43 -0500 (0:00:00.441) 0:01:11.890 ***** included: /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 07 December 2024 07:56:43 -0500 (0:00:00.202) 0:01:12.093 ***** ok: [managed-node3] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 07 December 2024 07:56:43 -0500 (0:00:00.223) 0:01:12.316 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 07 December 2024 07:56:44 -0500 (0:00:00.186) 0:01:12.503 ***** included: /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 07 December 2024 07:56:44 -0500 (0:00:00.156) 0:01:12.659 ***** included: /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 07 December 2024 07:56:44 -0500 (0:00:00.125) 0:01:12.785 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004962", "end": "2024-12-07 07:56:45.661022", "rc": 0, "start": "2024-12-07 07:56:44.656060" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 07 December 2024 07:56:45 -0500 (0:00:01.420) 0:01:14.205 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 07 December 2024 07:56:45 -0500 (0:00:00.116) 0:01:14.321 ***** ok: [managed-node3] => {} MSG: current_interfaces: [u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 07 December 2024 07:56:46 -0500 (0:00:00.123) 0:01:14.445 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 TASK [Include network role] **************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 07 December 2024 07:56:46 -0500 (0:00:00.207) 0:01:14.653 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 07:56:46 -0500 (0:00:00.149) 0:01:14.802 ***** included: /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 07:56:46 -0500 (0:00:00.150) 0:01:14.953 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 07:56:46 -0500 (0:00:00.204) 0:01:15.158 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 07:56:46 -0500 (0:00:00.078) 0:01:15.236 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 07:56:46 -0500 (0:00:00.073) 0:01:15.310 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 07:56:47 -0500 (0:00:01.001) 0:01:16.312 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 07:56:49 -0500 (0:00:01.525) 0:01:17.837 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 07:56:49 -0500 (0:00:00.195) 0:01:18.032 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 07:56:49 -0500 (0:00:00.130) 0:01:18.162 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 07:56:49 -0500 (0:00:00.139) 0:01:18.302 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 07:56:50 -0500 (0:00:00.149) 0:01:18.451 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 07:56:50 -0500 (0:00:00.128) 0:01:18.580 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 07:56:50 -0500 (0:00:00.229) 0:01:18.809 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 07:56:50 -0500 (0:00:00.153) 0:01:18.963 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 07:56:50 -0500 (0:00:00.193) 0:01:19.157 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 07:56:50 -0500 (0:00:00.125) 0:01:19.282 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 07:56:50 -0500 (0:00:00.118) 0:01:19.400 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 07:56:51 -0500 (0:00:00.122) 0:01:19.523 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 07:56:51 -0500 (0:00:00.143) 0:01:19.666 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 07:56:51 -0500 (0:00:00.114) 0:01:19.781 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 07:56:52 -0500 (0:00:00.701) 0:01:20.482 ***** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16754esA2V2/tmpqFDbqY" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 07:56:52 -0500 (0:00:00.471) 0:01:20.954 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 07:56:53 -0500 (0:00:00.749) 0:01:21.703 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 07:56:53 -0500 (0:00:00.146) 0:01:21.850 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 07:56:53 -0500 (0:00:00.132) 0:01:21.982 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 07:56:53 -0500 (0:00:00.120) 0:01:22.103 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 07:56:53 -0500 (0:00:00.138) 0:01:22.242 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 07 December 2024 07:56:54 -0500 (0:00:00.678) 0:01:22.920 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 07 December 2024 07:56:54 -0500 (0:00:00.136) 0:01:23.056 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 07:56:54 -0500 (0:00:00.274) 0:01:23.331 ***** included: /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 07:56:55 -0500 (0:00:00.248) 0:01:23.579 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 07:56:55 -0500 (0:00:00.151) 0:01:23.730 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 07:56:55 -0500 (0:00:00.212) 0:01:23.943 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 07:56:55 -0500 (0:00:00.139) 0:01:24.083 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 07:56:56 -0500 (0:00:01.064) 0:01:25.147 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 07:56:58 -0500 (0:00:01.502) 0:01:26.650 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 07:56:58 -0500 (0:00:00.084) 0:01:26.734 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 07:56:58 -0500 (0:00:00.179) 0:01:26.914 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 07:56:58 -0500 (0:00:00.114) 0:01:27.028 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 07:56:58 -0500 (0:00:00.118) 0:01:27.146 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 07:56:58 -0500 (0:00:00.114) 0:01:27.260 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 07:56:59 -0500 (0:00:00.180) 0:01:27.441 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 07:56:59 -0500 (0:00:00.229) 0:01:27.671 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 07:56:59 -0500 (0:00:00.372) 0:01:28.043 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 07:56:59 -0500 (0:00:00.176) 0:01:28.220 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 07:56:59 -0500 (0:00:00.133) 0:01:28.353 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 07:57:00 -0500 (0:00:00.154) 0:01:28.508 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 07:57:00 -0500 (0:00:00.119) 0:01:28.627 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 07:57:00 -0500 (0:00:00.126) 0:01:28.754 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 07:57:01 -0500 (0:00:00.975) 0:01:29.730 ***** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16754esA2V2/tmpEbdqnb" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 07:57:01 -0500 (0:00:00.635) 0:01:30.366 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 07:57:02 -0500 (0:00:00.922) 0:01:31.288 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 07:57:02 -0500 (0:00:00.106) 0:01:31.395 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 07:57:03 -0500 (0:00:00.121) 0:01:31.516 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 07:57:03 -0500 (0:00:00.215) 0:01:31.732 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 07:57:03 -0500 (0:00:00.149) 0:01:31.881 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 07 December 2024 07:57:03 -0500 (0:00:00.406) 0:01:32.288 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node3 TASK [Include network role] **************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 07 December 2024 07:57:04 -0500 (0:00:00.154) 0:01:32.442 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 07:57:04 -0500 (0:00:00.208) 0:01:32.651 ***** included: /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 07:57:04 -0500 (0:00:00.369) 0:01:33.020 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 07:57:04 -0500 (0:00:00.143) 0:01:33.164 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 07:57:04 -0500 (0:00:00.115) 0:01:33.279 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 07:57:05 -0500 (0:00:00.180) 0:01:33.460 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 07:57:06 -0500 (0:00:01.274) 0:01:34.735 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 07:57:08 -0500 (0:00:01.773) 0:01:36.508 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 07:57:08 -0500 (0:00:00.138) 0:01:36.646 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 07:57:08 -0500 (0:00:00.141) 0:01:36.788 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 07:57:08 -0500 (0:00:00.117) 0:01:36.905 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 07:57:08 -0500 (0:00:00.142) 0:01:37.048 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 07:57:08 -0500 (0:00:00.168) 0:01:37.217 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 07:57:09 -0500 (0:00:00.238) 0:01:37.455 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 07:57:09 -0500 (0:00:00.126) 0:01:37.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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 07:57:09 -0500 (0:00:00.184) 0:01:37.766 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 07:57:09 -0500 (0:00:00.220) 0:01:37.986 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 07:57:09 -0500 (0:00:00.135) 0:01: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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 07:57:09 -0500 (0:00:00.150) 0:01:38.272 ***** skipping: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 07:57:09 -0500 (0:00:00.125) 0:01:38.398 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 07:57:10 -0500 (0:00:00.117) 0:01:38.515 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 07:57:10 -0500 (0:00:00.719) 0:01:39.235 ***** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16754esA2V2/tmpS3MTsK" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 07:57:11 -0500 (0:00:00.710) 0:01:39.945 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 07:57:12 -0500 (0:00:00.695) 0:01:40.641 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 07:57:12 -0500 (0:00:00.090) 0:01:40.731 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 07:57:12 -0500 (0:00:00.079) 0:01:40.810 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 07:57:12 -0500 (0:00:00.151) 0:01:40.961 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 07:57:12 -0500 (0:00:00.124) 0:01:41.086 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 07 December 2024 07:57:13 -0500 (0:00:00.397) 0:01:41.484 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node3 included: /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 07 December 2024 07:57:13 -0500 (0:00:00.162) 0:01:41.646 ***** included: /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 07 December 2024 07:57:13 -0500 (0:00:00.171) 0:01:41.817 ***** ok: [managed-node3] => { "changed": false, "stat": { "atime": 1733576222.701076, "block_size": 4096, "blocks": 0, "ctime": 1733576222.7000759, "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": 1733576222.7000759, "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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 07 December 2024 07:57:14 -0500 (0:00:00.615) 0:01:42.432 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 07 December 2024 07:57:14 -0500 (0:00:00.263) 0:01:42.696 ***** included: /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 07 December 2024 07:57:14 -0500 (0:00:00.269) 0:01:42.965 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 07 December 2024 07:57:14 -0500 (0:00:00.139) 0:01:43.105 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 07 December 2024 07:57:15 -0500 (0:00:00.704) 0:01:43.809 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 07 December 2024 07:57:15 -0500 (0:00:00.117) 0:01:43.927 ***** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019374", "end": "2024-12-07 07:57:15.856691", "rc": 1, "start": "2024-12-07 07:57:15.837317" } 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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 07 December 2024 07:57:16 -0500 (0:00:00.500) 0:01:44.428 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 07 December 2024 07:57:16 -0500 (0:00:00.149) 0:01:44.577 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 07 December 2024 07:57:16 -0500 (0:00:00.114) 0:01:44.692 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 07 December 2024 07:57:16 -0500 (0:00:00.087) 0:01:44.779 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 07 December 2024 07:57:16 -0500 (0:00:00.086) 0:01:44.866 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 07 December 2024 07:57:16 -0500 (0:00:00.119) 0:01:44.985 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 07 December 2024 07:57:16 -0500 (0:00:00.134) 0:01:45.120 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 07 December 2024 07:57:16 -0500 (0:00:00.113) 0:01:45.234 ***** ok: [managed-node3] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 07 December 2024 07:57:16 -0500 (0:00:00.120) 0:01:45.354 ***** included: /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 07 December 2024 07:57:17 -0500 (0:00:00.287) 0:01:45.641 ***** 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.046701", "end": "2024-12-07 07:57:17.707798", "rc": 0, "start": "2024-12-07 07:57:17.661097" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 07 December 2024 07:57:17 -0500 (0:00:00.614) 0:01:46.256 ***** included: /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 07 December 2024 07:57:18 -0500 (0:00:00.233) 0:01:46.490 ***** ok: [managed-node3] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 07 December 2024 07:57:18 -0500 (0:00:00.154) 0:01:46.645 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 07 December 2024 07:57:18 -0500 (0:00:00.330) 0:01:46.975 ***** included: /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 07 December 2024 07:57:19 -0500 (0:00:00.438) 0:01:47.414 ***** included: /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 07 December 2024 07:57:19 -0500 (0:00:00.246) 0:01:47.660 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004327", "end": "2024-12-07 07:57:20.693226", "rc": 0, "start": "2024-12-07 07:57:19.688899" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 07 December 2024 07:57:20 -0500 (0:00:01.580) 0:01:49.241 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 07 December 2024 07:57:20 -0500 (0:00:00.108) 0:01:49.350 ***** ok: [managed-node3] => {} MSG: current_interfaces: [u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 07 December 2024 07:57:21 -0500 (0:00:00.098) 0:01:49.449 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node3 TASK [Include network role] **************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 07 December 2024 07:57:21 -0500 (0:00:00.209) 0:01:49.658 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 07:57:21 -0500 (0:00:00.175) 0:01:49.833 ***** included: /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 07:57:21 -0500 (0:00:00.182) 0:01:50.015 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 07:57:21 -0500 (0:00:00.096) 0:01:50.112 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 07:57:21 -0500 (0:00:00.074) 0:01:50.187 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 07:57:21 -0500 (0:00:00.074) 0:01:50.262 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 07:57:22 -0500 (0:00:01.057) 0:01:51.319 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 07:57:24 -0500 (0:00:01.308) 0:01:52.628 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 07:57:24 -0500 (0:00:00.116) 0:01:52.744 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 07:57:24 -0500 (0:00:00.113) 0:01:52.858 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 07:57:24 -0500 (0:00:00.116) 0:01:52.975 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 07:57:24 -0500 (0:00:00.118) 0:01:53.093 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 07:57:24 -0500 (0:00:00.127) 0:01:53.221 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 07:57:24 -0500 (0:00:00.130) 0:01:53.352 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 07:57:25 -0500 (0:00:00.096) 0:01:53.448 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 07:57:25 -0500 (0:00:00.195) 0:01:53.644 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 07:57:25 -0500 (0:00:00.074) 0:01:53.719 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 07:57:25 -0500 (0:00:00.077) 0:01:53.797 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 07:57:25 -0500 (0:00:00.118) 0:01:53.916 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 07:57:25 -0500 (0:00:00.121) 0:01:54.037 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 07:57:25 -0500 (0:00:00.134) 0:01:54.172 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 07:57:26 -0500 (0:00:00.570) 0:01:54.742 ***** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16754esA2V2/tmpkukXOD" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 07:57:26 -0500 (0:00:00.461) 0:01:55.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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 07:57:27 -0500 (0:00:00.789) 0:01:55.993 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 07:57:27 -0500 (0:00:00.145) 0:01:56.139 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 07:57:27 -0500 (0:00:00.136) 0:01:56.276 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 07:57:27 -0500 (0:00:00.125) 0:01:56.402 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 07:57:28 -0500 (0:00:00.102) 0:01:56.505 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 07 December 2024 07:57:28 -0500 (0:00:00.394) 0:01:56.900 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 07 December 2024 07:57:28 -0500 (0:00:00.216) 0:01:57.116 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 07:57:29 -0500 (0:00:00.336) 0:01:57.452 ***** included: /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 07:57:29 -0500 (0:00:00.215) 0:01:57.668 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 07:57:29 -0500 (0:00:00.109) 0:01:57.777 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 07:57:29 -0500 (0:00:00.075) 0:01:57.853 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 07:57:29 -0500 (0:00:00.102) 0:01:57.956 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 07:57:30 -0500 (0:00:01.044) 0:01:59.000 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 07:57:32 -0500 (0:00:01.556) 0:02:00.557 ***** ok: [managed-node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 07:57:32 -0500 (0:00:00.111) 0:02:00.669 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 07:57:32 -0500 (0:00:00.135) 0:02:00.805 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 07:57:32 -0500 (0:00:00.126) 0:02:00.931 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 07:57:32 -0500 (0:00:00.200) 0:02:01.131 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 07:57:32 -0500 (0:00:00.138) 0:02:01.270 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 07:57:33 -0500 (0:00:00.218) 0:02:01.488 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 07:57:33 -0500 (0:00:00.211) 0:02:01.699 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 07:57:33 -0500 (0:00:00.206) 0:02:01.905 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 07:57:33 -0500 (0:00:00.112) 0:02:02.018 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 07:57:33 -0500 (0:00:00.085) 0:02:02.104 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 07:57:33 -0500 (0:00:00.084) 0:02:02.189 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 07:57:33 -0500 (0:00:00.082) 0:02:02.272 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 07:57:33 -0500 (0:00:00.127) 0:02:02.399 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 07:57:34 -0500 (0:00:00.708) 0:02:03.108 ***** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16754esA2V2/tmpB3RviV" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 07:57:35 -0500 (0:00:00.578) 0:02:03.686 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 07:57:36 -0500 (0:00:01.176) 0:02:04.862 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 07:57:36 -0500 (0:00:00.101) 0:02:04.964 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 07:57:36 -0500 (0:00:00.147) 0:02:05.111 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 07:57:36 -0500 (0:00:00.115) 0:02:05.226 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 07:57:36 -0500 (0:00:00.146) 0:02:05.373 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 07 December 2024 07:57:37 -0500 (0:00:00.462) 0:02:05.836 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 07:57:37 -0500 (0:00:00.225) 0:02:06.061 ***** included: /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 07:57:37 -0500 (0:00:00.261) 0:02:06.322 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 07:57:38 -0500 (0:00:00.147) 0:02:06.470 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 07:57:38 -0500 (0:00:00.115) 0:02:06.586 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 07:57:38 -0500 (0:00:00.113) 0:02:06.699 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 07:57:39 -0500 (0:00:01.153) 0:02:07.853 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 07:57:41 -0500 (0:00:01.561) 0:02:09.414 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 07:57:41 -0500 (0:00:00.113) 0:02:09.528 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 07:57:41 -0500 (0:00:00.163) 0:02:09.692 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 07:57:41 -0500 (0:00:00.181) 0:02:09.874 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 07:57:41 -0500 (0:00:00.205) 0:02:10.080 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 07:57:41 -0500 (0:00:00.140) 0:02:10.221 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 07:57:41 -0500 (0:00:00.140) 0:02:10.361 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 07:57:42 -0500 (0:00:00.138) 0:02:10.499 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 07:57:42 -0500 (0:00:00.196) 0:02:10.696 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 07:57:42 -0500 (0:00:00.184) 0:02:10.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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 07:57:42 -0500 (0:00:00.199) 0:02:11.080 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 07:57:42 -0500 (0:00:00.159) 0:02:11.240 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 07:57:42 -0500 (0:00:00.152) 0:02:11.392 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 07:57:43 -0500 (0:00:00.180) 0:02:11.573 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 07:57:43 -0500 (0:00:00.616) 0:02:12.189 ***** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16754esA2V2/tmpFkRBh6" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 07:57:44 -0500 (0:00:00.528) 0:02:12.717 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 07:57:45 -0500 (0:00:00.727) 0:02:13.444 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 07:57:45 -0500 (0:00:00.111) 0:02:13.556 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 07:57:45 -0500 (0:00:00.185) 0:02:13.742 ***** ok: [managed-node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 07:57:45 -0500 (0:00:00.110) 0:02:13.852 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 07:57:45 -0500 (0:00:00.090) 0:02:13.942 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 07 December 2024 07:57:46 -0500 (0:00:00.506) 0:02:14.449 ***** included: /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 07 December 2024 07:57:46 -0500 (0:00:00.335) 0:02:14.785 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 07:57:46 -0500 (0:00:00.280) 0:02:15.065 ***** included: /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 07:57:46 -0500 (0:00:00.267) 0:02:15.333 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 07:57:47 -0500 (0:00:00.156) 0:02:15.489 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 07:57:47 -0500 (0:00:00.222) 0:02:15.712 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 07:57:47 -0500 (0:00:00.117) 0:02:15.829 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 07:57:48 -0500 (0:00:01.208) 0:02:17.038 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 07:57:50 -0500 (0:00:01.593) 0:02:18.632 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 07:57:50 -0500 (0:00:00.101) 0:02:18.733 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 07:57:50 -0500 (0:00:00.132) 0:02:18.865 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 07:57:50 -0500 (0:00:00.123) 0:02:18.989 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 07:57:50 -0500 (0:00:00.131) 0:02:19.121 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 07:57:50 -0500 (0:00:00.135) 0:02:19.256 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 07:57:50 -0500 (0:00:00.132) 0:02:19.388 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 07:57:51 -0500 (0:00:00.157) 0:02:19.546 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 07:57:51 -0500 (0:00:00.307) 0:02:19.853 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 07:57:51 -0500 (0:00:00.178) 0:02:20.031 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 07:57:51 -0500 (0:00:00.138) 0:02:20.169 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 07:57:51 -0500 (0:00:00.192) 0:02:20.362 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 07:57:52 -0500 (0:00:00.141) 0:02:20.504 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 07:57:52 -0500 (0:00:00.152) 0:02:20.656 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 07:57:52 -0500 (0:00:00.604) 0:02:21.261 ***** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16754esA2V2/tmpeXHKZg" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 07:57:53 -0500 (0:00:00.476) 0:02:21.737 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 07:57:53 -0500 (0:00:00.626) 0:02:22.363 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 07:57:54 -0500 (0:00:00.095) 0:02:22.459 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 07:57:54 -0500 (0:00:00.118) 0:02:22.578 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 07:57:54 -0500 (0:00:00.127) 0:02:22.705 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 07:57:54 -0500 (0:00:00.119) 0:02:22.825 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 07 December 2024 07:57:55 -0500 (0:00:00.621) 0:02:23.447 ***** included: /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 07 December 2024 07:57:55 -0500 (0:00:00.380) 0:02:23.828 ***** included: /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 07 December 2024 07:57:55 -0500 (0:00:00.281) 0:02:24.109 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 07 December 2024 07:57:55 -0500 (0:00:00.137) 0:02:24.247 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 07 December 2024 07:57:56 -0500 (0:00:00.443) 0:02:24.690 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 07 December 2024 07:57:56 -0500 (0:00:00.158) 0:02:24.849 ***** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018901", "end": "2024-12-07 07:57:56.791789", "rc": 1, "start": "2024-12-07 07:57:56.772888" } 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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 07 December 2024 07:57:56 -0500 (0:00:00.542) 0:02:25.392 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 07 December 2024 07:57:57 -0500 (0:00:00.137) 0:02:25.529 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 07 December 2024 07:57:57 -0500 (0:00:00.132) 0:02:25.662 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 07 December 2024 07:57:57 -0500 (0:00:00.119) 0:02:25.782 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 07 December 2024 07:57:57 -0500 (0:00:00.116) 0:02:25.899 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 07 December 2024 07:57:57 -0500 (0:00:00.120) 0:02:26.019 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 07 December 2024 07:57:57 -0500 (0:00:00.126) 0:02:26.146 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 07 December 2024 07:57:57 -0500 (0:00:00.143) 0:02:26.289 ***** ok: [managed-node3] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 07 December 2024 07:57:58 -0500 (0:00:00.177) 0:02:26.466 ***** included: /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 07 December 2024 07:57:58 -0500 (0:00:00.242) 0:02:26.709 ***** 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.044803", "end": "2024-12-07 07:57:58.676741", "rc": 0, "start": "2024-12-07 07:57:58.631938" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 07 December 2024 07:57:58 -0500 (0:00:00.548) 0:02:27.257 ***** included: /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 07 December 2024 07:57:59 -0500 (0:00:00.258) 0:02:27.516 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 07 December 2024 07:57:59 -0500 (0:00:00.201) 0:02:27.717 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 07 December 2024 07:57:59 -0500 (0:00:00.207) 0:02:27.925 ***** included: /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 07 December 2024 07:57:59 -0500 (0:00:00.169) 0:02:28.095 ***** included: /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 07 December 2024 07:58:00 -0500 (0:00:00.324) 0:02:28.419 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003737", "end": "2024-12-07 07:58:00.340718", "rc": 0, "start": "2024-12-07 07:58:00.336981" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 07 December 2024 07:58:00 -0500 (0:00:00.565) 0:02:28.985 ***** ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 07 December 2024 07:58:00 -0500 (0:00:00.244) 0:02:29.229 ***** ok: [managed-node3] => {} MSG: current_interfaces: [u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 07 December 2024 07:58:00 -0500 (0:00:00.166) 0:02:29.395 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node3 included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 included: /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 07 December 2024 07:58:01 -0500 (0:00:00.249) 0:02:29.644 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 07:58:01 -0500 (0:00:00.208) 0:02:29.852 ***** included: /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 07:58:01 -0500 (0:00:00.166) 0:02:30.019 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 07:58:01 -0500 (0:00:00.097) 0:02:30.117 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 07:58:01 -0500 (0:00:00.072) 0:02:30.190 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 07:58:01 -0500 (0:00:00.095) 0:02:30.286 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 07:58:02 -0500 (0:00:00.961) 0:02:31.247 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 07:58:04 -0500 (0:00:01.715) 0:02:32.963 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 07:58:04 -0500 (0:00:00.145) 0:02:33.108 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 07:58:04 -0500 (0:00:00.203) 0:02:33.312 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 07:58:05 -0500 (0:00:00.142) 0:02:33.454 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 07:58:05 -0500 (0:00:00.139) 0:02:33.594 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 07:58:05 -0500 (0:00:00.106) 0:02:33.700 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 07:58:05 -0500 (0:00:00.088) 0:02:33.788 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 07:58:05 -0500 (0:00:00.116) 0:02:33.905 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 07:58:05 -0500 (0:00:00.194) 0:02:34.100 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 07:58:05 -0500 (0:00:00.113) 0:02:34.214 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 07:58:05 -0500 (0:00:00.118) 0:02:34.332 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 07:58:06 -0500 (0:00:00.123) 0:02:34.456 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 07:58:06 -0500 (0:00:00.123) 0:02:34.579 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 07:58:06 -0500 (0:00:00.125) 0:02:34.705 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 07:58:06 -0500 (0:00:00.641) 0:02:35.347 ***** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16754esA2V2/tmpJAaCjb" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 07:58:07 -0500 (0:00:00.455) 0:02:35.802 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 07:58:08 -0500 (0:00:00.663) 0:02:36.465 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 07:58:08 -0500 (0:00:00.118) 0:02:36.584 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 07:58:08 -0500 (0:00:00.132) 0:02:36.716 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 07:58:08 -0500 (0:00:00.135) 0:02:36.852 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 07:58:08 -0500 (0:00:00.116) 0:02:36.968 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 07 December 2024 07:58:08 -0500 (0:00:00.410) 0:02:37.379 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 07 December 2024 07:58:09 -0500 (0:00:00.081) 0:02:37.460 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 07:58:09 -0500 (0:00:00.132) 0:02:37.592 ***** included: /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 07:58:09 -0500 (0:00:00.152) 0:02:37.744 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 07:58:09 -0500 (0:00:00.110) 0:02:37.855 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 07:58:09 -0500 (0:00:00.075) 0:02:37.930 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 07:58:09 -0500 (0:00:00.176) 0:02:38.107 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 07:58:10 -0500 (0:00:00.995) 0:02:39.102 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 07:58:12 -0500 (0:00:01.859) 0:02:40.962 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 07:58:12 -0500 (0:00:00.256) 0:02:41.219 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 07:58:12 -0500 (0:00:00.179) 0:02:41.398 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 07:58:13 -0500 (0:00:00.104) 0:02:41.503 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 07:58:13 -0500 (0:00:00.097) 0:02:41.601 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 07:58:13 -0500 (0:00:00.078) 0:02:41.679 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 07:58:13 -0500 (0:00:00.094) 0:02:41.773 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 07:58:13 -0500 (0:00:00.140) 0:02:41.914 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 07:58:13 -0500 (0:00:00.310) 0:02:42.224 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 07:58:14 -0500 (0:00:00.333) 0:02:42.558 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 07:58:14 -0500 (0:00:00.235) 0:02:42.794 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 07:58:14 -0500 (0:00:00.115) 0:02:42.910 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 07:58:14 -0500 (0:00:00.120) 0:02:43.030 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 07:58:14 -0500 (0:00:00.128) 0:02:43.159 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 07:58:15 -0500 (0:00:00.679) 0:02:43.839 ***** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16754esA2V2/tmpxUYXvA" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 07:58:16 -0500 (0:00:00.657) 0:02:44.497 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 07:58:17 -0500 (0:00:01.117) 0:02:45.614 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 07:58:17 -0500 (0:00:00.125) 0:02:45.739 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 07:58:17 -0500 (0:00:00.212) 0:02:45.952 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 07:58:17 -0500 (0:00:00.183) 0:02:46.136 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 07:58:17 -0500 (0:00:00.164) 0:02:46.301 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 07 December 2024 07:58:18 -0500 (0:00:00.568) 0:02:46.869 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 07:58:18 -0500 (0:00:00.230) 0:02:47.100 ***** included: /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 07:58:19 -0500 (0:00:00.400) 0:02:47.500 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 07:58:19 -0500 (0:00:00.250) 0:02:47.750 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 07:58:19 -0500 (0:00:00.124) 0:02:47.875 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 07:58:19 -0500 (0:00:00.133) 0:02:48.008 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 07:58:20 -0500 (0:00:01.133) 0:02:49.142 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 07:58:22 -0500 (0:00:01.569) 0:02:50.712 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 07:58:22 -0500 (0:00:00.136) 0:02:50.848 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 07:58:22 -0500 (0:00:00.128) 0:02:50.976 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 07:58:22 -0500 (0:00:00.175) 0:02:51.152 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 07:58:23 -0500 (0:00:00.262) 0:02:51.414 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 07:58:23 -0500 (0:00:00.137) 0:02:51.551 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 07:58:23 -0500 (0:00:00.142) 0:02:51.694 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 07:58:23 -0500 (0:00:00.127) 0:02:51.822 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 07:58:23 -0500 (0:00:00.237) 0:02:52.060 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 07:58:23 -0500 (0:00:00.118) 0:02:52.178 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 07:58:23 -0500 (0:00:00.130) 0:02:52.309 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 07:58:24 -0500 (0:00:00.139) 0:02:52.448 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 07:58:24 -0500 (0:00:00.105) 0:02:52.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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 07:58:24 -0500 (0:00:00.096) 0:02:52.650 ***** ok: [managed-node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 07:58:24 -0500 (0:00:00.508) 0:02:53.158 ***** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16754esA2V2/tmpYeuIZC" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 07:58:25 -0500 (0:00:00.488) 0:02:53.647 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 07:58:26 -0500 (0:00:00.946) 0:02:54.593 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 07:58:26 -0500 (0:00:00.162) 0:02:54.755 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 07:58:26 -0500 (0:00:00.184) 0:02:54.940 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 07:58:26 -0500 (0:00:00.127) 0:02:55.067 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 07:58:26 -0500 (0:00:00.114) 0:02:55.182 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 07 December 2024 07:58:27 -0500 (0:00:00.503) 0:02:55.685 ***** included: /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 07 December 2024 07:58:27 -0500 (0:00:00.138) 0:02:55.824 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 07 December 2024 07:58:27 -0500 (0:00:00.176) 0:02:56.001 ***** included: /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 07 December 2024 07:58:27 -0500 (0:00:00.276) 0:02:56.277 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 07 December 2024 07:58:28 -0500 (0:00:00.126) 0:02:56.403 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 07 December 2024 07:58:28 -0500 (0:00:00.072) 0:02:56.476 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 07 December 2024 07:58:28 -0500 (0:00:00.073) 0:02:56.549 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 07 December 2024 07:58:29 -0500 (0:00:01.073) 0:02:57.623 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 07 December 2024 07:58:30 -0500 (0:00:01.455) 0:02:59.078 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 07 December 2024 07:58:30 -0500 (0:00:00.076) 0:02:59.155 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 07 December 2024 07:58:30 -0500 (0:00:00.091) 0:02:59.247 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 07 December 2024 07:58:30 -0500 (0:00:00.116) 0:02:59.364 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 07 December 2024 07:58:31 -0500 (0:00:00.093) 0:02:59.457 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 07 December 2024 07:58:31 -0500 (0:00:00.090) 0:02:59.547 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 07 December 2024 07:58:31 -0500 (0:00:00.085) 0:02:59.633 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 07 December 2024 07:58:31 -0500 (0:00:00.077) 0:02:59.710 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 07 December 2024 07:58:31 -0500 (0:00:00.142) 0:02:59.853 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 07 December 2024 07:58:31 -0500 (0:00:00.082) 0:02:59.936 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 07 December 2024 07:58:31 -0500 (0:00:00.101) 0:03:00.037 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 07 December 2024 07:58:31 -0500 (0:00:00.128) 0:03:00.165 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 07 December 2024 07:58:31 -0500 (0:00:00.141) 0:03:00.307 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 07 December 2024 07:58:32 -0500 (0:00:00.131) 0:03:00.439 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 07 December 2024 07:58:32 -0500 (0:00:00.650) 0:03:01.089 ***** ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16754esA2V2/tmpPS7M8x" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 07 December 2024 07:58:33 -0500 (0:00:00.517) 0:03:01.607 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 07 December 2024 07:58:33 -0500 (0:00:00.729) 0:03:02.337 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 07 December 2024 07:58:34 -0500 (0:00:00.121) 0:03:02.458 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 07 December 2024 07:58:34 -0500 (0:00:00.114) 0:03:02.573 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 07 December 2024 07:58:34 -0500 (0:00:00.117) 0:03:02.690 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 07 December 2024 07:58:34 -0500 (0:00:00.119) 0:03:02.810 ***** ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 07 December 2024 07:58:34 -0500 (0:00:00.448) 0:03:03.259 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node3 included: /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 07 December 2024 07:58:35 -0500 (0:00:00.220) 0:03:03.479 ***** included: /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 07 December 2024 07:58:35 -0500 (0:00:00.207) 0:03:03.686 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 07 December 2024 07:58:35 -0500 (0:00:00.120) 0:03:03.807 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 07 December 2024 07:58:35 -0500 (0:00:00.433) 0:03:04.240 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 07 December 2024 07:58:36 -0500 (0:00:00.173) 0:03:04.414 ***** fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019874", "end": "2024-12-07 07:58:36.568978", "rc": 1, "start": "2024-12-07 07:58:36.549104" } 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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 07 December 2024 07:58:36 -0500 (0:00:00.731) 0:03:05.145 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 07 December 2024 07:58:36 -0500 (0:00:00.133) 0:03:05.278 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 07 December 2024 07:58:37 -0500 (0:00:00.206) 0:03:05.484 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 07 December 2024 07:58:37 -0500 (0:00:00.119) 0:03:05.604 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 07 December 2024 07:58:37 -0500 (0:00:00.117) 0:03:05.721 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 07 December 2024 07:58:37 -0500 (0:00:00.095) 0:03:05.816 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 07 December 2024 07:58:37 -0500 (0:00:00.129) 0:03:05.946 ***** [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.622274", "end": "2024-12-07 07:58:38.614381", "rc": 0, "start": "2024-12-07 07:58:37.992107" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 07 December 2024 07:58:38 -0500 (0:00:01.213) 0:03:07.159 ***** ok: [managed-node3] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 07 December 2024 07:58:38 -0500 (0:00:00.139) 0:03:07.298 ***** ok: [managed-node3] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 07 December 2024 07:58:39 -0500 (0:00:00.122) 0:03:07.421 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 07 December 2024 07:58:39 -0500 (0:00:00.121) 0:03:07.542 ***** 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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 07 December 2024 07:58:39 -0500 (0:00:00.109) 0:03:07.652 ***** included: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node3 included: /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 07 December 2024 07:58:39 -0500 (0:00:00.237) 0:03:07.889 ***** 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.044689", "end": "2024-12-07 07:58:39.806748", "rc": 0, "start": "2024-12-07 07:58:39.762059" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 07 December 2024 07:58:39 -0500 (0:00:00.414) 0:03:08.304 ***** 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.007462", "end": "2024-12-07 07:58:40.175918", "rc": 0, "start": "2024-12-07 07:58:40.168456" } 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 0a:ff:c4:23:af:09 brd ff:ff:ff:ff:ff:ff inet 10.31.12.58/22 brd 10.31.15.255 scope global noprefixroute dynamic eth0 valid_lft 3223sec preferred_lft 3223sec inet6 fe80::8ff:c4ff:fe23:af09/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.12.58 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-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 07 December 2024 07:58:40 -0500 (0:00:00.369) 0:03:08.674 ***** 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.815842", "end": "2024-12-07 07:58:41.361245", "rc": 0, "start": "2024-12-07 07:58:40.545403" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 772 0 --:--:-- --:--:-- --:--:-- 774 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 727 0 --:--:-- --:--:-- --:--:-- 727 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node3 : ok=338 changed=14 unreachable=0 failed=0 skipped=284 rescued=0 ignored=10 Saturday 07 December 2024 07:58:41 -0500 (0:00:01.137) 0:03:09.811 ***** =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 1.86s /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.86s /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.77s /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.72s /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.66s /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gather current interface info ------------------------------------------- 1.64s /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 fedora.linux_system_roles.network : Check which packages are installed --- 1.59s /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gather current interface info ------------------------------------------- 1.58s /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.56s /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.56s /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.56s /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.53s /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.50s /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.46s /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gather current interface info ------------------------------------------- 1.42s /tmp/collections-AcM/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.39s /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.32s /tmp/collections-AcM/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-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.27s /tmp/collections-AcM/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21