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_nm.yml ************************************************** 2 plays in /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Saturday 12 October 2024 13:52:13 -0400 (0:00:00.037) 0:00:00.037 ****** ok: [managed-node1] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Saturday 12 October 2024 13:52:14 -0400 (0:00:01.050) 0:00:01.087 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node1 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 12 October 2024 13:52:14 -0400 (0:00:00.204) 0:00:01.292 ****** ok: [managed-node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 12 October 2024 13:52:15 -0400 (0:00:00.592) 0:00:01.885 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 12 October 2024 13:52:15 -0400 (0:00:00.654) 0:00:02.539 ****** ok: [managed-node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 12 October 2024 13:52:16 -0400 (0:00:00.069) 0:00:02.608 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 12 October 2024 13:52:16 -0400 (0:00:00.069) 0:00:02.677 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node1 TASK [Create EPEL 7] *********************************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 12 October 2024 13:52:16 -0400 (0:00:00.136) 0:00:02.814 ****** ok: [managed-node1] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/archive/epel/7/x86_64/Packages/e/epel-release-7-14.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 12 October 2024 13:52:16 -0400 (0:00:00.579) 0:00:03.394 ****** ok: [managed-node1] => { "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-n7V/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 12 October 2024 13:52:18 -0400 (0:00:01.309) 0:00:04.703 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.160102", "end": "2024-10-12 13:52:18.717884", "rc": 0, "start": "2024-10-12 13:52:18.557782" } 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-n7V/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 12 October 2024 13:52:18 -0400 (0:00:00.682) 0:00:05.385 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 12 October 2024 13:52:18 -0400 (0:00:00.038) 0:00:05.424 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Saturday 12 October 2024 13:52:18 -0400 (0:00:00.034) 0:00:05.459 ****** ok: [managed-node1] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 12 October 2024 13:52:18 -0400 (0:00:00.035) 0:00:05.495 ****** ok: [managed-node1] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 12 October 2024 13:52:19 -0400 (0:00:00.670) 0:00:06.165 ****** ok: [managed-node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 12 October 2024 13:52:19 -0400 (0:00:00.054) 0:00:06.220 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 12 October 2024 13:52:19 -0400 (0:00:00.065) 0:00:06.286 ****** ok: [managed-node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 12 October 2024 13:52:19 -0400 (0:00:00.062) 0:00:06.348 ****** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_present.yml" } ] } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 12 October 2024 13:52:19 -0400 (0:00:00.139) 0:00:06.488 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 12 October 2024 13:52:19 -0400 (0:00:00.056) 0:00:06.544 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 12 October 2024 13:52:19 -0400 (0:00:00.048) 0:00:06.592 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003105", "end": "2024-10-12 13:52:20.248178", "rc": 0, "start": "2024-10-12 13:52:20.245073" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 12 October 2024 13:52:20 -0400 (0:00:00.314) 0:00:06.907 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 12 October 2024 13:52:20 -0400 (0:00:00.040) 0:00:06.947 ****** ok: [managed-node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 12 October 2024 13:52:20 -0400 (0:00:00.037) 0:00:06.985 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 12 October 2024 13:52:20 -0400 (0:00:00.071) 0:00:07.056 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007494", "end": "2024-10-12 13:52:20.849457", "rc": 1, "start": "2024-10-12 13:52:20.841963" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 12 October 2024 13:52:20 -0400 (0:00:00.505) 0:00:07.562 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 12 October 2024 13:52:21 -0400 (0:00:00.105) 0:00:07.667 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 12 October 2024 13:52:21 -0400 (0:00:00.652) 0:00:08.319 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 12 October 2024 13:52:21 -0400 (0:00:00.095) 0:00:08.415 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 12 October 2024 13:52:21 -0400 (0:00:00.146) 0:00:08.561 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 13:52:22 -0400 (0:00:00.290) 0:00:08.852 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 13:52:22 -0400 (0:00:00.081) 0:00:08.934 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 13:52:22 -0400 (0:00:00.039) 0:00:08.973 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 13:52:22 -0400 (0:00:00.037) 0:00:09.010 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 13:52:22 -0400 (0:00:00.047) 0:00:09.058 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 13:52:23 -0400 (0:00:01.342) 0:00:10.400 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 13:52:25 -0400 (0:00:02.026) 0:00:12.426 ****** ok: [managed-node1] => {} MSG: Using network provider: nm 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-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 13:52:25 -0400 (0:00:00.139) 0:00:12.566 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 13:52:26 -0400 (0:00:00.218) 0:00:12.785 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 13:52:26 -0400 (0:00:00.149) 0:00:12.934 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 13:52:26 -0400 (0:00:00.095) 0:00:13.029 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 13:52:26 -0400 (0:00:00.110) 0:00:13.140 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 13:52:26 -0400 (0:00:00.115) 0:00:13.255 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 13:52:26 -0400 (0:00:00.093) 0:00:13.349 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 13:52:26 -0400 (0:00:00.115) 0:00:13.464 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 13:52:26 -0400 (0:00:00.084) 0:00:13.549 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 13:52:27 -0400 (0:00:00.100) 0:00:13.649 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 13:52:27 -0400 (0:00:00.091) 0:00:13.741 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 13:52:28 -0400 (0:00:01.118) 0:00:14.859 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 13:52:28 -0400 (0:00:00.135) 0:00:14.994 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 13:52:28 -0400 (0:00:00.242) 0:00:15.237 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 13:52:28 -0400 (0:00:00.153) 0:00:15.391 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 25a4b450-f6b4-4c7c-9f07-f86e7aff6860 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 13:52:29 -0400 (0:00:01.122) 0:00:16.513 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 13:52:30 -0400 (0:00:00.103) 0:00:16.617 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 25a4b450-f6b4-4c7c-9f07-f86e7aff6860" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 13:52:30 -0400 (0:00:00.162) 0:00:16.779 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 25a4b450-f6b4-4c7c-9f07-f86e7aff6860\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 25a4b450-f6b4-4c7c-9f07-f86e7aff6860" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 13:52:30 -0400 (0:00:00.119) 0:00:16.898 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 13:52:30 -0400 (0:00:00.120) 0:00:17.019 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 12 October 2024 13:52:31 -0400 (0:00:00.844) 0:00:17.864 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 25a4b450-f6b4-4c7c-9f07-f86e7aff6860\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 25a4b450-f6b4-4c7c-9f07-f86e7aff6860" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 12 October 2024 13:52:31 -0400 (0:00:00.182) 0:00:18.047 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 12 October 2024 13:52:31 -0400 (0:00:00.251) 0:00:18.298 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 12 October 2024 13:52:31 -0400 (0:00:00.290) 0:00:18.589 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 12 October 2024 13:52:32 -0400 (0:00:00.112) 0:00:18.701 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728755549.824835, "block_size": 4096, "blocks": 8, "ctime": 1728755549.758835, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22476, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1728755549.758835, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 146, "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-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 12 October 2024 13:52:32 -0400 (0:00:00.404) 0:00:19.106 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 12 October 2024 13:52:32 -0400 (0:00:00.078) 0:00:19.184 ****** ok: [managed-node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021426", "end": "2024-10-12 13:52:32.848966", "rc": 0, "start": "2024-10-12 13:52:32.827540" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 12 October 2024 13:52:32 -0400 (0:00:00.389) 0:00:19.574 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 12 October 2024 13:52:33 -0400 (0:00:00.088) 0:00:19.662 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 12 October 2024 13:52:33 -0400 (0:00:00.068) 0:00:19.731 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 12 October 2024 13:52:33 -0400 (0:00:00.115) 0:00:19.846 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 12 October 2024 13:52:33 -0400 (0:00:00.170) 0:00:20.017 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 12 October 2024 13:52:33 -0400 (0:00:00.214) 0:00:20.232 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 12 October 2024 13:52:33 -0400 (0:00:00.094) 0:00:20.327 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 12 October 2024 13:52:33 -0400 (0:00:00.071) 0:00:20.398 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 12 October 2024 13:52:33 -0400 (0:00:00.100) 0:00:20.498 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 12 October 2024 13:52:34 -0400 (0:00:00.262) 0:00:20.761 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 12 October 2024 13:52:34 -0400 (0:00:00.276) 0:00:21.037 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728755549.760835, "block_size": 4096, "blocks": 0, "ctime": 1728755549.759835, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17683, "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": 1728755549.759835, "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-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 12 October 2024 13:52:34 -0400 (0:00:00.491) 0:00:21.529 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 12 October 2024 13:52:35 -0400 (0:00:00.136) 0:00:21.666 ****** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 12 October 2024 13:52:35 -0400 (0:00:00.161) 0:00:21.827 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 12 October 2024 13:52:35 -0400 (0:00:00.176) 0:00:22.004 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.072924", "end": "2024-10-12 13:52:35.718030", "rc": 1, "start": "2024-10-12 13:52:35.645106" } STDOUT: Connection 'statebr' (25a4b450-f6b4-4c7c-9f07-f86e7aff6860) successfully deleted. STDERR: (process:14133): GLib-GIO-WARNING **: 13:52:35.695: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/18 but no object proxy exists (process:14133): GLib-GIO-WARNING **: 13:52:35.695: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/28 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 12 October 2024 13:52:35 -0400 (0:00:00.421) 0:00:22.425 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 12 October 2024 13:52:36 -0400 (0:00:00.193) 0:00:22.619 ****** ok: [managed-node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 12 October 2024 13:52:36 -0400 (0:00:00.122) 0:00:22.741 ****** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 12 October 2024 13:52:36 -0400 (0:00:00.344) 0:00:23.085 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 12 October 2024 13:52:36 -0400 (0:00:00.174) 0:00:23.260 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 12 October 2024 13:52:36 -0400 (0:00:00.201) 0:00:23.462 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003145", "end": "2024-10-12 13:52:37.118705", "rc": 0, "start": "2024-10-12 13:52:37.115560" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 12 October 2024 13:52:37 -0400 (0:00:00.361) 0:00:23.823 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 12 October 2024 13:52:37 -0400 (0:00:00.069) 0:00:23.893 ****** ok: [managed-node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 12 October 2024 13:52:37 -0400 (0:00:00.095) 0:00:23.988 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 12 October 2024 13:52:37 -0400 (0:00:00.222) 0:00:24.211 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006521", "end": "2024-10-12 13:52:37.956415", "rc": 1, "start": "2024-10-12 13:52:37.949894" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 12 October 2024 13:52:38 -0400 (0:00:00.476) 0:00:24.688 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 12 October 2024 13:52:38 -0400 (0:00:00.213) 0:00:24.902 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 12 October 2024 13:52:38 -0400 (0:00:00.315) 0:00:25.218 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 12 October 2024 13:52:38 -0400 (0:00:00.078) 0:00:25.296 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 12 October 2024 13:52:38 -0400 (0:00:00.236) 0:00:25.533 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 13:52:39 -0400 (0:00:00.196) 0:00:25.730 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 13:52:39 -0400 (0:00:00.256) 0:00:25.987 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 13:52:39 -0400 (0:00:00.157) 0:00:26.144 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 13:52:39 -0400 (0:00:00.106) 0:00:26.251 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 13:52:39 -0400 (0:00:00.119) 0:00:26.370 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 13:52:40 -0400 (0:00:00.918) 0:00:27.288 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 13:52:41 -0400 (0:00:01.156) 0:00:28.445 ****** ok: [managed-node1] => {} MSG: Using network provider: nm 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-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 13:52:41 -0400 (0:00:00.114) 0:00:28.559 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 13:52:42 -0400 (0:00:00.095) 0:00:28.655 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 13:52:42 -0400 (0:00:00.105) 0:00:28.760 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 13:52:42 -0400 (0:00:00.111) 0:00:28.872 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 13:52:42 -0400 (0:00:00.111) 0:00:28.983 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 13:52:42 -0400 (0:00:00.107) 0:00:29.091 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 13:52:42 -0400 (0:00:00.092) 0:00:29.184 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 13:52:42 -0400 (0:00:00.120) 0:00:29.304 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 13:52:42 -0400 (0:00:00.071) 0:00:29.376 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 13:52:42 -0400 (0:00:00.070) 0:00:29.446 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 13:52:42 -0400 (0:00:00.074) 0:00:29.520 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 13:52:43 -0400 (0:00:00.623) 0:00:30.144 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 13:52:43 -0400 (0:00:00.144) 0:00:30.289 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 13:52:43 -0400 (0:00:00.128) 0:00:30.417 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 13:52:43 -0400 (0:00:00.131) 0:00:30.549 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7be2dfb2-66b7-41fd-a8a3-e3362e5acfca TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 13:52:45 -0400 (0:00:01.262) 0:00:31.811 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 13:52:45 -0400 (0:00:00.187) 0:00:31.999 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7be2dfb2-66b7-41fd-a8a3-e3362e5acfca" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 13:52:45 -0400 (0:00:00.140) 0:00:32.139 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7be2dfb2-66b7-41fd-a8a3-e3362e5acfca\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7be2dfb2-66b7-41fd-a8a3-e3362e5acfca" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 13:52:45 -0400 (0:00:00.118) 0:00:32.258 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 13:52:45 -0400 (0:00:00.099) 0:00:32.358 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 12 October 2024 13:52:46 -0400 (0:00:00.595) 0:00:32.953 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7be2dfb2-66b7-41fd-a8a3-e3362e5acfca\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7be2dfb2-66b7-41fd-a8a3-e3362e5acfca" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 12 October 2024 13:52:46 -0400 (0:00:00.138) 0:00:33.092 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 12 October 2024 13:52:46 -0400 (0:00:00.226) 0:00:33.319 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 12 October 2024 13:52:46 -0400 (0:00:00.167) 0:00:33.487 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 12 October 2024 13:52:47 -0400 (0:00:00.587) 0:00:34.074 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 12 October 2024 13:52:47 -0400 (0:00:00.180) 0:00:34.255 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 12 October 2024 13:52:47 -0400 (0:00:00.214) 0:00:34.469 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 12 October 2024 13:52:48 -0400 (0:00:00.188) 0:00:34.657 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728755565.0308468, "block_size": 4096, "blocks": 8, "ctime": 1728755565.0308468, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22476, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1728755565.0308468, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 145, "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-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 12 October 2024 13:52:48 -0400 (0:00:00.378) 0:00:35.036 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 12 October 2024 13:52:48 -0400 (0:00:00.110) 0:00:35.146 ****** ok: [managed-node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021175", "end": "2024-10-12 13:52:48.828040", "rc": 0, "start": "2024-10-12 13:52:48.806865" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 12 October 2024 13:52:49 -0400 (0:00:00.461) 0:00:35.608 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 12 October 2024 13:52:49 -0400 (0:00:00.097) 0:00:35.706 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 12 October 2024 13:52:49 -0400 (0:00:00.077) 0:00:35.784 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 12 October 2024 13:52:49 -0400 (0:00:00.120) 0:00:35.905 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 12 October 2024 13:52:49 -0400 (0:00:00.117) 0:00:36.023 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 12 October 2024 13:52:49 -0400 (0:00:00.107) 0:00:36.131 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 12 October 2024 13:52:49 -0400 (0:00:00.101) 0:00:36.232 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 12 October 2024 13:52:49 -0400 (0:00:00.072) 0:00:36.305 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 12 October 2024 13:52:49 -0400 (0:00:00.081) 0:00:36.387 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 12 October 2024 13:52:49 -0400 (0:00:00.103) 0:00:36.491 ****** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 12 October 2024 13:52:50 -0400 (0:00:00.116) 0:00:36.607 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 12 October 2024 13:52:50 -0400 (0:00:00.162) 0:00:36.769 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.041896", "end": "2024-10-12 13:52:50.455823", "rc": 1, "start": "2024-10-12 13:52:50.413927" } STDOUT: Connection 'statebr' (7be2dfb2-66b7-41fd-a8a3-e3362e5acfca) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 12 October 2024 13:52:50 -0400 (0:00:00.433) 0:00:37.203 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 12 October 2024 13:52:50 -0400 (0:00:00.227) 0:00:37.430 ****** ok: [managed-node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 12 October 2024 13:52:50 -0400 (0:00:00.129) 0:00:37.560 ****** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 12 October 2024 13:52:51 -0400 (0:00:00.278) 0:00:37.839 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 12 October 2024 13:52:51 -0400 (0:00:00.335) 0:00:38.174 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 12 October 2024 13:52:51 -0400 (0:00:00.195) 0:00:38.370 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003179", "end": "2024-10-12 13:52:52.227545", "rc": 0, "start": "2024-10-12 13:52:52.224366" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 12 October 2024 13:52:52 -0400 (0:00:00.642) 0:00:39.012 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 12 October 2024 13:52:52 -0400 (0:00:00.124) 0:00:39.136 ****** ok: [managed-node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 12 October 2024 13:52:52 -0400 (0:00:00.073) 0:00:39.210 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 12 October 2024 13:52:52 -0400 (0:00:00.176) 0:00:39.387 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 13:52:53 -0400 (0:00:00.280) 0:00:39.667 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 13:52:53 -0400 (0:00:00.372) 0:00:40.040 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 13:52:53 -0400 (0:00:00.143) 0:00:40.184 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 13:52:53 -0400 (0:00:00.190) 0:00:40.374 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 13:52:53 -0400 (0:00:00.128) 0:00:40.502 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 13:52:54 -0400 (0:00:01.077) 0:00:41.579 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 13:52:56 -0400 (0:00:01.467) 0:00:43.047 ****** ok: [managed-node1] => {} MSG: Using network provider: nm 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-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 13:52:56 -0400 (0:00:00.179) 0:00:43.226 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 13:52:56 -0400 (0:00:00.212) 0:00:43.439 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 13:52:56 -0400 (0:00:00.151) 0:00:43.591 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 13:52:57 -0400 (0:00:00.129) 0:00:43.720 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 13:52:57 -0400 (0:00:00.115) 0:00:43.835 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 13:52:57 -0400 (0:00:00.110) 0:00:43.946 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 13:52:57 -0400 (0:00:00.099) 0:00:44.045 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 13:52:57 -0400 (0:00:00.180) 0:00:44.226 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 13:52:57 -0400 (0:00:00.115) 0:00:44.341 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 13:52:57 -0400 (0:00:00.133) 0:00:44.475 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 13:52:57 -0400 (0:00:00.122) 0:00:44.598 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 13:52:58 -0400 (0:00:00.622) 0:00:45.221 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 13:52:58 -0400 (0:00:00.088) 0:00:45.309 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 13:52:58 -0400 (0:00:00.069) 0:00:45.379 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 13:52:58 -0400 (0:00:00.079) 0:00:45.458 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0bf5ae3b-1104-447c-b854-e778d5ff7e5f TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 13:52:59 -0400 (0:00:00.869) 0:00:46.328 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 13:52:59 -0400 (0:00:00.198) 0:00:46.526 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0bf5ae3b-1104-447c-b854-e778d5ff7e5f" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 13:53:00 -0400 (0:00:00.186) 0:00:46.713 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0bf5ae3b-1104-447c-b854-e778d5ff7e5f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0bf5ae3b-1104-447c-b854-e778d5ff7e5f" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 13:53:00 -0400 (0:00:00.233) 0:00:46.947 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 13:53:00 -0400 (0:00:00.115) 0:00:47.062 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 12 October 2024 13:53:00 -0400 (0:00:00.409) 0:00:47.471 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0bf5ae3b-1104-447c-b854-e778d5ff7e5f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0bf5ae3b-1104-447c-b854-e778d5ff7e5f" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 12 October 2024 13:53:01 -0400 (0:00:00.143) 0:00:47.615 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 12 October 2024 13:53:01 -0400 (0:00:00.253) 0:00:47.868 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 13:53:01 -0400 (0:00:00.295) 0:00:48.164 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 13:53:01 -0400 (0:00:00.187) 0:00:48.352 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 13:53:01 -0400 (0:00:00.200) 0:00:48.552 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 13:53:02 -0400 (0:00:00.116) 0:00:48.668 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 13:53:02 -0400 (0:00:00.085) 0:00:48.753 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 13:53:03 -0400 (0:00:00.924) 0:00:49.678 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 13:53:04 -0400 (0:00:01.714) 0:00:51.392 ****** ok: [managed-node1] => {} MSG: Using network provider: nm 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-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 13:53:04 -0400 (0:00:00.119) 0:00:51.511 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 13:53:05 -0400 (0:00:00.104) 0:00:51.616 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 13:53:05 -0400 (0:00:00.072) 0:00:51.688 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 13:53:05 -0400 (0:00:00.088) 0:00:51.776 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 13:53:05 -0400 (0:00:00.127) 0:00:51.904 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 13:53:05 -0400 (0:00:00.164) 0:00:52.069 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 13:53:05 -0400 (0:00:00.151) 0:00:52.221 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 13:53:05 -0400 (0:00:00.360) 0:00:52.581 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 13:53:06 -0400 (0:00:00.120) 0:00:52.701 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 13:53:06 -0400 (0:00:00.117) 0:00:52.818 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 13:53:06 -0400 (0:00:00.117) 0:00:52.936 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 13:53:06 -0400 (0:00:00.622) 0:00:53.559 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 13:53:07 -0400 (0:00:00.194) 0:00:53.754 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 13:53:07 -0400 (0:00:00.139) 0:00:53.893 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 13:53:07 -0400 (0:00:00.110) 0:00:54.003 ****** ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0bf5ae3b-1104-447c-b854-e778d5ff7e5f skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 13:53:08 -0400 (0:00:00.774) 0:00:54.777 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 13:53:08 -0400 (0:00:00.108) 0:00:54.886 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0bf5ae3b-1104-447c-b854-e778d5ff7e5f skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 13:53:08 -0400 (0:00:00.117) 0:00:55.004 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0bf5ae3b-1104-447c-b854-e778d5ff7e5f skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0bf5ae3b-1104-447c-b854-e778d5ff7e5f skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 13:53:08 -0400 (0:00:00.198) 0:00:55.202 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 13:53:08 -0400 (0:00:00.202) 0:00:55.404 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 12 October 2024 13:53:09 -0400 (0:00:00.585) 0:00:55.990 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 12 October 2024 13:53:09 -0400 (0:00:00.377) 0:00:56.367 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 12 October 2024 13:53:10 -0400 (0:00:00.275) 0:00:56.642 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728755579.4718587, "block_size": 4096, "blocks": 0, "ctime": 1728755579.4708588, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17683, "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": 1728755579.4708588, "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-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 12 October 2024 13:53:10 -0400 (0:00:00.371) 0:00:57.014 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 12 October 2024 13:53:10 -0400 (0:00:00.126) 0:00:57.140 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 12 October 2024 13:53:10 -0400 (0:00:00.296) 0:00:57.437 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 12 October 2024 13:53:10 -0400 (0:00:00.130) 0:00:57.567 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728755579.4708588, "block_size": 4096, "blocks": 8, "ctime": 1728755579.469859, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22476, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1728755579.469859, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 146, "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-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 12 October 2024 13:53:11 -0400 (0:00:00.486) 0:00:58.054 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 12 October 2024 13:53:11 -0400 (0:00:00.126) 0:00:58.181 ****** ok: [managed-node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021066", "end": "2024-10-12 13:53:12.035411", "rc": 0, "start": "2024-10-12 13:53:12.014345" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 12 October 2024 13:53:12 -0400 (0:00:00.602) 0:00:58.783 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 12 October 2024 13:53:12 -0400 (0:00:00.142) 0:00:58.926 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 12 October 2024 13:53:12 -0400 (0:00:00.119) 0:00:59.046 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 12 October 2024 13:53:12 -0400 (0:00:00.113) 0:00:59.159 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 12 October 2024 13:53:12 -0400 (0:00:00.124) 0:00:59.284 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 12 October 2024 13:53:12 -0400 (0:00:00.114) 0:00:59.398 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 12 October 2024 13:53:12 -0400 (0:00:00.165) 0:00:59.564 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 12 October 2024 13:53:13 -0400 (0:00:00.132) 0:00:59.696 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 12 October 2024 13:53:13 -0400 (0:00:00.199) 0:00:59.895 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 12 October 2024 13:53:13 -0400 (0:00:00.216) 0:01:00.112 ****** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 12 October 2024 13:53:13 -0400 (0:00:00.112) 0:01:00.225 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 12 October 2024 13:53:13 -0400 (0:00:00.180) 0:01:00.405 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.069536", "end": "2024-10-12 13:53:14.117921", "rc": 1, "start": "2024-10-12 13:53:14.048385" } STDOUT: Connection 'statebr' (0bf5ae3b-1104-447c-b854-e778d5ff7e5f) successfully deleted. STDERR: (process:15936): GLib-GIO-WARNING **: 13:53:14.096: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/19 but no object proxy exists (process:15936): GLib-GIO-WARNING **: 13:53:14.096: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/43 but no object proxy exists (process:15936): GLib-GIO-WARNING **: 13:53:14.096: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/29 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 12 October 2024 13:53:14 -0400 (0:00:00.413) 0:01:00.818 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 12 October 2024 13:53:14 -0400 (0:00:00.187) 0:01:01.006 ****** ok: [managed-node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 12 October 2024 13:53:14 -0400 (0:00:00.102) 0:01:01.109 ****** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 12 October 2024 13:53:14 -0400 (0:00:00.150) 0:01:01.259 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 12 October 2024 13:53:14 -0400 (0:00:00.154) 0:01:01.413 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 12 October 2024 13:53:14 -0400 (0:00:00.156) 0:01:01.569 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003372", "end": "2024-10-12 13:53:15.224364", "rc": 0, "start": "2024-10-12 13:53:15.220992" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 12 October 2024 13:53:15 -0400 (0:00:00.383) 0:01:01.953 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 12 October 2024 13:53:15 -0400 (0:00:00.181) 0:01:02.134 ****** ok: [managed-node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 12 October 2024 13:53:15 -0400 (0:00:00.110) 0:01:02.245 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 12 October 2024 13:53:15 -0400 (0:00:00.269) 0:01:02.514 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 13:53:16 -0400 (0:00:00.208) 0:01:02.722 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 13:53:16 -0400 (0:00:00.372) 0:01:03.095 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 13:53:16 -0400 (0:00:00.226) 0:01:03.321 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 13:53:16 -0400 (0:00:00.114) 0:01:03.436 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 13:53:16 -0400 (0:00:00.147) 0:01:03.584 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 13:53:18 -0400 (0:00:01.043) 0:01:04.627 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 13:53:19 -0400 (0:00:01.356) 0:01:05.983 ****** ok: [managed-node1] => {} MSG: Using network provider: nm 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-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 13:53:19 -0400 (0:00:00.100) 0:01:06.084 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 13:53:19 -0400 (0:00:00.147) 0:01:06.231 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 13:53:19 -0400 (0:00:00.149) 0:01:06.381 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 13:53:19 -0400 (0:00:00.108) 0:01:06.489 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 13:53:20 -0400 (0:00:00.191) 0:01:06.681 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 13:53:20 -0400 (0:00:00.152) 0:01:06.834 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 13:53:20 -0400 (0:00:00.129) 0:01:06.963 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 13:53:20 -0400 (0:00:00.152) 0:01:07.116 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 13:53:20 -0400 (0:00:00.101) 0:01:07.217 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 13:53:20 -0400 (0:00:00.109) 0:01:07.326 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 13:53:20 -0400 (0:00:00.126) 0:01:07.453 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 13:53:21 -0400 (0:00:00.608) 0:01:08.062 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 13:53:21 -0400 (0:00:00.170) 0:01:08.232 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 13:53:21 -0400 (0:00:00.145) 0:01:08.378 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 13:53:21 -0400 (0:00:00.113) 0:01:08.491 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2e75a72d-b63f-4483-a191-c88f3dfe92b0 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 13:53:22 -0400 (0:00:00.755) 0:01:09.246 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 13:53:22 -0400 (0:00:00.104) 0:01:09.351 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2e75a72d-b63f-4483-a191-c88f3dfe92b0" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 13:53:22 -0400 (0:00:00.126) 0:01:09.478 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2e75a72d-b63f-4483-a191-c88f3dfe92b0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2e75a72d-b63f-4483-a191-c88f3dfe92b0" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 13:53:23 -0400 (0:00:00.264) 0:01:09.743 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 13:53:23 -0400 (0:00:00.110) 0:01:09.854 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 12 October 2024 13:53:23 -0400 (0:00:00.360) 0:01:10.214 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2e75a72d-b63f-4483-a191-c88f3dfe92b0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2e75a72d-b63f-4483-a191-c88f3dfe92b0" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 12 October 2024 13:53:23 -0400 (0:00:00.075) 0:01:10.290 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 13:53:23 -0400 (0:00:00.118) 0:01:10.409 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 13:53:23 -0400 (0:00:00.165) 0:01:10.574 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 13:53:24 -0400 (0:00:00.118) 0:01:10.693 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 13:53:24 -0400 (0:00:00.107) 0:01:10.801 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 13:53:24 -0400 (0:00:00.113) 0:01:10.914 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 13:53:25 -0400 (0:00:00.990) 0:01:11.905 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 13:53:26 -0400 (0:00:01.592) 0:01:13.497 ****** ok: [managed-node1] => {} MSG: Using network provider: nm 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-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 13:53:27 -0400 (0:00:00.142) 0:01:13.639 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 13:53:27 -0400 (0:00:00.134) 0:01:13.774 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 13:53:27 -0400 (0:00:00.111) 0:01:13.886 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 13:53:27 -0400 (0:00:00.090) 0:01:13.976 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 13:53:27 -0400 (0:00:00.093) 0:01:14.070 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 13:53:27 -0400 (0:00:00.080) 0:01:14.150 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 13:53:27 -0400 (0:00:00.087) 0:01:14.238 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 13:53:27 -0400 (0:00:00.123) 0:01:14.362 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 13:53:27 -0400 (0:00:00.105) 0:01:14.468 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 13:53:28 -0400 (0:00:00.144) 0:01:14.613 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 13:53:28 -0400 (0:00:00.187) 0:01:14.800 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 13:53:28 -0400 (0:00:00.768) 0:01:15.569 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 13:53:29 -0400 (0:00:00.118) 0:01:15.688 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 13:53:29 -0400 (0:00:00.108) 0:01:15.796 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 13:53:29 -0400 (0:00:00.107) 0:01:15.903 ****** ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 2e75a72d-b63f-4483-a191-c88f3dfe92b0 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 13:53:30 -0400 (0:00:00.950) 0:01:16.854 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 13:53:30 -0400 (0:00:00.320) 0:01:17.174 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 2e75a72d-b63f-4483-a191-c88f3dfe92b0 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 13:53:30 -0400 (0:00:00.129) 0:01:17.304 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 2e75a72d-b63f-4483-a191-c88f3dfe92b0 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 2e75a72d-b63f-4483-a191-c88f3dfe92b0 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 13:53:30 -0400 (0:00:00.138) 0:01:17.443 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 13:53:30 -0400 (0:00:00.118) 0:01:17.561 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 12 October 2024 13:53:31 -0400 (0:00:00.509) 0:01:18.070 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 12 October 2024 13:53:31 -0400 (0:00:00.232) 0:01:18.303 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 13:53:32 -0400 (0:00:00.303) 0:01:18.607 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 13:53:32 -0400 (0:00:00.341) 0:01:18.948 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 13:53:32 -0400 (0:00:00.116) 0:01:19.064 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 13:53:32 -0400 (0:00:00.076) 0:01:19.141 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 13:53:32 -0400 (0:00:00.129) 0:01:19.271 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 13:53:33 -0400 (0:00:01.156) 0:01:20.427 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 13:53:35 -0400 (0:00:01.445) 0:01:21.872 ****** ok: [managed-node1] => {} MSG: Using network provider: nm 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-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 13:53:35 -0400 (0:00:00.109) 0:01:21.982 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 13:53:35 -0400 (0:00:00.107) 0:01:22.090 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 13:53:35 -0400 (0:00:00.093) 0:01:22.184 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 13:53:35 -0400 (0:00:00.088) 0:01:22.273 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 13:53:35 -0400 (0:00:00.072) 0:01:22.346 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 13:53:35 -0400 (0:00:00.097) 0:01:22.444 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 13:53:35 -0400 (0:00:00.115) 0:01:22.559 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 13:53:36 -0400 (0:00:00.210) 0:01:22.770 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 13:53:36 -0400 (0:00:00.109) 0:01:22.879 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 13:53:36 -0400 (0:00:00.102) 0:01:22.981 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 13:53:36 -0400 (0:00:00.115) 0:01:23.097 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 13:53:37 -0400 (0:00:00.618) 0:01:23.716 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 13:53:37 -0400 (0:00:00.095) 0:01:23.811 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 13:53:37 -0400 (0:00:00.069) 0:01:23.881 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 13:53:37 -0400 (0:00:00.067) 0:01:23.949 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 13:53:37 -0400 (0:00:00.626) 0:01:24.575 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 13:53:38 -0400 (0:00:00.101) 0:01:24.677 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 13:53:38 -0400 (0:00:00.093) 0:01:24.770 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 13:53:38 -0400 (0:00:00.074) 0:01:24.844 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 13:53:38 -0400 (0:00:00.067) 0:01:24.912 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 12 October 2024 13:53:38 -0400 (0:00:00.309) 0:01:25.221 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 12 October 2024 13:53:38 -0400 (0:00:00.136) 0:01:25.358 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 12 October 2024 13:53:38 -0400 (0:00:00.118) 0:01:25.477 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1728755602.484878, "block_size": 4096, "blocks": 0, "ctime": 1728755602.4808779, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17685, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1728755602.4808779, "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-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 12 October 2024 13:53:39 -0400 (0:00:00.416) 0:01:25.893 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 12 October 2024 13:53:39 -0400 (0:00:00.120) 0:01:26.013 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 12 October 2024 13:53:39 -0400 (0:00:00.258) 0:01:26.271 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 12 October 2024 13:53:39 -0400 (0:00:00.117) 0:01:26.389 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 12 October 2024 13:53:40 -0400 (0:00:00.403) 0:01:26.792 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 12 October 2024 13:53:40 -0400 (0:00:00.132) 0:01:26.924 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020417", "end": "2024-10-12 13:53:40.811949", "rc": 1, "start": "2024-10-12 13:53:40.791532" } 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-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 12 October 2024 13:53:41 -0400 (0:00:00.697) 0:01:27.621 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 12 October 2024 13:53:41 -0400 (0:00:00.116) 0:01:27.738 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 12 October 2024 13:53:41 -0400 (0:00:00.128) 0:01:27.866 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 12 October 2024 13:53:41 -0400 (0:00:00.098) 0:01:27.965 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 12 October 2024 13:53:41 -0400 (0:00:00.120) 0:01:28.086 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 12 October 2024 13:53:41 -0400 (0:00:00.137) 0:01:28.224 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 12 October 2024 13:53:41 -0400 (0:00:00.133) 0:01:28.357 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 12 October 2024 13:53:41 -0400 (0:00:00.105) 0:01:28.462 ****** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 12 October 2024 13:53:41 -0400 (0:00:00.112) 0:01:28.575 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 12 October 2024 13:53:42 -0400 (0:00:00.268) 0:01:28.843 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.080788", "end": "2024-10-12 13:53:42.644126", "rc": 1, "start": "2024-10-12 13:53:42.563338" } STDOUT: Connection 'statebr' (2e75a72d-b63f-4483-a191-c88f3dfe92b0) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 12 October 2024 13:53:42 -0400 (0:00:00.534) 0:01:29.377 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 12 October 2024 13:53:43 -0400 (0:00:00.287) 0:01:29.665 ****** ok: [managed-node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 12 October 2024 13:53:43 -0400 (0:00:00.218) 0:01:29.884 ****** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 12 October 2024 13:53:43 -0400 (0:00:00.305) 0:01:30.189 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 12 October 2024 13:53:43 -0400 (0:00:00.225) 0:01:30.415 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 12 October 2024 13:53:43 -0400 (0:00:00.147) 0:01:30.563 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003384", "end": "2024-10-12 13:53:44.354234", "rc": 0, "start": "2024-10-12 13:53:44.350850" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 12 October 2024 13:53:44 -0400 (0:00:00.531) 0:01:31.094 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 12 October 2024 13:53:44 -0400 (0:00:00.138) 0:01:31.233 ****** ok: [managed-node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 12 October 2024 13:53:44 -0400 (0:00:00.106) 0:01:31.340 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 12 October 2024 13:53:45 -0400 (0:00:00.272) 0:01:31.612 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 13:53:45 -0400 (0:00:00.283) 0:01:31.896 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 13:53:45 -0400 (0:00:00.204) 0:01:32.100 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 13:53:45 -0400 (0:00:00.131) 0:01:32.232 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 13:53:45 -0400 (0:00:00.181) 0:01:32.413 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 13:53:45 -0400 (0:00:00.088) 0:01:32.501 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 13:53:46 -0400 (0:00:00.867) 0:01:33.368 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 13:53:48 -0400 (0:00:01.536) 0:01:34.905 ****** ok: [managed-node1] => {} MSG: Using network provider: nm 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-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 13:53:48 -0400 (0:00:00.201) 0:01:35.107 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 13:53:48 -0400 (0:00:00.133) 0:01:35.240 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 13:53:48 -0400 (0:00:00.157) 0:01:35.398 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 13:53:48 -0400 (0:00:00.128) 0:01:35.527 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 13:53:49 -0400 (0:00:00.111) 0:01:35.638 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 13:53:49 -0400 (0:00:00.121) 0:01:35.759 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 13:53:49 -0400 (0:00:00.115) 0:01:35.874 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 13:53:49 -0400 (0:00:00.331) 0:01:36.206 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 13:53:49 -0400 (0:00:00.126) 0:01:36.332 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 13:53:49 -0400 (0:00:00.110) 0:01:36.442 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 13:53:49 -0400 (0:00:00.113) 0:01:36.556 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 13:53:50 -0400 (0:00:00.475) 0:01:37.032 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 13:53:50 -0400 (0:00:00.115) 0:01:37.148 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 13:53:50 -0400 (0:00:00.113) 0:01:37.261 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 13:53:50 -0400 (0:00:00.109) 0:01:37.371 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bc136c06-84d0-40bd-b1f1-1d1273268d89 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 13:53:51 -0400 (0:00:00.857) 0:01:38.228 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 13:53:51 -0400 (0:00:00.118) 0:01:38.347 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bc136c06-84d0-40bd-b1f1-1d1273268d89" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 13:53:51 -0400 (0:00:00.121) 0:01:38.469 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bc136c06-84d0-40bd-b1f1-1d1273268d89\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bc136c06-84d0-40bd-b1f1-1d1273268d89" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 13:53:51 -0400 (0:00:00.113) 0:01:38.582 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 13:53:52 -0400 (0:00:00.205) 0:01:38.787 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 12 October 2024 13:53:52 -0400 (0:00:00.624) 0:01:39.412 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bc136c06-84d0-40bd-b1f1-1d1273268d89\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bc136c06-84d0-40bd-b1f1-1d1273268d89" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 12 October 2024 13:53:53 -0400 (0:00:00.217) 0:01:39.630 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 13:53:53 -0400 (0:00:00.272) 0:01:39.902 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 13:53:53 -0400 (0:00:00.283) 0:01:40.186 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 13:53:53 -0400 (0:00:00.138) 0:01:40.324 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 13:53:53 -0400 (0:00:00.188) 0:01:40.513 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 13:53:54 -0400 (0:00:00.109) 0:01:40.623 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 13:53:54 -0400 (0:00:00.934) 0:01:41.558 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 13:53:56 -0400 (0:00:01.568) 0:01:43.127 ****** ok: [managed-node1] => {} MSG: Using network provider: nm 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-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 13:53:56 -0400 (0:00:00.258) 0:01:43.385 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 13:53:56 -0400 (0:00:00.133) 0:01:43.519 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 13:53:57 -0400 (0:00:00.228) 0:01:43.747 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 13:53:57 -0400 (0:00:00.122) 0:01:43.870 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 13:53:57 -0400 (0:00:00.154) 0:01:44.025 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 13:53:57 -0400 (0:00:00.168) 0:01:44.194 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 13:53:57 -0400 (0:00:00.145) 0:01:44.340 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 13:53:57 -0400 (0:00:00.241) 0:01:44.581 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 13:53:58 -0400 (0:00:00.135) 0:01:44.716 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 13:53:58 -0400 (0:00:00.119) 0:01:44.835 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 13:53:58 -0400 (0:00:00.115) 0:01:44.951 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 13:53:59 -0400 (0:00:00.662) 0:01:45.614 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 13:53:59 -0400 (0:00:00.099) 0:01:45.714 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 13:53:59 -0400 (0:00:00.100) 0:01:45.814 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 13:53:59 -0400 (0:00:00.115) 0:01:45.929 ****** ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, bc136c06-84d0-40bd-b1f1-1d1273268d89 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 13:54:00 -0400 (0:00:00.889) 0:01:46.819 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 13:54:00 -0400 (0:00:00.106) 0:01:46.925 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, bc136c06-84d0-40bd-b1f1-1d1273268d89 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 13:54:00 -0400 (0:00:00.114) 0:01:47.039 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, bc136c06-84d0-40bd-b1f1-1d1273268d89 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, bc136c06-84d0-40bd-b1f1-1d1273268d89 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 13:54:00 -0400 (0:00:00.113) 0:01:47.153 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 13:54:00 -0400 (0:00:00.136) 0:01:47.289 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 12 October 2024 13:54:01 -0400 (0:00:00.513) 0:01:47.802 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 13:54:01 -0400 (0:00:00.320) 0:01:48.123 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 13:54:01 -0400 (0:00:00.219) 0:01:48.343 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 13:54:01 -0400 (0:00:00.123) 0:01:48.467 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 13:54:01 -0400 (0:00:00.067) 0:01:48.534 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 13:54:02 -0400 (0:00:00.084) 0:01:48.619 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 13:54:03 -0400 (0:00:01.113) 0:01:49.733 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 13:54:04 -0400 (0:00:01.398) 0:01:51.131 ****** ok: [managed-node1] => {} MSG: Using network provider: nm 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-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 13:54:04 -0400 (0:00:00.233) 0:01:51.365 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 13:54:04 -0400 (0:00:00.111) 0:01:51.477 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 13:54:05 -0400 (0:00:00.139) 0:01:51.616 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 13:54:05 -0400 (0:00:00.123) 0:01:51.740 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 13:54:05 -0400 (0:00:00.222) 0:01:51.963 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 13:54:05 -0400 (0:00:00.121) 0:01:52.085 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 13:54:05 -0400 (0:00:00.096) 0:01:52.181 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 13:54:05 -0400 (0:00:00.169) 0:01:52.350 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 13:54:05 -0400 (0:00:00.159) 0:01:52.509 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 13:54:06 -0400 (0:00:00.207) 0:01:52.717 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 13:54:06 -0400 (0:00:00.198) 0:01:52.916 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 13:54:07 -0400 (0:00:00.865) 0:01:53.781 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 13:54:07 -0400 (0:00:00.122) 0:01:53.904 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 13:54:07 -0400 (0:00:00.117) 0:01:54.021 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 13:54:07 -0400 (0:00:00.088) 0:01:54.110 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 13:54:08 -0400 (0:00:00.611) 0:01:54.722 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 13:54:08 -0400 (0:00:00.113) 0:01:54.835 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 13:54:08 -0400 (0:00:00.167) 0:01:55.003 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 13:54:08 -0400 (0:00:00.095) 0:01:55.098 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 13:54:08 -0400 (0:00:00.095) 0:01:55.194 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 12 October 2024 13:54:09 -0400 (0:00:00.479) 0:01:55.673 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 12 October 2024 13:54:09 -0400 (0:00:00.231) 0:01:55.905 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 13:54:09 -0400 (0:00:00.238) 0:01:56.143 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 13:54:09 -0400 (0:00:00.246) 0:01:56.389 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 13:54:10 -0400 (0:00:00.242) 0:01:56.632 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 13:54:10 -0400 (0:00:00.145) 0:01:56.777 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 13:54:10 -0400 (0:00:00.114) 0:01:56.892 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 13:54:11 -0400 (0:00:01.105) 0:01:57.997 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 13:54:12 -0400 (0:00:01.589) 0:01:59.586 ****** ok: [managed-node1] => {} MSG: Using network provider: nm 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-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 13:54:13 -0400 (0:00:00.119) 0:01:59.706 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 13:54:13 -0400 (0:00:00.111) 0:01:59.817 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 13:54:13 -0400 (0:00:00.110) 0:01:59.928 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 13:54:13 -0400 (0:00:00.112) 0:02:00.040 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 13:54:13 -0400 (0:00:00.113) 0:02:00.154 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 13:54:13 -0400 (0:00:00.118) 0:02:00.273 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 13:54:13 -0400 (0:00:00.142) 0:02:00.415 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 13:54:13 -0400 (0:00:00.184) 0:02:00.600 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 13:54:14 -0400 (0:00:00.106) 0:02:00.706 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 13:54:14 -0400 (0:00:00.110) 0:02:00.816 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 13:54:14 -0400 (0:00:00.114) 0:02:00.931 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 13:54:14 -0400 (0:00:00.521) 0:02:01.453 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 13:54:15 -0400 (0:00:00.159) 0:02:01.613 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 13:54:15 -0400 (0:00:00.094) 0:02:01.707 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 13:54:15 -0400 (0:00:00.076) 0:02:01.783 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 13:54:15 -0400 (0:00:00.774) 0:02:02.558 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 13:54:16 -0400 (0:00:00.110) 0:02:02.668 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 13:54:16 -0400 (0:00:00.119) 0:02:02.788 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 13:54:16 -0400 (0:00:00.122) 0:02:02.911 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 13:54:16 -0400 (0:00:00.113) 0:02:03.024 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 12 October 2024 13:54:16 -0400 (0:00:00.357) 0:02:03.382 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 12 October 2024 13:54:17 -0400 (0:00:00.229) 0:02:03.611 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 12 October 2024 13:54:17 -0400 (0:00:00.203) 0:02:03.814 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 12 October 2024 13:54:17 -0400 (0:00:00.113) 0:02:03.928 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 12 October 2024 13:54:17 -0400 (0:00:00.401) 0:02:04.329 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 12 October 2024 13:54:17 -0400 (0:00:00.089) 0:02:04.419 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021394", "end": "2024-10-12 13:54:18.075563", "rc": 1, "start": "2024-10-12 13:54:18.054169" } 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-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 12 October 2024 13:54:18 -0400 (0:00:00.341) 0:02:04.760 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 12 October 2024 13:54:18 -0400 (0:00:00.070) 0:02:04.830 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 12 October 2024 13:54:18 -0400 (0:00:00.067) 0:02:04.898 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 12 October 2024 13:54:18 -0400 (0:00:00.069) 0:02:04.968 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 12 October 2024 13:54:18 -0400 (0:00:00.070) 0:02:05.038 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 12 October 2024 13:54:18 -0400 (0:00:00.082) 0:02:05.121 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 12 October 2024 13:54:18 -0400 (0:00:00.118) 0:02:05.239 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 12 October 2024 13:54:18 -0400 (0:00:00.185) 0:02:05.424 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 12 October 2024 13:54:18 -0400 (0:00:00.124) 0:02:05.549 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 12 October 2024 13:54:19 -0400 (0:00:00.343) 0:02:05.893 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 12 October 2024 13:54:19 -0400 (0:00:00.129) 0:02:06.023 ****** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 12 October 2024 13:54:19 -0400 (0:00:00.113) 0:02:06.136 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 12 October 2024 13:54:19 -0400 (0:00:00.221) 0:02:06.358 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.044417", "end": "2024-10-12 13:54:20.156232", "rc": 1, "start": "2024-10-12 13:54:20.111815" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 12 October 2024 13:54:20 -0400 (0:00:00.555) 0:02:06.913 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 12 October 2024 13:54:20 -0400 (0:00:00.471) 0:02:07.384 ****** ok: [managed-node1] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 12 October 2024 13:54:21 -0400 (0:00:00.228) 0:02:07.613 ****** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 12 October 2024 13:54:21 -0400 (0:00:00.244) 0:02:07.858 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 12 October 2024 13:54:21 -0400 (0:00:00.235) 0:02:08.094 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 12 October 2024 13:54:21 -0400 (0:00:00.222) 0:02:08.317 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003587", "end": "2024-10-12 13:54:22.247734", "rc": 0, "start": "2024-10-12 13:54:22.244147" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 12 October 2024 13:54:22 -0400 (0:00:00.688) 0:02:09.006 ****** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 12 October 2024 13:54:22 -0400 (0:00:00.118) 0:02:09.124 ****** ok: [managed-node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 12 October 2024 13:54:22 -0400 (0:00:00.115) 0:02:09.240 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 12 October 2024 13:54:22 -0400 (0:00:00.246) 0:02:09.486 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 13:54:23 -0400 (0:00:00.170) 0:02:09.657 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 13:54:23 -0400 (0:00:00.290) 0:02:09.947 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 13:54:23 -0400 (0:00:00.163) 0:02:10.110 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 13:54:23 -0400 (0:00:00.197) 0:02:10.308 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 13:54:23 -0400 (0:00:00.100) 0:02:10.408 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 13:54:24 -0400 (0:00:00.988) 0:02:11.396 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 13:54:26 -0400 (0:00:01.386) 0:02:12.783 ****** ok: [managed-node1] => {} MSG: Using network provider: nm 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-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 13:54:26 -0400 (0:00:00.112) 0:02:12.895 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 13:54:26 -0400 (0:00:00.087) 0:02:12.983 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 13:54:26 -0400 (0:00:00.069) 0:02:13.053 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 13:54:26 -0400 (0:00:00.104) 0:02:13.157 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 13:54:26 -0400 (0:00:00.121) 0:02:13.279 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 13:54:26 -0400 (0:00:00.128) 0:02:13.408 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 13:54:27 -0400 (0:00:00.203) 0:02:13.611 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 13:54:27 -0400 (0:00:00.250) 0:02:13.862 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 13:54:27 -0400 (0:00:00.121) 0:02:13.983 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 13:54:27 -0400 (0:00:00.205) 0:02:14.188 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 13:54:27 -0400 (0:00:00.113) 0:02:14.301 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 13:54:28 -0400 (0:00:00.456) 0:02:14.758 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 13:54:28 -0400 (0:00:00.103) 0:02:14.861 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 13:54:28 -0400 (0:00:00.161) 0:02:15.022 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 13:54:28 -0400 (0:00:00.110) 0:02:15.132 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 531fb02b-cd1d-4b9d-9a85-05d7e6f66842 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 13:54:29 -0400 (0:00:00.900) 0:02:16.033 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 13:54:29 -0400 (0:00:00.109) 0:02:16.142 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 531fb02b-cd1d-4b9d-9a85-05d7e6f66842" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 13:54:29 -0400 (0:00:00.109) 0:02:16.252 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 531fb02b-cd1d-4b9d-9a85-05d7e6f66842\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 531fb02b-cd1d-4b9d-9a85-05d7e6f66842" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 13:54:29 -0400 (0:00:00.149) 0:02:16.401 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 13:54:29 -0400 (0:00:00.106) 0:02:16.508 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 12 October 2024 13:54:30 -0400 (0:00:00.711) 0:02:17.219 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 531fb02b-cd1d-4b9d-9a85-05d7e6f66842\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 531fb02b-cd1d-4b9d-9a85-05d7e6f66842" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 12 October 2024 13:54:30 -0400 (0:00:00.118) 0:02:17.337 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 13:54:30 -0400 (0:00:00.230) 0:02:17.568 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 13:54:31 -0400 (0:00:00.404) 0:02:17.972 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 13:54:31 -0400 (0:00:00.148) 0:02:18.121 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 13:54:31 -0400 (0:00:00.107) 0:02:18.228 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 13:54:31 -0400 (0:00:00.128) 0:02:18.357 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 13:54:32 -0400 (0:00:01.155) 0:02:19.512 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 13:54:34 -0400 (0:00:01.437) 0:02:20.949 ****** ok: [managed-node1] => {} MSG: Using network provider: nm 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-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 13:54:34 -0400 (0:00:00.137) 0:02:21.087 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 13:54:34 -0400 (0:00:00.200) 0:02:21.287 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 13:54:34 -0400 (0:00:00.134) 0:02:21.422 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 13:54:34 -0400 (0:00:00.105) 0:02:21.527 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 13:54:34 -0400 (0:00:00.071) 0:02:21.599 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 13:54:35 -0400 (0:00:00.181) 0:02:21.781 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 13:54:35 -0400 (0:00:00.122) 0:02:21.903 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 13:54:35 -0400 (0:00:00.193) 0:02:22.096 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 13:54:35 -0400 (0:00:00.173) 0:02:22.270 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 13:54:35 -0400 (0:00:00.129) 0:02:22.399 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 13:54:35 -0400 (0:00:00.122) 0:02:22.522 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 13:54:36 -0400 (0:00:00.560) 0:02:23.083 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 13:54:36 -0400 (0:00:00.081) 0:02:23.164 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 13:54:36 -0400 (0:00:00.106) 0:02:23.271 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 13:54:36 -0400 (0:00:00.110) 0:02:23.382 ****** ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 531fb02b-cd1d-4b9d-9a85-05d7e6f66842 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 13:54:37 -0400 (0:00:00.921) 0:02:24.303 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 13:54:37 -0400 (0:00:00.167) 0:02:24.471 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 531fb02b-cd1d-4b9d-9a85-05d7e6f66842 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 13:54:38 -0400 (0:00:00.191) 0:02:24.663 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 531fb02b-cd1d-4b9d-9a85-05d7e6f66842 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 531fb02b-cd1d-4b9d-9a85-05d7e6f66842 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 13:54:38 -0400 (0:00:00.114) 0:02:24.777 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 13:54:38 -0400 (0:00:00.111) 0:02:24.889 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 12 October 2024 13:54:38 -0400 (0:00:00.520) 0:02:25.409 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 13:54:39 -0400 (0:00:00.302) 0:02:25.712 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 13:54:39 -0400 (0:00:00.276) 0:02:25.989 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 13:54:39 -0400 (0:00:00.269) 0:02:26.258 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 13:54:39 -0400 (0:00:00.109) 0:02:26.368 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 13:54:39 -0400 (0:00:00.119) 0:02:26.488 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 13:54:40 -0400 (0:00:00.940) 0:02:27.428 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 13:54:42 -0400 (0:00:01.310) 0:02:28.739 ****** ok: [managed-node1] => {} MSG: Using network provider: nm 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-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 13:54:42 -0400 (0:00:00.141) 0:02:28.880 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 13:54:42 -0400 (0:00:00.204) 0:02:29.084 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 13:54:42 -0400 (0:00:00.370) 0:02:29.455 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 13:54:43 -0400 (0:00:00.169) 0:02:29.625 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 13:54:43 -0400 (0:00:00.120) 0:02:29.745 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 13:54:43 -0400 (0:00:00.111) 0:02:29.857 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 13:54:43 -0400 (0:00:00.081) 0:02:29.938 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 13:54:43 -0400 (0:00:00.168) 0:02:30.107 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 13:54:43 -0400 (0:00:00.153) 0:02:30.260 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 13:54:43 -0400 (0:00:00.126) 0:02:30.387 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 13:54:43 -0400 (0:00:00.130) 0:02:30.517 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 13:54:44 -0400 (0:00:00.636) 0:02:31.154 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 13:54:44 -0400 (0:00:00.202) 0:02:31.356 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 13:54:44 -0400 (0:00:00.118) 0:02:31.475 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 13:54:44 -0400 (0:00:00.124) 0:02:31.600 ****** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 13:54:46 -0400 (0:00:01.133) 0:02:32.733 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 13:54:46 -0400 (0:00:00.184) 0:02:32.918 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 13:54:46 -0400 (0:00:00.200) 0:02:33.118 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 13:54:46 -0400 (0:00:00.120) 0:02:33.238 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 13:54:46 -0400 (0:00:00.107) 0:02:33.346 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 12 October 2024 13:54:47 -0400 (0:00:00.419) 0:02:33.765 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 12 October 2024 13:54:47 -0400 (0:00:00.203) 0:02:33.968 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 13:54:47 -0400 (0:00:00.133) 0:02:34.101 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 13:54:47 -0400 (0:00:00.145) 0:02:34.247 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 13:54:47 -0400 (0:00:00.138) 0:02:34.385 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 13:54:47 -0400 (0:00:00.099) 0:02:34.485 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 13:54:47 -0400 (0:00:00.091) 0:02:34.577 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 13:54:48 -0400 (0:00:00.883) 0:02:35.460 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 13:54:50 -0400 (0:00:01.399) 0:02:36.860 ****** ok: [managed-node1] => {} MSG: Using network provider: nm 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-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 13:54:50 -0400 (0:00:00.129) 0:02:36.989 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 13:54:50 -0400 (0:00:00.127) 0:02:37.116 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 13:54:50 -0400 (0:00:00.098) 0:02:37.215 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 13:54:50 -0400 (0:00:00.106) 0:02:37.321 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 13:54:50 -0400 (0:00:00.096) 0:02:37.418 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 13:54:50 -0400 (0:00:00.095) 0:02:37.513 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 13:54:51 -0400 (0:00:00.089) 0:02:37.603 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 13:54:51 -0400 (0:00:00.172) 0:02:37.776 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 13:54:51 -0400 (0:00:00.114) 0:02:37.890 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 13:54:51 -0400 (0:00:00.110) 0:02:38.000 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 13:54:51 -0400 (0:00:00.182) 0:02:38.182 ****** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 13:54:52 -0400 (0:00:00.663) 0:02:38.846 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 13:54:52 -0400 (0:00:00.117) 0:02:38.964 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 13:54:52 -0400 (0:00:00.110) 0:02:39.074 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 13:54:52 -0400 (0:00:00.108) 0:02:39.183 ****** ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 13:54:53 -0400 (0:00:01.084) 0:02:40.267 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 13:54:53 -0400 (0:00:00.111) 0:02:40.379 ****** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 13:54:53 -0400 (0:00:00.100) 0:02:40.480 ****** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 13:54:53 -0400 (0:00:00.102) 0:02:40.583 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 13:54:54 -0400 (0:00:00.072) 0:02:40.656 ****** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 12 October 2024 13:54:54 -0400 (0:00:00.354) 0:02:41.010 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed-node1 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 12 October 2024 13:54:54 -0400 (0:00:00.208) 0:02:41.219 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 12 October 2024 13:54:54 -0400 (0:00:00.257) 0:02:41.477 ****** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 12 October 2024 13:54:54 -0400 (0:00:00.107) 0:02:41.585 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 12 October 2024 13:54:55 -0400 (0:00:00.570) 0:02:42.156 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 12 October 2024 13:54:55 -0400 (0:00:00.129) 0:02:42.285 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018002", "end": "2024-10-12 13:54:56.015079", "rc": 1, "start": "2024-10-12 13:54:55.997077" } 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-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 12 October 2024 13:54:56 -0400 (0:00:00.460) 0:02:42.745 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 12 October 2024 13:54:56 -0400 (0:00:00.101) 0:02:42.847 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 12 October 2024 13:54:56 -0400 (0:00:00.099) 0:02:42.946 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 12 October 2024 13:54:56 -0400 (0:00:00.083) 0:02:43.030 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 12 October 2024 13:54:56 -0400 (0:00:00.149) 0:02:43.179 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 12 October 2024 13:54:56 -0400 (0:00:00.112) 0:02:43.291 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 12 October 2024 13:54:56 -0400 (0:00:00.116) 0:02:43.408 ****** [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ok: [managed-node1] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.593520", "end": "2024-10-12 13:54:57.656783", "rc": 0, "start": "2024-10-12 13:54:57.063263" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 12 October 2024 13:54:57 -0400 (0:00:00.941) 0:02:44.349 ****** ok: [managed-node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 12 October 2024 13:54:57 -0400 (0:00:00.074) 0:02:44.424 ****** ok: [managed-node1] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 12 October 2024 13:54:57 -0400 (0:00:00.074) 0:02:44.499 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 12 October 2024 13:54:58 -0400 (0:00:00.151) 0:02:44.650 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 12 October 2024 13:54:58 -0400 (0:00:00.181) 0:02:44.831 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 12 October 2024 13:54:58 -0400 (0:00:00.366) 0:02:45.198 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 12 October 2024 13:54:58 -0400 (0:00:00.077) 0:02:45.276 ****** ok: [managed-node1] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 12 October 2024 13:54:58 -0400 (0:00:00.071) 0:02:45.347 ****** included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 included: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node1 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 12 October 2024 13:54:58 -0400 (0:00:00.145) 0:02:45.493 ****** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.041729", "end": "2024-10-12 13:54:59.164482", "rc": 1, "start": "2024-10-12 13:54:59.122753" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 12 October 2024 13:54:59 -0400 (0:00:00.385) 0:02:45.878 ****** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.006901", "end": "2024-10-12 13:54:59.572878", "rc": 0, "start": "2024-10-12 13:54:59.565977" } 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 02:27:a1:f6:35:93 brd ff:ff:ff:ff:ff:ff inet 10.31.47.29/22 brd 10.31.47.255 scope global noprefixroute dynamic eth0 valid_lft 2836sec preferred_lft 2836sec inet6 fe80::27:a1ff:fef6:3593/64 scope link valid_lft forever preferred_lft forever 16: bond0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether a6:da:5a:e1:5c:39 brd ff:ff:ff:ff:ff:ff IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.47.29 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-n7V/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 12 October 2024 13:54:59 -0400 (0:00:00.429) 0:02:46.307 ****** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.583838", "end": "2024-10-12 13:55:00.596841", "rc": 0, "start": "2024-10-12 13:55:00.013003" } STDOUT: CHECK DNS AND CONNECTIVITY 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 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.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600: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 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 763 0 --:--:-- --:--:-- --:--:-- 764 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 1881 0 --:--:-- --:--:-- --:--:-- 1889 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node1 : ok=325 changed=10 unreachable=0 failed=0 skipped=306 rescued=0 ignored=11 Saturday 12 October 2024 13:55:00 -0400 (0:00:00.945) 0:02:47.253 ****** =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 2.03s /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.71s /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.59s /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.59s /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.57s /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.54s /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.47s /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.45s /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.44s /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.40s /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.40s /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.39s /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.36s /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.34s /tmp/collections-n7V/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-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Install yum-utils package ----------------------------------------------- 1.31s /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 fedora.linux_system_roles.network : Configure networking connection profiles --- 1.26s /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 fedora.linux_system_roles.network : Check which packages are installed --- 1.16s /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.16s /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.16s /tmp/collections-n7V/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21