ansible-playbook [core 2.17.6] 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-MzB executable location = /usr/local/bin/ansible-playbook python version = 3.12.6 (main, Sep 9 2024, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-2)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles statically imported: /tmp/collections-MzB/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_insights.yml statically imported: /tmp/collections-MzB/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml statically imported: /tmp/collections-MzB/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/check_candlepin.yml 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: tests_insights_ansible_host.yml ************************************** 1 plays in /tmp/collections-MzB/ansible_collections/fedora/linux_system_roles/tests/rhc/tests_insights_ansible_host.yml PLAY [Insights ansible host test] ********************************************** TASK [Get LSR_RHC_TEST_DATA environment variable] ****************************** task path: /tmp/collections-MzB/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:3 Monday 11 November 2024 19:25:28 -0500 (0:00:00.008) 0:00:00.008 ******* ok: [managed-node3] => { "ansible_facts": { "lsr_rhc_test_data_file": "" }, "changed": false } TASK [Import test data] ******************************************************** task path: /tmp/collections-MzB/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:12 Monday 11 November 2024 19:25:28 -0500 (0:00:00.017) 0:00:00.026 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "lsr_rhc_test_data_file | length > 0", "skip_reason": "Conditional result was False" } TASK [Get facts for external test data] **************************************** task path: /tmp/collections-MzB/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:16 Monday 11 November 2024 19:25:28 -0500 (0:00:00.030) 0:00:00.057 ******* skipping: [managed-node3] => { "changed": false, "false_condition": "lsr_rhc_test_data_file | length > 0", "skip_reason": "Conditional result was False" } TASK [Set local lsr_rhc_test_data] ********************************************* task path: /tmp/collections-MzB/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:24 Monday 11 November 2024 19:25:28 -0500 (0:00:00.031) 0:00:00.088 ******* ok: [managed-node3] => { "ansible_facts": { "lsr_rhc_test_data": { "baseurl": "http://localhost:8080", "candlepin_host": "candlepin.local", "candlepin_insecure": false, "candlepin_port": 8443, "candlepin_prefix": "/candlepin", "env_nonworking": "Ceci n'est pas une environment", "envs_register": [ "Environment 2" ], "insights": false, "proxy_auth_hostname": "localhost", "proxy_auth_password": "proxypass", "proxy_auth_port": 3130, "proxy_auth_scheme": "https", "proxy_auth_username": "proxyuser", "proxy_noauth_hostname": "localhost", "proxy_noauth_port": 3128, "proxy_noauth_scheme": "https", "proxy_nonworking_hostname": "wrongproxy", "proxy_nonworking_password": "wrong-proxypassword", "proxy_nonworking_port": 4000, "proxy_nonworking_username": "wrong-proxyuser", "reg_activation_keys": [ "default_key" ], "reg_invalid_password": "invalid-password", "reg_invalid_username": "invalid-user", "reg_organization": "donaldduck", "reg_password": "password", "reg_username": "doc", "release": null, "repositories": [ { "name": "donaldy-content-label-7051", "state": "enabled" }, { "name": "content-label-32060", "state": "disabled" } ] } }, "ansible_included_var_files": [ "/tmp/collections-MzB/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/../files/candlepin_data.yml" ], "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-MzB/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:32 Monday 11 November 2024 19:25:29 -0500 (0:00:00.056) 0:00:00.144 ******* [WARNING]: Platform linux on host managed-node3 is using the discovered Python interpreter at /usr/bin/python3.9, 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. ok: [managed-node3] => { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python3.9" }, "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-MzB/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:37 Monday 11 November 2024 19:25:30 -0500 (0:00:01.819) 0:00:01.964 ******* ok: [managed-node3] => { "ansible_facts": { "__rhc_is_ostree": false }, "changed": false } TASK [Skip if there is no Insights support] ************************************ task path: /tmp/collections-MzB/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_insights.yml:8 Monday 11 November 2024 19:25:30 -0500 (0:00:00.019) 0:00:01.984 ******* META: ending play PLAY RECAP ********************************************************************* managed-node3 : ok=4 changed=0 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 Monday 11 November 2024 19:25:30 -0500 (0:00:00.002) 0:00:01.987 ******* =============================================================================== Check if system is ostree ----------------------------------------------- 1.82s /tmp/collections-MzB/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:32 Set local lsr_rhc_test_data --------------------------------------------- 0.06s /tmp/collections-MzB/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:24 Get facts for external test data ---------------------------------------- 0.03s /tmp/collections-MzB/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:16 Import test data -------------------------------------------------------- 0.03s /tmp/collections-MzB/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:12 Set flag to indicate system is ostree ----------------------------------- 0.02s /tmp/collections-MzB/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:37 Get LSR_RHC_TEST_DATA environment variable ------------------------------ 0.02s /tmp/collections-MzB/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:3 Skip if there is no Insights support ------------------------------------ 0.00s /tmp/collections-MzB/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_insights.yml:8