ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpl1j478ln executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_default.yml **************************************************** 1 plays in /tmp/tmpaiy90k4r/tests/tests_default.yml PLAY [Test the role with default params] *************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpaiy90k4r/tests/tests_default.yml:3 Thursday 07 July 2022 19:07:42 +0000 (0:00:00.014) 0:00:00.014 ********* ok: [/cache/rhel-9.qcow2.snap] META: ran handlers TASK [linux-system-roles.metrics : Add Elasticsearch to metrics domain list] *** task path: /tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/tasks/main.yml:4 Thursday 07 July 2022 19:07:43 +0000 (0:00:01.109) 0:00:01.124 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.metrics : Add SQL Server to metrics domain list] ****** task path: /tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/tasks/main.yml:9 Thursday 07 July 2022 19:07:44 +0000 (0:00:00.030) 0:00:01.155 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.metrics : Add Postfix to metrics domain list] ********* task path: /tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/tasks/main.yml:14 Thursday 07 July 2022 19:07:44 +0000 (0:00:00.029) 0:00:01.184 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.metrics : Add bpftrace to metrics domain list] ******** task path: /tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/tasks/main.yml:19 Thursday 07 July 2022 19:07:44 +0000 (0:00:00.033) 0:00:01.217 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.metrics : Setup metrics access for roles] ************* task path: /tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/tasks/main.yml:24 Thursday 07 July 2022 19:07:44 +0000 (0:00:00.052) 0:00:01.269 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__metrics_accounts": [ { "saslpassword": "metrics", "sasluser": "metrics", "user": "metrics" } ] }, "changed": false } TASK [Configure Elasticsearch metrics] ***************************************** task path: /tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/tasks/main.yml:32 Thursday 07 July 2022 19:07:44 +0000 (0:00:00.046) 0:00:01.316 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Configure SQL Server metrics.] ******************************************* task path: /tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/tasks/main.yml:46 Thursday 07 July 2022 19:07:44 +0000 (0:00:00.033) 0:00:01.349 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Configure Postfix metrics.] ********************************************** task path: /tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/tasks/main.yml:53 Thursday 07 July 2022 19:07:44 +0000 (0:00:00.030) 0:00:01.380 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup bpftrace metrics.] ************************************************* task path: /tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/tasks/main.yml:60 Thursday 07 July 2022 19:07:44 +0000 (0:00:00.030) 0:00:01.411 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup metric querying service.] ****************************************** task path: /tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/tasks/main.yml:68 Thursday 07 July 2022 19:07:44 +0000 (0:00:00.030) 0:00:01.441 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup metric collection service.] **************************************** task path: /tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/tasks/main.yml:75 Thursday 07 July 2022 19:07:44 +0000 (0:00:00.031) 0:00:01.472 ********* TASK [/tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/roles/pcp : Set platform/version specific variables] *** task path: /tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:4 Thursday 07 July 2022 19:07:44 +0000 (0:00:00.040) 0:00:01.513 ********* ok: [/cache/rhel-9.qcow2.snap] => (item=/tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/default.yml) => { "ansible_facts": {}, "ansible_included_var_files": [ "/tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/default.yml" } ok: [/cache/rhel-9.qcow2.snap] => (item=/tmp/tmpaiy90k4r/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": [ "/tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/RedHat.yml" } ok: [/cache/rhel-9.qcow2.snap] => (item=/tmp/tmpaiy90k4r/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": [ "/tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/RedHat.yml" } ok: [/cache/rhel-9.qcow2.snap] => (item=/tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/RedHat_9.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": [ "/tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/RedHat_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/RedHat_9.yml" } skipping: [/cache/rhel-9.qcow2.snap] => (item=/tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/RedHat_9.0.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/RedHat_9.0.yml", "skip_reason": "Conditional result was False" } TASK [/tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/roles/pcp : Install Performance Co-Pilot packages] *** task path: /tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:15 Thursday 07 July 2022 19:07:44 +0000 (0:00:00.072) 0:00:01.585 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [/tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/roles/pcp : Install authentication packages] *** task path: /tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:20 Thursday 07 July 2022 19:07:45 +0000 (0:00:01.098) 0:00:02.684 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [/tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/roles/pcp : include_tasks] *** task path: /tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:28 Thursday 07 July 2022 19:07:46 +0000 (0:00:00.866) 0:00:03.550 ********* included: /tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml for /cache/rhel-9.qcow2.snap TASK [/tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/roles/pcp : List optional metric collection agents to be enabled] *** task path: /tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:4 Thursday 07 July 2022 19:07:46 +0000 (0:00:00.038) 0:00:03.589 ********* TASK [/tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/roles/pcp : Extract metric collection configuration file content] *** task path: /tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:9 Thursday 07 July 2022 19:07:46 +0000 (0:00:00.031) 0:00:03.621 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/pcp/pmcd/pmcd.conf" ], "delta": "0:00:00.002547", "end": "2022-07-07 15:07:45.603110", "rc": 0, "start": "2022-07-07 15:07:45.600563" } 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 openmetrics 144 pipe binary notready python3 /var/lib/pcp/pmdas/openmetrics/pmdaopenmetrics.python bpftrace 151 pipe binary python3 /var/lib/pcp/pmdas/bpftrace/pmdabpftrace.python [access] disallow ".*" : store; disallow ":*" : store; allow "local:*" : all; TASK [/tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure optional metric collection agents are enabled] *** task path: /tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:14 Thursday 07 July 2022 19:07:46 +0000 (0:00:00.472) 0:00:04.094 ********* TASK [/tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure explicit metric label path exists] *** task path: /tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:23 Thursday 07 July 2022 19:07:47 +0000 (0:00:00.031) 0:00:04.125 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/pcp/labels", "secontext": "system_u:object_r:etc_t:s0", "size": 45, "state": "directory", "uid": 0 } TASK [/tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure implicit metric label path exists] *** task path: /tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:31 Thursday 07 July 2022 19:07:47 +0000 (0:00:00.501) 0:00:04.626 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/pcp/labels/optional", "secontext": "system_u:object_r:etc_t:s0", "size": 29, "state": "directory", "uid": 0 } TASK [/tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure any explicit metric labels are configured] *** task path: /tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:39 Thursday 07 July 2022 19:07:47 +0000 (0:00:00.365) 0:00:04.992 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "checksum": "5f36b2ea290645ee34d943220a14b54ee5ea5be5", "dest": "/etc/pcp/labels/ansible-managed", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/pcp/labels/ansible-managed", "secontext": "system_u:object_r:etc_t:s0", "size": 3, "state": "file", "uid": 0 } TASK [/tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure any implicit metric labels are configured] *** task path: /tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:46 Thursday 07 July 2022 19:07:48 +0000 (0:00:00.735) 0:00:05.728 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "checksum": "5f36b2ea290645ee34d943220a14b54ee5ea5be5", "dest": "/etc/pcp/labels/optional/ansible-managed", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/pcp/labels/optional/ansible-managed", "secontext": "system_u:object_r:etc_t:s0", "size": 3, "state": "file", "uid": 0 } TASK [/tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector is configured] *** task path: /tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:53 Thursday 07 July 2022 19:07:49 +0000 (0:00:00.625) 0:00:06.353 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "checksum": "4663db2c59d908d774b1dce1477898cd60e40aa3", "dest": "/etc/sysconfig/pmcd", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/sysconfig/pmcd", "secontext": "system_u:object_r:etc_t:s0", "size": 1593, "state": "file", "uid": 0 } TASK [/tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector system accounts are configured] *** task path: /tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:60 Thursday 07 July 2022 19:07:49 +0000 (0:00:00.632) 0:00:06.985 ********* ok: [/cache/rhel-9.qcow2.snap] => (item={'user': 'metrics', 'sasluser': 'metrics', 'saslpassword': 'metrics'}) => { "ansible_loop_var": "item", "append": false, "changed": false, "comment": "", "group": 986, "home": "/home/metrics", "item": { "saslpassword": "metrics", "sasluser": "metrics", "user": "metrics" }, "move_home": false, "name": "metrics", "shell": "/bin/bash", "state": "present", "uid": 986 } TASK [/tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector SASL accounts are configured] *** task path: /tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:68 Thursday 07 July 2022 19:07:50 +0000 (0:00:00.574) 0:00:07.559 ********* ok: [/cache/rhel-9.qcow2.snap] => (item={'user': 'metrics', 'sasluser': 'metrics', 'saslpassword': 'metrics'}) => { "ansible_loop_var": "item", "changed": false, "cmd": "set -euo pipefail\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.009233", "end": "2022-07-07 15:07:49.438889", "item": { "saslpassword": "metrics", "sasluser": "metrics", "user": "metrics" }, "rc": 0, "start": "2022-07-07 15:07:49.429656" } TASK [/tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector authentication is configured] *** task path: /tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:83 Thursday 07 July 2022 19:07:50 +0000 (0:00:00.374) 0:00:07.934 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "checksum": "dba57505926a6a427f1ec3ddddee998ead157774", "dest": "/etc/sasl2/pmcd.conf", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/sasl2/pmcd.conf", "secontext": "system_u:object_r:etc_t:s0", "size": 964, "state": "file", "uid": 0 } TASK [/tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/roles/pcp : Set variable to do pmcd restart if needed] *** task path: /tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:91 Thursday 07 July 2022 19:07:51 +0000 (0:00:00.637) 0:00:08.572 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__pcp_restart_pmcd": false }, "changed": false } TASK [/tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/roles/pcp : Report performance metric collector restart state] *** task path: /tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:103 Thursday 07 July 2022 19:07:51 +0000 (0:00:00.035) 0:00:08.607 ********* ok: [/cache/rhel-9.qcow2.snap] => {} MSG: ['optional_agents: False', 'explicit_labels: False', 'implicit_labels: False', 'defaults_config: False', 'authentication: False', 'restart_pmcd: False'] TASK [/tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector is running and enabled on boot] *** task path: /tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:114 Thursday 07 July 2022 19:07:51 +0000 (0:00:00.072) 0:00:08.680 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "enabled": true, "name": "pmcd", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-07-07 15:07:09 EDT", "ActiveEnterTimestampMonotonic": "111473228", "ActiveExitTimestamp": "Thu 2022-07-07 15:07:08 EDT", "ActiveExitTimestampMonotonic": "110431924", "ActiveState": "active", "After": "basic.target network-online.target avahi-daemon.service sysinit.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-07-07 15:07:09 EDT", "AssertTimestampMonotonic": "111149540", "Before": "shutdown.target multi-user.target pmie.service pmproxy.service zabbix-agent.service pmlogger.service", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "4902373000", "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": "Thu 2022-07-07 15:07:09 EDT", "ConditionTimestampMonotonic": "111149538", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/pmcd.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Performance Metrics Collector Daemon", "DevicePolicy": "auto", "Documentation": "\"man:pmcd(1)\"", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "46395", "ExecMainStartTimestamp": "Thu 2022-07-07 15:07:09 EDT", "ExecMainStartTimestampMonotonic": "111473200", "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", "InactiveEnterTimestamp": "Thu 2022-07-07 15:07:09 EDT", "InactiveEnterTimestampMonotonic": "111148815", "InactiveExitTimestamp": "Thu 2022-07-07 15:07:09 EDT", "InactiveExitTimestampMonotonic": "111151913", "InvocationID": "0f66b6e1d42e448d9f2430abaf7c113a", "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": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6843", "LimitNPROCSoft": "6843", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6843", "LimitSIGPENDINGSoft": "6843", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "46395", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "159428608", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "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", "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": "Thu 2022-07-07 15:07:09 EDT", "StateChangeTimestampMonotonic": "111473228", "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": "14", "TasksMax": "10949", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "pmlogger.service multi-user.target pmie.service", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [/tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector is restarted and enabled on boot] *** task path: /tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:121 Thursday 07 July 2022 19:07:52 +0000 (0:00:00.787) 0:00:09.467 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/roles/pcp : include_tasks] *** task path: /tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:30 Thursday 07 July 2022 19:07:52 +0000 (0:00:00.034) 0:00:09.501 ********* included: /tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml for /cache/rhel-9.qcow2.snap TASK [/tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra performance rule group directories exist] *** task path: /tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:4 Thursday 07 July 2022 19:07:52 +0000 (0:00:00.038) 0:00:09.540 ********* ok: [/cache/rhel-9.qcow2.snap] => (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: [/cache/rhel-9.qcow2.snap] => (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: [/cache/rhel-9.qcow2.snap] => (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 } TASK [/tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra performance rule group link directories exist] *** task path: /tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:14 Thursday 07 July 2022 19:07:53 +0000 (0:00:01.110) 0:00:10.650 ********* ok: [/cache/rhel-9.qcow2.snap] => (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: [/cache/rhel-9.qcow2.snap] => (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: [/cache/rhel-9.qcow2.snap] => (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 } TASK [/tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra performance rules are installed for targeted hosts] *** task path: /tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:24 Thursday 07 July 2022 19:07:54 +0000 (0:00:01.098) 0:00:11.749 ********* ok: [/cache/rhel-9.qcow2.snap] => (item=network/tcplistenoverflows) => { "ansible_loop_var": "item", "changed": false, "checksum": "608d8a6ac6ee33bb86b77d28ba24fbcd378db43d", "dest": "/etc/pcp/pmieconf/network/tcplistenoverflows", "gid": 0, "group": "root", "item": "network/tcplistenoverflows", "mode": "0644", "owner": "root", "path": "/etc/pcp/pmieconf/network/tcplistenoverflows", "secontext": "system_u:object_r:etc_t:s0", "size": 971, "state": "file", "uid": 0 } ok: [/cache/rhel-9.qcow2.snap] => (item=network/tcpqfulldocookies) => { "ansible_loop_var": "item", "changed": false, "checksum": "3256a5c2e8d07a20d8e97a08c0ab163252b0beae", "dest": "/etc/pcp/pmieconf/network/tcpqfulldocookies", "gid": 0, "group": "root", "item": "network/tcpqfulldocookies", "mode": "0644", "owner": "root", "path": "/etc/pcp/pmieconf/network/tcpqfulldocookies", "secontext": "system_u:object_r:etc_t:s0", "size": 1131, "state": "file", "uid": 0 } ok: [/cache/rhel-9.qcow2.snap] => (item=network/tcpqfulldrops) => { "ansible_loop_var": "item", "changed": false, "checksum": "37b2bd7f2430bd9678ab078c5e69a53bea556524", "dest": "/etc/pcp/pmieconf/network/tcpqfulldrops", "gid": 0, "group": "root", "item": "network/tcpqfulldrops", "mode": "0644", "owner": "root", "path": "/etc/pcp/pmieconf/network/tcpqfulldrops", "secontext": "system_u:object_r:etc_t:s0", "size": 1129, "state": "file", "uid": 0 } ok: [/cache/rhel-9.qcow2.snap] => (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 } ok: [/cache/rhel-9.qcow2.snap] => (item=zeroconf/all_threads) => { "ansible_loop_var": "item", "changed": false, "checksum": "65169db16dcaa224c211373001adc3addf1031c4", "dest": "/etc/pcp/pmieconf/zeroconf/all_threads", "gid": 0, "group": "root", "item": "zeroconf/all_threads", "mode": "0644", "owner": "root", "path": "/etc/pcp/pmieconf/zeroconf/all_threads", "secontext": "system_u:object_r:etc_t:s0", "size": 840, "state": "file", "uid": 0 } TASK [/tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra rules symlinks have been created for targeted hosts] *** task path: /tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:34 Thursday 07 July 2022 19:07:57 +0000 (0:00:03.018) 0:00:14.767 ********* changed: [/cache/rhel-9.qcow2.snap] => (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: [/cache/rhel-9.qcow2.snap] => (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: [/cache/rhel-9.qcow2.snap] => (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: [/cache/rhel-9.qcow2.snap] => (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: [/cache/rhel-9.qcow2.snap] => (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 } TASK [/tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/roles/pcp : Enable performance metric inference for targeted hosts (with control.d)] *** task path: /tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:43 Thursday 07 July 2022 19:07:59 +0000 (0:00:01.742) 0:00:16.510 ********* TASK [/tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/roles/pcp : Enable performance metric inference for targeted hosts (single control)] *** task path: /tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:54 Thursday 07 July 2022 19:07:59 +0000 (0:00:00.032) 0:00:16.542 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/roles/pcp : Set variable to do pmie restart if needed] *** task path: /tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:64 Thursday 07 July 2022 19:07:59 +0000 (0:00:00.031) 0:00:16.574 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__pcp_restart_pmie": true }, "changed": false } TASK [/tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric inference is running and enabled on boot] *** task path: /tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:75 Thursday 07 July 2022 19:07:59 +0000 (0:00:00.036) 0:00:16.610 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric inference is restarted and enabled on boot] *** task path: /tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:82 Thursday 07 July 2022 19:07:59 +0000 (0:00:00.032) 0:00:16.643 ********* changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "enabled": true, "name": "pmie", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-07-07 15:07:18 EDT", "ActiveEnterTimestampMonotonic": "120135001", "ActiveExitTimestamp": "Thu 2022-07-07 15:07:17 EDT", "ActiveExitTimestampMonotonic": "119232460", "ActiveState": "active", "After": "system.slice pmcd.service basic.target systemd-journald.socket sysinit.target network-online.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-07-07 15:07:17 EDT", "AssertTimestampMonotonic": "119538797", "Before": "multi-user.target pmie_daily.timer pmie_check.timer pmie_farm.service shutdown.target", "BindsTo": "pmie_daily.timer pmie_check.timer pmie_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": "492912000", "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": "Thu 2022-07-07 15:07:17 EDT", "ConditionTimestampMonotonic": "119538794", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ConsistsOf": "pmie_farm.service", "ControlGroup": "/system.slice/pmie.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Performance Metrics Inference Engine", "DevicePolicy": "auto", "Documentation": "\"man:pmie(1)\"", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "48887", "ExecMainStartTimestamp": "Thu 2022-07-07 15:07:18 EDT", "ExecMainStartTimestampMonotonic": "120134975", "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", "InactiveEnterTimestamp": "Thu 2022-07-07 15:07:17 EDT", "InactiveEnterTimestampMonotonic": "119538236", "InactiveExitTimestamp": "Thu 2022-07-07 15:07:17 EDT", "InactiveExitTimestampMonotonic": "119540703", "InvocationID": "c69e0e297c0745c4ab5d8f50d86a07f0", "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": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6843", "LimitNPROCSoft": "6843", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6843", "LimitSIGPENDINGSoft": "6843", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "48887", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "4542464", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "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", "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": "Thu 2022-07-07 15:07:18 EDT", "StateChangeTimestampMonotonic": "120135001", "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": "3", "TasksMax": "10949", "TimeoutAbortUSec": "2min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "2min", "TimeoutStopFailureMode": "terminate", "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", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [/tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/roles/pcp : include_tasks] *** task path: /tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:32 Thursday 07 July 2022 19:08:01 +0000 (0:00:01.522) 0:00:18.165 ********* included: /tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml for /cache/rhel-9.qcow2.snap TASK [/tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure metric log location is configured] *** task path: /tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:4 Thursday 07 July 2022 19:08:01 +0000 (0:00:00.037) 0:00:18.203 ********* ok: [/cache/rhel-9.qcow2.snap] => { "backup": "", "changed": false } TASK [/tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric logging is configured] *** task path: /tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:13 Thursday 07 July 2022 19:08:01 +0000 (0:00:00.492) 0:00:18.695 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "checksum": "317bf295f8c0f638af3a572ca4efdce0fb359ef4", "dest": "/etc/sysconfig/pmlogger", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/sysconfig/pmlogger", "secontext": "system_u:object_r:etc_t:s0", "size": 1146, "state": "file", "uid": 0 } TASK [/tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric logging retention period is set] *** task path: /tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:20 Thursday 07 July 2022 19:08:02 +0000 (0:00:00.641) 0:00:19.337 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "checksum": "7af5e57b59b94983e2b739edbf02afd2bca04b59", "dest": "/etc/sysconfig/pmlogger_timers", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/sysconfig/pmlogger_timers", "secontext": "system_u:object_r:etc_t:s0", "size": 954, "state": "file", "uid": 0 } TASK [/tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/roles/pcp : Enable performance metric logging for targeted hosts (with control.d)] *** task path: /tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:28 Thursday 07 July 2022 19:08:02 +0000 (0:00:00.632) 0:00:19.970 ********* TASK [/tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/roles/pcp : Enable performance metric logging for targeted hosts (single control)] *** task path: /tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:40 Thursday 07 July 2022 19:08:02 +0000 (0:00:00.031) 0:00:20.002 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/roles/pcp : Set variable to do pmlogger restart if needed] *** task path: /tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:50 Thursday 07 July 2022 19:08:02 +0000 (0:00:00.031) 0:00:20.033 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__pcp_restart_pmlogger": false }, "changed": false } TASK [/tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric logging is running and enabled on boot] *** task path: /tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:60 Thursday 07 July 2022 19:08:02 +0000 (0:00:00.035) 0:00:20.068 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "enabled": true, "name": "pmlogger", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-07-07 15:06:13 EDT", "ActiveEnterTimestampMonotonic": "55062175", "ActiveExitTimestamp": "Thu 2022-07-07 15:06:12 EDT", "ActiveExitTimestampMonotonic": "54354156", "ActiveState": "active", "After": "systemd-journald.socket network-online.target sysinit.target system.slice basic.target pmcd.service", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-07-07 15:06:12 EDT", "AssertTimestampMonotonic": "54424616", "Before": "pmlogger_check.timer shutdown.target pmlogger_farm.service multi-user.target pmlogger_daily.timer", "BindsTo": "pmlogger_check.timer pmlogger_farm.service pmlogger_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": "881246000", "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": "Thu 2022-07-07 15:06:12 EDT", "ConditionTimestampMonotonic": "54424610", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ConsistsOf": "pmlogger_farm.service", "ControlGroup": "/system.slice/pmlogger.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Performance Metrics Archive Logger", "DevicePolicy": "auto", "Documentation": "\"man:pmlogger(1)\"", "DynamicUser": "no", "Environment": "PMLOGGER_CHECK_PARAMS=--only-primary", "EnvironmentFiles": "/etc/sysconfig/pmlogger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "22203", "ExecMainStartTimestamp": "Thu 2022-07-07 15:06:13 EDT", "ExecMainStartTimestampMonotonic": "55062140", "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", "InactiveEnterTimestamp": "Thu 2022-07-07 15:06:12 EDT", "InactiveEnterTimestampMonotonic": "54424198", "InactiveExitTimestamp": "Thu 2022-07-07 15:06:12 EDT", "InactiveExitTimestampMonotonic": "54426727", "InvocationID": "98df38f540854bfba0f4d79a9fd639c4", "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": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6843", "LimitNPROCSoft": "6843", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6843", "LimitSIGPENDINGSoft": "6843", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "22203", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "3321856", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "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", "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": "Thu 2022-07-07 15:06:13 EDT", "StateChangeTimestampMonotonic": "55062175", "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": "1", "TasksMax": "10949", "TimeoutAbortUSec": "2min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "2min", "TimeoutStopFailureMode": "terminate", "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", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [/tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric logging is restarted and enabled on boot] *** task path: /tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:67 Thursday 07 July 2022 19:08:03 +0000 (0:00:00.517) 0:00:20.586 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/roles/pcp : include_tasks] *** task path: /tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:34 Thursday 07 July 2022 19:08:03 +0000 (0:00:00.034) 0:00:20.620 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/rhel-9.qcow2.snap TASK [Setup metric graphing service.] ****************************************** task path: /tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/tasks/main.yml:87 Thursday 07 July 2022 19:08:03 +0000 (0:00:00.042) 0:00:20.663 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/rhel-9.qcow2.snap META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-9.qcow2.snap : ok=31 changed=2 unreachable=0 failed=0 skipped=20 rescued=0 ignored=0 Thursday 07 July 2022 19:08:03 +0000 (0:00:00.049) 0:00:20.712 ********* =============================================================================== /tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra performance rules are installed for targeted hosts --- 3.02s /tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:24 /tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra rules symlinks have been created for targeted hosts --- 1.74s /tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:34 /tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric inference is restarted and enabled on boot --- 1.52s /tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:82 /tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra performance rule group directories exist --- 1.11s /tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:4 Gathering Facts --------------------------------------------------------- 1.11s /tmp/tmpaiy90k4r/tests/tests_default.yml:3 ------------------------------------ /tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra performance rule group link directories exist --- 1.10s /tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:14 /tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/roles/pcp : Install Performance Co-Pilot packages --- 1.10s /tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:15 /tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/roles/pcp : Install authentication packages --- 0.87s /tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:20 /tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector is running and enabled on boot --- 0.79s /tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:114 /tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure any explicit metric labels are configured --- 0.74s /tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:39 /tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric logging is configured --- 0.64s /tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:13 /tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector authentication is configured --- 0.64s /tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:83 /tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric logging retention period is set --- 0.63s /tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:20 /tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector is configured --- 0.63s /tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:53 /tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure any implicit metric labels are configured --- 0.63s /tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:46 /tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector system accounts are configured --- 0.57s /tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:60 /tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric logging is running and enabled on boot --- 0.52s /tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:60 /tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure explicit metric label path exists --- 0.50s /tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:23 /tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure metric log location is configured --- 0.49s /tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:4 /tmp/tmpaiy90k4r/tests/roles/linux-system-roles.metrics/roles/pcp : Extract metric collection configuration file content --- 0.47s /tmp/tmpaiy90k4r/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:9 ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpl1j478ln executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_default.yml **************************************************** 1 plays in /tmp/tmpr2s3xxp0/tests/metrics/tests_default.yml PLAY [Test the role with default params] *************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpr2s3xxp0/tests/metrics/tests_default.yml:3 Thursday 07 July 2022 19:17:30 +0000 (0:00:00.014) 0:00:00.014 ********* ok: [/cache/rhel-9.qcow2.snap] META: ran handlers TASK [fedora.linux_system_roles.metrics : Add Elasticsearch to metrics domain list] *** task path: /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/main.yml:4 Thursday 07 July 2022 19:17:31 +0000 (0:00:01.132) 0:00:01.147 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.metrics : Add SQL Server to metrics domain list] *** task path: /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/main.yml:9 Thursday 07 July 2022 19:17:31 +0000 (0:00:00.032) 0:00:01.179 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.metrics : Add Postfix to metrics domain list] *** task path: /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/main.yml:14 Thursday 07 July 2022 19:17:31 +0000 (0:00:00.033) 0:00:01.213 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.metrics : Add bpftrace to metrics domain list] *** task path: /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/main.yml:19 Thursday 07 July 2022 19:17:31 +0000 (0:00:00.033) 0:00:01.246 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.metrics : Setup metrics access for roles] ****** task path: /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/main.yml:24 Thursday 07 July 2022 19:17:31 +0000 (0:00:00.054) 0:00:01.301 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__metrics_accounts": [ { "saslpassword": "metrics", "sasluser": "metrics", "user": "metrics" } ] }, "changed": false } TASK [Configure Elasticsearch metrics] ***************************************** task path: /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/main.yml:31 Thursday 07 July 2022 19:17:32 +0000 (0:00:00.046) 0:00:01.347 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Configure SQL Server metrics.] ******************************************* task path: /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/main.yml:45 Thursday 07 July 2022 19:17:32 +0000 (0:00:00.034) 0:00:01.382 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Configure Postfix metrics.] ********************************************** task path: /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/main.yml:52 Thursday 07 July 2022 19:17:32 +0000 (0:00:00.037) 0:00:01.419 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup bpftrace metrics.] ************************************************* task path: /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/main.yml:59 Thursday 07 July 2022 19:17:32 +0000 (0:00:00.035) 0:00:01.455 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup metric querying service.] ****************************************** task path: /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/main.yml:67 Thursday 07 July 2022 19:17:32 +0000 (0:00:00.035) 0:00:01.490 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup metric collection service.] **************************************** task path: /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/main.yml:74 Thursday 07 July 2022 19:17:32 +0000 (0:00:00.034) 0:00:01.525 ********* TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Set platform/version specific variables] *** task path: /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/main.yml:4 Thursday 07 July 2022 19:17:32 +0000 (0:00:00.044) 0:00:01.569 ********* ok: [/cache/rhel-9.qcow2.snap] => (item=/tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/vars/default.yml) => { "ansible_facts": {}, "ansible_included_var_files": [ "/tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/vars/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/vars/default.yml" } ok: [/cache/rhel-9.qcow2.snap] => (item=/tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_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": [ "/tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/vars/RedHat.yml" } ok: [/cache/rhel-9.qcow2.snap] => (item=/tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_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": [ "/tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/vars/RedHat.yml" } ok: [/cache/rhel-9.qcow2.snap] => (item=/tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/vars/RedHat_9.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": [ "/tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/vars/RedHat_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/vars/RedHat_9.yml" } skipping: [/cache/rhel-9.qcow2.snap] => (item=/tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/vars/RedHat_9.0.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/vars/RedHat_9.0.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Install Performance Co-Pilot packages] *** task path: /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/main.yml:15 Thursday 07 July 2022 19:17:32 +0000 (0:00:00.079) 0:00:01.649 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Install authentication packages] *** task path: /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/main.yml:20 Thursday 07 July 2022 19:17:33 +0000 (0:00:01.360) 0:00:03.009 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : include_tasks] *** task path: /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/main.yml:28 Thursday 07 July 2022 19:17:34 +0000 (0:00:00.903) 0:00:03.913 ********* included: /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : List optional metric collection agents to be enabled] *** task path: /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:4 Thursday 07 July 2022 19:17:34 +0000 (0:00:00.041) 0:00:03.955 ********* TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Extract metric collection configuration file content] *** task path: /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:9 Thursday 07 July 2022 19:17:34 +0000 (0:00:00.031) 0:00:03.986 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/pcp/pmcd/pmcd.conf" ], "delta": "0:00:01.004045", "end": "2022-07-07 15:17:34.815781", "rc": 0, "start": "2022-07-07 15:17:33.811736" } 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 openmetrics 144 pipe binary notready python3 /var/lib/pcp/pmdas/openmetrics/pmdaopenmetrics.python bpftrace 151 pipe binary python3 /var/lib/pcp/pmdas/bpftrace/pmdabpftrace.python [access] disallow ".*" : store; disallow ":*" : store; allow "local:*" : all; TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure optional metric collection agents are enabled] *** task path: /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:14 Thursday 07 July 2022 19:17:36 +0000 (0:00:01.492) 0:00:05.479 ********* TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure explicit metric label path exists] *** task path: /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:23 Thursday 07 July 2022 19:17:36 +0000 (0:00:00.040) 0:00:05.519 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/pcp/labels", "secontext": "system_u:object_r:etc_t:s0", "size": 45, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure implicit metric label path exists] *** task path: /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:31 Thursday 07 July 2022 19:17:36 +0000 (0:00:00.511) 0:00:06.031 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/pcp/labels/optional", "secontext": "system_u:object_r:etc_t:s0", "size": 29, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure any explicit metric labels are configured] *** task path: /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:39 Thursday 07 July 2022 19:17:37 +0000 (0:00:00.379) 0:00:06.411 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "checksum": "5f36b2ea290645ee34d943220a14b54ee5ea5be5", "dest": "/etc/pcp/labels/ansible-managed", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/pcp/labels/ansible-managed", "secontext": "system_u:object_r:etc_t:s0", "size": 3, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure any implicit metric labels are configured] *** task path: /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:46 Thursday 07 July 2022 19:17:37 +0000 (0:00:00.769) 0:00:07.180 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "checksum": "5f36b2ea290645ee34d943220a14b54ee5ea5be5", "dest": "/etc/pcp/labels/optional/ansible-managed", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/pcp/labels/optional/ansible-managed", "secontext": "system_u:object_r:etc_t:s0", "size": 3, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric collector is configured] *** task path: /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:53 Thursday 07 July 2022 19:17:38 +0000 (0:00:00.654) 0:00:07.834 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "checksum": "4663db2c59d908d774b1dce1477898cd60e40aa3", "dest": "/etc/sysconfig/pmcd", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/sysconfig/pmcd", "secontext": "system_u:object_r:etc_t:s0", "size": 1593, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric collector system accounts are configured] *** task path: /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:60 Thursday 07 July 2022 19:17:39 +0000 (0:00:00.635) 0:00:08.470 ********* ok: [/cache/rhel-9.qcow2.snap] => (item={'user': 'metrics', 'sasluser': 'metrics', 'saslpassword': 'metrics'}) => { "ansible_loop_var": "item", "append": false, "changed": false, "comment": "", "group": 986, "home": "/home/metrics", "item": { "saslpassword": "metrics", "sasluser": "metrics", "user": "metrics" }, "move_home": false, "name": "metrics", "shell": "/bin/bash", "state": "present", "uid": 986 } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric collector SASL accounts are configured] *** task path: /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:68 Thursday 07 July 2022 19:17:39 +0000 (0:00:00.567) 0:00:09.037 ********* ok: [/cache/rhel-9.qcow2.snap] => (item={'user': 'metrics', 'sasluser': 'metrics', 'saslpassword': 'metrics'}) => { "ansible_loop_var": "item", "changed": false, "cmd": "set -euo pipefail\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.009044", "end": "2022-07-07 15:17:38.764013", "item": { "saslpassword": "metrics", "sasluser": "metrics", "user": "metrics" }, "rc": 0, "start": "2022-07-07 15:17:38.754969" } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric collector authentication is configured] *** task path: /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:83 Thursday 07 July 2022 19:17:40 +0000 (0:00:00.388) 0:00:09.426 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "checksum": "dba57505926a6a427f1ec3ddddee998ead157774", "dest": "/etc/sasl2/pmcd.conf", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/sasl2/pmcd.conf", "secontext": "system_u:object_r:etc_t:s0", "size": 964, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Set variable to do pmcd restart if needed] *** task path: /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:91 Thursday 07 July 2022 19:17:40 +0000 (0:00:00.643) 0:00:10.069 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__pcp_restart_pmcd": false }, "changed": false } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Report performance metric collector restart state] *** task path: /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:96 Thursday 07 July 2022 19:17:40 +0000 (0:00:00.037) 0:00:10.106 ********* ok: [/cache/rhel-9.qcow2.snap] => {} MSG: ['optional_agents: False', 'explicit_labels: False', 'implicit_labels: False', 'defaults_config: False', 'authentication: False', 'restart_pmcd: False'] TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric collector is running and enabled on boot] *** task path: /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:107 Thursday 07 July 2022 19:17:40 +0000 (0:00:00.052) 0:00:10.159 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "enabled": true, "name": "pmcd", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-07-07 15:16:57 EDT", "ActiveEnterTimestampMonotonic": "106830253", "ActiveExitTimestamp": "Thu 2022-07-07 15:16:56 EDT", "ActiveExitTimestampMonotonic": "105816198", "ActiveState": "active", "After": "network-online.target avahi-daemon.service basic.target system.slice sysinit.target systemd-journald.socket", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-07-07 15:16:57 EDT", "AssertTimestampMonotonic": "106521394", "Before": "zabbix-agent.service pmie.service shutdown.target pmproxy.service pmlogger.service multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "4938960000", "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": "Thu 2022-07-07 15:16:57 EDT", "ConditionTimestampMonotonic": "106521392", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/pmcd.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Performance Metrics Collector Daemon", "DevicePolicy": "auto", "Documentation": "\"man:pmcd(1)\"", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "46392", "ExecMainStartTimestamp": "Thu 2022-07-07 15:16:57 EDT", "ExecMainStartTimestampMonotonic": "106830229", "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", "InactiveEnterTimestamp": "Thu 2022-07-07 15:16:57 EDT", "InactiveEnterTimestampMonotonic": "106520806", "InactiveExitTimestamp": "Thu 2022-07-07 15:16:57 EDT", "InactiveExitTimestampMonotonic": "106523251", "InvocationID": "cba131f7f55748249ea38ee4cedd19f3", "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": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6843", "LimitNPROCSoft": "6843", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6843", "LimitSIGPENDINGSoft": "6843", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "46392", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "157442048", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "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", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "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": "Thu 2022-07-07 15:16:57 EDT", "StateChangeTimestampMonotonic": "106830253", "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": "14", "TasksMax": "10949", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target pmie.service pmlogger.service", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric collector is restarted and enabled on boot] *** task path: /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:114 Thursday 07 July 2022 19:17:41 +0000 (0:00:00.782) 0:00:10.941 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : include_tasks] *** task path: /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/main.yml:30 Thursday 07 July 2022 19:17:41 +0000 (0:00:00.033) 0:00:10.974 ********* included: /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure extra performance rule group directories exist] *** task path: /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:4 Thursday 07 July 2022 19:17:41 +0000 (0:00:00.040) 0:00:11.015 ********* ok: [/cache/rhel-9.qcow2.snap] => (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: [/cache/rhel-9.qcow2.snap] => (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: [/cache/rhel-9.qcow2.snap] => (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 } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure extra performance rule group link directories exist] *** task path: /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:14 Thursday 07 July 2022 19:17:42 +0000 (0:00:01.137) 0:00:12.153 ********* ok: [/cache/rhel-9.qcow2.snap] => (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: [/cache/rhel-9.qcow2.snap] => (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: [/cache/rhel-9.qcow2.snap] => (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 } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure extra performance rules are installed for targeted hosts] *** task path: /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:24 Thursday 07 July 2022 19:17:43 +0000 (0:00:01.112) 0:00:13.265 ********* ok: [/cache/rhel-9.qcow2.snap] => (item=network/tcplistenoverflows) => { "ansible_loop_var": "item", "changed": false, "checksum": "608d8a6ac6ee33bb86b77d28ba24fbcd378db43d", "dest": "/etc/pcp/pmieconf/network/tcplistenoverflows", "gid": 0, "group": "root", "item": "network/tcplistenoverflows", "mode": "0644", "owner": "root", "path": "/etc/pcp/pmieconf/network/tcplistenoverflows", "secontext": "system_u:object_r:etc_t:s0", "size": 971, "state": "file", "uid": 0 } ok: [/cache/rhel-9.qcow2.snap] => (item=network/tcpqfulldocookies) => { "ansible_loop_var": "item", "changed": false, "checksum": "3256a5c2e8d07a20d8e97a08c0ab163252b0beae", "dest": "/etc/pcp/pmieconf/network/tcpqfulldocookies", "gid": 0, "group": "root", "item": "network/tcpqfulldocookies", "mode": "0644", "owner": "root", "path": "/etc/pcp/pmieconf/network/tcpqfulldocookies", "secontext": "system_u:object_r:etc_t:s0", "size": 1131, "state": "file", "uid": 0 } ok: [/cache/rhel-9.qcow2.snap] => (item=network/tcpqfulldrops) => { "ansible_loop_var": "item", "changed": false, "checksum": "37b2bd7f2430bd9678ab078c5e69a53bea556524", "dest": "/etc/pcp/pmieconf/network/tcpqfulldrops", "gid": 0, "group": "root", "item": "network/tcpqfulldrops", "mode": "0644", "owner": "root", "path": "/etc/pcp/pmieconf/network/tcpqfulldrops", "secontext": "system_u:object_r:etc_t:s0", "size": 1129, "state": "file", "uid": 0 } ok: [/cache/rhel-9.qcow2.snap] => (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 } ok: [/cache/rhel-9.qcow2.snap] => (item=zeroconf/all_threads) => { "ansible_loop_var": "item", "changed": false, "checksum": "65169db16dcaa224c211373001adc3addf1031c4", "dest": "/etc/pcp/pmieconf/zeroconf/all_threads", "gid": 0, "group": "root", "item": "zeroconf/all_threads", "mode": "0644", "owner": "root", "path": "/etc/pcp/pmieconf/zeroconf/all_threads", "secontext": "system_u:object_r:etc_t:s0", "size": 840, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure extra rules symlinks have been created for targeted hosts] *** task path: /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:34 Thursday 07 July 2022 19:17:46 +0000 (0:00:03.019) 0:00:16.285 ********* changed: [/cache/rhel-9.qcow2.snap] => (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: [/cache/rhel-9.qcow2.snap] => (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: [/cache/rhel-9.qcow2.snap] => (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: [/cache/rhel-9.qcow2.snap] => (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: [/cache/rhel-9.qcow2.snap] => (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 } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Enable performance metric inference for targeted hosts (with control.d)] *** task path: /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:43 Thursday 07 July 2022 19:17:48 +0000 (0:00:01.821) 0:00:18.106 ********* TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Enable performance metric inference for targeted hosts (single control)] *** task path: /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:54 Thursday 07 July 2022 19:17:48 +0000 (0:00:00.033) 0:00:18.140 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Set variable to do pmie restart if needed] *** task path: /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:64 Thursday 07 July 2022 19:17:48 +0000 (0:00:00.032) 0:00:18.173 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__pcp_restart_pmie": true }, "changed": false } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric inference is running and enabled on boot] *** task path: /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:68 Thursday 07 July 2022 19:17:48 +0000 (0:00:00.038) 0:00:18.212 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric inference is restarted and enabled on boot] *** task path: /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:75 Thursday 07 July 2022 19:17:48 +0000 (0:00:00.036) 0:00:18.248 ********* changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "enabled": true, "name": "pmie", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-07-07 15:17:06 EDT", "ActiveEnterTimestampMonotonic": "115458774", "ActiveExitTimestamp": "Thu 2022-07-07 15:17:05 EDT", "ActiveExitTimestampMonotonic": "114571705", "ActiveState": "active", "After": "basic.target pmcd.service system.slice systemd-journald.socket sysinit.target network-online.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-07-07 15:17:05 EDT", "AssertTimestampMonotonic": "114874377", "Before": "pmie_farm.service multi-user.target pmie_check.timer shutdown.target pmie_daily.timer", "BindsTo": "pmie_farm.service pmie_check.timer 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": "485661000", "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": "Thu 2022-07-07 15:17:05 EDT", "ConditionTimestampMonotonic": "114874375", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ConsistsOf": "pmie_farm.service", "ControlGroup": "/system.slice/pmie.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Performance Metrics Inference Engine", "DevicePolicy": "auto", "Documentation": "\"man:pmie(1)\"", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "48884", "ExecMainStartTimestamp": "Thu 2022-07-07 15:17:06 EDT", "ExecMainStartTimestampMonotonic": "115458745", "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", "InactiveEnterTimestamp": "Thu 2022-07-07 15:17:05 EDT", "InactiveEnterTimestampMonotonic": "114873828", "InactiveExitTimestamp": "Thu 2022-07-07 15:17:05 EDT", "InactiveExitTimestampMonotonic": "114876524", "InvocationID": "8802d8ae4011430c99b1f8cd9614c713", "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": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6843", "LimitNPROCSoft": "6843", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6843", "LimitSIGPENDINGSoft": "6843", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "48884", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "4554752", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "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", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "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": "Thu 2022-07-07 15:17:06 EDT", "StateChangeTimestampMonotonic": "115458774", "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": "3", "TasksMax": "10949", "TimeoutAbortUSec": "2min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "2min", "TimeoutStopFailureMode": "terminate", "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", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : include_tasks] *** task path: /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/main.yml:32 Thursday 07 July 2022 19:17:50 +0000 (0:00:01.515) 0:00:19.763 ********* included: /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmlogger.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure metric log location is configured] *** task path: /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmlogger.yml:4 Thursday 07 July 2022 19:17:50 +0000 (0:00:00.042) 0:00:19.805 ********* ok: [/cache/rhel-9.qcow2.snap] => { "backup": "", "changed": false } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric logging is configured] *** task path: /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmlogger.yml:13 Thursday 07 July 2022 19:17:50 +0000 (0:00:00.486) 0:00:20.292 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "checksum": "317bf295f8c0f638af3a572ca4efdce0fb359ef4", "dest": "/etc/sysconfig/pmlogger", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/sysconfig/pmlogger", "secontext": "system_u:object_r:etc_t:s0", "size": 1146, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric logging retention period is set] *** task path: /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmlogger.yml:20 Thursday 07 July 2022 19:17:51 +0000 (0:00:00.641) 0:00:20.934 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "checksum": "7af5e57b59b94983e2b739edbf02afd2bca04b59", "dest": "/etc/sysconfig/pmlogger_timers", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/sysconfig/pmlogger_timers", "secontext": "system_u:object_r:etc_t:s0", "size": 954, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Enable performance metric logging for targeted hosts (with control.d)] *** task path: /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmlogger.yml:28 Thursday 07 July 2022 19:17:52 +0000 (0:00:00.663) 0:00:21.598 ********* TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Enable performance metric logging for targeted hosts (single control)] *** task path: /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmlogger.yml:40 Thursday 07 July 2022 19:17:52 +0000 (0:00:00.034) 0:00:21.632 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Set variable to do pmlogger restart if needed] *** task path: /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmlogger.yml:50 Thursday 07 July 2022 19:17:52 +0000 (0:00:00.034) 0:00:21.666 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "__pcp_restart_pmlogger": false }, "changed": false } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric logging is running and enabled on boot] *** task path: /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmlogger.yml:54 Thursday 07 July 2022 19:17:52 +0000 (0:00:00.038) 0:00:21.705 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "enabled": true, "name": "pmlogger", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2022-07-07 15:16:03 EDT", "ActiveEnterTimestampMonotonic": "52309534", "ActiveExitTimestamp": "Thu 2022-07-07 15:16:02 EDT", "ActiveExitTimestampMonotonic": "51609629", "ActiveState": "active", "After": "systemd-journald.socket sysinit.target network-online.target system.slice pmcd.service basic.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Thu 2022-07-07 15:16:02 EDT", "AssertTimestampMonotonic": "51680088", "Before": "pmlogger_farm.service pmlogger_daily.timer pmlogger_check.timer shutdown.target multi-user.target", "BindsTo": "pmlogger_farm.service pmlogger_daily.timer pmlogger_check.timer", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "868605000", "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": "Thu 2022-07-07 15:16:02 EDT", "ConditionTimestampMonotonic": "51680087", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ConsistsOf": "pmlogger_farm.service", "ControlGroup": "/system.slice/pmlogger.service", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Performance Metrics Archive Logger", "DevicePolicy": "auto", "Documentation": "\"man:pmlogger(1)\"", "DynamicUser": "no", "Environment": "PMLOGGER_CHECK_PARAMS=--only-primary", "EnvironmentFiles": "/etc/sysconfig/pmlogger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "22200", "ExecMainStartTimestamp": "Thu 2022-07-07 15:16:03 EDT", "ExecMainStartTimestampMonotonic": "52309493", "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", "InactiveEnterTimestamp": "Thu 2022-07-07 15:16:02 EDT", "InactiveEnterTimestampMonotonic": "51679465", "InactiveExitTimestamp": "Thu 2022-07-07 15:16:02 EDT", "InactiveExitTimestampMonotonic": "51681865", "InvocationID": "a0dfbf46fc364ebc8276b121d2cc1014", "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": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "6843", "LimitNPROCSoft": "6843", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6843", "LimitSIGPENDINGSoft": "6843", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "22200", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "3350528", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "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", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "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": "Thu 2022-07-07 15:16:03 EDT", "StateChangeTimestampMonotonic": "52309534", "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": "1", "TasksMax": "10949", "TimeoutAbortUSec": "2min", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "2min", "TimeoutStopFailureMode": "terminate", "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", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric logging is restarted and enabled on boot] *** task path: /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmlogger.yml:61 Thursday 07 July 2022 19:17:52 +0000 (0:00:00.522) 0:00:22.227 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : include_tasks] *** task path: /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/main.yml:34 Thursday 07 July 2022 19:17:52 +0000 (0:00:00.034) 0:00:22.261 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/rhel-9.qcow2.snap TASK [Setup metric graphing service.] ****************************************** task path: /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/main.yml:85 Thursday 07 July 2022 19:17:52 +0000 (0:00:00.040) 0:00:22.302 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/rhel-9.qcow2.snap META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-9.qcow2.snap : ok=31 changed=2 unreachable=0 failed=0 skipped=20 rescued=0 ignored=0 Thursday 07 July 2022 19:17:53 +0000 (0:00:00.052) 0:00:22.354 ********* =============================================================================== fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure extra performance rules are installed for targeted hosts --- 3.02s /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:24 fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure extra rules symlinks have been created for targeted hosts --- 1.82s /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:34 fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric inference is restarted and enabled on boot --- 1.52s /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:75 fedora.linux_system_roles.private_metrics_subrole_pcp : Extract metric collection configuration file content --- 1.49s /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:9 fedora.linux_system_roles.private_metrics_subrole_pcp : Install Performance Co-Pilot packages --- 1.36s /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/main.yml:15 fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure extra performance rule group directories exist --- 1.14s /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:4 Gathering Facts --------------------------------------------------------- 1.13s /tmp/tmpr2s3xxp0/tests/metrics/tests_default.yml:3 ---------------------------- fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure extra performance rule group link directories exist --- 1.11s /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:14 fedora.linux_system_roles.private_metrics_subrole_pcp : Install authentication packages --- 0.90s /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/main.yml:20 fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric collector is running and enabled on boot --- 0.78s /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:107 fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure any explicit metric labels are configured --- 0.77s /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:39 fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric logging retention period is set --- 0.66s /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmlogger.yml:20 fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure any implicit metric labels are configured --- 0.65s /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:46 fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric collector authentication is configured --- 0.64s /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:83 fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric logging is configured --- 0.64s /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmlogger.yml:13 fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric collector is configured --- 0.64s /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:53 fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric collector system accounts are configured --- 0.57s /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:60 fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric logging is running and enabled on boot --- 0.52s /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmlogger.yml:54 fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure explicit metric label path exists --- 0.51s /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:23 fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure metric log location is configured --- 0.49s /tmp/tmpl1j478ln/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmlogger.yml:4