# 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 statically imported: /WORKDIR/git-webhook-event-notificationlu9iynyb/tests/get_services_state.yml statically imported: /WORKDIR/git-webhook-event-notificationlu9iynyb/tests/restore_services_state.yml 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_verify_basic.yml *********************************************** 2 plays in /WORKDIR/git-webhook-event-notificationlu9iynyb/tests/tests_verify_basic.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Include vault variables] ************************************************* task path: /WORKDIR/git-webhook-event-notificationlu9iynyb/tests/tests_verify_basic.yml:4 Monday 04 December 2023 22:13:37 +0000 (0:00:00.016) 0:00:00.016 ******* ok: [sut] => { "ansible_facts": { "pcptest_pw": { "__ansible_vault": "$ANSIBLE_VAULT;1.1;AES256\n65343431623161346664373330646165636437656265656632613961363839303132393064663934\n3137396633373562393466633037356533326566343338350a386238333034336162333932313162\n62643937336534356131376134303463306466316433366636643562633637376336653034646334\n3063663466333735390a333330366461386166633233373133326237323663333831653232646566\n3363\n" } }, "ansible_included_var_files": [ "/WORKDIR/git-webhook-event-notificationlu9iynyb/tests/vars/vault-variables.yml" ], "changed": false } META: ran handlers META: ran handlers PLAY [Test basic services of the role are installed and running] *************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-webhook-event-notificationlu9iynyb/tests/tests_verify_basic.yml:9 Monday 04 December 2023 22:13:37 +0000 (0:00:00.017) 0:00:00.033 ******* ok: [sut] TASK [Get initial state of services] ******************************************* task path: /WORKDIR/git-webhook-event-notificationlu9iynyb/tests/get_services_state.yml:3 Monday 04 December 2023 22:13:38 +0000 (0:00:00.928) 0:00:00.962 ******* ok: [sut] => { "ansible_facts": { "services": { "abrt-ccpp": { "name": "abrt-ccpp", "source": "sysv", "state": "running", "status": "enabled" }, "abrtd": { "name": "abrtd", "source": "sysv", "state": "running", "status": "enabled" }, "acpid": { "name": "acpid", "source": "sysv", "state": "running", "status": "enabled" }, "atd": { "name": "atd", "source": "sysv", "state": "running", "status": "enabled" }, "auditd": { "name": "auditd", "source": "sysv", "state": "running", "status": "enabled" }, "blk-availability": { "name": "blk-availability", "source": "sysv", "state": "running", "status": "enabled" }, "cgconfig": { "name": "cgconfig", "source": "sysv", "state": "stopped", "status": "disabled" }, "cgred": { "name": "cgred", "source": "sysv", "state": "stopped", "status": "disabled" }, "cloud-config": { "name": "cloud-config", "source": "sysv", "state": "stopped", "status": "enabled" }, "cloud-final": { "name": "cloud-final", "source": "sysv", "state": "stopped", "status": "enabled" }, "cloud-init": { "name": "cloud-init", "source": "sysv", "state": "stopped", "status": "enabled" }, "cloud-init-local": { "name": "cloud-init-local", "source": "sysv", "state": "stopped", "status": "enabled" }, "cpuspeed": { "name": "cpuspeed", "source": "sysv", "state": "running", "status": "enabled" }, "crond": { "name": "crond", "source": "sysv", "state": "running", "status": "enabled" }, "haldaemon": { "name": "haldaemon", "source": "sysv", "state": "running", "status": "enabled" }, "ip6tables": { "name": "ip6tables", "source": "sysv", "state": "stopped", "status": "enabled" }, "iptables": { "name": "iptables", "source": "sysv", "state": "stopped", "status": "disabled" }, "irqbalance": { "name": "irqbalance", "source": "sysv", "state": "running", "status": "enabled" }, "kdump": { "name": "kdump", "source": "sysv", "state": "stopped", "status": "enabled" }, "lvm2-monitor": { "name": "lvm2-monitor", "source": "sysv", "state": "stopped", "status": "enabled" }, "mdmonitor": { "name": "mdmonitor", "source": "sysv", "state": "stopped", "status": "enabled" }, "messagebus": { "name": "messagebus", "source": "sysv", "state": "running", "status": "enabled" }, "netconsole": { "name": "netconsole", "source": "sysv", "state": "stopped", "status": "disabled" }, "netfs": { "name": "netfs", "source": "sysv", "state": "running", "status": "enabled" }, "network": { "name": "network", "source": "sysv", "state": "running", "status": "enabled" }, "nfs": { "name": "nfs", "source": "sysv", "state": "stopped", "status": "disabled" }, "nfs-rdma": { "name": "nfs-rdma", "source": "sysv", "state": "stopped", "status": "disabled" }, "nfslock": { "name": "nfslock", "source": "sysv", "state": "running", "status": "enabled" }, "ntpd": { "name": "ntpd", "source": "sysv", "state": "stopped", "status": "disabled" }, "ntpdate": { "name": "ntpdate", "source": "sysv", "state": "stopped", "status": "disabled" }, "postfix": { "name": "postfix", "source": "sysv", "state": "running", "status": "enabled" }, "psacct": { "name": "psacct", "source": "sysv", "state": "stopped", "status": "disabled" }, "quota_nld": { "name": "quota_nld", "source": "sysv", "state": "stopped", "status": "disabled" }, "rdisc": { "name": "rdisc", "source": "sysv", "state": "stopped", "status": "disabled" }, "rdma": { "name": "rdma", "source": "sysv", "state": "running", "status": "enabled" }, "restorecond": { "name": "restorecond", "source": "sysv", "state": "stopped", "status": "disabled" }, "restraintd": { "name": "restraintd", "source": "sysv", "state": "running", "status": "enabled" }, "rhnsd": { "name": "rhnsd", "source": "sysv", "state": "stopped", "status": "enabled" }, "rhsmcertd": { "name": "rhsmcertd", "source": "sysv", "state": "running", "status": "enabled" }, "rngd": { "name": "rngd", "source": "sysv", "state": "running", "status": "enabled" }, "rpcbind": { "name": "rpcbind", "source": "sysv", "state": "running", "status": "enabled" }, "rpcgssd": { "name": "rpcgssd", "source": "sysv", "state": "stopped", "status": "enabled" }, "rpcsvcgssd": { "name": "rpcsvcgssd", "source": "sysv", "state": "stopped", "status": "disabled" }, "rsyslog": { "name": "rsyslog", "source": "sysv", "state": "running", "status": "enabled" }, "saslauthd": { "name": "saslauthd", "source": "sysv", "state": "stopped", "status": "disabled" }, "smartd": { "name": "smartd", "source": "sysv", "state": "stopped", "status": "disabled" }, "sshd": { "name": "sshd", "source": "sysv", "state": "running", "status": "enabled" }, "sysstat": { "name": "sysstat", "source": "sysv", "state": "stopped", "status": "enabled" }, "udev-post": { "name": "udev-post", "source": "sysv", "state": "running", "status": "enabled" } } }, "changed": false } META: ran handlers TASK [linux-system-roles.metrics : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-webhook-event-notificationlu9iynyb/tests/roles/linux-system-roles.metrics/tasks/main.yml:3 Monday 04 December 2023 22:13:40 +0000 (0:00:01.687) 0:00:02.650 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.metrics : Add Elasticsearch to metrics domain list] *** task path: /WORKDIR/git-webhook-event-notificationlu9iynyb/tests/roles/linux-system-roles.metrics/tasks/main.yml:9 Monday 04 December 2023 22:13:40 +0000 (0:00:00.029) 0:00:02.679 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.metrics : Add SQL Server to metrics domain list] ****** task path: /WORKDIR/git-webhook-event-notificationlu9iynyb/tests/roles/linux-system-roles.metrics/tasks/main.yml:14 Monday 04 December 2023 22:13:40 +0000 (0:00:00.034) 0:00:02.714 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.metrics : Add Postfix to metrics domain list] ********* task path: /WORKDIR/git-webhook-event-notificationlu9iynyb/tests/roles/linux-system-roles.metrics/tasks/main.yml:19 Monday 04 December 2023 22:13:40 +0000 (0:00:00.029) 0:00:02.743 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.metrics : Add bpftrace to metrics domain list] ******** task path: /WORKDIR/git-webhook-event-notificationlu9iynyb/tests/roles/linux-system-roles.metrics/tasks/main.yml:24 Monday 04 December 2023 22:13:40 +0000 (0:00:00.030) 0:00:02.774 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.metrics : Setup metrics access for roles] ************* task path: /WORKDIR/git-webhook-event-notificationlu9iynyb/tests/roles/linux-system-roles.metrics/tasks/main.yml:29 Monday 04 December 2023 22:13:40 +0000 (0:00:00.030) 0:00:02.804 ******* ok: [sut] => { "ansible_facts": { "__metrics_accounts": [ { "saslpassword": "metrics", "sasluser": "metrics", "user": "metrics" } ] }, "changed": false } TASK [Configure Elasticsearch metrics] ***************************************** task path: /WORKDIR/git-webhook-event-notificationlu9iynyb/tests/roles/linux-system-roles.metrics/tasks/main.yml:37 Monday 04 December 2023 22:13:40 +0000 (0:00:00.030) 0:00:02.834 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Configure SQL Server metrics.] ******************************************* task path: /WORKDIR/git-webhook-event-notificationlu9iynyb/tests/roles/linux-system-roles.metrics/tasks/main.yml:52 Monday 04 December 2023 22:13:40 +0000 (0:00:00.027) 0:00:02.862 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Configure Postfix metrics.] ********************************************** task path: /WORKDIR/git-webhook-event-notificationlu9iynyb/tests/roles/linux-system-roles.metrics/tasks/main.yml:60 Monday 04 December 2023 22:13:40 +0000 (0:00:00.028) 0:00:02.891 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup bpftrace metrics.] ************************************************* task path: /WORKDIR/git-webhook-event-notificationlu9iynyb/tests/roles/linux-system-roles.metrics/tasks/main.yml:68 Monday 04 December 2023 22:13:40 +0000 (0:00:00.028) 0:00:02.919 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup metric querying service.] ****************************************** task path: /WORKDIR/git-webhook-event-notificationlu9iynyb/tests/roles/linux-system-roles.metrics/tasks/main.yml:77 Monday 04 December 2023 22:13:40 +0000 (0:00:00.024) 0:00:02.943 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup metric collection service.] **************************************** task path: /WORKDIR/git-webhook-event-notificationlu9iynyb/tests/roles/linux-system-roles.metrics/tasks/main.yml:85 Monday 04 December 2023 22:13:40 +0000 (0:00:00.023) 0:00:02.967 ******* TASK [/WORKDIR/git-webhook-event-notificationlu9iynyb/tests/roles/linux-system-roles.metrics/roles/pcp : Set platform/version specific variables] *** task path: /WORKDIR/git-webhook-event-notificationlu9iynyb/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:4 Monday 04 December 2023 22:13:40 +0000 (0:00:00.056) 0:00:03.024 ******* ok: [sut] => (item=/WORKDIR/git-webhook-event-notificationlu9iynyb/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/default.yml) => { "ansible_facts": {}, "ansible_included_var_files": [ "/WORKDIR/git-webhook-event-notificationlu9iynyb/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/git-webhook-event-notificationlu9iynyb/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/default.yml" } ok: [sut] => (item=/WORKDIR/git-webhook-event-notificationlu9iynyb/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/RedHat.yml) => { "ansible_facts": { "__pcp_pmcd_defaults_path": "/etc/sysconfig/pmcd", "__pcp_pmlogger_defaults_path": "/etc/sysconfig/pmlogger", "__pcp_pmlogger_timers_path": "/etc/sysconfig/pmlogger_timers", "__pcp_pmproxy_defaults_path": "/etc/sysconfig/pmproxy" }, "ansible_included_var_files": [ "/WORKDIR/git-webhook-event-notificationlu9iynyb/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/git-webhook-event-notificationlu9iynyb/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/RedHat.yml" } ok: [sut] => (item=/WORKDIR/git-webhook-event-notificationlu9iynyb/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/RedHat.yml) => { "ansible_facts": { "__pcp_pmcd_defaults_path": "/etc/sysconfig/pmcd", "__pcp_pmlogger_defaults_path": "/etc/sysconfig/pmlogger", "__pcp_pmlogger_timers_path": "/etc/sysconfig/pmlogger_timers", "__pcp_pmproxy_defaults_path": "/etc/sysconfig/pmproxy" }, "ansible_included_var_files": [ "/WORKDIR/git-webhook-event-notificationlu9iynyb/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/git-webhook-event-notificationlu9iynyb/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/RedHat.yml" } ok: [sut] => (item=/WORKDIR/git-webhook-event-notificationlu9iynyb/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/RedHat_6.yml) => { "ansible_facts": { "__pcp_packages_extra": [ "pcp-pmda-dm", "pcp-pmda-nfsclient", "pcp-system-tools" ], "__pcp_sasl_mechlist": "digest-md5", "__pcp_sasl_packages": [ "cyrus-sasl-lib", "cyrus-sasl-md5" ] }, "ansible_included_var_files": [ "/WORKDIR/git-webhook-event-notificationlu9iynyb/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/RedHat_6.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/git-webhook-event-notificationlu9iynyb/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/RedHat_6.yml" } skipping: [sut] => (item=/WORKDIR/git-webhook-event-notificationlu9iynyb/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/RedHat_6.10.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/git-webhook-event-notificationlu9iynyb/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/RedHat_6.10.yml", "skip_reason": "Conditional result was False" } TASK [/WORKDIR/git-webhook-event-notificationlu9iynyb/tests/roles/linux-system-roles.metrics/roles/pcp : Check if system is ostree] *** task path: /WORKDIR/git-webhook-event-notificationlu9iynyb/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:18 Monday 04 December 2023 22:13:40 +0000 (0:00:00.045) 0:00:03.070 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [/WORKDIR/git-webhook-event-notificationlu9iynyb/tests/roles/linux-system-roles.metrics/roles/pcp : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-webhook-event-notificationlu9iynyb/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:23 Monday 04 December 2023 22:13:40 +0000 (0:00:00.227) 0:00:03.297 ******* ok: [sut] => { "ansible_facts": { "__ansible_pcp_is_ostree": false }, "changed": false } TASK [/WORKDIR/git-webhook-event-notificationlu9iynyb/tests/roles/linux-system-roles.metrics/roles/pcp : Install Performance Co-Pilot packages] *** task path: /WORKDIR/git-webhook-event-notificationlu9iynyb/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:27 Monday 04 December 2023 22:13:40 +0000 (0:00:00.018) 0:00:03.316 ******* changed: [sut] => { "changed": true, "changes": { "installed": [ "pcp", "pcp-pmda-dm", "pcp-pmda-nfsclient", "pcp-system-tools" ] }, "rc": 0, "results": [ "Loaded plugins: product-id, search-disabled-repos, security, subscription-\n : manager\nThis system is not registered with an entitlement server. You can use subscription-manager to register.\nSetting up Install Process\nResolving Dependencies\n--> Running transaction check\n---> Package pcp.x86_64 0:3.10.9-9.el6 will be installed\n--> Processing Dependency: pcp-libs = 3.10.9-9.el6 for package: pcp-3.10.9-9.el6.x86_64\n--> Processing Dependency: python-pcp = 3.10.9-9.el6 for package: pcp-3.10.9-9.el6.x86_64\n--> Processing Dependency: libpcp.so.3(PCP_3.0)(64bit) for package: pcp-3.10.9-9.el6.x86_64\n--> Processing Dependency: libpcp.so.3(PCP_3.10)(64bit) for package: pcp-3.10.9-9.el6.x86_64\n--> Processing Dependency: libpcp.so.3(PCP_3.11)(64bit) for package: pcp-3.10.9-9.el6.x86_64\n--> Processing Dependency: libpcp.so.3(PCP_3.12)(64bit) for package: pcp-3.10.9-9.el6.x86_64\n--> Processing Dependency: libpcp.so.3(PCP_3.13)(64bit) for package: pcp-3.10.9-9.el6.x86_64\n--> Processing Dependency: libpcp.so.3(PCP_3.2)(64bit) for package: pcp-3.10.9-9.el6.x86_64\n--> Processing Dependency: libpcp.so.3(PCP_3.3)(64bit) for package: pcp-3.10.9-9.el6.x86_64\n--> Processing Dependency: libpcp.so.3(PCP_3.4)(64bit) for package: pcp-3.10.9-9.el6.x86_64\n--> Processing Dependency: libpcp.so.3(PCP_3.5)(64bit) for package: pcp-3.10.9-9.el6.x86_64\n--> Processing Dependency: libpcp.so.3(PCP_3.6)(64bit) for package: pcp-3.10.9-9.el6.x86_64\n--> Processing Dependency: libpcp.so.3(PCP_3.7)(64bit) for package: pcp-3.10.9-9.el6.x86_64\n--> Processing Dependency: libpcp.so.3(PCP_3.8)(64bit) for package: pcp-3.10.9-9.el6.x86_64\n--> Processing Dependency: libpcp.so.3(PCP_3.9)(64bit) for package: pcp-3.10.9-9.el6.x86_64\n--> Processing Dependency: libpcp_gui.so.2(PCP_GUI_2.0)(64bit) for package: pcp-3.10.9-9.el6.x86_64\n--> Processing Dependency: libpcp_pmda.so.3(PCP_PMDA_3.0)(64bit) for package: pcp-3.10.9-9.el6.x86_64\n--> Processing Dependency: libpcp_pmda.so.3(PCP_PMDA_3.1)(64bit) for package: pcp-3.10.9-9.el6.x86_64\n--> Processing Dependency: libpcp_pmda.so.3(PCP_PMDA_3.4)(64bit) for package: pcp-3.10.9-9.el6.x86_64\n--> Processing Dependency: libpcp_pmda.so.3(PCP_PMDA_3.5)(64bit) for package: pcp-3.10.9-9.el6.x86_64\n--> Processing Dependency: libpcp_pmda.so.3(PCP_PMDA_3.6)(64bit) for package: pcp-3.10.9-9.el6.x86_64\n--> Processing Dependency: libpcp_trace.so.2(PCP_TRACE_2.0)(64bit) for package: pcp-3.10.9-9.el6.x86_64\n--> Processing Dependency: libpcp.so.3()(64bit) for package: pcp-3.10.9-9.el6.x86_64\n--> Processing Dependency: libpcp_gui.so.2()(64bit) for package: pcp-3.10.9-9.el6.x86_64\n--> Processing Dependency: libpcp_mmv.so.1()(64bit) for package: pcp-3.10.9-9.el6.x86_64\n--> Processing Dependency: libpcp_pmda.so.3()(64bit) for package: pcp-3.10.9-9.el6.x86_64\n--> Processing Dependency: libpcp_trace.so.2()(64bit) for package: pcp-3.10.9-9.el6.x86_64\n---> Package pcp-pmda-dm.x86_64 0:3.10.9-9.el6 will be installed\n---> Package pcp-pmda-nfsclient.x86_64 0:3.10.9-9.el6 will be installed\n--> Processing Dependency: perl-PCP-PMDA = 3.10.9-9.el6 for package: pcp-pmda-nfsclient-3.10.9-9.el6.x86_64\n---> Package pcp-system-tools.x86_64 0:3.10.9-9.el6 will be installed\n--> Running transaction check\n---> Package pcp-libs.x86_64 0:3.10.9-9.el6 will be installed\n--> Processing Dependency: pcp-conf = 3.10.9-9.el6 for package: pcp-libs-3.10.9-9.el6.x86_64\n---> Package perl-PCP-PMDA.x86_64 0:3.10.9-9.el6 will be installed\n---> Package python-pcp.x86_64 0:3.10.9-9.el6 will be installed\n--> Running transaction check\n---> Package pcp-conf.x86_64 0:3.10.9-9.el6 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n pcp x86_64 3.10.9-9.el6 rhel 828 k\n pcp-pmda-dm x86_64 3.10.9-9.el6 rhel-opt 23 k\n pcp-pmda-nfsclient x86_64 3.10.9-9.el6 rhel-opt 22 k\n pcp-system-tools x86_64 3.10.9-9.el6 rhel-opt 119 k\nInstalling for dependencies:\n pcp-conf x86_64 3.10.9-9.el6 rhel 26 k\n pcp-libs x86_64 3.10.9-9.el6 rhel 271 k\n perl-PCP-PMDA x86_64 3.10.9-9.el6 rhel 54 k\n python-pcp x86_64 3.10.9-9.el6 rhel 99 k\n\nTransaction Summary\n================================================================================\nInstall 8 Package(s)\n\nTotal download size: 1.4 M\nInstalled size: 4.5 M\nDownloading Packages:\n--------------------------------------------------------------------------------\nTotal 3.3 MB/s | 1.4 MB 00:00 \nRunning rpm_check_debug\nRunning Transaction Test\nTransaction Test Succeeded\nRunning Transaction\n\r Installing : pcp-conf-3.10.9-9.el6.x86_64 1/8 \n\r Installing : pcp-libs-3.10.9-9.el6.x86_64 2/8 \n\r Installing : pcp-3.10.9-9.el6.x86_64 3/8 \n\r Installing : python-pcp-3.10.9-9.el6.x86_64 4/8 \n\r Installing : perl-PCP-PMDA-3.10.9-9.el6.x86_64 5/8 \n\r Installing : pcp-pmda-nfsclient-3.10.9-9.el6.x86_64 6/8 \n\r Installing : pcp-system-tools-3.10.9-9.el6.x86_64 7/8 \n\r Installing : pcp-pmda-dm-3.10.9-9.el6.x86_64 8/8 \n\r Verifying : pcp-conf-3.10.9-9.el6.x86_64 1/8 \n\r Verifying : pcp-libs-3.10.9-9.el6.x86_64 2/8 \n\r Verifying : pcp-system-tools-3.10.9-9.el6.x86_64 3/8 \n\r Verifying : pcp-pmda-dm-3.10.9-9.el6.x86_64 4/8 \n\r Verifying : pcp-3.10.9-9.el6.x86_64 5/8 \n\r Verifying : pcp-pmda-nfsclient-3.10.9-9.el6.x86_64 6/8 \n\r Verifying : perl-PCP-PMDA-3.10.9-9.el6.x86_64 7/8 \n\r Verifying : python-pcp-3.10.9-9.el6.x86_64 8/8 \n\nInstalled:\n pcp.x86_64 0:3.10.9-9.el6 \n pcp-pmda-dm.x86_64 0:3.10.9-9.el6 \n pcp-pmda-nfsclient.x86_64 0:3.10.9-9.el6 \n pcp-system-tools.x86_64 0:3.10.9-9.el6 \n\nDependency Installed:\n pcp-conf.x86_64 0:3.10.9-9.el6 pcp-libs.x86_64 0:3.10.9-9.el6 \n perl-PCP-PMDA.x86_64 0:3.10.9-9.el6 python-pcp.x86_64 0:3.10.9-9.el6 \n\nComplete!\n" ] } MSG: Repository rhel-source is listed more than once in the configuration TASK [/WORKDIR/git-webhook-event-notificationlu9iynyb/tests/roles/linux-system-roles.metrics/roles/pcp : Install authentication packages] *** task path: /WORKDIR/git-webhook-event-notificationlu9iynyb/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:34 Monday 04 December 2023 22:13:56 +0000 (0:00:15.085) 0:00:18.401 ******* changed: [sut] => { "changed": true, "changes": { "installed": [ "cyrus-sasl-md5" ] }, "rc": 0, "results": [ "cyrus-sasl-lib-2.1.23-15.el6_6.2.x86_64 providing cyrus-sasl-lib is already installed", "Loaded plugins: product-id, search-disabled-repos, security, subscription-\n : manager\nThis system is not registered with an entitlement server. You can use subscription-manager to register.\nSetting up Install Process\nResolving Dependencies\n--> Running transaction check\n---> Package cyrus-sasl-md5.x86_64 0:2.1.23-15.el6_6.2 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n cyrus-sasl-md5 x86_64 2.1.23-15.el6_6.2 rhel 47 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package(s)\n\nTotal download size: 47 k\nInstalled size: 73 k\nDownloading Packages:\nRunning rpm_check_debug\nRunning Transaction Test\nTransaction Test Succeeded\nRunning Transaction\n\r Installing : cyrus-sasl-md5-2.1.23-15.el6_6.2.x86_64 1/1 \n\r Verifying : cyrus-sasl-md5-2.1.23-15.el6_6.2.x86_64 1/1 \n\nInstalled:\n cyrus-sasl-md5.x86_64 0:2.1.23-15.el6_6.2 \n\nComplete!\n" ] } MSG: Repository rhel-source is listed more than once in the configuration TASK [/WORKDIR/git-webhook-event-notificationlu9iynyb/tests/roles/linux-system-roles.metrics/roles/pcp : Include pmcd] *** task path: /WORKDIR/git-webhook-event-notificationlu9iynyb/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:44 Monday 04 December 2023 22:13:59 +0000 (0:00:03.876) 0:00:22.278 ******* included: /WORKDIR/git-webhook-event-notificationlu9iynyb/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml for sut TASK [/WORKDIR/git-webhook-event-notificationlu9iynyb/tests/roles/linux-system-roles.metrics/roles/pcp : List optional metric collection agents to be enabled] *** task path: /WORKDIR/git-webhook-event-notificationlu9iynyb/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:4 Monday 04 December 2023 22:13:59 +0000 (0:00:00.024) 0:00:22.303 ******* TASK [/WORKDIR/git-webhook-event-notificationlu9iynyb/tests/roles/linux-system-roles.metrics/roles/pcp : Extract metric collection configuration file content] *** task path: /WORKDIR/git-webhook-event-notificationlu9iynyb/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:9 Monday 04 December 2023 22:13:59 +0000 (0:00:00.013) 0:00:22.317 ******* ok: [sut] => { "changed": false, "cmd": [ "cat", "/etc/pcp/pmcd/pmcd.conf" ], "delta": "0:00:00.002975", "end": "2023-12-04 22:14:00.019374", "rc": 0, "start": "2023-12-04 22:14:00.016399" } STDOUT: # Performance Metrics Domain Specifications # # This file is automatically generated during the build # Name Id IPC IPC Params File/Cmd root 1 pipe binary /var/lib/pcp/pmdas/root/pmdaroot pmcd 2 dso pmcd_init /var/lib/pcp/pmdas/pmcd/pmda_pmcd.so proc 3 pipe binary /var/lib/pcp/pmdas/proc/pmdaproc -d 3 xfs 11 pipe binary /var/lib/pcp/pmdas/xfs/pmdaxfs -d 11 linux 60 pipe binary /var/lib/pcp/pmdas/linux/pmdalinux mmv 70 dso mmv_init /var/lib/pcp/pmdas/mmv/pmda_mmv.so jbd2 122 dso jbd2_init /var/lib/pcp/pmdas/jbd2/pmda_jbd2.so [access] disallow ".*" : store; disallow ":*" : store; allow "local:*" : all; TASK [/WORKDIR/git-webhook-event-notificationlu9iynyb/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure optional metric collection agents are enabled] *** task path: /WORKDIR/git-webhook-event-notificationlu9iynyb/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:14 Monday 04 December 2023 22:14:00 +0000 (0:00:00.220) 0:00:22.537 ******* TASK [/WORKDIR/git-webhook-event-notificationlu9iynyb/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure explicit metric label path exists] *** task path: /WORKDIR/git-webhook-event-notificationlu9iynyb/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:23 Monday 04 December 2023 22:14:00 +0000 (0:00:00.015) 0:00:22.552 ******* changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/pcp/labels", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [/WORKDIR/git-webhook-event-notificationlu9iynyb/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure implicit metric label path exists] *** task path: /WORKDIR/git-webhook-event-notificationlu9iynyb/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:31 Monday 04 December 2023 22:14:00 +0000 (0:00:00.339) 0:00:22.892 ******* changed: [sut] => { "changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/pcp/labels/optional", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [/WORKDIR/git-webhook-event-notificationlu9iynyb/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure any explicit metric labels are configured] *** task path: /WORKDIR/git-webhook-event-notificationlu9iynyb/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:39 Monday 04 December 2023 22:14:00 +0000 (0:00:00.216) 0:00:23.109 ******* changed: [sut] => { "changed": true, "checksum": "5f36b2ea290645ee34d943220a14b54ee5ea5be5", "dest": "/etc/pcp/labels/ansible-managed", "gid": 0, "group": "root", "md5sum": "8a80554c91d9fca8acb82f023de02f11", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 3, "src": "/root/.ansible/tmp/ansible-tmp-1701728040.79126-2579-62739257579921/source", "state": "file", "uid": 0 } TASK [/WORKDIR/git-webhook-event-notificationlu9iynyb/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure any implicit metric labels are configured] *** task path: /WORKDIR/git-webhook-event-notificationlu9iynyb/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:46 Monday 04 December 2023 22:14:01 +0000 (0:00:00.534) 0:00:23.644 ******* changed: [sut] => { "changed": true, "checksum": "5f36b2ea290645ee34d943220a14b54ee5ea5be5", "dest": "/etc/pcp/labels/optional/ansible-managed", "gid": 0, "group": "root", "md5sum": "8a80554c91d9fca8acb82f023de02f11", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 3, "src": "/root/.ansible/tmp/ansible-tmp-1701728041.3262393-2597-87912242994853/source", "state": "file", "uid": 0 } TASK [/WORKDIR/git-webhook-event-notificationlu9iynyb/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector is configured] *** task path: /WORKDIR/git-webhook-event-notificationlu9iynyb/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:53 Monday 04 December 2023 22:14:01 +0000 (0:00:00.443) 0:00:24.087 ******* changed: [sut] => { "changed": true, "checksum": "7518789c091387cd9c322e1a8fa8aad21d4efbd3", "dest": "/etc/sysconfig/pmcd", "gid": 0, "group": "root", "md5sum": "073cb531c98ecbe1841811dc55975e29", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 1627, "src": "/root/.ansible/tmp/ansible-tmp-1701728041.7669504-2607-53376463917802/source", "state": "file", "uid": 0 } TASK [/WORKDIR/git-webhook-event-notificationlu9iynyb/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector system accounts are configured] *** task path: /WORKDIR/git-webhook-event-notificationlu9iynyb/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:60 Monday 04 December 2023 22:14:02 +0000 (0:00:00.709) 0:00:24.797 ******* changed: [sut] => (item={'user': 'metrics', 'sasluser': 'metrics', 'saslpassword': 'metrics'}) => { "ansible_loop_var": "item", "changed": true, "comment": "", "create_home": true, "group": 496, "home": "/home/metrics", "item": { "saslpassword": "metrics", "sasluser": "metrics", "user": "metrics" }, "name": "metrics", "shell": "/bin/bash", "state": "present", "system": true, "uid": 496 } TASK [/WORKDIR/git-webhook-event-notificationlu9iynyb/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector SASL accounts are configured] *** task path: /WORKDIR/git-webhook-event-notificationlu9iynyb/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:68 Monday 04 December 2023 22:14:03 +0000 (0:00:00.562) 0:00:25.359 ******* ok: [sut] => (item={'user': 'metrics', 'sasluser': 'metrics', 'saslpassword': 'metrics'}) => { "ansible_loop_var": "item", "changed": false, "cmd": "set -eu\nif set -o | grep -q pipefail; then\n set -o pipefail # pipefail not supported on debian, some ubuntu\nfi\nif ! sasldblistusers2 -f \"/etc/pcp/passwd.db\" | grep -q \"^metrics@\"; then\n echo \"Creating new metrics user in /etc/pcp/passwd.db\"\n echo \"metrics\" | saslpasswd2 -a pmcd \"metrics\"\n chown root:pcp \"/etc/pcp/passwd.db\"\n chmod 640 \"/etc/pcp/passwd.db\"\nfi\n", "delta": "0:00:00.206211", "end": "2023-12-04 22:14:03.175774", "item": { "saslpassword": "metrics", "sasluser": "metrics", "user": "metrics" }, "rc": 0, "start": "2023-12-04 22:14:02.969563" } STDOUT: Creating new metrics user in /etc/pcp/passwd.db STDERR: listusers failed TASK [/WORKDIR/git-webhook-event-notificationlu9iynyb/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector authentication is configured] *** task path: /WORKDIR/git-webhook-event-notificationlu9iynyb/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:86 Monday 04 December 2023 22:14:03 +0000 (0:00:00.337) 0:00:25.697 ******* changed: [sut] => { "changed": true, "checksum": "f1d122d4ec5f4c61ef87469fc028ec2687d1ecaf", "dest": "/etc/sasl2/pmcd.conf", "gid": 0, "group": "root", "md5sum": "7798f7cbd4718f1a11989db2f467d70d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 995, "src": "/root/.ansible/tmp/ansible-tmp-1701728043.3797815-2624-233520147974910/source", "state": "file", "uid": 0 } TASK [/WORKDIR/git-webhook-event-notificationlu9iynyb/tests/roles/linux-system-roles.metrics/roles/pcp : Set variable to do pmcd restart if needed] *** task path: /WORKDIR/git-webhook-event-notificationlu9iynyb/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:94 Monday 04 December 2023 22:14:03 +0000 (0:00:00.442) 0:00:26.140 ******* ok: [sut] => { "ansible_facts": { "__pcp_restart_pmcd": true }, "changed": false } TASK [/WORKDIR/git-webhook-event-notificationlu9iynyb/tests/roles/linux-system-roles.metrics/roles/pcp : Report performance metric collector restart state] *** task path: /WORKDIR/git-webhook-event-notificationlu9iynyb/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:105 Monday 04 December 2023 22:14:03 +0000 (0:00:00.017) 0:00:26.157 ******* ok: [sut] => {} MSG: ['optional_agents: False', 'explicit_labels: True', 'implicit_labels: True', 'defaults_config: True', 'authentication: True', 'restart_pmcd: True'] TASK [/WORKDIR/git-webhook-event-notificationlu9iynyb/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector is running and enabled on boot] *** task path: /WORKDIR/git-webhook-event-notificationlu9iynyb/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:116 Monday 04 December 2023 22:14:03 +0000 (0:00:00.018) 0:00:26.176 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/git-webhook-event-notificationlu9iynyb/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector is restarted and enabled on boot] *** task path: /WORKDIR/git-webhook-event-notificationlu9iynyb/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:123 Monday 04 December 2023 22:14:03 +0000 (0:00:00.013) 0:00:26.189 ******* changed: [sut] => { "changed": true, "enabled": true, "name": "pmcd", "state": "started" } TASK [/WORKDIR/git-webhook-event-notificationlu9iynyb/tests/roles/linux-system-roles.metrics/roles/pcp : Include pmie] *** task path: /WORKDIR/git-webhook-event-notificationlu9iynyb/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:47 Monday 04 December 2023 22:14:04 +0000 (0:00:00.718) 0:00:26.907 ******* included: /WORKDIR/git-webhook-event-notificationlu9iynyb/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml for sut TASK [/WORKDIR/git-webhook-event-notificationlu9iynyb/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra performance rule group directories exist] *** task path: /WORKDIR/git-webhook-event-notificationlu9iynyb/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:4 Monday 04 December 2023 22:14:04 +0000 (0:00:00.031) 0:00:26.939 ******* changed: [sut] => (item=network) => { "ansible_loop_var": "item", "changed": true, "gid": 0, "group": "root", "item": "network", "mode": "0755", "owner": "root", "path": "/etc/pcp/pmieconf/network", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } changed: [sut] => (item=power) => { "ansible_loop_var": "item", "changed": true, "gid": 0, "group": "root", "item": "power", "mode": "0755", "owner": "root", "path": "/etc/pcp/pmieconf/power", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } changed: [sut] => (item=zeroconf) => { "ansible_loop_var": "item", "changed": true, "gid": 0, "group": "root", "item": "zeroconf", "mode": "0755", "owner": "root", "path": "/etc/pcp/pmieconf/zeroconf", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } changed: [sut] => (item=filesys) => { "ansible_loop_var": "item", "changed": true, "gid": 0, "group": "root", "item": "filesys", "mode": "0755", "owner": "root", "path": "/etc/pcp/pmieconf/filesys", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [/WORKDIR/git-webhook-event-notificationlu9iynyb/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra performance rule group link directories exist] *** task path: /WORKDIR/git-webhook-event-notificationlu9iynyb/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:14 Monday 04 December 2023 22:14:05 +0000 (0:00:00.835) 0:00:27.775 ******* changed: [sut] => (item=network) => { "ansible_loop_var": "item", "changed": true, "gid": 0, "group": "root", "item": "network", "mode": "0755", "owner": "root", "path": "/var/lib/pcp/config/pmieconf/network", "secontext": "unconfined_u:object_r:pcp_var_lib_t:s0", "size": 4096, "state": "directory", "uid": 0 } changed: [sut] => (item=power) => { "ansible_loop_var": "item", "changed": true, "gid": 0, "group": "root", "item": "power", "mode": "0755", "owner": "root", "path": "/var/lib/pcp/config/pmieconf/power", "secontext": "unconfined_u:object_r:pcp_var_lib_t:s0", "size": 4096, "state": "directory", "uid": 0 } changed: [sut] => (item=zeroconf) => { "ansible_loop_var": "item", "changed": true, "gid": 0, "group": "root", "item": "zeroconf", "mode": "0755", "owner": "root", "path": "/var/lib/pcp/config/pmieconf/zeroconf", "secontext": "unconfined_u:object_r:pcp_var_lib_t:s0", "size": 4096, "state": "directory", "uid": 0 } ok: [sut] => (item=filesys) => { "ansible_loop_var": "item", "changed": false, "gid": 0, "group": "root", "item": "filesys", "mode": "0755", "owner": "root", "path": "/var/lib/pcp/config/pmieconf/filesys", "secontext": "system_u:object_r:pcp_var_lib_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [/WORKDIR/git-webhook-event-notificationlu9iynyb/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra performance rules are installed for targeted hosts] *** task path: /WORKDIR/git-webhook-event-notificationlu9iynyb/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:24 Monday 04 December 2023 22:14:06 +0000 (0:00:00.858) 0:00:28.633 ******* changed: [sut] => (item=network/tcplistenoverflows) => { "ansible_loop_var": "item", "changed": true, "checksum": "608d8a6ac6ee33bb86b77d28ba24fbcd378db43d", "dest": "/etc/pcp/pmieconf/network/tcplistenoverflows", "gid": 0, "group": "root", "item": "network/tcplistenoverflows", "md5sum": "315bdffd61351824525f8a1572d604ba", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 971, "src": "/root/.ansible/tmp/ansible-tmp-1701728046.3155682-2659-253260349161331/source", "state": "file", "uid": 0 } changed: [sut] => (item=network/tcpqfulldocookies) => { "ansible_loop_var": "item", "changed": true, "checksum": "3256a5c2e8d07a20d8e97a08c0ab163252b0beae", "dest": "/etc/pcp/pmieconf/network/tcpqfulldocookies", "gid": 0, "group": "root", "item": "network/tcpqfulldocookies", "md5sum": "b062e23db526f63dbb09bc648b03f100", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 1131, "src": "/root/.ansible/tmp/ansible-tmp-1701728046.7254145-2659-192549010952911/source", "state": "file", "uid": 0 } changed: [sut] => (item=network/tcpqfulldrops) => { "ansible_loop_var": "item", "changed": true, "checksum": "37b2bd7f2430bd9678ab078c5e69a53bea556524", "dest": "/etc/pcp/pmieconf/network/tcpqfulldrops", "gid": 0, "group": "root", "item": "network/tcpqfulldrops", "md5sum": "61b36977331d7cc7b98658f3e083e578", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 1129, "src": "/root/.ansible/tmp/ansible-tmp-1701728047.137983-2659-237549320591927/source", "state": "file", "uid": 0 } changed: [sut] => (item=power/thermal_throttle) => { "ansible_loop_var": "item", "changed": true, "checksum": "1d53d6182709617c8f633339652d8d9e75f3b603", "dest": "/etc/pcp/pmieconf/power/thermal_throttle", "gid": 0, "group": "root", "item": "power/thermal_throttle", "md5sum": "87fa94811e21328fa870b42e4a8ab568", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 1153, "src": "/root/.ansible/tmp/ansible-tmp-1701728047.5451179-2659-96671665630980/source", "state": "file", "uid": 0 } changed: [sut] => (item=zeroconf/all_threads) => { "ansible_loop_var": "item", "changed": true, "checksum": "65169db16dcaa224c211373001adc3addf1031c4", "dest": "/etc/pcp/pmieconf/zeroconf/all_threads", "gid": 0, "group": "root", "item": "zeroconf/all_threads", "md5sum": "6bbe849190f88f2079c32b24f0fcf092", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 840, "src": "/root/.ansible/tmp/ansible-tmp-1701728047.9596667-2659-184363107929022/source", "state": "file", "uid": 0 } changed: [sut] => (item=filesys/vfs_files) => { "ansible_loop_var": "item", "changed": true, "checksum": "cd5d85dfb8eebd7d9737d56e78bd969dafa3999c", "dest": "/etc/pcp/pmieconf/filesys/vfs_files", "gid": 0, "group": "root", "item": "filesys/vfs_files", "md5sum": "ceb10cd4cd3fbbedd52b7d7e45963eb3", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 969, "src": "/root/.ansible/tmp/ansible-tmp-1701728048.3658757-2659-11516543831274/source", "state": "file", "uid": 0 } TASK [/WORKDIR/git-webhook-event-notificationlu9iynyb/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance rule actions are installed for targeted hosts] *** task path: /WORKDIR/git-webhook-event-notificationlu9iynyb/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:34 Monday 04 December 2023 22:14:08 +0000 (0:00:02.468) 0:00:31.101 ******* ok: [sut] => { "ansible_facts": { "local_pmie": "default" }, "changed": false } TASK [/WORKDIR/git-webhook-event-notificationlu9iynyb/tests/roles/linux-system-roles.metrics/roles/pcp : Check if global pmie webhook action is configured] *** task path: /WORKDIR/git-webhook-event-notificationlu9iynyb/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:38 Monday 04 December 2023 22:14:08 +0000 (0:00:00.013) 0:00:31.115 ******* fatal: [sut]: FAILED! => {} MSG: The conditional check 'pcp_pmie_endpoint | length > 0' failed. The error was: error while evaluating conditional (pcp_pmie_endpoint | length > 0): {{ metrics_webhook_endpoint }}: 'metrics_webhook_endpoint' is undefined The error appears to be in '/WORKDIR/git-webhook-event-notificationlu9iynyb/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml': line 38, column 3, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: - name: Check if global pmie webhook action is configured ^ here to retry, use: --limit @/tmp/tests_verify_basic.retry PLAY RECAP ********************************************************************* sut : ok=27 changed=13 unreachable=0 failed=1 skipped=13 rescued=0 ignored=0 Monday 04 December 2023 22:14:08 +0000 (0:00:00.014) 0:00:31.129 ******* =============================================================================== /WORKDIR/git-webhook-event-notificationlu9iynyb/tests/roles/linux-system-roles.metrics/roles/pcp : Install Performance Co-Pilot packages -- 15.09s /WORKDIR/git-webhook-event-notificationlu9iynyb/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:27 /WORKDIR/git-webhook-event-notificationlu9iynyb/tests/roles/linux-system-roles.metrics/roles/pcp : Install authentication packages --- 3.88s /WORKDIR/git-webhook-event-notificationlu9iynyb/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:34 /WORKDIR/git-webhook-event-notificationlu9iynyb/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra performance rules are installed for targeted hosts --- 2.47s /WORKDIR/git-webhook-event-notificationlu9iynyb/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:24 Get initial state of services ------------------------------------------- 1.69s /WORKDIR/git-webhook-event-notificationlu9iynyb/tests/get_services_state.yml:3 Gathering Facts --------------------------------------------------------- 0.93s /WORKDIR/git-webhook-event-notificationlu9iynyb/tests/tests_verify_basic.yml:9 /WORKDIR/git-webhook-event-notificationlu9iynyb/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra performance rule group link directories exist --- 0.86s /WORKDIR/git-webhook-event-notificationlu9iynyb/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:14 /WORKDIR/git-webhook-event-notificationlu9iynyb/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra performance rule group directories exist --- 0.84s /WORKDIR/git-webhook-event-notificationlu9iynyb/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:4 /WORKDIR/git-webhook-event-notificationlu9iynyb/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector is restarted and enabled on boot --- 0.72s /WORKDIR/git-webhook-event-notificationlu9iynyb/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:123 /WORKDIR/git-webhook-event-notificationlu9iynyb/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector is configured --- 0.71s /WORKDIR/git-webhook-event-notificationlu9iynyb/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:53 /WORKDIR/git-webhook-event-notificationlu9iynyb/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector system accounts are configured --- 0.56s /WORKDIR/git-webhook-event-notificationlu9iynyb/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:60 /WORKDIR/git-webhook-event-notificationlu9iynyb/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure any explicit metric labels are configured --- 0.53s /WORKDIR/git-webhook-event-notificationlu9iynyb/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:39 /WORKDIR/git-webhook-event-notificationlu9iynyb/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure any implicit metric labels are configured --- 0.44s /WORKDIR/git-webhook-event-notificationlu9iynyb/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:46 /WORKDIR/git-webhook-event-notificationlu9iynyb/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector authentication is configured --- 0.44s /WORKDIR/git-webhook-event-notificationlu9iynyb/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:86 /WORKDIR/git-webhook-event-notificationlu9iynyb/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure explicit metric label path exists --- 0.34s /WORKDIR/git-webhook-event-notificationlu9iynyb/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:23 /WORKDIR/git-webhook-event-notificationlu9iynyb/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector SASL accounts are configured --- 0.34s /WORKDIR/git-webhook-event-notificationlu9iynyb/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:68 /WORKDIR/git-webhook-event-notificationlu9iynyb/tests/roles/linux-system-roles.metrics/roles/pcp : Check if system is ostree --- 0.23s /WORKDIR/git-webhook-event-notificationlu9iynyb/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:18 /WORKDIR/git-webhook-event-notificationlu9iynyb/tests/roles/linux-system-roles.metrics/roles/pcp : Extract metric collection configuration file content --- 0.22s /WORKDIR/git-webhook-event-notificationlu9iynyb/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:9 /WORKDIR/git-webhook-event-notificationlu9iynyb/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure implicit metric label path exists --- 0.22s /WORKDIR/git-webhook-event-notificationlu9iynyb/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:31 Setup metric collection service. ---------------------------------------- 0.06s /WORKDIR/git-webhook-event-notificationlu9iynyb/tests/roles/linux-system-roles.metrics/tasks/main.yml:85 /WORKDIR/git-webhook-event-notificationlu9iynyb/tests/roles/linux-system-roles.metrics/roles/pcp : Set platform/version specific variables --- 0.05s /WORKDIR/git-webhook-event-notificationlu9iynyb/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:4 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---