# 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-weekly-cis_hy99vf/tests/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/tests_states_initscripts.yml:5 Thursday 08 August 2024 19:51:30 +0000 (0:00:00.013) 0:00:00.013 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-weekly-cis_hy99vf/tests/tests_states_initscripts.yml:8 Thursday 08 August 2024 19:51:30 +0000 (0:00:00.587) 0:00:00.600 ******* included: /WORKDIR/git-weekly-cis_hy99vf/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-weekly-cis_hy99vf/tests/tasks/el_repo_setup.yml:3 Thursday 08 August 2024 19:51:30 +0000 (0:00:00.024) 0:00:00.625 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/tasks/el_repo_setup.yml:19 Thursday 08 August 2024 19:51:31 +0000 (0:00:00.224) 0:00:00.850 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/tasks/el_repo_setup.yml:24 Thursday 08 August 2024 19:51:31 +0000 (0:00:00.211) 0:00:01.061 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/tasks/el_repo_setup.yml:28 Thursday 08 August 2024 19:51:31 +0000 (0:00:00.029) 0:00:01.090 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/tasks/el_repo_setup.yml:53 Thursday 08 August 2024 19:51:31 +0000 (0:00:00.018) 0:00:01.109 ******* included: /WORKDIR/git-weekly-cis_hy99vf/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/tasks/enable_epel.yml:8 Thursday 08 August 2024 19:51:31 +0000 (0:00:00.031) 0:00:01.141 ******* 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-weekly-cis_hy99vf/tests/tasks/enable_epel.yml:24 Thursday 08 August 2024 19:51:31 +0000 (0:00:00.190) 0:00:01.332 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [ "yum-utils-1.1.31-54.el7_8.noarch providing yum-utils is already installed" ] } lsrpackages: yum-utils TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/tasks/enable_epel.yml:30 Thursday 08 August 2024 19:51:32 +0000 (0:00:00.445) 0:00:01.777 ******* ok: [sut] => { "changed": false, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.163565", "end": "2024-08-08 19:51:32.345265", "rc": 0, "start": "2024-08-08 19:51:32.181700" } 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-weekly-cis_hy99vf/tests/tasks/enable_epel.yml:35 Thursday 08 August 2024 19:51:32 +0000 (0:00:00.286) 0:00:02.063 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/tasks/enable_epel.yml:40 Thursday 08 August 2024 19:51:32 +0000 (0:00:00.011) 0:00:02.075 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/tests_states_initscripts.yml:10 Thursday 08 August 2024 19:51:32 +0000 (0:00:00.011) 0:00:02.087 ******* 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-weekly-cis_hy99vf/tests/playbooks/tests_states.yml:3 Thursday 08 August 2024 19:51:32 +0000 (0:00:00.017) 0:00:02.104 ******* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tests_states.yml:11 Thursday 08 August 2024 19:51:32 +0000 (0:00:00.414) 0:00:02.518 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tests_states.yml:22 Thursday 08 August 2024 19:51:32 +0000 (0:00:00.016) 0:00:02.535 ******* included: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/run_test.yml:5 Thursday 08 August 2024 19:51:32 +0000 (0:00:00.018) 0:00:02.554 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/run_test.yml:9 Thursday 08 August 2024 19:51:32 +0000 (0:00:00.014) 0:00:02.568 ******* 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-weekly-cis_hy99vf/tests/playbooks/tasks/run_test.yml:21 Thursday 08 August 2024 19:51:32 +0000 (0:00:00.038) 0:00:02.606 ******* included: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 08 August 2024 19:51:32 +0000 (0:00:00.016) 0:00:02.623 ******* included: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 08 August 2024 19:51:32 +0000 (0:00:00.018) 0:00:02.641 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003435", "end": "2024-08-08 19:51:33.055977", "rc": 0, "start": "2024-08-08 19:51:33.052542" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 08 August 2024 19:51:33 +0000 (0:00:00.134) 0:00:02.775 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 08 August 2024 19:51:33 +0000 (0:00:00.012) 0:00:02.788 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/run_test.yml:24 Thursday 08 August 2024 19:51:33 +0000 (0:00:00.012) 0:00:02.800 ******* included: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/delete_interface.yml:3 Thursday 08 August 2024 19:51:33 +0000 (0:00:00.022) 0:00:02.823 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.011693", "end": "2024-08-08 19:51:33.241842", "rc": 1, "start": "2024-08-08 19:51:33.230149" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 08 August 2024 19:51:33 +0000 (0:00:00.137) 0:00:02.961 ******* included: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 08 August 2024 19:51:33 +0000 (0:00:00.020) 0:00:02.981 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 08 August 2024 19:51:33 +0000 (0:00:00.140) 0:00:03.121 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/run_test.yml:30 Thursday 08 August 2024 19:51:33 +0000 (0:00:00.033) 0:00:03.154 ******* included: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 08 August 2024 19:51:33 +0000 (0:00:00.049) 0:00:03.204 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 08 August 2024 19:51:33 +0000 (0:00:00.114) 0:00:03.319 ******* included: /WORKDIR/git-weekly-cis_hy99vf/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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 08 August 2024 19:51:33 +0000 (0:00:00.023) 0:00:03.343 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 08 August 2024 19:51:33 +0000 (0:00:00.021) 0:00:03.364 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 08 August 2024 19:51:33 +0000 (0:00:00.012) 0:00:03.377 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 08 August 2024 19:51:33 +0000 (0:00:00.012) 0:00:03.390 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 08 August 2024 19:51:34 +0000 (0:00:00.763) 0:00:04.153 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 08 August 2024 19:51:35 +0000 (0:00:01.015) 0:00:05.169 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 08 August 2024 19:51:35 +0000 (0:00:00.034) 0:00:05.203 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 08 August 2024 19:51:35 +0000 (0:00:00.022) 0:00:05.226 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 08 August 2024 19:51:35 +0000 (0:00:00.032) 0:00:05.259 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:43 Thursday 08 August 2024 19:51:35 +0000 (0:00:00.033) 0:00:05.292 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:58 Thursday 08 August 2024 19:51:35 +0000 (0:00:00.051) 0:00:05.344 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 08 August 2024 19:51:35 +0000 (0:00:00.065) 0:00:05.409 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:92 Thursday 08 August 2024 19:51:35 +0000 (0:00:00.029) 0:00:05.438 ******* changed: [sut] => { "attempts": 1, "changed": true, "changes": { "installed": [ "bridge-utils" ] }, "rc": 0, "results": [ "initscripts-9.49.53-1.el7_9.1.x86_64 providing initscripts is already installed", "12:dhclient-4.2.5-83.el7.centos.2.x86_64 providing dhclient is already installed", "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: d2lzkl7pfhq30w.cloudfront.net\nResolving Dependencies\n--> Running transaction check\n---> Package bridge-utils.x86_64 0:1.5-9.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n bridge-utils x86_64 1.5-9.el7 base 32 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal download size: 32 k\nInstalled size: 56 k\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : bridge-utils-1.5-9.el7.x86_64 1/1 \n Verifying : bridge-utils-1.5-9.el7.x86_64 1/1 \n\nInstalled:\n bridge-utils.x86_64 0:1.5-9.el7 \n\nComplete!\n" ] } lsrpackages: bridge-utils dhclient initscripts TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 08 August 2024 19:51:38 +0000 (0:00:02.388) 0:00:07.826 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:120 Thursday 08 August 2024 19:51:38 +0000 (0:00:00.051) 0:00:07.878 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:137 Thursday 08 August 2024 19:51:38 +0000 (0:00:00.048) 0:00:07.927 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 08 August 2024 19:51:38 +0000 (0:00:00.031) 0:00:07.958 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 08 August 2024 19:51:38 +0000 (0:00:00.020) 0:00:07.979 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:171 Thursday 08 August 2024 19:51:38 +0000 (0:00:00.021) 0:00:08.000 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:179 Thursday 08 August 2024 19:51:38 +0000 (0:00:00.354) 0:00:08.355 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-185123i9fcakn/tmp9080js5t" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:188 Thursday 08 August 2024 19:51:38 +0000 (0:00:00.214) 0:00:08.569 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:200 Thursday 08 August 2024 19:51:39 +0000 (0:00:00.354) 0:00:08.923 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:206 Thursday 08 August 2024 19:51:39 +0000 (0:00:00.052) 0:00:08.975 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:210 Thursday 08 August 2024 19:51:39 +0000 (0:00:00.024) 0:00:09.000 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:215 Thursday 08 August 2024 19:51:39 +0000 (0:00:00.023) 0:00:09.023 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:221 Thursday 08 August 2024 19:51:39 +0000 (0:00:00.033) 0:00:09.057 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 08 August 2024 19:51:39 +0000 (0:00:00.230) 0:00:09.288 ******* 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-weekly-cis_hy99vf/tests/playbooks/tasks/run_test.yml:36 Thursday 08 August 2024 19:51:39 +0000 (0:00:00.024) 0:00:09.313 ******* included: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 08 August 2024 19:51:39 +0000 (0:00:00.068) 0:00:09.382 ******* included: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 08 August 2024 19:51:39 +0000 (0:00:00.045) 0:00:09.427 ******* 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-weekly-cis_hy99vf/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 08 August 2024 19:51:39 +0000 (0:00:00.035) 0:00:09.462 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1723146699.1792884, "block_size": 4096, "blocks": 8, "ctime": 1723146699.1792884, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22499, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1723146699.1792884, "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-weekly-cis_hy99vf/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 08 August 2024 19:51:39 +0000 (0:00:00.158) 0:00:09.621 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 08 August 2024 19:51:39 +0000 (0:00:00.063) 0:00:09.685 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023296", "end": "2024-08-08 19:51:40.169846", "rc": 1, "start": "2024-08-08 19:51:40.146550" } 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-weekly-cis_hy99vf/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 08 August 2024 19:51:40 +0000 (0:00:00.212) 0:00:09.897 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 08 August 2024 19:51:40 +0000 (0:00:00.023) 0:00:09.921 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003358", "end": "2024-08-08 19:51:40.327562", "rc": 0, "start": "2024-08-08 19:51:40.324204" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 08 August 2024 19:51:40 +0000 (0:00:00.138) 0:00:10.060 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 08 August 2024 19:51:40 +0000 (0:00:00.047) 0:00:10.107 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003348", "end": "2024-08-08 19:51:40.534746", "rc": 0, "start": "2024-08-08 19:51:40.531398" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 08 August 2024 19:51:40 +0000 (0:00:00.168) 0:00:10.276 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 08 August 2024 19:51:40 +0000 (0:00:00.029) 0:00:10.306 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 08 August 2024 19:51:40 +0000 (0:00:00.024) 0:00:10.330 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 08 August 2024 19:51:40 +0000 (0:00:00.024) 0:00:10.355 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/run_test.yml:42 Thursday 08 August 2024 19:51:40 +0000 (0:00:00.022) 0:00:10.378 ******* 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-weekly-cis_hy99vf/tests/playbooks/tasks/run_test.yml:47 Thursday 08 August 2024 19:51:40 +0000 (0:00:00.027) 0:00:10.405 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/run_test.yml:66 Thursday 08 August 2024 19:51:40 +0000 (0:00:00.060) 0:00:10.465 ******* included: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 08 August 2024 19:51:40 +0000 (0:00:00.058) 0:00:10.524 ******* 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.046403", "end": "2024-08-08 19:51:41.005405", "rc": 1, "start": "2024-08-08 19:51:40.959002" } 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-weekly-cis_hy99vf/tests/playbooks/tests_states.yml:45 Thursday 08 August 2024 19:51:41 +0000 (0:00:00.209) 0:00:10.734 ******* included: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/run_test.yml:5 Thursday 08 August 2024 19:51:41 +0000 (0:00:00.052) 0:00:10.786 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/run_test.yml:9 Thursday 08 August 2024 19:51:41 +0000 (0:00:00.026) 0:00:10.813 ******* 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-weekly-cis_hy99vf/tests/playbooks/tasks/run_test.yml:21 Thursday 08 August 2024 19:51:41 +0000 (0:00:00.058) 0:00:10.872 ******* included: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 08 August 2024 19:51:41 +0000 (0:00:00.037) 0:00:10.909 ******* included: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 08 August 2024 19:51:41 +0000 (0:00:00.035) 0:00:10.945 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003405", "end": "2024-08-08 19:51:41.352977", "rc": 0, "start": "2024-08-08 19:51:41.349572" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 08 August 2024 19:51:41 +0000 (0:00:00.145) 0:00:11.091 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 08 August 2024 19:51:41 +0000 (0:00:00.029) 0:00:11.121 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/run_test.yml:24 Thursday 08 August 2024 19:51:41 +0000 (0:00:00.025) 0:00:11.146 ******* included: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/delete_interface.yml:3 Thursday 08 August 2024 19:51:41 +0000 (0:00:00.045) 0:00:11.191 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006808", "end": "2024-08-08 19:51:41.605781", "rc": 1, "start": "2024-08-08 19:51:41.598973" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 08 August 2024 19:51:41 +0000 (0:00:00.170) 0:00:11.362 ******* included: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 08 August 2024 19:51:41 +0000 (0:00:00.040) 0:00:11.403 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 08 August 2024 19:51:41 +0000 (0:00:00.156) 0:00:11.559 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/run_test.yml:30 Thursday 08 August 2024 19:51:41 +0000 (0:00:00.025) 0:00:11.584 ******* included: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Thursday 08 August 2024 19:51:41 +0000 (0:00:00.042) 0:00:11.627 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 08 August 2024 19:51:41 +0000 (0:00:00.043) 0:00:11.671 ******* included: /WORKDIR/git-weekly-cis_hy99vf/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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 08 August 2024 19:51:42 +0000 (0:00:00.041) 0:00:11.713 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 08 August 2024 19:51:42 +0000 (0:00:00.027) 0:00:11.740 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 08 August 2024 19:51:42 +0000 (0:00:00.023) 0:00:11.764 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 08 August 2024 19:51:42 +0000 (0:00:00.026) 0:00:11.790 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 08 August 2024 19:51:42 +0000 (0:00:00.683) 0:00:12.474 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 08 August 2024 19:51:43 +0000 (0:00:00.861) 0:00:13.335 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 08 August 2024 19:51:43 +0000 (0:00:00.028) 0:00:13.363 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 08 August 2024 19:51:43 +0000 (0:00:00.029) 0:00:13.393 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 08 August 2024 19:51:43 +0000 (0:00:00.023) 0:00:13.416 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:43 Thursday 08 August 2024 19:51:43 +0000 (0:00:00.026) 0:00:13.442 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:58 Thursday 08 August 2024 19:51:43 +0000 (0:00:00.027) 0:00:13.470 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 08 August 2024 19:51:43 +0000 (0:00:00.031) 0:00:13.502 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:92 Thursday 08 August 2024 19:51:43 +0000 (0:00:00.027) 0:00:13.529 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 08 August 2024 19:51:43 +0000 (0:00:00.048) 0:00:13.577 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:120 Thursday 08 August 2024 19:51:43 +0000 (0:00:00.026) 0:00:13.604 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:137 Thursday 08 August 2024 19:51:43 +0000 (0:00:00.027) 0:00:13.631 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 08 August 2024 19:51:43 +0000 (0:00:00.028) 0:00:13.660 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 08 August 2024 19:51:44 +0000 (0:00:00.055) 0:00:13.716 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:171 Thursday 08 August 2024 19:51:44 +0000 (0:00:00.059) 0:00:13.775 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:179 Thursday 08 August 2024 19:51:44 +0000 (0:00:00.234) 0:00:14.010 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-185123i9fcakn/tmpp7tuwmcl" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:188 Thursday 08 August 2024 19:51:44 +0000 (0:00:00.247) 0:00:14.258 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:200 Thursday 08 August 2024 19:51:44 +0000 (0:00:00.288) 0:00:14.546 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:206 Thursday 08 August 2024 19:51:44 +0000 (0:00:00.055) 0:00:14.602 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:210 Thursday 08 August 2024 19:51:44 +0000 (0:00:00.045) 0:00:14.648 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:215 Thursday 08 August 2024 19:51:44 +0000 (0:00:00.047) 0:00:14.695 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:221 Thursday 08 August 2024 19:51:45 +0000 (0:00:00.041) 0:00:14.737 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Thursday 08 August 2024 19:51:45 +0000 (0:00:00.130) 0:00:14.868 ******* 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-weekly-cis_hy99vf/tests/playbooks/tasks/run_test.yml:36 Thursday 08 August 2024 19:51:45 +0000 (0:00:00.024) 0:00:14.893 ******* included: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 08 August 2024 19:51:45 +0000 (0:00:00.047) 0:00:14.940 ******* included: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 08 August 2024 19:51:45 +0000 (0:00:00.053) 0:00:14.994 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 08 August 2024 19:51:45 +0000 (0:00:00.145) 0:00:15.140 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 08 August 2024 19:51:45 +0000 (0:00:00.060) 0:00:15.200 ******* included: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 08 August 2024 19:51:45 +0000 (0:00:00.049) 0:00:15.249 ******* 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-weekly-cis_hy99vf/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 08 August 2024 19:51:45 +0000 (0:00:00.023) 0:00:15.273 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1723146704.772312, "block_size": 4096, "blocks": 8, "ctime": 1723146704.772312, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22499, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1723146704.772312, "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-weekly-cis_hy99vf/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 08 August 2024 19:51:45 +0000 (0:00:00.155) 0:00:15.429 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 08 August 2024 19:51:45 +0000 (0:00:00.051) 0:00:15.480 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020292", "end": "2024-08-08 19:51:45.900563", "rc": 1, "start": "2024-08-08 19:51:45.880271" } 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-weekly-cis_hy99vf/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 08 August 2024 19:51:45 +0000 (0:00:00.171) 0:00:15.651 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 08 August 2024 19:51:45 +0000 (0:00:00.027) 0:00:15.679 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003390", "end": "2024-08-08 19:51:46.107133", "rc": 0, "start": "2024-08-08 19:51:46.103743" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 08 August 2024 19:51:46 +0000 (0:00:00.158) 0:00:15.838 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 08 August 2024 19:51:46 +0000 (0:00:00.041) 0:00:15.879 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003328", "end": "2024-08-08 19:51:46.289229", "rc": 0, "start": "2024-08-08 19:51:46.285901" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 08 August 2024 19:51:46 +0000 (0:00:00.158) 0:00:16.037 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 08 August 2024 19:51:46 +0000 (0:00:00.036) 0:00:16.074 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 08 August 2024 19:51:46 +0000 (0:00:00.026) 0:00:16.100 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 08 August 2024 19:51:46 +0000 (0:00:00.034) 0:00:16.135 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/run_test.yml:42 Thursday 08 August 2024 19:51:46 +0000 (0:00:00.024) 0:00:16.159 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/run_test.yml:47 Thursday 08 August 2024 19:51:46 +0000 (0:00:00.025) 0:00:16.185 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/run_test.yml:66 Thursday 08 August 2024 19:51:46 +0000 (0:00:00.039) 0:00:16.224 ******* included: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 08 August 2024 19:51:46 +0000 (0:00:00.108) 0:00:16.332 ******* 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.040943", "end": "2024-08-08 19:51:46.811866", "rc": 1, "start": "2024-08-08 19:51:46.770923" } 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-weekly-cis_hy99vf/tests/playbooks/tests_states.yml:65 Thursday 08 August 2024 19:51:46 +0000 (0:00:00.211) 0:00:16.543 ******* included: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/run_test.yml:5 Thursday 08 August 2024 19:51:46 +0000 (0:00:00.041) 0:00:16.585 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/run_test.yml:9 Thursday 08 August 2024 19:51:46 +0000 (0:00:00.026) 0:00:16.611 ******* 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-weekly-cis_hy99vf/tests/playbooks/tasks/run_test.yml:21 Thursday 08 August 2024 19:51:46 +0000 (0:00:00.075) 0:00:16.687 ******* included: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 08 August 2024 19:51:47 +0000 (0:00:00.036) 0:00:16.724 ******* included: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 08 August 2024 19:51:47 +0000 (0:00:00.034) 0:00:16.758 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003382", "end": "2024-08-08 19:51:47.164745", "rc": 0, "start": "2024-08-08 19:51:47.161363" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 08 August 2024 19:51:47 +0000 (0:00:00.142) 0:00:16.901 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 08 August 2024 19:51:47 +0000 (0:00:00.038) 0:00:16.939 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/run_test.yml:24 Thursday 08 August 2024 19:51:47 +0000 (0:00:00.057) 0:00:16.997 ******* included: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 08 August 2024 19:51:47 +0000 (0:00:00.053) 0:00:17.051 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 08 August 2024 19:51:47 +0000 (0:00:00.104) 0:00:17.155 ******* included: /WORKDIR/git-weekly-cis_hy99vf/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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 08 August 2024 19:51:47 +0000 (0:00:00.057) 0:00:17.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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 08 August 2024 19:51:47 +0000 (0:00:00.027) 0:00:17.240 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 08 August 2024 19:51:47 +0000 (0:00:00.021) 0:00:17.262 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 08 August 2024 19:51:47 +0000 (0:00:00.022) 0:00:17.284 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 08 August 2024 19:51:48 +0000 (0:00:00.681) 0:00:17.966 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 08 August 2024 19:51:49 +0000 (0:00:00.840) 0:00:18.806 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 08 August 2024 19:51:49 +0000 (0:00:00.024) 0:00:18.831 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 08 August 2024 19:51:49 +0000 (0:00:00.023) 0:00:18.855 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 08 August 2024 19:51:49 +0000 (0:00:00.061) 0:00:18.916 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:43 Thursday 08 August 2024 19:51:49 +0000 (0:00:00.025) 0:00:18.941 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:58 Thursday 08 August 2024 19:51:49 +0000 (0:00:00.028) 0:00:18.970 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 08 August 2024 19:51:49 +0000 (0:00:00.038) 0:00:19.009 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:92 Thursday 08 August 2024 19:51:49 +0000 (0:00:00.047) 0:00:19.057 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 08 August 2024 19:51:49 +0000 (0:00:00.053) 0:00:19.111 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:120 Thursday 08 August 2024 19:51:49 +0000 (0:00:00.039) 0:00:19.150 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:137 Thursday 08 August 2024 19:51:49 +0000 (0:00:00.070) 0:00:19.220 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 08 August 2024 19:51:49 +0000 (0:00:00.074) 0:00:19.295 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 08 August 2024 19:51:49 +0000 (0:00:00.074) 0:00:19.370 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:171 Thursday 08 August 2024 19:51:49 +0000 (0:00:00.073) 0:00:19.443 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:179 Thursday 08 August 2024 19:51:50 +0000 (0:00:00.301) 0:00:19.745 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-185123i9fcakn/tmpbjad0ddy" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:188 Thursday 08 August 2024 19:51:50 +0000 (0:00:00.273) 0:00:20.019 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:200 Thursday 08 August 2024 19:51:50 +0000 (0:00:00.252) 0:00:20.271 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:206 Thursday 08 August 2024 19:51:50 +0000 (0:00:00.032) 0:00:20.304 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:210 Thursday 08 August 2024 19:51:50 +0000 (0:00:00.026) 0:00:20.330 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:215 Thursday 08 August 2024 19:51:50 +0000 (0:00:00.023) 0:00:20.354 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:221 Thursday 08 August 2024 19:51:50 +0000 (0:00:00.052) 0:00:20.406 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 08 August 2024 19:51:50 +0000 (0:00:00.129) 0:00:20.536 ******* 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-weekly-cis_hy99vf/tests/playbooks/tasks/run_test.yml:30 Thursday 08 August 2024 19:51:50 +0000 (0:00:00.025) 0:00:20.561 ******* included: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/activate_profile.yml:3 Thursday 08 August 2024 19:51:50 +0000 (0:00:00.067) 0:00:20.628 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 08 August 2024 19:51:50 +0000 (0:00:00.049) 0:00:20.677 ******* included: /WORKDIR/git-weekly-cis_hy99vf/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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 08 August 2024 19:51:51 +0000 (0:00:00.046) 0:00:20.724 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 08 August 2024 19:51:51 +0000 (0:00:00.028) 0:00:20.752 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 08 August 2024 19:51:51 +0000 (0:00:00.022) 0:00:20.774 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 08 August 2024 19:51:51 +0000 (0:00:00.021) 0:00:20.796 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 08 August 2024 19:51:51 +0000 (0:00:00.668) 0:00:21.464 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 08 August 2024 19:51:52 +0000 (0:00:00.910) 0:00:22.375 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 08 August 2024 19:51:52 +0000 (0:00:00.029) 0:00:22.405 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 08 August 2024 19:51:52 +0000 (0:00:00.037) 0:00:22.442 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 08 August 2024 19:51:52 +0000 (0:00:00.052) 0:00:22.494 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:43 Thursday 08 August 2024 19:51:52 +0000 (0:00:00.027) 0:00:22.522 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:58 Thursday 08 August 2024 19:51:52 +0000 (0:00:00.036) 0:00:22.558 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 08 August 2024 19:51:52 +0000 (0:00:00.029) 0:00:22.588 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:92 Thursday 08 August 2024 19:51:52 +0000 (0:00:00.039) 0:00:22.627 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 08 August 2024 19:51:52 +0000 (0:00:00.053) 0:00:22.681 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:120 Thursday 08 August 2024 19:51:53 +0000 (0:00:00.029) 0:00:22.710 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:137 Thursday 08 August 2024 19:51:53 +0000 (0:00:00.031) 0:00:22.742 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 08 August 2024 19:51:53 +0000 (0:00:00.049) 0:00:22.791 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 08 August 2024 19:51:53 +0000 (0:00:00.022) 0:00:22.814 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:171 Thursday 08 August 2024 19:51:53 +0000 (0:00:00.029) 0:00:22.844 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:179 Thursday 08 August 2024 19:51:53 +0000 (0:00:00.266) 0:00:23.110 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-185123i9fcakn/tmpq30u003g" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:188 Thursday 08 August 2024 19:51:53 +0000 (0:00:00.223) 0:00:23.333 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:200 Thursday 08 August 2024 19:51:54 +0000 (0:00:00.452) 0:00:23.786 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:206 Thursday 08 August 2024 19:51:54 +0000 (0:00:00.024) 0:00:23.810 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:210 Thursday 08 August 2024 19:51:54 +0000 (0:00:00.024) 0:00:23.835 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:215 Thursday 08 August 2024 19:51:54 +0000 (0:00:00.025) 0:00:23.860 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:221 Thursday 08 August 2024 19:51:54 +0000 (0:00:00.024) 0:00:23.885 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/run_test.yml:36 Thursday 08 August 2024 19:51:54 +0000 (0:00:00.140) 0:00:24.025 ******* included: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 08 August 2024 19:51:54 +0000 (0:00:00.047) 0:00:24.073 ******* included: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 08 August 2024 19:51:54 +0000 (0:00:00.041) 0:00:24.114 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1723146713.9923506, "block_size": 4096, "blocks": 0, "ctime": 1723146713.9893506, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17691, "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": 1723146713.9893506, "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-weekly-cis_hy99vf/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 08 August 2024 19:51:54 +0000 (0:00:00.145) 0:00:24.259 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 08 August 2024 19:51:54 +0000 (0:00:00.034) 0:00:24.294 ******* included: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 08 August 2024 19:51:54 +0000 (0:00:00.063) 0:00:24.358 ******* 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-weekly-cis_hy99vf/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 08 August 2024 19:51:54 +0000 (0:00:00.086) 0:00:24.444 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1723146713.83335, "block_size": 4096, "blocks": 8, "ctime": 1723146710.533336, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 22499, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1723146710.533336, "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-weekly-cis_hy99vf/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 08 August 2024 19:51:54 +0000 (0:00:00.151) 0:00:24.596 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 08 August 2024 19:51:54 +0000 (0:00:00.038) 0:00:24.635 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021326", "end": "2024-08-08 19:51:55.065997", "rc": 1, "start": "2024-08-08 19:51:55.044671" } 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-weekly-cis_hy99vf/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 08 August 2024 19:51:55 +0000 (0:00:00.160) 0:00:24.795 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 08 August 2024 19:51:55 +0000 (0:00:00.033) 0:00:24.828 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003360", "end": "2024-08-08 19:51:55.325589", "rc": 0, "start": "2024-08-08 19:51:55.322229" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 08 August 2024 19:51:55 +0000 (0:00:00.232) 0:00:25.061 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 08 August 2024 19:51:55 +0000 (0:00:00.030) 0:00:25.091 ******* ok: [sut] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003432", "end": "2024-08-08 19:51:55.523178", "rc": 0, "start": "2024-08-08 19:51:55.519746" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 08 August 2024 19:51:55 +0000 (0:00:00.174) 0:00:25.266 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 08 August 2024 19:51:55 +0000 (0:00:00.029) 0:00:25.296 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 08 August 2024 19:51:55 +0000 (0:00:00.027) 0:00:25.323 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 08 August 2024 19:51:55 +0000 (0:00:00.028) 0:00:25.352 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/run_test.yml:42 Thursday 08 August 2024 19:51:55 +0000 (0:00:00.043) 0:00:25.395 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/run_test.yml:47 Thursday 08 August 2024 19:51:55 +0000 (0:00:00.022) 0:00:25.418 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/run_test.yml:66 Thursday 08 August 2024 19:51:55 +0000 (0:00:00.056) 0:00:25.475 ******* included: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 08 August 2024 19:51:55 +0000 (0:00:00.066) 0:00:25.541 ******* 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.051823", "end": "2024-08-08 19:51:55.996087", "rc": 0, "start": "2024-08-08 19:51:55.944264" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tests_states.yml:83 Thursday 08 August 2024 19:51:56 +0000 (0:00:00.265) 0:00:25.806 ******* included: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/run_test.yml:5 Thursday 08 August 2024 19:51:56 +0000 (0:00:00.037) 0:00:25.844 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/run_test.yml:9 Thursday 08 August 2024 19:51:56 +0000 (0:00:00.023) 0:00:25.867 ******* 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-weekly-cis_hy99vf/tests/playbooks/tasks/run_test.yml:21 Thursday 08 August 2024 19:51:56 +0000 (0:00:00.046) 0:00:25.913 ******* included: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 08 August 2024 19:51:56 +0000 (0:00:00.041) 0:00:25.955 ******* included: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 08 August 2024 19:51:56 +0000 (0:00:00.040) 0:00:25.995 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003342", "end": "2024-08-08 19:51:56.405669", "rc": 0, "start": "2024-08-08 19:51:56.402327" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 08 August 2024 19:51:56 +0000 (0:00:00.139) 0:00:26.135 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 08 August 2024 19:51:56 +0000 (0:00:00.023) 0:00:26.158 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/run_test.yml:24 Thursday 08 August 2024 19:51:56 +0000 (0:00:00.040) 0:00:26.199 ******* included: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 08 August 2024 19:51:56 +0000 (0:00:00.054) 0:00:26.253 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 08 August 2024 19:51:56 +0000 (0:00:00.051) 0:00:26.305 ******* included: /WORKDIR/git-weekly-cis_hy99vf/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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 08 August 2024 19:51:56 +0000 (0:00:00.045) 0:00:26.350 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 08 August 2024 19:51:56 +0000 (0:00:00.097) 0:00:26.448 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 08 August 2024 19:51:56 +0000 (0:00:00.023) 0:00:26.472 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 08 August 2024 19:51:56 +0000 (0:00:00.022) 0:00:26.494 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 08 August 2024 19:51:57 +0000 (0:00:00.688) 0:00:27.183 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 08 August 2024 19:51:58 +0000 (0:00:00.848) 0:00:28.032 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 08 August 2024 19:51:58 +0000 (0:00:00.027) 0:00:28.059 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 08 August 2024 19:51:58 +0000 (0:00:00.036) 0:00:28.095 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 08 August 2024 19:51:58 +0000 (0:00:00.028) 0:00:28.124 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:43 Thursday 08 August 2024 19:51:58 +0000 (0:00:00.024) 0:00:28.149 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:58 Thursday 08 August 2024 19:51:58 +0000 (0:00:00.031) 0:00:28.180 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 08 August 2024 19:51:58 +0000 (0:00:00.042) 0:00:28.222 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:92 Thursday 08 August 2024 19:51:58 +0000 (0:00:00.066) 0:00:28.288 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 08 August 2024 19:51:58 +0000 (0:00:00.048) 0:00:28.337 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:120 Thursday 08 August 2024 19:51:58 +0000 (0:00:00.035) 0:00:28.373 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:137 Thursday 08 August 2024 19:51:58 +0000 (0:00:00.022) 0:00:28.395 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 08 August 2024 19:51:58 +0000 (0:00:00.035) 0:00:28.431 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 08 August 2024 19:51:58 +0000 (0:00:00.022) 0:00:28.454 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:171 Thursday 08 August 2024 19:51:58 +0000 (0:00:00.027) 0:00:28.481 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:179 Thursday 08 August 2024 19:51:59 +0000 (0:00:00.296) 0:00:28.778 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-185123i9fcakn/tmpn3mrhqmi" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:188 Thursday 08 August 2024 19:51:59 +0000 (0:00:00.257) 0:00:29.036 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:200 Thursday 08 August 2024 19:51:59 +0000 (0:00:00.250) 0:00:29.286 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:206 Thursday 08 August 2024 19:51:59 +0000 (0:00:00.024) 0:00:29.311 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:210 Thursday 08 August 2024 19:51:59 +0000 (0:00:00.027) 0:00:29.338 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:215 Thursday 08 August 2024 19:51:59 +0000 (0:00:00.025) 0:00:29.364 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:221 Thursday 08 August 2024 19:51:59 +0000 (0:00:00.024) 0:00:29.388 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 08 August 2024 19:51:59 +0000 (0:00:00.140) 0:00:29.529 ******* 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-weekly-cis_hy99vf/tests/playbooks/tasks/activate_profile.yml:3 Thursday 08 August 2024 19:51:59 +0000 (0:00:00.031) 0:00:29.561 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 08 August 2024 19:51:59 +0000 (0:00:00.077) 0:00:29.638 ******* included: /WORKDIR/git-weekly-cis_hy99vf/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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 08 August 2024 19:51:59 +0000 (0:00:00.044) 0:00:29.683 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 08 August 2024 19:52:00 +0000 (0:00:00.028) 0:00:29.711 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 08 August 2024 19:52:00 +0000 (0:00:00.031) 0:00:29.743 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 08 August 2024 19:52:00 +0000 (0:00:00.023) 0:00:29.766 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 08 August 2024 19:52:00 +0000 (0:00:00.725) 0:00:30.492 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 08 August 2024 19:52:01 +0000 (0:00:00.860) 0:00:31.352 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 08 August 2024 19:52:01 +0000 (0:00:00.028) 0:00:31.380 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 08 August 2024 19:52:01 +0000 (0:00:00.025) 0:00:31.406 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 08 August 2024 19:52:01 +0000 (0:00:00.069) 0:00:31.475 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:43 Thursday 08 August 2024 19:52:01 +0000 (0:00:00.025) 0:00:31.501 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:58 Thursday 08 August 2024 19:52:01 +0000 (0:00:00.026) 0:00:31.528 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 08 August 2024 19:52:01 +0000 (0:00:00.031) 0:00:31.559 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:92 Thursday 08 August 2024 19:52:01 +0000 (0:00:00.031) 0:00:31.590 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 08 August 2024 19:52:01 +0000 (0:00:00.051) 0:00:31.642 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:120 Thursday 08 August 2024 19:52:01 +0000 (0:00:00.025) 0:00:31.668 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:137 Thursday 08 August 2024 19:52:01 +0000 (0:00:00.025) 0:00:31.694 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 08 August 2024 19:52:02 +0000 (0:00:00.027) 0:00:31.721 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 08 August 2024 19:52:02 +0000 (0:00:00.026) 0:00:31.747 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:171 Thursday 08 August 2024 19:52:02 +0000 (0:00:00.036) 0:00:31.784 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:179 Thursday 08 August 2024 19:52:02 +0000 (0:00:00.261) 0:00:32.046 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-185123i9fcakn/tmpgcih3tog" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:188 Thursday 08 August 2024 19:52:02 +0000 (0:00:00.276) 0:00:32.322 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:200 Thursday 08 August 2024 19:52:03 +0000 (0:00:00.448) 0:00:32.771 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:206 Thursday 08 August 2024 19:52:03 +0000 (0:00:00.031) 0:00:32.803 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:210 Thursday 08 August 2024 19:52:03 +0000 (0:00:00.044) 0:00:32.847 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:215 Thursday 08 August 2024 19:52:03 +0000 (0:00:00.067) 0:00:32.914 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:221 Thursday 08 August 2024 19:52:03 +0000 (0:00:00.029) 0:00:32.943 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/run_test.yml:30 Thursday 08 August 2024 19:52:03 +0000 (0:00:00.163) 0:00:33.107 ******* included: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/remove_profile.yml:3 Thursday 08 August 2024 19:52:03 +0000 (0:00:00.052) 0:00:33.159 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 08 August 2024 19:52:03 +0000 (0:00:00.045) 0:00:33.205 ******* included: /WORKDIR/git-weekly-cis_hy99vf/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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 08 August 2024 19:52:03 +0000 (0:00:00.042) 0:00:33.247 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 08 August 2024 19:52:03 +0000 (0:00:00.044) 0:00:33.292 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 08 August 2024 19:52:03 +0000 (0:00:00.027) 0:00:33.320 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 08 August 2024 19:52:03 +0000 (0:00:00.032) 0:00:33.352 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 08 August 2024 19:52:04 +0000 (0:00:00.681) 0:00:34.033 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 08 August 2024 19:52:05 +0000 (0:00:00.900) 0:00:34.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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 08 August 2024 19:52:05 +0000 (0:00:00.025) 0:00:34.959 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 08 August 2024 19:52:05 +0000 (0:00:00.028) 0:00:34.987 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 08 August 2024 19:52:05 +0000 (0:00:00.025) 0:00:35.013 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:43 Thursday 08 August 2024 19:52:05 +0000 (0:00:00.027) 0:00:35.041 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:58 Thursday 08 August 2024 19:52:05 +0000 (0:00:00.028) 0:00:35.069 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 08 August 2024 19:52:05 +0000 (0:00:00.039) 0:00:35.109 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:92 Thursday 08 August 2024 19:52:05 +0000 (0:00:00.034) 0:00:35.144 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 08 August 2024 19:52:05 +0000 (0:00:00.061) 0:00:35.205 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:120 Thursday 08 August 2024 19:52:05 +0000 (0:00:00.033) 0:00:35.238 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:137 Thursday 08 August 2024 19:52:05 +0000 (0:00:00.024) 0:00:35.263 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 08 August 2024 19:52:05 +0000 (0:00:00.035) 0:00:35.299 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 08 August 2024 19:52:05 +0000 (0:00:00.025) 0:00:35.324 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:171 Thursday 08 August 2024 19:52:05 +0000 (0:00:00.027) 0:00:35.351 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:179 Thursday 08 August 2024 19:52:05 +0000 (0:00:00.314) 0:00:35.666 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-185123i9fcakn/tmpind3shb6" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:188 Thursday 08 August 2024 19:52:06 +0000 (0:00:00.304) 0:00:35.971 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:200 Thursday 08 August 2024 19:52:06 +0000 (0:00:00.240) 0:00:36.212 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:206 Thursday 08 August 2024 19:52:06 +0000 (0:00:00.025) 0:00:36.237 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:210 Thursday 08 August 2024 19:52:06 +0000 (0:00:00.028) 0:00:36.265 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:215 Thursday 08 August 2024 19:52:06 +0000 (0:00:00.028) 0:00:36.294 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:221 Thursday 08 August 2024 19:52:06 +0000 (0:00:00.024) 0:00:36.318 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/run_test.yml:36 Thursday 08 August 2024 19:52:06 +0000 (0:00:00.131) 0:00:36.449 ******* included: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 08 August 2024 19:52:06 +0000 (0:00:00.055) 0:00:36.505 ******* included: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 08 August 2024 19:52:06 +0000 (0:00:00.049) 0:00:36.555 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1723146722.9773881, "block_size": 4096, "blocks": 0, "ctime": 1723146722.9763882, "dev": 18, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17691, "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": 1723146722.9763882, "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-weekly-cis_hy99vf/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 08 August 2024 19:52:06 +0000 (0:00:00.133) 0:00:36.688 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 08 August 2024 19:52:07 +0000 (0:00:00.028) 0:00:36.716 ******* included: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 08 August 2024 19:52:07 +0000 (0:00:00.044) 0:00:36.760 ******* 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-weekly-cis_hy99vf/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 08 August 2024 19:52:07 +0000 (0:00:00.025) 0:00:36.785 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 08 August 2024 19:52:07 +0000 (0:00:00.147) 0:00:36.932 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 08 August 2024 19:52:07 +0000 (0:00:00.028) 0:00:36.961 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020998", "end": "2024-08-08 19:52:07.391629", "rc": 1, "start": "2024-08-08 19:52:07.370631" } 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-weekly-cis_hy99vf/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 08 August 2024 19:52:07 +0000 (0:00:00.161) 0:00:37.123 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 08 August 2024 19:52:07 +0000 (0:00:00.024) 0:00:37.147 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 08 August 2024 19:52:07 +0000 (0:00:00.025) 0:00:37.173 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 08 August 2024 19:52:07 +0000 (0:00:00.024) 0:00:37.198 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 08 August 2024 19:52:07 +0000 (0:00:00.033) 0:00:37.231 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 08 August 2024 19:52:07 +0000 (0:00:00.031) 0:00:37.262 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/run_test.yml:42 Thursday 08 August 2024 19:52:07 +0000 (0:00:00.032) 0:00:37.295 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/run_test.yml:47 Thursday 08 August 2024 19:52:07 +0000 (0:00:00.030) 0:00:37.326 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/run_test.yml:66 Thursday 08 August 2024 19:52:07 +0000 (0:00:00.023) 0:00:37.350 ******* included: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 08 August 2024 19:52:07 +0000 (0:00:00.040) 0:00:37.390 ******* 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.046733", "end": "2024-08-08 19:52:07.841083", "rc": 0, "start": "2024-08-08 19:52:07.794350" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tests_states.yml:103 Thursday 08 August 2024 19:52:07 +0000 (0:00:00.178) 0:00:37.569 ******* included: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/run_test.yml:5 Thursday 08 August 2024 19:52:07 +0000 (0:00:00.036) 0:00:37.606 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/run_test.yml:9 Thursday 08 August 2024 19:52:07 +0000 (0:00:00.021) 0:00:37.628 ******* 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-weekly-cis_hy99vf/tests/playbooks/tasks/run_test.yml:21 Thursday 08 August 2024 19:52:08 +0000 (0:00:00.075) 0:00:37.703 ******* included: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 08 August 2024 19:52:08 +0000 (0:00:00.034) 0:00:37.738 ******* included: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 08 August 2024 19:52:08 +0000 (0:00:00.033) 0:00:37.772 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003342", "end": "2024-08-08 19:52:08.175087", "rc": 0, "start": "2024-08-08 19:52:08.171745" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 08 August 2024 19:52:08 +0000 (0:00:00.133) 0:00:37.905 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 08 August 2024 19:52:08 +0000 (0:00:00.024) 0:00:37.929 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/run_test.yml:24 Thursday 08 August 2024 19:52:08 +0000 (0:00:00.035) 0:00:37.964 ******* included: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 08 August 2024 19:52:08 +0000 (0:00:00.056) 0:00:38.021 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 08 August 2024 19:52:08 +0000 (0:00:00.041) 0:00:38.062 ******* included: /WORKDIR/git-weekly-cis_hy99vf/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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 08 August 2024 19:52:08 +0000 (0:00:00.048) 0:00:38.111 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 08 August 2024 19:52:08 +0000 (0:00:00.035) 0:00:38.146 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 08 August 2024 19:52:08 +0000 (0:00:00.028) 0:00:38.175 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 08 August 2024 19:52:08 +0000 (0:00:00.023) 0:00:38.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 : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 08 August 2024 19:52:09 +0000 (0:00:00.650) 0:00:38.848 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 08 August 2024 19:52:09 +0000 (0:00:00.830) 0:00:39.679 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 08 August 2024 19:52:10 +0000 (0:00:00.024) 0:00:39.703 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 08 August 2024 19:52:10 +0000 (0:00:00.020) 0:00:39.724 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 08 August 2024 19:52:10 +0000 (0:00:00.021) 0:00:39.746 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:43 Thursday 08 August 2024 19:52:10 +0000 (0:00:00.021) 0:00:39.768 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:58 Thursday 08 August 2024 19:52:10 +0000 (0:00:00.021) 0:00:39.789 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 08 August 2024 19:52:10 +0000 (0:00:00.027) 0:00:39.816 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:92 Thursday 08 August 2024 19:52:10 +0000 (0:00:00.027) 0:00:39.844 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 08 August 2024 19:52:10 +0000 (0:00:00.048) 0:00:39.892 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:120 Thursday 08 August 2024 19:52:10 +0000 (0:00:00.063) 0:00:39.956 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:137 Thursday 08 August 2024 19:52:10 +0000 (0:00:00.030) 0:00:39.986 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 08 August 2024 19:52:10 +0000 (0:00:00.027) 0:00:40.014 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 08 August 2024 19:52:10 +0000 (0:00:00.022) 0:00:40.037 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:171 Thursday 08 August 2024 19:52:10 +0000 (0:00:00.022) 0:00:40.059 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:179 Thursday 08 August 2024 19:52:10 +0000 (0:00:00.234) 0:00:40.293 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-185123i9fcakn/tmpbofkfov0" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:188 Thursday 08 August 2024 19:52:10 +0000 (0:00:00.217) 0:00:40.511 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:200 Thursday 08 August 2024 19:52:11 +0000 (0:00:00.229) 0:00:40.740 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:206 Thursday 08 August 2024 19:52:11 +0000 (0:00:00.045) 0:00:40.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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:210 Thursday 08 August 2024 19:52:11 +0000 (0:00:00.032) 0:00:40.819 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:215 Thursday 08 August 2024 19:52:11 +0000 (0:00:00.054) 0:00:40.874 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:221 Thursday 08 August 2024 19:52:11 +0000 (0:00:00.049) 0:00:40.924 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 08 August 2024 19:52:11 +0000 (0:00:00.144) 0:00:41.068 ******* 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-weekly-cis_hy99vf/tests/playbooks/tasks/activate_profile.yml:3 Thursday 08 August 2024 19:52:11 +0000 (0:00:00.024) 0:00:41.093 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 08 August 2024 19:52:11 +0000 (0:00:00.044) 0:00:41.137 ******* included: /WORKDIR/git-weekly-cis_hy99vf/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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 08 August 2024 19:52:11 +0000 (0:00:00.083) 0:00:41.220 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 08 August 2024 19:52:11 +0000 (0:00:00.029) 0:00:41.250 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 08 August 2024 19:52:11 +0000 (0:00:00.021) 0:00:41.271 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 08 August 2024 19:52:11 +0000 (0:00:00.020) 0:00:41.292 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 08 August 2024 19:52:12 +0000 (0:00:00.656) 0:00:41.949 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 08 August 2024 19:52:13 +0000 (0:00:00.845) 0:00:42.794 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 08 August 2024 19:52:13 +0000 (0:00:00.026) 0:00:42.821 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 08 August 2024 19:52:13 +0000 (0:00:00.023) 0:00:42.844 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 08 August 2024 19:52:13 +0000 (0:00:00.025) 0:00:42.869 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:43 Thursday 08 August 2024 19:52:13 +0000 (0:00:00.050) 0:00:42.920 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:58 Thursday 08 August 2024 19:52:13 +0000 (0:00:00.021) 0:00:42.942 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 08 August 2024 19:52:13 +0000 (0:00:00.036) 0:00:42.978 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:92 Thursday 08 August 2024 19:52:13 +0000 (0:00:00.039) 0:00:43.018 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 08 August 2024 19:52:13 +0000 (0:00:00.056) 0:00:43.074 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:120 Thursday 08 August 2024 19:52:13 +0000 (0:00:00.031) 0:00:43.106 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:137 Thursday 08 August 2024 19:52:13 +0000 (0:00:00.024) 0:00:43.130 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 08 August 2024 19:52:13 +0000 (0:00:00.027) 0:00:43.158 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 08 August 2024 19:52:13 +0000 (0:00:00.026) 0:00:43.184 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:171 Thursday 08 August 2024 19:52:13 +0000 (0:00:00.028) 0:00:43.212 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:179 Thursday 08 August 2024 19:52:13 +0000 (0:00:00.257) 0:00:43.470 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-185123i9fcakn/tmp_i8bfknj" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:188 Thursday 08 August 2024 19:52:14 +0000 (0:00:00.429) 0:00:43.899 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:200 Thursday 08 August 2024 19:52:14 +0000 (0:00:00.540) 0:00:44.439 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:206 Thursday 08 August 2024 19:52:14 +0000 (0:00:00.037) 0:00:44.477 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:210 Thursday 08 August 2024 19:52:14 +0000 (0:00:00.062) 0:00:44.540 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:215 Thursday 08 August 2024 19:52:14 +0000 (0:00:00.032) 0:00:44.573 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:221 Thursday 08 August 2024 19:52:14 +0000 (0:00:00.024) 0:00:44.597 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/remove_profile.yml:3 Thursday 08 August 2024 19:52:15 +0000 (0:00:00.168) 0:00:44.765 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 08 August 2024 19:52:15 +0000 (0:00:00.041) 0:00:44.806 ******* included: /WORKDIR/git-weekly-cis_hy99vf/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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 08 August 2024 19:52:15 +0000 (0:00:00.044) 0:00:44.850 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 08 August 2024 19:52:15 +0000 (0:00:00.029) 0:00:44.880 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 08 August 2024 19:52:15 +0000 (0:00:00.022) 0:00:44.902 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 08 August 2024 19:52:15 +0000 (0:00:00.022) 0:00:44.925 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 08 August 2024 19:52:15 +0000 (0:00:00.657) 0:00:45.582 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 08 August 2024 19:52:16 +0000 (0:00:00.853) 0:00:46.436 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 08 August 2024 19:52:16 +0000 (0:00:00.024) 0:00:46.460 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 08 August 2024 19:52:16 +0000 (0:00:00.023) 0:00:46.484 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 08 August 2024 19:52:16 +0000 (0:00:00.023) 0:00:46.508 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:43 Thursday 08 August 2024 19:52:16 +0000 (0:00:00.023) 0:00:46.531 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:58 Thursday 08 August 2024 19:52:16 +0000 (0:00:00.023) 0:00:46.555 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 08 August 2024 19:52:16 +0000 (0:00:00.028) 0:00:46.584 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:92 Thursday 08 August 2024 19:52:16 +0000 (0:00:00.031) 0:00:46.615 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 08 August 2024 19:52:16 +0000 (0:00:00.060) 0:00:46.675 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:120 Thursday 08 August 2024 19:52:16 +0000 (0:00:00.024) 0:00:46.700 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:137 Thursday 08 August 2024 19:52:17 +0000 (0:00:00.025) 0:00:46.725 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 08 August 2024 19:52:17 +0000 (0:00:00.032) 0:00:46.758 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 08 August 2024 19:52:17 +0000 (0:00:00.024) 0:00:46.782 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:171 Thursday 08 August 2024 19:52:17 +0000 (0:00:00.024) 0:00:46.806 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:179 Thursday 08 August 2024 19:52:17 +0000 (0:00:00.226) 0:00:47.033 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-185123i9fcakn/tmpcdpofo11" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:188 Thursday 08 August 2024 19:52:17 +0000 (0:00:00.232) 0:00:47.266 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:200 Thursday 08 August 2024 19:52:17 +0000 (0:00:00.311) 0:00:47.577 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:206 Thursday 08 August 2024 19:52:17 +0000 (0:00:00.022) 0:00:47.599 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:210 Thursday 08 August 2024 19:52:17 +0000 (0:00:00.029) 0:00:47.629 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:215 Thursday 08 August 2024 19:52:17 +0000 (0:00:00.036) 0:00:47.665 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:221 Thursday 08 August 2024 19:52:18 +0000 (0:00:00.040) 0:00:47.705 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/run_test.yml:30 Thursday 08 August 2024 19:52:18 +0000 (0:00:00.129) 0:00:47.835 ******* included: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 08 August 2024 19:52:18 +0000 (0:00:00.055) 0:00:47.891 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 08 August 2024 19:52:18 +0000 (0:00:00.047) 0:00:47.938 ******* included: /WORKDIR/git-weekly-cis_hy99vf/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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 08 August 2024 19:52:18 +0000 (0:00:00.051) 0:00:47.989 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 08 August 2024 19:52:18 +0000 (0:00:00.032) 0:00:48.022 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 08 August 2024 19:52:18 +0000 (0:00:00.022) 0:00:48.045 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 08 August 2024 19:52:18 +0000 (0:00:00.022) 0:00:48.067 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 08 August 2024 19:52:19 +0000 (0:00:00.694) 0:00:48.761 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 08 August 2024 19:52:19 +0000 (0:00:00.835) 0:00:49.597 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 08 August 2024 19:52:19 +0000 (0:00:00.025) 0:00:49.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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 08 August 2024 19:52:19 +0000 (0:00:00.024) 0:00:49.647 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 08 August 2024 19:52:19 +0000 (0:00:00.022) 0:00:49.670 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:43 Thursday 08 August 2024 19:52:19 +0000 (0:00:00.024) 0:00:49.694 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:58 Thursday 08 August 2024 19:52:20 +0000 (0:00:00.024) 0:00:49.719 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 08 August 2024 19:52:20 +0000 (0:00:00.029) 0:00:49.748 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:92 Thursday 08 August 2024 19:52:20 +0000 (0:00:00.031) 0:00:49.780 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 08 August 2024 19:52:20 +0000 (0:00:00.046) 0:00:49.827 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:120 Thursday 08 August 2024 19:52:20 +0000 (0:00:00.025) 0:00:49.852 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:137 Thursday 08 August 2024 19:52:20 +0000 (0:00:00.024) 0:00:49.876 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 08 August 2024 19:52:20 +0000 (0:00:00.026) 0:00:49.902 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 08 August 2024 19:52:20 +0000 (0:00:00.058) 0:00:49.961 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:171 Thursday 08 August 2024 19:52:20 +0000 (0:00:00.021) 0:00:49.983 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:179 Thursday 08 August 2024 19:52:20 +0000 (0:00:00.218) 0:00:50.201 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-185123i9fcakn/tmpx1clab4a" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:188 Thursday 08 August 2024 19:52:20 +0000 (0:00:00.228) 0:00:50.429 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:200 Thursday 08 August 2024 19:52:20 +0000 (0:00:00.224) 0:00:50.654 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:206 Thursday 08 August 2024 19:52:20 +0000 (0:00:00.037) 0:00:50.692 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:210 Thursday 08 August 2024 19:52:21 +0000 (0:00:00.032) 0:00:50.724 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:215 Thursday 08 August 2024 19:52:21 +0000 (0:00:00.024) 0:00:50.749 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:221 Thursday 08 August 2024 19:52:21 +0000 (0:00:00.030) 0:00:50.779 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/run_test.yml:36 Thursday 08 August 2024 19:52:21 +0000 (0:00:00.141) 0:00:50.921 ******* included: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 08 August 2024 19:52:21 +0000 (0:00:00.040) 0:00:50.961 ******* included: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 08 August 2024 19:52:21 +0000 (0:00:00.038) 0:00:51.000 ******* 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-weekly-cis_hy99vf/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 08 August 2024 19:52:21 +0000 (0:00:00.025) 0:00:51.025 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 08 August 2024 19:52:21 +0000 (0:00:00.182) 0:00:51.207 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 08 August 2024 19:52:21 +0000 (0:00:00.026) 0:00:51.234 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020855", "end": "2024-08-08 19:52:21.655832", "rc": 1, "start": "2024-08-08 19:52:21.634977" } 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-weekly-cis_hy99vf/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 08 August 2024 19:52:21 +0000 (0:00:00.151) 0:00:51.385 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 08 August 2024 19:52:21 +0000 (0:00:00.025) 0:00:51.410 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 08 August 2024 19:52:21 +0000 (0:00:00.025) 0:00:51.436 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 08 August 2024 19:52:21 +0000 (0:00:00.024) 0:00:51.461 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 08 August 2024 19:52:21 +0000 (0:00:00.025) 0:00:51.487 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 08 August 2024 19:52:21 +0000 (0:00:00.024) 0:00:51.511 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/run_test.yml:42 Thursday 08 August 2024 19:52:21 +0000 (0:00:00.031) 0:00:51.543 ******* 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-weekly-cis_hy99vf/tests/playbooks/tasks/run_test.yml:47 Thursday 08 August 2024 19:52:21 +0000 (0:00:00.028) 0:00:51.571 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/run_test.yml:66 Thursday 08 August 2024 19:52:21 +0000 (0:00:00.031) 0:00:51.603 ******* included: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 08 August 2024 19:52:21 +0000 (0:00:00.050) 0:00:51.654 ******* 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.046851", "end": "2024-08-08 19:52:22.102117", "rc": 0, "start": "2024-08-08 19:52:22.055266" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tests_states.yml:126 Thursday 08 August 2024 19:52:22 +0000 (0:00:00.176) 0:00:51.830 ******* included: /WORKDIR/git-weekly-cis_hy99vf/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-weekly-cis_hy99vf/tests/playbooks/tasks/run_test.yml:5 Thursday 08 August 2024 19:52:22 +0000 (0:00:00.038) 0:00:51.868 ******* ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/run_test.yml:9 Thursday 08 August 2024 19:52:22 +0000 (0:00:00.024) 0:00:51.892 ******* 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-weekly-cis_hy99vf/tests/playbooks/tasks/run_test.yml:21 Thursday 08 August 2024 19:52:22 +0000 (0:00:00.088) 0:00:51.981 ******* included: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 08 August 2024 19:52:22 +0000 (0:00:00.044) 0:00:52.025 ******* included: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 08 August 2024 19:52:22 +0000 (0:00:00.036) 0:00:52.061 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003328", "end": "2024-08-08 19:52:22.467074", "rc": 0, "start": "2024-08-08 19:52:22.463746" } STDOUT: bond0 bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 08 August 2024 19:52:22 +0000 (0:00:00.136) 0:00:52.198 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bond0", "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 08 August 2024 19:52:22 +0000 (0:00:00.025) 0:00:52.223 ******* ok: [sut] => {} MSG: current_interfaces: ['bond0', 'bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/run_test.yml:24 Thursday 08 August 2024 19:52:22 +0000 (0:00:00.025) 0:00:52.248 ******* included: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 08 August 2024 19:52:22 +0000 (0:00:00.048) 0:00:52.297 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 08 August 2024 19:52:22 +0000 (0:00:00.039) 0:00:52.337 ******* included: /WORKDIR/git-weekly-cis_hy99vf/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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 08 August 2024 19:52:22 +0000 (0:00:00.044) 0:00:52.381 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 08 August 2024 19:52:22 +0000 (0:00:00.028) 0:00:52.409 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 08 August 2024 19:52:22 +0000 (0:00:00.024) 0:00:52.434 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 08 August 2024 19:52:22 +0000 (0:00:00.023) 0:00:52.457 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 08 August 2024 19:52:23 +0000 (0:00:00.658) 0:00:53.116 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 08 August 2024 19:52:24 +0000 (0:00:00.831) 0:00:53.947 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 08 August 2024 19:52:24 +0000 (0:00:00.025) 0:00:53.972 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 08 August 2024 19:52:24 +0000 (0:00:00.021) 0:00:53.994 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 08 August 2024 19:52:24 +0000 (0:00:00.023) 0:00:54.017 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:43 Thursday 08 August 2024 19:52:24 +0000 (0:00:00.022) 0:00:54.039 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:58 Thursday 08 August 2024 19:52:24 +0000 (0:00:00.035) 0:00:54.074 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 08 August 2024 19:52:24 +0000 (0:00:00.027) 0:00:54.102 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:92 Thursday 08 August 2024 19:52:24 +0000 (0:00:00.034) 0:00:54.137 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 08 August 2024 19:52:24 +0000 (0:00:00.045) 0:00:54.182 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:120 Thursday 08 August 2024 19:52:24 +0000 (0:00:00.025) 0:00:54.208 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:137 Thursday 08 August 2024 19:52:24 +0000 (0:00:00.054) 0:00:54.262 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 08 August 2024 19:52:24 +0000 (0:00:00.025) 0:00:54.288 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 08 August 2024 19:52:24 +0000 (0:00:00.022) 0:00:54.310 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:171 Thursday 08 August 2024 19:52:24 +0000 (0:00:00.021) 0:00:54.332 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:179 Thursday 08 August 2024 19:52:24 +0000 (0:00:00.224) 0:00:54.556 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-185123i9fcakn/tmpkb407lit" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:188 Thursday 08 August 2024 19:52:25 +0000 (0:00:00.221) 0:00:54.778 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:200 Thursday 08 August 2024 19:52:25 +0000 (0:00:00.231) 0:00:55.010 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:206 Thursday 08 August 2024 19:52:25 +0000 (0:00:00.029) 0:00:55.040 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:210 Thursday 08 August 2024 19:52:25 +0000 (0:00:00.034) 0:00:55.074 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:215 Thursday 08 August 2024 19:52:25 +0000 (0:00:00.049) 0:00:55.123 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:221 Thursday 08 August 2024 19:52:25 +0000 (0:00:00.034) 0:00:55.158 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 08 August 2024 19:52:25 +0000 (0:00:00.130) 0:00:55.289 ******* 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-weekly-cis_hy99vf/tests/playbooks/tasks/activate_profile.yml:3 Thursday 08 August 2024 19:52:25 +0000 (0:00:00.025) 0:00:55.314 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 08 August 2024 19:52:25 +0000 (0:00:00.038) 0:00:55.353 ******* included: /WORKDIR/git-weekly-cis_hy99vf/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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 08 August 2024 19:52:25 +0000 (0:00:00.095) 0:00:55.449 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 08 August 2024 19:52:25 +0000 (0:00:00.033) 0:00:55.482 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 08 August 2024 19:52:25 +0000 (0:00:00.031) 0:00:55.514 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 08 August 2024 19:52:25 +0000 (0:00:00.031) 0:00:55.545 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 08 August 2024 19:52:26 +0000 (0:00:00.657) 0:00:56.202 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 08 August 2024 19:52:27 +0000 (0:00:00.890) 0:00:57.093 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 08 August 2024 19:52:27 +0000 (0:00:00.031) 0:00:57.124 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 08 August 2024 19:52:27 +0000 (0:00:00.034) 0:00:57.159 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 08 August 2024 19:52:27 +0000 (0:00:00.023) 0:00:57.182 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:43 Thursday 08 August 2024 19:52:27 +0000 (0:00:00.025) 0:00:57.208 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:58 Thursday 08 August 2024 19:52:27 +0000 (0:00:00.023) 0:00:57.231 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 08 August 2024 19:52:27 +0000 (0:00:00.064) 0:00:57.296 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:92 Thursday 08 August 2024 19:52:27 +0000 (0:00:00.031) 0:00:57.327 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 08 August 2024 19:52:27 +0000 (0:00:00.061) 0:00:57.389 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:120 Thursday 08 August 2024 19:52:27 +0000 (0:00:00.035) 0:00:57.425 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:137 Thursday 08 August 2024 19:52:27 +0000 (0:00:00.024) 0:00:57.449 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 08 August 2024 19:52:27 +0000 (0:00:00.031) 0:00:57.480 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 08 August 2024 19:52:27 +0000 (0:00:00.041) 0:00:57.522 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:171 Thursday 08 August 2024 19:52:27 +0000 (0:00:00.024) 0:00:57.547 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:179 Thursday 08 August 2024 19:52:28 +0000 (0:00:00.223) 0:00:57.771 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-185123i9fcakn/tmp1m_abfj6" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:188 Thursday 08 August 2024 19:52:28 +0000 (0:00:00.261) 0:00:58.032 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:200 Thursday 08 August 2024 19:52:28 +0000 (0:00:00.437) 0:00:58.469 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:206 Thursday 08 August 2024 19:52:28 +0000 (0:00:00.022) 0:00:58.492 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:210 Thursday 08 August 2024 19:52:28 +0000 (0:00:00.023) 0:00:58.515 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:215 Thursday 08 August 2024 19:52:28 +0000 (0:00:00.023) 0:00:58.539 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:221 Thursday 08 August 2024 19:52:28 +0000 (0:00:00.024) 0:00:58.563 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 08 August 2024 19:52:29 +0000 (0:00:00.153) 0:00:58.716 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 08 August 2024 19:52:29 +0000 (0:00:00.037) 0:00:58.754 ******* included: /WORKDIR/git-weekly-cis_hy99vf/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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 08 August 2024 19:52:29 +0000 (0:00:00.042) 0:00:58.796 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 08 August 2024 19:52:29 +0000 (0:00:00.028) 0:00:58.825 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 08 August 2024 19:52:29 +0000 (0:00:00.030) 0:00:58.855 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 08 August 2024 19:52:29 +0000 (0:00:00.027) 0:00:58.882 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 08 August 2024 19:52:29 +0000 (0:00:00.659) 0:00:59.541 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 08 August 2024 19:52:30 +0000 (0:00:00.832) 0:01:00.374 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 08 August 2024 19:52:30 +0000 (0:00:00.074) 0:01:00.448 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 08 August 2024 19:52:30 +0000 (0:00:00.054) 0:01:00.503 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 08 August 2024 19:52:30 +0000 (0:00:00.052) 0:01:00.555 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:43 Thursday 08 August 2024 19:52:30 +0000 (0:00:00.031) 0:01:00.586 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:58 Thursday 08 August 2024 19:52:30 +0000 (0:00:00.027) 0:01:00.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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 08 August 2024 19:52:30 +0000 (0:00:00.029) 0:01:00.643 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:92 Thursday 08 August 2024 19:52:30 +0000 (0:00:00.027) 0:01:00.670 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 08 August 2024 19:52:31 +0000 (0:00:00.048) 0:01:00.719 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:120 Thursday 08 August 2024 19:52:31 +0000 (0:00:00.025) 0:01:00.745 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:137 Thursday 08 August 2024 19:52:31 +0000 (0:00:00.030) 0:01:00.775 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 08 August 2024 19:52:31 +0000 (0:00:00.031) 0:01:00.807 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 08 August 2024 19:52:31 +0000 (0:00:00.032) 0:01:00.839 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:171 Thursday 08 August 2024 19:52:31 +0000 (0:00:00.026) 0:01:00.865 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:179 Thursday 08 August 2024 19:52:31 +0000 (0:00:00.227) 0:01:01.093 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-185123i9fcakn/tmpu03891rl" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:188 Thursday 08 August 2024 19:52:31 +0000 (0:00:00.236) 0:01:01.329 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:200 Thursday 08 August 2024 19:52:31 +0000 (0:00:00.316) 0:01:01.646 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:206 Thursday 08 August 2024 19:52:32 +0000 (0:00:00.103) 0:01:01.749 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:210 Thursday 08 August 2024 19:52:32 +0000 (0:00:00.024) 0:01:01.774 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:215 Thursday 08 August 2024 19:52:32 +0000 (0:00:00.025) 0:01:01.799 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:221 Thursday 08 August 2024 19:52:32 +0000 (0:00:00.023) 0:01:01.823 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/run_test.yml:30 Thursday 08 August 2024 19:52:32 +0000 (0:00:00.130) 0:01:01.953 ******* included: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 08 August 2024 19:52:32 +0000 (0:00:00.043) 0:01:01.997 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 08 August 2024 19:52:32 +0000 (0:00:00.037) 0:01:02.034 ******* included: /WORKDIR/git-weekly-cis_hy99vf/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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 08 August 2024 19:52:32 +0000 (0:00:00.041) 0:01:02.076 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 08 August 2024 19:52:32 +0000 (0:00:00.028) 0:01:02.105 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 08 August 2024 19:52:32 +0000 (0:00:00.023) 0:01:02.128 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 08 August 2024 19:52:32 +0000 (0:00:00.029) 0:01:02.158 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 08 August 2024 19:52:33 +0000 (0:00:00.657) 0:01:02.815 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 08 August 2024 19:52:33 +0000 (0:00:00.863) 0:01:03.679 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 08 August 2024 19:52:34 +0000 (0:00:00.026) 0:01:03.705 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 08 August 2024 19:52:34 +0000 (0:00:00.027) 0:01:03.733 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 08 August 2024 19:52:34 +0000 (0:00:00.022) 0:01:03.756 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:43 Thursday 08 August 2024 19:52:34 +0000 (0:00:00.023) 0:01:03.779 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:58 Thursday 08 August 2024 19:52:34 +0000 (0:00:00.021) 0:01:03.801 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 08 August 2024 19:52:34 +0000 (0:00:00.027) 0:01:03.829 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:92 Thursday 08 August 2024 19:52:34 +0000 (0:00:00.026) 0:01:03.855 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 08 August 2024 19:52:34 +0000 (0:00:00.047) 0:01:03.902 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:120 Thursday 08 August 2024 19:52:34 +0000 (0:00:00.024) 0:01:03.926 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:137 Thursday 08 August 2024 19:52:34 +0000 (0:00:00.024) 0:01:03.951 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 08 August 2024 19:52:34 +0000 (0:00:00.029) 0:01:03.980 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 08 August 2024 19:52:34 +0000 (0:00:00.024) 0:01:04.005 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:171 Thursday 08 August 2024 19:52:34 +0000 (0:00:00.085) 0:01:04.091 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:179 Thursday 08 August 2024 19:52:34 +0000 (0:00:00.277) 0:01:04.368 ******* ok: [sut] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/home/jenkins/.ansible/tmp/ansible-local-185123i9fcakn/tmpzf9tqozo" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:188 Thursday 08 August 2024 19:52:34 +0000 (0:00:00.227) 0:01:04.596 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:200 Thursday 08 August 2024 19:52:35 +0000 (0:00:00.222) 0:01:04.819 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:206 Thursday 08 August 2024 19:52:35 +0000 (0:00:00.024) 0:01:04.843 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:210 Thursday 08 August 2024 19:52:35 +0000 (0:00:00.027) 0:01:04.871 ******* 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-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:215 Thursday 08 August 2024 19:52:35 +0000 (0:00:00.027) 0:01:04.899 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:221 Thursday 08 August 2024 19:52:35 +0000 (0:00:00.023) 0:01:04.922 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/run_test.yml:36 Thursday 08 August 2024 19:52:35 +0000 (0:00:00.128) 0:01:05.050 ******* included: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 08 August 2024 19:52:35 +0000 (0:00:00.046) 0:01:05.097 ******* included: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 08 August 2024 19:52:35 +0000 (0:00:00.039) 0:01:05.136 ******* 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-weekly-cis_hy99vf/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 08 August 2024 19:52:35 +0000 (0:00:00.024) 0:01:05.160 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 08 August 2024 19:52:35 +0000 (0:00:00.147) 0:01:05.308 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 08 August 2024 19:52:35 +0000 (0:00:00.065) 0:01:05.373 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021294", "end": "2024-08-08 19:52:35.801723", "rc": 1, "start": "2024-08-08 19:52:35.780429" } 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-weekly-cis_hy99vf/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 08 August 2024 19:52:35 +0000 (0:00:00.162) 0:01:05.535 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 08 August 2024 19:52:35 +0000 (0:00:00.026) 0:01:05.562 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 08 August 2024 19:52:35 +0000 (0:00:00.034) 0:01:05.597 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 08 August 2024 19:52:35 +0000 (0:00:00.028) 0:01:05.625 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 08 August 2024 19:52:35 +0000 (0:00:00.035) 0:01:05.660 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 08 August 2024 19:52:35 +0000 (0:00:00.028) 0:01:05.689 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Thursday 08 August 2024 19:52:36 +0000 (0:00:00.026) 0:01:05.716 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.598005", "end": "2024-08-08 19:52:36.718331", "rc": 0, "start": "2024-08-08 19:52:36.120326" } STDOUT: NetworkManager-1.18.8-2.el7_9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Thursday 08 August 2024 19:52:36 +0000 (0:00:00.731) 0:01:06.447 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Thursday 08 August 2024 19:52:36 +0000 (0:00:00.024) 0:01:06.471 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.18.8-2.el7_9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/run_test.yml:42 Thursday 08 August 2024 19:52:36 +0000 (0:00:00.022) 0:01:06.494 ******* 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-weekly-cis_hy99vf/tests/playbooks/tasks/run_test.yml:47 Thursday 08 August 2024 19:52:36 +0000 (0:00:00.028) 0:01:06.522 ******* 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-weekly-cis_hy99vf/tests/playbooks/tasks/run_test.yml:66 Thursday 08 August 2024 19:52:36 +0000 (0:00:00.022) 0:01:06.545 ******* included: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/cleanup_profile+device.yml for sut included: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 08 August 2024 19:52:36 +0000 (0:00:00.044) 0:01:06.589 ******* 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.050003", "end": "2024-08-08 19:52:37.043112", "rc": 0, "start": "2024-08-08 19:52:36.993109" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/check_network_dns.yml:6 Thursday 08 August 2024 19:52:37 +0000 (0:00:00.212) 0:01:06.802 ******* 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.007075", "end": "2024-08-08 19:52:37.212718", "rc": 0, "start": "2024-08-08 19:52:37.205643" } 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 0e:b9:52:b5:7a:99 brd ff:ff:ff:ff:ff:ff inet 10.31.40.207/22 brd 10.31.43.255 scope global noprefixroute dynamic eth0 valid_lft 3313sec preferred_lft 3313sec inet6 fe80::cb9:52ff:feb5:7a99/64 scope link valid_lft forever preferred_lft forever 13: bond0: mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether fa:ab:d9:6c:1b:64 brd ff:ff:ff:ff:ff:ff 39: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether ce:da:e0:56:54:a3 brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 brd 192.0.2.73 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever inet6 fe80::ccda:e0ff:fe56:54a3/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.40.207 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 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 fe80::/64 dev rpltstbr proto kernel metric 256 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-weekly-cis_hy99vf/tests/playbooks/tasks/check_network_dns.yml:24 Thursday 08 August 2024 19:52:37 +0000 (0:00:00.139) 0:01:06.942 ******* 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.833869", "end": "2024-08-08 19:52:38.182803", "rc": 0, "start": "2024-08-08 19:52:37.348934" } STDOUT: CHECK DNS AND CONNECTIVITY 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 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 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 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 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 757 0 --:--:-- --:--:-- --:--:-- 756 % 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 723 0 --:--:-- --:--:-- --:--:-- 723 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=338 changed=14 unreachable=0 failed=0 skipped=284 rescued=0 ignored=10 Thursday 08 August 2024 19:52:38 +0000 (0:00:00.959) 0:01:07.901 ******* =============================================================================== linux-system-roles.network : Install packages --------------------------- 2.58s /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:92 linux-system-roles.network : Configure networking connection profiles --- 1.88s /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:188 linux-system-roles.network : Enable network service --------------------- 1.41s /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:171 linux-system-roles.network : Configure networking connection profiles --- 1.32s /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:188 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.19s /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:179 linux-system-roles.network : Ensure initscripts network file dependency is present --- 1.19s /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:179 linux-system-roles.network : Check which packages are installed --------- 1.02s /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Enable network service --------------------- 1.01s /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/main.yml:171 Verify DNS and network connectivity ------------------------------------- 0.96s /WORKDIR/git-weekly-cis_hy99vf/tests/playbooks/tasks/check_network_dns.yml:24 - linux-system-roles.network : Check which packages are installed --------- 0.91s /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.90s /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.89s /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.86s /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.86s /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.86s /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.85s /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.85s /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.85s /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.84s /WORKDIR/git-weekly-cis_hy99vf/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.84s /WORKDIR/git-weekly-cis_hy99vf/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. ---^---^---^---^---^---