ansible-playbook [core 2.17.7]
  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-md6
  executable location = /usr/local/bin/ansible-playbook
  python version = 3.12.8 (main, Dec  3 2024, 00:00:00) [GCC 14.2.1 20241104 (Red Hat 14.2.1-6)] (/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-md6/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml
statically imported: /tmp/collections-md6/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml
statically imported: /tmp/collections-md6/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_environments.yml ***********************************************
1 plays in /tmp/collections-md6/ansible_collections/fedora/linux_system_roles/tests/rhc/tests_environments.yml

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

TASK [Get LSR_RHC_TEST_DATA environment variable] ******************************
task path: /tmp/collections-md6/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:3
Monday 20 January 2025  12:51:04 -0500 (0:00:00.010)       0:00:00.010 ******** 
ok: [managed-node2] => {
    "ansible_facts": {
        "lsr_rhc_test_data_file": ""
    },
    "changed": false
}

TASK [Import test data] ********************************************************
task path: /tmp/collections-md6/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:12
Monday 20 January 2025  12:51:04 -0500 (0:00:00.052)       0:00:00.063 ******** 
skipping: [managed-node2] => {
    "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-md6/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:16
Monday 20 January 2025  12:51:04 -0500 (0:00:00.030)       0:00:00.093 ******** 
skipping: [managed-node2] => {
    "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-md6/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:24
Monday 20 January 2025  12:51:04 -0500 (0:00:00.028)       0:00:00.122 ******** 
ok: [managed-node2] => {
    "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-md6/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-md6/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:32
Monday 20 January 2025  12:51:04 -0500 (0:00:00.034)       0:00:00.157 ******** 
[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.
ok: [managed-node2] => {
    "ansible_facts": {
        "discovered_interpreter_python": "/usr/bin/python3.12"
    },
    "changed": false,
    "stat": {
        "exists": false
    }
}

TASK [Set flag to indicate system is ostree] ***********************************
task path: /tmp/collections-md6/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:37
Monday 20 January 2025  12:51:06 -0500 (0:00:01.746)       0:00:01.904 ******** 
ok: [managed-node2] => {
    "ansible_facts": {
        "__rhc_is_ostree": false
    },
    "changed": false
}

TASK [Get facts for external test data] ****************************************
task path: /tmp/collections-md6/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:9
Monday 20 January 2025  12:51:06 -0500 (0:00:00.031)       0:00:01.935 ******** 
ok: [managed-node2]

TASK [Set helper fact for Candlepin base URL] **********************************
task path: /tmp/collections-md6/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:17
Monday 20 January 2025  12:51:07 -0500 (0:00:01.025)       0:00:02.960 ******** 
ok: [managed-node2] => {
    "ansible_facts": {
        "_cp_url": "https://candlepin.local:8443/candlepin"
    },
    "changed": false
}

TASK [Set helper fact for Candlepin owner URL] *********************************
task path: /tmp/collections-md6/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:21
Monday 20 January 2025  12:51:07 -0500 (0:00:00.033)       0:00:02.994 ******** 
ok: [managed-node2] => {
    "ansible_facts": {
        "_cp_url_owner": "https://candlepin.local:8443/candlepin/owners/donaldduck"
    },
    "changed": false
}

TASK [Add candlepin hostname to /etc/hosts] ************************************
task path: /tmp/collections-md6/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:25
Monday 20 January 2025  12:51:07 -0500 (0:00:00.034)       0:00:03.028 ******** 
changed: [managed-node2] => {
    "backup": "",
    "changed": true
}

MSG:

line added

TASK [Install needed packages] *************************************************
task path: /tmp/collections-md6/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:31
Monday 20 January 2025  12:51:07 -0500 (0:00:00.469)       0:00:03.498 ******** 
changed: [managed-node2] => {
    "changed": true,
    "rc": 0,
    "results": [
        "Installed: libnet-1.3-7.el10.x86_64",
        "Installed: libgcrypt-1.11.0-5.el10.x86_64",
        "Installed: libsecret-0.21.2-7.el10.x86_64",
        "Installed: libgpg-error-1.50-2.el10.x86_64",
        "Installed: criu-3.19-6.el10.x86_64",
        "Installed: criu-libs-3.19-6.el10.x86_64",
        "Installed: gnupg2-smime-2.4.5-2.el10.x86_64",
        "Installed: crun-1.19-1.el10.x86_64",
        "Installed: podman-6:5.3.1-3.el10.x86_64",
        "Installed: aardvark-dns-2:1.13.1-1.el10.x86_64",
        "Installed: pcsc-lite-2.2.3-2.el10.x86_64",
        "Installed: duktape-2.7.0-10.el10.x86_64",
        "Installed: pcsc-lite-ccid-1.6.0-2.el10.x86_64",
        "Installed: pinentry-1.3.1-1.el10.x86_64",
        "Installed: pcsc-lite-libs-2.2.3-2.el10.x86_64",
        "Installed: npth-1.6-21.el10.x86_64",
        "Installed: shadow-utils-subid-2:4.15.0-5.el10.x86_64",
        "Installed: libassuan-2.5.6-6.el10.x86_64",
        "Installed: catatonit-5:0.2.1-1.el10.x86_64",
        "Installed: libksba-1.6.7-2.el10.x86_64",
        "Installed: gnupg2-2.4.5-2.el10.x86_64",
        "Installed: polkit-125-3.el10.x86_64",
        "Installed: netavark-2:1.13.1-1.el10.x86_64",
        "Installed: polkit-libs-125-3.el10.x86_64",
        "Installed: polkit-pkla-compat-0.1-30.el10.x86_64",
        "Installed: protobuf-c-1.5.0-6.el10.x86_64",
        "Installed: gpgme-1.23.2-6.el10.x86_64",
        "Installed: passt-0^20241121.g238c69f-1.el10.x86_64",
        "Installed: passt-selinux-0^20241121.g238c69f-1.el10.noarch",
        "Installed: conmon-2:2.1.12-3.el10.x86_64",
        "Installed: container-selinux-3:2.234.2-1.el10.noarch",
        "Installed: containers-common-5:0.61.0-1.el10.noarch",
        "Installed: containers-common-extra-5:0.61.0-1.el10.noarch",
        "Installed: libusb1-1.0.27-4.el10.x86_64"
    ]
}

TASK [Stop and remove Candlepin container] *************************************
task path: /tmp/collections-md6/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:38
Monday 20 January 2025  12:51:29 -0500 (0:00:21.609)       0:00:25.108 ******** 
ok: [managed-node2] => {
    "changed": false,
    "cmd": [
        "podman",
        "stop",
        "candlepin"
    ],
    "delta": "0:00:00.101580",
    "end": "2025-01-20 12:51:29.834474",
    "failed_when_result": false,
    "rc": 125,
    "start": "2025-01-20 12:51:29.732894"
}

STDERR:

Error: no container with name or ID "candlepin" found: no such container


MSG:

non-zero return code

TASK [Start Candlepin container] ***********************************************
task path: /tmp/collections-md6/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:50
Monday 20 January 2025  12:51:29 -0500 (0:00:00.650)       0:00:25.758 ******** 
fatal: [managed-node2]: FAILED! => {
    "changed": false,
    "cmd": [
        "podman",
        "run",
        "--rm",
        "--detach",
        "--hostname",
        "candlepin.local",
        "--name",
        "candlepin",
        "--publish",
        "8443:8443",
        "--publish",
        "8080:8080",
        "ghcr.io/ptoscano/candlepin-unofficial"
    ],
    "delta": "0:00:18.304753",
    "end": "2025-01-20 12:51:48.590021",
    "rc": 126,
    "start": "2025-01-20 12:51:30.285268"
}

STDERR:

Trying to pull ghcr.io/ptoscano/candlepin-unofficial:latest...
Getting image source signatures
Copying blob sha256:45ea2f2ce928d65b145ef54019947c283d96b814078e11f635c73e8063db679c
Copying config sha256:46002e34156a388daab0a887b43b80d7232fd3de7f7d46dccca01d9d26de4a69
Writing manifest to image destination
Error: OCI runtime error: crun: `/proc/self/attr/keycreate`: OCI runtime error: unable to process security attribute


MSG:

non-zero return code

PLAY RECAP *********************************************************************
managed-node2              : ok=10   changed=2    unreachable=0    failed=1    skipped=2    rescued=0    ignored=0   


TASKS RECAP ********************************************************************
Monday 20 January 2025  12:51:48 -0500 (0:00:18.748)       0:00:44.507 ******** 
=============================================================================== 
Install needed packages ------------------------------------------------ 21.61s
/tmp/collections-md6/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:31 
Start Candlepin container ---------------------------------------------- 18.75s
/tmp/collections-md6/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:50 
Check if system is ostree ----------------------------------------------- 1.75s
/tmp/collections-md6/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:32 
Get facts for external test data ---------------------------------------- 1.03s
/tmp/collections-md6/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:9 
Stop and remove Candlepin container ------------------------------------- 0.65s
/tmp/collections-md6/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:38 
Add candlepin hostname to /etc/hosts ------------------------------------ 0.47s
/tmp/collections-md6/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:25 
Get LSR_RHC_TEST_DATA environment variable ------------------------------ 0.05s
/tmp/collections-md6/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:3 
Set local lsr_rhc_test_data --------------------------------------------- 0.03s
/tmp/collections-md6/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:24 
Set helper fact for Candlepin owner URL --------------------------------- 0.03s
/tmp/collections-md6/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:21 
Set helper fact for Candlepin base URL ---------------------------------- 0.03s
/tmp/collections-md6/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:17 
Set flag to indicate system is ostree ----------------------------------- 0.03s
/tmp/collections-md6/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:37 
Import test data -------------------------------------------------------- 0.03s
/tmp/collections-md6/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:12 
Get facts for external test data ---------------------------------------- 0.03s
/tmp/collections-md6/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:16