# 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_default.yml **************************************************** 1 plays in /WORKDIR/git-fix-testskmbxw55b/tests/tests_default.yml PLAY [Ensure mandatory variables are defined] ********************************** META: ran handlers TASK [Set up test environment] ************************************************* task path: /WORKDIR/git-fix-testskmbxw55b/tests/tests_default.yml:10 Tuesday 12 December 2023 17:06:19 +0000 (0:00:00.013) 0:00:00.013 ****** TASK [linux-system-roles.ha_cluster : Set node name to 'localhost' for single-node clusters] *** task path: /WORKDIR/git-fix-testskmbxw55b/tests/roles/linux-system-roles.ha_cluster/tasks/test_setup.yml:9 Tuesday 12 December 2023 17:06:19 +0000 (0:00:00.025) 0:00:00.039 ****** ok: [sut] => { "ansible_facts": { "inventory_hostname": "localhost" }, "changed": false } TASK [linux-system-roles.ha_cluster : Ensure facts used by tests] ************** task path: /WORKDIR/git-fix-testskmbxw55b/tests/roles/linux-system-roles.ha_cluster/tasks/test_setup.yml:14 Tuesday 12 December 2023 17:06:19 +0000 (0:00:00.019) 0:00:00.058 ****** ok: [sut] TASK [linux-system-roles.ha_cluster : Check if system is ostree] *************** task path: /WORKDIR/git-fix-testskmbxw55b/tests/roles/linux-system-roles.ha_cluster/tasks/test_setup.yml:22 Tuesday 12 December 2023 17:06:19 +0000 (0:00:00.453) 0:00:00.512 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.ha_cluster : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-fix-testskmbxw55b/tests/roles/linux-system-roles.ha_cluster/tasks/test_setup.yml:27 Tuesday 12 December 2023 17:06:20 +0000 (0:00:00.267) 0:00:00.779 ****** ok: [sut] => { "ansible_facts": { "__ha_cluster_is_ostree": false }, "changed": false } TASK [linux-system-roles.ha_cluster : Do not try to enable RHEL repositories] *** task path: /WORKDIR/git-fix-testskmbxw55b/tests/roles/linux-system-roles.ha_cluster/tasks/test_setup.yml:32 Tuesday 12 December 2023 17:06:20 +0000 (0:00:00.019) 0:00:00.799 ****** ok: [sut] => { "ansible_facts": { "ha_cluster_enable_repos": false }, "changed": false } TASK [linux-system-roles.ha_cluster : Copy nss-altfiles ha_cluster users to /etc/passwd] *** task path: /WORKDIR/git-fix-testskmbxw55b/tests/roles/linux-system-roles.ha_cluster/tasks/test_setup.yml:41 Tuesday 12 December 2023 17:06:20 +0000 (0:00:00.018) 0:00:00.817 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role] ************************************************************ task path: /WORKDIR/git-fix-testskmbxw55b/tests/tests_default.yml:15 Tuesday 12 December 2023 17:06:20 +0000 (0:00:00.015) 0:00:00.833 ****** TASK [linux-system-roles.ha_cluster : Set platform/version specific variables] *** task path: /WORKDIR/git-fix-testskmbxw55b/tests/roles/linux-system-roles.ha_cluster/tasks/main.yml:3 Tuesday 12 December 2023 17:06:20 +0000 (0:00:00.019) 0:00:00.852 ****** included: /WORKDIR/git-fix-testskmbxw55b/tests/roles/linux-system-roles.ha_cluster/tasks/set_vars.yml for sut TASK [linux-system-roles.ha_cluster : Ensure ansible_facts used by role] ******* task path: /WORKDIR/git-fix-testskmbxw55b/tests/roles/linux-system-roles.ha_cluster/tasks/set_vars.yml:2 Tuesday 12 December 2023 17:06:20 +0000 (0:00:00.010) 0:00:00.863 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ha_cluster : Check if system is ostree] *************** task path: /WORKDIR/git-fix-testskmbxw55b/tests/roles/linux-system-roles.ha_cluster/tasks/set_vars.yml:11 Tuesday 12 December 2023 17:06:20 +0000 (0:00:00.017) 0:00:00.881 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ha_cluster : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-fix-testskmbxw55b/tests/roles/linux-system-roles.ha_cluster/tasks/set_vars.yml:16 Tuesday 12 December 2023 17:06:20 +0000 (0:00:00.016) 0:00:00.898 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ha_cluster : Set platform/version specific variables] *** task path: /WORKDIR/git-fix-testskmbxw55b/tests/roles/linux-system-roles.ha_cluster/tasks/set_vars.yml:20 Tuesday 12 December 2023 17:06:20 +0000 (0:00:00.017) 0:00:00.915 ****** ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__ha_cluster_fullstack_node_packages": [ "corosync", "libknet1-plugins-all", "resource-agents", "pacemaker", "openssl" ], "__ha_cluster_pcs_provider": "pcs-0.10", "__ha_cluster_qdevice_node_packages": [ "corosync-qdevice", "bash", "coreutils", "curl", "grep", "nss-tools", "openssl", "sed" ], "__ha_cluster_repos": [], "__ha_cluster_role_essential_packages": [ "pcs", "corosync-qnetd" ], "__ha_cluster_sbd_packages": [ "sbd" ], "__ha_cluster_services": [ "corosync", "corosync-qdevice", "pacemaker" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-testskmbxw55b/tests/roles/linux-system-roles.ha_cluster/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat.yml) => { "ansible_facts": { "__ha_cluster_fullstack_node_packages": [ "corosync", "libknet1-plugins-all", "resource-agents", "pacemaker", "openssl" ], "__ha_cluster_pcs_provider": "pcs-0.10", "__ha_cluster_qdevice_node_packages": [ "corosync-qdevice", "bash", "coreutils", "curl", "grep", "nss-tools", "openssl", "sed" ], "__ha_cluster_repos": [], "__ha_cluster_role_essential_packages": [ "pcs", "corosync-qnetd" ], "__ha_cluster_sbd_packages": [ "sbd" ], "__ha_cluster_services": [ "corosync", "corosync-qdevice", "pacemaker" ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-testskmbxw55b/tests/roles/linux-system-roles.ha_cluster/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [sut] => (item=RedHat_8.yml) => { "ansible_facts": { "__ha_cluster_repos": [ { "id": "rhel-8-for-{{ ansible_architecture }}-highavailability-rpms", "name": "High Availability" }, { "id": "rhel-8-for-{{ ansible_architecture }}-resilientstorage-rpms", "name": "Resilient Storage" } ] }, "ansible_included_var_files": [ "/WORKDIR/git-fix-testskmbxw55b/tests/roles/linux-system-roles.ha_cluster/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [sut] => (item=RedHat_8.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ha_cluster : Set Linux Pacemaker shell specific variables] *** task path: /WORKDIR/git-fix-testskmbxw55b/tests/roles/linux-system-roles.ha_cluster/tasks/set_vars.yml:35 Tuesday 12 December 2023 17:06:20 +0000 (0:00:00.036) 0:00:00.952 ****** ok: [sut] => { "ansible_facts": {}, "ansible_included_var_files": [ "/WORKDIR/git-fix-testskmbxw55b/tests/roles/linux-system-roles.ha_cluster/vars/shell_pcs.yml" ], "changed": false } TASK [linux-system-roles.ha_cluster : Enable package repositories] ************* task path: /WORKDIR/git-fix-testskmbxw55b/tests/roles/linux-system-roles.ha_cluster/tasks/main.yml:6 Tuesday 12 December 2023 17:06:20 +0000 (0:00:00.022) 0:00:00.975 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ha_cluster : Install role essential packages] ********* task path: /WORKDIR/git-fix-testskmbxw55b/tests/roles/linux-system-roles.ha_cluster/tasks/main.yml:11 Tuesday 12 December 2023 17:06:20 +0000 (0:00:00.005) 0:00:00.981 ****** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: python3-pycurl-7.43.0.2-4.el8.x86_64", "Installed: rubygem-bigdecimal-1.3.4-111.module+el8.9.0+19193+435404ae.x86_64", "Installed: libaio-0.3.112-1.el8.x86_64", "Installed: rubygems-2.7.6.3-111.module+el8.9.0+19193+435404ae.noarch", "Installed: libicu-60.3-2.el8_1.x86_64", "Installed: overpass-fonts-3.0.2-3.el8.noarch", "Installed: pacemaker-cluster-libs-2.1.6-8.el8.x86_64", "Installed: pacemaker-libs-2.1.6-8.el8.x86_64", "Installed: pacemaker-schemas-2.1.6-8.el8.noarch", "Installed: rubygem-did_you_mean-1.2.0-111.module+el8.9.0+19193+435404ae.noarch", "Installed: rubygem-io-console-0.4.6-111.module+el8.9.0+19193+435404ae.x86_64", "Installed: perl-TimeDate-1:2.30-15.module+el8.3.0+6498+9eecfe51.noarch", "Installed: bzip2-1.0.6-26.el8.x86_64", "Installed: lvm2-8:2.03.14-13.el8_9.x86_64", "Installed: nss-tools-3.90.0-3.el8_8.x86_64", "Installed: lvm2-libs-8:2.03.14-13.el8_9.x86_64", "Installed: redhat-logos-84.5-2.el8.x86_64", "Installed: rubygem-json-2.1.0-111.module+el8.9.0+19193+435404ae.x86_64", "Installed: cifs-utils-7.0-1.el8.x86_64", "Installed: corosynclib-3.1.7-1.el8.x86_64", "Installed: clufter-bin-0.77.1-5.el8.x86_64", "Installed: clufter-common-0.77.1-5.el8.noarch", "Installed: corosync-3.1.7-1.el8.x86_64", "Installed: corosync-qnetd-3.0.2-2.el8.x86_64", "Installed: samba-client-libs-4.18.6-1.el8.x86_64", "Installed: samba-common-4.18.6-1.el8.noarch", "Installed: fontpackages-filesystem-1.44-22.el8.noarch", "Installed: samba-common-libs-4.18.6-1.el8.x86_64", "Installed: libknet1-1.25-1.el8.x86_64", "Installed: libknet1-compress-bzip2-plugin-1.25-1.el8.x86_64", "Installed: rubygem-openssl-2.1.2-111.module+el8.9.0+19193+435404ae.x86_64", "Installed: ruby-2.5.9-111.module+el8.9.0+19193+435404ae.x86_64", "Installed: liberation-fonts-common-1:2.00.3-7.el8.noarch", "Installed: libknet1-compress-lz4-plugin-1.25-1.el8.x86_64", "Installed: libknet1-compress-lzma-plugin-1.25-1.el8.x86_64", "Installed: liberation-sans-fonts-1:2.00.3-7.el8.noarch", "Installed: libknet1-compress-lzo2-plugin-1.25-1.el8.x86_64", "Installed: libknet1-compress-plugins-all-1.25-1.el8.x86_64", "Installed: libknet1-compress-zlib-plugin-1.25-1.el8.x86_64", "Installed: libknet1-crypto-nss-plugin-1.25-1.el8.x86_64", "Installed: libknet1-crypto-openssl-plugin-1.25-1.el8.x86_64", "Installed: libknet1-crypto-plugins-all-1.25-1.el8.x86_64", "Installed: libknet1-plugins-all-1.25-1.el8.x86_64", "Installed: libnozzle1-1.25-1.el8.x86_64", "Installed: pacemaker-2.1.6-8.el8.x86_64", "Installed: pacemaker-cli-2.1.6-8.el8.x86_64", "Installed: pcs-0.10.17-2.el8.x86_64", "Installed: rubygem-psych-3.0.2-111.module+el8.9.0+19193+435404ae.x86_64", "Installed: python3-clufter-0.77.1-5.el8.noarch", "Installed: net-snmp-libs-1:5.8-28.el8.x86_64", "Installed: net-tools-2.0-0.52.20160912git.el8.x86_64", "Installed: resource-agents-4.9.0-48.el8_9.x86_64", "Installed: ruby-irb-2.5.9-111.module+el8.9.0+19193+435404ae.noarch", "Installed: ruby-libs-2.5.9-111.module+el8.9.0+19193+435404ae.x86_64", "Installed: libqb-1.0.3-13.el8.x86_64", "Installed: rubygem-rdoc-6.0.1.1-111.module+el8.9.0+19193+435404ae.noarch", "Installed: python3-pyparsing-2.1.10-7.el8.noarch", "Installed: device-mapper-event-8:1.02.181-13.el8_9.x86_64", "Installed: device-mapper-event-libs-8:1.02.181-13.el8_9.x86_64", "Installed: libwbclient-4.18.6-1.el8.x86_64", "Installed: device-mapper-persistent-data-0.9.0-7.el8.x86_64" ] } TASK [linux-system-roles.ha_cluster : Check and prepare role variables] ******** task path: /WORKDIR/git-fix-testskmbxw55b/tests/roles/linux-system-roles.ha_cluster/tasks/main.yml:21 Tuesday 12 December 2023 17:06:37 +0000 (0:00:17.275) 0:00:18.256 ****** included: /WORKDIR/git-fix-testskmbxw55b/tests/roles/linux-system-roles.ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml for sut TASK [linux-system-roles.ha_cluster : Fail if passwords are not specified] ***** task path: /WORKDIR/git-fix-testskmbxw55b/tests/roles/linux-system-roles.ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:5 Tuesday 12 December 2023 17:06:37 +0000 (0:00:00.024) 0:00:18.281 ****** failed: [sut] (item=ha_cluster_hacluster_password) => { "ansible_loop_var": "item", "changed": false, "item": "ha_cluster_hacluster_password" } MSG: ha_cluster_hacluster_password must be specified TASK [Extract errors] ********************************************************** task path: /WORKDIR/git-fix-testskmbxw55b/tests/tests_default.yml:19 Tuesday 12 December 2023 17:06:37 +0000 (0:00:00.023) 0:00:18.305 ****** ok: [sut] => { "ansible_facts": { "error_list": [ "ha_cluster_hacluster_password must be specified" ] }, "changed": false } TASK [Check errors] ************************************************************ task path: /WORKDIR/git-fix-testskmbxw55b/tests/tests_default.yml:26 Tuesday 12 December 2023 17:06:37 +0000 (0:00:00.018) 0:00:18.323 ****** ok: [sut] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=12 changed=1 unreachable=0 failed=0 skipped=5 rescued=1 ignored=0 Tuesday 12 December 2023 17:06:37 +0000 (0:00:00.016) 0:00:18.340 ****** =============================================================================== linux-system-roles.ha_cluster : Install role essential packages -------- 17.28s /WORKDIR/git-fix-testskmbxw55b/tests/roles/linux-system-roles.ha_cluster/tasks/main.yml:11 linux-system-roles.ha_cluster : Ensure facts used by tests -------------- 0.45s /WORKDIR/git-fix-testskmbxw55b/tests/roles/linux-system-roles.ha_cluster/tasks/test_setup.yml:14 linux-system-roles.ha_cluster : Check if system is ostree --------------- 0.27s /WORKDIR/git-fix-testskmbxw55b/tests/roles/linux-system-roles.ha_cluster/tasks/test_setup.yml:22 linux-system-roles.ha_cluster : Set platform/version specific variables --- 0.04s /WORKDIR/git-fix-testskmbxw55b/tests/roles/linux-system-roles.ha_cluster/tasks/set_vars.yml:20 Set up test environment ------------------------------------------------- 0.03s /WORKDIR/git-fix-testskmbxw55b/tests/tests_default.yml:10 --------------------- linux-system-roles.ha_cluster : Check and prepare role variables -------- 0.02s /WORKDIR/git-fix-testskmbxw55b/tests/roles/linux-system-roles.ha_cluster/tasks/main.yml:21 linux-system-roles.ha_cluster : Fail if passwords are not specified ----- 0.02s /WORKDIR/git-fix-testskmbxw55b/tests/roles/linux-system-roles.ha_cluster/tasks/shell_pcs/check-and-prepare-role-variables.yml:5 linux-system-roles.ha_cluster : Set Linux Pacemaker shell specific variables --- 0.02s /WORKDIR/git-fix-testskmbxw55b/tests/roles/linux-system-roles.ha_cluster/tasks/set_vars.yml:35 Run the role ------------------------------------------------------------ 0.02s /WORKDIR/git-fix-testskmbxw55b/tests/tests_default.yml:15 --------------------- linux-system-roles.ha_cluster : Set flag to indicate system is ostree --- 0.02s /WORKDIR/git-fix-testskmbxw55b/tests/roles/linux-system-roles.ha_cluster/tasks/test_setup.yml:27 linux-system-roles.ha_cluster : Set node name to 'localhost' for single-node clusters --- 0.02s /WORKDIR/git-fix-testskmbxw55b/tests/roles/linux-system-roles.ha_cluster/tasks/test_setup.yml:9 Extract errors ---------------------------------------------------------- 0.02s /WORKDIR/git-fix-testskmbxw55b/tests/tests_default.yml:19 --------------------- linux-system-roles.ha_cluster : Do not try to enable RHEL repositories --- 0.02s /WORKDIR/git-fix-testskmbxw55b/tests/roles/linux-system-roles.ha_cluster/tasks/test_setup.yml:32 linux-system-roles.ha_cluster : Ensure ansible_facts used by role ------- 0.02s /WORKDIR/git-fix-testskmbxw55b/tests/roles/linux-system-roles.ha_cluster/tasks/set_vars.yml:2 linux-system-roles.ha_cluster : Set flag to indicate system is ostree --- 0.02s /WORKDIR/git-fix-testskmbxw55b/tests/roles/linux-system-roles.ha_cluster/tasks/set_vars.yml:16 linux-system-roles.ha_cluster : Check if system is ostree --------------- 0.02s /WORKDIR/git-fix-testskmbxw55b/tests/roles/linux-system-roles.ha_cluster/tasks/set_vars.yml:11 Check errors ------------------------------------------------------------ 0.02s /WORKDIR/git-fix-testskmbxw55b/tests/tests_default.yml:26 --------------------- linux-system-roles.ha_cluster : Copy nss-altfiles ha_cluster users to /etc/passwd --- 0.02s /WORKDIR/git-fix-testskmbxw55b/tests/roles/linux-system-roles.ha_cluster/tasks/test_setup.yml:41 linux-system-roles.ha_cluster : Set platform/version specific variables --- 0.01s /WORKDIR/git-fix-testskmbxw55b/tests/roles/linux-system-roles.ha_cluster/tasks/main.yml:3 linux-system-roles.ha_cluster : Enable package repositories ------------- 0.01s /WORKDIR/git-fix-testskmbxw55b/tests/roles/linux-system-roles.ha_cluster/tasks/main.yml:6 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---