ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_states_initscripts.yml ***************************************** 2 plays in /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Saturday 16 November 2024 12:31:30 -0500 (0:00:00.038) 0:00:00.038 ***** ok: [managed-node1] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Saturday 16 November 2024 12:31:32 -0500 (0:00:01.210) 0:00:01.248 ***** included: /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 16 November 2024 12:31:32 -0500 (0:00:00.164) 0:00:01.412 ***** ok: [managed-node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 16 November 2024 12:31:32 -0500 (0:00:00.444) 0:00:01.857 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 16 November 2024 12:31:33 -0500 (0:00:00.684) 0:00:02.541 ***** ok: [managed-node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 16 November 2024 12:31:33 -0500 (0:00:00.070) 0:00:02.611 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 16 November 2024 12:31:33 -0500 (0:00:00.075) 0:00:02.687 ***** included: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node1 TASK [Create EPEL 7] *********************************************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 16 November 2024 12:31:33 -0500 (0:00:00.204) 0:00:02.891 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 16 November 2024 12:31:34 -0500 (0:00:00.639) 0:00:03.531 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 16 November 2024 12:31:35 -0500 (0:00:01.063) 0:00:04.594 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.169422", "end": "2024-11-16 12:31:35.913727", "rc": 0, "start": "2024-11-16 12:31:35.744305" } 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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 16 November 2024 12:31:35 -0500 (0:00:00.564) 0:00:05.159 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 16 November 2024 12:31:36 -0500 (0:00:00.047) 0:00:05.207 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Saturday 16 November 2024 12:31:36 -0500 (0:00:00.031) 0:00:05.238 ***** ok: [managed-node1] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 16 November 2024 12:31:36 -0500 (0:00:00.039) 0:00:05.278 ***** ok: [managed-node1] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 16 November 2024 12:31:36 -0500 (0:00:00.612) 0:00:05.891 ***** ok: [managed-node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 16 November 2024 12:31:36 -0500 (0:00:00.042) 0:00:05.933 ***** included: /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 16 November 2024 12:31:36 -0500 (0:00:00.060) 0:00:05.994 ***** ok: [managed-node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 16 November 2024 12:31:36 -0500 (0:00:00.058) 0:00:06.052 ***** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_present.yml" } ] } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 16 November 2024 12:31:37 -0500 (0:00:00.200) 0:00:06.253 ***** included: /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 16 November 2024 12:31:37 -0500 (0:00:00.129) 0:00:06.383 ***** included: /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 16 November 2024 12:31:37 -0500 (0:00:00.095) 0:00:06.478 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003484", "end": "2024-11-16 12:31:37.629924", "rc": 0, "start": "2024-11-16 12:31:37.626440" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 16 November 2024 12:31:37 -0500 (0:00:00.446) 0:00:06.924 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 16 November 2024 12:31:37 -0500 (0:00:00.092) 0:00:07.017 ***** ok: [managed-node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 16 November 2024 12:31:37 -0500 (0:00:00.042) 0:00:07.059 ***** included: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 included: /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 16 November 2024 12:31:37 -0500 (0:00:00.082) 0:00:07.142 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.009859", "end": "2024-11-16 12:31:38.265889", "rc": 1, "start": "2024-11-16 12:31:38.256030" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 16 November 2024 12:31:38 -0500 (0:00:00.355) 0:00:07.498 ***** included: /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 16 November 2024 12:31:38 -0500 (0:00:00.053) 0:00:07.551 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 16 November 2024 12:31:38 -0500 (0:00:00.375) 0:00:07.926 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 16 November 2024 12:31:38 -0500 (0:00:00.044) 0:00:07.971 ***** included: /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 16 November 2024 12:31:38 -0500 (0:00:00.080) 0:00:08.051 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 November 2024 12:31:39 -0500 (0:00:00.290) 0:00:08.342 ***** included: /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 November 2024 12:31:39 -0500 (0:00:00.087) 0:00:08.429 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 November 2024 12:31:39 -0500 (0:00:00.043) 0:00:08.472 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 November 2024 12:31:39 -0500 (0:00:00.043) 0:00:08.516 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 November 2024 12:31:39 -0500 (0:00:00.067) 0:00:08.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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 November 2024 12:31:40 -0500 (0:00:01.278) 0:00:09.862 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 November 2024 12:31:42 -0500 (0:00:01.818) 0:00:11.681 ***** ok: [managed-node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 November 2024 12:31:42 -0500 (0:00:00.158) 0:00:11.839 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 November 2024 12:31:42 -0500 (0:00:00.104) 0:00:11.944 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 16 November 2024 12:31:42 -0500 (0:00:00.138) 0:00:12.082 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 November 2024 12:31:43 -0500 (0:00:00.128) 0:00:12.211 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 16 November 2024 12:31:43 -0500 (0:00:00.120) 0:00:12.332 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 16 November 2024 12:31:43 -0500 (0:00:00.130) 0:00:12.462 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 16 November 2024 12:31:43 -0500 (0:00:00.124) 0:00:12.587 ***** changed: [managed-node1] => { "attempts": 1, "changed": true, "changes": { "installed": [ "bridge-utils" ] }, "rc": 0, "results": [ "initscripts-9.49.53-1.el7_9.1.x86_64 providing initscripts is already installed", "12:dhclient-4.2.5-83.el7.centos.2.x86_64 providing dhclient is already installed", "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: dl.fedoraproject.org\n * epel-debuginfo: dl.fedoraproject.org\n * epel-source: dl.fedoraproject.org\nResolving Dependencies\n--> Running transaction check\n---> Package bridge-utils.x86_64 0:1.5-9.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n bridge-utils x86_64 1.5-9.el7 base 32 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal download size: 32 k\nInstalled size: 56 k\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : bridge-utils-1.5-9.el7.x86_64 1/1 \n Verifying : bridge-utils-1.5-9.el7.x86_64 1/1 \n\nInstalled:\n bridge-utils.x86_64 0:1.5-9.el7 \n\nComplete!\n" ] } lsrpackages: bridge-utils dhclient initscripts TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 16 November 2024 12:31:47 -0500 (0:00:03.787) 0:00:16.375 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 16 November 2024 12:31:47 -0500 (0:00:00.159) 0:00:16.534 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 November 2024 12:31:47 -0500 (0:00:00.090) 0:00:16.625 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 16 November 2024 12:31:47 -0500 (0:00:00.089) 0:00:16.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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 16 November 2024 12:31:47 -0500 (0:00:00.066) 0:00:16.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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 November 2024 12:31:47 -0500 (0:00:00.105) 0:00:16.887 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 16 November 2024 12:31:48 -0500 (0:00:01.078) 0:00:17.966 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16138XrDfKv/tmpuIRRBw" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 16 November 2024 12:31:49 -0500 (0:00:00.405) 0:00:18.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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 16 November 2024 12:31:50 -0500 (0:00:01.358) 0:00:19.729 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 16 November 2024 12:31:50 -0500 (0:00:00.236) 0:00:19.966 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 16 November 2024 12:31:50 -0500 (0:00:00.139) 0:00:20.106 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 16 November 2024 12:31:51 -0500 (0:00:00.252) 0:00:20.359 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 16 November 2024 12:31:51 -0500 (0:00:00.142) 0:00:20.502 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 16 November 2024 12:31:52 -0500 (0:00:00.814) 0:00:21.316 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 16 November 2024 12:31:52 -0500 (0:00:00.145) 0:00:21.461 ***** included: /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 16 November 2024 12:31:52 -0500 (0:00:00.194) 0:00:21.656 ***** included: /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 16 November 2024 12:31:52 -0500 (0:00:00.293) 0:00:21.949 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 16 November 2024 12:31:52 -0500 (0:00:00.157) 0:00:22.107 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731778310.3253505, "block_size": 4096, "blocks": 8, "ctime": 1731778310.3253505, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9256, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1731778310.3253505, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 16 November 2024 12:31:53 -0500 (0:00:00.540) 0:00:22.647 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 16 November 2024 12:31:53 -0500 (0:00:00.233) 0:00:22.881 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023449", "end": "2024-11-16 12:31:54.148830", "rc": 1, "start": "2024-11-16 12:31:54.125381" } 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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 16 November 2024 12:31:54 -0500 (0:00:00.569) 0:00:23.450 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 16 November 2024 12:31:54 -0500 (0:00:00.081) 0:00:23.532 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003390", "end": "2024-11-16 12:31:54.594057", "rc": 0, "start": "2024-11-16 12:31:54.590667" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 16 November 2024 12:31:54 -0500 (0:00:00.340) 0:00:23.873 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 16 November 2024 12:31:54 -0500 (0:00:00.082) 0:00:23.956 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003380", "end": "2024-11-16 12:31:55.041489", "rc": 0, "start": "2024-11-16 12:31:55.038109" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 16 November 2024 12:31:55 -0500 (0:00:00.378) 0:00:24.335 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 16 November 2024 12:31:55 -0500 (0:00:00.082) 0:00:24.417 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 16 November 2024 12:31:55 -0500 (0:00:00.076) 0:00:24.493 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 16 November 2024 12:31:55 -0500 (0:00:00.076) 0:00:24.570 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 16 November 2024 12:31:55 -0500 (0:00:00.088) 0:00:24.658 ***** skipping: [managed-node1] => (item={u'what': u'tasks/assert_device_present.yml', u'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_present.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 16 November 2024 12:31:55 -0500 (0:00:00.079) 0:00:24.737 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 16 November 2024 12:31:55 -0500 (0:00:00.073) 0:00:24.811 ***** included: /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 16 November 2024 12:31:55 -0500 (0:00:00.187) 0:00:24.999 ***** 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.039923", "end": "2024-11-16 12:31:56.090926", "rc": 1, "start": "2024-11-16 12:31:56.051003" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 16 November 2024 12:31:56 -0500 (0:00:00.408) 0:00:25.407 ***** included: /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 16 November 2024 12:31:56 -0500 (0:00:00.206) 0:00:25.614 ***** ok: [managed-node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 16 November 2024 12:31:56 -0500 (0:00:00.121) 0:00:25.735 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 16 November 2024 12:31:56 -0500 (0:00:00.267) 0:00:26.003 ***** included: /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 16 November 2024 12:31:57 -0500 (0:00:00.222) 0:00:26.225 ***** included: /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 16 November 2024 12:31:57 -0500 (0:00:00.245) 0:00:26.470 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003356", "end": "2024-11-16 12:31:57.788279", "rc": 0, "start": "2024-11-16 12:31:57.784923" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 16 November 2024 12:31:57 -0500 (0:00:00.697) 0:00:27.167 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 16 November 2024 12:31:58 -0500 (0:00:00.117) 0:00:27.285 ***** ok: [managed-node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 16 November 2024 12:31:58 -0500 (0:00:00.130) 0:00:27.416 ***** included: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 included: /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 16 November 2024 12:31:58 -0500 (0:00:00.227) 0:00:27.643 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007124", "end": "2024-11-16 12:31:58.880276", "rc": 1, "start": "2024-11-16 12:31:58.873152" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 16 November 2024 12:31:59 -0500 (0:00:00.553) 0:00:28.197 ***** included: /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 16 November 2024 12:31:59 -0500 (0:00:00.381) 0:00:28.579 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 16 November 2024 12:31:59 -0500 (0:00:00.449) 0:00:29.028 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 16 November 2024 12:31:59 -0500 (0:00:00.150) 0:00:29.179 ***** included: /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 16 November 2024 12:32:00 -0500 (0:00:00.217) 0:00:29.397 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 November 2024 12:32:00 -0500 (0:00:00.259) 0:00:29.656 ***** included: /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 November 2024 12:32:00 -0500 (0:00:00.285) 0:00:29.942 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 November 2024 12:32:00 -0500 (0:00:00.146) 0:00:30.088 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 November 2024 12:32:00 -0500 (0:00:00.094) 0:00:30.182 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 November 2024 12:32:01 -0500 (0:00:00.069) 0:00:30.252 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 November 2024 12:32:02 -0500 (0:00:01.164) 0:00:31.417 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 November 2024 12:32:03 -0500 (0:00:01.547) 0:00:32.965 ***** ok: [managed-node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 November 2024 12:32:03 -0500 (0:00:00.123) 0:00:33.089 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 November 2024 12:32:04 -0500 (0:00:00.127) 0:00:33.217 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 16 November 2024 12:32:04 -0500 (0:00:00.106) 0:00:33.323 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 November 2024 12:32:04 -0500 (0:00:00.094) 0:00:33.417 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 16 November 2024 12:32:04 -0500 (0:00:00.073) 0:00:33.491 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 16 November 2024 12:32:04 -0500 (0:00:00.080) 0:00:33.571 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 16 November 2024 12:32:04 -0500 (0:00:00.081) 0:00:33.652 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 16 November 2024 12:32:04 -0500 (0:00:00.255) 0:00:33.908 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 16 November 2024 12:32:04 -0500 (0:00:00.176) 0:00:34.085 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 November 2024 12:32:05 -0500 (0:00:00.135) 0:00:34.221 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 16 November 2024 12:32:05 -0500 (0:00:00.130) 0:00:34.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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 16 November 2024 12:32:05 -0500 (0:00:00.201) 0:00:34.554 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 November 2024 12:32:05 -0500 (0:00:00.198) 0:00:34.752 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 16 November 2024 12:32:06 -0500 (0:00:00.992) 0:00:35.745 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16138XrDfKv/tmp1zbFyF" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 16 November 2024 12:32:06 -0500 (0:00:00.386) 0:00:36.131 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 16 November 2024 12:32:07 -0500 (0:00:00.845) 0:00:36.977 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 16 November 2024 12:32:07 -0500 (0:00:00.078) 0:00:37.055 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 16 November 2024 12:32:07 -0500 (0:00:00.076) 0:00:37.131 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 16 November 2024 12:32:08 -0500 (0:00:00.079) 0:00:37.211 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 16 November 2024 12:32:08 -0500 (0:00:00.099) 0:00:37.310 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 16 November 2024 12:32:08 -0500 (0:00:00.541) 0:00:37.852 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 16 November 2024 12:32:08 -0500 (0:00:00.145) 0:00:37.997 ***** included: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 included: /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 16 November 2024 12:32:09 -0500 (0:00:00.310) 0:00:38.308 ***** included: /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 16 November 2024 12:32:09 -0500 (0:00:00.278) 0:00:38.587 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 16 November 2024 12:32:10 -0500 (0:00:00.651) 0:00:39.238 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 16 November 2024 12:32:10 -0500 (0:00:00.175) 0:00:39.413 ***** included: /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 16 November 2024 12:32:10 -0500 (0:00:00.412) 0:00:39.826 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 16 November 2024 12:32:10 -0500 (0:00:00.198) 0:00:40.024 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731778327.6465387, "block_size": 4096, "blocks": 8, "ctime": 1731778327.6465387, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9256, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1731778327.6465387, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 126, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 16 November 2024 12:32:11 -0500 (0:00:00.541) 0:00:40.565 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 16 November 2024 12:32:11 -0500 (0:00:00.161) 0:00:40.727 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019161", "end": "2024-11-16 12:32:11.890674", "rc": 1, "start": "2024-11-16 12:32:11.871513" } 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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 16 November 2024 12:32:12 -0500 (0:00:00.507) 0:00:41.234 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 16 November 2024 12:32:12 -0500 (0:00:00.159) 0:00:41.394 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003393", "end": "2024-11-16 12:32:12.640829", "rc": 0, "start": "2024-11-16 12:32:12.637436" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 16 November 2024 12:32:12 -0500 (0:00:00.569) 0:00:41.963 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 16 November 2024 12:32:12 -0500 (0:00:00.131) 0:00:42.095 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003584", "end": "2024-11-16 12:32:13.400236", "rc": 0, "start": "2024-11-16 12:32:13.396652" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 16 November 2024 12:32:13 -0500 (0:00:00.765) 0:00:42.861 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 16 November 2024 12:32:13 -0500 (0:00:00.136) 0:00:42.997 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 16 November 2024 12:32:13 -0500 (0:00:00.114) 0:00:43.111 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 16 November 2024 12:32:14 -0500 (0:00:00.097) 0:00:43.208 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 16 November 2024 12:32:14 -0500 (0:00:00.115) 0:00:43.323 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 16 November 2024 12:32:14 -0500 (0:00:00.121) 0:00:43.445 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 16 November 2024 12:32:14 -0500 (0:00:00.116) 0:00:43.562 ***** included: /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 16 November 2024 12:32:14 -0500 (0:00:00.348) 0:00:43.911 ***** 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.041624", "end": "2024-11-16 12:32:15.289085", "rc": 1, "start": "2024-11-16 12:32:15.247461" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 16 November 2024 12:32:15 -0500 (0:00:00.772) 0:00:44.683 ***** included: /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 16 November 2024 12:32:15 -0500 (0:00:00.206) 0:00:44.889 ***** ok: [managed-node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 16 November 2024 12:32:15 -0500 (0:00:00.171) 0:00:45.062 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 16 November 2024 12:32:16 -0500 (0:00:00.219) 0:00:45.281 ***** included: /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 16 November 2024 12:32:16 -0500 (0:00:00.228) 0:00:45.510 ***** included: /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 16 November 2024 12:32:16 -0500 (0:00:00.219) 0:00:45.729 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003339", "end": "2024-11-16 12:32:16.816874", "rc": 0, "start": "2024-11-16 12:32:16.813535" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 16 November 2024 12:32:17 -0500 (0:00:00.472) 0:00:46.202 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 16 November 2024 12:32:17 -0500 (0:00:00.221) 0:00:46.423 ***** ok: [managed-node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 16 November 2024 12:32:17 -0500 (0:00:00.119) 0:00:46.543 ***** included: /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 16 November 2024 12:32:17 -0500 (0:00:00.247) 0:00:46.790 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 November 2024 12:32:17 -0500 (0:00:00.207) 0:00:46.998 ***** included: /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 November 2024 12:32:18 -0500 (0:00:00.218) 0:00:47.217 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 November 2024 12:32:18 -0500 (0:00:00.215) 0:00:47.433 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 November 2024 12:32:18 -0500 (0:00:00.109) 0:00:47.542 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 November 2024 12:32:18 -0500 (0:00:00.111) 0:00:47.653 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 November 2024 12:32:19 -0500 (0:00:00.960) 0:00:48.614 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 November 2024 12:32:20 -0500 (0:00:01.307) 0:00:49.921 ***** ok: [managed-node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 November 2024 12:32:20 -0500 (0:00:00.116) 0:00:50.038 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 November 2024 12:32:20 -0500 (0:00:00.111) 0:00:50.149 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 16 November 2024 12:32:21 -0500 (0:00:00.109) 0:00:50.259 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 November 2024 12:32:21 -0500 (0:00:00.111) 0:00:50.370 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 16 November 2024 12:32:21 -0500 (0:00:00.139) 0:00:50.510 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 16 November 2024 12:32:21 -0500 (0:00:00.379) 0:00:50.890 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 16 November 2024 12:32:21 -0500 (0:00:00.163) 0:00:51.053 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 16 November 2024 12:32:22 -0500 (0:00:00.216) 0:00:51.270 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 16 November 2024 12:32:22 -0500 (0:00:00.113) 0:00:51.384 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 November 2024 12:32:22 -0500 (0:00:00.135) 0:00:51.519 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 16 November 2024 12:32:22 -0500 (0:00:00.123) 0:00:51.643 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 16 November 2024 12:32:22 -0500 (0:00:00.113) 0:00:51.757 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 November 2024 12:32:22 -0500 (0:00:00.247) 0:00:52.005 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 16 November 2024 12:32:23 -0500 (0:00:00.786) 0:00:52.792 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16138XrDfKv/tmp73Fk1a" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 16 November 2024 12:32:24 -0500 (0:00:00.397) 0:00:53.189 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 16 November 2024 12:32:24 -0500 (0:00:00.855) 0:00:54.045 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 16 November 2024 12:32:25 -0500 (0:00:00.227) 0:00:54.273 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 16 November 2024 12:32:25 -0500 (0:00:00.131) 0:00:54.404 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 16 November 2024 12:32:25 -0500 (0:00:00.151) 0:00:54.556 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 16 November 2024 12:32:25 -0500 (0:00:00.136) 0:00:54.693 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 16 November 2024 12:32:26 -0500 (0:00:00.667) 0:00:55.360 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 16 November 2024 12:32:26 -0500 (0:00:00.142) 0:00:55.503 ***** included: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 16 November 2024 12:32:26 -0500 (0:00:00.181) 0:00:55.684 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 November 2024 12:32:26 -0500 (0:00:00.243) 0:00:55.928 ***** included: /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 November 2024 12:32:26 -0500 (0:00:00.217) 0:00:56.145 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 November 2024 12:32:27 -0500 (0:00:00.130) 0:00:56.276 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 November 2024 12:32:27 -0500 (0:00:00.107) 0:00:56.383 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 November 2024 12:32:27 -0500 (0:00:00.094) 0:00:56.477 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 November 2024 12:32:28 -0500 (0:00:01.007) 0:00:57.485 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 November 2024 12:32:30 -0500 (0:00:01.759) 0:00:59.245 ***** ok: [managed-node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 November 2024 12:32:30 -0500 (0:00:00.110) 0:00:59.355 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 November 2024 12:32:30 -0500 (0:00:00.071) 0:00:59.427 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 16 November 2024 12:32:30 -0500 (0:00:00.076) 0:00:59.504 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 November 2024 12:32:30 -0500 (0:00:00.104) 0:00:59.608 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 16 November 2024 12:32:30 -0500 (0:00:00.116) 0:00:59.725 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 16 November 2024 12:32:30 -0500 (0:00:00.178) 0:00:59.904 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 16 November 2024 12:32:30 -0500 (0:00:00.146) 0:01:00.050 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 16 November 2024 12:32:31 -0500 (0:00:00.203) 0:01:00.254 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 16 November 2024 12:32:31 -0500 (0:00:00.129) 0:01:00.383 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 November 2024 12:32:31 -0500 (0:00:00.117) 0:01:00.500 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 16 November 2024 12:32:31 -0500 (0:00:00.124) 0:01:00.626 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 16 November 2024 12:32:31 -0500 (0:00:00.075) 0:01:00.701 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 November 2024 12:32:31 -0500 (0:00:00.090) 0:01:00.792 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 16 November 2024 12:32:32 -0500 (0:00:00.599) 0:01:01.391 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16138XrDfKv/tmpC1ET2B" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 16 November 2024 12:32:32 -0500 (0:00:00.465) 0:01:01.856 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 16 November 2024 12:32:33 -0500 (0:00:01.277) 0:01:03.134 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 16 November 2024 12:32:34 -0500 (0:00:00.108) 0:01:03.242 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 16 November 2024 12:32:34 -0500 (0:00:00.106) 0:01:03.349 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 16 November 2024 12:32:34 -0500 (0:00:00.083) 0:01:03.432 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 16 November 2024 12:32:34 -0500 (0:00:00.073) 0:01:03.506 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 16 November 2024 12:32:34 -0500 (0:00:00.323) 0:01:03.830 ***** included: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 included: /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 16 November 2024 12:32:34 -0500 (0:00:00.228) 0:01:04.058 ***** included: /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 16 November 2024 12:32:35 -0500 (0:00:00.351) 0:01:04.410 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731778353.5748208, "block_size": 4096, "blocks": 0, "ctime": 1731778353.5738208, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17688, "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": 1731778353.5738208, "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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 16 November 2024 12:32:35 -0500 (0:00:00.397) 0:01:04.807 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 16 November 2024 12:32:35 -0500 (0:00:00.076) 0:01:04.883 ***** included: /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 16 November 2024 12:32:35 -0500 (0:00:00.128) 0:01:05.012 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 16 November 2024 12:32:35 -0500 (0:00:00.073) 0:01:05.085 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731778353.411819, "block_size": 4096, "blocks": 8, "ctime": 1731778344.6807241, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 9256, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1731778344.6807241, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 16 November 2024 12:32:36 -0500 (0:00:00.412) 0:01:05.498 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 16 November 2024 12:32:36 -0500 (0:00:00.356) 0:01:05.854 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020968", "end": "2024-11-16 12:32:37.142248", "rc": 1, "start": "2024-11-16 12:32:37.121280" } 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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 16 November 2024 12:32:37 -0500 (0:00:00.762) 0:01:06.617 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 16 November 2024 12:32:37 -0500 (0:00:00.255) 0:01:06.873 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003334", "end": "2024-11-16 12:32:38.180054", "rc": 0, "start": "2024-11-16 12:32:38.176720" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 16 November 2024 12:32:38 -0500 (0:00:00.703) 0:01:07.576 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 16 November 2024 12:32:38 -0500 (0:00:00.150) 0:01:07.727 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003944", "end": "2024-11-16 12:32:38.833910", "rc": 0, "start": "2024-11-16 12:32:38.829966" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 16 November 2024 12:32:39 -0500 (0:00:00.519) 0:01:08.247 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 16 November 2024 12:32:39 -0500 (0:00:00.222) 0:01:08.469 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 16 November 2024 12:32:39 -0500 (0:00:00.114) 0:01:08.584 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 16 November 2024 12:32:39 -0500 (0:00:00.129) 0:01:08.714 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 16 November 2024 12:32:39 -0500 (0:00:00.166) 0:01:08.880 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 16 November 2024 12:32:39 -0500 (0:00:00.167) 0:01:09.048 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 16 November 2024 12:32:39 -0500 (0:00:00.114) 0:01:09.162 ***** included: /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 16 November 2024 12:32:40 -0500 (0:00:00.178) 0:01:09.341 ***** ok: [managed-node1] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.048199", "end": "2024-11-16 12:32:40.501933", "rc": 0, "start": "2024-11-16 12:32:40.453734" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 16 November 2024 12:32:40 -0500 (0:00:00.550) 0:01:09.891 ***** included: /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 16 November 2024 12:32:40 -0500 (0:00:00.207) 0:01:10.098 ***** ok: [managed-node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 16 November 2024 12:32:41 -0500 (0:00:00.127) 0:01:10.226 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 16 November 2024 12:32:41 -0500 (0:00:00.268) 0:01:10.495 ***** included: /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 16 November 2024 12:32:41 -0500 (0:00:00.180) 0:01:10.676 ***** included: /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 16 November 2024 12:32:41 -0500 (0:00:00.137) 0:01:10.813 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003290", "end": "2024-11-16 12:32:41.899192", "rc": 0, "start": "2024-11-16 12:32:41.895902" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 16 November 2024 12:32:42 -0500 (0:00:00.401) 0:01:11.215 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 16 November 2024 12:32:42 -0500 (0:00:00.114) 0:01:11.329 ***** ok: [managed-node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 16 November 2024 12:32:42 -0500 (0:00:00.094) 0:01:11.424 ***** included: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 16 November 2024 12:32:42 -0500 (0:00:00.157) 0:01:11.582 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 November 2024 12:32:42 -0500 (0:00:00.203) 0:01:11.785 ***** included: /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 November 2024 12:32:42 -0500 (0:00:00.238) 0:01:12.024 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 November 2024 12:32:42 -0500 (0:00:00.145) 0:01:12.170 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 November 2024 12:32:43 -0500 (0:00:00.092) 0:01:12.263 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 November 2024 12:32:43 -0500 (0:00:00.090) 0:01:12.353 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 November 2024 12:32:44 -0500 (0:00:01.036) 0:01:13.390 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 November 2024 12:32:45 -0500 (0:00:01.343) 0:01:14.733 ***** ok: [managed-node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 November 2024 12:32:45 -0500 (0:00:00.121) 0:01:14.855 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 November 2024 12:32:45 -0500 (0:00:00.115) 0:01:14.970 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 16 November 2024 12:32:45 -0500 (0:00:00.111) 0:01:15.082 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 November 2024 12:32:46 -0500 (0:00:00.114) 0:01:15.197 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 16 November 2024 12:32:46 -0500 (0:00:00.091) 0:01:15.288 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 16 November 2024 12:32:46 -0500 (0:00:00.089) 0:01:15.378 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 16 November 2024 12:32:46 -0500 (0:00:00.084) 0:01:15.462 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 16 November 2024 12:32:46 -0500 (0:00:00.184) 0:01:15.647 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 16 November 2024 12:32:46 -0500 (0:00:00.181) 0:01:15.828 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 November 2024 12:32:46 -0500 (0:00:00.112) 0:01:15.941 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 16 November 2024 12:32:46 -0500 (0:00:00.123) 0:01:16.064 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 16 November 2024 12:32:46 -0500 (0:00:00.108) 0:01:16.173 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 November 2024 12:32:47 -0500 (0:00:00.133) 0:01:16.307 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 16 November 2024 12:32:47 -0500 (0:00:00.553) 0:01:16.860 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16138XrDfKv/tmpw4vjiK" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 16 November 2024 12:32:48 -0500 (0:00:00.449) 0:01:17.309 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 16 November 2024 12:32:48 -0500 (0:00:00.816) 0:01:18.126 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 16 November 2024 12:32:49 -0500 (0:00:00.117) 0:01:18.243 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 16 November 2024 12:32:49 -0500 (0:00:00.131) 0:01:18.375 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 16 November 2024 12:32:49 -0500 (0:00:00.124) 0:01:18.500 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 16 November 2024 12:32:49 -0500 (0:00:00.098) 0:01:18.599 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 16 November 2024 12:32:49 -0500 (0:00:00.469) 0:01:19.069 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 16 November 2024 12:32:50 -0500 (0:00:00.236) 0:01:19.305 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 November 2024 12:32:50 -0500 (0:00:00.405) 0:01:19.710 ***** included: /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 November 2024 12:32:50 -0500 (0:00:00.391) 0:01:20.101 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 November 2024 12:32:51 -0500 (0:00:00.170) 0:01:20.272 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 November 2024 12:32:51 -0500 (0:00:00.119) 0:01:20.392 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 November 2024 12:32:51 -0500 (0:00:00.112) 0:01:20.505 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 November 2024 12:32:52 -0500 (0:00:01.228) 0:01:21.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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 November 2024 12:32:54 -0500 (0:00:01.625) 0:01:23.359 ***** ok: [managed-node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 November 2024 12:32:54 -0500 (0:00:00.149) 0:01:23.509 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 November 2024 12:32:54 -0500 (0:00:00.090) 0:01:23.599 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 16 November 2024 12:32:54 -0500 (0:00:00.101) 0:01:23.701 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 November 2024 12:32:54 -0500 (0:00:00.225) 0:01:23.927 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 16 November 2024 12:32:55 -0500 (0:00:00.307) 0:01:24.235 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 16 November 2024 12:32:55 -0500 (0:00:00.215) 0:01:24.450 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 16 November 2024 12:32:55 -0500 (0:00:00.245) 0:01:24.696 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 16 November 2024 12:32:55 -0500 (0:00:00.184) 0:01:24.880 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 16 November 2024 12:32:55 -0500 (0:00:00.152) 0:01:25.033 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 November 2024 12:32:55 -0500 (0:00:00.129) 0:01:25.163 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 16 November 2024 12:32:56 -0500 (0:00:00.138) 0:01:25.302 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 16 November 2024 12:32:56 -0500 (0:00:00.105) 0:01:25.407 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 November 2024 12:32:56 -0500 (0:00:00.100) 0:01:25.507 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 16 November 2024 12:32:56 -0500 (0:00:00.527) 0:01:26.035 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16138XrDfKv/tmpDqyHrH" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 16 November 2024 12:32:57 -0500 (0:00:00.440) 0:01:26.475 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 16 November 2024 12:32:58 -0500 (0:00:00.814) 0:01:27.289 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 16 November 2024 12:32:58 -0500 (0:00:00.163) 0:01:27.453 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 16 November 2024 12:32:58 -0500 (0:00:00.221) 0:01:27.674 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 16 November 2024 12:32:58 -0500 (0:00:00.138) 0:01:27.813 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 16 November 2024 12:32:58 -0500 (0:00:00.350) 0:01:28.163 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 16 November 2024 12:32:59 -0500 (0:00:00.859) 0:01:29.022 ***** included: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 16 November 2024 12:33:00 -0500 (0:00:00.353) 0:01:29.376 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 November 2024 12:33:00 -0500 (0:00:00.346) 0:01:29.723 ***** included: /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 November 2024 12:33:00 -0500 (0:00:00.245) 0:01:29.968 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 November 2024 12:33:00 -0500 (0:00:00.146) 0:01:30.115 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 November 2024 12:33:01 -0500 (0:00:00.093) 0:01:30.208 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 November 2024 12:33:01 -0500 (0:00:00.103) 0:01:30.312 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 November 2024 12:33:02 -0500 (0:00:01.058) 0:01:31.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 : Print network provider] ************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 November 2024 12:33:04 -0500 (0:00:01.861) 0:01:33.231 ***** ok: [managed-node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 November 2024 12:33:04 -0500 (0:00:00.147) 0:01:33.379 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 November 2024 12:33:04 -0500 (0:00:00.125) 0:01:33.505 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 16 November 2024 12:33:04 -0500 (0:00:00.148) 0:01:33.654 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 November 2024 12:33:04 -0500 (0:00:00.112) 0:01:33.766 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 16 November 2024 12:33:04 -0500 (0:00:00.116) 0:01:33.883 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 16 November 2024 12:33:04 -0500 (0:00:00.125) 0:01:34.008 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 16 November 2024 12:33:04 -0500 (0:00:00.107) 0:01:34.115 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 16 November 2024 12:33:05 -0500 (0:00:00.159) 0:01:34.274 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 16 November 2024 12:33:05 -0500 (0:00:00.124) 0:01:34.398 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 November 2024 12:33:05 -0500 (0:00:00.152) 0:01:34.551 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 16 November 2024 12:33:05 -0500 (0:00:00.190) 0:01:34.742 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 16 November 2024 12:33:05 -0500 (0:00:00.120) 0:01:34.862 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 November 2024 12:33:05 -0500 (0:00:00.094) 0:01:34.957 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 16 November 2024 12:33:06 -0500 (0:00:00.503) 0:01:35.461 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16138XrDfKv/tmpbrGuF5" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 16 November 2024 12:33:06 -0500 (0:00:00.449) 0:01:35.911 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 16 November 2024 12:33:07 -0500 (0:00:01.142) 0:01:37.054 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 16 November 2024 12:33:08 -0500 (0:00:00.210) 0:01:37.264 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 16 November 2024 12:33:08 -0500 (0:00:00.117) 0:01:37.381 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 16 November 2024 12:33:08 -0500 (0:00:00.196) 0:01:37.578 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 16 November 2024 12:33:08 -0500 (0:00:00.114) 0:01:37.692 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 16 November 2024 12:33:09 -0500 (0:00:00.741) 0:01:38.434 ***** included: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 included: /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 16 November 2024 12:33:09 -0500 (0:00:00.182) 0:01:38.617 ***** included: /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 16 November 2024 12:33:09 -0500 (0:00:00.198) 0:01:38.815 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731778377.8999476, "block_size": 4096, "blocks": 0, "ctime": 1731778377.8989477, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17688, "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": 1731778377.8989477, "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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 16 November 2024 12:33:10 -0500 (0:00:00.662) 0:01:39.477 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 16 November 2024 12:33:10 -0500 (0:00:00.122) 0:01:39.600 ***** included: /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 16 November 2024 12:33:10 -0500 (0:00:00.206) 0:01:39.807 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 16 November 2024 12:33:10 -0500 (0:00:00.149) 0:01:39.956 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 16 November 2024 12:33:11 -0500 (0:00:00.407) 0:01:40.364 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 16 November 2024 12:33:11 -0500 (0:00:00.134) 0:01:40.499 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020085", "end": "2024-11-16 12:33:11.626734", "rc": 1, "start": "2024-11-16 12:33:11.606649" } 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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 16 November 2024 12:33:11 -0500 (0:00:00.482) 0:01:40.981 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 16 November 2024 12:33:11 -0500 (0:00:00.101) 0:01:41.082 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 16 November 2024 12:33:12 -0500 (0:00:00.181) 0:01:41.264 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 16 November 2024 12:33:12 -0500 (0:00:00.140) 0:01:41.404 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 16 November 2024 12:33:12 -0500 (0:00:00.123) 0:01:41.527 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 16 November 2024 12:33:12 -0500 (0:00:00.115) 0:01:41.642 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 16 November 2024 12:33:12 -0500 (0:00:00.134) 0:01:41.777 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 16 November 2024 12:33:12 -0500 (0:00:00.101) 0:01:41.879 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 16 November 2024 12:33:12 -0500 (0:00:00.251) 0:01:42.131 ***** included: /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 16 November 2024 12:33:13 -0500 (0:00:00.409) 0:01:42.540 ***** ok: [managed-node1] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.045644", "end": "2024-11-16 12:33:13.778943", "rc": 0, "start": "2024-11-16 12:33:13.733299" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 16 November 2024 12:33:13 -0500 (0:00:00.559) 0:01:43.100 ***** included: /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 16 November 2024 12:33:14 -0500 (0:00:00.205) 0:01:43.306 ***** ok: [managed-node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 16 November 2024 12:33:14 -0500 (0:00:00.098) 0:01:43.405 ***** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 16 November 2024 12:33:14 -0500 (0:00:00.166) 0:01:43.571 ***** included: /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 16 November 2024 12:33:14 -0500 (0:00:00.190) 0:01:43.761 ***** included: /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 16 November 2024 12:33:14 -0500 (0:00:00.240) 0:01:44.001 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004458", "end": "2024-11-16 12:33:16.080698", "rc": 0, "start": "2024-11-16 12:33:15.076240" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 16 November 2024 12:33:16 -0500 (0:00:01.470) 0:01:45.472 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 16 November 2024 12:33:16 -0500 (0:00:00.179) 0:01:45.652 ***** ok: [managed-node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 16 November 2024 12:33:16 -0500 (0:00:00.213) 0:01:45.865 ***** included: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 included: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node1 TASK [Include network role] **************************************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 16 November 2024 12:33:17 -0500 (0:00:00.398) 0:01:46.263 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 November 2024 12:33:17 -0500 (0:00:00.365) 0:01:46.628 ***** included: /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 November 2024 12:33:17 -0500 (0:00:00.453) 0:01:47.082 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 November 2024 12:33:18 -0500 (0:00:00.307) 0:01:47.389 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 November 2024 12:33:18 -0500 (0:00:00.177) 0:01:47.567 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 November 2024 12:33:18 -0500 (0:00:00.112) 0:01:47.680 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 November 2024 12:33:19 -0500 (0:00:01.088) 0:01:48.769 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 November 2024 12:33:20 -0500 (0:00:01.363) 0:01:50.132 ***** ok: [managed-node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 November 2024 12:33:21 -0500 (0:00:00.123) 0:01:50.256 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 November 2024 12:33:21 -0500 (0:00:00.118) 0:01:50.374 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 16 November 2024 12:33:21 -0500 (0:00:00.109) 0:01:50.483 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 November 2024 12:33:21 -0500 (0:00:00.106) 0:01:50.589 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 16 November 2024 12:33:21 -0500 (0:00:00.108) 0:01:50.698 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 16 November 2024 12:33:21 -0500 (0:00:00.085) 0:01:50.784 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 16 November 2024 12:33:21 -0500 (0:00:00.095) 0:01:50.879 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 16 November 2024 12:33:21 -0500 (0:00:00.198) 0:01:51.077 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 16 November 2024 12:33:22 -0500 (0:00:00.171) 0:01:51.248 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 November 2024 12:33:22 -0500 (0:00:00.072) 0:01:51.321 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 16 November 2024 12:33:22 -0500 (0:00:00.102) 0:01:51.424 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 16 November 2024 12:33:22 -0500 (0:00:00.110) 0:01:51.535 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 November 2024 12:33:22 -0500 (0:00:00.117) 0:01:51.652 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 16 November 2024 12:33:23 -0500 (0:00:00.578) 0:01:52.230 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16138XrDfKv/tmpybOQrm" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 16 November 2024 12:33:23 -0500 (0:00:00.391) 0:01:52.622 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 16 November 2024 12:33:24 -0500 (0:00:00.675) 0:01:53.297 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 16 November 2024 12:33:24 -0500 (0:00:00.098) 0:01:53.396 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 16 November 2024 12:33:24 -0500 (0:00:00.082) 0:01:53.479 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 16 November 2024 12:33:24 -0500 (0:00:00.078) 0:01:53.557 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 16 November 2024 12:33:24 -0500 (0:00:00.097) 0:01:53.654 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 16 November 2024 12:33:24 -0500 (0:00:00.426) 0:01:54.081 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 16 November 2024 12:33:25 -0500 (0:00:00.122) 0:01:54.204 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 November 2024 12:33:25 -0500 (0:00:00.209) 0:01:54.413 ***** included: /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 November 2024 12:33:25 -0500 (0:00:00.274) 0:01:54.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 : Check if system is ostree] *********** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 November 2024 12:33:25 -0500 (0:00:00.102) 0:01:54.790 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 November 2024 12:33:25 -0500 (0:00:00.117) 0:01:54.908 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 November 2024 12:33:25 -0500 (0:00:00.118) 0:01:55.026 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 November 2024 12:33:26 -0500 (0:00:01.072) 0:01:56.099 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 November 2024 12:33:28 -0500 (0:00:01.451) 0:01:57.551 ***** ok: [managed-node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 November 2024 12:33:28 -0500 (0:00:00.118) 0:01:57.669 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 November 2024 12:33:28 -0500 (0:00:00.116) 0:01:57.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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 16 November 2024 12:33:28 -0500 (0:00:00.114) 0:01:57.900 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 November 2024 12:33:28 -0500 (0:00:00.185) 0:01:58.085 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 16 November 2024 12:33:29 -0500 (0:00:00.129) 0:01:58.215 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 16 November 2024 12:33:29 -0500 (0:00:00.117) 0:01:58.333 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 16 November 2024 12:33:29 -0500 (0:00:00.117) 0:01:58.450 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 16 November 2024 12:33:29 -0500 (0:00:00.202) 0:01:58.653 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 16 November 2024 12:33:29 -0500 (0:00:00.129) 0:01:58.782 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 November 2024 12:33:29 -0500 (0:00:00.151) 0:01:58.933 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 16 November 2024 12:33:29 -0500 (0:00:00.139) 0:01:59.073 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 16 November 2024 12:33:30 -0500 (0:00:00.125) 0:01:59.198 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 November 2024 12:33:30 -0500 (0:00:00.147) 0:01:59.346 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 16 November 2024 12:33:30 -0500 (0:00:00.648) 0:01:59.994 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16138XrDfKv/tmpNiYRfb" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 16 November 2024 12:33:31 -0500 (0:00:00.501) 0:02:00.495 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 16 November 2024 12:33:32 -0500 (0:00:01.198) 0:02:01.694 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 16 November 2024 12:33:32 -0500 (0:00:00.174) 0:02:01.868 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 16 November 2024 12:33:32 -0500 (0:00:00.141) 0:02:02.010 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 16 November 2024 12:33:32 -0500 (0:00:00.149) 0:02:02.160 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 16 November 2024 12:33:33 -0500 (0:00:00.093) 0:02:02.253 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 16 November 2024 12:33:33 -0500 (0:00:00.525) 0:02:02.779 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 November 2024 12:33:33 -0500 (0:00:00.227) 0:02:03.006 ***** included: /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 November 2024 12:33:34 -0500 (0:00:00.372) 0:02:03.379 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 November 2024 12:33:34 -0500 (0:00:00.171) 0:02:03.551 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 November 2024 12:33:34 -0500 (0:00:00.133) 0:02:03.685 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 November 2024 12:33:34 -0500 (0:00:00.117) 0:02:03.803 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 November 2024 12:33:35 -0500 (0:00:01.189) 0:02:04.993 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 November 2024 12:33:37 -0500 (0:00:01.377) 0:02:06.370 ***** ok: [managed-node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 November 2024 12:33:37 -0500 (0:00:00.120) 0:02:06.491 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 November 2024 12:33:37 -0500 (0:00:00.115) 0:02:06.606 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 16 November 2024 12:33:37 -0500 (0:00:00.126) 0:02:06.733 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 November 2024 12:33:37 -0500 (0:00:00.122) 0:02:06.855 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 16 November 2024 12:33:37 -0500 (0:00:00.190) 0:02:07.046 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 16 November 2024 12:33:38 -0500 (0:00:00.190) 0:02:07.237 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 16 November 2024 12:33:38 -0500 (0:00:00.200) 0:02:07.437 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 16 November 2024 12:33:38 -0500 (0:00:00.298) 0:02:07.736 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 16 November 2024 12:33:38 -0500 (0:00:00.134) 0:02:07.871 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 November 2024 12:33:38 -0500 (0:00:00.214) 0:02:08.086 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 16 November 2024 12:33:39 -0500 (0:00:00.135) 0:02:08.221 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 16 November 2024 12:33:39 -0500 (0:00:00.130) 0:02:08.352 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 November 2024 12:33:39 -0500 (0:00:00.158) 0:02:08.510 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 16 November 2024 12:33:40 -0500 (0:00:00.914) 0:02:09.424 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16138XrDfKv/tmpOBoLaC" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 16 November 2024 12:33:40 -0500 (0:00:00.454) 0:02:09.879 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 16 November 2024 12:33:41 -0500 (0:00:00.978) 0:02:10.858 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 16 November 2024 12:33:41 -0500 (0:00:00.119) 0:02:10.977 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 16 November 2024 12:33:41 -0500 (0:00:00.121) 0:02:11.099 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 16 November 2024 12:33:42 -0500 (0:00:00.139) 0:02:11.238 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 16 November 2024 12:33:42 -0500 (0:00:00.086) 0:02:11.325 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 16 November 2024 12:33:42 -0500 (0:00:00.594) 0:02:11.919 ***** included: /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 16 November 2024 12:33:43 -0500 (0:00:00.275) 0:02:12.194 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 November 2024 12:33:43 -0500 (0:00:00.225) 0:02:12.420 ***** included: /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 November 2024 12:33:43 -0500 (0:00:00.191) 0:02:12.611 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 November 2024 12:33:43 -0500 (0:00:00.246) 0:02:12.857 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 November 2024 12:33:43 -0500 (0:00:00.242) 0:02:13.100 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 November 2024 12:33:44 -0500 (0:00:00.212) 0:02:13.312 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 November 2024 12:33:45 -0500 (0:00:01.210) 0:02:14.523 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 November 2024 12:33:46 -0500 (0:00:01.447) 0:02:15.970 ***** ok: [managed-node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 November 2024 12:33:46 -0500 (0:00:00.198) 0:02:16.169 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 November 2024 12:33:47 -0500 (0:00:00.245) 0:02:16.415 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 16 November 2024 12:33:47 -0500 (0:00:00.248) 0:02:16.664 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 November 2024 12:33:47 -0500 (0:00:00.153) 0:02:16.817 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 16 November 2024 12:33:47 -0500 (0:00:00.206) 0:02:17.024 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 16 November 2024 12:33:48 -0500 (0:00:00.257) 0:02:17.281 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 16 November 2024 12:33:48 -0500 (0:00:00.207) 0:02:17.488 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 16 November 2024 12:33:48 -0500 (0:00:00.219) 0:02:17.708 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 16 November 2024 12:33:48 -0500 (0:00:00.126) 0:02:17.834 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 November 2024 12:33:48 -0500 (0:00:00.118) 0:02:17.953 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 16 November 2024 12:33:48 -0500 (0:00:00.134) 0:02:18.087 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 16 November 2024 12:33:49 -0500 (0:00:00.126) 0:02:18.214 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 November 2024 12:33:49 -0500 (0:00:00.114) 0:02:18.329 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 16 November 2024 12:33:49 -0500 (0:00:00.648) 0:02:18.977 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16138XrDfKv/tmpG_l98R" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 16 November 2024 12:33:50 -0500 (0:00:00.518) 0:02:19.496 ***** ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 16 November 2024 12:33:51 -0500 (0:00:00.845) 0:02:20.341 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 16 November 2024 12:33:51 -0500 (0:00:00.152) 0:02:20.494 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 16 November 2024 12:33:51 -0500 (0:00:00.206) 0:02:20.700 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 16 November 2024 12:33:51 -0500 (0:00:00.160) 0:02:20.861 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 16 November 2024 12:33:51 -0500 (0:00:00.122) 0:02:20.984 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 16 November 2024 12:33:52 -0500 (0:00:00.488) 0:02:21.473 ***** included: /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 16 November 2024 12:33:52 -0500 (0:00:00.215) 0:02:21.688 ***** included: /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 16 November 2024 12:33:52 -0500 (0:00:00.252) 0:02:21.940 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 16 November 2024 12:33:52 -0500 (0:00:00.112) 0:02:22.052 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 16 November 2024 12:33:53 -0500 (0:00:00.556) 0:02:22.609 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 16 November 2024 12:33:53 -0500 (0:00:00.138) 0:02:22.748 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020633", "end": "2024-11-16 12:33:53.896362", "rc": 1, "start": "2024-11-16 12:33:53.875729" } 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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 16 November 2024 12:33:53 -0500 (0:00:00.427) 0:02:23.176 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 16 November 2024 12:33:54 -0500 (0:00:00.187) 0:02:23.363 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 16 November 2024 12:33:54 -0500 (0:00:00.121) 0:02:23.485 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 16 November 2024 12:33:54 -0500 (0:00:00.102) 0:02:23.588 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 16 November 2024 12:33:54 -0500 (0:00:00.122) 0:02:23.710 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 16 November 2024 12:33:54 -0500 (0:00:00.198) 0:02:23.909 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 16 November 2024 12:33:54 -0500 (0:00:00.145) 0:02:24.055 ***** skipping: [managed-node1] => (item={u'what': u'tasks/assert_device_absent.yml', u'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 16 November 2024 12:33:54 -0500 (0:00:00.114) 0:02:24.169 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 16 November 2024 12:33:55 -0500 (0:00:00.131) 0:02:24.301 ***** included: /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 16 November 2024 12:33:55 -0500 (0:00:00.204) 0:02:24.506 ***** ok: [managed-node1] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.045190", "end": "2024-11-16 12:33:55.640938", "rc": 0, "start": "2024-11-16 12:33:55.595748" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 16 November 2024 12:33:55 -0500 (0:00:00.413) 0:02:24.919 ***** included: /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 16 November 2024 12:33:55 -0500 (0:00:00.241) 0:02:25.161 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 16 November 2024 12:33:56 -0500 (0:00:00.150) 0:02:25.312 ***** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed-node1] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 16 November 2024 12:33:56 -0500 (0:00:00.243) 0:02:25.555 ***** included: /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 16 November 2024 12:33:56 -0500 (0:00:00.202) 0:02:25.758 ***** included: /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 16 November 2024 12:33:56 -0500 (0:00:00.316) 0:02:26.074 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003386", "end": "2024-11-16 12:33:57.308862", "rc": 0, "start": "2024-11-16 12:33:57.305476" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 16 November 2024 12:33:57 -0500 (0:00:00.560) 0:02:26.635 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 16 November 2024 12:33:57 -0500 (0:00:00.138) 0:02:26.773 ***** ok: [managed-node1] => {} MSG: current_interfaces: [u'bond0', u'bonding_masters', u'eth0', u'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 16 November 2024 12:33:57 -0500 (0:00:00.221) 0:02:26.995 ***** included: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 included: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 included: /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 16 November 2024 12:33:58 -0500 (0:00:00.331) 0:02:27.327 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 November 2024 12:33:58 -0500 (0:00:00.198) 0:02:27.526 ***** included: /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 November 2024 12:33:58 -0500 (0:00:00.249) 0:02:27.775 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 November 2024 12:33:58 -0500 (0:00:00.146) 0:02:27.922 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 November 2024 12:33:58 -0500 (0:00:00.196) 0:02:28.119 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 November 2024 12:33:59 -0500 (0:00:00.232) 0:02:28.352 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 November 2024 12:34:00 -0500 (0:00:01.170) 0:02:29.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 : Print network provider] ************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 November 2024 12:34:01 -0500 (0:00:01.511) 0:02:31.034 ***** ok: [managed-node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 November 2024 12:34:01 -0500 (0:00:00.129) 0:02:31.164 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 November 2024 12:34:02 -0500 (0:00:00.150) 0:02:31.315 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 16 November 2024 12:34:02 -0500 (0:00:00.130) 0:02:31.446 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 November 2024 12:34:02 -0500 (0:00:00.128) 0:02:31.575 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 16 November 2024 12:34:02 -0500 (0:00:00.126) 0:02:31.701 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 16 November 2024 12:34:02 -0500 (0:00:00.126) 0:02:31.828 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 16 November 2024 12:34:02 -0500 (0:00:00.127) 0:02:31.955 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 16 November 2024 12:34:02 -0500 (0:00:00.184) 0:02:32.140 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 16 November 2024 12:34:03 -0500 (0:00:00.112) 0:02:32.253 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 November 2024 12:34:03 -0500 (0:00:00.111) 0:02:32.365 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 16 November 2024 12:34:03 -0500 (0:00:00.108) 0:02:32.473 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 16 November 2024 12:34:03 -0500 (0:00:00.142) 0:02:32.615 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 November 2024 12:34:03 -0500 (0:00:00.123) 0:02:32.739 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 16 November 2024 12:34:04 -0500 (0:00:00.620) 0:02:33.359 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16138XrDfKv/tmp5602me" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 16 November 2024 12:34:04 -0500 (0:00:00.468) 0:02:33.827 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 16 November 2024 12:34:05 -0500 (0:00:00.665) 0:02:34.493 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 16 November 2024 12:34:05 -0500 (0:00:00.115) 0:02:34.608 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 16 November 2024 12:34:05 -0500 (0:00:00.115) 0:02:34.724 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 16 November 2024 12:34:05 -0500 (0:00:00.139) 0:02:34.863 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 16 November 2024 12:34:05 -0500 (0:00:00.112) 0:02:34.976 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 16 November 2024 12:34:06 -0500 (0:00:00.350) 0:02:35.326 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 16 November 2024 12:34:06 -0500 (0:00:00.085) 0:02:35.411 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 November 2024 12:34:06 -0500 (0:00:00.186) 0:02:35.597 ***** included: /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 November 2024 12:34:06 -0500 (0:00:00.184) 0:02:35.782 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 November 2024 12:34:06 -0500 (0:00:00.129) 0:02:35.912 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 November 2024 12:34:06 -0500 (0:00:00.112) 0:02:36.025 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 November 2024 12:34:06 -0500 (0:00:00.095) 0:02:36.120 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 November 2024 12:34:07 -0500 (0:00:01.019) 0:02:37.140 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 November 2024 12:34:09 -0500 (0:00:01.422) 0:02:38.563 ***** ok: [managed-node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 November 2024 12:34:09 -0500 (0:00:00.271) 0:02:38.834 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 November 2024 12:34:09 -0500 (0:00:00.195) 0:02:39.029 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 16 November 2024 12:34:09 -0500 (0:00:00.122) 0:02:39.151 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 November 2024 12:34:10 -0500 (0:00:00.204) 0:02:39.355 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 16 November 2024 12:34:10 -0500 (0:00:00.189) 0:02:39.545 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 16 November 2024 12:34:10 -0500 (0:00:00.235) 0:02:39.781 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 16 November 2024 12:34:10 -0500 (0:00:00.172) 0:02:39.953 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 16 November 2024 12:34:11 -0500 (0:00:00.268) 0:02:40.221 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 16 November 2024 12:34:11 -0500 (0:00:00.077) 0:02:40.299 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 November 2024 12:34:11 -0500 (0:00:00.076) 0:02:40.376 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 16 November 2024 12:34:11 -0500 (0:00:00.104) 0:02:40.480 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 16 November 2024 12:34:11 -0500 (0:00:00.186) 0:02:40.667 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 November 2024 12:34:11 -0500 (0:00:00.159) 0:02:40.827 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 16 November 2024 12:34:12 -0500 (0:00:00.723) 0:02:41.550 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16138XrDfKv/tmpYnP59J" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 16 November 2024 12:34:12 -0500 (0:00:00.493) 0:02:42.043 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 16 November 2024 12:34:14 -0500 (0:00:01.174) 0:02:43.218 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 16 November 2024 12:34:14 -0500 (0:00:00.085) 0:02:43.303 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 16 November 2024 12:34:14 -0500 (0:00:00.102) 0:02:43.406 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 16 November 2024 12:34:14 -0500 (0:00:00.118) 0:02:43.525 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 16 November 2024 12:34:14 -0500 (0:00:00.126) 0:02:43.651 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 16 November 2024 12:34:14 -0500 (0:00:00.472) 0:02:44.123 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 November 2024 12:34:15 -0500 (0:00:00.244) 0:02:44.368 ***** included: /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 November 2024 12:34:15 -0500 (0:00:00.291) 0:02:44.659 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 November 2024 12:34:15 -0500 (0:00:00.140) 0:02:44.800 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 November 2024 12:34:15 -0500 (0:00:00.114) 0:02:44.914 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 November 2024 12:34:15 -0500 (0:00:00.095) 0:02:45.010 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 November 2024 12:34:16 -0500 (0:00:01.022) 0:02:46.033 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 November 2024 12:34:18 -0500 (0:00:01.310) 0:02:47.343 ***** ok: [managed-node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 November 2024 12:34:18 -0500 (0:00:00.090) 0:02:47.433 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 November 2024 12:34:18 -0500 (0:00:00.081) 0:02:47.515 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 16 November 2024 12:34:18 -0500 (0:00:00.110) 0:02:47.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 DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 November 2024 12:34:18 -0500 (0:00:00.186) 0:02:47.812 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 16 November 2024 12:34:18 -0500 (0:00:00.094) 0:02:47.906 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 16 November 2024 12:34:18 -0500 (0:00:00.129) 0:02:48.036 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 16 November 2024 12:34:18 -0500 (0:00:00.125) 0:02:48.161 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 16 November 2024 12:34:19 -0500 (0:00:00.219) 0:02:48.381 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 16 November 2024 12:34:19 -0500 (0:00:00.134) 0:02:48.515 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 November 2024 12:34:19 -0500 (0:00:00.103) 0:02:48.619 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 16 November 2024 12:34:19 -0500 (0:00:00.120) 0:02:48.739 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 16 November 2024 12:34:19 -0500 (0:00:00.094) 0:02:48.833 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 November 2024 12:34:19 -0500 (0:00:00.080) 0:02:48.913 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 16 November 2024 12:34:20 -0500 (0:00:00.487) 0:02:49.401 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16138XrDfKv/tmpyKsgdR" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 16 November 2024 12:34:20 -0500 (0:00:00.602) 0:02:50.003 ***** changed: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 16 November 2024 12:34:21 -0500 (0:00:00.790) 0:02:50.794 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 16 November 2024 12:34:21 -0500 (0:00:00.118) 0:02:50.912 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 16 November 2024 12:34:21 -0500 (0:00:00.093) 0:02:51.005 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 16 November 2024 12:34:21 -0500 (0:00:00.096) 0:02:51.102 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 16 November 2024 12:34:22 -0500 (0:00:00.088) 0:02:51.190 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 16 November 2024 12:34:22 -0500 (0:00:00.498) 0:02:51.688 ***** included: /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 16 November 2024 12:34:22 -0500 (0:00:00.278) 0:02:51.967 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 16 November 2024 12:34:23 -0500 (0:00:00.236) 0:02:52.204 ***** included: /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 16 November 2024 12:34:23 -0500 (0:00:00.248) 0:02:52.452 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 16 November 2024 12:34:23 -0500 (0:00:00.223) 0:02:52.676 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 16 November 2024 12:34:23 -0500 (0:00:00.125) 0:02:52.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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 16 November 2024 12:34:23 -0500 (0:00:00.115) 0:02:52.917 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 16 November 2024 12:34:24 -0500 (0:00:01.051) 0:02:53.968 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 16 November 2024 12:34:26 -0500 (0:00:01.629) 0:02:55.597 ***** ok: [managed-node1] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 16 November 2024 12:34:26 -0500 (0:00:00.122) 0:02:55.720 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 16 November 2024 12:34:26 -0500 (0:00:00.115) 0:02:55.836 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 16 November 2024 12:34:26 -0500 (0:00:00.130) 0:02:55.966 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 16 November 2024 12:34:26 -0500 (0:00:00.086) 0:02:56.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 YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 16 November 2024 12:34:26 -0500 (0:00:00.074) 0:02:56.127 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 16 November 2024 12:34:27 -0500 (0:00:00.082) 0:02:56.209 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 16 November 2024 12:34:27 -0500 (0:00:00.077) 0:02:56.287 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 16 November 2024 12:34:27 -0500 (0:00:00.184) 0:02:56.471 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 16 November 2024 12:34:27 -0500 (0:00:00.115) 0:02:56.587 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 16 November 2024 12:34:27 -0500 (0:00:00.113) 0:02:56.701 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 16 November 2024 12:34:27 -0500 (0:00:00.130) 0:02:56.831 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 16 November 2024 12:34:27 -0500 (0:00:00.126) 0:02:56.958 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 16 November 2024 12:34:27 -0500 (0:00:00.091) 0:02:57.049 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 16 November 2024 12:34:28 -0500 (0:00:00.505) 0:02:57.554 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-16138XrDfKv/tmpHev0AW" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 16 November 2024 12:34:28 -0500 (0:00:00.365) 0:02:57.920 ***** ok: [managed-node1] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 16 November 2024 12:34:29 -0500 (0:00:00.726) 0:02:58.646 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 16 November 2024 12:34:29 -0500 (0:00:00.074) 0:02:58.721 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 16 November 2024 12:34:29 -0500 (0:00:00.107) 0:02:58.829 ***** ok: [managed-node1] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 16 November 2024 12:34:29 -0500 (0:00:00.123) 0:02:58.952 ***** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 16 November 2024 12:34:29 -0500 (0:00:00.138) 0:02:59.091 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 16 November 2024 12:34:30 -0500 (0:00:00.418) 0:02:59.509 ***** included: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 included: /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 16 November 2024 12:34:30 -0500 (0:00:00.167) 0:02:59.677 ***** included: /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 16 November 2024 12:34:30 -0500 (0:00:00.133) 0:02:59.811 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 16 November 2024 12:34:30 -0500 (0:00:00.078) 0:02:59.889 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 16 November 2024 12:34:31 -0500 (0:00:00.325) 0:03:00.215 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 16 November 2024 12:34:31 -0500 (0:00:00.105) 0:03:00.321 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020369", "end": "2024-11-16 12:34:31.429765", "rc": 1, "start": "2024-11-16 12:34:31.409396" } 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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 16 November 2024 12:34:31 -0500 (0:00:00.435) 0:03:00.757 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 16 November 2024 12:34:31 -0500 (0:00:00.125) 0:03:00.883 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 16 November 2024 12:34:31 -0500 (0:00:00.122) 0:03:01.006 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 16 November 2024 12:34:32 -0500 (0:00:00.212) 0:03:01.218 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 16 November 2024 12:34:32 -0500 (0:00:00.116) 0:03:01.334 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 16 November 2024 12:34:32 -0500 (0:00:00.111) 0:03:01.446 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 16 November 2024 12:34:32 -0500 (0:00:00.107) 0:03:01.554 ***** [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.622493", "end": "2024-11-16 12:34:33.268304", "rc": 0, "start": "2024-11-16 12:34:32.645811" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 16 November 2024 12:34:33 -0500 (0:00:01.059) 0:03:02.614 ***** ok: [managed-node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 16 November 2024 12:34:33 -0500 (0:00:00.126) 0:03:02.741 ***** ok: [managed-node1] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 16 November 2024 12:34:33 -0500 (0:00:00.129) 0:03:02.870 ***** skipping: [managed-node1] => (item={u'what': u'tasks/assert_device_absent.yml', u'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 16 November 2024 12:34:33 -0500 (0:00:00.147) 0:03:03.018 ***** 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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 16 November 2024 12:34:33 -0500 (0:00:00.097) 0:03:03.115 ***** included: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 included: /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 16 November 2024 12:34:34 -0500 (0:00:00.170) 0:03:03.286 ***** ok: [managed-node1] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.044973", "end": "2024-11-16 12:34:34.443922", "rc": 0, "start": "2024-11-16 12:34:34.398949" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 16 November 2024 12:34:34 -0500 (0:00:00.484) 0:03:03.770 ***** 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.007377", "end": "2024-11-16 12:34:34.861323", "rc": 0, "start": "2024-11-16 12:34:34.853946" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 12:54:92:25:b0:85 brd ff:ff:ff:ff:ff:ff inet 10.31.10.247/22 brd 10.31.11.255 scope global noprefixroute dynamic eth0 valid_lft 2379sec preferred_lft 2379sec inet6 fe80::1054:92ff:fe25:b085/64 scope link valid_lft forever preferred_lft forever 17: bond0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether ca:c2:dd:3b:31:9f brd ff:ff:ff:ff:ff:ff IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.10.247 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-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 16 November 2024 12:34:34 -0500 (0:00:00.384) 0:03:04.155 ***** 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.608457", "end": "2024-11-16 12:34:35.833238", "rc": 0, "start": "2024-11-16 12:34:35.224781" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 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 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 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 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 775 0 --:--:-- --:--:-- --:--:-- 776 % 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 1492 0 --:--:-- --:--:-- --:--:-- 1500 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node1 : ok=338 changed=14 unreachable=0 failed=0 skipped=284 rescued=0 ignored=10 Saturday 16 November 2024 12:34:35 -0500 (0:00:00.909) 0:03:05.064 ***** =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 1.86s /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.82s /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.76s /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.63s /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.63s /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.55s /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.51s /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gather current interface info ------------------------------------------- 1.47s /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 fedora.linux_system_roles.network : Check which packages are installed --- 1.45s /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.42s /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.38s /tmp/collections-e8e/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-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.34s /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.31s /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.31s /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.28s /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.23s /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.21s /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Gathering Facts --------------------------------------------------------- 1.21s /tmp/collections-e8e/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5