# 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 **************************************************** 2 plays in /WORKDIR/git-webhook-event-notificationjsc7eqp9/tests/tests_default.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Include vault variables] ************************************************* task path: /WORKDIR/git-webhook-event-notificationjsc7eqp9/tests/tests_default.yml:4 Monday 04 December 2023 22:07:05 +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-notificationjsc7eqp9/tests/vars/vault-variables.yml" ], "changed": false } META: ran handlers META: ran handlers PLAY [Test the role with default params] *************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-webhook-event-notificationjsc7eqp9/tests/tests_default.yml:9 Monday 04 December 2023 22:07:05 +0000 (0:00:00.015) 0:00:00.031 ******* ok: [sut] META: ran handlers TASK [linux-system-roles.metrics : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-webhook-event-notificationjsc7eqp9/tests/roles/linux-system-roles.metrics/tasks/main.yml:3 Monday 04 December 2023 22:07:08 +0000 (0:00:02.578) 0:00:02.610 ******* 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-notificationjsc7eqp9/tests/roles/linux-system-roles.metrics/tasks/main.yml:9 Monday 04 December 2023 22:07:08 +0000 (0:00:00.022) 0:00:02.633 ******* 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-notificationjsc7eqp9/tests/roles/linux-system-roles.metrics/tasks/main.yml:14 Monday 04 December 2023 22:07:08 +0000 (0:00:00.021) 0:00:02.654 ******* 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-notificationjsc7eqp9/tests/roles/linux-system-roles.metrics/tasks/main.yml:19 Monday 04 December 2023 22:07:08 +0000 (0:00:00.021) 0:00:02.675 ******* 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-notificationjsc7eqp9/tests/roles/linux-system-roles.metrics/tasks/main.yml:24 Monday 04 December 2023 22:07:08 +0000 (0:00:00.021) 0:00:02.697 ******* 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-notificationjsc7eqp9/tests/roles/linux-system-roles.metrics/tasks/main.yml:29 Monday 04 December 2023 22:07:08 +0000 (0:00:00.022) 0:00:02.719 ******* ok: [sut] => { "ansible_facts": { "__metrics_accounts": [ { "saslpassword": "metrics", "sasluser": "metrics", "user": "metrics" } ] }, "changed": false } TASK [Configure Elasticsearch metrics] ***************************************** task path: /WORKDIR/git-webhook-event-notificationjsc7eqp9/tests/roles/linux-system-roles.metrics/tasks/main.yml:37 Monday 04 December 2023 22:07:08 +0000 (0:00:00.023) 0:00:02.743 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Configure SQL Server metrics.] ******************************************* task path: /WORKDIR/git-webhook-event-notificationjsc7eqp9/tests/roles/linux-system-roles.metrics/tasks/main.yml:52 Monday 04 December 2023 22:07:08 +0000 (0:00:00.021) 0:00:02.764 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Configure Postfix metrics.] ********************************************** task path: /WORKDIR/git-webhook-event-notificationjsc7eqp9/tests/roles/linux-system-roles.metrics/tasks/main.yml:60 Monday 04 December 2023 22:07:08 +0000 (0:00:00.022) 0:00:02.786 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup bpftrace metrics.] ************************************************* task path: /WORKDIR/git-webhook-event-notificationjsc7eqp9/tests/roles/linux-system-roles.metrics/tasks/main.yml:68 Monday 04 December 2023 22:07:08 +0000 (0:00:00.021) 0:00:02.808 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup metric querying service.] ****************************************** task path: /WORKDIR/git-webhook-event-notificationjsc7eqp9/tests/roles/linux-system-roles.metrics/tasks/main.yml:77 Monday 04 December 2023 22:07:08 +0000 (0:00:00.021) 0:00:02.829 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup metric collection service.] **************************************** task path: /WORKDIR/git-webhook-event-notificationjsc7eqp9/tests/roles/linux-system-roles.metrics/tasks/main.yml:85 Monday 04 December 2023 22:07:08 +0000 (0:00:00.022) 0:00:02.852 ******* TASK [/WORKDIR/git-webhook-event-notificationjsc7eqp9/tests/roles/linux-system-roles.metrics/roles/pcp : Set platform/version specific variables] *** task path: /WORKDIR/git-webhook-event-notificationjsc7eqp9/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:4 Monday 04 December 2023 22:07:08 +0000 (0:00:00.053) 0:00:02.906 ******* ok: [sut] => (item=/WORKDIR/git-webhook-event-notificationjsc7eqp9/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/default.yml) => { "ansible_facts": {}, "ansible_included_var_files": [ "/WORKDIR/git-webhook-event-notificationjsc7eqp9/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/git-webhook-event-notificationjsc7eqp9/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/default.yml" } ok: [sut] => (item=/WORKDIR/git-webhook-event-notificationjsc7eqp9/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-notificationjsc7eqp9/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/git-webhook-event-notificationjsc7eqp9/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/RedHat.yml" } ok: [sut] => (item=/WORKDIR/git-webhook-event-notificationjsc7eqp9/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/Fedora.yml) => { "ansible_facts": { "__pcp_packages_extra": [ "pcp-zeroconf" ], "__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", "__pcp_sasl_mechlist": "scram-sha-256", "__pcp_sasl_packages": [ "cyrus-sasl-lib", "cyrus-sasl-scram" ] }, "ansible_included_var_files": [ "/WORKDIR/git-webhook-event-notificationjsc7eqp9/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/git-webhook-event-notificationjsc7eqp9/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/Fedora.yml" } skipping: [sut] => (item=/WORKDIR/git-webhook-event-notificationjsc7eqp9/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/git-webhook-event-notificationjsc7eqp9/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/Fedora_38.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=/WORKDIR/git-webhook-event-notificationjsc7eqp9/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/git-webhook-event-notificationjsc7eqp9/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/Fedora_38.yml", "skip_reason": "Conditional result was False" } TASK [/WORKDIR/git-webhook-event-notificationjsc7eqp9/tests/roles/linux-system-roles.metrics/roles/pcp : Check if system is ostree] *** task path: /WORKDIR/git-webhook-event-notificationjsc7eqp9/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:18 Monday 04 December 2023 22:07:08 +0000 (0:00:00.035) 0:00:02.942 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [/WORKDIR/git-webhook-event-notificationjsc7eqp9/tests/roles/linux-system-roles.metrics/roles/pcp : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-webhook-event-notificationjsc7eqp9/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:23 Monday 04 December 2023 22:07:08 +0000 (0:00:00.268) 0:00:03.210 ******* ok: [sut] => { "ansible_facts": { "__ansible_pcp_is_ostree": false }, "changed": false } TASK [/WORKDIR/git-webhook-event-notificationjsc7eqp9/tests/roles/linux-system-roles.metrics/roles/pcp : Install Performance Co-Pilot packages] *** task path: /WORKDIR/git-webhook-event-notificationjsc7eqp9/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:27 Monday 04 December 2023 22:07:08 +0000 (0:00:00.015) 0:00:03.226 ******* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: pcp-pmda-openmetrics-6.1.1-1.fc38.x86_64", "Installed: pcp-zeroconf-6.1.1-1.fc38.x86_64", "Installed: python3-pcp-6.1.1-1.fc38.x86_64", "Installed: libuv-1:1.47.0-3.fc38.x86_64", "Installed: pcp-libs-6.1.1-1.fc38.x86_64", "Installed: pcp-pmda-nfsclient-6.1.1-1.fc38.x86_64", "Installed: pcp-selinux-6.1.1-1.fc38.x86_64", "Installed: pcp-6.1.1-1.fc38.x86_64", "Installed: pcp-conf-6.1.1-1.fc38.x86_64", "Installed: pcp-system-tools-6.1.1-1.fc38.x86_64", "Installed: pcp-doc-6.1.1-1.fc38.noarch", "Installed: pcp-pmda-dm-6.1.1-1.fc38.x86_64" ] } TASK [/WORKDIR/git-webhook-event-notificationjsc7eqp9/tests/roles/linux-system-roles.metrics/roles/pcp : Install authentication packages] *** task path: /WORKDIR/git-webhook-event-notificationjsc7eqp9/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:34 Monday 04 December 2023 22:07:32 +0000 (0:00:23.651) 0:00:26.878 ******* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: cyrus-sasl-scram-2.1.28-9.fc38.x86_64" ] } TASK [/WORKDIR/git-webhook-event-notificationjsc7eqp9/tests/roles/linux-system-roles.metrics/roles/pcp : Include pmcd] *** task path: /WORKDIR/git-webhook-event-notificationjsc7eqp9/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:44 Monday 04 December 2023 22:07:36 +0000 (0:00:04.310) 0:00:31.189 ******* included: /WORKDIR/git-webhook-event-notificationjsc7eqp9/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml for sut TASK [/WORKDIR/git-webhook-event-notificationjsc7eqp9/tests/roles/linux-system-roles.metrics/roles/pcp : List optional metric collection agents to be enabled] *** task path: /WORKDIR/git-webhook-event-notificationjsc7eqp9/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:4 Monday 04 December 2023 22:07:36 +0000 (0:00:00.020) 0:00:31.209 ******* TASK [/WORKDIR/git-webhook-event-notificationjsc7eqp9/tests/roles/linux-system-roles.metrics/roles/pcp : Extract metric collection configuration file content] *** task path: /WORKDIR/git-webhook-event-notificationjsc7eqp9/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:9 Monday 04 December 2023 22:07:36 +0000 (0:00:00.010) 0:00:31.220 ******* ok: [sut] => { "changed": false, "cmd": [ "cat", "/etc/pcp/pmcd/pmcd.conf" ], "delta": "0:00:00.004228", "end": "2023-12-04 22:07:37.232332", "rc": 0, "start": "2023-12-04 22:07:37.228104" } 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 pmproxy 4 dso pmproxy_init /var/lib/pcp/pmdas/mmv/pmda_mmv.so 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 kvm 95 pipe binary /var/lib/pcp/pmdas/kvm/pmdakvm -d 95 [access] disallow ".*" : store; disallow ":*" : store; allow "local:*" : all; TASK [/WORKDIR/git-webhook-event-notificationjsc7eqp9/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure optional metric collection agents are enabled] *** task path: /WORKDIR/git-webhook-event-notificationjsc7eqp9/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:14 Monday 04 December 2023 22:07:37 +0000 (0:00:00.301) 0:00:31.521 ******* TASK [/WORKDIR/git-webhook-event-notificationjsc7eqp9/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure explicit metric label path exists] *** task path: /WORKDIR/git-webhook-event-notificationjsc7eqp9/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:23 Monday 04 December 2023 22:07:37 +0000 (0:00:00.012) 0:00:31.533 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/pcp/labels", "secontext": "system_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [/WORKDIR/git-webhook-event-notificationjsc7eqp9/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure implicit metric label path exists] *** task path: /WORKDIR/git-webhook-event-notificationjsc7eqp9/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:31 Monday 04 December 2023 22:07:37 +0000 (0:00:00.307) 0:00:31.841 ******* ok: [sut] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/pcp/labels/optional", "secontext": "system_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [/WORKDIR/git-webhook-event-notificationjsc7eqp9/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure any explicit metric labels are configured] *** task path: /WORKDIR/git-webhook-event-notificationjsc7eqp9/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:39 Monday 04 December 2023 22:07:37 +0000 (0:00:00.284) 0:00:32.125 ******* 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-1701727657.9012845-2522-29135899706638/source", "state": "file", "uid": 0 } TASK [/WORKDIR/git-webhook-event-notificationjsc7eqp9/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure any implicit metric labels are configured] *** task path: /WORKDIR/git-webhook-event-notificationjsc7eqp9/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:46 Monday 04 December 2023 22:07:38 +0000 (0:00:00.695) 0:00:32.820 ******* 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-1701727658.5936277-2532-73874550688000/source", "state": "file", "uid": 0 } TASK [/WORKDIR/git-webhook-event-notificationjsc7eqp9/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector is configured] *** task path: /WORKDIR/git-webhook-event-notificationjsc7eqp9/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:53 Monday 04 December 2023 22:07:39 +0000 (0:00:00.591) 0:00:33.411 ******* 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-1701727659.1847765-2542-12992936779497/source", "state": "file", "uid": 0 } TASK [/WORKDIR/git-webhook-event-notificationjsc7eqp9/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector system accounts are configured] *** task path: /WORKDIR/git-webhook-event-notificationjsc7eqp9/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:60 Monday 04 December 2023 22:07:39 +0000 (0:00:00.601) 0:00:34.013 ******* changed: [sut] => (item={'user': 'metrics', 'sasluser': 'metrics', 'saslpassword': 'metrics'}) => { "ansible_loop_var": "item", "changed": true, "comment": "", "create_home": true, "group": 991, "home": "/home/metrics", "item": { "saslpassword": "metrics", "sasluser": "metrics", "user": "metrics" }, "name": "metrics", "shell": "/bin/bash", "state": "present", "system": true, "uid": 991 } TASK [/WORKDIR/git-webhook-event-notificationjsc7eqp9/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector SASL accounts are configured] *** task path: /WORKDIR/git-webhook-event-notificationjsc7eqp9/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:68 Monday 04 December 2023 22:07:40 +0000 (0:00:00.501) 0:00:34.514 ******* 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.035492", "end": "2023-12-04 22:07:40.479369", "item": { "saslpassword": "metrics", "sasluser": "metrics", "user": "metrics" }, "rc": 0, "start": "2023-12-04 22:07:40.443877" } STDOUT: Creating new metrics user in /etc/pcp/passwd.db STDERR: listusers failed TASK [/WORKDIR/git-webhook-event-notificationjsc7eqp9/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector authentication is configured] *** task path: /WORKDIR/git-webhook-event-notificationjsc7eqp9/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:86 Monday 04 December 2023 22:07:40 +0000 (0:00:00.262) 0:00:34.776 ******* changed: [sut] => { "changed": true, "checksum": "615d2de55ab86108da0c7e6b64988fecb4169771", "dest": "/etc/sasl2/pmcd.conf", "gid": 0, "group": "root", "md5sum": "6ec6ea6e2e76889d95da22305316a5fe", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 998, "src": "/root/.ansible/tmp/ansible-tmp-1701727660.5550637-2558-57538605576289/source", "state": "file", "uid": 0 } TASK [/WORKDIR/git-webhook-event-notificationjsc7eqp9/tests/roles/linux-system-roles.metrics/roles/pcp : Set variable to do pmcd restart if needed] *** task path: /WORKDIR/git-webhook-event-notificationjsc7eqp9/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:94 Monday 04 December 2023 22:07:41 +0000 (0:00:00.614) 0:00:35.391 ******* ok: [sut] => { "ansible_facts": { "__pcp_restart_pmcd": true }, "changed": false } TASK [/WORKDIR/git-webhook-event-notificationjsc7eqp9/tests/roles/linux-system-roles.metrics/roles/pcp : Report performance metric collector restart state] *** task path: /WORKDIR/git-webhook-event-notificationjsc7eqp9/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:105 Monday 04 December 2023 22:07:41 +0000 (0:00:00.014) 0:00:35.405 ******* 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-notificationjsc7eqp9/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector is running and enabled on boot] *** task path: /WORKDIR/git-webhook-event-notificationjsc7eqp9/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:116 Monday 04 December 2023 22:07:41 +0000 (0:00:00.015) 0:00:35.421 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/git-webhook-event-notificationjsc7eqp9/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector is restarted and enabled on boot] *** task path: /WORKDIR/git-webhook-event-notificationjsc7eqp9/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:123 Monday 04 December 2023 22:07:41 +0000 (0:00:00.012) 0:00:35.434 ******* changed: [sut] => { "changed": true, "enabled": true, "name": "pmcd", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target system.slice network-online.target avahi-daemon.service basic.target systemd-journald.socket", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target pmie.service multi-user.target zabbix-agent.service pmlogger.service", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroupId": "0", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Performance Metrics Collector Daemon", "DevicePolicy": "auto", "Documentation": "\"man:pmcd(1)\"", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/libexec/pcp/lib/pmcd ; argv[]=/usr/libexec/pcp/lib/pmcd start-systemd ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/libexec/pcp/lib/pmcd ; argv[]=/usr/libexec/pcp/lib/pmcd start-systemd ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStop": "{ path=/usr/libexec/pcp/lib/pmcd ; argv[]=/usr/libexec/pcp/lib/pmcd stop-systemd ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStopEx": "{ path=/usr/libexec/pcp/lib/pmcd ; argv[]=/usr/libexec/pcp/lib/pmcd stop-systemd ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/pmcd.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "pmcd.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "14780", "LimitNPROCSoft": "14780", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14780", "LimitSIGPENDINGSoft": "14780", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MemoryZSwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "pmcd.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "all", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "PIDFile": "/run/pcp/pmcd.pid", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "always", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "4434", "TimeoutAbortUSec": "45s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "45s", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "45s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "pmlogger.service multi-user.target pmie.service", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } TASK [/WORKDIR/git-webhook-event-notificationjsc7eqp9/tests/roles/linux-system-roles.metrics/roles/pcp : Include pmie] *** task path: /WORKDIR/git-webhook-event-notificationjsc7eqp9/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:47 Monday 04 December 2023 22:07:42 +0000 (0:00:00.982) 0:00:36.416 ******* included: /WORKDIR/git-webhook-event-notificationjsc7eqp9/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml for sut TASK [/WORKDIR/git-webhook-event-notificationjsc7eqp9/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra performance rule group directories exist] *** task path: /WORKDIR/git-webhook-event-notificationjsc7eqp9/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:4 Monday 04 December 2023 22:07:42 +0000 (0:00:00.022) 0:00:36.439 ******* ok: [sut] => (item=network) => { "ansible_loop_var": "item", "changed": false, "gid": 0, "group": "root", "item": "network", "mode": "0755", "owner": "root", "path": "/etc/pcp/pmieconf/network", "secontext": "system_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } ok: [sut] => (item=power) => { "ansible_loop_var": "item", "changed": false, "gid": 0, "group": "root", "item": "power", "mode": "0755", "owner": "root", "path": "/etc/pcp/pmieconf/power", "secontext": "system_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } ok: [sut] => (item=zeroconf) => { "ansible_loop_var": "item", "changed": false, "gid": 0, "group": "root", "item": "zeroconf", "mode": "0755", "owner": "root", "path": "/etc/pcp/pmieconf/zeroconf", "secontext": "system_u:object_r:etc_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": "/etc/pcp/pmieconf/filesys", "secontext": "system_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [/WORKDIR/git-webhook-event-notificationjsc7eqp9/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra performance rule group link directories exist] *** task path: /WORKDIR/git-webhook-event-notificationjsc7eqp9/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:14 Monday 04 December 2023 22:07:43 +0000 (0:00:00.954) 0:00:37.393 ******* ok: [sut] => (item=network) => { "ansible_loop_var": "item", "changed": false, "gid": 0, "group": "root", "item": "network", "mode": "0755", "owner": "root", "path": "/var/lib/pcp/config/pmieconf/network", "secontext": "system_u:object_r:pcp_var_lib_t:s0", "size": 4096, "state": "directory", "uid": 0 } ok: [sut] => (item=power) => { "ansible_loop_var": "item", "changed": false, "gid": 0, "group": "root", "item": "power", "mode": "0755", "owner": "root", "path": "/var/lib/pcp/config/pmieconf/power", "secontext": "system_u:object_r:pcp_var_lib_t:s0", "size": 4096, "state": "directory", "uid": 0 } ok: [sut] => (item=zeroconf) => { "ansible_loop_var": "item", "changed": false, "gid": 0, "group": "root", "item": "zeroconf", "mode": "0755", "owner": "root", "path": "/var/lib/pcp/config/pmieconf/zeroconf", "secontext": "system_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-notificationjsc7eqp9/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra performance rules are installed for targeted hosts] *** task path: /WORKDIR/git-webhook-event-notificationjsc7eqp9/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:24 Monday 04 December 2023 22:07:44 +0000 (0:00:00.975) 0:00:38.368 ******* 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-1701727664.1445494-2591-243042807281060/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-1701727664.752257-2591-279537829787743/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-1701727665.3535643-2591-220653094937173/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-1701727665.9743042-2591-69089457528829/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-1701727666.5644116-2591-245810816330113/source", "state": "file", "uid": 0 } ok: [sut] => (item=filesys/vfs_files) => { "ansible_loop_var": "item", "changed": false, "checksum": "cd5d85dfb8eebd7d9737d56e78bd969dafa3999c", "dest": "/etc/pcp/pmieconf/filesys/vfs_files", "gid": 0, "group": "root", "item": "filesys/vfs_files", "mode": "0644", "owner": "root", "path": "/etc/pcp/pmieconf/filesys/vfs_files", "secontext": "system_u:object_r:etc_t:s0", "size": 969, "state": "file", "uid": 0 } TASK [/WORKDIR/git-webhook-event-notificationjsc7eqp9/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance rule actions are installed for targeted hosts] *** task path: /WORKDIR/git-webhook-event-notificationjsc7eqp9/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:34 Monday 04 December 2023 22:07:47 +0000 (0:00:03.586) 0:00:41.955 ******* ok: [sut] => { "ansible_facts": { "local_pmie": "default" }, "changed": false } TASK [/WORKDIR/git-webhook-event-notificationjsc7eqp9/tests/roles/linux-system-roles.metrics/roles/pcp : Check if global pmie webhook action is configured] *** task path: /WORKDIR/git-webhook-event-notificationjsc7eqp9/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:38 Monday 04 December 2023 22:07:47 +0000 (0:00:00.009) 0:00:41.965 ******* 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-notificationjsc7eqp9/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_default.retry PLAY RECAP ********************************************************************* sut : ok=26 changed=9 unreachable=0 failed=1 skipped=13 rescued=0 ignored=0 Monday 04 December 2023 22:07:47 +0000 (0:00:00.012) 0:00:41.978 ******* =============================================================================== /WORKDIR/git-webhook-event-notificationjsc7eqp9/tests/roles/linux-system-roles.metrics/roles/pcp : Install Performance Co-Pilot packages -- 23.65s /WORKDIR/git-webhook-event-notificationjsc7eqp9/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:27 /WORKDIR/git-webhook-event-notificationjsc7eqp9/tests/roles/linux-system-roles.metrics/roles/pcp : Install authentication packages --- 4.31s /WORKDIR/git-webhook-event-notificationjsc7eqp9/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:34 /WORKDIR/git-webhook-event-notificationjsc7eqp9/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra performance rules are installed for targeted hosts --- 3.59s /WORKDIR/git-webhook-event-notificationjsc7eqp9/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:24 Gathering Facts --------------------------------------------------------- 2.58s /WORKDIR/git-webhook-event-notificationjsc7eqp9/tests/tests_default.yml:9 ----- /WORKDIR/git-webhook-event-notificationjsc7eqp9/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector is restarted and enabled on boot --- 0.98s /WORKDIR/git-webhook-event-notificationjsc7eqp9/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:123 /WORKDIR/git-webhook-event-notificationjsc7eqp9/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra performance rule group link directories exist --- 0.98s /WORKDIR/git-webhook-event-notificationjsc7eqp9/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:14 /WORKDIR/git-webhook-event-notificationjsc7eqp9/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra performance rule group directories exist --- 0.95s /WORKDIR/git-webhook-event-notificationjsc7eqp9/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:4 /WORKDIR/git-webhook-event-notificationjsc7eqp9/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure any explicit metric labels are configured --- 0.70s /WORKDIR/git-webhook-event-notificationjsc7eqp9/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:39 /WORKDIR/git-webhook-event-notificationjsc7eqp9/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector authentication is configured --- 0.61s /WORKDIR/git-webhook-event-notificationjsc7eqp9/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:86 /WORKDIR/git-webhook-event-notificationjsc7eqp9/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector is configured --- 0.60s /WORKDIR/git-webhook-event-notificationjsc7eqp9/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:53 /WORKDIR/git-webhook-event-notificationjsc7eqp9/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure any implicit metric labels are configured --- 0.59s /WORKDIR/git-webhook-event-notificationjsc7eqp9/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:46 /WORKDIR/git-webhook-event-notificationjsc7eqp9/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector system accounts are configured --- 0.50s /WORKDIR/git-webhook-event-notificationjsc7eqp9/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:60 /WORKDIR/git-webhook-event-notificationjsc7eqp9/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure explicit metric label path exists --- 0.31s /WORKDIR/git-webhook-event-notificationjsc7eqp9/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:23 /WORKDIR/git-webhook-event-notificationjsc7eqp9/tests/roles/linux-system-roles.metrics/roles/pcp : Extract metric collection configuration file content --- 0.30s /WORKDIR/git-webhook-event-notificationjsc7eqp9/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:9 /WORKDIR/git-webhook-event-notificationjsc7eqp9/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure implicit metric label path exists --- 0.28s /WORKDIR/git-webhook-event-notificationjsc7eqp9/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:31 /WORKDIR/git-webhook-event-notificationjsc7eqp9/tests/roles/linux-system-roles.metrics/roles/pcp : Check if system is ostree --- 0.27s /WORKDIR/git-webhook-event-notificationjsc7eqp9/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:18 /WORKDIR/git-webhook-event-notificationjsc7eqp9/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector SASL accounts are configured --- 0.26s /WORKDIR/git-webhook-event-notificationjsc7eqp9/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:68 Setup metric collection service. ---------------------------------------- 0.05s /WORKDIR/git-webhook-event-notificationjsc7eqp9/tests/roles/linux-system-roles.metrics/tasks/main.yml:85 /WORKDIR/git-webhook-event-notificationjsc7eqp9/tests/roles/linux-system-roles.metrics/roles/pcp : Set platform/version specific variables --- 0.04s /WORKDIR/git-webhook-event-notificationjsc7eqp9/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:4 linux-system-roles.metrics : Setup metrics access for roles ------------- 0.02s /WORKDIR/git-webhook-event-notificationjsc7eqp9/tests/roles/linux-system-roles.metrics/tasks/main.yml:29 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---