# STDOUT:
---v---v---v---v---v---
ansible-playbook [core 2.17.2]
  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.17/lib/python3.11/site-packages/ansible
  ansible collection location = /WORKDIR/git-weekly-ciak6wce45/.collection
  executable location = /opt/ansible-2.17/bin/ansible-playbook
  python version = 3.11.5 (main, Sep  7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.17/bin/python)
  jinja version = 3.1.4
  libyaml = True
Using /etc/ansible/ansible.cfg as config file
statically imported: /WORKDIR/git-weekly-ciak6wce45/tests/tasks/setup_candlepin.yml
statically imported: /WORKDIR/git-weekly-ciak6wce45/tests/tasks/setup_test_data.yml
statically imported: /WORKDIR/git-weekly-ciak6wce45/tests/tasks/check_candlepin.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_repositories.yml ***********************************************
1 plays in /WORKDIR/git-weekly-ciak6wce45/tests/tests_repositories.yml

PLAY [Basic repository enablement/disablement test] ****************************

TASK [Get LSR_RHC_TEST_DATA environment variable] ******************************
task path: /WORKDIR/git-weekly-ciak6wce45/tests/tasks/setup_test_data.yml:3
Saturday 10 August 2024  20:10:44 +0000 (0:00:00.023)       0:00:00.023 ******* 
ok: [sut] => {
    "ansible_facts": {
        "lsr_rhc_test_data_file": ""
    },
    "changed": false
}

TASK [Import test data] ********************************************************
task path: /WORKDIR/git-weekly-ciak6wce45/tests/tasks/setup_test_data.yml:12
Saturday 10 August 2024  20:10:44 +0000 (0:00:00.010)       0:00:00.034 ******* 
skipping: [sut] => {
    "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: /WORKDIR/git-weekly-ciak6wce45/tests/tasks/setup_test_data.yml:16
Saturday 10 August 2024  20:10:44 +0000 (0:00:00.009)       0:00:00.043 ******* 
skipping: [sut] => {
    "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: /WORKDIR/git-weekly-ciak6wce45/tests/tasks/setup_test_data.yml:24
Saturday 10 August 2024  20:10:44 +0000 (0:00:00.009)       0:00:00.053 ******* 
ok: [sut] => {
    "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": [
        "/WORKDIR/git-weekly-ciak6wce45/tests/tasks/../files/candlepin_data.yml"
    ],
    "changed": false
}

TASK [Check if system is ostree] ***********************************************
task path: /WORKDIR/git-weekly-ciak6wce45/tests/tasks/setup_test_data.yml:32
Saturday 10 August 2024  20:10:44 +0000 (0:00:00.011)       0:00:00.064 ******* 
fatal: [sut]: FAILED! => {
    "ansible_facts": {
        "discovered_interpreter_python": "/usr/bin/python3"
    },
    "changed": false,
    "rc": 1
}

MSG:

MODULE FAILURE
See stdout/stderr for the exact error


MODULE_STDERR:

OpenSSH_8.7p1, OpenSSL 3.0.7 1 Nov 2022
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf
debug2: checking match for 'final all' host 10.31.9.229 originally 10.31.9.229
debug2: match not found
debug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config
debug1: /etc/ssh/ssh_config line 56: Applying options for *
debug1: configuration requests final Match pass
debug2: resolve_canonicalize: hostname 10.31.9.229 is address
debug1: re-parsing configuration
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf
debug2: checking match for 'final all' host 10.31.9.229 originally 10.31.9.229
debug2: match found
debug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config
debug1: /etc/ssh/ssh_config line 56: Applying options for *
debug1: auto-mux: Trying existing master
debug2: fd 3 setting O_NONBLOCK
debug2: mux_client_hello_exchange: master version 4
debug1: mux_client_request_session: master session id: 2
Traceback (most recent call last):
  File "<stdin>", line 107, in <module>
  File "<stdin>", line 99, in _ansiballz_main
  File "<stdin>", line 44, in invoke_module
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 951, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 894, in _find_spec
  File "<frozen importlib._bootstrap_external>", line 1157, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1131, in _get_spec
  File "<frozen importlib._bootstrap_external>", line 1112, in _legacy_get_spec
  File "<frozen importlib._bootstrap>", line 441, in spec_from_loader
  File "<frozen importlib._bootstrap_external>", line 544, in spec_from_file_location
  File "/tmp/ansible_stat_payload_gvdm9l3t/ansible_stat_payload.zip/ansible/module_utils/basic.py", line 5
SyntaxError: future feature annotations is not defined
debug2: Received exit status from master 1

	to retry, use: --limit @/tmp/tests_repositories.retry

PLAY RECAP *********************************************************************
sut                        : ok=2    changed=0    unreachable=0    failed=1    skipped=2    rescued=0    ignored=0   

Saturday 10 August 2024  20:10:44 +0000 (0:00:00.199)       0:00:00.264 ******* 
=============================================================================== 
Check if system is ostree ----------------------------------------------- 0.20s
/WORKDIR/git-weekly-ciak6wce45/tests/tasks/setup_test_data.yml:32 -------------
Set local lsr_rhc_test_data --------------------------------------------- 0.01s
/WORKDIR/git-weekly-ciak6wce45/tests/tasks/setup_test_data.yml:24 -------------
Get LSR_RHC_TEST_DATA environment variable ------------------------------ 0.01s
/WORKDIR/git-weekly-ciak6wce45/tests/tasks/setup_test_data.yml:3 --------------
Import test data -------------------------------------------------------- 0.01s
/WORKDIR/git-weekly-ciak6wce45/tests/tasks/setup_test_data.yml:12 -------------
Get facts for external test data ---------------------------------------- 0.01s
/WORKDIR/git-weekly-ciak6wce45/tests/tasks/setup_test_data.yml:16 -------------

---^---^---^---^---^---

# STDERR:
---v---v---v---v---v---
[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var 
naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This 
feature will be removed from ansible-core in version 2.19. Deprecation warnings
 can be disabled by setting deprecation_warnings=False in ansible.cfg.
[WARNING]: Unhandled error in Python interpreter discovery for host sut:
Expecting value: line 1 column 1 (char 0)
[WARNING]: Platform linux on host sut is using the discovered Python
interpreter at /usr/bin/python3, 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.

---^---^---^---^---^---