# 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-notificationq8tki72s/tests/tests_default.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Include vault variables] ************************************************* task path: /WORKDIR/git-webhook-event-notificationq8tki72s/tests/tests_default.yml:4 Tuesday 05 December 2023 01:53:19 +0000 (0:00:00.015) 0:00:00.015 ****** 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-notificationq8tki72s/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-notificationq8tki72s/tests/tests_default.yml:9 Tuesday 05 December 2023 01:53:19 +0000 (0:00:00.014) 0:00:00.029 ****** ok: [sut] META: ran handlers TASK [linux-system-roles.metrics : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/tasks/main.yml:3 Tuesday 05 December 2023 01:53:19 +0000 (0:00:00.699) 0:00:00.729 ****** 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-notificationq8tki72s/tests/roles/linux-system-roles.metrics/tasks/main.yml:9 Tuesday 05 December 2023 01:53:19 +0000 (0:00:00.022) 0:00:00.752 ****** 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-notificationq8tki72s/tests/roles/linux-system-roles.metrics/tasks/main.yml:14 Tuesday 05 December 2023 01:53:19 +0000 (0:00:00.021) 0:00:00.773 ****** 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-notificationq8tki72s/tests/roles/linux-system-roles.metrics/tasks/main.yml:19 Tuesday 05 December 2023 01:53:19 +0000 (0:00:00.019) 0:00:00.793 ****** 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-notificationq8tki72s/tests/roles/linux-system-roles.metrics/tasks/main.yml:24 Tuesday 05 December 2023 01:53:19 +0000 (0:00:00.020) 0:00:00.813 ****** 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-notificationq8tki72s/tests/roles/linux-system-roles.metrics/tasks/main.yml:29 Tuesday 05 December 2023 01:53:19 +0000 (0:00:00.019) 0:00:00.833 ****** ok: [sut] => { "ansible_facts": { "__metrics_accounts": [ { "saslpassword": "metrics", "sasluser": "metrics", "user": "metrics" } ] }, "changed": false } TASK [Configure Elasticsearch metrics] ***************************************** task path: /WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/tasks/main.yml:37 Tuesday 05 December 2023 01:53:19 +0000 (0:00:00.022) 0:00:00.855 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Configure SQL Server metrics.] ******************************************* task path: /WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/tasks/main.yml:52 Tuesday 05 December 2023 01:53:20 +0000 (0:00:00.020) 0:00:00.876 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Configure Postfix metrics.] ********************************************** task path: /WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/tasks/main.yml:60 Tuesday 05 December 2023 01:53:20 +0000 (0:00:00.019) 0:00:00.896 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup bpftrace metrics.] ************************************************* task path: /WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/tasks/main.yml:68 Tuesday 05 December 2023 01:53:20 +0000 (0:00:00.020) 0:00:00.917 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup metric querying service.] ****************************************** task path: /WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/tasks/main.yml:77 Tuesday 05 December 2023 01:53:20 +0000 (0:00:00.020) 0:00:00.937 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup metric collection service.] **************************************** task path: /WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/tasks/main.yml:85 Tuesday 05 December 2023 01:53:20 +0000 (0:00:00.021) 0:00:00.959 ****** TASK [/WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : Set platform/version specific variables] *** task path: /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:4 Tuesday 05 December 2023 01:53:20 +0000 (0:00:00.048) 0:00:01.008 ****** ok: [sut] => (item=/WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/default.yml) => { "ansible_facts": {}, "ansible_included_var_files": [ "/WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/default.yml" } ok: [sut] => (item=/WORKDIR/git-webhook-event-notificationq8tki72s/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-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/RedHat.yml" } skipping: [sut] => (item=/WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=/WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/CentOS_8.yml) => { "ansible_facts": { "__pcp_packages_extra": [ "pcp-zeroconf" ], "__pcp_sasl_mechlist": "scram-sha-256", "__pcp_sasl_packages": [ "cyrus-sasl-lib", "cyrus-sasl-scram" ] }, "ansible_included_var_files": [ "/WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/CentOS_8.yml" } ok: [sut] => (item=/WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/CentOS_8.yml) => { "ansible_facts": { "__pcp_packages_extra": [ "pcp-zeroconf" ], "__pcp_sasl_mechlist": "scram-sha-256", "__pcp_sasl_packages": [ "cyrus-sasl-lib", "cyrus-sasl-scram" ] }, "ansible_included_var_files": [ "/WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/CentOS_8.yml" } TASK [/WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : Check if system is ostree] *** task path: /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:18 Tuesday 05 December 2023 01:53:20 +0000 (0:00:00.033) 0:00:01.041 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [/WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:23 Tuesday 05 December 2023 01:53:20 +0000 (0:00:00.260) 0:00:01.301 ****** ok: [sut] => { "ansible_facts": { "__ansible_pcp_is_ostree": false }, "changed": false } TASK [/WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : Install Performance Co-Pilot packages] *** task path: /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:27 Tuesday 05 December 2023 01:53:20 +0000 (0:00:00.014) 0:00:01.316 ****** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: python3-pcp-5.3.7-18.el8.x86_64", "Installed: pcp-system-tools-5.3.7-18.el8.x86_64", "Installed: pcp-pmda-dm-5.3.7-18.el8.x86_64", "Installed: pcp-libs-5.3.7-18.el8.x86_64", "Installed: libuv-1:1.41.1-1.el8_4.x86_64", "Installed: pcp-pmda-nfsclient-5.3.7-18.el8.x86_64", "Installed: pcp-selinux-5.3.7-18.el8.x86_64", "Installed: pcp-pmda-openmetrics-5.3.7-18.el8.x86_64", "Installed: pcp-conf-5.3.7-18.el8.x86_64", "Installed: pcp-doc-5.3.7-18.el8.noarch", "Installed: pcp-5.3.7-18.el8.x86_64", "Installed: pcp-zeroconf-5.3.7-18.el8.x86_64" ] } TASK [/WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : Install authentication packages] *** task path: /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:34 Tuesday 05 December 2023 01:53:57 +0000 (0:00:37.270) 0:00:38.586 ****** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: cyrus-sasl-scram-2.1.27-6.el8_5.x86_64" ] } TASK [/WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : Include pmcd] *** task path: /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:44 Tuesday 05 December 2023 01:54:05 +0000 (0:00:08.235) 0:00:46.821 ****** included: /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml for sut TASK [/WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : List optional metric collection agents to be enabled] *** task path: /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:4 Tuesday 05 December 2023 01:54:05 +0000 (0:00:00.022) 0:00:46.844 ****** TASK [/WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : Extract metric collection configuration file content] *** task path: /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:9 Tuesday 05 December 2023 01:54:05 +0000 (0:00:00.012) 0:00:46.856 ****** ok: [sut] => { "changed": false, "cmd": [ "cat", "/etc/pcp/pmcd/pmcd.conf" ], "delta": "0:00:01.004454", "end": "2023-12-05 01:54:07.235670", "rc": 0, "start": "2023-12-05 01:54:06.231216" } STDOUT: # # Name Id IPC IPC Params File/Cmd # Performance Metrics Domain Specifications # This file is automatically generated during the build 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 pmproxy 4 dso pmproxy_init /var/lib/pcp/pmdas/mmv/pmda_mmv.so xfs 11 pipe binary /var/lib/pcp/pmdas/xfs/pmdaxfs -d 11 linux 60 pipe binary /var/lib/pcp/pmdas/linux/pmdalinux nfsclient 62 pipe binary python3 /var/lib/pcp/pmdas/nfsclient/pmdanfsclient.python mmv 70 dso mmv_init /var/lib/pcp/pmdas/mmv/pmda_mmv.so kvm 95 pipe binary /var/lib/pcp/pmdas/kvm/pmdakvm -d 95 jbd2 122 dso jbd2_init /var/lib/pcp/pmdas/jbd2/pmda_jbd2.so dm 129 pipe binary /var/lib/pcp/pmdas/dm/pmdadm -d 129 [access] disallow ".*" : store; disallow ":*" : store; allow "local:*" : all; TASK [/WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure optional metric collection agents are enabled] *** task path: /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:14 Tuesday 05 December 2023 01:54:07 +0000 (0:00:01.272) 0:00:48.129 ****** TASK [/WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure explicit metric label path exists] *** task path: /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:23 Tuesday 05 December 2023 01:54:07 +0000 (0:00:00.011) 0:00:48.140 ****** 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": 22, "state": "directory", "uid": 0 } TASK [/WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure implicit metric label path exists] *** task path: /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:31 Tuesday 05 December 2023 01:54:07 +0000 (0:00:00.278) 0:00:48.419 ****** 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": 6, "state": "directory", "uid": 0 } TASK [/WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure any explicit metric labels are configured] *** task path: /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:39 Tuesday 05 December 2023 01:54:07 +0000 (0:00:00.197) 0:00:48.617 ****** 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-1701741247.7809749-6146-33952764415005/source", "state": "file", "uid": 0 } TASK [/WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure any implicit metric labels are configured] *** task path: /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:46 Tuesday 05 December 2023 01:54:08 +0000 (0:00:00.821) 0:00:49.438 ****** 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-1701741248.6138573-6156-213544594555948/source", "state": "file", "uid": 0 } TASK [/WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector is configured] *** task path: /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:53 Tuesday 05 December 2023 01:54:09 +0000 (0:00:00.648) 0:00:50.087 ****** changed: [sut] => { "changed": true, "checksum": "7518789c091387cd9c322e1a8fa8aad21d4efbd3", "dest": "/etc/sysconfig/pmcd", "gid": 0, "group": "root", "md5sum": "073cb531c98ecbe1841811dc55975e29", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 1627, "src": "/root/.ansible/tmp/ansible-tmp-1701741249.2511356-6166-148073095712867/source", "state": "file", "uid": 0 } TASK [/WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector system accounts are configured] *** task path: /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:60 Tuesday 05 December 2023 01:54:09 +0000 (0:00:00.541) 0:00:50.628 ****** changed: [sut] => (item={'user': 'metrics', 'sasluser': 'metrics', 'saslpassword': 'metrics'}) => { "ansible_loop_var": "item", "changed": true, "comment": "", "create_home": true, "group": 990, "home": "/home/metrics", "item": { "saslpassword": "metrics", "sasluser": "metrics", "user": "metrics" }, "name": "metrics", "shell": "/bin/bash", "state": "present", "system": true, "uid": 993 } TASK [/WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector SASL accounts are configured] *** task path: /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:68 Tuesday 05 December 2023 01:54:10 +0000 (0:00:00.631) 0:00:51.259 ****** 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.099265", "end": "2023-12-05 01:54:10.661719", "item": { "saslpassword": "metrics", "sasluser": "metrics", "user": "metrics" }, "rc": 0, "start": "2023-12-05 01:54:10.562454" } STDOUT: Creating new metrics user in /etc/pcp/passwd.db STDERR: listusers failed TASK [/WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector authentication is configured] *** task path: /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:86 Tuesday 05 December 2023 01:54:10 +0000 (0:00:00.298) 0:00:51.558 ****** 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-1701741250.725914-6182-277476718288595/source", "state": "file", "uid": 0 } TASK [/WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : Set variable to do pmcd restart if needed] *** task path: /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:94 Tuesday 05 December 2023 01:54:11 +0000 (0:00:00.555) 0:00:52.113 ****** ok: [sut] => { "ansible_facts": { "__pcp_restart_pmcd": true }, "changed": false } TASK [/WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : Report performance metric collector restart state] *** task path: /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:105 Tuesday 05 December 2023 01:54:11 +0000 (0:00:00.014) 0:00:52.128 ****** 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-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector is running and enabled on boot] *** task path: /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:116 Tuesday 05 December 2023 01:54:11 +0000 (0:00:00.015) 0:00:52.143 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector is restarted and enabled on boot] *** task path: /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:123 Tuesday 05 December 2023 01:54:11 +0000 (0:00:00.011) 0:00:52.154 ****** changed: [sut] => { "changed": true, "enabled": true, "name": "pmcd", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2023-12-05 01:53:54 UTC", "ActiveEnterTimestampMonotonic": "2369156595", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network-online.target basic.target avahi-daemon.service systemd-journald.socket sysinit.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-12-05 01:53:53 UTC", "AssertTimestampMonotonic": "2368928481", "Before": "pmie.service pmlogger.service shutdown.target multi-user.target zabbix-agent.service", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-12-05 01:53:53 UTC", "ConditionTimestampMonotonic": "2368928479", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/pmcd.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Performance Metrics Collector Daemon", "DevicePolicy": "auto", "Documentation": "man:pmcd(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "10422", "ExecMainStartTimestamp": "Tue 2023-12-05 01:53:54 UTC", "ExecMainStartTimestampMonotonic": "2369156565", "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 }", "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 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/pmcd.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "pmcd.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2023-12-05 01:53:53 UTC", "InactiveExitTimestampMonotonic": "2368930130", "InvocationID": "fe03ee059a224216bd2c0025561bf307", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14004", "LimitNPROCSoft": "14004", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14004", "LimitSIGPENDINGSoft": "14004", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "10422", "MemoryAccounting": "yes", "MemoryCurrent": "41570304", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "pmcd.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "all", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/pcp/pmcd.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "always", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "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 01:53:54 UTC", "StateChangeTimestampMonotonic": "2369156595", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "12", "TasksMax": "22406", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "pmie.service multi-user.target pmlogger.service", "WatchdogTimestamp": "Tue 2023-12-05 01:53:54 UTC", "WatchdogTimestampMonotonic": "2369156592", "WatchdogUSec": "0" } } TASK [/WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : Include pmie] *** task path: /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:47 Tuesday 05 December 2023 01:54:12 +0000 (0:00:01.648) 0:00:53.802 ****** included: /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml for sut TASK [/WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra performance rule group directories exist] *** task path: /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:4 Tuesday 05 December 2023 01:54:12 +0000 (0:00:00.022) 0:00:53.825 ****** 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": 78, "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": 30, "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": 25, "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": 21, "state": "directory", "uid": 0 } TASK [/WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra performance rule group link directories exist] *** task path: /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:14 Tuesday 05 December 2023 01:54:13 +0000 (0:00:00.763) 0:00:54.588 ****** 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": 78, "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": 30, "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": 25, "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": 21, "state": "directory", "uid": 0 } TASK [/WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra performance rules are installed for targeted hosts] *** task path: /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:24 Tuesday 05 December 2023 01:54:14 +0000 (0:00:00.762) 0:00:55.351 ****** 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-1701741254.5173802-6215-58017839793043/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-1701741255.0465536-6215-161667844999388/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-1701741255.6130934-6215-178560641836194/source", "state": "file", "uid": 0 } ok: [sut] => (item=power/thermal_throttle) => { "ansible_loop_var": "item", "changed": false, "checksum": "1d53d6182709617c8f633339652d8d9e75f3b603", "dest": "/etc/pcp/pmieconf/power/thermal_throttle", "gid": 0, "group": "root", "item": "power/thermal_throttle", "mode": "0644", "owner": "root", "path": "/etc/pcp/pmieconf/power/thermal_throttle", "secontext": "system_u:object_r:etc_t:s0", "size": 1153, "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-1701741256.6005511-6215-114766470822105/source", "state": "file", "uid": 0 } changed: [sut] => (item=filesys/vfs_files) => { "ansible_loop_var": "item", "changed": true, "checksum": "cd5d85dfb8eebd7d9737d56e78bd969dafa3999c", "dest": "/etc/pcp/pmieconf/filesys/vfs_files", "gid": 0, "group": "root", "item": "filesys/vfs_files", "md5sum": "ceb10cd4cd3fbbedd52b7d7e45963eb3", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 969, "src": "/root/.ansible/tmp/ansible-tmp-1701741257.1311777-6215-148069781419589/source", "state": "file", "uid": 0 } TASK [/WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance rule actions are installed for targeted hosts] *** task path: /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:34 Tuesday 05 December 2023 01:54:17 +0000 (0:00:03.146) 0:00:58.498 ****** ok: [sut] => { "ansible_facts": { "local_pmie": "default" }, "changed": false } TASK [/WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : Check if global pmie webhook action is configured] *** task path: /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:38 Tuesday 05 December 2023 01:54:17 +0000 (0:00:00.010) 0:00:58.509 ****** skipping: [sut] => (item=default) => { "ansible_loop_var": "item", "changed": false, "item": "default", "skip_reason": "Conditional result was False" } TASK [/WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : Configure global webhook action] *** task path: /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:50 Tuesday 05 December 2023 01:54:17 +0000 (0:00:00.015) 0:00:58.524 ****** 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-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : Check if global webhook endpoint is configured] *** task path: /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:63 Tuesday 05 December 2023 01:54:17 +0000 (0:00:00.014) 0:00:58.538 ****** ok: [sut] => (item=default) => { "ansible_loop_var": "item", "backup": "", "changed": false, "found": 0, "item": "default" } TASK [/WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : Configure global webhook endpoint] *** task path: /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:73 Tuesday 05 December 2023 01:54:17 +0000 (0:00:00.272) 0:00:58.811 ****** 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-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra rules symlinks have been created for targeted hosts] *** task path: /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:86 Tuesday 05 December 2023 01:54:17 +0000 (0:00:00.016) 0:00:58.827 ****** 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-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : Enable performance metric inference for targeted hosts (with control.d)] *** task path: /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:95 Tuesday 05 December 2023 01:54:19 +0000 (0:00:01.142) 0:00:59.970 ****** TASK [/WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : Enable performance metric inference for targeted hosts (single control)] *** task path: /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:106 Tuesday 05 December 2023 01:54:19 +0000 (0:00:00.012) 0:00:59.982 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : Set variable to do pmie restart if needed] *** task path: /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:116 Tuesday 05 December 2023 01:54:19 +0000 (0:00:00.010) 0:00:59.993 ****** ok: [sut] => { "ansible_facts": { "__pcp_restart_pmie": true }, "changed": false } TASK [/WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric inference is running and enabled on boot] *** task path: /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:127 Tuesday 05 December 2023 01:54:19 +0000 (0:00:00.014) 0:01:00.008 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric inference is restarted and enabled on boot] *** task path: /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:134 Tuesday 05 December 2023 01:54:19 +0000 (0:00:00.010) 0:01:00.018 ****** changed: [sut] => { "changed": true, "enabled": true, "name": "pmie", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2023-12-05 01:53:54 UTC", "ActiveEnterTimestampMonotonic": "2369865753", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "pmcd.service system.slice network-online.target sysinit.target basic.target systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-12-05 01:53:54 UTC", "AssertTimestampMonotonic": "2369157489", "Before": "shutdown.target pmie_daily.timer pmie_check.timer multi-user.target pmie_farm.service", "BindsTo": "pmie_daily.timer pmie_check.timer pmie_farm.service", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-12-05 01:53:54 UTC", "ConditionTimestampMonotonic": "2369157487", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ConsistsOf": "pmie_farm.service", "ControlGroup": "/system.slice/pmie.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Performance Metrics Inference Engine", "DevicePolicy": "auto", "Documentation": "man:pmie(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PMIE_CHECK_PARAMS=--only-primary", "EnvironmentFiles": "/etc/sysconfig/pmie (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "11081", "ExecMainStartTimestamp": "Tue 2023-12-05 01:53:54 UTC", "ExecMainStartTimestampMonotonic": "2369865724", "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 }", "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 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/pmie.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "pmie.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2023-12-05 01:53:54 UTC", "InactiveExitTimestampMonotonic": "2369159095", "InvocationID": "10c64b447fee416180129492800bbd97", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14004", "LimitNPROCSoft": "14004", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14004", "LimitSIGPENDINGSoft": "14004", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "11081", "MemoryAccounting": "yes", "MemoryCurrent": "1626112", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "pmie.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "all", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/pcp/pmie.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "always", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "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 01:53:54 UTC", "StateChangeTimestampMonotonic": "2369865753", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "1", "TasksMax": "22406", "TimeoutStartUSec": "2min", "TimeoutStopUSec": "2min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "pmcd.service", "WatchdogTimestamp": "Tue 2023-12-05 01:53:54 UTC", "WatchdogTimestampMonotonic": "2369865749", "WatchdogUSec": "0" } } TASK [/WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : Include pmlogger] *** task path: /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:50 Tuesday 05 December 2023 01:54:20 +0000 (0:00:00.913) 0:01:00.932 ****** included: /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml for sut TASK [/WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure metric log location is configured] *** task path: /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:4 Tuesday 05 December 2023 01:54:20 +0000 (0:00:00.026) 0:01:00.958 ****** ok: [sut] => { "backup": "", "changed": false } TASK [/WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric logging is configured] *** task path: /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:12 Tuesday 05 December 2023 01:54:20 +0000 (0:00:00.293) 0:01:01.252 ****** 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-1701741260.4179049-6297-45816839058257/source", "state": "file", "uid": 0 } TASK [/WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric logging retention period is set] *** task path: /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:19 Tuesday 05 December 2023 01:54:20 +0000 (0:00:00.545) 0:01:01.798 ****** NOTIFIED HANDLER /WORKDIR/git-webhook-event-notificationq8tki72s/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-1701741260.961548-6307-175856410929332/source", "state": "file", "uid": 0 } TASK [/WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : Enable performance metric logging for targeted hosts (with control.d)] *** task path: /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:27 Tuesday 05 December 2023 01:54:21 +0000 (0:00:00.551) 0:01:02.349 ****** TASK [/WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : Enable performance metric logging for targeted hosts (single control)] *** task path: /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:39 Tuesday 05 December 2023 01:54:21 +0000 (0:00:00.011) 0:01:02.361 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : Set variable to do pmlogger restart if needed] *** task path: /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:49 Tuesday 05 December 2023 01:54:21 +0000 (0:00:00.011) 0:01:02.372 ****** ok: [sut] => { "ansible_facts": { "__pcp_restart_pmlogger": true }, "changed": false } TASK [/WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric logging is running and enabled on boot] *** task path: /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:58 Tuesday 05 December 2023 01:54:21 +0000 (0:00:00.012) 0:01:02.385 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric logging is restarted and enabled on boot] *** task path: /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:65 Tuesday 05 December 2023 01:54:21 +0000 (0:00:00.010) 0:01:02.396 ****** changed: [sut] => { "changed": true, "enabled": true, "name": "pmlogger", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2023-12-05 01:53:55 UTC", "ActiveEnterTimestampMonotonic": "2370582007", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target pmcd.service sysinit.target systemd-journald.socket system.slice network-online.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-12-05 01:53:54 UTC", "AssertTimestampMonotonic": "2369159153", "Before": "pmlogger_check.timer pmlogger_farm.service pmlogger_daily.timer multi-user.target shutdown.target", "BindsTo": "pmlogger_check.timer pmlogger_farm.service pmlogger_daily.timer", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-12-05 01:53:54 UTC", "ConditionTimestampMonotonic": "2369159147", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ConsistsOf": "pmlogger_farm.service", "ControlGroup": "/system.slice/pmlogger.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Performance Metrics Archive Logger", "DevicePolicy": "auto", "Documentation": "man:pmlogger(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PMLOGGER_CHECK_PARAMS=--only-primary", "EnvironmentFiles": "/etc/sysconfig/pmlogger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "11058", "ExecMainStartTimestamp": "Tue 2023-12-05 01:53:55 UTC", "ExecMainStartTimestampMonotonic": "2370581978", "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 }", "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 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/pmlogger.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "pmlogger.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2023-12-05 01:53:54 UTC", "InactiveExitTimestampMonotonic": "2369160469", "InvocationID": "65d7673c39504992bd46f3bac9d7201f", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14004", "LimitNPROCSoft": "14004", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14004", "LimitSIGPENDINGSoft": "14004", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "11058", "MemoryAccounting": "yes", "MemoryCurrent": "3268608", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "pmlogger.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "all", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/pcp/pmlogger.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "always", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "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 01:53:55 UTC", "StateChangeTimestampMonotonic": "2370582007", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "1", "TasksMax": "22406", "TimeoutStartUSec": "2min", "TimeoutStopUSec": "2min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "pmcd.service", "WatchdogTimestamp": "Tue 2023-12-05 01:53:55 UTC", "WatchdogTimestampMonotonic": "2370582004", "WatchdogUSec": "0" } } TASK [/WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : Include pmproxy] *** task path: /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:53 Tuesday 05 December 2023 01:54:22 +0000 (0:00:01.166) 0:01:03.563 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup metric graphing service.] ****************************************** task path: /WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/tasks/main.yml:99 Tuesday 05 December 2023 01:54:22 +0000 (0:00:00.013) 0:01:03.576 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.metrics : Configure firewall] ************************* task path: /WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/tasks/main.yml:107 Tuesday 05 December 2023 01:54:22 +0000 (0:00:00.011) 0:01:03.588 ****** included: /WORKDIR/git-webhook-event-notificationq8tki72s/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-notificationq8tki72s/tests/roles/linux-system-roles.metrics/tasks/firewall.yml:9 Tuesday 05 December 2023 01:54:22 +0000 (0:00:00.017) 0:01:03.605 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.metrics : Port for pmcd] ****************************** task path: /WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/tasks/firewall.yml:13 Tuesday 05 December 2023 01:54:22 +0000 (0:00:00.010) 0:01:03.615 ****** 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-notificationq8tki72s/tests/roles/linux-system-roles.metrics/tasks/firewall.yml:19 Tuesday 05 December 2023 01:54:22 +0000 (0:00:00.010) 0:01:03.626 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.metrics : Service for grafana] ************************ task path: /WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/tasks/firewall.yml:26 Tuesday 05 December 2023 01:54:22 +0000 (0:00:00.010) 0:01:03.637 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.metrics : Service for redis] ************************** task path: /WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/tasks/firewall.yml:33 Tuesday 05 December 2023 01:54:22 +0000 (0:00:00.011) 0:01:03.648 ****** 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-notificationq8tki72s/tests/roles/linux-system-roles.metrics/tasks/firewall.yml:40 Tuesday 05 December 2023 01:54:22 +0000 (0:00:00.010) 0:01:03.659 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.metrics : Configure selinux] ************************** task path: /WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/tasks/main.yml:110 Tuesday 05 December 2023 01:54:22 +0000 (0:00:00.010) 0:01:03.670 ****** included: /WORKDIR/git-webhook-event-notificationq8tki72s/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-notificationq8tki72s/tests/roles/linux-system-roles.metrics/tasks/selinux.yml:6 Tuesday 05 December 2023 01:54:22 +0000 (0:00:00.016) 0:01:03.686 ****** 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-notificationq8tki72s/tests/roles/linux-system-roles.metrics/tasks/selinux.yml:11 Tuesday 05 December 2023 01:54:22 +0000 (0:00:00.010) 0:01:03.696 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [/WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : Restart pmlogger] *** task path: /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/handlers/main.yml:19 Tuesday 05 December 2023 01:54:22 +0000 (0:00:00.007) 0:01:03.704 ****** changed: [sut] => { "changed": true, "name": "pmlogger", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2023-12-05 01:54:22 UTC", "ActiveEnterTimestampMonotonic": "2397788654", "ActiveExitTimestamp": "Tue 2023-12-05 01:54:21 UTC", "ActiveExitTimestampMonotonic": "2396963705", "ActiveState": "active", "After": "basic.target pmcd.service sysinit.target systemd-journald.socket system.slice network-online.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Tue 2023-12-05 01:54:21 UTC", "AssertTimestampMonotonic": "2397071889", "Before": "pmlogger_check.timer pmlogger_farm.service pmlogger_daily.timer multi-user.target shutdown.target", "BindsTo": "pmlogger_check.timer pmlogger_farm.service pmlogger_daily.timer", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2023-12-05 01:54:21 UTC", "ConditionTimestampMonotonic": "2397071888", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ConsistsOf": "pmlogger_farm.service", "ControlGroup": "/system.slice/pmlogger.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Performance Metrics Archive Logger", "DevicePolicy": "auto", "Documentation": "man:pmlogger(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PMLOGGER_CHECK_PARAMS=--only-primary", "EnvironmentFiles": "/etc/sysconfig/pmlogger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "19750", "ExecMainStartTimestamp": "Tue 2023-12-05 01:54:22 UTC", "ExecMainStartTimestampMonotonic": "2397788622", "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 01:54:21 UTC] ; stop_time=[n/a] ; pid=19524 ; 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=[Tue 2023-12-05 01:54:21 UTC] ; stop_time=[Tue 2023-12-05 01:54:21 UTC] ; pid=19466 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/pmlogger.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "pmlogger.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2023-12-05 01:54:21 UTC", "InactiveEnterTimestampMonotonic": "2397070830", "InactiveExitTimestamp": "Tue 2023-12-05 01:54:21 UTC", "InactiveExitTimestampMonotonic": "2397073465", "InvocationID": "04ba7ae6e5f74c67b395fe8b4203cb73", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14004", "LimitNPROCSoft": "14004", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14004", "LimitSIGPENDINGSoft": "14004", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "19750", "MemoryAccounting": "yes", "MemoryCurrent": "2887680", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "pmlogger.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "all", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/pcp/pmlogger.pid", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "always", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "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 01:54:22 UTC", "StateChangeTimestampMonotonic": "2397788654", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "1", "TasksMax": "22406", "TimeoutStartUSec": "2min", "TimeoutStopUSec": "2min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "pmcd.service", "WatchdogTimestamp": "Tue 2023-12-05 01:54:22 UTC", "WatchdogTimestampMonotonic": "2397788651", "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 01:54:24 +0000 (0:00:01.453) 0:01:05.158 ****** =============================================================================== /WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : Install Performance Co-Pilot packages -- 37.27s /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:27 /WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : Install authentication packages --- 8.24s /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:34 /WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra performance rules are installed for targeted hosts --- 3.15s /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:24 /WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector is restarted and enabled on boot --- 1.65s /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:123 /WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : Restart pmlogger --- 1.45s /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/handlers/main.yml:19 /WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : Extract metric collection configuration file content --- 1.27s /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:9 /WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric logging is restarted and enabled on boot --- 1.17s /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:65 /WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra rules symlinks have been created for targeted hosts --- 1.14s /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:86 /WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric inference is restarted and enabled on boot --- 0.91s /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:134 /WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure any explicit metric labels are configured --- 0.82s /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:39 /WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra performance rule group directories exist --- 0.76s /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:4 /WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra performance rule group link directories exist --- 0.76s /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:14 Gathering Facts --------------------------------------------------------- 0.70s /WORKDIR/git-webhook-event-notificationq8tki72s/tests/tests_default.yml:9 ----- /WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure any implicit metric labels are configured --- 0.65s /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:46 /WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector system accounts are configured --- 0.63s /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:60 /WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector authentication is configured --- 0.56s /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:86 /WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric logging retention period is set --- 0.55s /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:19 /WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric logging is configured --- 0.55s /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:12 /WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector is configured --- 0.54s /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:53 /WORKDIR/git-webhook-event-notificationq8tki72s/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector SASL accounts are configured --- 0.30s /WORKDIR/git-webhook-event-notificationq8tki72s/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:68 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---