# 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-notificationq8h0_pfp/tests/tests_default.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Include vault variables] ************************************************* task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/tests_default.yml:4 Tuesday 05 December 2023 21:02:23 +0000 (0:00:00.012) 0:00:00.012 ****** 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-notificationq8h0_pfp/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-notificationq8h0_pfp/tests/tests_default.yml:9 Tuesday 05 December 2023 21:02:23 +0000 (0:00:00.010) 0:00:00.023 ****** ok: [sut] META: ran handlers TASK [linux-system-roles.metrics : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/tasks/main.yml:3 Tuesday 05 December 2023 21:02:24 +0000 (0:00:01.884) 0:00:01.908 ****** 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-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/tasks/main.yml:9 Tuesday 05 December 2023 21:02:24 +0000 (0:00:00.026) 0:00:01.935 ****** 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-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/tasks/main.yml:14 Tuesday 05 December 2023 21:02:25 +0000 (0:00:00.017) 0:00:01.952 ****** 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-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/tasks/main.yml:19 Tuesday 05 December 2023 21:02:25 +0000 (0:00:00.017) 0:00:01.970 ****** 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-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/tasks/main.yml:24 Tuesday 05 December 2023 21:02:25 +0000 (0:00:00.017) 0:00:01.988 ****** 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-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/tasks/main.yml:29 Tuesday 05 December 2023 21:02:25 +0000 (0:00:00.020) 0:00:02.008 ****** ok: [sut] => { "ansible_facts": { "__metrics_accounts": [ { "saslpassword": "metrics", "sasluser": "metrics", "user": "metrics" } ] }, "changed": false } TASK [Configure Elasticsearch metrics] ***************************************** task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/tasks/main.yml:37 Tuesday 05 December 2023 21:02:25 +0000 (0:00:00.019) 0:00:02.028 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Configure SQL Server metrics.] ******************************************* task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/tasks/main.yml:52 Tuesday 05 December 2023 21:02:25 +0000 (0:00:00.021) 0:00:02.049 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Configure Postfix metrics.] ********************************************** task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/tasks/main.yml:60 Tuesday 05 December 2023 21:02:25 +0000 (0:00:00.018) 0:00:02.068 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup bpftrace metrics.] ************************************************* task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/tasks/main.yml:68 Tuesday 05 December 2023 21:02:25 +0000 (0:00:00.021) 0:00:02.089 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup metric querying service.] ****************************************** task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/tasks/main.yml:77 Tuesday 05 December 2023 21:02:25 +0000 (0:00:00.017) 0:00:02.107 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup metric collection service.] **************************************** task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/tasks/main.yml:85 Tuesday 05 December 2023 21:02:25 +0000 (0:00:00.017) 0:00:02.124 ****** TASK [/WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Set platform/version specific variables] *** task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:4 Tuesday 05 December 2023 21:02:25 +0000 (0:00:00.038) 0:00:02.163 ****** ok: [sut] => (item=/WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/default.yml) => { "ansible_facts": {}, "ansible_included_var_files": [ "/WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/default.yml" } ok: [sut] => (item=/WORKDIR/git-webhook-event-notificationq8h0_pfp/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-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/RedHat.yml" } ok: [sut] => (item=/WORKDIR/git-webhook-event-notificationq8h0_pfp/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-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/Fedora.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/Fedora.yml" } skipping: [sut] => (item=/WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/git-webhook-event-notificationq8h0_pfp/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-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/Fedora_38.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/Fedora_38.yml", "skip_reason": "Conditional result was False" } TASK [/WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Check if system is ostree] *** task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:18 Tuesday 05 December 2023 21:02:25 +0000 (0:00:00.029) 0:00:02.192 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [/WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:23 Tuesday 05 December 2023 21:02:25 +0000 (0:00:00.262) 0:00:02.455 ****** ok: [sut] => { "ansible_facts": { "__ansible_pcp_is_ostree": false }, "changed": false } TASK [/WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Install Performance Co-Pilot packages] *** task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:27 Tuesday 05 December 2023 21:02:25 +0000 (0:00:00.013) 0:00:02.468 ****** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: pcp-doc-6.1.1-1.fc38.noarch", "Installed: pcp-pmda-dm-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-pmda-openmetrics-6.1.1-1.fc38.x86_64", "Installed: pcp-system-tools-6.1.1-1.fc38.x86_64", "Installed: pcp-zeroconf-6.1.1-1.fc38.x86_64", "Installed: libuv-1:1.47.0-3.fc38.x86_64", "Installed: python3-pcp-6.1.1-1.fc38.x86_64", "Installed: pcp-libs-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" ] } TASK [/WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Install authentication packages] *** task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:34 Tuesday 05 December 2023 21:02:49 +0000 (0:00:23.764) 0:00:26.232 ****** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: cyrus-sasl-scram-2.1.28-9.fc38.x86_64" ] } TASK [/WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Include pmcd] *** task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:44 Tuesday 05 December 2023 21:02:53 +0000 (0:00:04.214) 0:00:30.447 ****** included: /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml for sut TASK [/WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : List optional metric collection agents to be enabled] *** task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:4 Tuesday 05 December 2023 21:02:53 +0000 (0:00:00.015) 0:00:30.462 ****** TASK [/WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Extract metric collection configuration file content] *** task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:9 Tuesday 05 December 2023 21:02:53 +0000 (0:00:00.008) 0:00:30.471 ****** ok: [sut] => { "changed": false, "cmd": [ "cat", "/etc/pcp/pmcd/pmcd.conf" ], "delta": "0:00:00.005427", "end": "2023-12-05 21:02:53.839963", "rc": 0, "start": "2023-12-05 21:02:53.834536" } 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-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure optional metric collection agents are enabled] *** task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:14 Tuesday 05 December 2023 21:02:53 +0000 (0:00:00.339) 0:00:30.810 ****** TASK [/WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure explicit metric label path exists] *** task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:23 Tuesday 05 December 2023 21:02:53 +0000 (0:00:00.009) 0:00:30.819 ****** 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-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure implicit metric label path exists] *** task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:31 Tuesday 05 December 2023 21:02:54 +0000 (0:00:00.293) 0:00:31.113 ****** 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-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure any explicit metric labels are configured] *** task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:39 Tuesday 05 December 2023 21:02:54 +0000 (0:00:00.226) 0:00:31.340 ****** 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-1701810174.4398975-2534-53368824441839/source", "state": "file", "uid": 0 } TASK [/WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure any implicit metric labels are configured] *** task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:46 Tuesday 05 December 2023 21:02:55 +0000 (0:00:00.658) 0:00:31.999 ****** 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-1701810175.0993536-2555-1501785049822/source", "state": "file", "uid": 0 } TASK [/WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector is configured] *** task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:53 Tuesday 05 December 2023 21:02:55 +0000 (0:00:00.580) 0:00:32.579 ****** 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-1701810175.6820757-2569-225425839989026/source", "state": "file", "uid": 0 } TASK [/WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector system accounts are configured] *** task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:60 Tuesday 05 December 2023 21:02:56 +0000 (0:00:00.617) 0:00:33.196 ****** 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-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector SASL accounts are configured] *** task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:68 Tuesday 05 December 2023 21:02:56 +0000 (0:00:00.496) 0:00:33.693 ****** 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.039021", "end": "2023-12-05 21:02:56.988468", "item": { "saslpassword": "metrics", "sasluser": "metrics", "user": "metrics" }, "rc": 0, "start": "2023-12-05 21:02:56.949447" } STDOUT: Creating new metrics user in /etc/pcp/passwd.db STDERR: listusers failed TASK [/WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector authentication is configured] *** task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:86 Tuesday 05 December 2023 21:02:57 +0000 (0:00:00.258) 0:00:33.952 ****** 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-1701810177.0542657-2617-106898577460846/source", "state": "file", "uid": 0 } TASK [/WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Set variable to do pmcd restart if needed] *** task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:94 Tuesday 05 December 2023 21:02:57 +0000 (0:00:00.675) 0:00:34.627 ****** ok: [sut] => { "ansible_facts": { "__pcp_restart_pmcd": true }, "changed": false } TASK [/WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Report performance metric collector restart state] *** task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:105 Tuesday 05 December 2023 21:02:57 +0000 (0:00:00.012) 0:00:34.639 ****** 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-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector is running and enabled on boot] *** task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:116 Tuesday 05 December 2023 21:02:57 +0000 (0:00:00.012) 0:00:34.652 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector is restarted and enabled on boot] *** task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:123 Tuesday 05 December 2023 21:02:57 +0000 (0:00:00.008) 0:00:34.660 ****** 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": "systemd-journald.socket basic.target sysinit.target network-online.target avahi-daemon.service system.slice", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "multi-user.target zabbix-agent.service pmie.service shutdown.target 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": "multi-user.target pmie.service pmlogger.service", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } TASK [/WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Include pmie] *** task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:47 Tuesday 05 December 2023 21:02:58 +0000 (0:00:00.969) 0:00:35.630 ****** included: /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml for sut TASK [/WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra performance rule group directories exist] *** task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:4 Tuesday 05 December 2023 21:02:58 +0000 (0:00:00.016) 0:00:35.647 ****** 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-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra performance rule group link directories exist] *** task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:14 Tuesday 05 December 2023 21:02:59 +0000 (0:00:00.977) 0:00:36.624 ****** 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-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra performance rules are installed for targeted hosts] *** task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:24 Tuesday 05 December 2023 21:03:00 +0000 (0:00:00.991) 0:00:37.616 ****** 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-1701810180.7191572-2747-94974480811778/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-1701810181.3723617-2747-46697711575378/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-1701810181.9634387-2747-228546430373386/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-1701810182.6236415-2747-36082038647471/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-1701810183.2329798-2747-61918778892595/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-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance rule actions are installed for targeted hosts] *** task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:34 Tuesday 05 December 2023 21:03:04 +0000 (0:00:03.723) 0:00:41.340 ****** ok: [sut] => { "ansible_facts": { "local_pmie": "default" }, "changed": false } TASK [/WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Check if global pmie webhook action is configured] *** task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:38 Tuesday 05 December 2023 21:03:04 +0000 (0:00:00.008) 0:00:41.348 ****** skipping: [sut] => (item=default) => { "ansible_loop_var": "item", "changed": false, "item": "default", "skip_reason": "Conditional result was False" } TASK [/WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Configure global webhook action] *** task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:50 Tuesday 05 December 2023 21:03:04 +0000 (0:00:00.013) 0:00:41.361 ****** skipping: [sut] => (item={'changed': False, 'skipped': True, 'skip_reason': 'Conditional result was False', 'item': 'default', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "changed": false, "item": "default", "skip_reason": "Conditional result was False", "skipped": true }, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Check if global webhook endpoint is configured] *** task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:63 Tuesday 05 December 2023 21:03:04 +0000 (0:00:00.011) 0:00:41.373 ****** ok: [sut] => (item=default) => { "ansible_loop_var": "item", "backup": "", "changed": false, "found": 0, "item": "default" } TASK [/WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Configure global webhook endpoint] *** task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:73 Tuesday 05 December 2023 21:03:04 +0000 (0:00:00.291) 0:00:41.664 ****** skipping: [sut] => (item={'changed': False, 'found': 0, 'msg': '', 'backup': '', 'diff': [{'before': '', 'after': '', 'before_header': '/var/lib/pcp/config/pmie/config.default (content)', 'after_header': '/var/lib/pcp/config/pmie/config.default (content)'}, {'before_header': '/var/lib/pcp/config/pmie/config.default (file attributes)', 'after_header': '/var/lib/pcp/config/pmie/config.default (file attributes)'}], 'invocation': {'module_args': {'state': 'absent', 'path': '/var/lib/pcp/config/pmie/config.default', 'regexp': '//.*global webhook_endpoint = ""', 'backrefs': False, 'create': False, 'backup': False, 'firstmatch': False, 'follow': False, 'unsafe_writes': False, 'line': None, 'insertafter': None, 'insertbefore': None, 'validate': None, 'mode': None, 'owner': None, 'group': None, 'seuser': None, 'serole': None, 'selevel': None, 'setype': None, 'attributes': None, 'src': None, 'force': None, 'content': None, 'remote_src': None, 'delimiter': None, 'directory_mode': None}}, 'failed': False, 'item': 'default', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": false, "item": { "ansible_loop_var": "item", "backup": "", "changed": false, "diff": [ { "after": "", "after_header": "/var/lib/pcp/config/pmie/config.default (content)", "before": "", "before_header": "/var/lib/pcp/config/pmie/config.default (content)" }, { "after_header": "/var/lib/pcp/config/pmie/config.default (file attributes)", "before_header": "/var/lib/pcp/config/pmie/config.default (file attributes)" } ], "failed": false, "found": 0, "invocation": { "module_args": { "attributes": null, "backrefs": false, "backup": false, "content": null, "create": false, "delimiter": null, "directory_mode": null, "firstmatch": false, "follow": false, "force": null, "group": null, "insertafter": null, "insertbefore": null, "line": null, "mode": null, "owner": null, "path": "/var/lib/pcp/config/pmie/config.default", "regexp": "//.*global webhook_endpoint = \"\"", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "absent", "unsafe_writes": false, "validate": null } }, "item": "default", "msg": "" }, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra rules symlinks have been created for targeted hosts] *** task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:86 Tuesday 05 December 2023 21:03:04 +0000 (0:00:00.013) 0:00:41.678 ****** changed: [sut] => (item=network/tcplistenoverflows) => { "ansible_loop_var": "item", "changed": true, "dest": "/var/lib/pcp/config/pmieconf/network/tcplistenoverflows", "gid": 0, "group": "root", "item": "network/tcplistenoverflows", "mode": "0777", "owner": "root", "secontext": "unconfined_u:object_r:pcp_var_lib_t:s0", "size": 44, "src": "/etc/pcp/pmieconf/network/tcplistenoverflows", "state": "link", "uid": 0 } changed: [sut] => (item=network/tcpqfulldocookies) => { "ansible_loop_var": "item", "changed": true, "dest": "/var/lib/pcp/config/pmieconf/network/tcpqfulldocookies", "gid": 0, "group": "root", "item": "network/tcpqfulldocookies", "mode": "0777", "owner": "root", "secontext": "unconfined_u:object_r:pcp_var_lib_t:s0", "size": 43, "src": "/etc/pcp/pmieconf/network/tcpqfulldocookies", "state": "link", "uid": 0 } changed: [sut] => (item=network/tcpqfulldrops) => { "ansible_loop_var": "item", "changed": true, "dest": "/var/lib/pcp/config/pmieconf/network/tcpqfulldrops", "gid": 0, "group": "root", "item": "network/tcpqfulldrops", "mode": "0777", "owner": "root", "secontext": "unconfined_u:object_r:pcp_var_lib_t:s0", "size": 39, "src": "/etc/pcp/pmieconf/network/tcpqfulldrops", "state": "link", "uid": 0 } changed: [sut] => (item=power/thermal_throttle) => { "ansible_loop_var": "item", "changed": true, "dest": "/var/lib/pcp/config/pmieconf/power/thermal_throttle", "gid": 0, "group": "root", "item": "power/thermal_throttle", "mode": "0777", "owner": "root", "secontext": "unconfined_u:object_r:pcp_var_lib_t:s0", "size": 40, "src": "/etc/pcp/pmieconf/power/thermal_throttle", "state": "link", "uid": 0 } changed: [sut] => (item=zeroconf/all_threads) => { "ansible_loop_var": "item", "changed": true, "dest": "/var/lib/pcp/config/pmieconf/zeroconf/all_threads", "gid": 0, "group": "root", "item": "zeroconf/all_threads", "mode": "0777", "owner": "root", "secontext": "unconfined_u:object_r:pcp_var_lib_t:s0", "size": 38, "src": "/etc/pcp/pmieconf/zeroconf/all_threads", "state": "link", "uid": 0 } changed: [sut] => (item=filesys/vfs_files) => { "ansible_loop_var": "item", "changed": true, "dest": "/var/lib/pcp/config/pmieconf/filesys/vfs_files", "gid": 0, "group": "root", "item": "filesys/vfs_files", "mode": "0777", "owner": "root", "secontext": "unconfined_u:object_r:pcp_var_lib_t:s0", "size": 35, "src": "/etc/pcp/pmieconf/filesys/vfs_files", "state": "link", "uid": 0 } TASK [/WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Enable performance metric inference for targeted hosts (with control.d)] *** task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:95 Tuesday 05 December 2023 21:03:06 +0000 (0:00:01.490) 0:00:43.168 ****** TASK [/WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Enable performance metric inference for targeted hosts (single control)] *** task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:106 Tuesday 05 December 2023 21:03:06 +0000 (0:00:00.009) 0:00:43.178 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Set variable to do pmie restart if needed] *** task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:116 Tuesday 05 December 2023 21:03:06 +0000 (0:00:00.009) 0:00:43.188 ****** ok: [sut] => { "ansible_facts": { "__pcp_restart_pmie": true }, "changed": false } TASK [/WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric inference is running and enabled on boot] *** task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:127 Tuesday 05 December 2023 21:03:06 +0000 (0:00:00.011) 0:00:43.199 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric inference is restarted and enabled on boot] *** task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:134 Tuesday 05 December 2023 21:03:06 +0000 (0:00:00.008) 0:00:43.208 ****** changed: [sut] => { "changed": true, "enabled": true, "name": "pmie", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice systemd-journald.socket pmcd.service sysinit.target basic.target network-online.target", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target pmie_check.timer pmie_farm.service pmie_daily.timer multi-user.target", "BindsTo": "pmie_check.timer pmie_farm.service pmie_daily.timer", "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", "ConsistsOf": "pmie_farm.service", "ControlGroupId": "0", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Performance Metrics Inference Engine", "DevicePolicy": "auto", "Documentation": "\"man:pmie(1)\"", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "Environment": "PMIE_CHECK_PARAMS=--only-primary", "EnvironmentFiles": "/etc/sysconfig/pmie (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/libexec/pcp/lib/pmie ; argv[]=/usr/libexec/pcp/lib/pmie 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/pmie ; argv[]=/usr/libexec/pcp/lib/pmie start-systemd ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStop": "{ path=/usr/libexec/pcp/lib/pmie ; argv[]=/usr/libexec/pcp/lib/pmie 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/pmie ; argv[]=/usr/libexec/pcp/lib/pmie 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/pmie.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": "pmie.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": "pmie.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "all", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "PIDFile": "/run/pcp/pmie.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": "2min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "2min", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "2min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "pmcd.service", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } TASK [/WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Include pmlogger] *** task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:50 Tuesday 05 December 2023 21:03:07 +0000 (0:00:01.066) 0:00:44.275 ****** included: /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml for sut TASK [/WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure metric log location is configured] *** task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:4 Tuesday 05 December 2023 21:03:07 +0000 (0:00:00.017) 0:00:44.292 ****** ok: [sut] => { "backup": "", "changed": false } TASK [/WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric logging is configured] *** task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:12 Tuesday 05 December 2023 21:03:07 +0000 (0:00:00.422) 0:00:44.715 ****** changed: [sut] => { "changed": true, "checksum": "67bc35973101c614e92b1990f8bebfffc39fe498", "dest": "/etc/sysconfig/pmlogger", "gid": 0, "group": "root", "md5sum": "be3c2b929f8c3f822c4ee10fb7b5053d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 1180, "src": "/root/.ansible/tmp/ansible-tmp-1701810187.848709-2990-164149500585618/source", "state": "file", "uid": 0 } TASK [/WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric logging retention period is set] *** task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:19 Tuesday 05 December 2023 21:03:08 +0000 (0:00:00.746) 0:00:45.462 ****** NOTIFIED HANDLER /WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Restart pmlogger for sut changed: [sut] => { "changed": true, "checksum": "df7bd3b5b6f1de3af164aab81441c7251a13a298", "dest": "/etc/sysconfig/pmlogger_timers", "gid": 0, "group": "root", "md5sum": "97c2cdbde792aba7ff0c922c6e06e10b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 988, "src": "/root/.ansible/tmp/ansible-tmp-1701810188.5596716-3007-186489030187074/source", "state": "file", "uid": 0 } TASK [/WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Enable performance metric logging for targeted hosts (with control.d)] *** task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:27 Tuesday 05 December 2023 21:03:09 +0000 (0:00:00.595) 0:00:46.057 ****** TASK [/WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Enable performance metric logging for targeted hosts (single control)] *** task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:39 Tuesday 05 December 2023 21:03:09 +0000 (0:00:00.009) 0:00:46.067 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Set variable to do pmlogger restart if needed] *** task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:49 Tuesday 05 December 2023 21:03:09 +0000 (0:00:00.009) 0:00:46.076 ****** ok: [sut] => { "ansible_facts": { "__pcp_restart_pmlogger": true }, "changed": false } TASK [/WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric logging is running and enabled on boot] *** task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:58 Tuesday 05 December 2023 21:03:09 +0000 (0:00:00.010) 0:00:46.087 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric logging is restarted and enabled on boot] *** task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:65 Tuesday 05 December 2023 21:03:09 +0000 (0:00:00.008) 0:00:46.095 ****** changed: [sut] => { "changed": true, "enabled": true, "name": "pmlogger", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket network-online.target sysinit.target basic.target pmcd.service system.slice", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "pmlogger_daily.timer multi-user.target pmlogger_farm.service shutdown.target pmlogger_check.timer", "BindsTo": "pmlogger_daily.timer pmlogger_check.timer pmlogger_farm.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", "ConsistsOf": "pmlogger_farm.service", "ControlGroupId": "0", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Performance Metrics Archive Logger", "DevicePolicy": "auto", "Documentation": "\"man:pmlogger(1)\"", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "Environment": "PMLOGGER_CHECK_PARAMS=--only-primary", "EnvironmentFiles": "/etc/sysconfig/pmlogger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/libexec/pcp/lib/pmlogger ; argv[]=/usr/libexec/pcp/lib/pmlogger 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/pmlogger ; argv[]=/usr/libexec/pcp/lib/pmlogger start-systemd ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStop": "{ path=/usr/libexec/pcp/lib/pmlogger ; argv[]=/usr/libexec/pcp/lib/pmlogger 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/pmlogger ; argv[]=/usr/libexec/pcp/lib/pmlogger 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/pmlogger.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": "pmlogger.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": "pmlogger.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "all", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "PIDFile": "/run/pcp/pmlogger.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": "2min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "2min", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "2min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "pmcd.service", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } TASK [/WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Include pmproxy] *** task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:53 Tuesday 05 December 2023 21:03:10 +0000 (0:00:01.405) 0:00:47.500 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup metric graphing service.] ****************************************** task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/tasks/main.yml:99 Tuesday 05 December 2023 21:03:10 +0000 (0:00:00.010) 0:00:47.511 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.metrics : Configure firewall] ************************* task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/tasks/main.yml:107 Tuesday 05 December 2023 21:03:10 +0000 (0:00:00.010) 0:00:47.521 ****** included: /WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/tasks/firewall.yml for sut TASK [linux-system-roles.metrics : Initialize __metrics_firewall] ************** task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/tasks/firewall.yml:9 Tuesday 05 December 2023 21:03:10 +0000 (0:00:00.013) 0:00:47.535 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.metrics : Port for pmcd] ****************************** task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/tasks/firewall.yml:13 Tuesday 05 December 2023 21:03:10 +0000 (0:00:00.009) 0:00:47.545 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.metrics : Port for pmproxy used by query and grafana] *** task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/tasks/firewall.yml:19 Tuesday 05 December 2023 21:03:10 +0000 (0:00:00.009) 0:00:47.555 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.metrics : Service for grafana] ************************ task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/tasks/firewall.yml:26 Tuesday 05 December 2023 21:03:10 +0000 (0:00:00.009) 0:00:47.564 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.metrics : Service for redis] ************************** task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/tasks/firewall.yml:33 Tuesday 05 December 2023 21:03:10 +0000 (0:00:00.009) 0:00:47.574 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure the service and the port status with the firewall role] *********** task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/tasks/firewall.yml:40 Tuesday 05 December 2023 21:03:10 +0000 (0:00:00.010) 0:00:47.584 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.metrics : Configure selinux] ************************** task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/tasks/main.yml:110 Tuesday 05 December 2023 21:03:10 +0000 (0:00:00.008) 0:00:47.592 ****** included: /WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/tasks/selinux.yml for sut TASK [linux-system-roles.metrics : Set pcp_bind_all_unreserved_ports] ********** task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/tasks/selinux.yml:6 Tuesday 05 December 2023 21:03:10 +0000 (0:00:00.012) 0:00:47.605 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure the port status with the selinux role] **************************** task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/tasks/selinux.yml:11 Tuesday 05 December 2023 21:03:10 +0000 (0:00:00.009) 0:00:47.614 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [/WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Restart pmlogger] *** task path: /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/handlers/main.yml:19 Tuesday 05 December 2023 21:03:10 +0000 (0:00:00.006) 0:00:47.620 ****** changed: [sut] => { "changed": true, "name": "pmlogger", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Tue 2023-12-05 21:03:10 UTC", "ActiveEnterTimestampMonotonic": "788391663", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket network-online.target sysinit.target basic.target pmcd.service system.slice", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-12-05 21:03:09 UTC", "AssertTimestampMonotonic": "787667372", "Before": "pmlogger_daily.timer multi-user.target pmlogger_farm.service shutdown.target pmlogger_check.timer", "BindsTo": "pmlogger_daily.timer pmlogger_check.timer pmlogger_farm.service", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "873593000", "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": "yes", "ConditionTimestamp": "Tue 2023-12-05 21:03:09 UTC", "ConditionTimestampMonotonic": "787667369", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ConsistsOf": "pmlogger_farm.service", "ControlGroup": "/system.slice/pmlogger.service", "ControlGroupId": "5235", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Performance Metrics Archive Logger", "DevicePolicy": "auto", "Documentation": "\"man:pmlogger(1)\"", "DropInPaths": "/usr/lib/systemd/system/service.d/10-timeout-abort.conf", "DynamicUser": "no", "Environment": "PMLOGGER_CHECK_PARAMS=--only-primary", "EnvironmentFiles": "/etc/sysconfig/pmlogger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9336", "ExecMainStartTimestamp": "Tue 2023-12-05 21:03:10 UTC", "ExecMainStartTimestampMonotonic": "788391562", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/libexec/pcp/lib/pmlogger ; argv[]=/usr/libexec/pcp/lib/pmlogger start-systemd ; ignore_errors=no ; start_time=[Tue 2023-12-05 21:03:09 UTC] ; stop_time=[n/a] ; pid=9105 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/libexec/pcp/lib/pmlogger ; argv[]=/usr/libexec/pcp/lib/pmlogger start-systemd ; flags= ; start_time=[Tue 2023-12-05 21:03:09 UTC] ; stop_time=[n/a] ; pid=9105 ; code=(null) ; status=0/0 }", "ExecStop": "{ path=/usr/libexec/pcp/lib/pmlogger ; argv[]=/usr/libexec/pcp/lib/pmlogger 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/pmlogger ; argv[]=/usr/libexec/pcp/lib/pmlogger 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/pmlogger.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": "pmlogger.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2023-12-05 21:03:09 UTC", "InactiveExitTimestampMonotonic": "787681869", "InvocationID": "cb27222c947847f7a560ffc00089ce08", "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": "9336", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "6373376", "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": "pmlogger.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "all", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "PIDFile": "/run/pcp/pmlogger.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]", "StateChangeTimestamp": "Tue 2023-12-05 21:03:10 UTC", "StateChangeTimestampMonotonic": "788391663", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "7", "TasksMax": "4434", "TimeoutAbortUSec": "2min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "2min", "TimeoutStopFailureMode": "abort", "TimeoutStopUSec": "2min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "pmcd.service", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=39 changed=15 unreachable=0 failed=0 skipped=32 rescued=0 ignored=0 Tuesday 05 December 2023 21:04:11 +0000 (0:01:00.548) 0:01:48.169 ****** =============================================================================== /WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Restart pmlogger -- 60.55s /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/handlers/main.yml:19 /WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Install Performance Co-Pilot packages -- 23.76s /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:27 /WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Install authentication packages --- 4.21s /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:34 /WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra performance rules are installed for targeted hosts --- 3.72s /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:24 Gathering Facts --------------------------------------------------------- 1.88s /WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/tests_default.yml:9 ----- /WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra rules symlinks have been created for targeted hosts --- 1.49s /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:86 /WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric logging is restarted and enabled on boot --- 1.41s /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:65 /WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric inference is restarted and enabled on boot --- 1.07s /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:134 /WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra performance rule group link directories exist --- 0.99s /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:14 /WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra performance rule group directories exist --- 0.98s /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:4 /WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector is restarted and enabled on boot --- 0.97s /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:123 /WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric logging is configured --- 0.75s /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:12 /WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector authentication is configured --- 0.68s /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:86 /WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure any explicit metric labels are configured --- 0.66s /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:39 /WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector is configured --- 0.62s /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:53 /WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric logging retention period is set --- 0.60s /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:19 /WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure any implicit metric labels are configured --- 0.58s /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:46 /WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector system accounts are configured --- 0.50s /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:60 /WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure metric log location is configured --- 0.42s /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:4 /WORKDIR/git-webhook-event-notificationq8h0_pfp/tests/roles/linux-system-roles.metrics/roles/pcp : Extract metric collection configuration file content --- 0.34s /WORKDIR/git-webhook-event-notificationq8h0_pfp/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:9 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---