ansible-playbook [core 2.17.4] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-tM2 executable location = /usr/local/bin/ansible-playbook python version = 3.12.6 (main, Sep 9 2024, 00:00:00) [GCC 13.3.1 20240522 (Red Hat 13.3.1-1)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks 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: process_python_modules_packages.yml ********************************** 1 plays in process_python_modules_packages.yml PLAY [Get python modules from log file and create packages file] *************** TASK [Get list of modules] ***************************************************** task path: /var/ARTIFACTS/work-general4hw1c_h0/plans/general/discover/Run-test-playbooks-from-control_node/tests/tests/general/process_python_modules_packages.yml:9 Tuesday 24 September 2024 12:51:32 -0400 (0:00:00.010) 0:00:00.010 ***** ok: [managed-node2 -> localhost] => { "ansible_facts": { "modules": [] }, "changed": false } TASK [Copy modules file to host] *********************************************** task path: /var/ARTIFACTS/work-general4hw1c_h0/plans/general/discover/Run-test-playbooks-from-control_node/tests/tests/general/process_python_modules_packages.yml:18 Tuesday 24 September 2024 12:51:32 -0400 (0:00:00.068) 0:00:00.079 ***** [WARNING]: Platform linux on host managed-node2 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. changed: [managed-node2] => { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python3.12" }, "changed": true, "checksum": "adc83b19e793491b1c6ea0fd8b46cd9f32e592fc", "dest": "/tmp/modules.txt", "gid": 0, "group": "root", "md5sum": "68b329da9893e34099c7d8ad5cb9c940", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 1, "src": "/root/.ansible/tmp/ansible-tmp-1727196693.8754485-3181-230968713516218/.source.txt", "state": "file", "uid": 0 } TASK [Get unique list of packages that provide modules in modules.txt] ********* task path: /var/ARTIFACTS/work-general4hw1c_h0/plans/general/discover/Run-test-playbooks-from-control_node/tests/tests/general/process_python_modules_packages.yml:26 Tuesday 24 September 2024 12:51:34 -0400 (0:00:02.271) 0:00:02.350 ***** ok: [managed-node2] => { "changed": false, "cmd": "declare -A packages\nwhile read -r file; do\n if [ -z \"$file\" ]; then\n continue # probably extra trailing newline\n elif pkg=\"$(rpm -qf \"$file\" --queryformat '%{name}-%{version}-%{release}\\n')\"; then\n packages[\"$pkg\"]=\"$pkg\"\n else\n echo \"ERROR: file $file does not belong to any package\"\n fi\ndone < /tmp/modules.txt\nfor pkg in \"${packages[@]}\"; do\n echo \"$pkg\"\ndone | sort > /tmp/packages.txt\n", "delta": "0:00:00.005233", "end": "2024-09-24 12:51:35.387714", "rc": 0, "start": "2024-09-24 12:51:35.382481" } TASK [Copy packages file back to localhost] ************************************ task path: /var/ARTIFACTS/work-general4hw1c_h0/plans/general/discover/Run-test-playbooks-from-control_node/tests/tests/general/process_python_modules_packages.yml:43 Tuesday 24 September 2024 12:51:35 -0400 (0:00:00.601) 0:00:02.952 ***** changed: [managed-node2] => { "changed": true, "checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "dest": "/var/ARTIFACTS/work-general4hw1c_h0/plans/general/discover/Run-test-playbooks-from-control_node/tests/tests/general/tests_default-ANSIBLE-2.17-general-SUCCESS.log.packages", "md5sum": "d41d8cd98f00b204e9800998ecf8427e", "remote_checksum": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "remote_md5sum": null } PLAY RECAP ********************************************************************* managed-node2 : ok=4 changed=2 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Tuesday 24 September 2024 12:51:35 -0400 (0:00:00.500) 0:00:03.452 ***** =============================================================================== Copy modules file to host ----------------------------------------------- 2.27s /var/ARTIFACTS/work-general4hw1c_h0/plans/general/discover/Run-test-playbooks-from-control_node/tests/tests/general/process_python_modules_packages.yml:18 Get unique list of packages that provide modules in modules.txt --------- 0.60s /var/ARTIFACTS/work-general4hw1c_h0/plans/general/discover/Run-test-playbooks-from-control_node/tests/tests/general/process_python_modules_packages.yml:26 Copy packages file back to localhost ------------------------------------ 0.50s /var/ARTIFACTS/work-general4hw1c_h0/plans/general/discover/Run-test-playbooks-from-control_node/tests/tests/general/process_python_modules_packages.yml:43 Get list of modules ----------------------------------------------------- 0.07s /var/ARTIFACTS/work-general4hw1c_h0/plans/general/discover/Run-test-playbooks-from-control_node/tests/tests/general/process_python_modules_packages.yml:9