ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles statically imported: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml statically imported: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml statically imported: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/check_candlepin.yml 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_register_unregister.yml **************************************** 1 plays in /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/tests/rhc/tests_register_unregister.yml PLAY [Basic register/unregister] *********************************************** META: ran handlers TASK [Get LSR_RHC_TEST_DATA environment variable] ****************************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:3 Monday 20 January 2025 11:09:14 -0500 (0:00:00.026) 0:00:00.026 ******** ok: [managed-node1] => { "ansible_facts": { "lsr_rhc_test_data_file": "" }, "changed": false } TASK [Import test data] ******************************************************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:12 Monday 20 January 2025 11:09:14 -0500 (0:00:00.043) 0:00:00.070 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get facts for external test data] **************************************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:16 Monday 20 January 2025 11:09:14 -0500 (0:00:00.037) 0:00:00.107 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set local lsr_rhc_test_data] ********************************************* task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:24 Monday 20 January 2025 11:09:14 -0500 (0:00:00.037) 0:00:00.145 ******** ok: [managed-node1] => { "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-CTC/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-CTC/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:32 Monday 20 January 2025 11:09:14 -0500 (0:00:00.042) 0:00:00.188 ******** ok: [managed-node1] => { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python" }, "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:37 Monday 20 January 2025 11:09:15 -0500 (0:00:00.500) 0:00:00.688 ******** ok: [managed-node1] => { "ansible_facts": { "__rhc_is_ostree": false }, "changed": false } TASK [Get facts for external test data] **************************************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:9 Monday 20 January 2025 11:09:15 -0500 (0:00:00.041) 0:00:00.730 ******** ok: [managed-node1] TASK [Set helper fact for Candlepin base URL] ********************************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:17 Monday 20 January 2025 11:09:16 -0500 (0:00:00.639) 0:00:01.369 ******** ok: [managed-node1] => { "ansible_facts": { "_cp_url": "https://candlepin.local:8443/candlepin" }, "changed": false } TASK [Set helper fact for Candlepin owner URL] ********************************* task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:21 Monday 20 January 2025 11:09:16 -0500 (0:00:00.042) 0:00:01.412 ******** ok: [managed-node1] => { "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-CTC/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:25 Monday 20 January 2025 11:09:16 -0500 (0:00:00.099) 0:00:01.511 ******** changed: [managed-node1] => { "backup": "", "changed": true } MSG: line added TASK [Install needed packages] ************************************************* task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:31 Monday 20 January 2025 11:09:16 -0500 (0:00:00.578) 0:00:02.090 ******** changed: [managed-node1] => { "changed": true, "changes": { "installed": [ "podman" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: dl.fedoraproject.org\n * epel-debuginfo: dl.fedoraproject.org\n * epel-source: dl.fedoraproject.org\nResolving Dependencies\n--> Running transaction check\n---> Package podman.x86_64 0:1.6.4-36.el7_9 will be installed\n--> Processing Dependency: slirp4netns >= 0.4.0-1 for package: podman-1.6.4-36.el7_9.x86_64\n--> Processing Dependency: runc >= 1.0.0-57 for package: podman-1.6.4-36.el7_9.x86_64\n--> Processing Dependency: containers-common >= 0.1.29-3 for package: podman-1.6.4-36.el7_9.x86_64\n--> Processing Dependency: containernetworking-plugins >= 0.8.1-1 for package: podman-1.6.4-36.el7_9.x86_64\n--> Processing Dependency: nftables for package: podman-1.6.4-36.el7_9.x86_64\n--> Processing Dependency: fuse-overlayfs for package: podman-1.6.4-36.el7_9.x86_64\n--> Processing Dependency: container-selinux for package: podman-1.6.4-36.el7_9.x86_64\n--> Processing Dependency: conmon for package: podman-1.6.4-36.el7_9.x86_64\n--> Running transaction check\n---> Package conmon.x86_64 2:2.0.8-1.el7 will be installed\n---> Package container-selinux.noarch 2:2.119.2-1.911c772.el7_8 will be installed\n---> Package containernetworking-plugins.x86_64 0:0.8.3-3.el7.centos will be installed\n---> Package containers-common.x86_64 1:0.1.40-11.el7_8 will be installed\n--> Processing Dependency: subscription-manager for package: 1:containers-common-0.1.40-11.el7_8.x86_64\n---> Package fuse-overlayfs.x86_64 0:0.7.2-6.el7_8 will be installed\n--> Processing Dependency: libfuse3.so.3(FUSE_3.2)(64bit) for package: fuse-overlayfs-0.7.2-6.el7_8.x86_64\n--> Processing Dependency: libfuse3.so.3(FUSE_3.0)(64bit) for package: fuse-overlayfs-0.7.2-6.el7_8.x86_64\n--> Processing Dependency: libfuse3.so.3()(64bit) for package: fuse-overlayfs-0.7.2-6.el7_8.x86_64\n---> Package nftables.x86_64 1:0.8-14.el7 will be installed\n--> Processing Dependency: libnftnl.so.7(LIBNFTNL_5)(64bit) for package: 1:nftables-0.8-14.el7.x86_64\n--> Processing Dependency: libnftnl.so.7()(64bit) for package: 1:nftables-0.8-14.el7.x86_64\n---> Package runc.x86_64 0:1.0.0-70.rc10.el7_9 will be installed\n--> Processing Dependency: criu for package: runc-1.0.0-70.rc10.el7_9.x86_64\n---> Package slirp4netns.x86_64 0:0.4.3-4.el7_8 will be installed\n--> Running transaction check\n---> Package criu.x86_64 0:3.12-2.el7 will be installed\n--> Processing Dependency: libprotobuf-c.so.1(LIBPROTOBUF_C_1.0.0)(64bit) for package: criu-3.12-2.el7.x86_64\n--> Processing Dependency: libprotobuf-c.so.1()(64bit) for package: criu-3.12-2.el7.x86_64\n--> Processing Dependency: libnet.so.1()(64bit) for package: criu-3.12-2.el7.x86_64\n---> Package fuse3-libs.x86_64 0:3.6.1-4.el7 will be installed\n---> Package libnftnl.x86_64 0:1.0.8-3.el7 will be installed\n---> Package subscription-manager.x86_64 0:1.24.54-1.el7.centos will be installed\n--> Processing Dependency: subscription-manager-rhsm = 1.24.54 for package: subscription-manager-1.24.54-1.el7.centos.x86_64\n--> Processing Dependency: python-dmidecode >= 3.12.2-2 for package: subscription-manager-1.24.54-1.el7.centos.x86_64\n--> Processing Dependency: usermode for package: subscription-manager-1.24.54-1.el7.centos.x86_64\n--> Processing Dependency: python-syspurpose for package: subscription-manager-1.24.54-1.el7.centos.x86_64\n--> Processing Dependency: python-inotify for package: subscription-manager-1.24.54-1.el7.centos.x86_64\n--> Processing Dependency: python-ethtool for package: subscription-manager-1.24.54-1.el7.centos.x86_64\n--> Processing Dependency: python-dateutil for package: subscription-manager-1.24.54-1.el7.centos.x86_64\n--> Running transaction check\n---> Package libnet.x86_64 0:1.1.6-7.el7 will be installed\n---> Package protobuf-c.x86_64 0:1.0.2-3.el7 will be installed\n---> Package python-dateutil.noarch 0:1.5-7.el7 will be installed\n---> Package python-dmidecode.x86_64 0:3.12.2-4.el7 will be installed\n---> Package python-ethtool.x86_64 0:0.8-8.el7 will be installed\n--> Processing Dependency: libnl.so.1()(64bit) for package: python-ethtool-0.8-8.el7.x86_64\n---> Package python-inotify.noarch 0:0.9.4-4.el7 will be installed\n---> Package python-syspurpose.x86_64 0:1.24.54-1.el7.centos will be installed\n---> Package subscription-manager-rhsm.x86_64 0:1.24.54-1.el7.centos will be installed\n--> Processing Dependency: subscription-manager-rhsm-certificates = 1.24.54-1.el7.centos for package: subscription-manager-rhsm-1.24.54-1.el7.centos.x86_64\n---> Package usermode.x86_64 0:1.111-6.el7 will be installed\n--> Running transaction check\n---> Package libnl.x86_64 0:1.1.4-3.el7 will be installed\n---> Package subscription-manager-rhsm-certificates.x86_64 0:1.24.54-1.el7.centos will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository\n Size\n================================================================================\nInstalling:\n podman x86_64 1.6.4-36.el7_9 extras 13 M\nInstalling for dependencies:\n conmon x86_64 2:2.0.8-1.el7 extras 31 k\n container-selinux noarch 2:2.119.2-1.911c772.el7_8 extras 40 k\n containernetworking-plugins x86_64 0.8.3-3.el7.centos extras 20 M\n containers-common x86_64 1:0.1.40-11.el7_8 extras 43 k\n criu x86_64 3.12-2.el7 base 453 k\n fuse-overlayfs x86_64 0.7.2-6.el7_8 extras 54 k\n fuse3-libs x86_64 3.6.1-4.el7 extras 82 k\n libnet x86_64 1.1.6-7.el7 base 59 k\n libnftnl x86_64 1.0.8-3.el7 base 78 k\n libnl x86_64 1.1.4-3.el7 base 128 k\n nftables x86_64 1:0.8-14.el7 base 186 k\n protobuf-c x86_64 1.0.2-3.el7 base 28 k\n python-dateutil noarch 1.5-7.el7 base 85 k\n python-dmidecode x86_64 3.12.2-4.el7 base 83 k\n python-ethtool x86_64 0.8-8.el7 base 34 k\n python-inotify noarch 0.9.4-4.el7 base 49 k\n python-syspurpose x86_64 1.24.54-1.el7.centos updates 277 k\n runc x86_64 1.0.0-70.rc10.el7_9 extras 2.7 M\n slirp4netns x86_64 0.4.3-4.el7_8 extras 81 k\n subscription-manager x86_64 1.24.54-1.el7.centos updates 1.1 M\n subscription-manager-rhsm x86_64 1.24.54-1.el7.centos updates 336 k\n subscription-manager-rhsm-certificates\n x86_64 1.24.54-1.el7.centos updates 240 k\n usermode x86_64 1.111-6.el7 base 193 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+23 Dependent packages)\n\nTotal download size: 39 M\nInstalled size: 150 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 21 MB/s | 39 MB 00:01 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : 2:container-selinux-2.119.2-1.911c772.el7_8.noarch 1/24 \n Installing : slirp4netns-0.4.3-4.el7_8.x86_64 2/24 \n Installing : python-dateutil-1.5-7.el7.noarch 3/24 \n Installing : usermode-1.111-6.el7.x86_64 4/24 \n Installing : libnftnl-1.0.8-3.el7.x86_64 5/24 \n Installing : 1:nftables-0.8-14.el7.x86_64 6/24 \n Installing : 2:conmon-2.0.8-1.el7.x86_64 7/24 \n Installing : libnl-1.1.4-3.el7.x86_64 8/24 \n Installing : python-ethtool-0.8-8.el7.x86_64 9/24 \n Installing : python-dmidecode-3.12.2-4.el7.x86_64 10/24 \n Installing : libnet-1.1.6-7.el7.x86_64 11/24 \n Installing : subscription-manager-rhsm-certificates-1.24.54-1.el7.cen 12/24 \n Installing : subscription-manager-rhsm-1.24.54-1.el7.centos.x86_64 13/24 \n Installing : fuse3-libs-3.6.1-4.el7.x86_64 14/24 \n Installing : fuse-overlayfs-0.7.2-6.el7_8.x86_64 15/24 \n Installing : protobuf-c-1.0.2-3.el7.x86_64 16/24 \n Installing : criu-3.12-2.el7.x86_64 17/24 \n Installing : runc-1.0.0-70.rc10.el7_9.x86_64 18/24 \n Installing : containernetworking-plugins-0.8.3-3.el7.centos.x86_64 19/24 \n Installing : python-syspurpose-1.24.54-1.el7.centos.x86_64 20/24 \n Installing : python-inotify-0.9.4-4.el7.noarch 21/24 \n Installing : subscription-manager-1.24.54-1.el7.centos.x86_64 22/24 \n Installing : 1:containers-common-0.1.40-11.el7_8.x86_64 23/24 \n Installing : podman-1.6.4-36.el7_9.x86_64 24/24 \n Verifying : python-ethtool-0.8-8.el7.x86_64 1/24 \n Verifying : fuse-overlayfs-0.7.2-6.el7_8.x86_64 2/24 \n Verifying : 1:nftables-0.8-14.el7.x86_64 3/24 \n Verifying : python-inotify-0.9.4-4.el7.noarch 4/24 \n Verifying : python-syspurpose-1.24.54-1.el7.centos.x86_64 5/24 \n Verifying : 1:containers-common-0.1.40-11.el7_8.x86_64 6/24 \n Verifying : python-dateutil-1.5-7.el7.noarch 7/24 \n Verifying : containernetworking-plugins-0.8.3-3.el7.centos.x86_64 8/24 \n Verifying : subscription-manager-1.24.54-1.el7.centos.x86_64 9/24 \n Verifying : protobuf-c-1.0.2-3.el7.x86_64 10/24 \n Verifying : fuse3-libs-3.6.1-4.el7.x86_64 11/24 \n Verifying : subscription-manager-rhsm-certificates-1.24.54-1.el7.cen 12/24 \n Verifying : podman-1.6.4-36.el7_9.x86_64 13/24 \n Verifying : runc-1.0.0-70.rc10.el7_9.x86_64 14/24 \n Verifying : slirp4netns-0.4.3-4.el7_8.x86_64 15/24 \n Verifying : criu-3.12-2.el7.x86_64 16/24 \n Verifying : libnet-1.1.6-7.el7.x86_64 17/24 \n Verifying : 2:container-selinux-2.119.2-1.911c772.el7_8.noarch 18/24 \n Verifying : python-dmidecode-3.12.2-4.el7.x86_64 19/24 \n Verifying : libnl-1.1.4-3.el7.x86_64 20/24 \n Verifying : subscription-manager-rhsm-1.24.54-1.el7.centos.x86_64 21/24 \n Verifying : 2:conmon-2.0.8-1.el7.x86_64 22/24 \n Verifying : libnftnl-1.0.8-3.el7.x86_64 23/24 \n Verifying : usermode-1.111-6.el7.x86_64 24/24 \n\nInstalled:\n podman.x86_64 0:1.6.4-36.el7_9 \n\nDependency Installed:\n conmon.x86_64 2:2.0.8-1.el7 \n container-selinux.noarch 2:2.119.2-1.911c772.el7_8 \n containernetworking-plugins.x86_64 0:0.8.3-3.el7.centos \n containers-common.x86_64 1:0.1.40-11.el7_8 \n criu.x86_64 0:3.12-2.el7 \n fuse-overlayfs.x86_64 0:0.7.2-6.el7_8 \n fuse3-libs.x86_64 0:3.6.1-4.el7 \n libnet.x86_64 0:1.1.6-7.el7 \n libnftnl.x86_64 0:1.0.8-3.el7 \n libnl.x86_64 0:1.1.4-3.el7 \n nftables.x86_64 1:0.8-14.el7 \n protobuf-c.x86_64 0:1.0.2-3.el7 \n python-dateutil.noarch 0:1.5-7.el7 \n python-dmidecode.x86_64 0:3.12.2-4.el7 \n python-ethtool.x86_64 0:0.8-8.el7 \n python-inotify.noarch 0:0.9.4-4.el7 \n python-syspurpose.x86_64 0:1.24.54-1.el7.centos \n runc.x86_64 0:1.0.0-70.rc10.el7_9 \n slirp4netns.x86_64 0:0.4.3-4.el7_8 \n subscription-manager.x86_64 0:1.24.54-1.el7.centos \n subscription-manager-rhsm.x86_64 0:1.24.54-1.el7.centos \n subscription-manager-rhsm-certificates.x86_64 0:1.24.54-1.el7.centos \n usermode.x86_64 0:1.111-6.el7 \n\nComplete!\n" ] } TASK [Stop and remove Candlepin container] ************************************* task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:38 Monday 20 January 2025 11:09:41 -0500 (0:00:25.150) 0:00:27.240 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "podman", "stop", "candlepin" ], "delta": "0:00:02.462269", "end": "2025-01-20 11:09:44.848336", "failed_when_result": false, "rc": 125, "start": "2025-01-20 11:09:42.386067" } 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-CTC/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:50 Monday 20 January 2025 11:09:44 -0500 (0:00:02.934) 0:00:30.174 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "podman", "run", "--rm", "--detach", "--hostname", "candlepin.local", "--name", "candlepin", "--publish", "8443:8443", "--publish", "8080:8080", "--privileged", "ghcr.io/ptoscano/candlepin-unofficial" ], "delta": "0:00:23.069928", "end": "2025-01-20 11:10:08.266207", "rc": 0, "start": "2025-01-20 11:09:45.196279" } STDOUT: 88605afd760016bb4984b3868393690486c45db9013ae73b9e8e191580ab5e7c STDERR: Trying to pull ghcr.io/ptoscano/candlepin-unofficial... Getting image source signatures Copying blob sha256:45ea2f2ce928d65b145ef54019947c283d96b814078e11f635c73e8063db679c Copying config sha256:46002e34156a388daab0a887b43b80d7232fd3de7f7d46dccca01d9d26de4a69 Writing manifest to image destination Storing signatures TASK [Ensure directories exist] ************************************************ task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:71 Monday 20 January 2025 11:10:08 -0500 (0:00:23.435) 0:00:53.610 ******** changed: [managed-node1] => (item=/etc/pki/product) => { "ansible_loop_var": "item", "changed": true, "gid": 0, "group": "root", "item": "/etc/pki/product", "mode": "0755", "owner": "root", "path": "/etc/pki/product", "secontext": "unconfined_u:object_r:cert_t:s0", "size": 4096, "state": "directory", "uid": 0 } changed: [managed-node1] => (item=/etc/pki/product-default) => { "ansible_loop_var": "item", "changed": true, "gid": 0, "group": "root", "item": "/etc/pki/product-default", "mode": "0755", "owner": "root", "path": "/etc/pki/product-default", "secontext": "unconfined_u:object_r:cert_t:s0", "size": 4096, "state": "directory", "uid": 0 } ok: [managed-node1] => (item=/etc/rhsm/ca) => { "ansible_loop_var": "item", "changed": false, "gid": 0, "group": "root", "item": "/etc/rhsm/ca", "mode": "0755", "owner": "root", "path": "/etc/rhsm/ca", "secontext": "system_u:object_r:rhsmcertd_config_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [Copy product certificates] *********************************************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:81 Monday 20 January 2025 11:10:10 -0500 (0:00:02.408) 0:00:56.019 ******** ok: [managed-node1] => (item=7050) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "podman", "cp", "candlepin:/home/candlepin/devel/candlepin/generated_certs/7050.pem", "/etc/pki/product-default/" ], "delta": "0:00:00.702204", "end": "2025-01-20 11:10:11.752468", "item": "7050", "rc": 0, "start": "2025-01-20 11:10:11.050264" } TASK [Copy Candlepin CA certificate for subscription-manager] ****************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:92 Monday 20 January 2025 11:10:11 -0500 (0:00:01.157) 0:00:57.176 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "podman", "cp", "candlepin:/etc/candlepin/certs/candlepin-ca.crt", "/etc/rhsm/ca/candlepin-ca.pem" ], "delta": "0:00:00.494590", "end": "2025-01-20 11:10:13.111891", "rc": 0, "start": "2025-01-20 11:10:12.617301" } TASK [Copy Candlepin CA certificate for system] ******************************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:101 Monday 20 January 2025 11:10:13 -0500 (0:00:01.348) 0:00:58.524 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "podman", "cp", "candlepin:/etc/candlepin/certs/candlepin-ca.crt", "/etc/pki/ca-trust/source/anchors/candlepin-ca.pem" ], "delta": "0:00:00.561296", "end": "2025-01-20 11:10:14.647390", "rc": 0, "start": "2025-01-20 11:10:14.086094" } TASK [Update system certificates store] **************************************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:110 Monday 20 January 2025 11:10:14 -0500 (0:00:01.562) 0:01:00.087 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "update-ca-trust", "extract" ], "delta": "0:00:02.321254", "end": "2025-01-20 11:10:18.058117", "rc": 0, "start": "2025-01-20 11:10:15.736863" } TASK [Wait for started Candlepin] ********************************************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:117 Monday 20 January 2025 11:10:18 -0500 (0:00:03.394) 0:01:03.481 ******** ok: [managed-node1] => { "attempts": 1, "changed": false, "connection": "close", "content_type": "application/json", "cookies": {}, "cookies_string": "", "date": "Mon, 20 Jan 2025 16:10:35 GMT", "elapsed": 16, "redirected": true, "status": 200, "transfer_encoding": "chunked", "url": "https://candlepin.local:8443/candlepin/", "vary": "accept-encoding", "x_candlepin_request_uuid": "1f73ae01-d477-477b-b9ed-e294da078c1b", "x_version": "4.5.1-2" } MSG: OK (unknown bytes) TASK [Install GPG key for RPM repositories] ************************************ task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:127 Monday 20 January 2025 11:10:36 -0500 (0:00:18.174) 0:01:21.655 ******** changed: [managed-node1] => { "changed": true, "checksum_dest": null, "checksum_src": "f370b1e6ba7deca6577fb46a6a950b49c9db1489", "dest": "/etc/pki/rpm-gpg/RPM-GPG-KEY-candlepin", "elapsed": 0, "gid": 0, "group": "root", "md5sum": "d4931d327ecd2a3dccb09cf858d0fd99", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1660, "src": "/root/.ansible/tmp/ansible-tmp-1737389436.45-12106-161399992493683/tmpCVf5b3", "state": "file", "status_code": 200, "uid": 0, "url": "http://candlepin.local:8080/RPM-GPG-KEY-candlepin" } MSG: OK (1660 bytes) TASK [Add environments] ******************************************************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:136 Monday 20 January 2025 11:10:36 -0500 (0:00:00.563) 0:01:22.219 ******** skipping: [managed-node1] => (item={u'id': u'envId1', u'name': u'Environment 1', u'desc': u'The environment 1'}) => { "ansible_loop_var": "item", "changed": false, "item": { "desc": "The environment 1", "id": "envId1", "name": "Environment 1" }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'id': u'envId2', u'name': u'Environment 2', u'desc': u'The environment 2'}) => { "ansible_loop_var": "item", "changed": false, "item": { "desc": "The environment 2", "id": "envId2", "name": "Environment 2" }, "skip_reason": "Conditional result was False" } TASK [Check Candlepin works] *************************************************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/check_candlepin.yml:3 Monday 20 January 2025 11:10:37 -0500 (0:00:00.054) 0:01:22.273 ******** ok: [managed-node1] => { "changed": false, "connection": "close", "content_type": "application/json", "cookies": {}, "cookies_string": "", "date": "Mon, 20 Jan 2025 16:10:36 GMT", "elapsed": 0, "redirected": true, "status": 200, "transfer_encoding": "chunked", "url": "https://candlepin.local:8443/candlepin/", "vary": "accept-encoding", "x_candlepin_request_uuid": "e2e44f10-a50f-47d8-9b29-bc018a8cf140", "x_version": "4.5.1-2" } MSG: OK (unknown bytes) TASK [Register (wrong username, wrong password)] ******************************* task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/tests/rhc/tests_register_unregister.yml:15 Monday 20 January 2025 11:10:37 -0500 (0:00:00.478) 0:01:22.751 ******** TASK [fedora.linux_system_roles.rhc : Set ansible_facts required by role] ****** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/main.yml:3 Monday 20 January 2025 11:10:37 -0500 (0:00:00.027) 0:01:22.779 ******** included: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.rhc : Ensure ansible_facts used by role] ******* task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/set_vars.yml:3 Monday 20 January 2025 11:10:37 -0500 (0:00:00.080) 0:01:22.860 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Check if system is ostree] *************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/set_vars.yml:11 Monday 20 January 2025 11:10:37 -0500 (0:00:00.043) 0:01:22.903 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Set flag to indicate system is ostree] *** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/set_vars.yml:16 Monday 20 January 2025 11:10:37 -0500 (0:00:00.039) 0:01:22.943 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Check if insights-packages are installed] *** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/set_vars.yml:20 Monday 20 January 2025 11:10:37 -0500 (0:00:00.039) 0:01:22.982 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Handle insights unregistration] ********** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/main.yml:6 Monday 20 January 2025 11:10:37 -0500 (0:00:00.039) 0:01:23.021 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Handle system subscription] ************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/main.yml:15 Monday 20 January 2025 11:10:37 -0500 (0:00:00.039) 0:01:23.060 ******** included: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml for managed-node1 TASK [fedora.linux_system_roles.rhc : Ensure required packages are installed] *** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:3 Monday 20 January 2025 11:10:37 -0500 (0:00:00.032) 0:01:23.093 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "subscription-manager-1.24.54-1.el7.centos.x86_64 providing subscription-manager is already installed" ] } TASK [fedora.linux_system_roles.rhc : Get subscription status] ***************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:10 Monday 20 January 2025 11:10:38 -0500 (0:00:00.891) 0:01:23.985 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Call subscription-manager] *************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:23 Monday 20 January 2025 11:10:38 -0500 (0:00:00.042) 0:01:24.028 ******** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "/sbin/subscription-manager register --org donaldduck --username invalid-user --password '********'", "rc": 70 } STDOUT: Registering to: candlepin.local:8443/candlepin STDERR: HTTP error (401 - Unauthorized): Invalid Credentials MSG: HTTP error (401 - Unauthorized): Invalid Credentials TASK [Assert registration failed] ********************************************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/tests/rhc/tests_register_unregister.yml:35 Monday 20 January 2025 11:10:40 -0500 (0:00:01.453) 0:01:25.481 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Register] **************************************************************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/tests/rhc/tests_register_unregister.yml:39 Monday 20 January 2025 11:10:40 -0500 (0:00:00.044) 0:01:25.525 ******** TASK [fedora.linux_system_roles.rhc : Set ansible_facts required by role] ****** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/main.yml:3 Monday 20 January 2025 11:10:40 -0500 (0:00:00.029) 0:01:25.554 ******** included: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.rhc : Ensure ansible_facts used by role] ******* task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/set_vars.yml:3 Monday 20 January 2025 11:10:40 -0500 (0:00:00.024) 0:01:25.579 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Check if system is ostree] *************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/set_vars.yml:11 Monday 20 January 2025 11:10:40 -0500 (0:00:00.042) 0:01:25.622 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Set flag to indicate system is ostree] *** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/set_vars.yml:16 Monday 20 January 2025 11:10:40 -0500 (0:00:00.040) 0:01:25.662 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Check if insights-packages are installed] *** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/set_vars.yml:20 Monday 20 January 2025 11:10:40 -0500 (0:00:00.040) 0:01:25.702 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Handle insights unregistration] ********** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/main.yml:6 Monday 20 January 2025 11:10:40 -0500 (0:00:00.040) 0:01:25.743 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Handle system subscription] ************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/main.yml:15 Monday 20 January 2025 11:10:40 -0500 (0:00:00.039) 0:01:25.782 ******** included: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml for managed-node1 TASK [fedora.linux_system_roles.rhc : Ensure required packages are installed] *** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:3 Monday 20 January 2025 11:10:40 -0500 (0:00:00.031) 0:01:25.814 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "subscription-manager-1.24.54-1.el7.centos.x86_64 providing subscription-manager is already installed" ] } TASK [fedora.linux_system_roles.rhc : Get subscription status] ***************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:10 Monday 20 January 2025 11:10:41 -0500 (0:00:00.892) 0:01:26.706 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Call subscription-manager] *************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:23 Monday 20 January 2025 11:10:41 -0500 (0:00:00.043) 0:01:26.750 ******** changed: [managed-node1] => { "changed": true, "subscribed_pool_ids": [] } MSG: System successfully registered to 'candlepin.local'. TASK [fedora.linux_system_roles.rhc : Set or unset the release] **************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:49 Monday 20 January 2025 11:10:49 -0500 (0:00:08.473) 0:01:35.223 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Configure repositories] ****************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:58 Monday 20 January 2025 11:10:49 -0500 (0:00:00.045) 0:01:35.269 ******** TASK [fedora.linux_system_roles.rhc : Handle insights registration] ************ task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/main.yml:18 Monday 20 January 2025 11:10:50 -0500 (0:00:00.039) 0:01:35.308 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Register (noop)] ********************************************************* task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/tests/rhc/tests_register_unregister.yml:57 Monday 20 January 2025 11:10:50 -0500 (0:00:00.042) 0:01:35.350 ******** TASK [fedora.linux_system_roles.rhc : Set ansible_facts required by role] ****** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/main.yml:3 Monday 20 January 2025 11:10:50 -0500 (0:00:00.025) 0:01:35.376 ******** included: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.rhc : Ensure ansible_facts used by role] ******* task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/set_vars.yml:3 Monday 20 January 2025 11:10:50 -0500 (0:00:00.025) 0:01:35.401 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Check if system is ostree] *************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/set_vars.yml:11 Monday 20 January 2025 11:10:50 -0500 (0:00:00.042) 0:01:35.443 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Set flag to indicate system is ostree] *** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/set_vars.yml:16 Monday 20 January 2025 11:10:50 -0500 (0:00:00.040) 0:01:35.484 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Check if insights-packages are installed] *** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/set_vars.yml:20 Monday 20 January 2025 11:10:50 -0500 (0:00:00.061) 0:01:35.545 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Handle insights unregistration] ********** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/main.yml:6 Monday 20 January 2025 11:10:50 -0500 (0:00:00.040) 0:01:35.586 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Handle system subscription] ************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/main.yml:15 Monday 20 January 2025 11:10:50 -0500 (0:00:00.041) 0:01:35.627 ******** included: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml for managed-node1 TASK [fedora.linux_system_roles.rhc : Ensure required packages are installed] *** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:3 Monday 20 January 2025 11:10:50 -0500 (0:00:00.030) 0:01:35.658 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "subscription-manager-1.24.54-1.el7.centos.x86_64 providing subscription-manager is already installed" ] } TASK [fedora.linux_system_roles.rhc : Get subscription status] ***************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:10 Monday 20 January 2025 11:10:51 -0500 (0:00:01.289) 0:01:36.948 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Call subscription-manager] *************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:23 Monday 20 January 2025 11:10:51 -0500 (0:00:00.056) 0:01:37.005 ******** ok: [managed-node1] => { "changed": false } MSG: System already registered. TASK [fedora.linux_system_roles.rhc : Set or unset the release] **************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:49 Monday 20 January 2025 11:10:52 -0500 (0:00:00.952) 0:01:37.957 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Configure repositories] ****************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:58 Monday 20 January 2025 11:10:52 -0500 (0:00:00.046) 0:01:38.003 ******** TASK [fedora.linux_system_roles.rhc : Handle insights registration] ************ task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/main.yml:18 Monday 20 January 2025 11:10:52 -0500 (0:00:00.038) 0:01:38.042 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get rhsm UUID] *********************************************************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/tests/rhc/tests_register_unregister.yml:75 Monday 20 January 2025 11:10:52 -0500 (0:00:00.050) 0:01:38.092 ******** included: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/get_rhsm_uuid.yml for managed-node1 TASK [Run subscription-manager identity] *************************************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/get_rhsm_uuid.yml:3 Monday 20 January 2025 11:10:52 -0500 (0:00:00.034) 0:01:38.126 ******** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\nsubscription-manager identity |\nawk '/^system identity: / {print $3}'\n", "delta": "0:00:00.376512", "end": "2025-01-20 11:10:53.525254", "rc": 0, "start": "2025-01-20 11:10:53.148742" } STDOUT: b53c9b73-be79-4cf3-9467-4293472f667e TASK [Rename the rhsm UUID to test_rhsm_uuid_before] *************************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/tests/rhc/tests_register_unregister.yml:78 Monday 20 January 2025 11:10:53 -0500 (0:00:00.718) 0:01:38.845 ******** ok: [managed-node1] => { "ansible_facts": { "test_rhsm_uuid_before": { "changed": false, "cmd": "set -euo pipefail\nsubscription-manager identity |\nawk '/^system identity: / {print $3}'\n", "delta": "0:00:00.376512", "end": "2025-01-20 11:10:53.525254", "failed": false, "rc": 0, "start": "2025-01-20 11:10:53.148742", "stderr": "", "stderr_lines": [], "stdout": "b53c9b73-be79-4cf3-9467-4293472f667e", "stdout_lines": [ "b53c9b73-be79-4cf3-9467-4293472f667e" ] } }, "changed": false } TASK [Register (force)] ******************************************************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/tests/rhc/tests_register_unregister.yml:82 Monday 20 January 2025 11:10:53 -0500 (0:00:00.047) 0:01:38.892 ******** TASK [fedora.linux_system_roles.rhc : Set ansible_facts required by role] ****** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/main.yml:3 Monday 20 January 2025 11:10:53 -0500 (0:00:00.048) 0:01:38.941 ******** included: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.rhc : Ensure ansible_facts used by role] ******* task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/set_vars.yml:3 Monday 20 January 2025 11:10:53 -0500 (0:00:00.036) 0:01:38.977 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Check if system is ostree] *************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/set_vars.yml:11 Monday 20 January 2025 11:10:53 -0500 (0:00:00.052) 0:01:39.029 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Set flag to indicate system is ostree] *** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/set_vars.yml:16 Monday 20 January 2025 11:10:53 -0500 (0:00:00.043) 0:01:39.073 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Check if insights-packages are installed] *** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/set_vars.yml:20 Monday 20 January 2025 11:10:53 -0500 (0:00:00.045) 0:01:39.118 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Handle insights unregistration] ********** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/main.yml:6 Monday 20 January 2025 11:10:53 -0500 (0:00:00.056) 0:01:39.174 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Handle system subscription] ************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/main.yml:15 Monday 20 January 2025 11:10:53 -0500 (0:00:00.047) 0:01:39.222 ******** included: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml for managed-node1 TASK [fedora.linux_system_roles.rhc : Ensure required packages are installed] *** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:3 Monday 20 January 2025 11:10:53 -0500 (0:00:00.032) 0:01:39.254 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Get subscription status] ***************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:10 Monday 20 January 2025 11:10:54 -0500 (0:00:00.041) 0:01:39.296 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Call subscription-manager] *************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:23 Monday 20 January 2025 11:10:54 -0500 (0:00:00.040) 0:01:39.337 ******** changed: [managed-node1] => { "changed": true, "subscribed_pool_ids": [] } MSG: System successfully registered to 'candlepin.local'. TASK [fedora.linux_system_roles.rhc : Set or unset the release] **************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:49 Monday 20 January 2025 11:10:58 -0500 (0:00:04.786) 0:01:44.123 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Configure repositories] ****************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:58 Monday 20 January 2025 11:10:58 -0500 (0:00:00.065) 0:01:44.189 ******** TASK [fedora.linux_system_roles.rhc : Handle insights registration] ************ task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/main.yml:18 Monday 20 January 2025 11:10:58 -0500 (0:00:00.048) 0:01:44.238 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get rhsm UUID] *********************************************************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/tests/rhc/tests_register_unregister.yml:101 Monday 20 January 2025 11:10:59 -0500 (0:00:00.045) 0:01:44.283 ******** included: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/get_rhsm_uuid.yml for managed-node1 TASK [Run subscription-manager identity] *************************************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/get_rhsm_uuid.yml:3 Monday 20 January 2025 11:10:59 -0500 (0:00:00.028) 0:01:44.312 ******** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\nsubscription-manager identity |\nawk '/^system identity: / {print $3}'\n", "delta": "0:00:00.538092", "end": "2025-01-20 11:10:59.838103", "rc": 0, "start": "2025-01-20 11:10:59.300011" } STDOUT: 55a702f0-a7df-4b5c-be1c-2a5dc574319f TASK [Rename the rhsm UUID to test_rhsm_uuid_after] **************************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/tests/rhc/tests_register_unregister.yml:104 Monday 20 January 2025 11:10:59 -0500 (0:00:00.858) 0:01:45.170 ******** ok: [managed-node1] => { "ansible_facts": { "test_rhsm_uuid_after": { "changed": false, "cmd": "set -euo pipefail\nsubscription-manager identity |\nawk '/^system identity: / {print $3}'\n", "delta": "0:00:00.538092", "end": "2025-01-20 11:10:59.838103", "failed": false, "rc": 0, "start": "2025-01-20 11:10:59.300011", "stderr": "", "stderr_lines": [], "stdout": "55a702f0-a7df-4b5c-be1c-2a5dc574319f", "stdout_lines": [ "55a702f0-a7df-4b5c-be1c-2a5dc574319f" ] } }, "changed": false } TASK [Check the rhsm UUID changed] ********************************************* task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/tests/rhc/tests_register_unregister.yml:108 Monday 20 January 2025 11:10:59 -0500 (0:00:00.044) 0:01:45.214 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Unregister] ************************************************************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/tests/rhc/tests_register_unregister.yml:112 Monday 20 January 2025 11:10:59 -0500 (0:00:00.045) 0:01:45.260 ******** TASK [fedora.linux_system_roles.rhc : Set ansible_facts required by role] ****** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/main.yml:3 Monday 20 January 2025 11:11:00 -0500 (0:00:00.040) 0:01:45.300 ******** included: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.rhc : Ensure ansible_facts used by role] ******* task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/set_vars.yml:3 Monday 20 January 2025 11:11:00 -0500 (0:00:00.027) 0:01:45.328 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Check if system is ostree] *************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/set_vars.yml:11 Monday 20 January 2025 11:11:00 -0500 (0:00:00.042) 0:01:45.370 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Set flag to indicate system is ostree] *** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/set_vars.yml:16 Monday 20 January 2025 11:11:00 -0500 (0:00:00.040) 0:01:45.410 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Check if insights-packages are installed] *** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/set_vars.yml:20 Monday 20 January 2025 11:11:00 -0500 (0:00:00.039) 0:01:45.450 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Handle insights unregistration] ********** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/main.yml:6 Monday 20 January 2025 11:11:00 -0500 (0:00:00.041) 0:01:45.491 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Handle system subscription] ************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/main.yml:15 Monday 20 January 2025 11:11:00 -0500 (0:00:00.040) 0:01:45.532 ******** included: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml for managed-node1 TASK [fedora.linux_system_roles.rhc : Ensure required packages are installed] *** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:3 Monday 20 January 2025 11:11:00 -0500 (0:00:00.030) 0:01:45.562 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Get subscription status] ***************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:10 Monday 20 January 2025 11:11:00 -0500 (0:00:00.043) 0:01:45.606 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Call subscription-manager] *************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:23 Monday 20 January 2025 11:11:00 -0500 (0:00:00.043) 0:01:45.650 ******** changed: [managed-node1] => { "changed": true } MSG: System successfully unregistered from None. TASK [fedora.linux_system_roles.rhc : Set or unset the release] **************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:49 Monday 20 January 2025 11:11:02 -0500 (0:00:01.765) 0:01:47.415 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Configure repositories] ****************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:58 Monday 20 January 2025 11:11:02 -0500 (0:00:00.046) 0:01:47.462 ******** TASK [fedora.linux_system_roles.rhc : Handle insights registration] ************ task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/main.yml:18 Monday 20 January 2025 11:11:02 -0500 (0:00:00.048) 0:01:47.510 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Register (activation key, missing org)] ********************************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/tests/rhc/tests_register_unregister.yml:120 Monday 20 January 2025 11:11:02 -0500 (0:00:00.047) 0:01:47.558 ******** TASK [fedora.linux_system_roles.rhc : Set ansible_facts required by role] ****** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/main.yml:3 Monday 20 January 2025 11:11:02 -0500 (0:00:00.045) 0:01:47.604 ******** included: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.rhc : Ensure ansible_facts used by role] ******* task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/set_vars.yml:3 Monday 20 January 2025 11:11:02 -0500 (0:00:00.036) 0:01:47.640 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Check if system is ostree] *************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/set_vars.yml:11 Monday 20 January 2025 11:11:02 -0500 (0:00:00.059) 0:01:47.699 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Set flag to indicate system is ostree] *** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/set_vars.yml:16 Monday 20 January 2025 11:11:02 -0500 (0:00:00.060) 0:01:47.760 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Check if insights-packages are installed] *** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/set_vars.yml:20 Monday 20 January 2025 11:11:02 -0500 (0:00:00.079) 0:01:47.840 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Handle insights unregistration] ********** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/main.yml:6 Monday 20 January 2025 11:11:02 -0500 (0:00:00.072) 0:01:47.913 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Handle system subscription] ************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/main.yml:15 Monday 20 January 2025 11:11:02 -0500 (0:00:00.064) 0:01:47.978 ******** included: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml for managed-node1 TASK [fedora.linux_system_roles.rhc : Ensure required packages are installed] *** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:3 Monday 20 January 2025 11:11:02 -0500 (0:00:00.049) 0:01:48.028 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "subscription-manager-1.24.54-1.el7.centos.x86_64 providing subscription-manager is already installed" ] } TASK [fedora.linux_system_roles.rhc : Get subscription status] ***************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:10 Monday 20 January 2025 11:11:03 -0500 (0:00:00.949) 0:01:48.978 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Call subscription-manager] *************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:23 Monday 20 January 2025 11:11:03 -0500 (0:00:00.057) 0:01:49.035 ******** fatal: [managed-node1]: FAILED! => { "changed": false } MSG: org_id is required when using activationkey TASK [Assert registration failed] ********************************************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/tests/rhc/tests_register_unregister.yml:140 Monday 20 January 2025 11:11:04 -0500 (0:00:00.575) 0:01:49.611 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Register (using activation keys)] **************************************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/tests/rhc/tests_register_unregister.yml:144 Monday 20 January 2025 11:11:04 -0500 (0:00:00.070) 0:01:49.682 ******** TASK [fedora.linux_system_roles.rhc : Set ansible_facts required by role] ****** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/main.yml:3 Monday 20 January 2025 11:11:04 -0500 (0:00:00.034) 0:01:49.716 ******** included: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.rhc : Ensure ansible_facts used by role] ******* task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/set_vars.yml:3 Monday 20 January 2025 11:11:04 -0500 (0:00:00.039) 0:01:49.755 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Check if system is ostree] *************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/set_vars.yml:11 Monday 20 January 2025 11:11:04 -0500 (0:00:00.117) 0:01:49.873 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Set flag to indicate system is ostree] *** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/set_vars.yml:16 Monday 20 January 2025 11:11:04 -0500 (0:00:00.053) 0:01:49.926 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Check if insights-packages are installed] *** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/set_vars.yml:20 Monday 20 January 2025 11:11:04 -0500 (0:00:00.054) 0:01:49.981 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Handle insights unregistration] ********** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/main.yml:6 Monday 20 January 2025 11:11:04 -0500 (0:00:00.046) 0:01:50.028 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Handle system subscription] ************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/main.yml:15 Monday 20 January 2025 11:11:04 -0500 (0:00:00.049) 0:01:50.077 ******** included: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml for managed-node1 TASK [fedora.linux_system_roles.rhc : Ensure required packages are installed] *** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:3 Monday 20 January 2025 11:11:04 -0500 (0:00:00.043) 0:01:50.120 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "subscription-manager-1.24.54-1.el7.centos.x86_64 providing subscription-manager is already installed" ] } TASK [fedora.linux_system_roles.rhc : Get subscription status] ***************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:10 Monday 20 January 2025 11:11:05 -0500 (0:00:00.931) 0:01:51.052 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Call subscription-manager] *************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:23 Monday 20 January 2025 11:11:05 -0500 (0:00:00.052) 0:01:51.105 ******** changed: [managed-node1] => { "changed": true, "subscribed_pool_ids": [] } MSG: System successfully registered to 'candlepin.local'. TASK [fedora.linux_system_roles.rhc : Set or unset the release] **************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:49 Monday 20 January 2025 11:11:10 -0500 (0:00:04.659) 0:01:55.764 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Configure repositories] ****************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:58 Monday 20 January 2025 11:11:10 -0500 (0:00:00.069) 0:01:55.834 ******** TASK [fedora.linux_system_roles.rhc : Handle insights registration] ************ task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/main.yml:18 Monday 20 January 2025 11:11:10 -0500 (0:00:00.093) 0:01:55.928 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Register (using activation keys, noop)] ********************************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/tests/rhc/tests_register_unregister.yml:161 Monday 20 January 2025 11:11:10 -0500 (0:00:00.104) 0:01:56.032 ******** TASK [fedora.linux_system_roles.rhc : Set ansible_facts required by role] ****** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/main.yml:3 Monday 20 January 2025 11:11:10 -0500 (0:00:00.087) 0:01:56.120 ******** included: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.rhc : Ensure ansible_facts used by role] ******* task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/set_vars.yml:3 Monday 20 January 2025 11:11:10 -0500 (0:00:00.053) 0:01:56.174 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Check if system is ostree] *************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/set_vars.yml:11 Monday 20 January 2025 11:11:10 -0500 (0:00:00.082) 0:01:56.256 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Set flag to indicate system is ostree] *** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/set_vars.yml:16 Monday 20 January 2025 11:11:11 -0500 (0:00:00.069) 0:01:56.326 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Check if insights-packages are installed] *** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/set_vars.yml:20 Monday 20 January 2025 11:11:11 -0500 (0:00:00.089) 0:01:56.416 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Handle insights unregistration] ********** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/main.yml:6 Monday 20 January 2025 11:11:11 -0500 (0:00:00.103) 0:01:56.519 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Handle system subscription] ************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/main.yml:15 Monday 20 January 2025 11:11:11 -0500 (0:00:00.060) 0:01:56.580 ******** included: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml for managed-node1 TASK [fedora.linux_system_roles.rhc : Ensure required packages are installed] *** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:3 Monday 20 January 2025 11:11:11 -0500 (0:00:00.073) 0:01:56.653 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "subscription-manager-1.24.54-1.el7.centos.x86_64 providing subscription-manager is already installed" ] } TASK [fedora.linux_system_roles.rhc : Get subscription status] ***************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:10 Monday 20 January 2025 11:11:12 -0500 (0:00:01.341) 0:01:57.995 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Call subscription-manager] *************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:23 Monday 20 January 2025 11:11:12 -0500 (0:00:00.067) 0:01:58.063 ******** ok: [managed-node1] => { "changed": false } MSG: System already registered. TASK [fedora.linux_system_roles.rhc : Set or unset the release] **************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:49 Monday 20 January 2025 11:11:13 -0500 (0:00:01.043) 0:01:59.107 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Configure repositories] ****************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:58 Monday 20 January 2025 11:11:13 -0500 (0:00:00.068) 0:01:59.175 ******** TASK [fedora.linux_system_roles.rhc : Handle insights registration] ************ task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/main.yml:18 Monday 20 January 2025 11:11:13 -0500 (0:00:00.052) 0:01:59.227 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unregister] ************************************************************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/tests/rhc/tests_register_unregister.yml:178 Monday 20 January 2025 11:11:14 -0500 (0:00:00.050) 0:01:59.278 ******** TASK [fedora.linux_system_roles.rhc : Set ansible_facts required by role] ****** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/main.yml:3 Monday 20 January 2025 11:11:14 -0500 (0:00:00.040) 0:01:59.318 ******** included: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.rhc : Ensure ansible_facts used by role] ******* task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/set_vars.yml:3 Monday 20 January 2025 11:11:14 -0500 (0:00:00.040) 0:01:59.358 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Check if system is ostree] *************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/set_vars.yml:11 Monday 20 January 2025 11:11:14 -0500 (0:00:00.073) 0:01:59.432 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Set flag to indicate system is ostree] *** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/set_vars.yml:16 Monday 20 January 2025 11:11:14 -0500 (0:00:00.058) 0:01:59.490 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Check if insights-packages are installed] *** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/set_vars.yml:20 Monday 20 January 2025 11:11:14 -0500 (0:00:00.063) 0:01:59.554 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Handle insights unregistration] ********** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/main.yml:6 Monday 20 January 2025 11:11:14 -0500 (0:00:00.058) 0:01:59.613 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Handle system subscription] ************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/main.yml:15 Monday 20 January 2025 11:11:14 -0500 (0:00:00.065) 0:01:59.678 ******** included: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml for managed-node1 TASK [fedora.linux_system_roles.rhc : Ensure required packages are installed] *** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:3 Monday 20 January 2025 11:11:14 -0500 (0:00:00.043) 0:01:59.721 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Get subscription status] ***************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:10 Monday 20 January 2025 11:11:14 -0500 (0:00:00.051) 0:01:59.773 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Call subscription-manager] *************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:23 Monday 20 January 2025 11:11:14 -0500 (0:00:00.052) 0:01:59.825 ******** changed: [managed-node1] => { "changed": true } MSG: System successfully unregistered from None. TASK [fedora.linux_system_roles.rhc : Set or unset the release] **************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:49 Monday 20 January 2025 11:11:16 -0500 (0:00:01.737) 0:02:01.563 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Configure repositories] ****************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:58 Monday 20 January 2025 11:11:16 -0500 (0:00:00.049) 0:02:01.612 ******** TASK [fedora.linux_system_roles.rhc : Handle insights registration] ************ task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/main.yml:18 Monday 20 January 2025 11:11:16 -0500 (0:00:00.050) 0:02:01.663 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unregister (noop)] ******************************************************* task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/tests/rhc/tests_register_unregister.yml:184 Monday 20 January 2025 11:11:16 -0500 (0:00:00.048) 0:02:01.712 ******** TASK [fedora.linux_system_roles.rhc : Set ansible_facts required by role] ****** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/main.yml:3 Monday 20 January 2025 11:11:16 -0500 (0:00:00.038) 0:02:01.750 ******** included: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.rhc : Ensure ansible_facts used by role] ******* task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/set_vars.yml:3 Monday 20 January 2025 11:11:16 -0500 (0:00:00.033) 0:02:01.783 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Check if system is ostree] *************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/set_vars.yml:11 Monday 20 January 2025 11:11:16 -0500 (0:00:00.057) 0:02:01.841 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Set flag to indicate system is ostree] *** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/set_vars.yml:16 Monday 20 January 2025 11:11:16 -0500 (0:00:00.049) 0:02:01.890 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Check if insights-packages are installed] *** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/set_vars.yml:20 Monday 20 January 2025 11:11:16 -0500 (0:00:00.050) 0:02:01.940 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Handle insights unregistration] ********** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/main.yml:6 Monday 20 January 2025 11:11:16 -0500 (0:00:00.048) 0:02:01.989 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Handle system subscription] ************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/main.yml:15 Monday 20 January 2025 11:11:16 -0500 (0:00:00.048) 0:02:02.037 ******** included: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml for managed-node1 TASK [fedora.linux_system_roles.rhc : Ensure required packages are installed] *** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:3 Monday 20 January 2025 11:11:16 -0500 (0:00:00.045) 0:02:02.082 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Get subscription status] ***************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:10 Monday 20 January 2025 11:11:16 -0500 (0:00:00.057) 0:02:02.140 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Call subscription-manager] *************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:23 Monday 20 January 2025 11:11:16 -0500 (0:00:00.077) 0:02:02.217 ******** ok: [managed-node1] => { "changed": false } MSG: System already unregistered. TASK [fedora.linux_system_roles.rhc : Set or unset the release] **************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:49 Monday 20 January 2025 11:11:17 -0500 (0:00:00.930) 0:02:03.148 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Configure repositories] ****************** task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:58 Monday 20 January 2025 11:11:17 -0500 (0:00:00.055) 0:02:03.203 ******** TASK [fedora.linux_system_roles.rhc : Handle insights registration] ************ task path: /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/main.yml:18 Monday 20 January 2025 11:11:17 -0500 (0:00:00.051) 0:02:03.255 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node1 : ok=62 changed=9 unreachable=0 failed=0 skipped=91 rescued=2 ignored=0 Monday 20 January 2025 11:11:18 -0500 (0:00:00.055) 0:02:03.311 ******** =============================================================================== Install needed packages ------------------------------------------------ 25.15s /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:31 Start Candlepin container ---------------------------------------------- 23.44s /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:50 Wait for started Candlepin --------------------------------------------- 18.17s /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:117 fedora.linux_system_roles.rhc : Call subscription-manager --------------- 8.47s /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:23 fedora.linux_system_roles.rhc : Call subscription-manager --------------- 4.79s /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:23 fedora.linux_system_roles.rhc : Call subscription-manager --------------- 4.66s /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:23 Update system certificates store ---------------------------------------- 3.39s /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:110 Stop and remove Candlepin container ------------------------------------- 2.93s /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:38 Ensure directories exist ------------------------------------------------ 2.41s /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:71 fedora.linux_system_roles.rhc : Call subscription-manager --------------- 1.77s /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:23 fedora.linux_system_roles.rhc : Call subscription-manager --------------- 1.74s /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:23 Copy Candlepin CA certificate for system -------------------------------- 1.56s /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:101 fedora.linux_system_roles.rhc : Call subscription-manager --------------- 1.45s /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:23 Copy Candlepin CA certificate for subscription-manager ------------------ 1.35s /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:92 fedora.linux_system_roles.rhc : Ensure required packages are installed --- 1.34s /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:3 fedora.linux_system_roles.rhc : Ensure required packages are installed --- 1.29s /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:3 Copy product certificates ----------------------------------------------- 1.16s /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:81 fedora.linux_system_roles.rhc : Call subscription-manager --------------- 1.04s /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:23 fedora.linux_system_roles.rhc : Call subscription-manager --------------- 0.95s /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:23 fedora.linux_system_roles.rhc : Ensure required packages are installed --- 0.95s /tmp/collections-CTC/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:3