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/tmpf6ak90cv 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/tmp_9e4oom8/tests/get_services_state.yml statically imported: /tmp/tmp_9e4oom8/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/tmp_9e4oom8/tests/tests_sanity_basic.yml PLAY [Test basic services of the role are installed and running] *************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp_9e4oom8/tests/tests_sanity_basic.yml:3 Thursday 07 July 2022 17:59:50 +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, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]. This feature will be removed in version 2.13. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ok: [/cache/centos-6.qcow2c.snap] TASK [Get initial state of services] ******************************************* task path: /tmp/tmp_9e4oom8/tests/get_services_state.yml:3 Thursday 07 July 2022 17:59:51 +0000 (0:00:01.043) 0:00:01.058 ********* ok: [/cache/centos-6.qcow2c.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": "running", "status": "enabled" }, "iptables": { "name": "iptables", "source": "sysv", "state": "running", "status": "enabled" }, "kdump": { "name": "kdump", "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-rdma": { "name": "nfs-rdma", "source": "sysv", "state": "stopped", "status": "disabled" }, "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" }, "postfix": { "name": "postfix", "source": "sysv", "state": "running", "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" }, "rsyslog": { "name": "rsyslog", "source": "sysv", "state": "running", "status": "enabled" }, "saslauthd": { "name": "saslauthd", "source": "sysv", "state": "stopped", "status": "disabled" }, "sshd": { "name": "sshd", "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/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/tasks/main.yml:4 Thursday 07 July 2022 17:59:53 +0000 (0:00:01.435) 0:00:02.494 ********* skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.metrics : Add SQL Server to metrics domain list] ****** task path: /tmp/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/tasks/main.yml:9 Thursday 07 July 2022 17:59:53 +0000 (0:00:00.035) 0:00:02.529 ********* skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.metrics : Add Postfix to metrics domain list] ********* task path: /tmp/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/tasks/main.yml:14 Thursday 07 July 2022 17:59:53 +0000 (0:00:00.036) 0:00:02.566 ********* skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.metrics : Add bpftrace to metrics domain list] ******** task path: /tmp/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/tasks/main.yml:19 Thursday 07 July 2022 17:59:53 +0000 (0:00:00.034) 0:00:02.601 ********* skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.metrics : Setup metrics access for roles] ************* task path: /tmp/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/tasks/main.yml:24 Thursday 07 July 2022 17:59:53 +0000 (0:00:00.036) 0:00:02.637 ********* ok: [/cache/centos-6.qcow2c.snap] => { "ansible_facts": { "__metrics_accounts": [ { "saslpassword": "metrics", "sasluser": "metrics", "user": "metrics" } ] }, "changed": false } TASK [Configure Elasticsearch metrics] ***************************************** task path: /tmp/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/tasks/main.yml:32 Thursday 07 July 2022 17:59:53 +0000 (0:00:00.053) 0:00:02.691 ********* skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Configure SQL Server metrics.] ******************************************* task path: /tmp/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/tasks/main.yml:46 Thursday 07 July 2022 17:59:53 +0000 (0:00:00.042) 0:00:02.733 ********* skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Configure Postfix metrics.] ********************************************** task path: /tmp/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/tasks/main.yml:53 Thursday 07 July 2022 17:59:53 +0000 (0:00:00.039) 0:00:02.772 ********* skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup bpftrace metrics.] ************************************************* task path: /tmp/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/tasks/main.yml:60 Thursday 07 July 2022 17:59:53 +0000 (0:00:00.039) 0:00:02.812 ********* skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup metric querying service.] ****************************************** task path: /tmp/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/tasks/main.yml:68 Thursday 07 July 2022 17:59:53 +0000 (0:00:00.035) 0:00:02.848 ********* skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup metric collection service.] **************************************** task path: /tmp/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/tasks/main.yml:75 Thursday 07 July 2022 17:59:53 +0000 (0:00:00.036) 0:00:02.884 ********* TASK [/tmp/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/roles/pcp : Set platform/version specific variables] *** task path: /tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:4 Thursday 07 July 2022 17:59:53 +0000 (0:00:00.049) 0:00:02.934 ********* ok: [/cache/centos-6.qcow2c.snap] => (item=/tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/default.yml) => { "ansible_facts": {}, "ansible_included_var_files": [ "/tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/default.yml" } ok: [/cache/centos-6.qcow2c.snap] => (item=/tmp/tmp_9e4oom8/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/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/RedHat.yml" } skipping: [/cache/centos-6.qcow2c.snap] => (item=/tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-6.qcow2c.snap] => (item=/tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/CentOS_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/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/CentOS_6.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/CentOS_6.yml" } skipping: [/cache/centos-6.qcow2c.snap] => (item=/tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/CentOS_6.10.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/CentOS_6.10.yml", "skip_reason": "Conditional result was False" } TASK [/tmp/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/roles/pcp : Install Performance Co-Pilot packages] *** task path: /tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:15 Thursday 07 July 2022 17:59:53 +0000 (0:00:00.071) 0:00:03.006 ********* ok: [/cache/centos-6.qcow2c.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/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/roles/pcp : Install authentication packages] *** task path: /tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:20 Thursday 07 July 2022 17:59:54 +0000 (0:00:00.676) 0:00:03.683 ********* ok: [/cache/centos-6.qcow2c.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/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/roles/pcp : include_tasks] *** task path: /tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:28 Thursday 07 July 2022 17:59:54 +0000 (0:00:00.511) 0:00:04.194 ********* included: /tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml for /cache/centos-6.qcow2c.snap TASK [/tmp/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/roles/pcp : List optional metric collection agents to be enabled] *** task path: /tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:4 Thursday 07 July 2022 17:59:54 +0000 (0:00:00.039) 0:00:04.234 ********* TASK [/tmp/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/roles/pcp : Extract metric collection configuration file content] *** task path: /tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:9 Thursday 07 July 2022 17:59:54 +0000 (0:00:00.039) 0:00:04.273 ********* ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/pcp/pmcd/pmcd.conf" ], "delta": "0:00:00.003722", "end": "2022-07-07 17:59:54.536013", "rc": 0, "start": "2022-07-07 17:59:54.532291" } 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/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure optional metric collection agents are enabled] *** task path: /tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:14 Thursday 07 July 2022 17:59:55 +0000 (0:00:00.428) 0:00:04.702 ********* TASK [/tmp/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure explicit metric label path exists] *** task path: /tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:23 Thursday 07 July 2022 17:59:55 +0000 (0:00:00.034) 0:00:04.737 ********* ok: [/cache/centos-6.qcow2c.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/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure implicit metric label path exists] *** task path: /tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:31 Thursday 07 July 2022 17:59:55 +0000 (0:00:00.476) 0:00:05.213 ********* ok: [/cache/centos-6.qcow2c.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/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure any explicit metric labels are configured] *** task path: /tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:39 Thursday 07 July 2022 17:59:56 +0000 (0:00:00.402) 0:00:05.615 ********* ok: [/cache/centos-6.qcow2c.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/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure any implicit metric labels are configured] *** task path: /tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:46 Thursday 07 July 2022 17:59:56 +0000 (0:00:00.671) 0:00:06.287 ********* ok: [/cache/centos-6.qcow2c.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/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector is configured] *** task path: /tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:53 Thursday 07 July 2022 17:59:57 +0000 (0:00:00.590) 0:00:06.878 ********* ok: [/cache/centos-6.qcow2c.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/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector system accounts are configured] *** task path: /tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:60 Thursday 07 July 2022 17:59:58 +0000 (0:00:00.554) 0:00:07.432 ********* ok: [/cache/centos-6.qcow2c.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, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "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/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector SASL accounts are configured] *** task path: /tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:68 Thursday 07 July 2022 17:59:58 +0000 (0:00:00.501) 0:00:07.934 ********* ok: [/cache/centos-6.qcow2c.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.007517", "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, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "version": "2.13" } ], "end": "2022-07-07 17:59:58.071345", "item": { "saslpassword": "metrics", "sasluser": "metrics", "user": "metrics" }, "rc": 0, "start": "2022-07-07 17:59:58.063828" } TASK [/tmp/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector authentication is configured] *** task path: /tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:83 Thursday 07 July 2022 17:59:58 +0000 (0:00:00.311) 0:00:08.245 ********* ok: [/cache/centos-6.qcow2c.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/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/roles/pcp : Set variable to do pmcd restart if needed] *** task path: /tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:91 Thursday 07 July 2022 17:59:59 +0000 (0:00:00.548) 0:00:08.794 ********* ok: [/cache/centos-6.qcow2c.snap] => { "ansible_facts": { "__pcp_restart_pmcd": false }, "changed": false } TASK [/tmp/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/roles/pcp : Report performance metric collector restart state] *** task path: /tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:103 Thursday 07 July 2022 17:59:59 +0000 (0:00:00.042) 0:00:08.836 ********* ok: [/cache/centos-6.qcow2c.snap] => {} MSG: ['optional_agents: False', 'explicit_labels: False', 'implicit_labels: False', 'defaults_config: False', 'authentication: False', 'restart_pmcd: False'] TASK [/tmp/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector is running and enabled on boot] *** task path: /tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:114 Thursday 07 July 2022 17:59:59 +0000 (0:00:00.050) 0:00:08.887 ********* ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "enabled": true, "name": "pmcd", "state": "started" } TASK [/tmp/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector is restarted and enabled on boot] *** task path: /tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:121 Thursday 07 July 2022 18:00:00 +0000 (0:00:00.565) 0:00:09.452 ********* skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/roles/pcp : include_tasks] *** task path: /tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:30 Thursday 07 July 2022 18:00:00 +0000 (0:00:00.038) 0:00:09.490 ********* included: /tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml for /cache/centos-6.qcow2c.snap TASK [/tmp/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra performance rule group directories exist] *** task path: /tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:4 Thursday 07 July 2022 18:00:00 +0000 (0:00:00.040) 0:00:09.531 ********* ok: [/cache/centos-6.qcow2c.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, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "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/centos-6.qcow2c.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, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "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/centos-6.qcow2c.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, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "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/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra performance rule group link directories exist] *** task path: /tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:14 Thursday 07 July 2022 18:00:01 +0000 (0:00:01.053) 0:00:10.584 ********* ok: [/cache/centos-6.qcow2c.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, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "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/centos-6.qcow2c.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, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "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/centos-6.qcow2c.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, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "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/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra performance rules are installed for targeted hosts] *** task path: /tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:24 Thursday 07 July 2022 18:00:02 +0000 (0:00:01.270) 0:00:11.855 ********* ok: [/cache/centos-6.qcow2c.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, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "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/centos-6.qcow2c.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, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "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/centos-6.qcow2c.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, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "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/centos-6.qcow2c.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, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "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/centos-6.qcow2c.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, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "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/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra rules symlinks have been created for targeted hosts] *** task path: /tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:34 Thursday 07 July 2022 18:00:05 +0000 (0:00:02.694) 0:00:14.549 ********* ok: [/cache/centos-6.qcow2c.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, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "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/centos-6.qcow2c.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, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "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/centos-6.qcow2c.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, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "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/centos-6.qcow2c.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, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "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/centos-6.qcow2c.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, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "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/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/roles/pcp : Enable performance metric inference for targeted hosts (with control.d)] *** task path: /tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:43 Thursday 07 July 2022 18:00:06 +0000 (0:00:01.695) 0:00:16.244 ********* TASK [/tmp/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/roles/pcp : Enable performance metric inference for targeted hosts (single control)] *** task path: /tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:54 Thursday 07 July 2022 18:00:06 +0000 (0:00:00.031) 0:00:16.276 ********* skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/roles/pcp : Set variable to do pmie restart if needed] *** task path: /tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:64 Thursday 07 July 2022 18:00:06 +0000 (0:00:00.032) 0:00:16.309 ********* ok: [/cache/centos-6.qcow2c.snap] => { "ansible_facts": { "__pcp_restart_pmie": false }, "changed": false } TASK [/tmp/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric inference is running and enabled on boot] *** task path: /tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:75 Thursday 07 July 2022 18:00:06 +0000 (0:00:00.091) 0:00:16.400 ********* ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "enabled": true, "name": "pmie", "state": "started" } TASK [/tmp/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric inference is restarted and enabled on boot] *** task path: /tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:82 Thursday 07 July 2022 18:00:07 +0000 (0:00:00.543) 0:00:16.944 ********* skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/roles/pcp : include_tasks] *** task path: /tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:32 Thursday 07 July 2022 18:00:07 +0000 (0:00:00.035) 0:00:16.980 ********* included: /tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml for /cache/centos-6.qcow2c.snap TASK [/tmp/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure metric log location is configured] *** task path: /tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:4 Thursday 07 July 2022 18:00:07 +0000 (0:00:00.041) 0:00:17.022 ********* ok: [/cache/centos-6.qcow2c.snap] => { "backup": "", "changed": false } TASK [/tmp/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric logging is configured] *** task path: /tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:13 Thursday 07 July 2022 18:00:08 +0000 (0:00:00.452) 0:00:17.475 ********* ok: [/cache/centos-6.qcow2c.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/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric logging retention period is set] *** task path: /tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:20 Thursday 07 July 2022 18:00:08 +0000 (0:00:00.551) 0:00:18.026 ********* ok: [/cache/centos-6.qcow2c.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/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/roles/pcp : Enable performance metric logging for targeted hosts (with control.d)] *** task path: /tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:28 Thursday 07 July 2022 18:00:09 +0000 (0:00:00.551) 0:00:18.577 ********* TASK [/tmp/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/roles/pcp : Enable performance metric logging for targeted hosts (single control)] *** task path: /tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:40 Thursday 07 July 2022 18:00:09 +0000 (0:00:00.033) 0:00:18.610 ********* skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/roles/pcp : Set variable to do pmlogger restart if needed] *** task path: /tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:50 Thursday 07 July 2022 18:00:09 +0000 (0:00:00.035) 0:00:18.646 ********* ok: [/cache/centos-6.qcow2c.snap] => { "ansible_facts": { "__pcp_restart_pmlogger": false }, "changed": false } TASK [/tmp/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric logging is running and enabled on boot] *** task path: /tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:60 Thursday 07 July 2022 18:00:09 +0000 (0:00:00.039) 0:00:18.686 ********* ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "enabled": true, "name": "pmlogger", "state": "started" } TASK [/tmp/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric logging is restarted and enabled on boot] *** task path: /tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:67 Thursday 07 July 2022 18:00:09 +0000 (0:00:00.426) 0:00:19.113 ********* skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/tmp/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/roles/pcp : include_tasks] *** task path: /tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:34 Thursday 07 July 2022 18:00:09 +0000 (0:00:00.034) 0:00:19.147 ********* skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/centos-6.qcow2c.snap TASK [Setup metric graphing service.] ****************************************** task path: /tmp/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/tasks/main.yml:87 Thursday 07 July 2022 18:00:09 +0000 (0:00:00.049) 0:00:19.197 ********* skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/centos-6.qcow2c.snap TASK [Check if basic metrics role setup works] ********************************* task path: /tmp/tmp_9e4oom8/tests/tests_sanity_basic.yml:14 Thursday 07 July 2022 18:00:09 +0000 (0:00:00.044) 0:00:19.241 ********* included: /tmp/tmp_9e4oom8/tests/check_pcp.yml for /cache/centos-6.qcow2c.snap => (item=check_pcp.yml) included: /tmp/tmp_9e4oom8/tests/check_pmlogger.yml for /cache/centos-6.qcow2c.snap => (item=check_pmlogger.yml) included: /tmp/tmp_9e4oom8/tests/check_pmie.yml for /cache/centos-6.qcow2c.snap => (item=check_pmie.yml) TASK [Check if PCP works] ****************************************************** task path: /tmp/tmp_9e4oom8/tests/check_pcp.yml:3 Thursday 07 July 2022 18:00:09 +0000 (0:00:00.040) 0:00:19.281 ********* changed: [/cache/centos-6.qcow2c.snap] => { "changed": true, "cmd": [ "pcp" ], "delta": "0:00:00.100511", "end": "2022-07-07 18:00:09.491103", "rc": 0, "start": "2022-07-07 18:00:09.390592" } 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.17.1.el6.x86_64 #1 SMP Tue Jul 2 12:42:48 UTC 2019 x86_64 hardware: 4 cpus, 3 disks, 1 node, 1876MB RAM timezone: UTC 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.17.59 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/tmp_9e4oom8/tests/check_pmlogger.yml:3 Thursday 07 July 2022 18:00:10 +0000 (0:00:00.378) 0:00:19.660 ********* skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the ansible_managed header in the configuration file] ************** task path: /tmp/tmp_9e4oom8/tests/check_pmlogger.yml:9 Thursday 07 July 2022 18:00:10 +0000 (0:00:00.035) 0:00:19.695 ********* [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/tmp_9e4oom8/tests/check_header.yml for /cache/centos-6.qcow2c.snap => (item=/etc/sysconfig/pmlogger) included: /tmp/tmp_9e4oom8/tests/check_header.yml for /cache/centos-6.qcow2c.snap => (item=/etc/sysconfig/pmlogger_timers) TASK [Grep the ansible_managed header in /etc/sysconfig/pmlogger] ************** task path: /tmp/tmp_9e4oom8/tests/check_header.yml:3 Thursday 07 July 2022 18:00:10 +0000 (0:00:00.037) 0:00:19.733 ********* changed: [/cache/centos-6.qcow2c.snap] => { "changed": true, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/pmlogger" ], "delta": "0:00:00.003902", "end": "2022-07-07 18:00:09.852900", "rc": 0, "start": "2022-07-07 18:00:09.848998" } STDOUT: # Ansible managed TASK [Grep the ansible_managed header in /etc/sysconfig/pmlogger_timers] ******* task path: /tmp/tmp_9e4oom8/tests/check_header.yml:3 Thursday 07 July 2022 18:00:10 +0000 (0:00:00.288) 0:00:20.021 ********* changed: [/cache/centos-6.qcow2c.snap] => { "changed": true, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/pmlogger_timers" ], "delta": "0:00:00.004363", "end": "2022-07-07 18:00:10.143112", "rc": 0, "start": "2022-07-07 18:00:10.138749" } STDOUT: # Ansible managed TASK [Check if primary pmie is running] **************************************** task path: /tmp/tmp_9e4oom8/tests/check_pmie.yml:3 Thursday 07 July 2022 18:00:10 +0000 (0:00:00.288) 0:00:20.310 ********* skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [Get final state of services] ********************************************* task path: /tmp/tmp_9e4oom8/tests/restore_services_state.yml:3 Thursday 07 July 2022 18:00:10 +0000 (0:00:00.048) 0:00:20.359 ********* ok: [/cache/centos-6.qcow2c.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": "running", "status": "enabled" }, "iptables": { "name": "iptables", "source": "sysv", "state": "running", "status": "enabled" }, "kdump": { "name": "kdump", "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-rdma": { "name": "nfs-rdma", "source": "sysv", "state": "stopped", "status": "disabled" }, "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" }, "postfix": { "name": "postfix", "source": "sysv", "state": "running", "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" }, "rsyslog": { "name": "rsyslog", "source": "sysv", "state": "running", "status": "enabled" }, "saslauthd": { "name": "saslauthd", "source": "sysv", "state": "stopped", "status": "disabled" }, "sshd": { "name": "sshd", "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/tmp_9e4oom8/tests/restore_services_state.yml:9 Thursday 07 July 2022 18:00:12 +0000 (0:00:01.317) 0:00:21.677 ********* skipping: [/cache/centos-6.qcow2c.snap] => (item=pmcd) => { "ansible_loop_var": "item", "changed": false, "item": "pmcd", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-6.qcow2c.snap] => (item=pmlogger) => { "ansible_loop_var": "item", "changed": false, "item": "pmlogger", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-6.qcow2c.snap] => (item=pmie) => { "ansible_loop_var": "item", "changed": false, "item": "pmie", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-6.qcow2c.snap] => (item=pmproxy) => { "ansible_loop_var": "item", "changed": false, "item": "pmproxy", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-6.qcow2c.snap] => (item=redis) => { "ansible_loop_var": "item", "changed": false, "item": "redis", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-6.qcow2c.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/centos-6.qcow2c.snap : ok=41 changed=3 unreachable=0 failed=0 skipped=23 rescued=0 ignored=0 Thursday 07 July 2022 18:00:12 +0000 (0:00:00.041) 0:00:21.718 ********* =============================================================================== /tmp/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra performance rules are installed for targeted hosts --- 2.69s /tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:24 /tmp/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra rules symlinks have been created for targeted hosts --- 1.70s /tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:34 Get initial state of services ------------------------------------------- 1.44s /tmp/tmp_9e4oom8/tests/get_services_state.yml:3 ------------------------------- Get final state of services --------------------------------------------- 1.32s /tmp/tmp_9e4oom8/tests/restore_services_state.yml:3 --------------------------- /tmp/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra performance rule group link directories exist --- 1.27s /tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:14 /tmp/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra performance rule group directories exist --- 1.05s /tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:4 Gathering Facts --------------------------------------------------------- 1.04s /tmp/tmp_9e4oom8/tests/tests_sanity_basic.yml:3 ------------------------------- /tmp/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/roles/pcp : Install Performance Co-Pilot packages --- 0.68s /tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:15 /tmp/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure any explicit metric labels are configured --- 0.67s /tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:39 /tmp/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure any implicit metric labels are configured --- 0.59s /tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:46 /tmp/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector is running and enabled on boot --- 0.57s /tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:114 /tmp/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector is configured --- 0.55s /tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:53 /tmp/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric logging retention period is set --- 0.55s /tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:20 /tmp/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric logging is configured --- 0.55s /tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:13 /tmp/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector authentication is configured --- 0.55s /tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:83 /tmp/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric inference is running and enabled on boot --- 0.54s /tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:75 /tmp/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/roles/pcp : Install authentication packages --- 0.51s /tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:20 /tmp/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector system accounts are configured --- 0.50s /tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:60 /tmp/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure explicit metric label path exists --- 0.48s /tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:23 /tmp/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure metric log location is configured --- 0.45s /tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:4 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/tmpf6ak90cv 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/tmp12bmim3y/tests/metrics/get_services_state.yml statically imported: /tmp/tmp12bmim3y/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/tmp12bmim3y/tests/metrics/tests_sanity_basic.yml PLAY [Test basic services of the role are installed and running] *************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp12bmim3y/tests/metrics/tests_sanity_basic.yml:3 Thursday 07 July 2022 18:01:42 +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, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]. This feature will be removed in version 2.13. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ok: [/cache/centos-6.qcow2c.snap] TASK [Get initial state of services] ******************************************* task path: /tmp/tmp12bmim3y/tests/metrics/get_services_state.yml:3 Thursday 07 July 2022 18:01:43 +0000 (0:00:01.038) 0:00:01.054 ********* ok: [/cache/centos-6.qcow2c.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": "running", "status": "enabled" }, "iptables": { "name": "iptables", "source": "sysv", "state": "running", "status": "enabled" }, "kdump": { "name": "kdump", "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-rdma": { "name": "nfs-rdma", "source": "sysv", "state": "stopped", "status": "disabled" }, "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" }, "postfix": { "name": "postfix", "source": "sysv", "state": "running", "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" }, "rsyslog": { "name": "rsyslog", "source": "sysv", "state": "running", "status": "enabled" }, "saslauthd": { "name": "saslauthd", "source": "sysv", "state": "stopped", "status": "disabled" }, "sshd": { "name": "sshd", "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/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/main.yml:4 Thursday 07 July 2022 18:01:45 +0000 (0:00:01.413) 0:00:02.467 ********* skipping: [/cache/centos-6.qcow2c.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/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/main.yml:9 Thursday 07 July 2022 18:01:45 +0000 (0:00:00.035) 0:00:02.502 ********* skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.metrics : Add Postfix to metrics domain list] *** task path: /tmp/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/main.yml:14 Thursday 07 July 2022 18:01:45 +0000 (0:00:00.034) 0:00:02.537 ********* skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.metrics : Add bpftrace to metrics domain list] *** task path: /tmp/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/main.yml:19 Thursday 07 July 2022 18:01:45 +0000 (0:00:00.035) 0:00:02.572 ********* skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.metrics : Setup metrics access for roles] ****** task path: /tmp/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/main.yml:24 Thursday 07 July 2022 18:01:45 +0000 (0:00:00.034) 0:00:02.607 ********* ok: [/cache/centos-6.qcow2c.snap] => { "ansible_facts": { "__metrics_accounts": [ { "saslpassword": "metrics", "sasluser": "metrics", "user": "metrics" } ] }, "changed": false } TASK [Configure Elasticsearch metrics] ***************************************** task path: /tmp/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/main.yml:31 Thursday 07 July 2022 18:01:45 +0000 (0:00:00.050) 0:00:02.658 ********* skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Configure SQL Server metrics.] ******************************************* task path: /tmp/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/main.yml:45 Thursday 07 July 2022 18:01:45 +0000 (0:00:00.035) 0:00:02.694 ********* skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Configure Postfix metrics.] ********************************************** task path: /tmp/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/main.yml:52 Thursday 07 July 2022 18:01:45 +0000 (0:00:00.034) 0:00:02.728 ********* skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup bpftrace metrics.] ************************************************* task path: /tmp/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/main.yml:59 Thursday 07 July 2022 18:01:45 +0000 (0:00:00.033) 0:00:02.762 ********* skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup metric querying service.] ****************************************** task path: /tmp/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/main.yml:67 Thursday 07 July 2022 18:01:45 +0000 (0:00:00.033) 0:00:02.796 ********* skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup metric collection service.] **************************************** task path: /tmp/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/main.yml:74 Thursday 07 July 2022 18:01:45 +0000 (0:00:00.036) 0:00:02.832 ********* TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Set platform/version specific variables] *** task path: /tmp/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/main.yml:4 Thursday 07 July 2022 18:01:45 +0000 (0:00:00.046) 0:00:02.879 ********* ok: [/cache/centos-6.qcow2c.snap] => (item=/tmp/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/vars/default.yml) => { "ansible_facts": {}, "ansible_included_var_files": [ "/tmp/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/vars/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/vars/default.yml" } ok: [/cache/centos-6.qcow2c.snap] => (item=/tmp/tmpf6ak90cv/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/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/vars/RedHat.yml" } skipping: [/cache/centos-6.qcow2c.snap] => (item=/tmp/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/vars/CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/vars/CentOS.yml", "skip_reason": "Conditional result was False" } ok: [/cache/centos-6.qcow2c.snap] => (item=/tmp/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/vars/CentOS_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/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/vars/CentOS_6.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/vars/CentOS_6.yml" } skipping: [/cache/centos-6.qcow2c.snap] => (item=/tmp/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/vars/CentOS_6.10.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/vars/CentOS_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/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/main.yml:15 Thursday 07 July 2022 18:01:45 +0000 (0:00:00.077) 0:00:02.957 ********* ok: [/cache/centos-6.qcow2c.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/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/main.yml:20 Thursday 07 July 2022 18:01:46 +0000 (0:00:00.695) 0:00:03.652 ********* ok: [/cache/centos-6.qcow2c.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/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/main.yml:28 Thursday 07 July 2022 18:01:46 +0000 (0:00:00.511) 0:00:04.163 ********* included: /tmp/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml for /cache/centos-6.qcow2c.snap TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : List optional metric collection agents to be enabled] *** task path: /tmp/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:4 Thursday 07 July 2022 18:01:47 +0000 (0:00:00.053) 0:00:04.216 ********* TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Extract metric collection configuration file content] *** task path: /tmp/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:9 Thursday 07 July 2022 18:01:47 +0000 (0:00:00.041) 0:00:04.258 ********* ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/pcp/pmcd/pmcd.conf" ], "delta": "0:00:00.004115", "end": "2022-07-07 18:01:46.466408", "rc": 0, "start": "2022-07-07 18:01:46.462293" } 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/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:14 Thursday 07 July 2022 18:01:47 +0000 (0:00:00.433) 0:00:04.691 ********* TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure explicit metric label path exists] *** task path: /tmp/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:23 Thursday 07 July 2022 18:01:47 +0000 (0:00:00.034) 0:00:04.725 ********* ok: [/cache/centos-6.qcow2c.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/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:31 Thursday 07 July 2022 18:01:48 +0000 (0:00:00.487) 0:00:05.213 ********* ok: [/cache/centos-6.qcow2c.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/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:39 Thursday 07 July 2022 18:01:48 +0000 (0:00:00.356) 0:00:05.569 ********* ok: [/cache/centos-6.qcow2c.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/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:46 Thursday 07 July 2022 18:01:49 +0000 (0:00:00.671) 0:00:06.241 ********* ok: [/cache/centos-6.qcow2c.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/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:53 Thursday 07 July 2022 18:01:49 +0000 (0:00:00.569) 0:00:06.810 ********* ok: [/cache/centos-6.qcow2c.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/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:60 Thursday 07 July 2022 18:01:50 +0000 (0:00:00.583) 0:00:07.394 ********* ok: [/cache/centos-6.qcow2c.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, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "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/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:68 Thursday 07 July 2022 18:01:50 +0000 (0:00:00.488) 0:00:07.883 ********* ok: [/cache/centos-6.qcow2c.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.007388", "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, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "version": "2.13" } ], "end": "2022-07-07 18:01:49.961954", "item": { "saslpassword": "metrics", "sasluser": "metrics", "user": "metrics" }, "rc": 0, "start": "2022-07-07 18:01:49.954566" } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric collector authentication is configured] *** task path: /tmp/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:83 Thursday 07 July 2022 18:01:51 +0000 (0:00:00.308) 0:00:08.191 ********* ok: [/cache/centos-6.qcow2c.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/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:91 Thursday 07 July 2022 18:01:51 +0000 (0:00:00.546) 0:00:08.738 ********* ok: [/cache/centos-6.qcow2c.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/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:96 Thursday 07 July 2022 18:01:51 +0000 (0:00:00.037) 0:00:08.776 ********* ok: [/cache/centos-6.qcow2c.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/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:107 Thursday 07 July 2022 18:01:51 +0000 (0:00:00.051) 0:00:08.827 ********* ok: [/cache/centos-6.qcow2c.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/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:114 Thursday 07 July 2022 18:01:52 +0000 (0:00:00.575) 0:00:09.403 ********* skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : include_tasks] *** task path: /tmp/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/main.yml:30 Thursday 07 July 2022 18:01:52 +0000 (0:00:00.036) 0:00:09.439 ********* included: /tmp/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml for /cache/centos-6.qcow2c.snap TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure extra performance rule group directories exist] *** task path: /tmp/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:4 Thursday 07 July 2022 18:01:52 +0000 (0:00:00.044) 0:00:09.483 ********* ok: [/cache/centos-6.qcow2c.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, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "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/centos-6.qcow2c.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, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "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/centos-6.qcow2c.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, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "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/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:14 Thursday 07 July 2022 18:01:53 +0000 (0:00:01.005) 0:00:10.488 ********* ok: [/cache/centos-6.qcow2c.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, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "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/centos-6.qcow2c.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, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "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/centos-6.qcow2c.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, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "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/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:24 Thursday 07 July 2022 18:01:54 +0000 (0:00:01.054) 0:00:11.543 ********* ok: [/cache/centos-6.qcow2c.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, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "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/centos-6.qcow2c.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, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "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/centos-6.qcow2c.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, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "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/centos-6.qcow2c.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, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "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/centos-6.qcow2c.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, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "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/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:34 Thursday 07 July 2022 18:01:56 +0000 (0:00:02.608) 0:00:14.152 ********* ok: [/cache/centos-6.qcow2c.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, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "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/centos-6.qcow2c.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, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "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/centos-6.qcow2c.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, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "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/centos-6.qcow2c.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, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "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/centos-6.qcow2c.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, Jun 20 2019, 14:14:55) [GCC 4.4.7 20120313 (Red Hat 4.4.7-23)]", "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/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:43 Thursday 07 July 2022 18:01:58 +0000 (0:00:01.666) 0:00:15.818 ********* TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Enable performance metric inference for targeted hosts (single control)] *** task path: /tmp/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:54 Thursday 07 July 2022 18:01:58 +0000 (0:00:00.036) 0:00:15.855 ********* skipping: [/cache/centos-6.qcow2c.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/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:64 Thursday 07 July 2022 18:01:58 +0000 (0:00:00.036) 0:00:15.891 ********* ok: [/cache/centos-6.qcow2c.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/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:68 Thursday 07 July 2022 18:01:58 +0000 (0:00:00.068) 0:00:15.960 ********* ok: [/cache/centos-6.qcow2c.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/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:75 Thursday 07 July 2022 18:01:59 +0000 (0:00:00.433) 0:00:16.394 ********* skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : include_tasks] *** task path: /tmp/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/main.yml:32 Thursday 07 July 2022 18:01:59 +0000 (0:00:00.036) 0:00:16.430 ********* included: /tmp/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmlogger.yml for /cache/centos-6.qcow2c.snap TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure metric log location is configured] *** task path: /tmp/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmlogger.yml:4 Thursday 07 July 2022 18:01:59 +0000 (0:00:00.046) 0:00:16.476 ********* ok: [/cache/centos-6.qcow2c.snap] => { "backup": "", "changed": false } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric logging is configured] *** task path: /tmp/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmlogger.yml:13 Thursday 07 July 2022 18:01:59 +0000 (0:00:00.465) 0:00:16.942 ********* ok: [/cache/centos-6.qcow2c.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/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmlogger.yml:20 Thursday 07 July 2022 18:02:00 +0000 (0:00:00.564) 0:00:17.507 ********* ok: [/cache/centos-6.qcow2c.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/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmlogger.yml:28 Thursday 07 July 2022 18:02:00 +0000 (0:00:00.546) 0:00:18.054 ********* TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : Enable performance metric logging for targeted hosts (single control)] *** task path: /tmp/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmlogger.yml:40 Thursday 07 July 2022 18:02:00 +0000 (0:00:00.033) 0:00:18.087 ********* skipping: [/cache/centos-6.qcow2c.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/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmlogger.yml:50 Thursday 07 July 2022 18:02:00 +0000 (0:00:00.036) 0:00:18.124 ********* ok: [/cache/centos-6.qcow2c.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/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmlogger.yml:54 Thursday 07 July 2022 18:02:00 +0000 (0:00:00.038) 0:00:18.162 ********* ok: [/cache/centos-6.qcow2c.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/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmlogger.yml:61 Thursday 07 July 2022 18:02:01 +0000 (0:00:00.400) 0:00:18.563 ********* skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.private_metrics_subrole_pcp : include_tasks] *** task path: /tmp/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/main.yml:34 Thursday 07 July 2022 18:02:01 +0000 (0:00:00.034) 0:00:18.597 ********* skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/centos-6.qcow2c.snap TASK [Setup metric graphing service.] ****************************************** task path: /tmp/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/metrics/tasks/main.yml:85 Thursday 07 July 2022 18:02:01 +0000 (0:00:00.044) 0:00:18.642 ********* skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/centos-6.qcow2c.snap TASK [Check if basic metrics role setup works] ********************************* task path: /tmp/tmp12bmim3y/tests/metrics/tests_sanity_basic.yml:14 Thursday 07 July 2022 18:02:01 +0000 (0:00:00.045) 0:00:18.687 ********* included: /tmp/tmp12bmim3y/tests/metrics/check_pcp.yml for /cache/centos-6.qcow2c.snap => (item=check_pcp.yml) included: /tmp/tmp12bmim3y/tests/metrics/check_pmlogger.yml for /cache/centos-6.qcow2c.snap => (item=check_pmlogger.yml) included: /tmp/tmp12bmim3y/tests/metrics/check_pmie.yml for /cache/centos-6.qcow2c.snap => (item=check_pmie.yml) TASK [Check if PCP works] ****************************************************** task path: /tmp/tmp12bmim3y/tests/metrics/check_pcp.yml:3 Thursday 07 July 2022 18:02:01 +0000 (0:00:00.037) 0:00:18.725 ********* changed: [/cache/centos-6.qcow2c.snap] => { "changed": true, "cmd": [ "pcp" ], "delta": "0:00:00.092688", "end": "2022-07-07 18:02:00.872676", "rc": 0, "start": "2022-07-07 18:02:00.779988" } 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.17.1.el6.x86_64 #1 SMP Tue Jul 2 12:42:48 UTC 2019 x86_64 hardware: 4 cpus, 3 disks, 1 node, 1876MB RAM timezone: UTC 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.18.01 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/tmp12bmim3y/tests/metrics/check_pmlogger.yml:3 Thursday 07 July 2022 18:02:01 +0000 (0:00:00.372) 0:00:19.097 ********* skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the ansible_managed header in the configuration file] ************** task path: /tmp/tmp12bmim3y/tests/metrics/check_pmlogger.yml:7 Thursday 07 July 2022 18:02:01 +0000 (0:00:00.037) 0:00:19.135 ********* [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/tmp12bmim3y/tests/metrics/check_header.yml for /cache/centos-6.qcow2c.snap => (item=/etc/sysconfig/pmlogger) included: /tmp/tmp12bmim3y/tests/metrics/check_header.yml for /cache/centos-6.qcow2c.snap => (item=/etc/sysconfig/pmlogger_timers) TASK [Grep the ansible_managed header in /etc/sysconfig/pmlogger] ************** task path: /tmp/tmp12bmim3y/tests/metrics/check_header.yml:3 Thursday 07 July 2022 18:02:01 +0000 (0:00:00.041) 0:00:19.176 ********* changed: [/cache/centos-6.qcow2c.snap] => { "changed": true, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/pmlogger" ], "delta": "0:00:00.003971", "end": "2022-07-07 18:02:01.251807", "rc": 0, "start": "2022-07-07 18:02:01.247836" } STDOUT: # Ansible managed TASK [Grep the ansible_managed header in /etc/sysconfig/pmlogger_timers] ******* task path: /tmp/tmp12bmim3y/tests/metrics/check_header.yml:3 Thursday 07 July 2022 18:02:02 +0000 (0:00:00.298) 0:00:19.474 ********* changed: [/cache/centos-6.qcow2c.snap] => { "changed": true, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/pmlogger_timers" ], "delta": "0:00:00.003767", "end": "2022-07-07 18:02:01.549078", "rc": 0, "start": "2022-07-07 18:02:01.545311" } STDOUT: # Ansible managed TASK [Check if primary pmie is running] **************************************** task path: /tmp/tmp12bmim3y/tests/metrics/check_pmie.yml:3 Thursday 07 July 2022 18:02:02 +0000 (0:00:00.294) 0:00:19.769 ********* skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [Get final state of services] ********************************************* task path: /tmp/tmp12bmim3y/tests/metrics/restore_services_state.yml:3 Thursday 07 July 2022 18:02:02 +0000 (0:00:00.044) 0:00:19.813 ********* ok: [/cache/centos-6.qcow2c.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": "running", "status": "enabled" }, "iptables": { "name": "iptables", "source": "sysv", "state": "running", "status": "enabled" }, "kdump": { "name": "kdump", "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-rdma": { "name": "nfs-rdma", "source": "sysv", "state": "stopped", "status": "disabled" }, "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" }, "postfix": { "name": "postfix", "source": "sysv", "state": "running", "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" }, "rsyslog": { "name": "rsyslog", "source": "sysv", "state": "running", "status": "enabled" }, "saslauthd": { "name": "saslauthd", "source": "sysv", "state": "stopped", "status": "disabled" }, "sshd": { "name": "sshd", "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/tmp12bmim3y/tests/metrics/restore_services_state.yml:9 Thursday 07 July 2022 18:02:04 +0000 (0:00:01.457) 0:00:21.270 ********* skipping: [/cache/centos-6.qcow2c.snap] => (item=pmcd) => { "ansible_loop_var": "item", "changed": false, "item": "pmcd", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-6.qcow2c.snap] => (item=pmlogger) => { "ansible_loop_var": "item", "changed": false, "item": "pmlogger", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-6.qcow2c.snap] => (item=pmie) => { "ansible_loop_var": "item", "changed": false, "item": "pmie", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-6.qcow2c.snap] => (item=pmproxy) => { "ansible_loop_var": "item", "changed": false, "item": "pmproxy", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-6.qcow2c.snap] => (item=redis) => { "ansible_loop_var": "item", "changed": false, "item": "redis", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-6.qcow2c.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/centos-6.qcow2c.snap : ok=41 changed=3 unreachable=0 failed=0 skipped=23 rescued=0 ignored=0 Thursday 07 July 2022 18:02:04 +0000 (0:00:00.040) 0:00:21.311 ********* =============================================================================== fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure extra performance rules are installed for targeted hosts --- 2.61s /tmp/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:24 fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure extra rules symlinks have been created for targeted hosts --- 1.67s /tmp/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:34 Get final state of services --------------------------------------------- 1.46s /tmp/tmp12bmim3y/tests/metrics/restore_services_state.yml:3 ------------------- Get initial state of services ------------------------------------------- 1.41s /tmp/tmp12bmim3y/tests/metrics/get_services_state.yml:3 ----------------------- fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure extra performance rule group link directories exist --- 1.05s /tmp/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:14 Gathering Facts --------------------------------------------------------- 1.04s /tmp/tmp12bmim3y/tests/metrics/tests_sanity_basic.yml:3 ----------------------- fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure extra performance rule group directories exist --- 1.01s /tmp/tmpf6ak90cv/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.70s /tmp/tmpf6ak90cv/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.67s /tmp/tmpf6ak90cv/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 collector is configured --- 0.58s /tmp/tmpf6ak90cv/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 is running and enabled on boot --- 0.58s /tmp/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:107 fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure any implicit metric labels are configured --- 0.57s /tmp/tmpf6ak90cv/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 logging is configured --- 0.56s /tmp/tmpf6ak90cv/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 authentication is configured --- 0.55s /tmp/tmpf6ak90cv/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.55s /tmp/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmlogger.yml:20 fedora.linux_system_roles.private_metrics_subrole_pcp : Install authentication packages --- 0.51s /tmp/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/main.yml:20 fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric collector system accounts are configured --- 0.49s /tmp/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:60 fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure explicit metric label path exists --- 0.49s /tmp/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:23 fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure metric log location is configured --- 0.47s /tmp/tmpf6ak90cv/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 inference is running and enabled on boot --- 0.43s /tmp/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:68