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/tmpvo81nsdl 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 statically imported: /tmp/tmp5aixmznd/tests/get_services_state.yml statically imported: /tmp/tmp5aixmznd/tests/restore_services_state.yml 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_sanity_basic.yml *********************************************** 1 plays in /tmp/tmp5aixmznd/tests/tests_sanity_basic.yml PLAY [Test basic services of the role are installed and running] *************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp5aixmznd/tests/tests_sanity_basic.yml:3 Thursday 07 July 2022 18:29:55 +0000 (0:00:00.015) 0:00:00.015 ********* [DEPRECATION WARNING]: ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]. This feature will be removed in version 2.13. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ok: [/cache/rhel-6.qcow2.snap] TASK [Get initial state of services] ******************************************* task path: /tmp/tmp5aixmznd/tests/get_services_state.yml:3 Thursday 07 July 2022 18:29:56 +0000 (0:00:01.035) 0:00:01.050 ********* ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "services": { "acpid": { "name": "acpid", "source": "sysv", "state": "running", "status": "enabled" }, "auditd": { "name": "auditd", "source": "sysv", "state": "running", "status": "enabled" }, "blk-availability": { "name": "blk-availability", "source": "sysv", "state": "running", "status": "enabled" }, "cgconfig": { "name": "cgconfig", "source": "sysv", "state": "stopped", "status": "disabled" }, "cgred": { "name": "cgred", "source": "sysv", "state": "stopped", "status": "disabled" }, "cloud-config": { "name": "cloud-config", "source": "sysv", "state": "stopped", "status": "enabled" }, "cloud-final": { "name": "cloud-final", "source": "sysv", "state": "stopped", "status": "enabled" }, "cloud-init": { "name": "cloud-init", "source": "sysv", "state": "stopped", "status": "enabled" }, "cloud-init-local": { "name": "cloud-init-local", "source": "sysv", "state": "stopped", "status": "enabled" }, "crond": { "name": "crond", "source": "sysv", "state": "running", "status": "enabled" }, "ip6tables": { "name": "ip6tables", "source": "sysv", "state": "stopped", "status": "enabled" }, "iptables": { "name": "iptables", "source": "sysv", "state": "stopped", "status": "enabled" }, "kdump": { "name": "kdump", "source": "sysv", "state": "stopped", "status": "disabled" }, "ktune": { "name": "ktune", "source": "sysv", "state": "running", "status": "enabled" }, "mdmonitor": { "name": "mdmonitor", "source": "sysv", "state": "stopped", "status": "enabled" }, "netconsole": { "name": "netconsole", "source": "sysv", "state": "stopped", "status": "disabled" }, "netfs": { "name": "netfs", "source": "sysv", "state": "running", "status": "enabled" }, "network": { "name": "network", "source": "sysv", "state": "running", "status": "enabled" }, "nfs": { "name": "nfs", "source": "sysv", "state": "stopped", "status": "disabled" }, "nfs-rdma": { "name": "nfs-rdma", "source": "sysv", "state": "stopped", "status": "disabled" }, "nfslock": { "name": "nfslock", "source": "sysv", "state": "running", "status": "enabled" }, "ovirt-guest-agent": { "name": "ovirt-guest-agent", "source": "sysv", "state": "stopped", "status": "enabled" }, "pmcd": { "name": "pmcd", "source": "sysv", "state": "running", "status": "enabled" }, "pmie": { "name": "pmie", "source": "sysv", "state": "running", "status": "enabled" }, "pmlogger": { "name": "pmlogger", "source": "sysv", "state": "running", "status": "enabled" }, "pmproxy": { "name": "pmproxy", "source": "sysv", "state": "running", "status": "disabled" }, "qemu-ga": { "name": "qemu-ga", "source": "sysv", "state": "stopped", "status": "enabled" }, "rdisc": { "name": "rdisc", "source": "sysv", "state": "stopped", "status": "disabled" }, "rdma": { "name": "rdma", "source": "sysv", "state": "running", "status": "enabled" }, "restorecond": { "name": "restorecond", "source": "sysv", "state": "stopped", "status": "disabled" }, "rhnsd": { "name": "rhnsd", "source": "sysv", "state": "stopped", "status": "enabled" }, "rhsmcertd": { "name": "rhsmcertd", "source": "sysv", "state": "running", "status": "enabled" }, "rpcbind": { "name": "rpcbind", "source": "sysv", "state": "running", "status": "enabled" }, "rpcgssd": { "name": "rpcgssd", "source": "sysv", "state": "stopped", "status": "enabled" }, "rpcsvcgssd": { "name": "rpcsvcgssd", "source": "sysv", "state": "stopped", "status": "disabled" }, "rsyslog": { "name": "rsyslog", "source": "sysv", "state": "running", "status": "enabled" }, "saslauthd": { "name": "saslauthd", "source": "sysv", "state": "stopped", "status": "disabled" }, "sendmail": { "name": "sendmail", "source": "sysv", "state": "running", "status": "enabled" }, "sshd": { "name": "sshd", "source": "sysv", "state": "running", "status": "enabled" }, "tuned": { "name": "tuned", "source": "sysv", "state": "running", "status": "enabled" }, "udev-post": { "name": "udev-post", "source": "sysv", "state": "running", "status": "enabled" } } }, "changed": false } META: ran handlers TASK [linux-system-roles.metrics : Add Elasticsearch to metrics domain list] *** task path: /tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/tasks/main.yml:4 Thursday 07 July 2022 18:29:57 +0000 (0:00:01.824) 0:00:02.875 ********* skipping: [/cache/rhel-6.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/tmp5aixmznd/tests/roles/linux-system-roles.metrics/tasks/main.yml:9 Thursday 07 July 2022 18:29:57 +0000 (0:00:00.033) 0:00:02.909 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.metrics : Add Postfix to metrics domain list] ********* task path: /tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/tasks/main.yml:14 Thursday 07 July 2022 18:29:57 +0000 (0:00:00.033) 0:00:02.942 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.metrics : Add bpftrace to metrics domain list] ******** task path: /tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/tasks/main.yml:19 Thursday 07 July 2022 18:29:57 +0000 (0:00:00.031) 0:00:02.974 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.metrics : Setup metrics access for roles] ************* task path: /tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/tasks/main.yml:24 Thursday 07 July 2022 18:29:58 +0000 (0:00:00.031) 0:00:03.005 ********* ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "__metrics_accounts": [ { "saslpassword": "metrics", "sasluser": "metrics", "user": "metrics" } ] }, "changed": false } TASK [Configure Elasticsearch metrics] ***************************************** task path: /tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/tasks/main.yml:32 Thursday 07 July 2022 18:29:58 +0000 (0:00:00.046) 0:00:03.051 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Configure SQL Server metrics.] ******************************************* task path: /tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/tasks/main.yml:46 Thursday 07 July 2022 18:29:58 +0000 (0:00:00.032) 0:00:03.084 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Configure Postfix metrics.] ********************************************** task path: /tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/tasks/main.yml:53 Thursday 07 July 2022 18:29:58 +0000 (0:00:00.031) 0:00:03.116 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup bpftrace metrics.] ************************************************* task path: /tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/tasks/main.yml:60 Thursday 07 July 2022 18:29:58 +0000 (0:00:00.035) 0:00:03.152 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup metric querying service.] ****************************************** task path: /tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/tasks/main.yml:68 Thursday 07 July 2022 18:29:58 +0000 (0:00:00.032) 0:00:03.184 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup metric collection service.] **************************************** task path: /tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/tasks/main.yml:75 Thursday 07 July 2022 18:29:58 +0000 (0:00:00.031) 0:00:03.216 ********* TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Set platform/version specific variables] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:4 Thursday 07 July 2022 18:29:58 +0000 (0:00:00.044) 0:00:03.261 ********* ok: [/cache/rhel-6.qcow2.snap] => (item=/tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/default.yml) => { "ansible_facts": {}, "ansible_included_var_files": [ "/tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/default.yml" } ok: [/cache/rhel-6.qcow2.snap] => (item=/tmp/tmp5aixmznd/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/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/RedHat.yml" } ok: [/cache/rhel-6.qcow2.snap] => (item=/tmp/tmp5aixmznd/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/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/RedHat.yml" } ok: [/cache/rhel-6.qcow2.snap] => (item=/tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/RedHat_6.yml) => { "ansible_facts": { "__pcp_packages_extra": [ "pcp-pmda-dm", "pcp-pmda-nfsclient", "pcp-system-tools" ], "__pcp_sasl_mechlist": "digest-md5", "__pcp_sasl_packages": [ "cyrus-sasl-lib", "cyrus-sasl-md5" ] }, "ansible_included_var_files": [ "/tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/RedHat_6.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/RedHat_6.yml" } skipping: [/cache/rhel-6.qcow2.snap] => (item=/tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/RedHat_6.10.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/RedHat_6.10.yml", "skip_reason": "Conditional result was False" } TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Install Performance Co-Pilot packages] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:15 Thursday 07 July 2022 18:29:58 +0000 (0:00:00.076) 0:00:03.338 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "rc": 0, "results": [ "pcp-3.10.9-9.el6.x86_64 providing pcp is already installed", "pcp-pmda-dm-3.10.9-9.el6.x86_64 providing pcp-pmda-dm is already installed", "pcp-pmda-nfsclient-3.10.9-9.el6.x86_64 providing pcp-pmda-nfsclient is already installed", "pcp-system-tools-3.10.9-9.el6.x86_64 providing pcp-system-tools is already installed" ] } TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Install authentication packages] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:20 Thursday 07 July 2022 18:29:59 +0000 (0:00:00.695) 0:00:04.034 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "rc": 0, "results": [ "cyrus-sasl-lib-2.1.23-15.el6_6.2.x86_64 providing cyrus-sasl-lib is already installed", "cyrus-sasl-md5-2.1.23-15.el6_6.2.x86_64 providing cyrus-sasl-md5 is already installed" ] } TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : include_tasks] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:28 Thursday 07 July 2022 18:29:59 +0000 (0:00:00.494) 0:00:04.528 ********* included: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml for /cache/rhel-6.qcow2.snap TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : List optional metric collection agents to be enabled] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:4 Thursday 07 July 2022 18:29:59 +0000 (0:00:00.040) 0:00:04.569 ********* TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Extract metric collection configuration file content] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:9 Thursday 07 July 2022 18:29:59 +0000 (0:00:00.035) 0:00:04.604 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/pcp/pmcd/pmcd.conf" ], "delta": "0:00:00.003134", "end": "2022-07-07 14:29:59.779407", "rc": 0, "start": "2022-07-07 14:29:59.776273" } STDOUT: # Performance Metrics Domain Specifications # # This file is automatically generated during the build # Name Id IPC IPC Params File/Cmd root 1 pipe binary /var/lib/pcp/pmdas/root/pmdaroot pmcd 2 dso pmcd_init /var/lib/pcp/pmdas/pmcd/pmda_pmcd.so proc 3 pipe binary /var/lib/pcp/pmdas/proc/pmdaproc -d 3 xfs 11 pipe binary /var/lib/pcp/pmdas/xfs/pmdaxfs -d 11 linux 60 pipe binary /var/lib/pcp/pmdas/linux/pmdalinux mmv 70 dso mmv_init /var/lib/pcp/pmdas/mmv/pmda_mmv.so jbd2 122 dso jbd2_init /var/lib/pcp/pmdas/jbd2/pmda_jbd2.so [access] disallow ".*" : store; disallow ":*" : store; allow "local:*" : all; TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure optional metric collection agents are enabled] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:14 Thursday 07 July 2022 18:30:00 +0000 (0:00:00.399) 0:00:05.003 ********* TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure explicit metric label path exists] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:23 Thursday 07 July 2022 18:30:00 +0000 (0:00:00.036) 0:00:05.040 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/pcp/labels", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure implicit metric label path exists] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:31 Thursday 07 July 2022 18:30:00 +0000 (0:00:00.472) 0:00:05.513 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/pcp/labels/optional", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure any explicit metric labels are configured] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:39 Thursday 07 July 2022 18:30:00 +0000 (0:00:00.375) 0:00:05.889 ********* ok: [/cache/rhel-6.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/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure any implicit metric labels are configured] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:46 Thursday 07 July 2022 18:30:01 +0000 (0:00:00.666) 0:00:06.555 ********* ok: [/cache/rhel-6.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/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector is configured] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:53 Thursday 07 July 2022 18:30:02 +0000 (0:00:00.544) 0:00:07.099 ********* ok: [/cache/rhel-6.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/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector system accounts are configured] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:60 Thursday 07 July 2022 18:30:02 +0000 (0:00:00.724) 0:00:07.824 ********* ok: [/cache/rhel-6.qcow2.snap] => (item={'user': 'metrics', 'sasluser': 'metrics', 'saslpassword': 'metrics'}) => { "ansible_loop_var": "item", "append": false, "changed": false, "comment": "", "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "group": 497, "home": "/home/metrics", "item": { "saslpassword": "metrics", "sasluser": "metrics", "user": "metrics" }, "move_home": false, "name": "metrics", "shell": "/bin/bash", "state": "present", "uid": 497 } TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector SASL accounts are configured] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:68 Thursday 07 July 2022 18:30:03 +0000 (0:00:00.504) 0:00:08.329 ********* ok: [/cache/rhel-6.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.007850", "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "end": "2022-07-07 14:30:03.396477", "item": { "saslpassword": "metrics", "sasluser": "metrics", "user": "metrics" }, "rc": 0, "start": "2022-07-07 14:30:03.388627" } TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector authentication is configured] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:83 Thursday 07 July 2022 18:30:03 +0000 (0:00:00.297) 0:00:08.626 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "checksum": "7033a0e76d02f828ac19ff1b5e1c832d45eae84b", "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": 961, "state": "file", "uid": 0 } TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Set variable to do pmcd restart if needed] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:91 Thursday 07 July 2022 18:30:04 +0000 (0:00:00.564) 0:00:09.190 ********* ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "__pcp_restart_pmcd": false }, "changed": false } TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Report performance metric collector restart state] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:103 Thursday 07 July 2022 18:30:04 +0000 (0:00:00.037) 0:00:09.228 ********* ok: [/cache/rhel-6.qcow2.snap] => {} MSG: ['optional_agents: False', 'explicit_labels: False', 'implicit_labels: False', 'defaults_config: False', 'authentication: False', 'restart_pmcd: False'] TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector is running and enabled on boot] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:114 Thursday 07 July 2022 18:30:04 +0000 (0:00:00.047) 0:00:09.276 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "enabled": true, "name": "pmcd", "state": "started" } TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector is restarted and enabled on boot] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:121 Thursday 07 July 2022 18:30:04 +0000 (0:00:00.609) 0:00:09.885 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : include_tasks] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:30 Thursday 07 July 2022 18:30:04 +0000 (0:00:00.035) 0:00:09.920 ********* included: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml for /cache/rhel-6.qcow2.snap TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra performance rule group directories exist] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:4 Thursday 07 July 2022 18:30:04 +0000 (0:00:00.039) 0:00:09.960 ********* ok: [/cache/rhel-6.qcow2.snap] => (item=network) => { "ansible_loop_var": "item", "changed": false, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "gid": 0, "group": "root", "item": "network", "mode": "0755", "owner": "root", "path": "/etc/pcp/pmieconf/network", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } ok: [/cache/rhel-6.qcow2.snap] => (item=power) => { "ansible_loop_var": "item", "changed": false, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "gid": 0, "group": "root", "item": "power", "mode": "0755", "owner": "root", "path": "/etc/pcp/pmieconf/power", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } ok: [/cache/rhel-6.qcow2.snap] => (item=zeroconf) => { "ansible_loop_var": "item", "changed": false, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "gid": 0, "group": "root", "item": "zeroconf", "mode": "0755", "owner": "root", "path": "/etc/pcp/pmieconf/zeroconf", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra performance rule group link directories exist] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:14 Thursday 07 July 2022 18:30:05 +0000 (0:00:00.970) 0:00:10.930 ********* ok: [/cache/rhel-6.qcow2.snap] => (item=network) => { "ansible_loop_var": "item", "changed": false, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "gid": 0, "group": "root", "item": "network", "mode": "0755", "owner": "root", "path": "/var/lib/pcp/config/pmieconf/network", "secontext": "unconfined_u:object_r:pcp_var_lib_t:s0", "size": 4096, "state": "directory", "uid": 0 } ok: [/cache/rhel-6.qcow2.snap] => (item=power) => { "ansible_loop_var": "item", "changed": false, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "gid": 0, "group": "root", "item": "power", "mode": "0755", "owner": "root", "path": "/var/lib/pcp/config/pmieconf/power", "secontext": "unconfined_u:object_r:pcp_var_lib_t:s0", "size": 4096, "state": "directory", "uid": 0 } ok: [/cache/rhel-6.qcow2.snap] => (item=zeroconf) => { "ansible_loop_var": "item", "changed": false, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "gid": 0, "group": "root", "item": "zeroconf", "mode": "0755", "owner": "root", "path": "/var/lib/pcp/config/pmieconf/zeroconf", "secontext": "unconfined_u:object_r:pcp_var_lib_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra performance rules are installed for targeted hosts] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:24 Thursday 07 July 2022 18:30:06 +0000 (0:00:01.041) 0:00:11.971 ********* ok: [/cache/rhel-6.qcow2.snap] => (item=network/tcplistenoverflows) => { "ansible_loop_var": "item", "changed": false, "checksum": "608d8a6ac6ee33bb86b77d28ba24fbcd378db43d", "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "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-6.qcow2.snap] => (item=network/tcpqfulldocookies) => { "ansible_loop_var": "item", "changed": false, "checksum": "3256a5c2e8d07a20d8e97a08c0ab163252b0beae", "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "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-6.qcow2.snap] => (item=network/tcpqfulldrops) => { "ansible_loop_var": "item", "changed": false, "checksum": "37b2bd7f2430bd9678ab078c5e69a53bea556524", "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "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-6.qcow2.snap] => (item=power/thermal_throttle) => { "ansible_loop_var": "item", "changed": false, "checksum": "1d53d6182709617c8f633339652d8d9e75f3b603", "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "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-6.qcow2.snap] => (item=zeroconf/all_threads) => { "ansible_loop_var": "item", "changed": false, "checksum": "65169db16dcaa224c211373001adc3addf1031c4", "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "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/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra rules symlinks have been created for targeted hosts] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:34 Thursday 07 July 2022 18:30:09 +0000 (0:00:02.537) 0:00:14.509 ********* ok: [/cache/rhel-6.qcow2.snap] => (item=network/tcplistenoverflows) => { "ansible_loop_var": "item", "changed": false, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "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 } ok: [/cache/rhel-6.qcow2.snap] => (item=network/tcpqfulldocookies) => { "ansible_loop_var": "item", "changed": false, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "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 } ok: [/cache/rhel-6.qcow2.snap] => (item=network/tcpqfulldrops) => { "ansible_loop_var": "item", "changed": false, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "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 } ok: [/cache/rhel-6.qcow2.snap] => (item=power/thermal_throttle) => { "ansible_loop_var": "item", "changed": false, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "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 } ok: [/cache/rhel-6.qcow2.snap] => (item=zeroconf/all_threads) => { "ansible_loop_var": "item", "changed": false, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "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/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Enable performance metric inference for targeted hosts (with control.d)] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:43 Thursday 07 July 2022 18:30:11 +0000 (0:00:01.643) 0:00:16.152 ********* TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Enable performance metric inference for targeted hosts (single control)] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:54 Thursday 07 July 2022 18:30:11 +0000 (0:00:00.034) 0:00:16.187 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Set variable to do pmie restart if needed] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:64 Thursday 07 July 2022 18:30:11 +0000 (0:00:00.092) 0:00:16.279 ********* ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "__pcp_restart_pmie": false }, "changed": false } TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric inference is running and enabled on boot] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:75 Thursday 07 July 2022 18:30:11 +0000 (0:00:00.039) 0:00:16.319 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "enabled": true, "name": "pmie", "state": "started" } TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric inference is restarted and enabled on boot] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:82 Thursday 07 July 2022 18:30:11 +0000 (0:00:00.386) 0:00:16.705 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : include_tasks] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:32 Thursday 07 July 2022 18:30:11 +0000 (0:00:00.035) 0:00:16.741 ********* included: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml for /cache/rhel-6.qcow2.snap TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure metric log location is configured] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:4 Thursday 07 July 2022 18:30:11 +0000 (0:00:00.042) 0:00:16.784 ********* ok: [/cache/rhel-6.qcow2.snap] => { "backup": "", "changed": false } TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric logging is configured] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:13 Thursday 07 July 2022 18:30:12 +0000 (0:00:00.441) 0:00:17.225 ********* ok: [/cache/rhel-6.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/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric logging retention period is set] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:20 Thursday 07 July 2022 18:30:12 +0000 (0:00:00.525) 0:00:17.750 ********* ok: [/cache/rhel-6.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/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Enable performance metric logging for targeted hosts (with control.d)] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:28 Thursday 07 July 2022 18:30:13 +0000 (0:00:00.537) 0:00:18.288 ********* TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Enable performance metric logging for targeted hosts (single control)] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:40 Thursday 07 July 2022 18:30:13 +0000 (0:00:00.034) 0:00:18.322 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Set variable to do pmlogger restart if needed] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:50 Thursday 07 July 2022 18:30:13 +0000 (0:00:00.034) 0:00:18.357 ********* ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "__pcp_restart_pmlogger": false }, "changed": false } TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric logging is running and enabled on boot] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:60 Thursday 07 July 2022 18:30:13 +0000 (0:00:00.039) 0:00:18.396 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "enabled": true, "name": "pmlogger", "state": "started" } TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric logging is restarted and enabled on boot] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:67 Thursday 07 July 2022 18:30:13 +0000 (0:00:00.382) 0:00:18.779 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : include_tasks] *** task path: /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:34 Thursday 07 July 2022 18:30:13 +0000 (0:00:00.034) 0:00:18.814 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/rhel-6.qcow2.snap TASK [Setup metric graphing service.] ****************************************** task path: /tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/tasks/main.yml:87 Thursday 07 July 2022 18:30:13 +0000 (0:00:00.045) 0:00:18.860 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/rhel-6.qcow2.snap TASK [Check if basic metrics role setup works] ********************************* task path: /tmp/tmp5aixmznd/tests/tests_sanity_basic.yml:14 Thursday 07 July 2022 18:30:13 +0000 (0:00:00.047) 0:00:18.907 ********* included: /tmp/tmp5aixmznd/tests/check_pcp.yml for /cache/rhel-6.qcow2.snap => (item=check_pcp.yml) included: /tmp/tmp5aixmznd/tests/check_pmlogger.yml for /cache/rhel-6.qcow2.snap => (item=check_pmlogger.yml) included: /tmp/tmp5aixmznd/tests/check_pmie.yml for /cache/rhel-6.qcow2.snap => (item=check_pmie.yml) TASK [Check if PCP works] ****************************************************** task path: /tmp/tmp5aixmznd/tests/check_pcp.yml:3 Thursday 07 July 2022 18:30:13 +0000 (0:00:00.036) 0:00:18.943 ********* changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "cmd": [ "pcp" ], "delta": "0:00:00.101298", "end": "2022-07-07 14:30:14.101475", "rc": 0, "start": "2022-07-07 14:30:14.000177" } STDOUT: Performance Co-Pilot configuration on ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com: platform: Linux ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com 2.6.32-754.el6.x86_64 #1 SMP Thu May 24 18:18:25 EDT 2018 x86_64 hardware: 4 cpus, 3 disks, 1 node, 2005MB RAM timezone: EDT+4 services: pmcd pmproxy pmcd: Version 3.10.9-1, 7 agents, 2 clients pmda: root pmcd proc xfs linux mmv jbd2 pmlogger: primary logger: /var/log/pcp/pmlogger/ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com/20220707.14.29 pmie: ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com: /var/log/pcp/pmie/ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com/pmie.log TASK [Check if pmlogger is running] ******************************************** task path: /tmp/tmp5aixmznd/tests/check_pmlogger.yml:3 Thursday 07 July 2022 18:30:14 +0000 (0:00:00.386) 0:00:19.330 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the ansible_managed header in the configuration file] ************** task path: /tmp/tmp5aixmznd/tests/check_pmlogger.yml:9 Thursday 07 July 2022 18:30:14 +0000 (0:00:00.034) 0:00:19.365 ********* [WARNING]: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmp5aixmznd/tests/check_header.yml for /cache/rhel-6.qcow2.snap => (item=/etc/sysconfig/pmlogger) included: /tmp/tmp5aixmznd/tests/check_header.yml for /cache/rhel-6.qcow2.snap => (item=/etc/sysconfig/pmlogger_timers) TASK [Grep the ansible_managed header in /etc/sysconfig/pmlogger] ************** task path: /tmp/tmp5aixmznd/tests/check_header.yml:3 Thursday 07 July 2022 18:30:14 +0000 (0:00:00.040) 0:00:19.405 ********* changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/pmlogger" ], "delta": "0:00:00.003381", "end": "2022-07-07 14:30:14.490376", "rc": 0, "start": "2022-07-07 14:30:14.486995" } STDOUT: # Ansible managed TASK [Grep the ansible_managed header in /etc/sysconfig/pmlogger_timers] ******* task path: /tmp/tmp5aixmznd/tests/check_header.yml:3 Thursday 07 July 2022 18:30:14 +0000 (0:00:00.312) 0:00:19.718 ********* changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/pmlogger_timers" ], "delta": "0:00:00.003355", "end": "2022-07-07 14:30:14.812632", "rc": 0, "start": "2022-07-07 14:30:14.809277" } STDOUT: # Ansible managed TASK [Check if primary pmie is running] **************************************** task path: /tmp/tmp5aixmznd/tests/check_pmie.yml:3 Thursday 07 July 2022 18:30:15 +0000 (0:00:00.317) 0:00:20.035 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [Get final state of services] ********************************************* task path: /tmp/tmp5aixmznd/tests/restore_services_state.yml:3 Thursday 07 July 2022 18:30:15 +0000 (0:00:00.043) 0:00:20.079 ********* ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "services": { "acpid": { "name": "acpid", "source": "sysv", "state": "running", "status": "enabled" }, "auditd": { "name": "auditd", "source": "sysv", "state": "running", "status": "enabled" }, "blk-availability": { "name": "blk-availability", "source": "sysv", "state": "running", "status": "enabled" }, "cgconfig": { "name": "cgconfig", "source": "sysv", "state": "stopped", "status": "disabled" }, "cgred": { "name": "cgred", "source": "sysv", "state": "stopped", "status": "disabled" }, "cloud-config": { "name": "cloud-config", "source": "sysv", "state": "stopped", "status": "enabled" }, "cloud-final": { "name": "cloud-final", "source": "sysv", "state": "stopped", "status": "enabled" }, "cloud-init": { "name": "cloud-init", "source": "sysv", "state": "stopped", "status": "enabled" }, "cloud-init-local": { "name": "cloud-init-local", "source": "sysv", "state": "stopped", "status": "enabled" }, "crond": { "name": "crond", "source": "sysv", "state": "running", "status": "enabled" }, "ip6tables": { "name": "ip6tables", "source": "sysv", "state": "stopped", "status": "enabled" }, "iptables": { "name": "iptables", "source": "sysv", "state": "stopped", "status": "enabled" }, "kdump": { "name": "kdump", "source": "sysv", "state": "stopped", "status": "disabled" }, "ktune": { "name": "ktune", "source": "sysv", "state": "running", "status": "enabled" }, "mdmonitor": { "name": "mdmonitor", "source": "sysv", "state": "stopped", "status": "enabled" }, "netconsole": { "name": "netconsole", "source": "sysv", "state": "stopped", "status": "disabled" }, "netfs": { "name": "netfs", "source": "sysv", "state": "running", "status": "enabled" }, "network": { "name": "network", "source": "sysv", "state": "running", "status": "enabled" }, "nfs": { "name": "nfs", "source": "sysv", "state": "stopped", "status": "disabled" }, "nfs-rdma": { "name": "nfs-rdma", "source": "sysv", "state": "stopped", "status": "disabled" }, "nfslock": { "name": "nfslock", "source": "sysv", "state": "running", "status": "enabled" }, "ovirt-guest-agent": { "name": "ovirt-guest-agent", "source": "sysv", "state": "stopped", "status": "enabled" }, "pmcd": { "name": "pmcd", "source": "sysv", "state": "running", "status": "enabled" }, "pmie": { "name": "pmie", "source": "sysv", "state": "running", "status": "enabled" }, "pmlogger": { "name": "pmlogger", "source": "sysv", "state": "running", "status": "enabled" }, "pmproxy": { "name": "pmproxy", "source": "sysv", "state": "running", "status": "disabled" }, "qemu-ga": { "name": "qemu-ga", "source": "sysv", "state": "stopped", "status": "enabled" }, "rdisc": { "name": "rdisc", "source": "sysv", "state": "stopped", "status": "disabled" }, "rdma": { "name": "rdma", "source": "sysv", "state": "running", "status": "enabled" }, "restorecond": { "name": "restorecond", "source": "sysv", "state": "stopped", "status": "disabled" }, "rhnsd": { "name": "rhnsd", "source": "sysv", "state": "stopped", "status": "enabled" }, "rhsmcertd": { "name": "rhsmcertd", "source": "sysv", "state": "running", "status": "enabled" }, "rpcbind": { "name": "rpcbind", "source": "sysv", "state": "running", "status": "enabled" }, "rpcgssd": { "name": "rpcgssd", "source": "sysv", "state": "stopped", "status": "enabled" }, "rpcsvcgssd": { "name": "rpcsvcgssd", "source": "sysv", "state": "stopped", "status": "disabled" }, "rsyslog": { "name": "rsyslog", "source": "sysv", "state": "running", "status": "enabled" }, "saslauthd": { "name": "saslauthd", "source": "sysv", "state": "stopped", "status": "disabled" }, "sendmail": { "name": "sendmail", "source": "sysv", "state": "running", "status": "enabled" }, "sshd": { "name": "sshd", "source": "sysv", "state": "running", "status": "enabled" }, "tuned": { "name": "tuned", "source": "sysv", "state": "running", "status": "enabled" }, "udev-post": { "name": "udev-post", "source": "sysv", "state": "running", "status": "enabled" } } }, "changed": false } TASK [Restore state of services] *********************************************** task path: /tmp/tmp5aixmznd/tests/restore_services_state.yml:9 Thursday 07 July 2022 18:30:16 +0000 (0:00:01.631) 0:00:21.711 ********* skipping: [/cache/rhel-6.qcow2.snap] => (item=pmcd) => { "ansible_loop_var": "item", "changed": false, "item": "pmcd", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-6.qcow2.snap] => (item=pmlogger) => { "ansible_loop_var": "item", "changed": false, "item": "pmlogger", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-6.qcow2.snap] => (item=pmie) => { "ansible_loop_var": "item", "changed": false, "item": "pmie", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-6.qcow2.snap] => (item=pmproxy) => { "ansible_loop_var": "item", "changed": false, "item": "pmproxy", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-6.qcow2.snap] => (item=redis) => { "ansible_loop_var": "item", "changed": false, "item": "redis", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-6.qcow2.snap] => (item=grafana-server) => { "ansible_loop_var": "item", "changed": false, "item": "grafana-server", "skip_reason": "Conditional result was False" } META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-6.qcow2.snap : ok=41 changed=3 unreachable=0 failed=0 skipped=23 rescued=0 ignored=0 Thursday 07 July 2022 18:30:16 +0000 (0:00:00.037) 0:00:21.748 ********* =============================================================================== /tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra performance rules are installed for targeted hosts --- 2.54s /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:24 Get initial state of services ------------------------------------------- 1.82s /tmp/tmp5aixmznd/tests/get_services_state.yml:3 ------------------------------- /tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra rules symlinks have been created for targeted hosts --- 1.64s /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:34 Get final state of services --------------------------------------------- 1.63s /tmp/tmp5aixmznd/tests/restore_services_state.yml:3 --------------------------- /tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra performance rule group link directories exist --- 1.04s /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:14 Gathering Facts --------------------------------------------------------- 1.04s /tmp/tmp5aixmznd/tests/tests_sanity_basic.yml:3 ------------------------------- /tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra performance rule group directories exist --- 0.97s /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:4 /tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector is configured --- 0.72s /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:53 /tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Install Performance Co-Pilot packages --- 0.70s /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:15 /tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure any explicit metric labels are configured --- 0.67s /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:39 /tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector is running and enabled on boot --- 0.61s /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:114 /tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector authentication is configured --- 0.56s /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:83 /tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure any implicit metric labels are configured --- 0.54s /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:46 /tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric logging retention period is set --- 0.54s /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:20 /tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric logging is configured --- 0.53s /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:13 /tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector system accounts are configured --- 0.50s /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:60 /tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Install authentication packages --- 0.49s /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:20 /tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure explicit metric label path exists --- 0.47s /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:23 /tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure metric log location is configured --- 0.44s /tmp/tmp5aixmznd/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:4 /tmp/tmp5aixmznd/tests/roles/linux-system-roles.metrics/roles/pcp : Extract metric collection configuration file content --- 0.40s /tmp/tmp5aixmznd/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/tmpvo81nsdl 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 statically imported: /tmp/tmp8nxucwzp/tests/metrics/get_services_state.yml statically imported: /tmp/tmp8nxucwzp/tests/metrics/restore_services_state.yml 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_sanity_basic.yml *********************************************** 1 plays in /tmp/tmp8nxucwzp/tests/metrics/tests_sanity_basic.yml PLAY [Test basic services of the role are installed and running] *************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp8nxucwzp/tests/metrics/tests_sanity_basic.yml:3 Thursday 07 July 2022 18:31:46 +0000 (0:00:00.015) 0:00:00.015 ********* [DEPRECATION WARNING]: ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]. This feature will be removed in version 2.13. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ok: [/cache/rhel-6.qcow2.snap] TASK [Get initial state of services] ******************************************* task path: /tmp/tmp8nxucwzp/tests/metrics/get_services_state.yml:3 Thursday 07 July 2022 18:31:47 +0000 (0:00:00.992) 0:00:01.008 ********* ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "services": { "acpid": { "name": "acpid", "source": "sysv", "state": "running", "status": "enabled" }, "auditd": { "name": "auditd", "source": "sysv", "state": "running", "status": "enabled" }, "blk-availability": { "name": "blk-availability", "source": "sysv", "state": "running", "status": "enabled" }, "cgconfig": { "name": "cgconfig", "source": "sysv", "state": "stopped", "status": "disabled" }, "cgred": { "name": "cgred", "source": "sysv", "state": "stopped", "status": "disabled" }, "cloud-config": { "name": "cloud-config", "source": "sysv", "state": "stopped", "status": "enabled" }, "cloud-final": { "name": "cloud-final", "source": "sysv", "state": "stopped", "status": "enabled" }, "cloud-init": { "name": "cloud-init", "source": "sysv", "state": "stopped", "status": "enabled" }, "cloud-init-local": { "name": "cloud-init-local", "source": "sysv", "state": "stopped", "status": "enabled" }, "crond": { "name": "crond", "source": "sysv", "state": "running", "status": "enabled" }, "ip6tables": { "name": "ip6tables", "source": "sysv", "state": "stopped", "status": "enabled" }, "iptables": { "name": "iptables", "source": "sysv", "state": "stopped", "status": "enabled" }, "kdump": { "name": "kdump", "source": "sysv", "state": "stopped", "status": "disabled" }, "ktune": { "name": "ktune", "source": "sysv", "state": "running", "status": "enabled" }, "mdmonitor": { "name": "mdmonitor", "source": "sysv", "state": "stopped", "status": "enabled" }, "netconsole": { "name": "netconsole", "source": "sysv", "state": "stopped", "status": "disabled" }, "netfs": { "name": "netfs", "source": "sysv", "state": "running", "status": "enabled" }, "network": { "name": "network", "source": "sysv", "state": "running", "status": "enabled" }, "nfs": { "name": "nfs", "source": "sysv", "state": "stopped", "status": "disabled" }, "nfs-rdma": { "name": "nfs-rdma", "source": "sysv", "state": "stopped", "status": "disabled" }, "nfslock": { "name": "nfslock", "source": "sysv", "state": "running", "status": "enabled" }, "ovirt-guest-agent": { "name": "ovirt-guest-agent", "source": "sysv", "state": "stopped", "status": "enabled" }, "pmcd": { "name": "pmcd", "source": "sysv", "state": "running", "status": "enabled" }, "pmie": { "name": "pmie", "source": "sysv", "state": "running", "status": "enabled" }, "pmlogger": { "name": "pmlogger", "source": "sysv", "state": "running", "status": "enabled" }, "pmproxy": { "name": "pmproxy", "source": "sysv", "state": "running", "status": "disabled" }, "qemu-ga": { "name": "qemu-ga", "source": "sysv", "state": "stopped", "status": "enabled" }, "rdisc": { "name": "rdisc", "source": "sysv", "state": "stopped", "status": "disabled" }, "rdma": { "name": "rdma", "source": "sysv", "state": "running", "status": "enabled" }, "restorecond": { "name": "restorecond", "source": "sysv", "state": "stopped", "status": "disabled" }, "rhnsd": { "name": "rhnsd", "source": "sysv", "state": "stopped", "status": "enabled" }, "rhsmcertd": { "name": "rhsmcertd", "source": "sysv", "state": "running", "status": "enabled" }, "rpcbind": { "name": "rpcbind", "source": "sysv", "state": "running", "status": "enabled" }, "rpcgssd": { "name": "rpcgssd", "source": "sysv", "state": "stopped", "status": "enabled" }, "rpcsvcgssd": { "name": "rpcsvcgssd", "source": "sysv", "state": "stopped", "status": "disabled" }, "rsyslog": { "name": "rsyslog", "source": "sysv", "state": "running", "status": "enabled" }, "saslauthd": { "name": "saslauthd", "source": "sysv", "state": "stopped", "status": "disabled" }, "sendmail": { "name": "sendmail", "source": "sysv", "state": "running", "status": "enabled" }, "sshd": { "name": "sshd", "source": "sysv", "state": "running", "status": "enabled" }, "tuned": { "name": "tuned", "source": "sysv", "state": "running", "status": "enabled" }, "udev-post": { "name": "udev-post", "source": "sysv", "state": "running", "status": "enabled" } } }, "changed": false } META: ran handlers TASK [fedora.linux_system_roles.metrics : Add Elasticsearch to metrics domain list] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/main.yml:4 Thursday 07 July 2022 18:31:48 +0000 (0:00:01.723) 0:00:02.731 ********* skipping: [/cache/rhel-6.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/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/main.yml:9 Thursday 07 July 2022 18:31:48 +0000 (0:00:00.033) 0:00:02.764 ********* skipping: [/cache/rhel-6.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/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/main.yml:14 Thursday 07 July 2022 18:31:49 +0000 (0:00:00.031) 0:00:02.796 ********* skipping: [/cache/rhel-6.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/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/main.yml:19 Thursday 07 July 2022 18:31:49 +0000 (0:00:00.031) 0:00:02.828 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.metrics : Setup metrics access for roles] ****** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/main.yml:24 Thursday 07 July 2022 18:31:49 +0000 (0:00:00.033) 0:00:02.862 ********* ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "__metrics_accounts": [ { "saslpassword": "metrics", "sasluser": "metrics", "user": "metrics" } ] }, "changed": false } TASK [Configure Elasticsearch metrics] ***************************************** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/main.yml:31 Thursday 07 July 2022 18:31:49 +0000 (0:00:00.044) 0:00:02.907 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Configure SQL Server metrics.] ******************************************* task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/main.yml:45 Thursday 07 July 2022 18:31:49 +0000 (0:00:00.032) 0:00:02.939 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Configure Postfix metrics.] ********************************************** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/main.yml:52 Thursday 07 July 2022 18:31:49 +0000 (0:00:00.031) 0:00:02.970 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup bpftrace metrics.] ************************************************* task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/main.yml:59 Thursday 07 July 2022 18:31:49 +0000 (0:00:00.031) 0:00:03.002 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup metric querying service.] ****************************************** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/main.yml:67 Thursday 07 July 2022 18:31:49 +0000 (0:00:00.035) 0:00:03.038 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup metric collection service.] **************************************** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/main.yml:74 Thursday 07 July 2022 18:31:49 +0000 (0:00:00.034) 0:00:03.072 ********* TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Set platform/version specific variables] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/main.yml:4 Thursday 07 July 2022 18:31:49 +0000 (0:00:00.047) 0:00:03.120 ********* ok: [/cache/rhel-6.qcow2.snap] => (item=/tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/vars/default.yml) => { "ansible_facts": {}, "ansible_included_var_files": [ "/tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/vars/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/vars/default.yml" } ok: [/cache/rhel-6.qcow2.snap] => (item=/tmp/tmpvo81nsdl/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/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/vars/RedHat.yml" } ok: [/cache/rhel-6.qcow2.snap] => (item=/tmp/tmpvo81nsdl/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/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/vars/RedHat.yml" } ok: [/cache/rhel-6.qcow2.snap] => (item=/tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/vars/RedHat_6.yml) => { "ansible_facts": { "__pcp_packages_extra": [ "pcp-pmda-dm", "pcp-pmda-nfsclient", "pcp-system-tools" ], "__pcp_sasl_mechlist": "digest-md5", "__pcp_sasl_packages": [ "cyrus-sasl-lib", "cyrus-sasl-md5" ] }, "ansible_included_var_files": [ "/tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/vars/RedHat_6.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/vars/RedHat_6.yml" } skipping: [/cache/rhel-6.qcow2.snap] => (item=/tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/vars/RedHat_6.10.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/vars/RedHat_6.10.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Install Performance Co-Pilot packages] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/main.yml:15 Thursday 07 July 2022 18:31:49 +0000 (0:00:00.084) 0:00:03.204 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "rc": 0, "results": [ "pcp-3.10.9-9.el6.x86_64 providing pcp is already installed", "pcp-pmda-dm-3.10.9-9.el6.x86_64 providing pcp-pmda-dm is already installed", "pcp-pmda-nfsclient-3.10.9-9.el6.x86_64 providing pcp-pmda-nfsclient is already installed", "pcp-system-tools-3.10.9-9.el6.x86_64 providing pcp-system-tools is already installed" ] } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Install authentication packages] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/main.yml:20 Thursday 07 July 2022 18:31:50 +0000 (0:00:00.664) 0:00:03.868 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "rc": 0, "results": [ "cyrus-sasl-lib-2.1.23-15.el6_6.2.x86_64 providing cyrus-sasl-lib is already installed", "cyrus-sasl-md5-2.1.23-15.el6_6.2.x86_64 providing cyrus-sasl-md5 is already installed" ] } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : include_tasks] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/main.yml:28 Thursday 07 July 2022 18:31:50 +0000 (0:00:00.487) 0:00:04.356 ********* included: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml for /cache/rhel-6.qcow2.snap TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : List optional metric collection agents to be enabled] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:4 Thursday 07 July 2022 18:31:50 +0000 (0:00:00.045) 0:00:04.402 ********* TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Extract metric collection configuration file content] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:9 Thursday 07 July 2022 18:31:50 +0000 (0:00:00.034) 0:00:04.436 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "cmd": [ "cat", "/etc/pcp/pmcd/pmcd.conf" ], "delta": "0:00:00.003028", "end": "2022-07-07 14:31:51.053290", "rc": 0, "start": "2022-07-07 14:31:51.050262" } STDOUT: # Performance Metrics Domain Specifications # # This file is automatically generated during the build # Name Id IPC IPC Params File/Cmd root 1 pipe binary /var/lib/pcp/pmdas/root/pmdaroot pmcd 2 dso pmcd_init /var/lib/pcp/pmdas/pmcd/pmda_pmcd.so proc 3 pipe binary /var/lib/pcp/pmdas/proc/pmdaproc -d 3 xfs 11 pipe binary /var/lib/pcp/pmdas/xfs/pmdaxfs -d 11 linux 60 pipe binary /var/lib/pcp/pmdas/linux/pmdalinux mmv 70 dso mmv_init /var/lib/pcp/pmdas/mmv/pmda_mmv.so jbd2 122 dso jbd2_init /var/lib/pcp/pmdas/jbd2/pmda_jbd2.so [access] disallow ".*" : store; disallow ":*" : store; allow "local:*" : all; TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure optional metric collection agents are enabled] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:14 Thursday 07 July 2022 18:31:51 +0000 (0:00:00.396) 0:00:04.832 ********* TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure explicit metric label path exists] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:23 Thursday 07 July 2022 18:31:51 +0000 (0:00:00.034) 0:00:04.867 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/pcp/labels", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure implicit metric label path exists] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:31 Thursday 07 July 2022 18:31:51 +0000 (0:00:00.457) 0:00:05.325 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/pcp/labels/optional", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure any explicit metric labels are configured] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:39 Thursday 07 July 2022 18:31:51 +0000 (0:00:00.324) 0:00:05.649 ********* ok: [/cache/rhel-6.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/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:46 Thursday 07 July 2022 18:31:52 +0000 (0:00:00.654) 0:00:06.304 ********* ok: [/cache/rhel-6.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/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:53 Thursday 07 July 2022 18:31:53 +0000 (0:00:00.550) 0:00:06.855 ********* ok: [/cache/rhel-6.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/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:60 Thursday 07 July 2022 18:31:53 +0000 (0:00:00.512) 0:00:07.368 ********* ok: [/cache/rhel-6.qcow2.snap] => (item={'user': 'metrics', 'sasluser': 'metrics', 'saslpassword': 'metrics'}) => { "ansible_loop_var": "item", "append": false, "changed": false, "comment": "", "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "group": 497, "home": "/home/metrics", "item": { "saslpassword": "metrics", "sasluser": "metrics", "user": "metrics" }, "move_home": false, "name": "metrics", "shell": "/bin/bash", "state": "present", "uid": 497 } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric collector SASL accounts are configured] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:68 Thursday 07 July 2022 18:31:54 +0000 (0:00:00.501) 0:00:07.869 ********* ok: [/cache/rhel-6.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.005752", "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "end": "2022-07-07 14:31:54.376338", "item": { "saslpassword": "metrics", "sasluser": "metrics", "user": "metrics" }, "rc": 0, "start": "2022-07-07 14:31:54.370586" } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric collector authentication is configured] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:83 Thursday 07 July 2022 18:31:54 +0000 (0:00:00.284) 0:00:08.154 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "checksum": "7033a0e76d02f828ac19ff1b5e1c832d45eae84b", "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": 961, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Set variable to do pmcd restart if needed] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:91 Thursday 07 July 2022 18:31:54 +0000 (0:00:00.539) 0:00:08.694 ********* ok: [/cache/rhel-6.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/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:96 Thursday 07 July 2022 18:31:54 +0000 (0:00:00.039) 0:00:08.733 ********* ok: [/cache/rhel-6.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/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:107 Thursday 07 July 2022 18:31:54 +0000 (0:00:00.053) 0:00:08.787 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "enabled": true, "name": "pmcd", "state": "started" } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric collector is restarted and enabled on boot] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:114 Thursday 07 July 2022 18:31:55 +0000 (0:00:00.522) 0:00:09.310 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : include_tasks] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/main.yml:30 Thursday 07 July 2022 18:31:55 +0000 (0:00:00.037) 0:00:09.347 ********* included: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml for /cache/rhel-6.qcow2.snap TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure extra performance rule group directories exist] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:4 Thursday 07 July 2022 18:31:55 +0000 (0:00:00.044) 0:00:09.391 ********* ok: [/cache/rhel-6.qcow2.snap] => (item=network) => { "ansible_loop_var": "item", "changed": false, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "gid": 0, "group": "root", "item": "network", "mode": "0755", "owner": "root", "path": "/etc/pcp/pmieconf/network", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } ok: [/cache/rhel-6.qcow2.snap] => (item=power) => { "ansible_loop_var": "item", "changed": false, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "gid": 0, "group": "root", "item": "power", "mode": "0755", "owner": "root", "path": "/etc/pcp/pmieconf/power", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } ok: [/cache/rhel-6.qcow2.snap] => (item=zeroconf) => { "ansible_loop_var": "item", "changed": false, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "gid": 0, "group": "root", "item": "zeroconf", "mode": "0755", "owner": "root", "path": "/etc/pcp/pmieconf/zeroconf", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure extra performance rule group link directories exist] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:14 Thursday 07 July 2022 18:31:56 +0000 (0:00:00.979) 0:00:10.371 ********* ok: [/cache/rhel-6.qcow2.snap] => (item=network) => { "ansible_loop_var": "item", "changed": false, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "gid": 0, "group": "root", "item": "network", "mode": "0755", "owner": "root", "path": "/var/lib/pcp/config/pmieconf/network", "secontext": "unconfined_u:object_r:pcp_var_lib_t:s0", "size": 4096, "state": "directory", "uid": 0 } ok: [/cache/rhel-6.qcow2.snap] => (item=power) => { "ansible_loop_var": "item", "changed": false, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "gid": 0, "group": "root", "item": "power", "mode": "0755", "owner": "root", "path": "/var/lib/pcp/config/pmieconf/power", "secontext": "unconfined_u:object_r:pcp_var_lib_t:s0", "size": 4096, "state": "directory", "uid": 0 } ok: [/cache/rhel-6.qcow2.snap] => (item=zeroconf) => { "ansible_loop_var": "item", "changed": false, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "gid": 0, "group": "root", "item": "zeroconf", "mode": "0755", "owner": "root", "path": "/var/lib/pcp/config/pmieconf/zeroconf", "secontext": "unconfined_u:object_r:pcp_var_lib_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure extra performance rules are installed for targeted hosts] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:24 Thursday 07 July 2022 18:31:57 +0000 (0:00:00.999) 0:00:11.370 ********* ok: [/cache/rhel-6.qcow2.snap] => (item=network/tcplistenoverflows) => { "ansible_loop_var": "item", "changed": false, "checksum": "608d8a6ac6ee33bb86b77d28ba24fbcd378db43d", "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "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-6.qcow2.snap] => (item=network/tcpqfulldocookies) => { "ansible_loop_var": "item", "changed": false, "checksum": "3256a5c2e8d07a20d8e97a08c0ab163252b0beae", "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "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-6.qcow2.snap] => (item=network/tcpqfulldrops) => { "ansible_loop_var": "item", "changed": false, "checksum": "37b2bd7f2430bd9678ab078c5e69a53bea556524", "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "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-6.qcow2.snap] => (item=power/thermal_throttle) => { "ansible_loop_var": "item", "changed": false, "checksum": "1d53d6182709617c8f633339652d8d9e75f3b603", "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "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-6.qcow2.snap] => (item=zeroconf/all_threads) => { "ansible_loop_var": "item", "changed": false, "checksum": "65169db16dcaa224c211373001adc3addf1031c4", "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "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/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:34 Thursday 07 July 2022 18:31:59 +0000 (0:00:02.372) 0:00:13.743 ********* ok: [/cache/rhel-6.qcow2.snap] => (item=network/tcplistenoverflows) => { "ansible_loop_var": "item", "changed": false, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "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 } ok: [/cache/rhel-6.qcow2.snap] => (item=network/tcpqfulldocookies) => { "ansible_loop_var": "item", "changed": false, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "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 } ok: [/cache/rhel-6.qcow2.snap] => (item=network/tcpqfulldrops) => { "ansible_loop_var": "item", "changed": false, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "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 } ok: [/cache/rhel-6.qcow2.snap] => (item=power/thermal_throttle) => { "ansible_loop_var": "item", "changed": false, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "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 } ok: [/cache/rhel-6.qcow2.snap] => (item=zeroconf/all_threads) => { "ansible_loop_var": "item", "changed": false, "deprecations": [ { "collection_name": null, "msg": "ansible-core 2.13 will require Python 2.7 or newer on the target. Current version: 2.6.6 (r266:84292, Aug 9 2016, 06:11:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)]", "version": "2.13" } ], "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/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:43 Thursday 07 July 2022 18:32:01 +0000 (0:00:01.594) 0:00:15.337 ********* TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Enable performance metric inference for targeted hosts (single control)] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:54 Thursday 07 July 2022 18:32:01 +0000 (0:00:00.035) 0:00:15.373 ********* skipping: [/cache/rhel-6.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/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:64 Thursday 07 July 2022 18:32:01 +0000 (0:00:00.035) 0:00:15.408 ********* ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "__pcp_restart_pmie": false }, "changed": false } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric inference is running and enabled on boot] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:68 Thursday 07 July 2022 18:32:01 +0000 (0:00:00.067) 0:00:15.476 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "enabled": true, "name": "pmie", "state": "started" } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric inference is restarted and enabled on boot] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:75 Thursday 07 July 2022 18:32:02 +0000 (0:00:00.613) 0:00:16.089 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : include_tasks] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/main.yml:32 Thursday 07 July 2022 18:32:02 +0000 (0:00:00.037) 0:00:16.126 ********* included: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmlogger.yml for /cache/rhel-6.qcow2.snap TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure metric log location is configured] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmlogger.yml:4 Thursday 07 July 2022 18:32:02 +0000 (0:00:00.045) 0:00:16.171 ********* ok: [/cache/rhel-6.qcow2.snap] => { "backup": "", "changed": false } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric logging is configured] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmlogger.yml:13 Thursday 07 July 2022 18:32:02 +0000 (0:00:00.479) 0:00:16.651 ********* ok: [/cache/rhel-6.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/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmlogger.yml:20 Thursday 07 July 2022 18:32:03 +0000 (0:00:00.518) 0:00:17.170 ********* ok: [/cache/rhel-6.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/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmlogger.yml:28 Thursday 07 July 2022 18:32:03 +0000 (0:00:00.530) 0:00:17.700 ********* TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Enable performance metric logging for targeted hosts (single control)] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmlogger.yml:40 Thursday 07 July 2022 18:32:03 +0000 (0:00:00.033) 0:00:17.733 ********* skipping: [/cache/rhel-6.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/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmlogger.yml:50 Thursday 07 July 2022 18:32:03 +0000 (0:00:00.034) 0:00:17.767 ********* ok: [/cache/rhel-6.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/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmlogger.yml:54 Thursday 07 July 2022 18:32:04 +0000 (0:00:00.037) 0:00:17.804 ********* ok: [/cache/rhel-6.qcow2.snap] => { "changed": false, "enabled": true, "name": "pmlogger", "state": "started" } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric logging is restarted and enabled on boot] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmlogger.yml:61 Thursday 07 July 2022 18:32:04 +0000 (0:00:00.469) 0:00:18.274 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : include_tasks] *** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/main.yml:34 Thursday 07 July 2022 18:32:04 +0000 (0:00:00.036) 0:00:18.311 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/rhel-6.qcow2.snap TASK [Setup metric graphing service.] ****************************************** task path: /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/main.yml:85 Thursday 07 July 2022 18:32:04 +0000 (0:00:00.046) 0:00:18.357 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/rhel-6.qcow2.snap TASK [Check if basic metrics role setup works] ********************************* task path: /tmp/tmp8nxucwzp/tests/metrics/tests_sanity_basic.yml:14 Thursday 07 July 2022 18:32:04 +0000 (0:00:00.042) 0:00:18.399 ********* included: /tmp/tmp8nxucwzp/tests/metrics/check_pcp.yml for /cache/rhel-6.qcow2.snap => (item=check_pcp.yml) included: /tmp/tmp8nxucwzp/tests/metrics/check_pmlogger.yml for /cache/rhel-6.qcow2.snap => (item=check_pmlogger.yml) included: /tmp/tmp8nxucwzp/tests/metrics/check_pmie.yml for /cache/rhel-6.qcow2.snap => (item=check_pmie.yml) TASK [Check if PCP works] ****************************************************** task path: /tmp/tmp8nxucwzp/tests/metrics/check_pcp.yml:3 Thursday 07 July 2022 18:32:04 +0000 (0:00:00.038) 0:00:18.437 ********* changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "cmd": [ "pcp" ], "delta": "0:00:00.085639", "end": "2022-07-07 14:32:05.027352", "rc": 0, "start": "2022-07-07 14:32:04.941713" } STDOUT: Performance Co-Pilot configuration on ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com: platform: Linux ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com 2.6.32-754.el6.x86_64 #1 SMP Thu May 24 18:18:25 EDT 2018 x86_64 hardware: 4 cpus, 3 disks, 1 node, 2005MB RAM timezone: EDT+4 services: pmcd pmproxy pmcd: Version 3.10.9-1, 7 agents, 2 clients pmda: root pmcd proc xfs linux mmv jbd2 pmlogger: primary logger: /var/log/pcp/pmlogger/ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com/20220707.14.31 pmie: ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com: /var/log/pcp/pmie/ibm-p8-kvm-03-guest-02.virt.pnr.lab.eng.rdu2.redhat.com/pmie.log TASK [Check if pmlogger is running] ******************************************** task path: /tmp/tmp8nxucwzp/tests/metrics/check_pmlogger.yml:3 Thursday 07 July 2022 18:32:05 +0000 (0:00:00.366) 0:00:18.804 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the ansible_managed header in the configuration file] ************** task path: /tmp/tmp8nxucwzp/tests/metrics/check_pmlogger.yml:7 Thursday 07 July 2022 18:32:05 +0000 (0:00:00.036) 0:00:18.840 ********* [WARNING]: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. included: /tmp/tmp8nxucwzp/tests/metrics/check_header.yml for /cache/rhel-6.qcow2.snap => (item=/etc/sysconfig/pmlogger) included: /tmp/tmp8nxucwzp/tests/metrics/check_header.yml for /cache/rhel-6.qcow2.snap => (item=/etc/sysconfig/pmlogger_timers) TASK [Grep the ansible_managed header in /etc/sysconfig/pmlogger] ************** task path: /tmp/tmp8nxucwzp/tests/metrics/check_header.yml:3 Thursday 07 July 2022 18:32:05 +0000 (0:00:00.038) 0:00:18.879 ********* changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/pmlogger" ], "delta": "0:00:00.003255", "end": "2022-07-07 14:32:05.372891", "rc": 0, "start": "2022-07-07 14:32:05.369636" } STDOUT: # Ansible managed TASK [Grep the ansible_managed header in /etc/sysconfig/pmlogger_timers] ******* task path: /tmp/tmp8nxucwzp/tests/metrics/check_header.yml:3 Thursday 07 July 2022 18:32:05 +0000 (0:00:00.271) 0:00:19.151 ********* changed: [/cache/rhel-6.qcow2.snap] => { "changed": true, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/pmlogger_timers" ], "delta": "0:00:00.003339", "end": "2022-07-07 14:32:05.649273", "rc": 0, "start": "2022-07-07 14:32:05.645934" } STDOUT: # Ansible managed TASK [Check if primary pmie is running] **************************************** task path: /tmp/tmp8nxucwzp/tests/metrics/check_pmie.yml:3 Thursday 07 July 2022 18:32:05 +0000 (0:00:00.274) 0:00:19.425 ********* skipping: [/cache/rhel-6.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [Get final state of services] ********************************************* task path: /tmp/tmp8nxucwzp/tests/metrics/restore_services_state.yml:3 Thursday 07 July 2022 18:32:05 +0000 (0:00:00.046) 0:00:19.472 ********* ok: [/cache/rhel-6.qcow2.snap] => { "ansible_facts": { "services": { "acpid": { "name": "acpid", "source": "sysv", "state": "running", "status": "enabled" }, "auditd": { "name": "auditd", "source": "sysv", "state": "running", "status": "enabled" }, "blk-availability": { "name": "blk-availability", "source": "sysv", "state": "running", "status": "enabled" }, "cgconfig": { "name": "cgconfig", "source": "sysv", "state": "stopped", "status": "disabled" }, "cgred": { "name": "cgred", "source": "sysv", "state": "stopped", "status": "disabled" }, "cloud-config": { "name": "cloud-config", "source": "sysv", "state": "stopped", "status": "enabled" }, "cloud-final": { "name": "cloud-final", "source": "sysv", "state": "stopped", "status": "enabled" }, "cloud-init": { "name": "cloud-init", "source": "sysv", "state": "stopped", "status": "enabled" }, "cloud-init-local": { "name": "cloud-init-local", "source": "sysv", "state": "stopped", "status": "enabled" }, "crond": { "name": "crond", "source": "sysv", "state": "running", "status": "enabled" }, "ip6tables": { "name": "ip6tables", "source": "sysv", "state": "stopped", "status": "enabled" }, "iptables": { "name": "iptables", "source": "sysv", "state": "stopped", "status": "enabled" }, "kdump": { "name": "kdump", "source": "sysv", "state": "stopped", "status": "disabled" }, "ktune": { "name": "ktune", "source": "sysv", "state": "running", "status": "enabled" }, "mdmonitor": { "name": "mdmonitor", "source": "sysv", "state": "stopped", "status": "enabled" }, "netconsole": { "name": "netconsole", "source": "sysv", "state": "stopped", "status": "disabled" }, "netfs": { "name": "netfs", "source": "sysv", "state": "running", "status": "enabled" }, "network": { "name": "network", "source": "sysv", "state": "running", "status": "enabled" }, "nfs": { "name": "nfs", "source": "sysv", "state": "stopped", "status": "disabled" }, "nfs-rdma": { "name": "nfs-rdma", "source": "sysv", "state": "stopped", "status": "disabled" }, "nfslock": { "name": "nfslock", "source": "sysv", "state": "running", "status": "enabled" }, "ovirt-guest-agent": { "name": "ovirt-guest-agent", "source": "sysv", "state": "stopped", "status": "enabled" }, "pmcd": { "name": "pmcd", "source": "sysv", "state": "running", "status": "enabled" }, "pmie": { "name": "pmie", "source": "sysv", "state": "running", "status": "enabled" }, "pmlogger": { "name": "pmlogger", "source": "sysv", "state": "running", "status": "enabled" }, "pmproxy": { "name": "pmproxy", "source": "sysv", "state": "running", "status": "disabled" }, "qemu-ga": { "name": "qemu-ga", "source": "sysv", "state": "stopped", "status": "enabled" }, "rdisc": { "name": "rdisc", "source": "sysv", "state": "stopped", "status": "disabled" }, "rdma": { "name": "rdma", "source": "sysv", "state": "running", "status": "enabled" }, "restorecond": { "name": "restorecond", "source": "sysv", "state": "stopped", "status": "disabled" }, "rhnsd": { "name": "rhnsd", "source": "sysv", "state": "stopped", "status": "enabled" }, "rhsmcertd": { "name": "rhsmcertd", "source": "sysv", "state": "running", "status": "enabled" }, "rpcbind": { "name": "rpcbind", "source": "sysv", "state": "running", "status": "enabled" }, "rpcgssd": { "name": "rpcgssd", "source": "sysv", "state": "stopped", "status": "enabled" }, "rpcsvcgssd": { "name": "rpcsvcgssd", "source": "sysv", "state": "stopped", "status": "disabled" }, "rsyslog": { "name": "rsyslog", "source": "sysv", "state": "running", "status": "enabled" }, "saslauthd": { "name": "saslauthd", "source": "sysv", "state": "stopped", "status": "disabled" }, "sendmail": { "name": "sendmail", "source": "sysv", "state": "running", "status": "enabled" }, "sshd": { "name": "sshd", "source": "sysv", "state": "running", "status": "enabled" }, "tuned": { "name": "tuned", "source": "sysv", "state": "running", "status": "enabled" }, "udev-post": { "name": "udev-post", "source": "sysv", "state": "running", "status": "enabled" } } }, "changed": false } TASK [Restore state of services] *********************************************** task path: /tmp/tmp8nxucwzp/tests/metrics/restore_services_state.yml:9 Thursday 07 July 2022 18:32:07 +0000 (0:00:01.602) 0:00:21.074 ********* skipping: [/cache/rhel-6.qcow2.snap] => (item=pmcd) => { "ansible_loop_var": "item", "changed": false, "item": "pmcd", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-6.qcow2.snap] => (item=pmlogger) => { "ansible_loop_var": "item", "changed": false, "item": "pmlogger", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-6.qcow2.snap] => (item=pmie) => { "ansible_loop_var": "item", "changed": false, "item": "pmie", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-6.qcow2.snap] => (item=pmproxy) => { "ansible_loop_var": "item", "changed": false, "item": "pmproxy", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-6.qcow2.snap] => (item=redis) => { "ansible_loop_var": "item", "changed": false, "item": "redis", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-6.qcow2.snap] => (item=grafana-server) => { "ansible_loop_var": "item", "changed": false, "item": "grafana-server", "skip_reason": "Conditional result was False" } META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-6.qcow2.snap : ok=41 changed=3 unreachable=0 failed=0 skipped=23 rescued=0 ignored=0 Thursday 07 July 2022 18:32:07 +0000 (0:00:00.039) 0:00:21.114 ********* =============================================================================== fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure extra performance rules are installed for targeted hosts --- 2.37s /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:24 Get initial state of services ------------------------------------------- 1.72s /tmp/tmp8nxucwzp/tests/metrics/get_services_state.yml:3 ----------------------- Get final state of services --------------------------------------------- 1.60s /tmp/tmp8nxucwzp/tests/metrics/restore_services_state.yml:3 ------------------- fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure extra rules symlinks have been created for targeted hosts --- 1.59s /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:34 fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure extra performance rule group link directories exist --- 1.00s /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:14 Gathering Facts --------------------------------------------------------- 0.99s /tmp/tmp8nxucwzp/tests/metrics/tests_sanity_basic.yml:3 ----------------------- fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure extra performance rule group directories exist --- 0.98s /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:4 fedora.linux_system_roles.private_metrics_subrole_pcp : Install Performance Co-Pilot packages --- 0.66s /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/main.yml:15 fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure any explicit metric labels are configured --- 0.65s /tmp/tmpvo81nsdl/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 inference is running and enabled on boot --- 0.61s /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:68 fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure any implicit metric labels are configured --- 0.55s /tmp/tmpvo81nsdl/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.54s /tmp/tmpvo81nsdl/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 retention period is set --- 0.53s /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmlogger.yml:20 fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric collector is running and enabled on boot --- 0.52s /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:107 fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric logging is configured --- 0.52s /tmp/tmpvo81nsdl/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.51s /tmp/tmpvo81nsdl/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.50s /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:60 fedora.linux_system_roles.private_metrics_subrole_pcp : Install authentication packages --- 0.49s /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/main.yml:20 fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure metric log location is configured --- 0.48s /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmlogger.yml:4 fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric logging is running and enabled on boot --- 0.47s /tmp/tmpvo81nsdl/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmlogger.yml:54