# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_default.yml **************************************************** 2 plays in /WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/tests_default.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Include vault variables] ************************************************* task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/tests_default.yml:4 Monday 04 December 2023 18:55:07 +0000 (0:00:00.019) 0:00:00.019 ******* ok: [sut] => { "ansible_facts": { "pcptest_pw": { "__ansible_vault": "$ANSIBLE_VAULT;1.1;AES256\n65343431623161346664373330646165636437656265656632613961363839303132393064663934\n3137396633373562393466633037356533326566343338350a386238333034336162333932313162\n62643937336534356131376134303463306466316433366636643562633637376336653034646334\n3063663466333735390a333330366461386166633233373133326237323663333831653232646566\n3363\n" } }, "ansible_included_var_files": [ "/WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/vars/vault-variables.yml" ], "changed": false } META: ran handlers META: ran handlers PLAY [Test the role with default params] *************************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/tests_default.yml:9 Monday 04 December 2023 18:55:07 +0000 (0:00:00.017) 0:00:00.037 ******* ok: [sut] META: ran handlers TASK [linux-system-roles.metrics : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/tasks/main.yml:3 Monday 04 December 2023 18:55:08 +0000 (0:00:01.072) 0:00:01.109 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.metrics : Check if system is ostree] ****************** task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/tasks/main.yml:15 Monday 04 December 2023 18:55:08 +0000 (0:00:00.026) 0:00:01.136 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.metrics : Set package manager to use for ostree] ****** task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/tasks/main.yml:20 Monday 04 December 2023 18:55:09 +0000 (0:00:00.240) 0:00:01.376 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.metrics : Add Elasticsearch to metrics domain list] *** task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/tasks/main.yml:27 Monday 04 December 2023 18:55:09 +0000 (0:00:00.030) 0:00:01.407 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.metrics : Add SQL Server to metrics domain list] ****** task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/tasks/main.yml:32 Monday 04 December 2023 18:55:09 +0000 (0:00:00.024) 0:00:01.431 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.metrics : Add Postfix to metrics domain list] ********* task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/tasks/main.yml:37 Monday 04 December 2023 18:55:09 +0000 (0:00:00.026) 0:00:01.458 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.metrics : Add bpftrace to metrics domain list] ******** task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/tasks/main.yml:42 Monday 04 December 2023 18:55:09 +0000 (0:00:00.023) 0:00:01.482 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.metrics : Setup metrics access for roles] ************* task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/tasks/main.yml:47 Monday 04 December 2023 18:55:09 +0000 (0:00:00.025) 0:00:01.507 ******* ok: [sut] => { "ansible_facts": { "__metrics_accounts": [ { "saslpassword": "metrics", "sasluser": "metrics", "user": "metrics" } ] }, "changed": false } TASK [Configure Elasticsearch metrics] ***************************************** task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/tasks/main.yml:55 Monday 04 December 2023 18:55:09 +0000 (0:00:00.026) 0:00:01.534 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Configure SQL Server metrics.] ******************************************* task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/tasks/main.yml:70 Monday 04 December 2023 18:55:09 +0000 (0:00:00.025) 0:00:01.559 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Configure Postfix metrics.] ********************************************** task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/tasks/main.yml:78 Monday 04 December 2023 18:55:09 +0000 (0:00:00.030) 0:00:01.589 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup bpftrace metrics.] ************************************************* task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/tasks/main.yml:86 Monday 04 December 2023 18:55:09 +0000 (0:00:00.025) 0:00:01.615 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup metric querying service.] ****************************************** task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/tasks/main.yml:95 Monday 04 December 2023 18:55:09 +0000 (0:00:00.023) 0:00:01.638 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup metric collection service.] **************************************** task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/tasks/main.yml:103 Monday 04 December 2023 18:55:09 +0000 (0:00:00.027) 0:00:01.666 ******* TASK [/WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/roles/pcp : Set platform/version specific variables] *** task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:4 Monday 04 December 2023 18:55:09 +0000 (0:00:00.062) 0:00:01.728 ******* ok: [sut] => (item=/WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/default.yml) => { "ansible_facts": {}, "ansible_included_var_files": [ "/WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/default.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/default.yml" } ok: [sut] => (item=/WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/RedHat.yml) => { "ansible_facts": { "__pcp_pmcd_defaults_path": "/etc/sysconfig/pmcd", "__pcp_pmlogger_defaults_path": "/etc/sysconfig/pmlogger", "__pcp_pmlogger_timers_path": "/etc/sysconfig/pmlogger_timers", "__pcp_pmproxy_defaults_path": "/etc/sysconfig/pmproxy" }, "ansible_included_var_files": [ "/WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/RedHat.yml" } ok: [sut] => (item=/WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/RedHat.yml) => { "ansible_facts": { "__pcp_pmcd_defaults_path": "/etc/sysconfig/pmcd", "__pcp_pmlogger_defaults_path": "/etc/sysconfig/pmlogger", "__pcp_pmlogger_timers_path": "/etc/sysconfig/pmlogger_timers", "__pcp_pmproxy_defaults_path": "/etc/sysconfig/pmproxy" }, "ansible_included_var_files": [ "/WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/RedHat.yml" } ok: [sut] => (item=/WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/RedHat_6.yml) => { "ansible_facts": { "__pcp_packages_extra": [ "pcp-pmda-dm", "pcp-pmda-nfsclient", "pcp-system-tools" ], "__pcp_sasl_mechlist": "digest-md5", "__pcp_sasl_packages": [ "cyrus-sasl-lib", "cyrus-sasl-md5" ] }, "ansible_included_var_files": [ "/WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/RedHat_6.yml" ], "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/RedHat_6.yml" } skipping: [sut] => (item=/WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/RedHat_6.10.yml) => { "ansible_loop_var": "item", "changed": false, "item": "/WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/vars/RedHat_6.10.yml", "skip_reason": "Conditional result was False" } TASK [/WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/roles/pcp : Install Performance Co-Pilot packages] *** task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:15 Monday 04 December 2023 18:55:09 +0000 (0:00:00.056) 0:00:01.784 ******* changed: [sut] => { "changed": true, "changes": { "installed": [ "pcp", "pcp-pmda-dm", "pcp-pmda-nfsclient", "pcp-system-tools" ] }, "rc": 0, "results": [ "Loaded plugins: product-id, search-disabled-repos, security, subscription-\n : manager\nThis system is not registered with an entitlement server. You can use subscription-manager to register.\nSetting up Install Process\nResolving Dependencies\n--> Running transaction check\n---> Package pcp.x86_64 0:3.10.9-9.el6 will be installed\n--> Processing Dependency: pcp-libs = 3.10.9-9.el6 for package: pcp-3.10.9-9.el6.x86_64\n--> Processing Dependency: python-pcp = 3.10.9-9.el6 for package: pcp-3.10.9-9.el6.x86_64\n--> Processing Dependency: libpcp.so.3(PCP_3.0)(64bit) for package: pcp-3.10.9-9.el6.x86_64\n--> Processing Dependency: libpcp.so.3(PCP_3.10)(64bit) for package: pcp-3.10.9-9.el6.x86_64\n--> Processing Dependency: libpcp.so.3(PCP_3.11)(64bit) for package: pcp-3.10.9-9.el6.x86_64\n--> Processing Dependency: libpcp.so.3(PCP_3.12)(64bit) for package: pcp-3.10.9-9.el6.x86_64\n--> Processing Dependency: libpcp.so.3(PCP_3.13)(64bit) for package: pcp-3.10.9-9.el6.x86_64\n--> Processing Dependency: libpcp.so.3(PCP_3.2)(64bit) for package: pcp-3.10.9-9.el6.x86_64\n--> Processing Dependency: libpcp.so.3(PCP_3.3)(64bit) for package: pcp-3.10.9-9.el6.x86_64\n--> Processing Dependency: libpcp.so.3(PCP_3.4)(64bit) for package: pcp-3.10.9-9.el6.x86_64\n--> Processing Dependency: libpcp.so.3(PCP_3.5)(64bit) for package: pcp-3.10.9-9.el6.x86_64\n--> Processing Dependency: libpcp.so.3(PCP_3.6)(64bit) for package: pcp-3.10.9-9.el6.x86_64\n--> Processing Dependency: libpcp.so.3(PCP_3.7)(64bit) for package: pcp-3.10.9-9.el6.x86_64\n--> Processing Dependency: libpcp.so.3(PCP_3.8)(64bit) for package: pcp-3.10.9-9.el6.x86_64\n--> Processing Dependency: libpcp.so.3(PCP_3.9)(64bit) for package: pcp-3.10.9-9.el6.x86_64\n--> Processing Dependency: libpcp_gui.so.2(PCP_GUI_2.0)(64bit) for package: pcp-3.10.9-9.el6.x86_64\n--> Processing Dependency: libpcp_pmda.so.3(PCP_PMDA_3.0)(64bit) for package: pcp-3.10.9-9.el6.x86_64\n--> Processing Dependency: libpcp_pmda.so.3(PCP_PMDA_3.1)(64bit) for package: pcp-3.10.9-9.el6.x86_64\n--> Processing Dependency: libpcp_pmda.so.3(PCP_PMDA_3.4)(64bit) for package: pcp-3.10.9-9.el6.x86_64\n--> Processing Dependency: libpcp_pmda.so.3(PCP_PMDA_3.5)(64bit) for package: pcp-3.10.9-9.el6.x86_64\n--> Processing Dependency: libpcp_pmda.so.3(PCP_PMDA_3.6)(64bit) for package: pcp-3.10.9-9.el6.x86_64\n--> Processing Dependency: libpcp_trace.so.2(PCP_TRACE_2.0)(64bit) for package: pcp-3.10.9-9.el6.x86_64\n--> Processing Dependency: libpcp.so.3()(64bit) for package: pcp-3.10.9-9.el6.x86_64\n--> Processing Dependency: libpcp_gui.so.2()(64bit) for package: pcp-3.10.9-9.el6.x86_64\n--> Processing Dependency: libpcp_mmv.so.1()(64bit) for package: pcp-3.10.9-9.el6.x86_64\n--> Processing Dependency: libpcp_pmda.so.3()(64bit) for package: pcp-3.10.9-9.el6.x86_64\n--> Processing Dependency: libpcp_trace.so.2()(64bit) for package: pcp-3.10.9-9.el6.x86_64\n---> Package pcp-pmda-dm.x86_64 0:3.10.9-9.el6 will be installed\n---> Package pcp-pmda-nfsclient.x86_64 0:3.10.9-9.el6 will be installed\n--> Processing Dependency: perl-PCP-PMDA = 3.10.9-9.el6 for package: pcp-pmda-nfsclient-3.10.9-9.el6.x86_64\n---> Package pcp-system-tools.x86_64 0:3.10.9-9.el6 will be installed\n--> Running transaction check\n---> Package pcp-libs.x86_64 0:3.10.9-9.el6 will be installed\n--> Processing Dependency: pcp-conf = 3.10.9-9.el6 for package: pcp-libs-3.10.9-9.el6.x86_64\n---> Package perl-PCP-PMDA.x86_64 0:3.10.9-9.el6 will be installed\n---> Package python-pcp.x86_64 0:3.10.9-9.el6 will be installed\n--> Running transaction check\n---> Package pcp-conf.x86_64 0:3.10.9-9.el6 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n pcp x86_64 3.10.9-9.el6 rhel 828 k\n pcp-pmda-dm x86_64 3.10.9-9.el6 rhel-opt 23 k\n pcp-pmda-nfsclient x86_64 3.10.9-9.el6 rhel-opt 22 k\n pcp-system-tools x86_64 3.10.9-9.el6 rhel-opt 119 k\nInstalling for dependencies:\n pcp-conf x86_64 3.10.9-9.el6 rhel 26 k\n pcp-libs x86_64 3.10.9-9.el6 rhel 271 k\n perl-PCP-PMDA x86_64 3.10.9-9.el6 rhel 54 k\n python-pcp x86_64 3.10.9-9.el6 rhel 99 k\n\nTransaction Summary\n================================================================================\nInstall 8 Package(s)\n\nTotal download size: 1.4 M\nInstalled size: 4.5 M\nDownloading Packages:\n--------------------------------------------------------------------------------\nTotal 2.2 MB/s | 1.4 MB 00:00 \nRunning rpm_check_debug\nRunning Transaction Test\nTransaction Test Succeeded\nRunning Transaction\n\r Installing : pcp-conf-3.10.9-9.el6.x86_64 1/8 \n\r Installing : pcp-libs-3.10.9-9.el6.x86_64 2/8 \n\r Installing : pcp-3.10.9-9.el6.x86_64 3/8 \n\r Installing : python-pcp-3.10.9-9.el6.x86_64 4/8 \n\r Installing : perl-PCP-PMDA-3.10.9-9.el6.x86_64 5/8 \n\r Installing : pcp-pmda-nfsclient-3.10.9-9.el6.x86_64 6/8 \n\r Installing : pcp-system-tools-3.10.9-9.el6.x86_64 7/8 \n\r Installing : pcp-pmda-dm-3.10.9-9.el6.x86_64 8/8 \n\r Verifying : pcp-conf-3.10.9-9.el6.x86_64 1/8 \n\r Verifying : pcp-libs-3.10.9-9.el6.x86_64 2/8 \n\r Verifying : pcp-system-tools-3.10.9-9.el6.x86_64 3/8 \n\r Verifying : pcp-pmda-dm-3.10.9-9.el6.x86_64 4/8 \n\r Verifying : pcp-3.10.9-9.el6.x86_64 5/8 \n\r Verifying : pcp-pmda-nfsclient-3.10.9-9.el6.x86_64 6/8 \n\r Verifying : perl-PCP-PMDA-3.10.9-9.el6.x86_64 7/8 \n\r Verifying : python-pcp-3.10.9-9.el6.x86_64 8/8 \n\nInstalled:\n pcp.x86_64 0:3.10.9-9.el6 \n pcp-pmda-dm.x86_64 0:3.10.9-9.el6 \n pcp-pmda-nfsclient.x86_64 0:3.10.9-9.el6 \n pcp-system-tools.x86_64 0:3.10.9-9.el6 \n\nDependency Installed:\n pcp-conf.x86_64 0:3.10.9-9.el6 pcp-libs.x86_64 0:3.10.9-9.el6 \n perl-PCP-PMDA.x86_64 0:3.10.9-9.el6 python-pcp.x86_64 0:3.10.9-9.el6 \n\nComplete!\n" ] } MSG: Repository rhel-source is listed more than once in the configuration TASK [/WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/roles/pcp : Install authentication packages] *** task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:20 Monday 04 December 2023 18:55:28 +0000 (0:00:18.771) 0:00:20.556 ******* changed: [sut] => { "changed": true, "changes": { "installed": [ "cyrus-sasl-md5" ] }, "rc": 0, "results": [ "cyrus-sasl-lib-2.1.23-15.el6_6.2.x86_64 providing cyrus-sasl-lib is already installed", "Loaded plugins: product-id, search-disabled-repos, security, subscription-\n : manager\nThis system is not registered with an entitlement server. You can use subscription-manager to register.\nSetting up Install Process\nResolving Dependencies\n--> Running transaction check\n---> Package cyrus-sasl-md5.x86_64 0:2.1.23-15.el6_6.2 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n cyrus-sasl-md5 x86_64 2.1.23-15.el6_6.2 rhel 47 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package(s)\n\nTotal download size: 47 k\nInstalled size: 73 k\nDownloading Packages:\nRunning rpm_check_debug\nRunning Transaction Test\nTransaction Test Succeeded\nRunning Transaction\n\r Installing : cyrus-sasl-md5-2.1.23-15.el6_6.2.x86_64 1/1 \n\r Verifying : cyrus-sasl-md5-2.1.23-15.el6_6.2.x86_64 1/1 \n\nInstalled:\n cyrus-sasl-md5.x86_64 0:2.1.23-15.el6_6.2 \n\nComplete!\n" ] } MSG: Repository rhel-source is listed more than once in the configuration TASK [/WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/roles/pcp : Include pmcd] *** task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:28 Monday 04 December 2023 18:55:32 +0000 (0:00:04.009) 0:00:24.566 ******* included: /WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml for sut TASK [/WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/roles/pcp : List optional metric collection agents to be enabled] *** task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:4 Monday 04 December 2023 18:55:32 +0000 (0:00:00.025) 0:00:24.591 ******* TASK [/WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/roles/pcp : Extract metric collection configuration file content] *** task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:9 Monday 04 December 2023 18:55:32 +0000 (0:00:00.013) 0:00:24.604 ******* ok: [sut] => { "changed": false, "cmd": [ "cat", "/etc/pcp/pmcd/pmcd.conf" ], "delta": "0:00:00.002898", "end": "2023-12-04 18:55:32.586718", "rc": 0, "start": "2023-12-04 18:55:32.583820" } 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 [/WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure optional metric collection agents are enabled] *** task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:14 Monday 04 December 2023 18:55:32 +0000 (0:00:00.206) 0:00:24.811 ******* TASK [/WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure explicit metric label path exists] *** task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:23 Monday 04 December 2023 18:55:32 +0000 (0:00:00.013) 0:00:24.825 ******* changed: [sut] => { "changed": true, "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 [/WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure implicit metric label path exists] *** task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:31 Monday 04 December 2023 18:55:32 +0000 (0:00:00.324) 0:00:25.150 ******* changed: [sut] => { "changed": true, "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 [/WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure any explicit metric labels are configured] *** task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:39 Monday 04 December 2023 18:55:33 +0000 (0:00:00.217) 0:00:25.368 ******* changed: [sut] => { "changed": true, "checksum": "5f36b2ea290645ee34d943220a14b54ee5ea5be5", "dest": "/etc/pcp/labels/ansible-managed", "gid": 0, "group": "root", "md5sum": "8a80554c91d9fca8acb82f023de02f11", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 3, "src": "/root/.ansible/tmp/ansible-tmp-1701716133.1898386-2404-174254356281992/source", "state": "file", "uid": 0 } TASK [/WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure any implicit metric labels are configured] *** task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:46 Monday 04 December 2023 18:55:33 +0000 (0:00:00.527) 0:00:25.895 ******* changed: [sut] => { "changed": true, "checksum": "5f36b2ea290645ee34d943220a14b54ee5ea5be5", "dest": "/etc/pcp/labels/optional/ansible-managed", "gid": 0, "group": "root", "md5sum": "8a80554c91d9fca8acb82f023de02f11", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 3, "src": "/root/.ansible/tmp/ansible-tmp-1701716133.7167842-2415-50525276378737/source", "state": "file", "uid": 0 } TASK [/WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector is configured] *** task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:53 Monday 04 December 2023 18:55:34 +0000 (0:00:00.452) 0:00:26.348 ******* changed: [sut] => { "changed": true, "checksum": "7518789c091387cd9c322e1a8fa8aad21d4efbd3", "dest": "/etc/sysconfig/pmcd", "gid": 0, "group": "root", "md5sum": "073cb531c98ecbe1841811dc55975e29", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 1627, "src": "/root/.ansible/tmp/ansible-tmp-1701716134.1705973-2428-274943220052144/source", "state": "file", "uid": 0 } TASK [/WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector system accounts are configured] *** task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:60 Monday 04 December 2023 18:55:34 +0000 (0:00:00.450) 0:00:26.798 ******* changed: [sut] => (item={'user': 'metrics', 'sasluser': 'metrics', 'saslpassword': 'metrics'}) => { "ansible_loop_var": "item", "changed": true, "comment": "", "create_home": true, "group": 496, "home": "/home/metrics", "item": { "saslpassword": "metrics", "sasluser": "metrics", "user": "metrics" }, "name": "metrics", "shell": "/bin/bash", "state": "present", "system": true, "uid": 496 } TASK [/WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector SASL accounts are configured] *** task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:68 Monday 04 December 2023 18:55:35 +0000 (0:00:00.727) 0:00:27.526 ******* ok: [sut] => (item={'user': 'metrics', 'sasluser': 'metrics', 'saslpassword': 'metrics'}) => { "ansible_loop_var": "item", "changed": false, "cmd": "set -eu\nif set -o | grep -q pipefail; then\n set -o pipefail # pipefail not supported on debian, some ubuntu\nfi\nif ! sasldblistusers2 -f \"/etc/pcp/passwd.db\" | grep -q \"^metrics@\"; then\n echo \"Creating new metrics user in /etc/pcp/passwd.db\"\n echo \"metrics\" | saslpasswd2 -a pmcd \"metrics\"\n chown root:pcp \"/etc/pcp/passwd.db\"\n chmod 640 \"/etc/pcp/passwd.db\"\nfi\n", "delta": "0:00:00.254039", "end": "2023-12-04 18:55:35.689411", "item": { "saslpassword": "metrics", "sasluser": "metrics", "user": "metrics" }, "rc": 0, "start": "2023-12-04 18:55:35.435372" } STDOUT: Creating new metrics user in /etc/pcp/passwd.db STDERR: listusers failed TASK [/WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector authentication is configured] *** task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:86 Monday 04 December 2023 18:55:35 +0000 (0:00:00.394) 0:00:27.921 ******* changed: [sut] => { "changed": true, "checksum": "f1d122d4ec5f4c61ef87469fc028ec2687d1ecaf", "dest": "/etc/sasl2/pmcd.conf", "gid": 0, "group": "root", "md5sum": "7798f7cbd4718f1a11989db2f467d70d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 995, "src": "/root/.ansible/tmp/ansible-tmp-1701716135.74771-2454-219531957073123/source", "state": "file", "uid": 0 } TASK [/WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/roles/pcp : Set variable to do pmcd restart if needed] *** task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:94 Monday 04 December 2023 18:55:36 +0000 (0:00:00.457) 0:00:28.378 ******* ok: [sut] => { "ansible_facts": { "__pcp_restart_pmcd": true }, "changed": false } TASK [/WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/roles/pcp : Report performance metric collector restart state] *** task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:105 Monday 04 December 2023 18:55:36 +0000 (0:00:00.021) 0:00:28.399 ******* ok: [sut] => {} MSG: ['optional_agents: False', 'explicit_labels: True', 'implicit_labels: True', 'defaults_config: True', 'authentication: True', 'restart_pmcd: True'] TASK [/WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector is running and enabled on boot] *** task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:116 Monday 04 December 2023 18:55:36 +0000 (0:00:00.021) 0:00:28.420 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector is restarted and enabled on boot] *** task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:123 Monday 04 December 2023 18:55:36 +0000 (0:00:00.015) 0:00:28.436 ******* changed: [sut] => { "changed": true, "enabled": true, "name": "pmcd", "state": "started" } TASK [/WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/roles/pcp : Include pmie] *** task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:31 Monday 04 December 2023 18:55:37 +0000 (0:00:00.859) 0:00:29.295 ******* included: /WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml for sut TASK [/WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra performance rule group directories exist] *** task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:4 Monday 04 December 2023 18:55:37 +0000 (0:00:00.025) 0:00:29.321 ******* changed: [sut] => (item=network) => { "ansible_loop_var": "item", "changed": true, "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 } changed: [sut] => (item=power) => { "ansible_loop_var": "item", "changed": true, "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 } changed: [sut] => (item=zeroconf) => { "ansible_loop_var": "item", "changed": true, "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 } changed: [sut] => (item=filesys) => { "ansible_loop_var": "item", "changed": true, "gid": 0, "group": "root", "item": "filesys", "mode": "0755", "owner": "root", "path": "/etc/pcp/pmieconf/filesys", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [/WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra performance rule group link directories exist] *** task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:14 Monday 04 December 2023 18:55:38 +0000 (0:00:00.885) 0:00:30.207 ******* changed: [sut] => (item=network) => { "ansible_loop_var": "item", "changed": true, "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 } changed: [sut] => (item=power) => { "ansible_loop_var": "item", "changed": true, "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 } changed: [sut] => (item=zeroconf) => { "ansible_loop_var": "item", "changed": true, "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 } ok: [sut] => (item=filesys) => { "ansible_loop_var": "item", "changed": false, "gid": 0, "group": "root", "item": "filesys", "mode": "0755", "owner": "root", "path": "/var/lib/pcp/config/pmieconf/filesys", "secontext": "system_u:object_r:pcp_var_lib_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [/WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra performance rules are installed for targeted hosts] *** task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:24 Monday 04 December 2023 18:55:38 +0000 (0:00:00.892) 0:00:31.099 ******* changed: [sut] => (item=network/tcplistenoverflows) => { "ansible_loop_var": "item", "changed": true, "checksum": "608d8a6ac6ee33bb86b77d28ba24fbcd378db43d", "dest": "/etc/pcp/pmieconf/network/tcplistenoverflows", "gid": 0, "group": "root", "item": "network/tcplistenoverflows", "md5sum": "315bdffd61351824525f8a1572d604ba", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 971, "src": "/root/.ansible/tmp/ansible-tmp-1701716138.9241264-2512-135645434724202/source", "state": "file", "uid": 0 } changed: [sut] => (item=network/tcpqfulldocookies) => { "ansible_loop_var": "item", "changed": true, "checksum": "3256a5c2e8d07a20d8e97a08c0ab163252b0beae", "dest": "/etc/pcp/pmieconf/network/tcpqfulldocookies", "gid": 0, "group": "root", "item": "network/tcpqfulldocookies", "md5sum": "b062e23db526f63dbb09bc648b03f100", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 1131, "src": "/root/.ansible/tmp/ansible-tmp-1701716139.3437974-2512-135882806423711/source", "state": "file", "uid": 0 } changed: [sut] => (item=network/tcpqfulldrops) => { "ansible_loop_var": "item", "changed": true, "checksum": "37b2bd7f2430bd9678ab078c5e69a53bea556524", "dest": "/etc/pcp/pmieconf/network/tcpqfulldrops", "gid": 0, "group": "root", "item": "network/tcpqfulldrops", "md5sum": "61b36977331d7cc7b98658f3e083e578", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 1129, "src": "/root/.ansible/tmp/ansible-tmp-1701716139.7690148-2512-235297545463389/source", "state": "file", "uid": 0 } changed: [sut] => (item=power/thermal_throttle) => { "ansible_loop_var": "item", "changed": true, "checksum": "1d53d6182709617c8f633339652d8d9e75f3b603", "dest": "/etc/pcp/pmieconf/power/thermal_throttle", "gid": 0, "group": "root", "item": "power/thermal_throttle", "md5sum": "87fa94811e21328fa870b42e4a8ab568", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 1153, "src": "/root/.ansible/tmp/ansible-tmp-1701716140.1912518-2512-151644804024903/source", "state": "file", "uid": 0 } changed: [sut] => (item=zeroconf/all_threads) => { "ansible_loop_var": "item", "changed": true, "checksum": "65169db16dcaa224c211373001adc3addf1031c4", "dest": "/etc/pcp/pmieconf/zeroconf/all_threads", "gid": 0, "group": "root", "item": "zeroconf/all_threads", "md5sum": "6bbe849190f88f2079c32b24f0fcf092", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 840, "src": "/root/.ansible/tmp/ansible-tmp-1701716140.6171427-2512-151875982002250/source", "state": "file", "uid": 0 } changed: [sut] => (item=filesys/vfs_files) => { "ansible_loop_var": "item", "changed": true, "checksum": "cd5d85dfb8eebd7d9737d56e78bd969dafa3999c", "dest": "/etc/pcp/pmieconf/filesys/vfs_files", "gid": 0, "group": "root", "item": "filesys/vfs_files", "md5sum": "ceb10cd4cd3fbbedd52b7d7e45963eb3", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 969, "src": "/root/.ansible/tmp/ansible-tmp-1701716141.0416698-2512-141748442841723/source", "state": "file", "uid": 0 } TASK [/WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra rules symlinks have been created for targeted hosts] *** task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:34 Monday 04 December 2023 18:55:41 +0000 (0:00:02.554) 0:00:33.653 ******* changed: [sut] => (item=network/tcplistenoverflows) => { "ansible_loop_var": "item", "changed": true, "dest": "/var/lib/pcp/config/pmieconf/network/tcplistenoverflows", "gid": 0, "group": "root", "item": "network/tcplistenoverflows", "mode": "0777", "owner": "root", "secontext": "unconfined_u:object_r:pcp_var_lib_t:s0", "size": 44, "src": "/etc/pcp/pmieconf/network/tcplistenoverflows", "state": "link", "uid": 0 } changed: [sut] => (item=network/tcpqfulldocookies) => { "ansible_loop_var": "item", "changed": true, "dest": "/var/lib/pcp/config/pmieconf/network/tcpqfulldocookies", "gid": 0, "group": "root", "item": "network/tcpqfulldocookies", "mode": "0777", "owner": "root", "secontext": "unconfined_u:object_r:pcp_var_lib_t:s0", "size": 43, "src": "/etc/pcp/pmieconf/network/tcpqfulldocookies", "state": "link", "uid": 0 } changed: [sut] => (item=network/tcpqfulldrops) => { "ansible_loop_var": "item", "changed": true, "dest": "/var/lib/pcp/config/pmieconf/network/tcpqfulldrops", "gid": 0, "group": "root", "item": "network/tcpqfulldrops", "mode": "0777", "owner": "root", "secontext": "unconfined_u:object_r:pcp_var_lib_t:s0", "size": 39, "src": "/etc/pcp/pmieconf/network/tcpqfulldrops", "state": "link", "uid": 0 } changed: [sut] => (item=power/thermal_throttle) => { "ansible_loop_var": "item", "changed": true, "dest": "/var/lib/pcp/config/pmieconf/power/thermal_throttle", "gid": 0, "group": "root", "item": "power/thermal_throttle", "mode": "0777", "owner": "root", "secontext": "unconfined_u:object_r:pcp_var_lib_t:s0", "size": 40, "src": "/etc/pcp/pmieconf/power/thermal_throttle", "state": "link", "uid": 0 } changed: [sut] => (item=zeroconf/all_threads) => { "ansible_loop_var": "item", "changed": true, "dest": "/var/lib/pcp/config/pmieconf/zeroconf/all_threads", "gid": 0, "group": "root", "item": "zeroconf/all_threads", "mode": "0777", "owner": "root", "secontext": "unconfined_u:object_r:pcp_var_lib_t:s0", "size": 38, "src": "/etc/pcp/pmieconf/zeroconf/all_threads", "state": "link", "uid": 0 } changed: [sut] => (item=filesys/vfs_files) => { "ansible_loop_var": "item", "changed": true, "dest": "/var/lib/pcp/config/pmieconf/filesys/vfs_files", "gid": 0, "group": "root", "item": "filesys/vfs_files", "mode": "0777", "owner": "root", "secontext": "unconfined_u:object_r:pcp_var_lib_t:s0", "size": 35, "src": "/etc/pcp/pmieconf/filesys/vfs_files", "state": "link", "uid": 0 } TASK [/WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/roles/pcp : Enable performance metric inference for targeted hosts (with control.d)] *** task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:43 Monday 04 December 2023 18:55:42 +0000 (0:00:01.275) 0:00:34.929 ******* TASK [/WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/roles/pcp : Enable performance metric inference for targeted hosts (single control)] *** task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:54 Monday 04 December 2023 18:55:42 +0000 (0:00:00.014) 0:00:34.944 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/roles/pcp : Set variable to do pmie restart if needed] *** task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:64 Monday 04 December 2023 18:55:42 +0000 (0:00:00.014) 0:00:34.959 ******* ok: [sut] => { "ansible_facts": { "__pcp_restart_pmie": true }, "changed": false } TASK [/WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric inference is running and enabled on boot] *** task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:74 Monday 04 December 2023 18:55:42 +0000 (0:00:00.018) 0:00:34.977 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric inference is restarted and enabled on boot] *** task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:81 Monday 04 December 2023 18:55:42 +0000 (0:00:00.014) 0:00:34.992 ******* changed: [sut] => { "changed": true, "enabled": true, "name": "pmie", "state": "started" } TASK [/WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/roles/pcp : Include pmlogger] *** task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:34 Monday 04 December 2023 18:55:43 +0000 (0:00:00.931) 0:00:35.923 ******* included: /WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml for sut TASK [/WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure metric log location is configured] *** task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:4 Monday 04 December 2023 18:55:43 +0000 (0:00:00.028) 0:00:35.952 ******* NOTIFIED HANDLER /WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/roles/pcp : Restart pmproxy for sut changed: [sut] => { "backup": "", "changed": true } MSG: line added TASK [/WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric logging is configured] *** task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:12 Monday 04 December 2023 18:55:44 +0000 (0:00:00.309) 0:00:36.262 ******* changed: [sut] => { "changed": true, "checksum": "67bc35973101c614e92b1990f8bebfffc39fe498", "dest": "/etc/sysconfig/pmlogger", "gid": 0, "group": "root", "md5sum": "be3c2b929f8c3f822c4ee10fb7b5053d", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 1180, "src": "/root/.ansible/tmp/ansible-tmp-1701716144.0849493-2675-51047161716556/source", "state": "file", "uid": 0 } TASK [/WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric logging retention period is set] *** task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:19 Monday 04 December 2023 18:55:44 +0000 (0:00:00.463) 0:00:36.725 ******* NOTIFIED HANDLER /WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/roles/pcp : Restart pmlogger for sut changed: [sut] => { "changed": true, "checksum": "df7bd3b5b6f1de3af164aab81441c7251a13a298", "dest": "/etc/sysconfig/pmlogger_timers", "gid": 0, "group": "root", "md5sum": "97c2cdbde792aba7ff0c922c6e06e10b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 988, "src": "/root/.ansible/tmp/ansible-tmp-1701716144.5474677-2693-264153422548484/source", "state": "file", "uid": 0 } TASK [/WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/roles/pcp : Enable performance metric logging for targeted hosts (with control.d)] *** task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:27 Monday 04 December 2023 18:55:44 +0000 (0:00:00.441) 0:00:37.167 ******* TASK [/WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/roles/pcp : Enable performance metric logging for targeted hosts (single control)] *** task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:39 Monday 04 December 2023 18:55:44 +0000 (0:00:00.014) 0:00:37.181 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/roles/pcp : Set variable to do pmlogger restart if needed] *** task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:49 Monday 04 December 2023 18:55:44 +0000 (0:00:00.015) 0:00:37.196 ******* ok: [sut] => { "ansible_facts": { "__pcp_restart_pmlogger": true }, "changed": false } TASK [/WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric logging is running and enabled on boot] *** task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:58 Monday 04 December 2023 18:55:45 +0000 (0:00:00.017) 0:00:37.213 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [/WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric logging is restarted and enabled on boot] *** task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:65 Monday 04 December 2023 18:55:45 +0000 (0:00:00.013) 0:00:37.227 ******* changed: [sut] => { "changed": true, "enabled": true, "name": "pmlogger", "state": "started" } TASK [/WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/roles/pcp : Include pmproxy] *** task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:37 Monday 04 December 2023 18:55:46 +0000 (0:00:01.418) 0:00:38.646 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Setup metric graphing service.] ****************************************** task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/tasks/main.yml:117 Monday 04 December 2023 18:55:46 +0000 (0:00:00.015) 0:00:38.662 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.metrics : Configure firewall] ************************* task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/tasks/main.yml:125 Monday 04 December 2023 18:55:46 +0000 (0:00:00.014) 0:00:38.676 ******* included: /WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/tasks/firewall.yml for sut TASK [linux-system-roles.metrics : Initialize __metrics_firewall] ************** task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/tasks/firewall.yml:9 Monday 04 December 2023 18:55:46 +0000 (0:00:00.021) 0:00:38.698 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.metrics : Port for pmcd] ****************************** task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/tasks/firewall.yml:13 Monday 04 December 2023 18:55:46 +0000 (0:00:00.016) 0:00:38.715 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.metrics : Port for pmproxy used by query and grafana] *** task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/tasks/firewall.yml:19 Monday 04 December 2023 18:55:46 +0000 (0:00:00.013) 0:00:38.728 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.metrics : Service for grafana] ************************ task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/tasks/firewall.yml:26 Monday 04 December 2023 18:55:46 +0000 (0:00:00.014) 0:00:38.743 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.metrics : Service for redis] ************************** task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/tasks/firewall.yml:33 Monday 04 December 2023 18:55:46 +0000 (0:00:00.015) 0:00:38.758 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure the service and the port status with the firewall role] *********** task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/tasks/firewall.yml:40 Monday 04 December 2023 18:55:46 +0000 (0:00:00.015) 0:00:38.773 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.metrics : Configure selinux] ************************** task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/tasks/main.yml:128 Monday 04 December 2023 18:55:46 +0000 (0:00:00.016) 0:00:38.790 ******* included: /WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/tasks/selinux.yml for sut TASK [linux-system-roles.metrics : Set pcp_bind_all_unreserved_ports] ********** task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/tasks/selinux.yml:6 Monday 04 December 2023 18:55:46 +0000 (0:00:00.021) 0:00:38.812 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure the port status with the selinux role] **************************** task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/tasks/selinux.yml:11 Monday 04 December 2023 18:55:46 +0000 (0:00:00.014) 0:00:38.826 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [/WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/roles/pcp : Restart pmproxy] *** task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/handlers/main.yml:14 Monday 04 December 2023 18:55:46 +0000 (0:00:00.009) 0:00:38.836 ******* changed: [sut] => { "changed": true, "name": "pmproxy", "state": "started" } RUNNING HANDLER [/WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/roles/pcp : Restart pmlogger] *** task path: /WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/handlers/main.yml:19 Monday 04 December 2023 18:55:47 +0000 (0:00:00.592) 0:00:39.428 ******* changed: [sut] => { "changed": true, "name": "pmlogger", "state": "started" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=37 changed=21 unreachable=0 failed=0 skipped=30 rescued=0 ignored=0 Monday 04 December 2023 18:55:48 +0000 (0:00:01.560) 0:00:40.989 ******* =============================================================================== /WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/roles/pcp : Install Performance Co-Pilot packages -- 18.77s /WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:15 /WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/roles/pcp : Install authentication packages --- 4.01s /WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/main.yml:20 /WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra performance rules are installed for targeted hosts --- 2.55s /WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:24 /WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/roles/pcp : Restart pmlogger --- 1.56s /WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/handlers/main.yml:19 /WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric logging is restarted and enabled on boot --- 1.42s /WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:65 /WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra rules symlinks have been created for targeted hosts --- 1.28s /WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:34 Gathering Facts --------------------------------------------------------- 1.07s /WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/tests_default.yml:9 ----- /WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric inference is restarted and enabled on boot --- 0.93s /WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:81 /WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra performance rule group link directories exist --- 0.89s /WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:14 /WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure extra performance rule group directories exist --- 0.89s /WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmie.yml:4 /WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector is restarted and enabled on boot --- 0.86s /WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:123 /WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector system accounts are configured --- 0.73s /WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:60 /WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/roles/pcp : Restart pmproxy --- 0.59s /WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/handlers/main.yml:14 /WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure any explicit metric labels are configured --- 0.53s /WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:39 /WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric logging is configured --- 0.46s /WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:12 /WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector authentication is configured --- 0.46s /WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:86 /WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure any implicit metric labels are configured --- 0.45s /WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:46 /WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector is configured --- 0.45s /WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:53 /WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric logging retention period is set --- 0.44s /WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmlogger.yml:19 /WORKDIR/git-webhook-event-notificationvzb2cl_e/tests/roles/linux-system-roles.metrics/roles/pcp : Ensure performance metric collector SASL accounts are configured --- 0.39s /WORKDIR/git-webhook-event-notificationvzb2cl_e/vendor/github.com/performancecopilot/ansible-pcp/roles/pcp/tasks/pmcd.yml:68 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---