# 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_initscripts.yml ***************************************** 2 plays in /WORKDIR/git-fix-templating-warnings48igy6dc/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/tests_states_initscripts.yml:5 Wednesday 24 July 2024 22:32:47 +0000 (0:00:00.012) 0:00:00.012 ******** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/tests_states_initscripts.yml:8 Wednesday 24 July 2024 22:32:48 +0000 (0:00:00.751) 0:00:00.763 ******** 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:48 +0000 (0:00:00.066) 0:00:00.830 ******** 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:49 +0000 (0:00:00.238) 0:00:01.068 ******** 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:49 +0000 (0:00:00.250) 0:00:01.319 ******** 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:49 +0000 (0:00:00.049) 0:00:01.368 ******** 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:49 +0000 (0:00:00.082) 0:00:01.451 ******** 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:49 +0000 (0:00:00.043) 0:00:01.494 ******** 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:49 +0000 (0:00:00.315) 0:00:01.810 ******** 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:50 +0000 (0:00:00.480) 0:00:02.290 ******** ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.162591", "end": "2024-07-24 22:32:50.516516", "rc": 0, "start": "2024-07-24 22:32:50.353925" } 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:50 +0000 (0:00:00.308) 0:00:02.598 ******** 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:50 +0000 (0:00:00.010) 0:00:02.609 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/tests_states_initscripts.yml:10 Wednesday 24 July 2024 22:32:50 +0000 (0:00:00.009) 0:00:02.618 ******** ok: [sut] => { "ansible_facts": { "network_provider": "initscripts" }, "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:50 +0000 (0:00:00.037) 0:00:02.656 ******** 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:50 +0000 (0:00:00.374) 0:00:03.031 ******** 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:51 +0000 (0:00:00.030) 0:00:03.062 ******** 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:51 +0000 (0:00:00.018) 0:00:03.080 ******** 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:51 +0000 (0:00:00.010) 0:00:03.091 ******** 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": false, "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:51 +0000 (0:00:00.066) 0:00:03.157 ******** 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:51 +0000 (0:00:00.019) 0:00:03.177 ******** 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:51 +0000 (0:00:00.056) 0:00:03.233 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.003882", "end": "2024-07-24 22:32:52.298094", "rc": 0, "start": "2024-07-24 22:32:51.294212" } STDOUT: 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:52 +0000 (0:00:01.210) 0:00:04.443 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "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:52 +0000 (0:00:00.045) 0:00:04.489 ******** ok: [sut] => {} MSG: current_interfaces: ['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:52 +0000 (0:00:00.059) 0:00:04.548 ******** 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:52 +0000 (0:00:00.068) 0:00:04.617 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.010225", "end": "2024-07-24 22:32:52.735645", "rc": 1, "start": "2024-07-24 22:32:52.725420" } 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:52 +0000 (0:00:00.191) 0:00:04.809 ******** 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:52 +0000 (0:00:00.032) 0:00:04.842 ******** 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:52 +0000 (0:00:00.147) 0:00:04.989 ******** 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:52 +0000 (0:00:00.035) 0:00:05.025 ******** 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:53 +0000 (0:00:00.058) 0:00:05.084 ******** 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:53 +0000 (0:00:00.226) 0:00:05.310 ******** 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:53 +0000 (0:00:00.139) 0:00:05.450 ******** 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:53 +0000 (0:00:00.026) 0:00:05.477 ******** 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:53 +0000 (0:00:00.102) 0:00:05.579 ******** 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:53 +0000 (0:00:00.068) 0:00:05.648 ******** 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:54 +0000 (0:00:00.842) 0:00:06.490 ******** 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:55 +0000 (0:00:01.077) 0:00:07.568 ******** ok: [sut] => {} MSG: Using network provider: initscripts 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:55 +0000 (0:00:00.038) 0:00:07.606 ******** 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:55 +0000 (0:00:00.042) 0:00:07.649 ******** 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:55 +0000 (0:00:00.023) 0:00:07.673 ******** 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:55 +0000 (0:00:00.022) 0:00:07.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 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:55 +0000 (0:00:00.029) 0:00:07.725 ******** 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:55 +0000 (0:00:00.065) 0:00:07.790 ******** 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:55 +0000 (0:00:00.109) 0:00:07.899 ******** 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:32:55 +0000 (0:00:00.054) 0:00:07.954 ******** 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:32:55 +0000 (0:00:00.022) 0:00:07.976 ******** 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:32:55 +0000 (0:00:00.024) 0:00:08.001 ******** 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:32:55 +0000 (0:00:00.023) 0:00:08.024 ******** 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 : 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:32:55 +0000 (0:00:00.025) 0:00:08.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:32:56 +0000 (0:00:00.020) 0:00:08.070 ******** 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 : 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:32:56 +0000 (0:00:00.376) 0:00:08.447 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18575uqfe8jqk/tmpsb02ju5f" } 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:32:56 +0000 (0:00:00.297) 0:00:08.744 ******** 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' 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:32:57 +0000 (0:00:00.345) 0:00:09.090 ******** 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:32:57 +0000 (0:00:00.023) 0:00:09.113 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } 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:32:57 +0000 (0:00:00.023) 0:00:09.137 ******** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [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:32:57 +0000 (0:00:00.054) 0:00:09.191 ******** 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:32:57 +0000 (0:00:00.032) 0:00:09.223 ******** 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:32:57 +0000 (0:00:00.250) 0:00:09.474 ******** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/run_test.yml:36 Wednesday 24 July 2024 22:32:57 +0000 (0:00:00.066) 0:00:09.540 ******** 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:32:57 +0000 (0:00:00.060) 0:00:09.601 ******** 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:32:57 +0000 (0:00:00.058) 0:00:09.660 ******** 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:32:57 +0000 (0:00:00.044) 0:00:09.704 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1721860377.0008445, "block_size": 4096, "blocks": 8, "ctime": 1721860377.0008445, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22533, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721860377.0008445, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 24 July 2024 22:32:57 +0000 (0:00:00.137) 0:00:09.842 ******** 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:32:57 +0000 (0:00:00.030) 0:00:09.873 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021729", "end": "2024-07-24 22:32:57.951286", "rc": 1, "start": "2024-07-24 22:32:57.929557" } 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:32:57 +0000 (0:00:00.157) 0:00:10.031 ******** 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:32:58 +0000 (0:00:00.029) 0:00:10.060 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002970", "end": "2024-07-24 22:32:58.148711", "rc": 0, "start": "2024-07-24 22:32:58.145741" } STDOUT: # Ansible managed 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:32:58 +0000 (0:00:00.184) 0:00:10.245 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": 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:32:58 +0000 (0:00:00.031) 0:00:10.276 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003090", "end": "2024-07-24 22:32:58.343189", "rc": 0, "start": "2024-07-24 22:32:58.340099" } STDOUT: # system_role:network 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:32:58 +0000 (0:00:00.152) 0:00:10.429 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": 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:32:58 +0000 (0:00:00.070) 0:00:10.499 ******** 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:32:58 +0000 (0:00:00.048) 0:00:10.548 ******** 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:32:58 +0000 (0:00:00.041) 0:00:10.590 ******** 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:32:58 +0000 (0:00:00.040) 0:00:10.631 ******** skipping: [sut] => (item={'what': 'tasks/assert_device_present.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_present.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/run_test.yml:47 Wednesday 24 July 2024 22:32:58 +0000 (0:00:00.086) 0:00:10.718 ******** 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:32:58 +0000 (0:00:00.022) 0:00:10.740 ******** 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:32:58 +0000 (0:00:00.039) 0:00:10.779 ******** 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.036965", "end": "2024-07-24 22:32:58.863600", "rc": 1, "start": "2024-07-24 22:32:58.826635" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tests_states.yml:45 Wednesday 24 July 2024 22:32:58 +0000 (0:00:00.179) 0:00:10.959 ******** 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:32:58 +0000 (0:00:00.061) 0:00:11.021 ******** 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:32:58 +0000 (0:00:00.027) 0:00:11.049 ******** 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:32:59 +0000 (0:00:00.050) 0:00:11.099 ******** 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:59 +0000 (0:00:00.036) 0:00:11.136 ******** 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:59 +0000 (0:00:00.036) 0:00:11.172 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.003975", "end": "2024-07-24 22:33:00.242080", "rc": 0, "start": "2024-07-24 22:32:59.238105" } STDOUT: 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:00 +0000 (0:00:01.165) 0:00:12.338 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "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:00 +0000 (0:00:00.072) 0:00:12.410 ******** ok: [sut] => {} MSG: current_interfaces: ['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:00 +0000 (0:00:00.044) 0:00:12.454 ******** 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:00 +0000 (0:00:00.087) 0:00:12.542 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006504", "end": "2024-07-24 22:33:00.610111", "rc": 1, "start": "2024-07-24 22:33:00.603607" } 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:00 +0000 (0:00:00.160) 0:00:12.702 ******** 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:00 +0000 (0:00:00.073) 0:00:12.775 ******** 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:00 +0000 (0:00:00.259) 0:00:13.035 ******** 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:01 +0000 (0:00:00.106) 0:00:13.142 ******** 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:01 +0000 (0:00:00.058) 0:00:13.200 ******** 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:01 +0000 (0:00:00.056) 0:00:13.257 ******** 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:01 +0000 (0:00:00.050) 0:00:13.307 ******** 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:01 +0000 (0:00:00.040) 0:00:13.347 ******** 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:01 +0000 (0:00:00.039) 0:00:13.387 ******** 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:01 +0000 (0:00:00.044) 0:00:13.432 ******** 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:02 +0000 (0:00:00.741) 0:00:14.173 ******** 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:03 +0000 (0:00:00.986) 0:00:15.160 ******** ok: [sut] => {} MSG: Using network provider: initscripts 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:03 +0000 (0:00:00.111) 0:00:15.272 ******** 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:03 +0000 (0:00:00.141) 0:00:15.413 ******** 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:03 +0000 (0:00:00.079) 0:00:15.493 ******** 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:03 +0000 (0:00:00.049) 0:00:15.543 ******** 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:03 +0000 (0:00:00.071) 0:00:15.614 ******** 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:03 +0000 (0:00:00.093) 0:00:15.708 ******** 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:03 +0000 (0:00:00.116) 0:00:15.824 ******** 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:03 +0000 (0:00:00.101) 0:00:15.925 ******** 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:04 +0000 (0:00:00.129) 0:00:16.055 ******** 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:04 +0000 (0:00:00.072) 0:00:16.127 ******** 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:04 +0000 (0:00:00.095) 0:00:16.222 ******** 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 : 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:04 +0000 (0:00:00.051) 0:00:16.274 ******** 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:04 +0000 (0:00:00.042) 0:00:16.316 ******** 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 : 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:04 +0000 (0:00:00.556) 0:00:16.873 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18575uqfe8jqk/tmpd7uut_cr" } 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:05 +0000 (0:00:00.483) 0:00:17.356 ******** 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' 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:05 +0000 (0:00:00.363) 0:00:17.719 ******** 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:05 +0000 (0:00:00.066) 0:00:17.786 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } 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:05 +0000 (0:00:00.026) 0:00:17.812 ******** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [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:05 +0000 (0:00:00.147) 0:00:17.960 ******** 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:06 +0000 (0:00:00.107) 0:00:18.068 ******** 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:06 +0000 (0:00:00.236) 0:00:18.304 ******** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/run_test.yml:36 Wednesday 24 July 2024 22:33:06 +0000 (0:00:00.049) 0:00:18.354 ******** 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:06 +0000 (0:00:00.105) 0:00:18.460 ******** 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:06 +0000 (0:00:00.072) 0:00:18.532 ******** 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:06 +0000 (0:00:00.160) 0:00:18.693 ******** 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:06 +0000 (0:00:00.091) 0:00:18.784 ******** 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:06 +0000 (0:00:00.071) 0:00:18.856 ******** 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:06 +0000 (0:00:00.060) 0:00:18.916 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1721860385.5879133, "block_size": 4096, "blocks": 8, "ctime": 1721860385.5879133, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22533, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721860385.5879133, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 126, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 24 July 2024 22:33:07 +0000 (0:00:00.346) 0:00:19.262 ******** 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:07 +0000 (0:00:00.064) 0:00:19.326 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019843", "end": "2024-07-24 22:33:07.440292", "rc": 1, "start": "2024-07-24 22:33:07.420449" } 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:07 +0000 (0:00:00.212) 0:00:19.538 ******** 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:07 +0000 (0:00:00.040) 0:00:19.579 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002969", "end": "2024-07-24 22:33:07.638248", "rc": 0, "start": "2024-07-24 22:33:07.635279" } STDOUT: # Ansible managed 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:07 +0000 (0:00:00.153) 0:00:19.732 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": 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:07 +0000 (0:00:00.044) 0:00:19.776 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002832", "end": "2024-07-24 22:33:07.828768", "rc": 0, "start": "2024-07-24 22:33:07.825936" } STDOUT: # system_role:network 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:07 +0000 (0:00:00.139) 0:00:19.916 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": 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:07 +0000 (0:00:00.034) 0:00:19.951 ******** 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:07 +0000 (0:00:00.051) 0:00:20.002 ******** 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:07 +0000 (0:00:00.043) 0:00:20.045 ******** 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:08 +0000 (0:00:00.097) 0:00:20.143 ******** 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:08 +0000 (0:00:00.041) 0:00:20.185 ******** 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:08 +0000 (0:00:00.034) 0:00:20.220 ******** 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:08 +0000 (0:00:00.071) 0:00:20.292 ******** 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.036084", "end": "2024-07-24 22:33:08.408335", "rc": 1, "start": "2024-07-24 22:33:08.372251" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tests_states.yml:65 Wednesday 24 July 2024 22:33:08 +0000 (0:00:00.211) 0:00:20.504 ******** 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:08 +0000 (0:00:00.125) 0:00:20.630 ******** 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:08 +0000 (0:00:00.044) 0:00:20.674 ******** 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:08 +0000 (0:00:00.050) 0:00:20.725 ******** 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:08 +0000 (0:00:00.043) 0:00:20.768 ******** 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:08 +0000 (0:00:00.049) 0:00:20.818 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004151", "end": "2024-07-24 22:33:09.922164", "rc": 0, "start": "2024-07-24 22:33:08.918013" } STDOUT: 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:09 +0000 (0:00:01.185) 0:00:22.003 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "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:09 +0000 (0:00:00.032) 0:00:22.036 ******** ok: [sut] => {} MSG: current_interfaces: ['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:10 +0000 (0:00:00.022) 0:00:22.058 ******** 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:10 +0000 (0:00:00.048) 0:00:22.107 ******** 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:10 +0000 (0:00:00.049) 0:00:22.157 ******** 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:10 +0000 (0:00:00.116) 0:00:22.273 ******** 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:10 +0000 (0:00:00.036) 0:00:22.310 ******** 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:10 +0000 (0:00:00.041) 0:00:22.352 ******** 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:10 +0000 (0:00:00.045) 0:00:22.397 ******** 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:11 +0000 (0:00:00.670) 0:00:23.068 ******** 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:11 +0000 (0:00:00.866) 0:00:23.934 ******** ok: [sut] => {} MSG: Using network provider: initscripts 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:11 +0000 (0:00:00.022) 0:00:23.957 ******** 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:11 +0000 (0:00:00.021) 0:00:23.978 ******** 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:11 +0000 (0:00:00.021) 0:00:24.000 ******** 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:11 +0000 (0:00:00.025) 0:00:24.025 ******** 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:12 +0000 (0:00:00.033) 0:00:24.059 ******** 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:12 +0000 (0:00:00.031) 0:00:24.090 ******** 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:12 +0000 (0:00:00.051) 0:00:24.142 ******** 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:12 +0000 (0:00:00.045) 0:00:24.188 ******** 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:12 +0000 (0:00:00.024) 0:00:24.213 ******** 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:12 +0000 (0:00:00.023) 0:00:24.237 ******** 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:12 +0000 (0:00:00.029) 0:00:24.266 ******** 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 : 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:12 +0000 (0:00:00.034) 0:00:24.300 ******** 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:12 +0000 (0:00:00.027) 0:00:24.328 ******** 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 : 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:12 +0000 (0:00:00.220) 0:00:24.549 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18575uqfe8jqk/tmp_ealqa4o" } 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:12 +0000 (0:00:00.296) 0:00:24.845 ******** 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' 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:13 +0000 (0:00:00.310) 0:00:25.156 ******** 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:13 +0000 (0:00:00.061) 0:00:25.218 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } 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:13 +0000 (0:00:00.046) 0:00:25.265 ******** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [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:13 +0000 (0:00:00.050) 0:00:25.315 ******** 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:13 +0000 (0:00:00.090) 0:00:25.406 ******** 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:13 +0000 (0:00:00.209) 0:00:25.616 ******** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/run_test.yml:30 Wednesday 24 July 2024 22:33:13 +0000 (0:00:00.033) 0:00:25.650 ******** 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:13 +0000 (0:00:00.085) 0:00:25.735 ******** 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:13 +0000 (0:00:00.072) 0:00:25.808 ******** 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:13 +0000 (0:00:00.063) 0:00:25.871 ******** 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:13 +0000 (0:00:00.046) 0:00:25.918 ******** 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:13 +0000 (0:00:00.047) 0:00:25.966 ******** 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:13 +0000 (0:00:00.056) 0:00:26.022 ******** 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:14 +0000 (0:00:00.732) 0:00:26.754 ******** 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:15 +0000 (0:00:00.846) 0:00:27.600 ******** ok: [sut] => {} MSG: Using network provider: initscripts 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:15 +0000 (0:00:00.022) 0:00:27.623 ******** 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:15 +0000 (0:00:00.058) 0:00:27.681 ******** 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:15 +0000 (0:00:00.027) 0:00:27.708 ******** 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:15 +0000 (0:00:00.041) 0:00:27.749 ******** 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:15 +0000 (0:00:00.021) 0:00:27.771 ******** 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:15 +0000 (0:00:00.035) 0:00:27.806 ******** 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:15 +0000 (0:00:00.027) 0:00:27.834 ******** 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:15 +0000 (0:00:00.043) 0:00:27.877 ******** 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:15 +0000 (0:00:00.025) 0:00:27.903 ******** 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:15 +0000 (0:00:00.021) 0:00:27.924 ******** 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:15 +0000 (0:00:00.032) 0:00:27.956 ******** 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 : 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:15 +0000 (0:00:00.020) 0:00:27.977 ******** 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:15 +0000 (0:00:00.020) 0:00:27.998 ******** 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 : 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:16 +0000 (0:00:00.222) 0:00:28.221 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18575uqfe8jqk/tmpmai6nszu" } 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:16 +0000 (0:00:00.207) 0:00:28.428 ******** changed: [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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [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:16 +0000 (0:00:00.438) 0:00:28.867 ******** 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:16 +0000 (0:00:00.022) 0:00:28.889 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [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:16 +0000 (0:00:00.053) 0:00:28.943 ******** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [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:16 +0000 (0:00:00.025) 0:00:28.969 ******** 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:16 +0000 (0:00:00.024) 0:00:28.993 ******** 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.148) 0:00:29.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_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.055) 0:00:29.197 ******** 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.059) 0:00:29.256 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1721860396.721002, "block_size": 4096, "blocks": 0, "ctime": 1721860396.720002, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17684, "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": 1721860396.720002, "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.151) 0:00:29.408 ******** 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.024) 0:00:29.433 ******** 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:17 +0000 (0:00:00.035) 0:00:29.468 ******** 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:17 +0000 (0:00:00.023) 0:00:29.492 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1721860396.5610008, "block_size": 4096, "blocks": 8, "ctime": 1721860393.0559728, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22505, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721860393.0559728, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 24 July 2024 22:33:17 +0000 (0:00:00.130) 0:00:29.622 ******** 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:17 +0000 (0:00:00.035) 0:00:29.658 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017579", "end": "2024-07-24 22:33:17.725459", "rc": 1, "start": "2024-07-24 22:33:17.707880" } 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:17 +0000 (0:00:00.153) 0:00:29.811 ******** 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:17 +0000 (0:00:00.023) 0:00:29.834 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002862", "end": "2024-07-24 22:33:17.891907", "rc": 0, "start": "2024-07-24 22:33:17.889045" } STDOUT: # Ansible managed 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:17 +0000 (0:00:00.153) 0:00:29.988 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": 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:17 +0000 (0:00:00.030) 0:00:30.019 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002899", "end": "2024-07-24 22:33:18.085284", "rc": 0, "start": "2024-07-24 22:33:18.082385" } STDOUT: # system_role:network 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.156) 0:00:30.175 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": 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.031) 0:00:30.207 ******** 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.040) 0:00:30.247 ******** 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.049) 0:00:30.297 ******** 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.046) 0:00:30.344 ******** 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.026) 0:00:30.370 ******** 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.024) 0:00:30.394 ******** 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.045) 0:00:30.440 ******** ok: [sut] => { "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.043785", "end": "2024-07-24 22:33:18.541751", "rc": 0, "start": "2024-07-24 22:33:18.497966" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. 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:18 +0000 (0:00:00.207) 0:00:30.648 ******** 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:18 +0000 (0:00:00.089) 0:00:30.737 ******** 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:18 +0000 (0:00:00.031) 0:00:30.769 ******** 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:18 +0000 (0:00:00.067) 0:00:30.836 ******** 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:18 +0000 (0:00:00.064) 0:00:30.901 ******** 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:18 +0000 (0:00:00.035) 0:00:30.936 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002951", "end": "2024-07-24 22:33:18.986323", "rc": 0, "start": "2024-07-24 22:33:18.983372" } STDOUT: 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.146) 0:00:31.083 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "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.023) 0:00:31.106 ******** ok: [sut] => {} MSG: current_interfaces: ['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.029) 0:00:31.136 ******** 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.050) 0:00:31.186 ******** 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.038) 0:00:31.224 ******** 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.048) 0:00:31.273 ******** 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.036) 0:00:31.309 ******** 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.043) 0:00:31.352 ******** 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.041) 0:00:31.394 ******** 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.678) 0:00:32.072 ******** 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:20 +0000 (0:00:00.846) 0:00:32.919 ******** ok: [sut] => {} MSG: Using network provider: initscripts 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:20 +0000 (0:00:00.028) 0:00:32.948 ******** 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:20 +0000 (0:00:00.036) 0:00:32.984 ******** 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:20 +0000 (0:00:00.024) 0:00:33.009 ******** 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:20 +0000 (0:00:00.044) 0:00:33.054 ******** 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.060) 0:00:33.114 ******** 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.096) 0:00:33.210 ******** 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.070) 0:00:33.281 ******** 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.052) 0:00:33.333 ******** 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.070) 0:00:33.404 ******** 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.038) 0:00:33.442 ******** 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.054) 0:00:33.497 ******** 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 : 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:21 +0000 (0:00:00.070) 0:00:33.567 ******** 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:21 +0000 (0:00:00.083) 0:00:33.651 ******** 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 : 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:21 +0000 (0:00:00.261) 0:00:33.912 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18575uqfe8jqk/tmppi3q9hie" } 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.471) 0:00:34.384 ******** 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' 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.241) 0:00:34.626 ******** 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.065) 0:00:34.692 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } 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.041) 0:00:34.734 ******** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [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.059) 0:00:34.793 ******** 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:22 +0000 (0:00:00.088) 0:00:34.882 ******** 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.230) 0:00:35.113 ******** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 24 July 2024 22:33:23 +0000 (0:00:00.044) 0:00:35.157 ******** 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.040) 0:00:35.198 ******** 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.044) 0:00:35.242 ******** 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.078) 0:00:35.321 ******** 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.053) 0:00:35.375 ******** 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.105) 0:00:35.480 ******** 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.686) 0:00:36.167 ******** 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:24 +0000 (0:00:00.839) 0:00:37.007 ******** ok: [sut] => {} MSG: Using network provider: initscripts 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:24 +0000 (0:00:00.023) 0:00:37.030 ******** 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:24 +0000 (0:00:00.022) 0:00:37.053 ******** 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.023) 0:00:37.076 ******** 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.024) 0:00:37.100 ******** 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.021) 0:00:37.122 ******** 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.027) 0:00:37.150 ******** 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.027) 0:00:37.177 ******** 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.050) 0:00:37.227 ******** 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.022) 0:00:37.249 ******** 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.056) 0:00:37.306 ******** 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.050) 0:00:37.357 ******** 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 : 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.029) 0:00:37.386 ******** 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:25 +0000 (0:00:00.034) 0:00:37.421 ******** 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 : 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:25 +0000 (0:00:00.238) 0:00:37.659 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18575uqfe8jqk/tmphqx8f9hw" } 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:25 +0000 (0:00:00.327) 0:00:37.986 ******** changed: [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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [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.500) 0:00:38.487 ******** 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.024) 0:00:38.512 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [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.057) 0:00:38.570 ******** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [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.035) 0:00:38.606 ******** 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.028) 0:00:38.635 ******** 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.163) 0:00:38.798 ******** 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.091) 0:00:38.890 ******** 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.072) 0:00:38.962 ******** 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.173) 0:00:39.136 ******** 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.031) 0:00:39.168 ******** 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.114) 0:00:39.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:27 +0000 (0:00:00.048) 0:00:39.331 ******** 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.699) 0:00:40.031 ******** 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:40.898 ******** ok: [sut] => {} MSG: Using network provider: initscripts 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.024) 0:00:40.922 ******** 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.031) 0:00:40.954 ******** 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.029) 0:00:40.983 ******** 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.044) 0:00:41.028 ******** 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:29 +0000 (0:00:00.035) 0:00:41.064 ******** 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.124) 0:00:41.188 ******** 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.035) 0:00:41.224 ******** 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.101) 0:00:41.325 ******** 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.033) 0:00:41.359 ******** 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.030) 0:00:41.390 ******** 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.034) 0:00:41.424 ******** 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 : 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.036) 0:00:41.461 ******** 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.035) 0:00:41.497 ******** 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 : 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.247) 0:00:41.744 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18575uqfe8jqk/tmprpes9smg" } 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.208) 0:00:41.952 ******** 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' 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:30 +0000 (0:00:00.278) 0:00:42.230 ******** 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:30 +0000 (0:00:00.029) 0:00:42.260 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } 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.057) 0:00:42.317 ******** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [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.046) 0:00:42.363 ******** 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.032) 0:00:42.396 ******** 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.178) 0:00:42.574 ******** 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.112) 0:00:42.686 ******** 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.039) 0:00:42.726 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1721860406.3120787, "block_size": 4096, "blocks": 0, "ctime": 1721860406.3060787, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17684, "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": 1721860406.3060787, "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.139) 0:00:42.865 ******** 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.031) 0:00:42.897 ******** 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.056) 0:00:42.954 ******** 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.043) 0:00:42.997 ******** 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:31 +0000 (0:00:00.152) 0:00:43.150 ******** 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:31 +0000 (0:00:00.027) 0:00:43.178 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017740", "end": "2024-07-24 22:33:31.250969", "rc": 1, "start": "2024-07-24 22:33:31.233229" } 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.157) 0:00:43.336 ******** 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.032) 0:00:43.369 ******** 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.040) 0:00:43.409 ******** 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.061) 0:00:43.471 ******** 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.050) 0:00:43.521 ******** 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.038) 0:00:43.560 ******** 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.073) 0:00:43.633 ******** 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.052) 0:00:43.686 ******** 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.048) 0:00:43.735 ******** 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.049) 0:00:43.784 ******** ok: [sut] => { "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.045135", "end": "2024-07-24 22:33:31.894791", "rc": 0, "start": "2024-07-24 22:33:31.849656" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. 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.204) 0:00:43.988 ******** 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.040) 0:00:44.029 ******** 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.024) 0:00:44.053 ******** 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": false, "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:32 +0000 (0:00:00.066) 0:00:44.120 ******** 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:32 +0000 (0:00:00.077) 0:00:44.198 ******** 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:32 +0000 (0:00:00.038) 0:00:44.237 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004266", "end": "2024-07-24 22:33:33.316214", "rc": 0, "start": "2024-07-24 22:33:32.311948" } STDOUT: 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:33 +0000 (0:00:01.187) 0:00:45.424 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "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:33 +0000 (0:00:00.025) 0:00:45.450 ******** ok: [sut] => {} MSG: current_interfaces: ['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:33 +0000 (0:00:00.025) 0:00:45.475 ******** 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:33 +0000 (0:00:00.047) 0:00:45.523 ******** 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:33 +0000 (0:00:00.039) 0:00:45.562 ******** 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:33 +0000 (0:00:00.044) 0:00:45.606 ******** 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:33 +0000 (0:00:00.027) 0:00:45.634 ******** 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:33 +0000 (0:00:00.023) 0:00:45.658 ******** 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:33 +0000 (0:00:00.023) 0:00:45.681 ******** 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:34 +0000 (0:00:00.612) 0:00:46.294 ******** 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:35 +0000 (0:00:00.867) 0:00:47.162 ******** ok: [sut] => {} MSG: Using network provider: initscripts 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:35 +0000 (0:00:00.042) 0:00:47.205 ******** 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:35 +0000 (0:00:00.028) 0:00:47.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:35 +0000 (0:00:00.025) 0:00:47.258 ******** 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:35 +0000 (0:00:00.021) 0:00:47.280 ******** 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:35 +0000 (0:00:00.024) 0:00:47.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:35 +0000 (0:00:00.026) 0:00:47.331 ******** 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:35 +0000 (0:00:00.029) 0:00:47.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:35 +0000 (0:00:00.045) 0:00:47.405 ******** 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:35 +0000 (0:00:00.027) 0:00:47.433 ******** 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:35 +0000 (0:00:00.037) 0:00:47.471 ******** 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:35 +0000 (0:00:00.026) 0:00:47.498 ******** 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 : 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:35 +0000 (0:00:00.024) 0:00:47.522 ******** 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:35 +0000 (0:00:00.026) 0:00:47.549 ******** 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 : 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:35 +0000 (0:00:00.228) 0:00:47.777 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18575uqfe8jqk/tmpf0_9w_5w" } 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:35 +0000 (0:00:00.239) 0:00:48.017 ******** 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' 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:36 +0000 (0:00:00.215) 0:00:48.232 ******** 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:36 +0000 (0:00:00.021) 0:00:48.254 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } 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:36 +0000 (0:00:00.026) 0:00:48.281 ******** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [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:36 +0000 (0:00:00.024) 0:00:48.305 ******** 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:36 +0000 (0:00:00.023) 0:00:48.328 ******** 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:36 +0000 (0:00:00.122) 0:00:48.451 ******** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 24 July 2024 22:33:36 +0000 (0:00:00.030) 0:00:48.482 ******** 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:36 +0000 (0:00:00.041) 0:00:48.523 ******** 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:36 +0000 (0:00:00.043) 0:00:48.566 ******** 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:36 +0000 (0:00:00.031) 0:00:48.598 ******** 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:36 +0000 (0:00:00.023) 0:00:48.621 ******** 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:36 +0000 (0:00:00.025) 0:00:48.647 ******** 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:37 +0000 (0:00:00.630) 0:00:49.278 ******** 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:38 +0000 (0:00:00.873) 0:00:50.151 ******** ok: [sut] => {} MSG: Using network provider: initscripts 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:38 +0000 (0:00:00.024) 0:00:50.176 ******** 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:38 +0000 (0:00:00.022) 0:00:50.198 ******** 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:38 +0000 (0:00:00.027) 0:00:50.225 ******** 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:38 +0000 (0:00:00.022) 0:00:50.248 ******** 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:38 +0000 (0:00:00.022) 0:00:50.270 ******** 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:38 +0000 (0:00:00.031) 0:00:50.302 ******** 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:38 +0000 (0:00:00.032) 0:00:50.335 ******** 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:38 +0000 (0:00:00.063) 0:00:50.398 ******** 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:38 +0000 (0:00:00.030) 0:00:50.428 ******** 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:38 +0000 (0:00:00.026) 0:00:50.454 ******** 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:38 +0000 (0:00:00.059) 0:00:50.514 ******** 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 : 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:38 +0000 (0:00:00.022) 0:00:50.536 ******** 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:38 +0000 (0:00:00.023) 0:00:50.560 ******** 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 : 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:38 +0000 (0:00:00.227) 0:00:50.787 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18575uqfe8jqk/tmpkyzg6ets" } 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:38 +0000 (0:00:00.226) 0:00:51.014 ******** changed: [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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [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:39 +0000 (0:00:00.493) 0:00:51.507 ******** 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:39 +0000 (0:00:00.022) 0:00:51.530 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [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:39 +0000 (0:00:00.024) 0:00:51.554 ******** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [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:39 +0000 (0:00:00.024) 0:00:51.579 ******** 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:39 +0000 (0:00:00.022) 0:00:51.601 ******** 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:39 +0000 (0:00:00.128) 0:00:51.729 ******** 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:39 +0000 (0:00:00.040) 0:00:51.770 ******** 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:39 +0000 (0:00:00.057) 0:00:51.828 ******** 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:39 +0000 (0:00:00.089) 0:00:51.918 ******** 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:39 +0000 (0:00:00.059) 0:00:51.977 ******** 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:39 +0000 (0:00:00.046) 0:00:52.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:40 +0000 (0:00:00.636) 0:00:52.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 : 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:41 +0000 (0:00:00.864) 0:00:53.524 ******** ok: [sut] => {} MSG: Using network provider: initscripts 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:41 +0000 (0:00:00.027) 0:00:53.552 ******** 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:41 +0000 (0:00:00.027) 0:00:53.579 ******** 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:41 +0000 (0:00:00.025) 0:00:53.604 ******** 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:41 +0000 (0:00:00.027) 0:00:53.632 ******** 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:41 +0000 (0:00:00.042) 0:00:53.675 ******** 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:41 +0000 (0:00:00.029) 0:00:53.704 ******** 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:41 +0000 (0:00:00.027) 0:00:53.732 ******** 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:41 +0000 (0:00:00.045) 0:00:53.777 ******** 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:41 +0000 (0:00:00.064) 0:00:53.841 ******** 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:41 +0000 (0:00:00.035) 0:00:53.876 ******** 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:41 +0000 (0:00:00.039) 0:00:53.916 ******** 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 : 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:41 +0000 (0:00:00.034) 0:00:53.951 ******** 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:41 +0000 (0:00:00.025) 0:00:53.976 ******** 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 : 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:42 +0000 (0:00:00.219) 0:00:54.195 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18575uqfe8jqk/tmpg62f3lvi" } 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:42 +0000 (0:00:00.305) 0:00:54.501 ******** 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' 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:42 +0000 (0:00:00.250) 0:00:54.751 ******** 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:42 +0000 (0:00:00.047) 0:00:54.799 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } 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:42 +0000 (0:00:00.026) 0:00:54.826 ******** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [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:42 +0000 (0:00:00.035) 0:00:54.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:42 +0000 (0:00:00.024) 0:00:54.886 ******** 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:42 +0000 (0:00:00.143) 0:00:55.030 ******** 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:43 +0000 (0:00:00.060) 0:00:55.090 ******** 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:43 +0000 (0:00:00.120) 0:00:55.211 ******** 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:43 +0000 (0:00:00.086) 0:00:55.297 ******** 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:43 +0000 (0:00:00.082) 0:00:55.379 ******** 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:43 +0000 (0:00:00.058) 0:00:55.438 ******** 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:43 +0000 (0:00:00.050) 0:00:55.488 ******** 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:44 +0000 (0:00:00.684) 0:00:56.173 ******** 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:45 +0000 (0:00:00.902) 0:00:57.075 ******** ok: [sut] => {} MSG: Using network provider: initscripts 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:45 +0000 (0:00:00.031) 0:00:57.107 ******** 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:45 +0000 (0:00:00.023) 0:00:57.131 ******** 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:45 +0000 (0:00:00.031) 0:00:57.162 ******** 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:45 +0000 (0:00:00.024) 0:00:57.186 ******** 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:45 +0000 (0:00:00.055) 0:00:57.242 ******** 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:45 +0000 (0:00:00.049) 0:00:57.292 ******** 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:45 +0000 (0:00:00.027) 0:00:57.319 ******** 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:45 +0000 (0:00:00.045) 0:00:57.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:45 +0000 (0:00:00.040) 0:00:57.406 ******** 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:45 +0000 (0:00:00.047) 0:00:57.453 ******** 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:45 +0000 (0:00:00.037) 0:00:57.490 ******** 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 : 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:45 +0000 (0:00:00.055) 0:00:57.546 ******** 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:45 +0000 (0:00:00.043) 0:00:57.589 ******** 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 : 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:45 +0000 (0:00:00.229) 0:00:57.818 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18575uqfe8jqk/tmp1qme688l" } 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:46 +0000 (0:00:00.255) 0:00:58.074 ******** 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": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [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:46 +0000 (0:00:00.226) 0:00:58.300 ******** 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:46 +0000 (0:00:00.023) 0:00:58.323 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [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:46 +0000 (0:00:00.021) 0:00:58.345 ******** 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": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [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:46 +0000 (0:00:00.023) 0:00:58.368 ******** 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:46 +0000 (0:00:00.021) 0:00:58.390 ******** 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:46 +0000 (0:00:00.160) 0:00:58.550 ******** 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:46 +0000 (0:00:00.045) 0:00:58.596 ******** 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:46 +0000 (0:00:00.039) 0:00:58.635 ******** 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:46 +0000 (0:00:00.041) 0:00:58.676 ******** 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:46 +0000 (0:00:00.156) 0:00:58.833 ******** 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:46 +0000 (0:00:00.022) 0:00:58.855 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019207", "end": "2024-07-24 22:33:46.922211", "rc": 1, "start": "2024-07-24 22:33:46.903004" } 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:46 +0000 (0:00:00.145) 0:00:59.000 ******** 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:46 +0000 (0:00:00.022) 0:00:59.023 ******** 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:46 +0000 (0:00:00.025) 0:00:59.049 ******** 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:47 +0000 (0:00:00.025) 0:00:59.074 ******** 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:47 +0000 (0:00:00.023) 0:00:59.098 ******** 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:47 +0000 (0:00:00.022) 0:00:59.120 ******** 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:47 +0000 (0:00:00.024) 0:00:59.145 ******** skipping: [sut] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/run_test.yml:47 Wednesday 24 July 2024 22:33:47 +0000 (0:00:00.026) 0:00:59.171 ******** 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:47 +0000 (0:00:00.021) 0:00:59.193 ******** 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:47 +0000 (0:00:00.072) 0:00:59.265 ******** ok: [sut] => { "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.045523", "end": "2024-07-24 22:33:47.360781", "rc": 0, "start": "2024-07-24 22:33:47.315258" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. 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:47 +0000 (0:00:00.180) 0:00:59.445 ******** 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:47 +0000 (0:00:00.060) 0:00:59.506 ******** 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:47 +0000 (0:00:00.060) 0:00:59.566 ******** 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": false, "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:47 +0000 (0:00:00.073) 0:00:59.640 ******** 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:47 +0000 (0:00:00.083) 0:00:59.723 ******** 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:47 +0000 (0:00:00.072) 0:00:59.796 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003133", "end": "2024-07-24 22:33:47.881554", "rc": 0, "start": "2024-07-24 22:33:47.878421" } STDOUT: 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:00.187) 0:00:59.984 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "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.024) 0:01:00.009 ******** ok: [sut] => {} MSG: current_interfaces: ['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.042) 0:01:00.051 ******** 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:48 +0000 (0:00:00.046) 0:01:00.098 ******** 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:48 +0000 (0:00:00.072) 0:01:00.171 ******** 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:48 +0000 (0:00:00.042) 0:01:00.213 ******** 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:48 +0000 (0:00:00.031) 0:01:00.245 ******** 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:48 +0000 (0:00:00.038) 0:01:00.283 ******** 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:48 +0000 (0:00:00.026) 0:01:00.309 ******** 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.633) 0:01:00.943 ******** 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.854) 0:01:01.797 ******** ok: [sut] => {} MSG: Using network provider: initscripts 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.027) 0:01:01.825 ******** 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.036) 0:01:01.861 ******** 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.023) 0:01:01.885 ******** 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.068) 0:01:01.953 ******** 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.025) 0:01:01.978 ******** 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.035) 0:01:02.013 ******** 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:01:02.041 ******** 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:50 +0000 (0:00:00.045) 0:01:02.086 ******** 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:50 +0000 (0:00:00.023) 0:01:02.110 ******** 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:50 +0000 (0:00:00.031) 0:01:02.142 ******** 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:50 +0000 (0:00:00.031) 0:01:02.173 ******** 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 : 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.021) 0:01:02.195 ******** 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.038) 0:01:02.234 ******** 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 : 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.219) 0:01:02.454 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18575uqfe8jqk/tmp5qzaufoy" } 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.207) 0:01:02.661 ******** 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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' 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.227) 0:01:02.889 ******** 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.022) 0:01:02.912 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } 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.023) 0:01:02.936 ******** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [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.027) 0:01:02.963 ******** 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.023) 0:01:02.987 ******** 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:51 +0000 (0:00:00.153) 0:01:03.141 ******** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 24 July 2024 22:33:51 +0000 (0:00:00.023) 0:01:03.164 ******** 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:51 +0000 (0:00:00.034) 0:01:03.199 ******** 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:51 +0000 (0:00:00.039) 0:01:03.238 ******** 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:51 +0000 (0:00:00.025) 0:01:03.264 ******** 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:51 +0000 (0:00:00.020) 0:01:03.284 ******** 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:51 +0000 (0:00:00.023) 0:01:03.307 ******** 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.639) 0:01:03.947 ******** 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.890) 0:01:04.837 ******** ok: [sut] => {} MSG: Using network provider: initscripts 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.025) 0:01:04.863 ******** 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.024) 0:01:04.888 ******** 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.023) 0:01:04.911 ******** 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.024) 0:01:04.936 ******** 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:04.960 ******** 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.037) 0:01:04.997 ******** 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.026) 0:01:05.023 ******** 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:53 +0000 (0:00:00.043) 0:01:05.067 ******** 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:53 +0000 (0:00:00.024) 0:01:05.091 ******** 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:53 +0000 (0:00:00.024) 0:01:05.115 ******** 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:53 +0000 (0:00:00.027) 0:01:05.143 ******** 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 : 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:53 +0000 (0:00:00.030) 0:01:05.174 ******** 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:53 +0000 (0:00:00.024) 0:01:05.198 ******** 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 : 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.217) 0:01:05.416 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18575uqfe8jqk/tmpnl265ga5" } 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.233) 0:01:05.650 ******** changed: [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": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err='' TASK [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:54 +0000 (0:00:00.505) 0:01:06.155 ******** 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:54 +0000 (0:00:00.023) 0:01:06.178 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } TASK [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:54 +0000 (0:00:00.022) 0:01:06.201 ******** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='', err=''" ] } } TASK [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:54 +0000 (0:00:00.021) 0:01:06.222 ******** 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:54 +0000 (0:00:00.021) 0:01:06.243 ******** 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:54 +0000 (0:00:00.126) 0:01:06.370 ******** 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:54 +0000 (0:00:00.034) 0:01:06.404 ******** 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:54 +0000 (0:00:00.039) 0:01:06.443 ******** 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:54 +0000 (0:00:00.030) 0:01:06.474 ******** 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:54 +0000 (0:00:00.025) 0:01:06.499 ******** 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:54 +0000 (0:00:00.031) 0:01:06.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 : 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:55 +0000 (0:00:00.631) 0:01:07.162 ******** 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.887) 0:01:08.050 ******** ok: [sut] => {} MSG: Using network provider: initscripts 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:56 +0000 (0:00:00.046) 0:01:08.097 ******** 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:56 +0000 (0:00:00.033) 0:01:08.130 ******** 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:56 +0000 (0:00:00.023) 0:01:08.154 ******** 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:56 +0000 (0:00:00.032) 0:01:08.186 ******** 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:56 +0000 (0:00:00.022) 0:01:08.209 ******** 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:56 +0000 (0:00:00.026) 0:01:08.235 ******** 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:56 +0000 (0:00:00.025) 0:01:08.261 ******** 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:56 +0000 (0:00:00.042) 0:01:08.303 ******** 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:56 +0000 (0:00:00.022) 0:01:08.326 ******** 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:56 +0000 (0:00:00.022) 0:01:08.349 ******** 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:56 +0000 (0:00:00.033) 0:01:08.382 ******** 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 : 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:56 +0000 (0:00:00.044) 0:01:08.427 ******** 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:56 +0000 (0:00:00.040) 0:01:08.468 ******** 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 : 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:56 +0000 (0:00:00.246) 0:01:08.714 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18575uqfe8jqk/tmpanin4hq0" } 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:56 +0000 (0:00:00.206) 0:01:08.921 ******** 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": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [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:57 +0000 (0:00:00.229) 0:01:09.151 ******** 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:57 +0000 (0:00:00.022) 0:01:09.174 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [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:57 +0000 (0:00:00.023) 0:01:09.198 ******** 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": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [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:57 +0000 (0:00:00.024) 0:01:09.222 ******** 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:57 +0000 (0:00:00.021) 0:01:09.244 ******** 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:57 +0000 (0:00:00.125) 0:01:09.369 ******** 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:57 +0000 (0:00:00.040) 0:01:09.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:57 +0000 (0:00:00.037) 0:01:09.447 ******** 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:57 +0000 (0:00:00.043) 0:01:09.491 ******** 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:57 +0000 (0:00:00.027) 0:01:09.518 ******** 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:57 +0000 (0:00:00.028) 0:01:09.546 ******** 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:57 +0000 (0:00:00.061) 0:01:09.608 ******** 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:58 +0000 (0:00:00.640) 0:01:10.248 ******** 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:59 +0000 (0:00:00.846) 0:01:11.095 ******** ok: [sut] => {} MSG: Using network provider: initscripts 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:59 +0000 (0:00:00.031) 0:01:11.127 ******** 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:59 +0000 (0:00:00.031) 0:01:11.158 ******** 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:59 +0000 (0:00:00.026) 0:01:11.184 ******** 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:59 +0000 (0:00:00.025) 0:01:11.210 ******** 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:59 +0000 (0:00:00.032) 0:01:11.242 ******** 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:59 +0000 (0:00:00.030) 0:01:11.273 ******** 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:59 +0000 (0:00:00.027) 0:01:11.301 ******** 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:59 +0000 (0:00:00.045) 0:01:11.346 ******** 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:59 +0000 (0:00:00.051) 0:01:11.397 ******** 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:59 +0000 (0:00:00.029) 0:01:11.427 ******** 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:59 +0000 (0:00:00.034) 0:01:11.462 ******** 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 : 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:59 +0000 (0:00:00.037) 0:01:11.500 ******** 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:59 +0000 (0:00:00.023) 0:01:11.523 ******** 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 : 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:59 +0000 (0:00:00.226) 0:01:11.750 ******** ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-18575uqfe8jqk/tmpd2rglrvb" } 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:59 +0000 (0:00:00.216) 0:01:11.966 ******** 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": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [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:34:00 +0000 (0:00:00.270) 0:01:12.236 ******** 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:34:00 +0000 (0:00:00.030) 0:01:12.267 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [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:34:00 +0000 (0:00:00.033) 0:01:12.301 ******** 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": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [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:34:00 +0000 (0:00:00.028) 0:01:12.329 ******** 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:34:00 +0000 (0:00:00.029) 0:01:12.359 ******** 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:34:00 +0000 (0:00:00.137) 0:01:12.497 ******** 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:34:00 +0000 (0:00:00.052) 0:01:12.549 ******** 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:34:00 +0000 (0:00:00.076) 0:01:12.626 ******** 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:34:00 +0000 (0:00:00.022) 0:01:12.649 ******** 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:34:00 +0000 (0:00:00.130) 0:01:12.780 ******** 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:34:00 +0000 (0:00:00.026) 0:01:12.806 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017688", "end": "2024-07-24 22:34:00.871725", "rc": 1, "start": "2024-07-24 22:34:00.854037" } 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:34:00 +0000 (0:00:00.162) 0:01:12.969 ******** 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.037) 0:01:13.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:34:00 +0000 (0:00:00.030) 0:01:13.037 ******** 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:01 +0000 (0:00:00.026) 0:01:13.063 ******** 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:01 +0000 (0:00:00.029) 0:01:13.093 ******** 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:01 +0000 (0:00:00.029) 0:01:13.122 ******** 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:01 +0000 (0:00:00.034) 0:01:13.157 ******** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.618667", "end": "2024-07-24 22:34:01.848093", "rc": 0, "start": "2024-07-24 22:34:01.229426" } 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:01 +0000 (0:00:00.772) 0:01:13.929 ******** 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:01 +0000 (0:00:00.026) 0:01:13.955 ******** 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:13.978 ******** skipping: [sut] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /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:14.006 ******** 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.024) 0:01:14.030 ******** 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:02 +0000 (0:00:00.084) 0:01:14.115 ******** ok: [sut] => { "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.044846", "end": "2024-07-24 22:34:02.209784", "rc": 0, "start": "2024-07-24 22:34:02.164938" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. 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:02 +0000 (0:00:00.175) 0:01:14.290 ******** 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.006581", "end": "2024-07-24 22:34:02.347661", "rc": 0, "start": "2024-07-24 22:34:02.341080" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 12:f7:f2:f7:3f:53 brd ff:ff:ff:ff:ff:ff inet 10.31.9.178/22 brd 10.31.11.255 scope global noprefixroute dynamic eth0 valid_lft 3483sec preferred_lft 3483sec inet6 fe80::10f7:f2ff:fef7:3f53/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.9.178 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:02 +0000 (0:00:00.137) 0:01:14.428 ******** 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.492950", "end": "2024-07-24 22:34:02.979520", "rc": 0, "start": "2024-07-24 22:34:02.486570" } STDOUT: CHECK DNS AND CONNECTIVITY 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 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.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 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 1367 0 --:--:-- --:--:-- --:--:-- 1367 100 305 100 305 0 0 1367 0 --:--:-- --:--:-- --:--:-- 1361 % 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 1173 0 --:--:-- --:--:-- --:--:-- 1178 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=337 changed=13 unreachable=0 failed=0 skipped=285 rescued=0 ignored=10 Wednesday 24 July 2024 22:34:02 +0000 (0:00:00.620) 0:01:15.048 ******** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 1.94s /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:188 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.51s /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:179 linux-system-roles.network : Configure networking connection profiles --- 1.34s /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:188 linux-system-roles.network : Enable network service --------------------- 1.31s /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:171 Gather current interface info ------------------------------------------- 1.21s /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.19s /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.19s /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_current_interfaces.yml:3 Gather current interface info ------------------------------------------- 1.17s /WORKDIR/git-fix-templating-warnings48igy6dc/tests/playbooks/tasks/get_current_interfaces.yml:3 linux-system-roles.network : Check which packages are installed --------- 1.08s /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.00s /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:179 linux-system-roles.network : Check which packages are installed --------- 0.99s /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Re-test connectivity ----------------------- 0.97s /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:221 linux-system-roles.network : Enable network service --------------------- 0.91s /WORKDIR/git-fix-templating-warnings48igy6dc/tests/roles/linux-system-roles.network/tasks/main.yml:171 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.89s /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.89s /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 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---