# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] 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.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-weekly-ci2kgazuyk/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_port.yml ******************************************************* 1 plays in /WORKDIR/git-weekly-ci2kgazuyk/tests/tests_port.yml PLAY [Test cockpit_* role options] ********************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ci2kgazuyk/tests/tests_port.yml:2 Saturday 13 July 2024 12:57:49 +0000 (0:00:00.011) 0:00:00.011 ********* ok: [sut] TASK [Install SELinux tools] *************************************************** task path: /WORKDIR/git-weekly-ci2kgazuyk/tests/tests_port.yml:8 Saturday 13 July 2024 12:57:49 +0000 (0:00:00.697) 0:00:00.709 ********* included: /WORKDIR/git-weekly-ci2kgazuyk/tests/tasks/install_selinux_tools.yml for sut TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ci2kgazuyk/tests/tasks/install_selinux_tools.yml:6 Saturday 13 July 2024 12:57:49 +0000 (0:00:00.011) 0:00:00.720 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-ci2kgazuyk/tests/tasks/install_selinux_tools.yml:11 Saturday 13 July 2024 12:57:49 +0000 (0:00:00.175) 0:00:00.895 ********* ok: [sut] => { "ansible_facts": { "__cockpit_is_ostree": false }, "changed": false } TASK [Install SELinux python2 tools] ******************************************* task path: /WORKDIR/git-weekly-ci2kgazuyk/tests/tasks/install_selinux_tools.yml:15 Saturday 13 July 2024 12:57:49 +0000 (0:00:00.012) 0:00:00.908 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [ "libselinux-python-2.5-15.el7.x86_64 providing libselinux-python is already installed", "policycoreutils-python-2.5-34.el7.x86_64 providing policycoreutils-python is already installed" ] } lsrpackages: libselinux-python policycoreutils-python TASK [Install SELinux python3 tools] ******************************************* task path: /WORKDIR/git-weekly-ci2kgazuyk/tests/tasks/install_selinux_tools.yml:26 Saturday 13 July 2024 12:57:50 +0000 (0:00:00.404) 0:00:01.312 ********* skipping: [sut] => { "changed": false, "false_condition": "ansible_python_version is version('3', '>=')", "skip_reason": "Conditional result was False" } TASK [Install SELinux tool semanage] ******************************************* task path: /WORKDIR/git-weekly-ci2kgazuyk/tests/tasks/install_selinux_tools.yml:37 Saturday 13 July 2024 12:57:50 +0000 (0:00:00.009) 0:00:01.322 ********* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == \"Fedora\" or (ansible_distribution_major_version | int > 7 and ansible_distribution in [\"CentOS\", \"RedHat\", \"Rocky\"])", "skip_reason": "Conditional result was False" } TASK [Allow cockpit to own customized port in SELinux] ************************* task path: /WORKDIR/git-weekly-ci2kgazuyk/tests/tests_port.yml:11 Saturday 13 July 2024 12:57:50 +0000 (0:00:00.016) 0:00:01.339 ********* ok: [sut] => { "changed": false, "cmd": "set -eu\nif selinuxenabled; then\n semanage port -m -t websm_port_t -p tcp 443\nfi\n", "delta": "0:00:05.334398", "end": "2024-07-13 08:57:55.819956", "rc": 0, "start": "2024-07-13 08:57:50.485558" } TASK [Run cockpit role] ******************************************************** task path: /WORKDIR/git-weekly-ci2kgazuyk/tests/tests_port.yml:19 Saturday 13 July 2024 12:57:55 +0000 (0:00:05.508) 0:00:06.847 ********* TASK [fedora.linux_system_roles.cockpit : Ensure ansible_facts and variables used by role] *** task path: /WORKDIR/git-weekly-ci2kgazuyk/.collection/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:2 Saturday 13 July 2024 12:57:55 +0000 (0:00:00.024) 0:00:06.871 ********* included: /WORKDIR/git-weekly-ci2kgazuyk/.collection/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.cockpit : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-ci2kgazuyk/.collection/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:2 Saturday 13 July 2024 12:57:55 +0000 (0:00:00.011) 0:00:06.883 ********* skipping: [sut] => { "changed": false, "false_condition": "__cockpit_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.cockpit : Check if system is ostree] *********** task path: /WORKDIR/git-weekly-ci2kgazuyk/.collection/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:10 Saturday 13 July 2024 12:57:55 +0000 (0:00:00.017) 0:00:06.900 ********* skipping: [sut] => { "changed": false, "false_condition": "not __cockpit_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.cockpit : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-ci2kgazuyk/.collection/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:15 Saturday 13 July 2024 12:57:55 +0000 (0:00:00.011) 0:00:06.911 ********* skipping: [sut] => { "changed": false, "false_condition": "not __cockpit_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.cockpit : Set version specific variables] ****** task path: /WORKDIR/git-weekly-ci2kgazuyk/.collection/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:19 Saturday 13 July 2024 12:57:55 +0000 (0:00:00.011) 0:00:06.923 ********* ok: [sut] => (item=/WORKDIR/git-weekly-ci2kgazuyk/.collection/ansible_collections/fedora/linux_system_roles/roles/cockpit/vars/CentOS-7.yml) => { "ansible_facts": { "__cockpit_packages": { "default": "{{ __cockpit_packages_minimal + __cockpit_packages_default }}", "full": "{{ __cockpit_packages_minimal + __cockpit_packages_default + __cockpit_packages_full }}", "minimal": "{{ __cockpit_packages_minimal }}" }, "__cockpit_packages_default": [ "cockpit", "cockpit-networkmanager", "cockpit-packagekit", "cockpit-selinux", "cockpit-storaged" ], "__cockpit_packages_exclude": [ "cockpit-machines-ovirt", "cockpit-tests" ], "__cockpit_packages_full": [ "cockpit-composer", "cockpit-dashboard", "cockpit-doc", "cockpit-docker", "cockpit-machines", "cockpit-pcp", "cockpit-shell" ], "__cockpit_packages_minimal": [ "cockpit-system", "cockpit-ws" ] }, "ansible_included_var_files": [ "/WORKDIR/git-weekly-ci2kgazuyk/.collection/ansible_collections/fedora/linux_system_roles/roles/cockpit/vars/CentOS-7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/git-weekly-ci2kgazuyk/.collection/ansible_collections/fedora/linux_system_roles/roles/cockpit/vars/CentOS-7.yml" } TASK [fedora.linux_system_roles.cockpit : List active RHEL repositories] ******* task path: /WORKDIR/git-weekly-ci2kgazuyk/.collection/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:11 Saturday 13 July 2024 12:57:55 +0000 (0:00:00.014) 0:00:06.937 ********* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'RedHat'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.cockpit : Enable RHEL repositories] ************ task path: /WORKDIR/git-weekly-ci2kgazuyk/.collection/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:18 Saturday 13 July 2024 12:57:55 +0000 (0:00:00.007) 0:00:06.944 ********* skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution == 'RedHat'", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.cockpit : Manage cockpit packages using platform specific package manager if applicable] *** task path: /WORKDIR/git-weekly-ci2kgazuyk/.collection/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:23 Saturday 13 July 2024 12:57:55 +0000 (0:00:00.007) 0:00:06.952 ********* included: /WORKDIR/git-weekly-ci2kgazuyk/.collection/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/setup-yum.yml for sut => (item=/WORKDIR/git-weekly-ci2kgazuyk/.collection/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/setup-yum.yml) TASK [fedora.linux_system_roles.cockpit : If choosing custom package set, ensure minimal cockpit is included] *** task path: /WORKDIR/git-weekly-ci2kgazuyk/.collection/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/setup-yum.yml:2 Saturday 13 July 2024 12:57:55 +0000 (0:00:00.024) 0:00:06.976 ********* ok: [sut] => { "ansible_facts": { "cockpit_packages": "minimal" }, "changed": false } TASK [fedora.linux_system_roles.cockpit : Ensure Cockpit Web Console packages are installed.] *** task path: /WORKDIR/git-weekly-ci2kgazuyk/.collection/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/setup-yum.yml:7 Saturday 13 July 2024 12:57:55 +0000 (0:00:00.014) 0:00:06.990 ********* fatal: [sut]: FAILED! => { "changed": false } MSG: Failure talking to yum: Cannot find a valid baseurl for repo: base/7/x86_64 TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-ci2kgazuyk/tests/tests_port.yml:56 Saturday 13 July 2024 12:57:56 +0000 (0:00:00.393) 0:00:07.384 ********* included: /WORKDIR/git-weekly-ci2kgazuyk/tests/tasks/cleanup.yml for sut TASK [Cleanup - packages] ****************************************************** task path: /WORKDIR/git-weekly-ci2kgazuyk/tests/tasks/cleanup.yml:2 Saturday 13 July 2024 12:57:56 +0000 (0:00:00.014) 0:00:07.399 ********* ok: [sut] => { "changed": false, "rc": 0, "results": [ "cockpit-bridge is not installed", "cockpit-ws is not installed", "cockpit-doc is not installed" ] } TASK [Cleanup - services] ****************************************************** task path: /WORKDIR/git-weekly-ci2kgazuyk/tests/tasks/cleanup.yml:15 Saturday 13 July 2024 12:57:56 +0000 (0:00:00.488) 0:00:07.887 ********* skipping: [sut] => { "changed": false, "false_condition": "__cockpit_is_ostree | d(false)", "skip_reason": "Conditional result was False" } TASK [Cleanup - find certificates] ********************************************* task path: /WORKDIR/git-weekly-ci2kgazuyk/tests/tasks/cleanup.yml:25 Saturday 13 July 2024 12:57:56 +0000 (0:00:00.016) 0:00:07.904 ********* ok: [sut] => { "changed": false, "examined": 0, "files": [], "matched": 0, "skipped_paths": { "/etc/cockpit/ws-certs.d/": "'/etc/cockpit/ws-certs.d/' is not a directory" } } MSG: Not all paths examined, check warnings for details TASK [Cleanup - certificates] ************************************************** task path: /WORKDIR/git-weekly-ci2kgazuyk/tests/tasks/cleanup.yml:35 Saturday 13 July 2024 12:57:57 +0000 (0:00:00.172) 0:00:08.076 ********* skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Cleanup - config file] *************************************************** task path: /WORKDIR/git-weekly-ci2kgazuyk/tests/tasks/cleanup.yml:44 Saturday 13 July 2024 12:57:57 +0000 (0:00:00.007) 0:00:08.084 ********* ok: [sut] => { "changed": false, "path": "/etc/cockpit/cockpit.conf", "state": "absent" } TASK [Cleanup - port customization] ******************************************** task path: /WORKDIR/git-weekly-ci2kgazuyk/tests/tasks/cleanup.yml:52 Saturday 13 July 2024 12:57:57 +0000 (0:00:00.182) 0:00:08.267 ********* ok: [sut] => { "changed": false, "path": "/etc/systemd/system/cockpit.socket.d/", "state": "absent" } TASK [Cleanup - Reload systemd] ************************************************ task path: /WORKDIR/git-weekly-ci2kgazuyk/tests/tasks/cleanup.yml:60 Saturday 13 July 2024 12:57:57 +0000 (0:00:00.120) 0:00:08.387 ********* ok: [sut] => { "changed": false, "name": null, "status": {} } to retry, use: --limit @/tmp/tests_port.retry PLAY RECAP ********************************************************************* sut : ok=16 changed=0 unreachable=0 failed=1 skipped=9 rescued=0 ignored=0 Saturday 13 July 2024 12:57:57 +0000 (0:00:00.400) 0:00:08.787 ********* =============================================================================== Allow cockpit to own customized port in SELinux ------------------------- 5.51s /WORKDIR/git-weekly-ci2kgazuyk/tests/tests_port.yml:11 ------------------------ Gathering Facts --------------------------------------------------------- 0.70s /WORKDIR/git-weekly-ci2kgazuyk/tests/tests_port.yml:2 ------------------------- Cleanup - packages ------------------------------------------------------ 0.49s /WORKDIR/git-weekly-ci2kgazuyk/tests/tasks/cleanup.yml:2 ---------------------- Install SELinux python2 tools ------------------------------------------- 0.40s /WORKDIR/git-weekly-ci2kgazuyk/tests/tasks/install_selinux_tools.yml:15 ------- Cleanup - Reload systemd ------------------------------------------------ 0.40s /WORKDIR/git-weekly-ci2kgazuyk/tests/tasks/cleanup.yml:60 --------------------- fedora.linux_system_roles.cockpit : Ensure Cockpit Web Console packages are installed. --- 0.39s /WORKDIR/git-weekly-ci2kgazuyk/.collection/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/setup-yum.yml:7 Cleanup - config file --------------------------------------------------- 0.18s /WORKDIR/git-weekly-ci2kgazuyk/tests/tasks/cleanup.yml:44 --------------------- Check if system is ostree ----------------------------------------------- 0.18s /WORKDIR/git-weekly-ci2kgazuyk/tests/tasks/install_selinux_tools.yml:6 -------- Cleanup - find certificates --------------------------------------------- 0.17s /WORKDIR/git-weekly-ci2kgazuyk/tests/tasks/cleanup.yml:25 --------------------- Cleanup - port customization -------------------------------------------- 0.12s /WORKDIR/git-weekly-ci2kgazuyk/tests/tasks/cleanup.yml:52 --------------------- Run cockpit role -------------------------------------------------------- 0.02s /WORKDIR/git-weekly-ci2kgazuyk/tests/tests_port.yml:19 ------------------------ fedora.linux_system_roles.cockpit : Manage cockpit packages using platform specific package manager if applicable --- 0.02s /WORKDIR/git-weekly-ci2kgazuyk/.collection/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:23 fedora.linux_system_roles.cockpit : Ensure ansible_facts used by role --- 0.02s /WORKDIR/git-weekly-ci2kgazuyk/.collection/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:2 Cleanup - services ------------------------------------------------------ 0.02s /WORKDIR/git-weekly-ci2kgazuyk/tests/tasks/cleanup.yml:15 --------------------- Install SELinux tool semanage ------------------------------------------- 0.02s /WORKDIR/git-weekly-ci2kgazuyk/tests/tasks/install_selinux_tools.yml:37 ------- Cleanup ----------------------------------------------------------------- 0.01s /WORKDIR/git-weekly-ci2kgazuyk/tests/tests_port.yml:56 ------------------------ fedora.linux_system_roles.cockpit : Set version specific variables ------ 0.01s /WORKDIR/git-weekly-ci2kgazuyk/.collection/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/set_vars.yml:19 fedora.linux_system_roles.cockpit : If choosing custom package set, ensure minimal cockpit is included --- 0.01s /WORKDIR/git-weekly-ci2kgazuyk/.collection/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/setup-yum.yml:2 Set flag to indicate system is ostree ----------------------------------- 0.01s /WORKDIR/git-weekly-ci2kgazuyk/tests/tasks/install_selinux_tools.yml:11 ------- fedora.linux_system_roles.cockpit : Ensure ansible_facts and variables used by role --- 0.01s /WORKDIR/git-weekly-ci2kgazuyk/.collection/ansible_collections/fedora/linux_system_roles/roles/cockpit/tasks/main.yml:2 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. [WARNING]: Skipped '/etc/cockpit/ws-certs.d/' path due to this access issue: '/etc/cockpit/ws-certs.d/' is not a directory ---^---^---^---^---^---