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_retention.yml ******************************************* 1 plays in /tmp/tmp_9e4oom8/tests/tests_sanity_retention.yml PLAY [Test configuration of retention period] ********************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp_9e4oom8/tests/tests_sanity_retention.yml:3 Thursday 07 July 2022 18:00:26 +0000 (0:00:00.014) 0:00:00.014 ********* [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 18:00:27 +0000 (0:00:01.015) 0:00:01.030 ********* 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 18:00:28 +0000 (0:00:01.366) 0:00:02.396 ********* 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 18:00:28 +0000 (0:00:00.035) 0:00:02.432 ********* 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 18:00:28 +0000 (0:00:00.034) 0:00:02.466 ********* 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 18:00:28 +0000 (0:00:00.034) 0:00:02.500 ********* 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 18:00:28 +0000 (0:00:00.034) 0:00:02.535 ********* 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 18:00:28 +0000 (0:00:00.049) 0:00:02.584 ********* 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 18:00:28 +0000 (0:00:00.034) 0:00:02.619 ********* 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 18:00:28 +0000 (0:00:00.034) 0:00:02.653 ********* 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 18:00:28 +0000 (0:00:00.032) 0:00:02.685 ********* 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 18:00:28 +0000 (0:00:00.031) 0:00:02.717 ********* 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 18:00:28 +0000 (0:00:00.032) 0:00:02.749 ********* 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 18:00:28 +0000 (0:00:00.046) 0:00:02.796 ********* 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 18:00:28 +0000 (0:00:00.073) 0:00:02.869 ********* 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 18:00:29 +0000 (0:00:00.674) 0:00:03.543 ********* 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 18:00:30 +0000 (0:00:00.473) 0:00:04.017 ********* 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 18:00:30 +0000 (0:00:00.036) 0:00:04.054 ********* 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 18:00:30 +0000 (0:00:00.030) 0:00:04.085 ********* ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/pcp/pmcd/pmcd.conf" ], "delta": "0:00:00.004781", "end": "2022-07-07 18:00:29.775430", "rc": 0, "start": "2022-07-07 18:00:29.770649" } 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 18:00:30 +0000 (0:00:00.402) 0:00:04.487 ********* 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 18:00:30 +0000 (0:00:00.041) 0:00:04.529 ********* 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 18:00:31 +0000 (0:00:00.482) 0:00:05.012 ********* 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 18:00:31 +0000 (0:00:00.381) 0:00:05.394 ********* 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 18:00:32 +0000 (0:00:00.680) 0:00:06.075 ********* 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 18:00:32 +0000 (0:00:00.613) 0:00:06.688 ********* 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 18:00:33 +0000 (0:00:00.560) 0:00:07.249 ********* 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 18:00:33 +0000 (0:00:00.498) 0:00:07.747 ********* 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.007905", "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:00:33.335759", "item": { "saslpassword": "metrics", "sasluser": "metrics", "user": "metrics" }, "rc": 0, "start": "2022-07-07 18:00:33.327854" } 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 18:00:34 +0000 (0:00:00.304) 0:00:08.052 ********* 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 18:00:34 +0000 (0:00:00.546) 0:00:08.599 ********* 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 18:00:34 +0000 (0:00:00.038) 0:00:08.637 ********* 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 18:00:34 +0000 (0:00:00.050) 0:00:08.688 ********* 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:35 +0000 (0:00:00.575) 0:00:09.264 ********* 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:35 +0000 (0:00:00.035) 0:00:09.299 ********* 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:35 +0000 (0:00:00.040) 0:00:09.340 ********* 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:36 +0000 (0:00:01.032) 0:00:10.372 ********* 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:37 +0000 (0:00:01.052) 0:00:11.425 ********* 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:40 +0000 (0:00:02.579) 0:00:14.004 ********* 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:41 +0000 (0:00:01.664) 0:00:15.668 ********* 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:41 +0000 (0:00:00.034) 0:00:15.702 ********* 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:41 +0000 (0:00:00.089) 0:00:15.792 ********* 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:41 +0000 (0:00:00.038) 0:00:15.830 ********* 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:42 +0000 (0:00:00.413) 0:00:16.244 ********* 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:42 +0000 (0:00:00.036) 0:00:16.280 ********* 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:42 +0000 (0:00:00.042) 0:00:16.323 ********* 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:42 +0000 (0:00:00.442) 0:00:16.766 ********* 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:43 +0000 (0:00:00.545) 0:00:17.312 ********* NOTIFIED HANDLER /tmp/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/roles/pcp : restart pmlogger for /cache/centos-6.qcow2c.snap changed: [/cache/centos-6.qcow2c.snap] => { "changed": true, "checksum": "a745865951048b89c2dcad5c69c7efded5cc01e9", "dest": "/etc/sysconfig/pmlogger_timers", "gid": 0, "group": "root", "md5sum": "c16c3187dfef77be074262936f673a79", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 956, "src": "/root/.ansible/tmp/ansible-tmp-1657216843.395277-74466-135740088164645/source", "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:44 +0000 (0:00:00.722) 0:00:18.034 ********* 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:44 +0000 (0:00:00.033) 0:00:18.068 ********* 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:44 +0000 (0:00:00.033) 0:00:18.101 ********* ok: [/cache/centos-6.qcow2c.snap] => { "ansible_facts": { "__pcp_restart_pmlogger": true }, "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:44 +0000 (0:00:00.034) 0:00:18.136 ********* 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 : 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:44 +0000 (0:00:00.038) 0:00:18.174 ********* changed: [/cache/centos-6.qcow2c.snap] => { "changed": true, "enabled": true, "name": "pmlogger", "state": "started" } 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:45 +0000 (0:00:01.527) 0:00:19.702 ********* 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:45 +0000 (0:00:00.046) 0:00:19.749 ********* 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 basic services and the retention] ********************************** task path: /tmp/tmp_9e4oom8/tests/tests_sanity_retention.yml:18 Thursday 07 July 2022 18:00:45 +0000 (0:00:00.044) 0:00:19.794 ********* 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) included: /tmp/tmp_9e4oom8/tests/check_retention.yml for /cache/centos-6.qcow2c.snap => (item=check_retention.yml) TASK [Check if PCP works] ****************************************************** task path: /tmp/tmp_9e4oom8/tests/check_pcp.yml:3 Thursday 07 July 2022 18:00:45 +0000 (0:00:00.039) 0:00:19.833 ********* changed: [/cache/centos-6.qcow2c.snap] => { "changed": true, "cmd": [ "pcp" ], "delta": "0:00:00.097196", "end": "2022-07-07 18:00:45.497728", "rc": 0, "start": "2022-07-07 18:00:45.400532" } 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, 1 client pmda: root pmcd proc xfs linux mmv jbd2 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:46 +0000 (0:00:00.380) 0:00:20.214 ********* 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:46 +0000 (0:00:00.036) 0:00:20.250 ********* [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:46 +0000 (0:00:00.039) 0:00:20.290 ********* changed: [/cache/centos-6.qcow2c.snap] => { "changed": true, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/pmlogger" ], "delta": "0:00:00.003970", "end": "2022-07-07 18:00:45.868112", "rc": 0, "start": "2022-07-07 18:00:45.864142" } 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:46 +0000 (0:00:00.286) 0:00:20.576 ********* changed: [/cache/centos-6.qcow2c.snap] => { "changed": true, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/pmlogger_timers" ], "delta": "0:00:00.003886", "end": "2022-07-07 18:00:46.149448", "rc": 0, "start": "2022-07-07 18:00:46.145562" } 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:46 +0000 (0:00:00.283) 0:00:20.860 ********* skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if retention period is set] **************************************** task path: /tmp/tmp_9e4oom8/tests/check_retention.yml:4 Thursday 07 July 2022 18:00:46 +0000 (0:00:00.034) 0:00:20.894 ********* changed: [/cache/centos-6.qcow2c.snap] => { "changed": true, "cmd": [ "grep", "-e", "--discard 137", "/etc/sysconfig/pmlogger_timers" ], "delta": "0:00:00.003517", "end": "2022-07-07 18:00:46.465867", "rc": 0, "start": "2022-07-07 18:00:46.462350" } STDOUT: PMLOGGER_DAILY_PARAMS="--discard 137" RUNNING HANDLER [/tmp/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/roles/pcp : restart pmlogger] *** task path: /tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/handlers/main.yml:19 Thursday 07 July 2022 18:00:47 +0000 (0:00:00.283) 0:00:21.177 ********* changed: [/cache/centos-6.qcow2c.snap] => { "changed": true, "name": "pmlogger", "state": "started" } 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:48 +0000 (0:00:01.513) 0:00:22.691 ********* 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:50 +0000 (0:00:01.272) 0:00:23.963 ********* 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=44 changed=7 unreachable=0 failed=0 skipped=23 rescued=0 ignored=0 Thursday 07 July 2022 18:00:50 +0000 (0:00:00.040) 0:00:24.003 ********* =============================================================================== /tmp/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra performance rules are installed for targeted hosts --- 2.58s /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.66s /tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:34 /tmp/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric logging is restarted and enabled on boot --- 1.53s /tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:67 /tmp/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/roles/pcp : restart pmlogger --- 1.51s /tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/handlers/main.yml:19 Get initial state of services ------------------------------------------- 1.37s /tmp/tmp_9e4oom8/tests/get_services_state.yml:3 ------------------------------- Get final state of services --------------------------------------------- 1.27s /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.05s /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.03s /tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:4 Gathering Facts --------------------------------------------------------- 1.02s /tmp/tmp_9e4oom8/tests/tests_sanity_retention.yml:3 --------------------------- /tmp/tmp_9e4oom8/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric logging retention period is set --- 0.72s /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 any explicit metric labels are configured --- 0.68s /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 : Install Performance Co-Pilot packages --- 0.67s /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 implicit metric labels are configured --- 0.61s /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.58s /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.56s /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 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 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 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 : Install authentication packages --- 0.47s /tmp/tmp_9e4oom8/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:20 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_retention.yml ******************************************* 1 plays in /tmp/tmp12bmim3y/tests/metrics/tests_sanity_retention.yml PLAY [Test configuration of retention period] ********************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp12bmim3y/tests/metrics/tests_sanity_retention.yml:3 Thursday 07 July 2022 18:02:17 +0000 (0:00:00.014) 0:00:00.014 ********* [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:02:18 +0000 (0:00:01.003) 0:00:01.018 ********* 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:02:20 +0000 (0:00:01.408) 0:00:02.426 ********* 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:02:20 +0000 (0:00:00.033) 0:00:02.460 ********* 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:02:20 +0000 (0:00:00.031) 0:00:02.492 ********* 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:02:20 +0000 (0:00:00.030) 0:00:02.522 ********* 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:02:20 +0000 (0:00:00.031) 0:00:02.554 ********* 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:02:20 +0000 (0:00:00.052) 0:00:02.606 ********* 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:02:20 +0000 (0:00:00.037) 0:00:02.644 ********* 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:02:20 +0000 (0:00:00.034) 0:00:02.679 ********* 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:02:20 +0000 (0:00:00.035) 0:00:02.714 ********* 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:02:20 +0000 (0:00:00.035) 0:00:02.749 ********* 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:02:20 +0000 (0:00:00.036) 0:00:02.786 ********* 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:02:20 +0000 (0:00:00.046) 0:00:02.833 ********* 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:02:20 +0000 (0:00:00.076) 0:00:02.909 ********* 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:02:21 +0000 (0:00:00.669) 0:00:03.579 ********* 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:02:21 +0000 (0:00:00.493) 0:00:04.072 ********* 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:02:21 +0000 (0:00:00.043) 0:00:04.116 ********* 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:02:22 +0000 (0:00:00.039) 0:00:04.156 ********* ok: [/cache/centos-6.qcow2c.snap] => { "changed": false, "cmd": [ "cat", "/etc/pcp/pmcd/pmcd.conf" ], "delta": "0:00:00.003712", "end": "2022-07-07 18:02:21.417460", "rc": 0, "start": "2022-07-07 18:02:21.413748" } 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:02:22 +0000 (0:00:00.440) 0:00:04.596 ********* 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:02:22 +0000 (0:00:00.035) 0:00:04.631 ********* 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:02:22 +0000 (0:00:00.480) 0:00:05.112 ********* 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:02:23 +0000 (0:00:00.346) 0:00:05.459 ********* 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:02:23 +0000 (0:00:00.661) 0:00:06.120 ********* 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:02:24 +0000 (0:00:00.581) 0:00:06.702 ********* 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:02:25 +0000 (0:00:00.548) 0:00:07.251 ********* 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:02:25 +0000 (0:00:00.505) 0:00:07.757 ********* 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.007150", "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:02:24.888814", "item": { "saslpassword": "metrics", "sasluser": "metrics", "user": "metrics" }, "rc": 0, "start": "2022-07-07 18:02:24.881664" } 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:02:25 +0000 (0:00:00.309) 0:00:08.066 ********* 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:02:26 +0000 (0:00:00.558) 0:00:08.625 ********* 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:02:26 +0000 (0:00:00.039) 0:00:08.665 ********* 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:02:26 +0000 (0:00:00.050) 0:00:08.716 ********* 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:02:27 +0000 (0:00:00.567) 0:00:09.283 ********* 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:02:27 +0000 (0:00:00.036) 0:00:09.319 ********* 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:02:27 +0000 (0:00:00.042) 0:00:09.362 ********* 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:02:28 +0000 (0:00:01.014) 0:00:10.376 ********* 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:02:29 +0000 (0:00:01.007) 0:00:11.384 ********* 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:02:31 +0000 (0:00:02.570) 0:00:13.955 ********* 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:02:33 +0000 (0:00:01.694) 0:00:15.649 ********* 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:02:33 +0000 (0:00:00.035) 0:00:15.684 ********* 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:02:33 +0000 (0:00:00.037) 0:00:15.722 ********* 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:02:33 +0000 (0:00:00.068) 0:00:15.790 ********* 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:02:34 +0000 (0:00:00.389) 0:00:16.180 ********* 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:02:34 +0000 (0:00:00.037) 0:00:16.217 ********* 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:02:34 +0000 (0:00:00.045) 0:00:16.262 ********* 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:02:34 +0000 (0:00:00.431) 0:00:16.694 ********* 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:35 +0000 (0:00:00.569) 0:00:17.263 ********* NOTIFIED HANDLER fedora.linux_system_roles.private_metrics_subrole_pcp : restart pmlogger for /cache/centos-6.qcow2c.snap changed: [/cache/centos-6.qcow2c.snap] => { "changed": true, "checksum": "a745865951048b89c2dcad5c69c7efded5cc01e9", "dest": "/etc/sysconfig/pmlogger_timers", "gid": 0, "group": "root", "md5sum": "c16c3187dfef77be074262936f673a79", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 956, "src": "/root/.ansible/tmp/ansible-tmp-1657216955.181243-77107-54639617071982/source", "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:35 +0000 (0:00:00.722) 0:00:17.986 ********* 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:35 +0000 (0:00:00.036) 0:00:18.022 ********* 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:35 +0000 (0:00:00.035) 0:00:18.058 ********* ok: [/cache/centos-6.qcow2c.snap] => { "ansible_facts": { "__pcp_restart_pmlogger": true }, "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:35 +0000 (0:00:00.037) 0:00:18.096 ********* skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } 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:36 +0000 (0:00:00.036) 0:00:18.132 ********* changed: [/cache/centos-6.qcow2c.snap] => { "changed": true, "enabled": true, "name": "pmlogger", "state": "started" } 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:37 +0000 (0:00:01.549) 0:00:19.681 ********* 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:37 +0000 (0:00:00.049) 0:00:19.731 ********* 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 basic services and the retention] ********************************** task path: /tmp/tmp12bmim3y/tests/metrics/tests_sanity_retention.yml:18 Thursday 07 July 2022 18:02:37 +0000 (0:00:00.045) 0:00:19.776 ********* 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) included: /tmp/tmp12bmim3y/tests/metrics/check_retention.yml for /cache/centos-6.qcow2c.snap => (item=check_retention.yml) TASK [Check if PCP works] ****************************************************** task path: /tmp/tmp12bmim3y/tests/metrics/check_pcp.yml:3 Thursday 07 July 2022 18:02:37 +0000 (0:00:00.042) 0:00:19.819 ********* changed: [/cache/centos-6.qcow2c.snap] => { "changed": true, "cmd": [ "pcp" ], "delta": "0:00:00.081415", "end": "2022-07-07 18:02:37.010503", "rc": 0, "start": "2022-07-07 18:02:36.929088" } 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, 1 client pmda: root pmcd proc xfs linux mmv jbd2 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:38 +0000 (0:00:00.365) 0:00:20.184 ********* 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:38 +0000 (0:00:00.037) 0:00:20.222 ********* [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:38 +0000 (0:00:00.040) 0:00:20.263 ********* changed: [/cache/centos-6.qcow2c.snap] => { "changed": true, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/pmlogger" ], "delta": "0:00:00.003778", "end": "2022-07-07 18:02:37.375148", "rc": 0, "start": "2022-07-07 18:02:37.371370" } 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:38 +0000 (0:00:00.284) 0:00:20.547 ********* changed: [/cache/centos-6.qcow2c.snap] => { "changed": true, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/pmlogger_timers" ], "delta": "0:00:00.004829", "end": "2022-07-07 18:02:37.659690", "rc": 0, "start": "2022-07-07 18:02:37.654861" } 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:38 +0000 (0:00:00.284) 0:00:20.832 ********* skipping: [/cache/centos-6.qcow2c.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if retention period is set] **************************************** task path: /tmp/tmp12bmim3y/tests/metrics/check_retention.yml:4 Thursday 07 July 2022 18:02:38 +0000 (0:00:00.036) 0:00:20.869 ********* changed: [/cache/centos-6.qcow2c.snap] => { "changed": true, "cmd": [ "grep", "-e", "--discard 137", "/etc/sysconfig/pmlogger_timers" ], "delta": "0:00:00.004042", "end": "2022-07-07 18:02:37.984724", "rc": 0, "start": "2022-07-07 18:02:37.980682" } STDOUT: PMLOGGER_DAILY_PARAMS="--discard 137" RUNNING HANDLER [fedora.linux_system_roles.private_metrics_subrole_pcp : restart pmlogger] *** task path: /tmp/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/handlers/main.yml:19 Thursday 07 July 2022 18:02:39 +0000 (0:00:00.287) 0:00:21.156 ********* changed: [/cache/centos-6.qcow2c.snap] => { "changed": true, "name": "pmlogger", "state": "started" } 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:40 +0000 (0:00:01.505) 0:00:22.662 ********* 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:41 +0000 (0:00:01.299) 0:00:23.962 ********* 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=44 changed=7 unreachable=0 failed=0 skipped=23 rescued=0 ignored=0 Thursday 07 July 2022 18:02:41 +0000 (0:00:00.038) 0:00:24.001 ********* =============================================================================== fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure extra performance rules are installed for targeted hosts --- 2.57s /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.69s /tmp/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:34 fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric logging is restarted and enabled on boot --- 1.55s /tmp/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmlogger.yml:61 fedora.linux_system_roles.private_metrics_subrole_pcp : restart pmlogger --- 1.51s /tmp/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/handlers/main.yml:19 Get initial state of services ------------------------------------------- 1.41s /tmp/tmp12bmim3y/tests/metrics/get_services_state.yml:3 ----------------------- Get final state of services --------------------------------------------- 1.30s /tmp/tmp12bmim3y/tests/metrics/restore_services_state.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 : Ensure extra performance rule group link directories exist --- 1.01s /tmp/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmie.yml:14 Gathering Facts --------------------------------------------------------- 1.00s /tmp/tmp12bmim3y/tests/metrics/tests_sanity_retention.yml:3 ------------------- fedora.linux_system_roles.private_metrics_subrole_pcp : Ensure performance metric logging retention period is set --- 0.72s /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 Performance Co-Pilot packages --- 0.67s /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.66s /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 any implicit metric labels are configured --- 0.58s /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.57s /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 is running and enabled on boot --- 0.57s /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 performance metric collector authentication is configured --- 0.56s /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 collector is configured --- 0.55s /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 system accounts are configured --- 0.51s /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 : Install authentication packages --- 0.49s /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 explicit metric label path exists --- 0.48s /tmp/tmpf6ak90cv/ansible_collections/fedora/linux_system_roles/roles/private_metrics_subrole_pcp/tasks/pmcd.yml:23