# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_states_nm.yml ************************************************** 2 plays in /WORKDIR/git-fix-templating-warnings48igy6dc/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/tests_states_nm.yml:6 Wednesday 24 July 2024 22:32:52 +0000 (0:00:00.017) 0:00:00.017 ******** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/tests_states_nm.yml:9 Wednesday 24 July 2024 22:32:53 +0000 (0:00:00.909) 0:00:00.927 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/tasks/el_repo_setup.yml for sut TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/tasks/el_repo_setup.yml:3 Wednesday 24 July 2024 22:32:53 +0000 (0:00:00.118) 0:00:01.045 ******** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/tasks/el_repo_setup.yml:19 Wednesday 24 July 2024 22:32:53 +0000 (0:00:00.227) 0:00:01.273 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/tasks/el_repo_setup.yml:24 Wednesday 24 July 2024 22:32:53 +0000 (0:00:00.411) 0:00:01.684 ******** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/tasks/el_repo_setup.yml:28 Wednesday 24 July 2024 22:32:53 +0000 (0:00:00.051) 0:00:01.736 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/tasks/el_repo_setup.yml:53 Wednesday 24 July 2024 22:32:53 +0000 (0:00:00.040) 0:00:01.777 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/tasks/enable_epel.yml:8 Wednesday 24 July 2024 22:32:54 +0000 (0:00:00.053) 0:00:01.830 ******** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/tasks/enable_epel.yml:24 Wednesday 24 July 2024 22:32:54 +0000 (0:00:00.218) 0:00:02.049 ******** ok: [sut] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/tasks/enable_epel.yml:30 Wednesday 24 July 2024 22:32:54 +0000 (0:00:00.621) 0:00:02.670 ******** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.166510", "end": "2024-07-24 22:32:55.156708", "rc": 0, "start": "2024-07-24 22:32:54.990198" } 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: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/tasks/enable_epel.yml:35 Wednesday 24 July 2024 22:32:55 +0000 (0:00:00.302) 0:00:02.972 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/tasks/enable_epel.yml:40 Wednesday 24 July 2024 22:32:55 +0000 (0:00:00.023) 0:00:02.996 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/tests_states_nm.yml:11 Wednesday 24 July 2024 22:32:55 +0000 (0:00:00.045) 0:00:03.041 ******** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tests_states.yml:3 Wednesday 24 July 2024 22:32:55 +0000 (0:00:00.020) 0:00:03.062 ******** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tests_states.yml:11 Wednesday 24 July 2024 22:32:55 +0000 (0:00:00.385) 0:00:03.447 ******** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tests_states.yml:22 Wednesday 24 July 2024 22:32:55 +0000 (0:00:00.029) 0:00:03.477 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/run_test.yml:5 Wednesday 24 July 2024 22:32:55 +0000 (0:00:00.035) 0:00:03.512 ******** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/run_test.yml:9 Wednesday 24 July 2024 22:32:55 +0000 (0:00:00.032) 0:00:03.545 ******** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_present.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (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: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/run_test.yml:21 Wednesday 24 July 2024 22:32:55 +0000 (0:00:00.065) 0:00:03.610 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 22:32:55 +0000 (0:00:00.015) 0:00:03.626 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 22:32:55 +0000 (0:00:00.022) 0:00:03.648 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004324", "end": "2024-07-24 22:32:56.971505", "rc": 0, "start": "2024-07-24 22:32:55.967181" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 22:32:56 +0000 (0:00:01.133) 0:00:04.782 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 22:32:57 +0000 (0:00:00.023) 0:00:04.805 ******** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/run_test.yml:24 Wednesday 24 July 2024 22:32:57 +0000 (0:00:00.030) 0:00:04.836 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 24 July 2024 22:32:57 +0000 (0:00:00.044) 0:00:04.880 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.011515", "end": "2024-07-24 22:32:57.218631", "rc": 1, "start": "2024-07-24 22:32:57.207116" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 24 July 2024 22:32:57 +0000 (0:00:00.160) 0:00:05.041 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 22:32:57 +0000 (0:00:00.043) 0:00:05.084 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 24 July 2024 22:32:57 +0000 (0:00:00.131) 0:00:05.216 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/run_test.yml:30 Wednesday 24 July 2024 22:32:57 +0000 (0:00:00.021) 0:00:05.237 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 24 July 2024 22:32:57 +0000 (0:00:00.025) 0:00:05.263 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 22:32:57 +0000 (0:00:00.098) 0:00:05.362 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 22:32:57 +0000 (0:00:00.042) 0:00:05.405 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 22:32:57 +0000 (0:00:00.014) 0:00:05.419 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 22:32:57 +0000 (0:00:00.011) 0:00:05.430 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 22:32:57 +0000 (0:00:00.010) 0:00:05.441 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 22:32:58 +0000 (0:00:00.773) 0:00:06.214 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 22:32:59 +0000 (0:00:01.164) 0:00:07.378 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 22:32:59 +0000 (0:00:00.069) 0:00:07.447 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 22:32:59 +0000 (0:00:00.086) 0:00:07.534 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 22:32:59 +0000 (0:00:00.025) 0:00:07.559 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 22:32:59 +0000 (0:00:00.030) 0:00:07.589 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 22:32:59 +0000 (0:00:00.035) 0:00:07.625 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 22:32:59 +0000 (0:00:00.037) 0:00:07.662 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 22:32:59 +0000 (0:00:00.057) 0:00:07.719 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 22:33:00 +0000 (0:00:00.113) 0:00:07.833 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 22:33:00 +0000 (0:00:00.067) 0:00:07.900 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 22:33:00 +0000 (0:00:00.060) 0:00:07.961 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 22:33:00 +0000 (0:00:00.053) 0:00:08.014 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 22:33:00 +0000 (0:00:00.471) 0:00:08.485 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 22:33:00 +0000 (0:00:00.091) 0:00:08.577 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 22:33:00 +0000 (0:00:00.031) 0:00:08.609 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 22:33:00 +0000 (0:00:00.044) 0:00:08.653 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dc7f6242-57a6-4261-94bc-e03d5b04a207 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 22:33:01 +0000 (0:00:00.572) 0:00:09.225 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 22:33:01 +0000 (0:00:00.023) 0:00:09.249 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dc7f6242-57a6-4261-94bc-e03d5b04a207" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 22:33:01 +0000 (0:00:00.027) 0:00:09.277 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dc7f6242-57a6-4261-94bc-e03d5b04a207\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dc7f6242-57a6-4261-94bc-e03d5b04a207" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 22:33:01 +0000 (0:00:00.061) 0:00:09.338 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 22:33:01 +0000 (0:00:00.035) 0:00:09.373 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 24 July 2024 22:33:01 +0000 (0:00:00.232) 0:00:09.605 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dc7f6242-57a6-4261-94bc-e03d5b04a207\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, dc7f6242-57a6-4261-94bc-e03d5b04a207" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/run_test.yml:36 Wednesday 24 July 2024 22:33:01 +0000 (0:00:00.038) 0:00:09.644 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 24 July 2024 22:33:01 +0000 (0:00:00.048) 0:00:09.692 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 24 July 2024 22:33:01 +0000 (0:00:00.045) 0:00:09.737 ******** ok: [sut] => { "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: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 24 July 2024 22:33:01 +0000 (0:00:00.041) 0:00:09.779 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1721860381.326033, "block_size": 4096, "blocks": 8, "ctime": 1721860381.323033, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22524, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721860381.323033, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 146, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 24 July 2024 22:33:02 +0000 (0:00:00.211) 0:00:09.990 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 24 July 2024 22:33:02 +0000 (0:00:00.051) 0:00:10.041 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024141", "end": "2024-07-24 22:33:02.420304", "rc": 0, "start": "2024-07-24 22:33:02.396163" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 24 July 2024 22:33:02 +0000 (0:00:00.253) 0:00:10.295 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 24 July 2024 22:33:02 +0000 (0:00:00.089) 0:00:10.385 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 24 July 2024 22:33:02 +0000 (0:00:00.095) 0:00:10.480 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 24 July 2024 22:33:02 +0000 (0:00:00.087) 0:00:10.568 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 24 July 2024 22:33:02 +0000 (0:00:00.044) 0:00:10.612 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 24 July 2024 22:33:02 +0000 (0:00:00.026) 0:00:10.639 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 24 July 2024 22:33:02 +0000 (0:00:00.053) 0:00:10.692 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 24 July 2024 22:33:02 +0000 (0:00:00.045) 0:00:10.738 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/run_test.yml:42 Wednesday 24 July 2024 22:33:03 +0000 (0:00:00.209) 0:00:10.947 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 24 July 2024 22:33:03 +0000 (0:00:00.276) 0:00:11.224 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 22:33:03 +0000 (0:00:00.053) 0:00:11.277 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1721860381.332033, "block_size": 4096, "blocks": 0, "ctime": 1721860381.331033, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17630, "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": 1721860381.331033, "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: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 24 July 2024 22:33:03 +0000 (0:00:00.182) 0:00:11.460 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/run_test.yml:47 Wednesday 24 July 2024 22:33:03 +0000 (0:00:00.088) 0:00:11.549 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/run_test.yml:66 Wednesday 24 July 2024 22:33:03 +0000 (0:00:00.066) 0:00:11.615 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 24 July 2024 22:33:03 +0000 (0:00:00.159) 0:00:11.774 ******** fatal: [sut]: 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.070641", "end": "2024-07-24 22:33:04.293728", "rc": 1, "start": "2024-07-24 22:33:04.223087" } STDOUT: Connection 'statebr' (dc7f6242-57a6-4261-94bc-e03d5b04a207) successfully deleted. STDERR: (process:30841): GLib-GIO-WARNING **: 22:33:04.274: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/42 but no object proxy exists (process:30841): GLib-GIO-WARNING **: 22:33:04.274: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/76 but no object proxy exists (process:30841): GLib-GIO-WARNING **: 22:33:04.274: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/46 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tests_states.yml:45 Wednesday 24 July 2024 22:33:04 +0000 (0:00:00.384) 0:00:12.159 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/run_test.yml:5 Wednesday 24 July 2024 22:33:04 +0000 (0:00:00.084) 0:00:12.244 ******** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/run_test.yml:9 Wednesday 24 July 2024 22:33:04 +0000 (0:00:00.039) 0:00:12.283 ******** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [sut] => (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: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (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: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/run_test.yml:21 Wednesday 24 July 2024 22:33:04 +0000 (0:00:00.101) 0:00:12.385 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 22:33:04 +0000 (0:00:00.094) 0:00:12.479 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 22:33:04 +0000 (0:00:00.078) 0:00:12.558 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.005536", "end": "2024-07-24 22:33:04.932024", "rc": 0, "start": "2024-07-24 22:33:04.926488" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 22:33:04 +0000 (0:00:00.204) 0:00:12.763 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 22:33:05 +0000 (0:00:00.059) 0:00:12.822 ******** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/run_test.yml:24 Wednesday 24 July 2024 22:33:05 +0000 (0:00:00.025) 0:00:12.848 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 24 July 2024 22:33:05 +0000 (0:00:00.062) 0:00:12.910 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006761", "end": "2024-07-24 22:33:05.275553", "rc": 1, "start": "2024-07-24 22:33:05.268792" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 24 July 2024 22:33:05 +0000 (0:00:00.214) 0:00:13.125 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 22:33:05 +0000 (0:00:00.066) 0:00:13.191 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 24 July 2024 22:33:05 +0000 (0:00:00.159) 0:00:13.351 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/run_test.yml:30 Wednesday 24 July 2024 22:33:05 +0000 (0:00:00.049) 0:00:13.401 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 24 July 2024 22:33:05 +0000 (0:00:00.106) 0:00:13.507 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 22:33:05 +0000 (0:00:00.060) 0:00:13.568 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 22:33:05 +0000 (0:00:00.151) 0:00:13.719 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 22:33:06 +0000 (0:00:00.175) 0:00:13.894 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 22:33:06 +0000 (0:00:00.049) 0:00:13.943 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 22:33:06 +0000 (0:00:00.081) 0:00:14.024 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 22:33:06 +0000 (0:00:00.727) 0:00:14.752 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 22:33:07 +0000 (0:00:01.013) 0:00:15.765 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 22:33:08 +0000 (0:00:00.051) 0:00:15.817 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 22:33:08 +0000 (0:00:00.072) 0:00:15.890 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 22:33:08 +0000 (0:00:00.047) 0:00:15.937 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 22:33:08 +0000 (0:00:00.023) 0:00:15.961 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 22:33:08 +0000 (0:00:00.045) 0:00:16.006 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 22:33:08 +0000 (0:00:00.047) 0:00:16.054 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 22:33:08 +0000 (0:00:00.041) 0:00:16.095 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 22:33:08 +0000 (0:00:00.046) 0:00:16.141 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 22:33:08 +0000 (0:00:00.069) 0:00:16.211 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 22:33:08 +0000 (0:00:00.050) 0:00:16.261 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 22:33:08 +0000 (0:00:00.063) 0:00:16.325 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 22:33:08 +0000 (0:00:00.259) 0:00:16.584 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 22:33:08 +0000 (0:00:00.030) 0:00:16.615 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 22:33:08 +0000 (0:00:00.052) 0:00:16.667 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 22:33:08 +0000 (0:00:00.054) 0:00:16.722 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1cb99e43-b646-4d29-89d8-1db33b30941c TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 22:33:09 +0000 (0:00:00.340) 0:00:17.063 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 22:33:09 +0000 (0:00:00.040) 0:00:17.103 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1cb99e43-b646-4d29-89d8-1db33b30941c" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 22:33:09 +0000 (0:00:00.038) 0:00:17.141 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1cb99e43-b646-4d29-89d8-1db33b30941c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1cb99e43-b646-4d29-89d8-1db33b30941c" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 22:33:09 +0000 (0:00:00.023) 0:00:17.165 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 22:33:09 +0000 (0:00:00.022) 0:00:17.187 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 24 July 2024 22:33:09 +0000 (0:00:00.136) 0:00:17.324 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1cb99e43-b646-4d29-89d8-1db33b30941c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1cb99e43-b646-4d29-89d8-1db33b30941c" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/run_test.yml:36 Wednesday 24 July 2024 22:33:09 +0000 (0:00:00.024) 0:00:17.349 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 24 July 2024 22:33:09 +0000 (0:00:00.043) 0:00:17.393 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 22:33:09 +0000 (0:00:00.034) 0:00:17.427 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 24 July 2024 22:33:09 +0000 (0:00:00.126) 0:00:17.554 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 24 July 2024 22:33:09 +0000 (0:00:00.024) 0:00:17.578 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 24 July 2024 22:33:09 +0000 (0:00:00.039) 0:00:17.618 ******** ok: [sut] => { "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: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 24 July 2024 22:33:09 +0000 (0:00:00.023) 0:00:17.641 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1721860389.197027, "block_size": 4096, "blocks": 8, "ctime": 1721860389.197027, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22524, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721860389.197027, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 145, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 24 July 2024 22:33:09 +0000 (0:00:00.128) 0:00:17.770 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 24 July 2024 22:33:10 +0000 (0:00:00.035) 0:00:17.805 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019361", "end": "2024-07-24 22:33:10.138234", "rc": 0, "start": "2024-07-24 22:33:10.118873" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 24 July 2024 22:33:10 +0000 (0:00:00.202) 0:00:18.007 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 24 July 2024 22:33:10 +0000 (0:00:00.067) 0:00:18.075 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 24 July 2024 22:33:10 +0000 (0:00:00.048) 0:00:18.123 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 24 July 2024 22:33:10 +0000 (0:00:00.041) 0:00:18.164 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 24 July 2024 22:33:10 +0000 (0:00:00.042) 0:00:18.206 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 24 July 2024 22:33:10 +0000 (0:00:00.025) 0:00:18.232 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 24 July 2024 22:33:10 +0000 (0:00:00.038) 0:00:18.270 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 24 July 2024 22:33:10 +0000 (0:00:00.063) 0:00:18.334 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/run_test.yml:42 Wednesday 24 July 2024 22:33:10 +0000 (0:00:00.028) 0:00:18.363 ******** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/run_test.yml:47 Wednesday 24 July 2024 22:33:10 +0000 (0:00:00.041) 0:00:18.404 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/run_test.yml:66 Wednesday 24 July 2024 22:33:10 +0000 (0:00:00.050) 0:00:18.455 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 24 July 2024 22:33:10 +0000 (0:00:00.162) 0:00:18.618 ******** fatal: [sut]: 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.046637", "end": "2024-07-24 22:33:11.011207", "rc": 1, "start": "2024-07-24 22:33:10.964570" } STDOUT: Connection 'statebr' (1cb99e43-b646-4d29-89d8-1db33b30941c) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tests_states.yml:65 Wednesday 24 July 2024 22:33:11 +0000 (0:00:00.227) 0:00:18.845 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/run_test.yml:5 Wednesday 24 July 2024 22:33:11 +0000 (0:00:00.048) 0:00:18.894 ******** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/run_test.yml:9 Wednesday 24 July 2024 22:33:11 +0000 (0:00:00.028) 0:00:18.923 ******** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [sut] => (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: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (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: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/run_test.yml:21 Wednesday 24 July 2024 22:33:11 +0000 (0:00:00.045) 0:00:18.968 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 22:33:11 +0000 (0:00:00.035) 0:00:19.003 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 22:33:11 +0000 (0:00:00.033) 0:00:19.037 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.005232", "end": "2024-07-24 22:33:11.350777", "rc": 0, "start": "2024-07-24 22:33:11.345545" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 22:33:11 +0000 (0:00:00.134) 0:00:19.171 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 22:33:11 +0000 (0:00:00.022) 0:00:19.193 ******** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/run_test.yml:24 Wednesday 24 July 2024 22:33:11 +0000 (0:00:00.021) 0:00:19.215 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 24 July 2024 22:33:11 +0000 (0:00:00.036) 0:00:19.251 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 22:33:11 +0000 (0:00:00.072) 0:00:19.323 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 22:33:11 +0000 (0:00:00.056) 0:00:19.380 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 22:33:11 +0000 (0:00:00.028) 0:00:19.408 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 22:33:11 +0000 (0:00:00.031) 0:00:19.440 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 22:33:11 +0000 (0:00:00.023) 0:00:19.463 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 22:33:12 +0000 (0:00:00.652) 0:00:20.115 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 22:33:13 +0000 (0:00:00.873) 0:00:20.989 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 22:33:13 +0000 (0:00:00.050) 0:00:21.039 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 22:33:13 +0000 (0:00:00.031) 0:00:21.071 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 22:33:13 +0000 (0:00:00.033) 0:00:21.104 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 22:33:13 +0000 (0:00:00.041) 0:00:21.146 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 22:33:13 +0000 (0:00:00.089) 0:00:21.236 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 22:33:13 +0000 (0:00:00.034) 0:00:21.270 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 22:33:13 +0000 (0:00:00.027) 0:00:21.297 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 22:33:13 +0000 (0:00:00.067) 0:00:21.365 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 22:33:13 +0000 (0:00:00.022) 0:00:21.388 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 22:33:13 +0000 (0:00:00.025) 0:00:21.413 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 22:33:13 +0000 (0:00:00.024) 0:00:21.437 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 22:33:13 +0000 (0:00:00.265) 0:00:21.703 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 22:33:13 +0000 (0:00:00.036) 0:00:21.739 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 22:33:14 +0000 (0:00:00.086) 0:00:21.826 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 22:33:14 +0000 (0:00:00.024) 0:00:21.851 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 513241ae-11bd-4fe0-a6b8-cd2d75c7cddc TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 22:33:14 +0000 (0:00:00.331) 0:00:22.183 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 22:33:14 +0000 (0:00:00.050) 0:00:22.233 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 513241ae-11bd-4fe0-a6b8-cd2d75c7cddc" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 22:33:14 +0000 (0:00:00.034) 0:00:22.268 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 513241ae-11bd-4fe0-a6b8-cd2d75c7cddc\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 513241ae-11bd-4fe0-a6b8-cd2d75c7cddc" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 22:33:14 +0000 (0:00:00.026) 0:00:22.294 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 22:33:14 +0000 (0:00:00.031) 0:00:22.326 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 24 July 2024 22:33:14 +0000 (0:00:00.138) 0:00:22.464 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 513241ae-11bd-4fe0-a6b8-cd2d75c7cddc\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 513241ae-11bd-4fe0-a6b8-cd2d75c7cddc" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/run_test.yml:30 Wednesday 24 July 2024 22:33:14 +0000 (0:00:00.055) 0:00:22.519 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 24 July 2024 22:33:14 +0000 (0:00:00.069) 0:00:22.589 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 22:33:14 +0000 (0:00:00.042) 0:00:22.631 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 22:33:14 +0000 (0:00:00.042) 0:00:22.674 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 22:33:14 +0000 (0:00:00.032) 0:00:22.706 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 22:33:14 +0000 (0:00:00.022) 0:00:22.729 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 22:33:14 +0000 (0:00:00.020) 0:00:22.750 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 22:33:15 +0000 (0:00:00.681) 0:00:23.431 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 22:33:16 +0000 (0:00:00.868) 0:00:24.299 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 22:33:16 +0000 (0:00:00.023) 0:00:24.323 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 22:33:16 +0000 (0:00:00.021) 0:00:24.345 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 22:33:16 +0000 (0:00:00.020) 0:00:24.365 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 22:33:16 +0000 (0:00:00.021) 0:00:24.386 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 22:33:16 +0000 (0:00:00.021) 0:00:24.408 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 22:33:16 +0000 (0:00:00.024) 0:00:24.432 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 22:33:16 +0000 (0:00:00.022) 0:00:24.455 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 22:33:16 +0000 (0:00:00.049) 0:00:24.504 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 22:33:16 +0000 (0:00:00.031) 0:00:24.536 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 22:33:16 +0000 (0:00:00.021) 0:00:24.557 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 22:33:16 +0000 (0:00:00.024) 0:00:24.581 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 22:33:17 +0000 (0:00:00.225) 0:00:24.807 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 22:33:17 +0000 (0:00:00.025) 0:00:24.832 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 22:33:17 +0000 (0:00:00.029) 0:00:24.861 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 22:33:17 +0000 (0:00:00.035) 0:00:24.897 ******** ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 513241ae-11bd-4fe0-a6b8-cd2d75c7cddc skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 22:33:17 +0000 (0:00:00.365) 0:00:25.262 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 22:33:17 +0000 (0:00:00.068) 0:00:25.331 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 513241ae-11bd-4fe0-a6b8-cd2d75c7cddc skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 22:33:17 +0000 (0:00:00.032) 0:00:25.364 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 513241ae-11bd-4fe0-a6b8-cd2d75c7cddc skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 513241ae-11bd-4fe0-a6b8-cd2d75c7cddc skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 22:33:17 +0000 (0:00:00.023) 0:00:25.387 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 22:33:17 +0000 (0:00:00.021) 0:00:25.409 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/run_test.yml:36 Wednesday 24 July 2024 22:33:17 +0000 (0:00:00.131) 0:00:25.541 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 24 July 2024 22:33:17 +0000 (0:00:00.045) 0:00:25.586 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 22:33:17 +0000 (0:00:00.039) 0:00:25.626 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1721860394.2960231, "block_size": 4096, "blocks": 0, "ctime": 1721860394.2950232, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17630, "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": 1721860394.2950232, "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: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 24 July 2024 22:33:17 +0000 (0:00:00.134) 0:00:25.761 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 24 July 2024 22:33:17 +0000 (0:00:00.033) 0:00:25.794 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 24 July 2024 22:33:18 +0000 (0:00:00.042) 0:00:25.837 ******** ok: [sut] => { "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: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 24 July 2024 22:33:18 +0000 (0:00:00.023) 0:00:25.861 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1721860394.2950232, "block_size": 4096, "blocks": 8, "ctime": 1721860394.294023, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22524, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721860394.294023, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 146, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 24 July 2024 22:33:18 +0000 (0:00:00.157) 0:00:26.018 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 24 July 2024 22:33:18 +0000 (0:00:00.026) 0:00:26.045 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020380", "end": "2024-07-24 22:33:18.397968", "rc": 0, "start": "2024-07-24 22:33:18.377588" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 24 July 2024 22:33:18 +0000 (0:00:00.195) 0:00:26.240 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 24 July 2024 22:33:18 +0000 (0:00:00.074) 0:00:26.315 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 24 July 2024 22:33:18 +0000 (0:00:00.026) 0:00:26.341 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 24 July 2024 22:33:18 +0000 (0:00:00.059) 0:00:26.400 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 24 July 2024 22:33:18 +0000 (0:00:00.032) 0:00:26.433 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 24 July 2024 22:33:18 +0000 (0:00:00.079) 0:00:26.512 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 24 July 2024 22:33:18 +0000 (0:00:00.026) 0:00:26.539 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 24 July 2024 22:33:18 +0000 (0:00:00.030) 0:00:26.570 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/run_test.yml:42 Wednesday 24 July 2024 22:33:18 +0000 (0:00:00.027) 0:00:26.597 ******** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/run_test.yml:47 Wednesday 24 July 2024 22:33:18 +0000 (0:00:00.025) 0:00:26.622 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/run_test.yml:66 Wednesday 24 July 2024 22:33:18 +0000 (0:00:00.031) 0:00:26.654 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 24 July 2024 22:33:18 +0000 (0:00:00.056) 0:00:26.711 ******** fatal: [sut]: 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.071101", "end": "2024-07-24 22:33:19.102801", "rc": 1, "start": "2024-07-24 22:33:19.031700" } STDOUT: Connection 'statebr' (513241ae-11bd-4fe0-a6b8-cd2d75c7cddc) successfully deleted. STDERR: (process:31560): GLib-GIO-WARNING **: 22:33:19.081: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/43 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tests_states.yml:83 Wednesday 24 July 2024 22:33:19 +0000 (0:00:00.221) 0:00:26.932 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/run_test.yml:5 Wednesday 24 July 2024 22:33:19 +0000 (0:00:00.038) 0:00:26.970 ******** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/run_test.yml:9 Wednesday 24 July 2024 22:33:19 +0000 (0:00:00.045) 0:00:27.015 ******** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [sut] => (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: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (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: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/run_test.yml:21 Wednesday 24 July 2024 22:33:19 +0000 (0:00:00.050) 0:00:27.066 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 22:33:19 +0000 (0:00:00.072) 0:00:27.138 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 22:33:19 +0000 (0:00:00.037) 0:00:27.176 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003275", "end": "2024-07-24 22:33:19.488299", "rc": 0, "start": "2024-07-24 22:33:19.485024" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 22:33:19 +0000 (0:00:00.132) 0:00:27.308 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 22:33:19 +0000 (0:00:00.022) 0:00:27.331 ******** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/run_test.yml:24 Wednesday 24 July 2024 22:33:19 +0000 (0:00:00.021) 0:00:27.352 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 24 July 2024 22:33:19 +0000 (0:00:00.042) 0:00:27.395 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 22:33:19 +0000 (0:00:00.040) 0:00:27.435 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 22:33:19 +0000 (0:00:00.043) 0:00:27.479 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 22:33:19 +0000 (0:00:00.027) 0:00:27.506 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 22:33:19 +0000 (0:00:00.024) 0:00:27.530 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 22:33:19 +0000 (0:00:00.023) 0:00:27.554 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 22:33:20 +0000 (0:00:00.703) 0:00:28.257 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 22:33:21 +0000 (0:00:00.880) 0:00:29.137 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 22:33:21 +0000 (0:00:00.048) 0:00:29.186 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 22:33:21 +0000 (0:00:00.056) 0:00:29.243 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 22:33:21 +0000 (0:00:00.097) 0:00:29.340 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 22:33:21 +0000 (0:00:00.101) 0:00:29.442 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 22:33:21 +0000 (0:00:00.036) 0:00:29.478 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 22:33:21 +0000 (0:00:00.033) 0:00:29.512 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 22:33:21 +0000 (0:00:00.043) 0:00:29.555 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 22:33:21 +0000 (0:00:00.075) 0:00:29.630 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 22:33:21 +0000 (0:00:00.027) 0:00:29.657 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 22:33:21 +0000 (0:00:00.033) 0:00:29.691 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 22:33:21 +0000 (0:00:00.027) 0:00:29.719 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 22:33:22 +0000 (0:00:00.331) 0:00:30.050 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 22:33:22 +0000 (0:00:00.083) 0:00:30.133 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 22:33:22 +0000 (0:00:00.082) 0:00:30.215 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 22:33:22 +0000 (0:00:00.031) 0:00:30.247 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8e2f32ec-dbb0-4fd4-96db-1730e5638abc TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 22:33:22 +0000 (0:00:00.367) 0:00:30.614 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 22:33:22 +0000 (0:00:00.055) 0:00:30.669 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8e2f32ec-dbb0-4fd4-96db-1730e5638abc" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 22:33:22 +0000 (0:00:00.068) 0:00:30.738 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8e2f32ec-dbb0-4fd4-96db-1730e5638abc\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8e2f32ec-dbb0-4fd4-96db-1730e5638abc" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 22:33:22 +0000 (0:00:00.024) 0:00:30.762 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 22:33:23 +0000 (0:00:00.039) 0:00:30.802 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 24 July 2024 22:33:23 +0000 (0:00:00.198) 0:00:31.000 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8e2f32ec-dbb0-4fd4-96db-1730e5638abc\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8e2f32ec-dbb0-4fd4-96db-1730e5638abc" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 24 July 2024 22:33:23 +0000 (0:00:00.050) 0:00:31.050 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 22:33:23 +0000 (0:00:00.044) 0:00:31.095 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 22:33:23 +0000 (0:00:00.052) 0:00:31.147 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 22:33:23 +0000 (0:00:00.057) 0:00:31.205 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 22:33:23 +0000 (0:00:00.077) 0:00:31.282 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 22:33:23 +0000 (0:00:00.092) 0:00:31.375 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 22:33:24 +0000 (0:00:00.739) 0:00:32.115 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 22:33:25 +0000 (0:00:00.863) 0:00:32.978 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 22:33:25 +0000 (0:00:00.030) 0:00:33.009 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 22:33:25 +0000 (0:00:00.030) 0:00:33.039 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 22:33:25 +0000 (0:00:00.024) 0:00:33.064 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 22:33:25 +0000 (0:00:00.022) 0:00:33.087 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 22:33:25 +0000 (0:00:00.031) 0:00:33.118 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 22:33:25 +0000 (0:00:00.034) 0:00:33.153 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 22:33:25 +0000 (0:00:00.031) 0:00:33.184 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 22:33:25 +0000 (0:00:00.066) 0:00:33.250 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 22:33:25 +0000 (0:00:00.055) 0:00:33.305 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 22:33:25 +0000 (0:00:00.073) 0:00:33.379 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 22:33:25 +0000 (0:00:00.049) 0:00:33.428 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 22:33:25 +0000 (0:00:00.305) 0:00:33.734 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 22:33:26 +0000 (0:00:00.078) 0:00:33.813 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 22:33:26 +0000 (0:00:00.034) 0:00:33.847 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 22:33:26 +0000 (0:00:00.022) 0:00:33.869 ******** ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8e2f32ec-dbb0-4fd4-96db-1730e5638abc skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 22:33:26 +0000 (0:00:00.293) 0:00:34.162 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 22:33:26 +0000 (0:00:00.063) 0:00:34.226 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8e2f32ec-dbb0-4fd4-96db-1730e5638abc skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 22:33:26 +0000 (0:00:00.063) 0:00:34.289 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8e2f32ec-dbb0-4fd4-96db-1730e5638abc skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8e2f32ec-dbb0-4fd4-96db-1730e5638abc skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 22:33:26 +0000 (0:00:00.062) 0:00:34.352 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 22:33:26 +0000 (0:00:00.030) 0:00:34.383 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/run_test.yml:30 Wednesday 24 July 2024 22:33:26 +0000 (0:00:00.164) 0:00:34.547 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 24 July 2024 22:33:26 +0000 (0:00:00.116) 0:00:34.664 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 22:33:26 +0000 (0:00:00.054) 0:00:34.719 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 22:33:27 +0000 (0:00:00.124) 0:00:34.844 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 22:33:27 +0000 (0:00:00.062) 0:00:34.906 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 22:33:27 +0000 (0:00:00.089) 0:00:34.996 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 22:33:27 +0000 (0:00:00.027) 0:00:35.023 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 22:33:27 +0000 (0:00:00.736) 0:00:35.759 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 22:33:28 +0000 (0:00:00.867) 0:00:36.627 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 22:33:28 +0000 (0:00:00.023) 0:00:36.650 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 22:33:28 +0000 (0:00:00.020) 0:00:36.671 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 22:33:28 +0000 (0:00:00.024) 0:00:36.695 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 22:33:28 +0000 (0:00:00.025) 0:00:36.720 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 22:33:28 +0000 (0:00:00.032) 0:00:36.752 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 22:33:29 +0000 (0:00:00.086) 0:00:36.839 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 22:33:29 +0000 (0:00:00.056) 0:00:36.895 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 22:33:29 +0000 (0:00:00.075) 0:00:36.971 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 22:33:29 +0000 (0:00:00.048) 0:00:37.019 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 22:33:29 +0000 (0:00:00.041) 0:00:37.061 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 22:33:29 +0000 (0:00:00.038) 0:00:37.099 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 22:33:29 +0000 (0:00:00.252) 0:00:37.351 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 22:33:29 +0000 (0:00:00.025) 0:00:37.377 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 22:33:29 +0000 (0:00:00.022) 0:00:37.400 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 22:33:29 +0000 (0:00:00.022) 0:00:37.422 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 22:33:29 +0000 (0:00:00.306) 0:00:37.728 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 22:33:29 +0000 (0:00:00.034) 0:00:37.763 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 22:33:30 +0000 (0:00:00.087) 0:00:37.850 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 22:33:30 +0000 (0:00:00.037) 0:00:37.888 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 22:33:30 +0000 (0:00:00.040) 0:00:37.928 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/run_test.yml:36 Wednesday 24 July 2024 22:33:30 +0000 (0:00:00.214) 0:00:38.142 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 24 July 2024 22:33:30 +0000 (0:00:00.097) 0:00:38.240 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 22:33:30 +0000 (0:00:00.046) 0:00:38.286 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1721860402.7360168, "block_size": 4096, "blocks": 0, "ctime": 1721860402.7330167, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17632, "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": 1721860402.7330167, "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: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 24 July 2024 22:33:30 +0000 (0:00:00.186) 0:00:38.473 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 24 July 2024 22:33:30 +0000 (0:00:00.032) 0:00:38.505 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 24 July 2024 22:33:30 +0000 (0:00:00.039) 0:00:38.545 ******** ok: [sut] => { "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: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 24 July 2024 22:33:30 +0000 (0:00:00.020) 0:00:38.566 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 24 July 2024 22:33:30 +0000 (0:00:00.154) 0:00:38.720 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 24 July 2024 22:33:30 +0000 (0:00:00.046) 0:00:38.766 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022258", "end": "2024-07-24 22:33:31.108688", "rc": 1, "start": "2024-07-24 22:33:31.086430" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 24 July 2024 22:33:31 +0000 (0:00:00.169) 0:00:38.936 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 24 July 2024 22:33:31 +0000 (0:00:00.030) 0:00:38.967 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 24 July 2024 22:33:31 +0000 (0:00:00.026) 0:00:38.993 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 24 July 2024 22:33:31 +0000 (0:00:00.022) 0:00:39.016 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 24 July 2024 22:33:31 +0000 (0:00:00.024) 0:00:39.040 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 24 July 2024 22:33:31 +0000 (0:00:00.022) 0:00:39.063 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/run_test.yml:42 Wednesday 24 July 2024 22:33:31 +0000 (0:00:00.029) 0:00:39.093 ******** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/run_test.yml:47 Wednesday 24 July 2024 22:33:31 +0000 (0:00:00.021) 0:00:39.115 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/run_test.yml:66 Wednesday 24 July 2024 22:33:31 +0000 (0:00:00.077) 0:00:39.192 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 24 July 2024 22:33:31 +0000 (0:00:00.046) 0:00:39.238 ******** fatal: [sut]: 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.074580", "end": "2024-07-24 22:33:31.626072", "rc": 1, "start": "2024-07-24 22:33:31.551492" } STDOUT: Connection 'statebr' (8e2f32ec-dbb0-4fd4-96db-1730e5638abc) successfully deleted. STDERR: (process:32183): GLib-GIO-WARNING **: 22:33:31.604: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/ActiveConnection/44 but no object proxy exists (process:32183): GLib-GIO-WARNING **: 22:33:31.606: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/80 but no object proxy exists (process:32183): GLib-GIO-WARNING **: 22:33:31.606: gdbusobjectmanagerclient.c:1589: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/Devices/48 but no object proxy exists Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tests_states.yml:103 Wednesday 24 July 2024 22:33:31 +0000 (0:00:00.238) 0:00:39.477 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/run_test.yml:5 Wednesday 24 July 2024 22:33:31 +0000 (0:00:00.044) 0:00:39.522 ******** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/run_test.yml:9 Wednesday 24 July 2024 22:33:31 +0000 (0:00:00.025) 0:00:39.547 ******** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [sut] => (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: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (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: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/run_test.yml:21 Wednesday 24 July 2024 22:33:31 +0000 (0:00:00.047) 0:00:39.595 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 22:33:31 +0000 (0:00:00.069) 0:00:39.664 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 22:33:31 +0000 (0:00:00.041) 0:00:39.706 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003397", "end": "2024-07-24 22:33:32.018529", "rc": 0, "start": "2024-07-24 22:33:32.015132" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 22:33:32 +0000 (0:00:00.158) 0:00:39.864 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 22:33:32 +0000 (0:00:00.050) 0:00:39.915 ******** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/run_test.yml:24 Wednesday 24 July 2024 22:33:32 +0000 (0:00:00.043) 0:00:39.958 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 24 July 2024 22:33:32 +0000 (0:00:00.059) 0:00:40.017 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 22:33:32 +0000 (0:00:00.082) 0:00:40.100 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 22:33:32 +0000 (0:00:00.044) 0:00:40.144 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 22:33:32 +0000 (0:00:00.029) 0:00:40.173 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 22:33:32 +0000 (0:00:00.025) 0:00:40.199 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 22:33:32 +0000 (0:00:00.021) 0:00:40.220 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 22:33:33 +0000 (0:00:00.644) 0:00:40.865 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 22:33:33 +0000 (0:00:00.852) 0:00:41.718 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 22:33:33 +0000 (0:00:00.040) 0:00:41.758 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 22:33:34 +0000 (0:00:00.059) 0:00:41.818 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 22:33:34 +0000 (0:00:00.021) 0:00:41.839 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 22:33:34 +0000 (0:00:00.022) 0:00:41.862 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 22:33:34 +0000 (0:00:00.022) 0:00:41.884 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 22:33:34 +0000 (0:00:00.025) 0:00:41.909 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 22:33:34 +0000 (0:00:00.027) 0:00:41.937 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 22:33:34 +0000 (0:00:00.044) 0:00:41.982 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 22:33:34 +0000 (0:00:00.022) 0:00:42.005 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 22:33:34 +0000 (0:00:00.022) 0:00:42.027 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 22:33:34 +0000 (0:00:00.025) 0:00:42.053 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 22:33:34 +0000 (0:00:00.222) 0:00:42.275 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 22:33:34 +0000 (0:00:00.024) 0:00:42.300 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 22:33:34 +0000 (0:00:00.019) 0:00:42.320 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 22:33:34 +0000 (0:00:00.019) 0:00:42.340 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 46fc3287-67ed-4cbe-8d4f-3b5b978a0543 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 22:33:34 +0000 (0:00:00.314) 0:00:42.655 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 22:33:34 +0000 (0:00:00.022) 0:00:42.677 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 46fc3287-67ed-4cbe-8d4f-3b5b978a0543" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 22:33:34 +0000 (0:00:00.025) 0:00:42.703 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 46fc3287-67ed-4cbe-8d4f-3b5b978a0543\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 46fc3287-67ed-4cbe-8d4f-3b5b978a0543" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 22:33:34 +0000 (0:00:00.057) 0:00:42.760 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 22:33:34 +0000 (0:00:00.022) 0:00:42.783 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 24 July 2024 22:33:35 +0000 (0:00:00.135) 0:00:42.918 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 46fc3287-67ed-4cbe-8d4f-3b5b978a0543\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 46fc3287-67ed-4cbe-8d4f-3b5b978a0543" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 24 July 2024 22:33:35 +0000 (0:00:00.024) 0:00:42.943 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 22:33:35 +0000 (0:00:00.047) 0:00:42.991 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 22:33:35 +0000 (0:00:00.061) 0:00:43.052 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 22:33:35 +0000 (0:00:00.030) 0:00:43.083 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 22:33:35 +0000 (0:00:00.023) 0:00:43.107 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 22:33:35 +0000 (0:00:00.037) 0:00:43.144 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 22:33:36 +0000 (0:00:00.679) 0:00:43.824 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 22:33:36 +0000 (0:00:00.897) 0:00:44.721 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 22:33:36 +0000 (0:00:00.029) 0:00:44.751 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 22:33:36 +0000 (0:00:00.026) 0:00:44.778 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 22:33:37 +0000 (0:00:00.026) 0:00:44.804 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 22:33:37 +0000 (0:00:00.026) 0:00:44.831 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 22:33:37 +0000 (0:00:00.024) 0:00:44.855 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 22:33:37 +0000 (0:00:00.036) 0:00:44.892 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 22:33:37 +0000 (0:00:00.033) 0:00:44.926 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 22:33:37 +0000 (0:00:00.058) 0:00:44.984 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 22:33:37 +0000 (0:00:00.028) 0:00:45.013 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 22:33:37 +0000 (0:00:00.038) 0:00:45.052 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 22:33:37 +0000 (0:00:00.029) 0:00:45.081 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 22:33:37 +0000 (0:00:00.225) 0:00:45.307 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 22:33:37 +0000 (0:00:00.027) 0:00:45.334 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 22:33:37 +0000 (0:00:00.022) 0:00:45.356 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 22:33:37 +0000 (0:00:00.072) 0:00:45.429 ******** ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 46fc3287-67ed-4cbe-8d4f-3b5b978a0543 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 22:33:37 +0000 (0:00:00.275) 0:00:45.705 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 22:33:37 +0000 (0:00:00.022) 0:00:45.727 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 46fc3287-67ed-4cbe-8d4f-3b5b978a0543 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 22:33:37 +0000 (0:00:00.029) 0:00:45.757 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 46fc3287-67ed-4cbe-8d4f-3b5b978a0543 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 46fc3287-67ed-4cbe-8d4f-3b5b978a0543 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 22:33:37 +0000 (0:00:00.031) 0:00:45.788 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 22:33:38 +0000 (0:00:00.023) 0:00:45.812 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 24 July 2024 22:33:38 +0000 (0:00:00.133) 0:00:45.945 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 22:33:38 +0000 (0:00:00.037) 0:00:45.983 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 22:33:38 +0000 (0:00:00.042) 0:00:46.025 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 22:33:38 +0000 (0:00:00.033) 0:00:46.059 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 22:33:38 +0000 (0:00:00.023) 0:00:46.082 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 22:33:38 +0000 (0:00:00.037) 0:00:46.120 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 22:33:38 +0000 (0:00:00.659) 0:00:46.780 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 22:33:39 +0000 (0:00:00.979) 0:00:47.759 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 22:33:39 +0000 (0:00:00.029) 0:00:47.788 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 22:33:40 +0000 (0:00:00.026) 0:00:47.815 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 22:33:40 +0000 (0:00:00.024) 0:00:47.839 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 22:33:40 +0000 (0:00:00.022) 0:00:47.862 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 22:33:40 +0000 (0:00:00.025) 0:00:47.887 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 22:33:40 +0000 (0:00:00.029) 0:00:47.916 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 22:33:40 +0000 (0:00:00.027) 0:00:47.944 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 22:33:40 +0000 (0:00:00.061) 0:00:48.006 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 22:33:40 +0000 (0:00:00.035) 0:00:48.041 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 22:33:40 +0000 (0:00:00.023) 0:00:48.064 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 22:33:40 +0000 (0:00:00.028) 0:00:48.092 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 22:33:40 +0000 (0:00:00.275) 0:00:48.368 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 22:33:40 +0000 (0:00:00.034) 0:00:48.402 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 22:33:40 +0000 (0:00:00.029) 0:00:48.431 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 22:33:40 +0000 (0:00:00.034) 0:00:48.466 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 22:33:40 +0000 (0:00:00.308) 0:00:48.774 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 22:33:41 +0000 (0:00:00.022) 0:00:48.796 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 22:33:41 +0000 (0:00:00.023) 0:00:48.820 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 22:33:41 +0000 (0:00:00.041) 0:00:48.861 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 22:33:41 +0000 (0:00:00.034) 0:00:48.895 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/run_test.yml:30 Wednesday 24 July 2024 22:33:41 +0000 (0:00:00.126) 0:00:49.021 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 24 July 2024 22:33:41 +0000 (0:00:00.039) 0:00:49.061 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 22:33:41 +0000 (0:00:00.050) 0:00:49.111 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 22:33:41 +0000 (0:00:00.044) 0:00:49.155 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 22:33:41 +0000 (0:00:00.038) 0:00:49.194 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 22:33:41 +0000 (0:00:00.076) 0:00:49.271 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 22:33:41 +0000 (0:00:00.036) 0:00:49.308 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 22:33:42 +0000 (0:00:00.678) 0:00:49.986 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 22:33:43 +0000 (0:00:00.854) 0:00:50.840 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 22:33:43 +0000 (0:00:00.069) 0:00:50.910 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 22:33:43 +0000 (0:00:00.056) 0:00:50.966 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 22:33:43 +0000 (0:00:00.046) 0:00:51.012 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 22:33:43 +0000 (0:00:00.057) 0:00:51.069 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 22:33:43 +0000 (0:00:00.044) 0:00:51.113 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 22:33:43 +0000 (0:00:00.041) 0:00:51.155 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 22:33:43 +0000 (0:00:00.051) 0:00:51.207 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 22:33:43 +0000 (0:00:00.073) 0:00:51.280 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 22:33:43 +0000 (0:00:00.067) 0:00:51.348 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 22:33:43 +0000 (0:00:00.089) 0:00:51.438 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 22:33:43 +0000 (0:00:00.093) 0:00:51.531 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 22:33:44 +0000 (0:00:00.274) 0:00:51.806 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 22:33:44 +0000 (0:00:00.032) 0:00:51.838 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 22:33:44 +0000 (0:00:00.034) 0:00:51.873 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 22:33:44 +0000 (0:00:00.029) 0:00:51.903 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 22:33:44 +0000 (0:00:00.379) 0:00:52.282 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 22:33:44 +0000 (0:00:00.026) 0:00:52.309 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 22:33:44 +0000 (0:00:00.023) 0:00:52.333 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 22:33:44 +0000 (0:00:00.023) 0:00:52.356 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 22:33:44 +0000 (0:00:00.020) 0:00:52.377 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/run_test.yml:36 Wednesday 24 July 2024 22:33:44 +0000 (0:00:00.127) 0:00:52.505 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 24 July 2024 22:33:44 +0000 (0:00:00.039) 0:00:52.544 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 24 July 2024 22:33:44 +0000 (0:00:00.036) 0:00:52.581 ******** ok: [sut] => { "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: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 24 July 2024 22:33:44 +0000 (0:00:00.057) 0:00:52.639 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 24 July 2024 22:33:44 +0000 (0:00:00.145) 0:00:52.784 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 24 July 2024 22:33:45 +0000 (0:00:00.021) 0:00:52.806 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020818", "end": "2024-07-24 22:33:45.138235", "rc": 1, "start": "2024-07-24 22:33:45.117417" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 24 July 2024 22:33:45 +0000 (0:00:00.161) 0:00:52.967 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 24 July 2024 22:33:45 +0000 (0:00:00.038) 0:00:53.006 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 24 July 2024 22:33:45 +0000 (0:00:00.023) 0:00:53.029 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 24 July 2024 22:33:45 +0000 (0:00:00.037) 0:00:53.066 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 24 July 2024 22:33:45 +0000 (0:00:00.040) 0:00:53.107 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 24 July 2024 22:33:45 +0000 (0:00:00.027) 0:00:53.134 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/run_test.yml:42 Wednesday 24 July 2024 22:33:45 +0000 (0:00:00.026) 0:00:53.161 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 24 July 2024 22:33:45 +0000 (0:00:00.111) 0:00:53.273 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 22:33:45 +0000 (0:00:00.048) 0:00:53.321 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 24 July 2024 22:33:45 +0000 (0:00:00.145) 0:00:53.467 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/run_test.yml:47 Wednesday 24 July 2024 22:33:45 +0000 (0:00:00.028) 0:00:53.495 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/run_test.yml:66 Wednesday 24 July 2024 22:33:45 +0000 (0:00:00.024) 0:00:53.519 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 24 July 2024 22:33:45 +0000 (0:00:00.088) 0:00:53.607 ******** fatal: [sut]: 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.039380", "end": "2024-07-24 22:33:45.967876", "rc": 1, "start": "2024-07-24 22:33:45.928496" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tests_states.yml:126 Wednesday 24 July 2024 22:33:46 +0000 (0:00:00.188) 0:00:53.796 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/run_test.yml:5 Wednesday 24 July 2024 22:33:46 +0000 (0:00:00.045) 0:00:53.841 ******** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/run_test.yml:9 Wednesday 24 July 2024 22:33:46 +0000 (0:00:00.031) 0:00:53.873 ******** ok: [sut] => (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: [sut] => (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: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (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: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/run_test.yml:21 Wednesday 24 July 2024 22:33:46 +0000 (0:00:00.048) 0:00:53.922 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 24 July 2024 22:33:46 +0000 (0:00:00.041) 0:00:53.963 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 24 July 2024 22:33:46 +0000 (0:00:00.046) 0:00:54.010 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004523", "end": "2024-07-24 22:33:47.322828", "rc": 0, "start": "2024-07-24 22:33:46.318305" } STDOUT: bond0 bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 24 July 2024 22:33:47 +0000 (0:00:01.135) 0:00:55.146 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 24 July 2024 22:33:47 +0000 (0:00:00.025) 0:00:55.171 ******** ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/run_test.yml:24 Wednesday 24 July 2024 22:33:47 +0000 (0:00:00.029) 0:00:55.201 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 24 July 2024 22:33:47 +0000 (0:00:00.123) 0:00:55.325 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 22:33:47 +0000 (0:00:00.076) 0:00:55.401 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 22:33:47 +0000 (0:00:00.085) 0:00:55.487 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 22:33:47 +0000 (0:00:00.034) 0:00:55.521 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 22:33:47 +0000 (0:00:00.034) 0:00:55.556 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 22:33:47 +0000 (0:00:00.042) 0:00:55.598 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 22:33:48 +0000 (0:00:00.683) 0:00:56.282 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 22:33:49 +0000 (0:00:00.852) 0:00:57.135 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 22:33:49 +0000 (0:00:00.058) 0:00:57.193 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 22:33:49 +0000 (0:00:00.040) 0:00:57.233 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 22:33:49 +0000 (0:00:00.044) 0:00:57.277 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 22:33:49 +0000 (0:00:00.038) 0:00:57.316 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 22:33:49 +0000 (0:00:00.021) 0:00:57.337 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 22:33:49 +0000 (0:00:00.026) 0:00:57.364 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 22:33:49 +0000 (0:00:00.027) 0:00:57.392 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 22:33:49 +0000 (0:00:00.056) 0:00:57.448 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 22:33:49 +0000 (0:00:00.039) 0:00:57.488 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 22:33:49 +0000 (0:00:00.080) 0:00:57.568 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 22:33:49 +0000 (0:00:00.033) 0:00:57.601 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 22:33:50 +0000 (0:00:00.254) 0:00:57.856 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 22:33:50 +0000 (0:00:00.028) 0:00:57.884 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 22:33:50 +0000 (0:00:00.024) 0:00:57.909 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 22:33:50 +0000 (0:00:00.027) 0:00:57.936 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e7c3557c-d022-4d81-8c29-45131a691461 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 22:33:50 +0000 (0:00:00.309) 0:00:58.246 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 22:33:50 +0000 (0:00:00.019) 0:00:58.266 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e7c3557c-d022-4d81-8c29-45131a691461" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 22:33:50 +0000 (0:00:00.055) 0:00:58.322 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e7c3557c-d022-4d81-8c29-45131a691461\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e7c3557c-d022-4d81-8c29-45131a691461" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 22:33:50 +0000 (0:00:00.022) 0:00:58.345 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 22:33:50 +0000 (0:00:00.020) 0:00:58.365 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 24 July 2024 22:33:50 +0000 (0:00:00.127) 0:00:58.493 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e7c3557c-d022-4d81-8c29-45131a691461\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e7c3557c-d022-4d81-8c29-45131a691461" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 24 July 2024 22:33:50 +0000 (0:00:00.023) 0:00:58.517 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 22:33:50 +0000 (0:00:00.034) 0:00:58.552 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 22:33:50 +0000 (0:00:00.039) 0:00:58.591 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 22:33:50 +0000 (0:00:00.025) 0:00:58.616 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 22:33:50 +0000 (0:00:00.021) 0:00:58.638 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 22:33:50 +0000 (0:00:00.021) 0:00:58.660 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 22:33:51 +0000 (0:00:00.661) 0:00:59.322 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 22:33:52 +0000 (0:00:00.872) 0:01:00.194 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 22:33:52 +0000 (0:00:00.022) 0:01:00.217 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 22:33:52 +0000 (0:00:00.019) 0:01:00.237 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 22:33:52 +0000 (0:00:00.021) 0:01:00.259 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 22:33:52 +0000 (0:00:00.022) 0:01:00.281 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 22:33:52 +0000 (0:00:00.023) 0:01:00.304 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 22:33:52 +0000 (0:00:00.028) 0:01:00.332 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 22:33:52 +0000 (0:00:00.027) 0:01:00.360 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 22:33:52 +0000 (0:00:00.051) 0:01:00.411 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 22:33:52 +0000 (0:00:00.028) 0:01:00.439 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 22:33:52 +0000 (0:00:00.033) 0:01:00.473 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 22:33:52 +0000 (0:00:00.026) 0:01:00.499 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 22:33:52 +0000 (0:00:00.249) 0:01:00.749 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 22:33:52 +0000 (0:00:00.025) 0:01:00.775 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 22:33:53 +0000 (0:00:00.066) 0:01:00.841 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 22:33:53 +0000 (0:00:00.029) 0:01:00.871 ******** ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e7c3557c-d022-4d81-8c29-45131a691461 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 22:33:53 +0000 (0:00:00.277) 0:01:01.149 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 22:33:53 +0000 (0:00:00.024) 0:01:01.173 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e7c3557c-d022-4d81-8c29-45131a691461 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 22:33:53 +0000 (0:00:00.040) 0:01:01.213 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e7c3557c-d022-4d81-8c29-45131a691461 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e7c3557c-d022-4d81-8c29-45131a691461 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 22:33:53 +0000 (0:00:00.023) 0:01:01.236 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 22:33:53 +0000 (0:00:00.035) 0:01:01.272 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 24 July 2024 22:33:53 +0000 (0:00:00.137) 0:01:01.409 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 22:33:53 +0000 (0:00:00.044) 0:01:01.454 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 22:33:53 +0000 (0:00:00.052) 0:01:01.506 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 22:33:53 +0000 (0:00:00.027) 0:01:01.534 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 22:33:53 +0000 (0:00:00.023) 0:01:01.557 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 22:33:53 +0000 (0:00:00.021) 0:01:01.578 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 22:33:54 +0000 (0:00:00.675) 0:01:02.254 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 22:33:55 +0000 (0:00:00.843) 0:01:03.097 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 22:33:55 +0000 (0:00:00.030) 0:01:03.128 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 22:33:55 +0000 (0:00:00.030) 0:01:03.159 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 22:33:55 +0000 (0:00:00.024) 0:01:03.183 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 22:33:55 +0000 (0:00:00.021) 0:01:03.205 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 22:33:55 +0000 (0:00:00.023) 0:01:03.229 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 22:33:55 +0000 (0:00:00.025) 0:01:03.255 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 22:33:55 +0000 (0:00:00.036) 0:01:03.292 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 22:33:55 +0000 (0:00:00.064) 0:01:03.356 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 22:33:55 +0000 (0:00:00.037) 0:01:03.394 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 22:33:55 +0000 (0:00:00.024) 0:01:03.418 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 22:33:55 +0000 (0:00:00.036) 0:01:03.455 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 22:33:55 +0000 (0:00:00.230) 0:01:03.685 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 22:33:55 +0000 (0:00:00.029) 0:01:03.715 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 22:33:55 +0000 (0:00:00.036) 0:01:03.751 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 22:33:55 +0000 (0:00:00.022) 0:01:03.774 ******** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 22:33:56 +0000 (0:00:00.397) 0:01:04.172 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 22:33:56 +0000 (0:00:00.030) 0:01:04.202 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 22:33:56 +0000 (0:00:00.024) 0:01:04.227 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 22:33:56 +0000 (0:00:00.022) 0:01:04.249 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 22:33:56 +0000 (0:00:00.024) 0:01:04.274 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/run_test.yml:30 Wednesday 24 July 2024 22:33:56 +0000 (0:00:00.126) 0:01:04.401 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 24 July 2024 22:33:56 +0000 (0:00:00.041) 0:01:04.443 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 24 July 2024 22:33:56 +0000 (0:00:00.035) 0:01:04.479 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 24 July 2024 22:33:56 +0000 (0:00:00.040) 0:01:04.519 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 24 July 2024 22:33:56 +0000 (0:00:00.063) 0:01:04.582 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 24 July 2024 22:33:56 +0000 (0:00:00.027) 0:01:04.610 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 24 July 2024 22:33:56 +0000 (0:00:00.022) 0:01:04.632 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 24 July 2024 22:33:57 +0000 (0:00:00.671) 0:01:05.304 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 24 July 2024 22:33:58 +0000 (0:00:00.857) 0:01:06.161 ******** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 24 July 2024 22:33:58 +0000 (0:00:00.034) 0:01:06.196 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 24 July 2024 22:33:58 +0000 (0:00:00.029) 0:01:06.226 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:28 Wednesday 24 July 2024 22:33:58 +0000 (0:00:00.023) 0:01:06.249 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 24 July 2024 22:33:58 +0000 (0:00:00.022) 0:01:06.272 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [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: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 24 July 2024 22:33:58 +0000 (0:00:00.021) 0:01:06.294 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:72 Wednesday 24 July 2024 22:33:58 +0000 (0:00:00.025) 0:01:06.319 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:92 Wednesday 24 July 2024 22:33:58 +0000 (0:00:00.064) 0:01:06.383 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 24 July 2024 22:33:58 +0000 (0:00:00.046) 0:01:06.430 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:120 Wednesday 24 July 2024 22:33:58 +0000 (0:00:00.020) 0:01:06.451 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 24 July 2024 22:33:58 +0000 (0:00:00.021) 0:01:06.472 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:151 Wednesday 24 July 2024 22:33:58 +0000 (0:00:00.023) 0:01:06.496 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:162 Wednesday 24 July 2024 22:33:58 +0000 (0:00:00.223) 0:01:06.719 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:171 Wednesday 24 July 2024 22:33:58 +0000 (0:00:00.025) 0:01:06.745 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:179 Wednesday 24 July 2024 22:33:58 +0000 (0:00:00.020) 0:01:06.766 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:188 Wednesday 24 July 2024 22:33:58 +0000 (0:00:00.023) 0:01:06.789 ******** ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:200 Wednesday 24 July 2024 22:33:59 +0000 (0:00:00.287) 0:01:07.076 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:206 Wednesday 24 July 2024 22:33:59 +0000 (0:00:00.023) 0:01:07.100 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:210 Wednesday 24 July 2024 22:33:59 +0000 (0:00:00.022) 0:01:07.122 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:215 Wednesday 24 July 2024 22:33:59 +0000 (0:00:00.024) 0:01:07.146 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:221 Wednesday 24 July 2024 22:33:59 +0000 (0:00:00.021) 0:01:07.168 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/run_test.yml:36 Wednesday 24 July 2024 22:33:59 +0000 (0:00:00.147) 0:01:07.316 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 24 July 2024 22:33:59 +0000 (0:00:00.074) 0:01:07.390 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 24 July 2024 22:33:59 +0000 (0:00:00.040) 0:01:07.431 ******** ok: [sut] => { "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: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 24 July 2024 22:33:59 +0000 (0:00:00.023) 0:01:07.454 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 24 July 2024 22:33:59 +0000 (0:00:00.133) 0:01:07.588 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 24 July 2024 22:33:59 +0000 (0:00:00.024) 0:01:07.612 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017642", "end": "2024-07-24 22:33:59.935554", "rc": 1, "start": "2024-07-24 22:33:59.917912" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 24 July 2024 22:33:59 +0000 (0:00:00.161) 0:01:07.774 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 24 July 2024 22:34:00 +0000 (0:00:00.034) 0:01:07.808 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 24 July 2024 22:34:00 +0000 (0:00:00.030) 0:01:07.839 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 24 July 2024 22:34:00 +0000 (0:00:00.023) 0:01:07.862 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 24 July 2024 22:34:00 +0000 (0:00:00.022) 0:01:07.885 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 24 July 2024 22:34:00 +0000 (0:00:00.022) 0:01:07.908 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 24 July 2024 22:34:00 +0000 (0:00:00.052) 0:01:07.960 ******** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.619967", "end": "2024-07-24 22:34:00.905861", "rc": 0, "start": "2024-07-24 22:34:00.285894" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 24 July 2024 22:34:00 +0000 (0:00:00.786) 0:01:08.746 ******** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 24 July 2024 22:34:00 +0000 (0:00:00.034) 0:01:08.780 ******** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/run_test.yml:42 Wednesday 24 July 2024 22:34:01 +0000 (0:00:00.023) 0:01:08.804 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 24 July 2024 22:34:01 +0000 (0:00:00.088) 0:01:08.892 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 24 July 2024 22:34:01 +0000 (0:00:00.040) 0:01:08.933 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 24 July 2024 22:34:01 +0000 (0:00:00.180) 0:01:09.113 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/run_test.yml:47 Wednesday 24 July 2024 22:34:01 +0000 (0:00:00.027) 0:01:09.141 ******** ok: [sut] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/run_test.yml:66 Wednesday 24 July 2024 22:34:01 +0000 (0:00:00.036) 0:01:09.177 ******** included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/cleanup_profile+device.yml for sut included: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 24 July 2024 22:34:01 +0000 (0:00:00.047) 0:01:09.225 ******** fatal: [sut]: 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.041855", "end": "2024-07-24 22:34:01.578414", "rc": 1, "start": "2024-07-24 22:34:01.536559" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/check_network_dns.yml:6 Wednesday 24 July 2024 22:34:01 +0000 (0:00:00.173) 0:01:09.398 ******** ok: [sut] => { "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.006709", "end": "2024-07-24 22:34:01.729120", "rc": 0, "start": "2024-07-24 22:34:01.722411" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 02:8c:cf:0b:b6:9b brd ff:ff:ff:ff:ff:ff inet 10.31.44.91/22 brd 10.31.47.255 scope global noprefixroute dynamic eth0 valid_lft 3052sec preferred_lft 3052sec inet6 fe80::8c:cfff:fe0b:b69b/64 scope link valid_lft forever preferred_lft forever 17: bond0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether c6:5a:93:8c:57:75 brd ff:ff:ff:ff:ff:ff IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.44.91 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 testing-farm nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/check_network_dns.yml:24 Wednesday 24 July 2024 22:34:01 +0000 (0:00:00.153) 0:01:09.552 ******** ok: [sut] => { "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.598485", "end": "2024-07-24 22:34:02.465515", "rc": 0, "start": "2024-07-24 22:34:01.867030" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 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 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 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 693 0 --:--:-- --:--:-- --:--:-- 694 % 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 2227 0 --:--:-- --:--:-- --:--:-- 2238 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=325 changed=10 unreachable=0 failed=0 skipped=306 rescued=0 ignored=11 Wednesday 24 July 2024 22:34:02 +0000 (0:00:00.721) 0:01:10.273 ******** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 1.90s /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:188 linux-system-roles.network : Enable and start NetworkManager ------------ 1.55s /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:151 linux-system-roles.network : Configure networking connection profiles --- 1.21s /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:188 linux-system-roles.network : Check which packages are installed --------- 1.16s /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Gather current interface info ------------------------------------------- 1.14s /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.13s /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Configure networking connection profiles --- 1.06s /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:188 linux-system-roles.network : Check which packages are installed --------- 1.01s /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Enable and start NetworkManager ------------ 1.01s /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:151 linux-system-roles.network : Check which packages are installed --------- 0.98s /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Gathering Facts --------------------------------------------------------- 0.91s /WORKDIR/git-fix-templating-warnings48igy6dc/tests/tests_states_nm.yml:6 ------ linux-system-roles.network : Check which packages are installed --------- 0.90s /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.88s /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.87s /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.87s /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.87s /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.87s /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.86s /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.86s /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.85s /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [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. ---^---^---^---^---^---