Given following log snippets, their explanation, and nothing else, explain what failure, if any, occurred during build of this package.

  Snippets are in a format of [X] : [Y], where [X] is a log snippet, and [Y] is the explanation.

  Snippets are delimited with '================'.

  Drawing on information from all snippets, provide a concise explanation of the issue and recommend a solution.

  Explanation of the issue, and recommended solution, should take a handful of sentences.

  Snippets:

  [+ pytest --junit-xml=./junit.xml -v integration-tests
]: [run of pytest integration tests]
=============
[integration-tests/test_register.py::test_register 
]: [a test]
=============
[integration-tests/test_register.py::test_register_with_org 
]: [a test to verify a user can register a system using org attribute ]
=============
[integration-tests/test_register.py::test_register_with_enable_content[true] 
-------------------------------- live log setup --------------------------------
DEBUG    pytest_client_tools:util.py:135 running ['config', '--logging.default_log_level=DEBUG'] with options {'check': True, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['config', '--logging.default_log_level=DEBUG'], returncode=0, stdout='', stderr='')
DEBUG    pytest_client_tools:util.py:135 running ['config', '--server.hostname=localhost', '--server.port=8443', '--server.prefix=/candlepin', '--server.insecure=1'] with options {'check': True, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['config', '--server.hostname=localhost', '--server.port=8443', '--server.prefix=/candlepin', '--server.insecure=1'], returncode=0, stdout='', stderr='')
-------------------------------- live log call ---------------------------------
DEBUG    pytest_client_tools:util.py:135 running ['identity'] with options {'check': False, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['identity'], returncode=1, stdout='', stderr="This system is not yet registered. Try 'subscription-manager register --help' for more information.\n")
DEBUG    conftest:conftest.py:27 subscription: starting RHSM private DBus session
DEBUG    conftest:conftest.py:30 subscription: RHSM private DBus session has been started
INFO     conftest:conftest.py:44 Connecting to the RHSM private DBus session.
DEBUG    conftest:conftest.py:34 subscription: shutting down the RHSM private DBus session
DEBUG    dasbus.connection:connection.py:311 Disconnecting from the bus.
DEBUG    conftest:conftest.py:38 subscription: RHSM private DBus session has been shutdown
DEBUG    pytest_client_tools:util.py:135 running ['identity'] with options {'check': False, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['identity'], returncode=0, stdout='system identity: 04b050be-adb2-430f-be19-ff2d3d81ddf5\nname: ip-172-31-17-224.us-east-2.compute.internal\norg name: Donald Duck\norg ID: donaldduck\nenvironment name: None\n', stderr='')
PASSED
------------------------------ live log teardown -------------------------------
DEBUG    pytest_client_tools:util.py:135 running ['unregister'] with options {'check': True, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['unregister'], returncode=0, stdout='Unregistering from: localhost:8443/candlepin\nSystem has been unregistered.\n', stderr='')
DEBUG    pytest_client_tools:util.py:135 running (['systemctl', 'stop', 'rhsmcertd.service'],) with options {'check': True, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['systemctl', 'stop', 'rhsmcertd.service'], returncode=0, stdout='', stderr='')
DEBUG    pytest_client_tools:util.py:135 running (['pkill', '-e', '-x', 'rhsmcertd'],) with options {'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['pkill', '-e', '-x', 'rhsmcertd'], returncode=1, stdout='', stderr='')
------------------------------- live log finish --------------------------------
DEBUG    pytest_client_tools:util.py:135 running (['auditctl', '-m', 'pytest-client-tools-4ae6ea2d-1602-47f2-ac67-f0047b92f80f'],) with options {'check': True, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['auditctl', '-m', 'pytest-client-tools-4ae6ea2d-1602-47f2-ac67-f0047b92f80f'], returncode=0, stdout='', stderr='')
DEBUG    pytest_client_tools:util.py:135 running ('ausearch -i -m user | grep -q pytest-client-tools-4ae6ea2d-1602-47f2-ac67-f0047b92f80f',) with options {'check': False, 'stdin': -3, 'stdout': -1, 'stderr': -1, 'shell': True, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args='ausearch -i -m user | grep -q pytest-client-tools-4ae6ea2d-1602-47f2-ac67-f0047b92f80f', returncode=0, stdout='', stderr='')
DEBUG    pytest_client_tools:util.py:135 running (['ausearch', '-i', '-m', 'avc', '-ts', '05/05/25', '13:36:20'],) with options {'check': False, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['ausearch', '-i', '-m', 'avc', '-ts', '05/05/25', '13:36:20'], returncode=1, stdout='', stderr='Error - year is 25\n')

integration-tests/test_register.py::test_register_with_enable_content[false] 
-------------------------------- live log setup --------------------------------
DEBUG    pytest_client_tools:util.py:135 running ['config', '--logging.default_log_level=DEBUG'] with options {'check': True, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['config', '--logging.default_log_level=DEBUG'], returncode=0, stdout='', stderr='')
DEBUG    pytest_client_tools:util.py:135 running ['config', '--server.hostname=localhost', '--server.port=8443', '--server.prefix=/candlepin', '--server.insecure=1'] with options {'check': True, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['config', '--server.hostname=localhost', '--server.port=8443', '--server.prefix=/candlepin', '--server.insecure=1'], returncode=0, stdout='', stderr='')
-------------------------------- live log call ---------------------------------
DEBUG    pytest_client_tools:util.py:135 running ['identity'] with options {'check': False, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['identity'], returncode=1, stdout='', stderr="This system is not yet registered. Try 'subscription-manager register --help' for more information.\n")
DEBUG    conftest:conftest.py:27 subscription: starting RHSM private DBus session
DEBUG    conftest:conftest.py:30 subscription: RHSM private DBus session has been started
INFO     conftest:conftest.py:44 Connecting to the RHSM private DBus session.
DEBUG    conftest:conftest.py:34 subscription: shutting down the RHSM private DBus session
DEBUG    dasbus.connection:connection.py:311 Disconnecting from the bus.
DEBUG    conftest:conftest.py:38 subscription: RHSM private DBus session has been shutdown
DEBUG    pytest_client_tools:util.py:135 running ['identity'] with options {'check': False, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['identity'], returncode=0, stdout='system identity: 2ef89678-91e3-434e-9fac-44551eb88756\nname: ip-172-31-17-224.us-east-2.compute.internal\norg name: Donald Duck\norg ID: donaldduck\nenvironment name: None\n', stderr='')
PASSED
------------------------------ live log teardown -------------------------------
DEBUG    pytest_client_tools:util.py:135 running ['unregister'] with options {'check': True, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['unregister'], returncode=0, stdout='Unregistering from: localhost:8443/candlepin\nSystem has been unregistered.\n', stderr='')
DEBUG    pytest_client_tools:util.py:135 running (['systemctl', 'stop', 'rhsmcertd.service'],) with options {'check': True, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['systemctl', 'stop', 'rhsmcertd.service'], returncode=0, stdout='', stderr='')
DEBUG    pytest_client_tools:util.py:135 running (['pkill', '-e', '-x', 'rhsmcertd'],) with options {'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['pkill', '-e', '-x', 'rhsmcertd'], returncode=1, stdout='', stderr='')
------------------------------- live log finish --------------------------------
DEBUG    pytest_client_tools:util.py:135 running (['auditctl', '-m', 'pytest-client-tools-5931da10-d726-4f0b-9066-92a5318f5f36'],) with options {'check': True, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['auditctl', '-m', 'pytest-client-tools-5931da10-d726-4f0b-9066-92a5318f5f36'], returncode=0, stdout='', stderr='')
DEBUG    pytest_client_tools:util.py:135 running ('ausearch -i -m user | grep -q pytest-client-tools-5931da10-d726-4f0b-9066-92a5318f5f36',) with options {'check': False, 'stdin': -3, 'stdout': -1, 'stderr': -1, 'shell': True, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args='ausearch -i -m user | grep -q pytest-client-tools-5931da10-d726-4f0b-9066-92a5318f5f36', returncode=0, stdout='', stderr='')
DEBUG    pytest_client_tools:util.py:135 running (['ausearch', '-i', '-m', 'avc', '-ts', '05/05/25', '13:36:24'],) with options {'check': False, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['ausearch', '-i', '-m', 'avc', '-ts', '05/05/25', '13:36:24'], returncode=1, stdout='', stderr='Error - year is 25\n')
]: [a user can register a system to an account with SCA mode enabled]
=============
[integration-tests/test_register.py::test_register_with_wrong_values[credentials0] 
-------------------------------- live log setup --------------------------------
DEBUG    pytest_client_tools:util.py:135 running ['config', '--logging.default_log_level=DEBUG'] with options {'check': True, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['config', '--logging.default_log_level=DEBUG'], returncode=0, stdout='', stderr='')
DEBUG    pytest_client_tools:util.py:135 running ['config', '--server.hostname=localhost', '--server.port=8443', '--server.prefix=/candlepin', '--server.insecure=1'] with options {'check': True, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['config', '--server.hostname=localhost', '--server.port=8443', '--server.prefix=/candlepin', '--server.insecure=1'], returncode=0, stdout='', stderr='')
-------------------------------- live log call ---------------------------------
DEBUG    pytest_client_tools:util.py:135 running ['identity'] with options {'check': False, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['identity'], returncode=1, stdout='', stderr="This system is not yet registered. Try 'subscription-manager register --help' for more information.\n")
DEBUG    conftest:conftest.py:27 subscription: starting RHSM private DBus session
DEBUG    conftest:conftest.py:30 subscription: RHSM private DBus session has been started
INFO     conftest:conftest.py:44 Connecting to the RHSM private DBus session.
DEBUG    conftest:conftest.py:34 subscription: shutting down the RHSM private DBus session
DEBUG    dasbus.connection:connection.py:311 Disconnecting from the bus.
DEBUG    conftest:conftest.py:38 subscription: RHSM private DBus session has been shutdown
PASSED
------------------------------ live log teardown -------------------------------
DEBUG    pytest_client_tools:util.py:135 running ['unregister'] with options {'check': True, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['unregister'], returncode=1, stdout='', stderr='This system is currently not registered.\n')
DEBUG    pytest_client_tools:util.py:135 running (['systemctl', 'stop', 'rhsmcertd.service'],) with options {'check': True, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['systemctl', 'stop', 'rhsmcertd.service'], returncode=0, stdout='', stderr='')
DEBUG    pytest_client_tools:util.py:135 running (['pkill', '-e', '-x', 'rhsmcertd'],) with options {'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['pkill', '-e', '-x', 'rhsmcertd'], returncode=1, stdout='', stderr='')
------------------------------- live log finish --------------------------------
DEBUG    pytest_client_tools:util.py:135 running (['auditctl', '-m', 'pytest-client-tools-414c1627-3c7c-4285-a88d-86b6e58738ff'],) with options {'check': True, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['auditctl', '-m', 'pytest-client-tools-414c1627-3c7c-4285-a88d-86b6e58738ff'], returncode=0, stdout='', stderr='')
DEBUG    pytest_client_tools:util.py:135 running ('ausearch -i -m user | grep -q pytest-client-tools-414c1627-3c7c-4285-a88d-86b6e58738ff',) with options {'check': False, 'stdin': -3, 'stdout': -1, 'stderr': -1, 'shell': True, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args='ausearch -i -m user | grep -q pytest-client-tools-414c1627-3c7c-4285-a88d-86b6e58738ff', returncode=0, stdout='', stderr='')
DEBUG    pytest_client_tools:util.py:135 running (['ausearch', '-i', '-m', 'avc', '-ts', '05/05/25', '13:36:28'],) with options {'check': False, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['ausearch', '-i', '-m', 'avc', '-ts', '05/05/25', '13:36:28'], returncode=1, stdout='', stderr='Error - year is 25\n')

integration-tests/test_register.py::test_register_with_wrong_values[credentials1] 
-------------------------------- live log setup --------------------------------
DEBUG    pytest_client_tools:util.py:135 running ['config', '--logging.default_log_level=DEBUG'] with options {'check': True, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['config', '--logging.default_log_level=DEBUG'], returncode=0, stdout='', stderr='')
DEBUG    pytest_client_tools:util.py:135 running ['config', '--server.hostname=localhost', '--server.port=8443', '--server.prefix=/candlepin', '--server.insecure=1'] with options {'check': True, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['config', '--server.hostname=localhost', '--server.port=8443', '--server.prefix=/candlepin', '--server.insecure=1'], returncode=0, stdout='', stderr='')
-------------------------------- live log call ---------------------------------
DEBUG    pytest_client_tools:util.py:135 running ['identity'] with options {'check': False, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['identity'], returncode=1, stdout='', stderr="This system is not yet registered. Try 'subscription-manager register --help' for more information.\n")
DEBUG    conftest:conftest.py:27 subscription: starting RHSM private DBus session
DEBUG    conftest:conftest.py:30 subscription: RHSM private DBus session has been started
INFO     conftest:conftest.py:44 Connecting to the RHSM private DBus session.
DEBUG    conftest:conftest.py:34 subscription: shutting down the RHSM private DBus session
DEBUG    dasbus.connection:connection.py:311 Disconnecting from the bus.
DEBUG    conftest:conftest.py:38 subscription: RHSM private DBus session has been shutdown
PASSED
------------------------------ live log teardown -------------------------------
DEBUG    pytest_client_tools:util.py:135 running ['unregister'] with options {'check': True, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['unregister'], returncode=1, stdout='', stderr='This system is currently not registered.\n')
DEBUG    pytest_client_tools:util.py:135 running (['systemctl', 'stop', 'rhsmcertd.service'],) with options {'check': True, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['systemctl', 'stop', 'rhsmcertd.service'], returncode=0, stdout='', stderr='')
DEBUG    pytest_client_tools:util.py:135 running (['pkill', '-e', '-x', 'rhsmcertd'],) with options {'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['pkill', '-e', '-x', 'rhsmcertd'], returncode=1, stdout='', stderr='')
------------------------------- live log finish --------------------------------
DEBUG    pytest_client_tools:util.py:135 running (['auditctl', '-m', 'pytest-client-tools-aeb704ba-cc69-4087-a88f-63f06ea4f910'],) with options {'check': True, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['auditctl', '-m', 'pytest-client-tools-aeb704ba-cc69-4087-a88f-63f06ea4f910'], returncode=0, stdout='', stderr='')
DEBUG    pytest_client_tools:util.py:135 running ('ausearch -i -m user | grep -q pytest-client-tools-aeb704ba-cc69-4087-a88f-63f06ea4f910',) with options {'check': False, 'stdin': -3, 'stdout': -1, 'stderr': -1, 'shell': True, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args='ausearch -i -m user | grep -q pytest-client-tools-aeb704ba-cc69-4087-a88f-63f06ea4f910', returncode=0, stdout='', stderr='')
DEBUG    pytest_client_tools:util.py:135 running (['ausearch', '-i', '-m', 'avc', '-ts', '05/05/25', '13:36:30'],) with options {'check': False, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['ausearch', '-i', '-m', 'avc', '-ts', '05/05/25', '13:36:30'], returncode=1, stdout='', stderr='Error - year is 25\n')
]: [a system rejects wrong credentials when registering]
=============
[integration-tests/test_register_with_activation_keys.py::test_register_with_activation_keys[2] 
-------------------------------- live log setup --------------------------------
DEBUG    pytest_client_tools:util.py:135 running ['config', '--logging.default_log_level=DEBUG'] with options {'check': True, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['config', '--logging.default_log_level=DEBUG'], returncode=0, stdout='', stderr='')
DEBUG    pytest_client_tools:util.py:135 running ['config', '--server.hostname=localhost', '--server.port=8443', '--server.prefix=/candlepin', '--server.insecure=1'] with options {'check': True, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['config', '--server.hostname=localhost', '--server.port=8443', '--server.prefix=/candlepin', '--server.insecure=1'], returncode=0, stdout='', stderr='')
-------------------------------- live log call ---------------------------------
DEBUG    pytest_client_tools:util.py:135 running ['identity'] with options {'check': False, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['identity'], returncode=1, stdout='', stderr="This system is not yet registered. Try 'subscription-manager register --help' for more information.\n")
DEBUG    conftest:conftest.py:27 subscription: starting RHSM private DBus session
DEBUG    conftest:conftest.py:30 subscription: RHSM private DBus session has been started
INFO     conftest:conftest.py:44 Connecting to the RHSM private DBus session.
DEBUG    test_register_with_activation_keys:test_register_with_activation_keys.py:46 [{'activationKeyName': 'default_key', 'activationKeyId': '8a8082e495ed16620195ed1799150984'}, {'activationKeyName': 'awesome_os_pool', 'activationKeyId': '8a8082e495ed16620195ed17991e0985'}]
DEBUG    conftest:conftest.py:34 subscription: shutting down the RHSM private DBus session
DEBUG    dasbus.connection:connection.py:311 Disconnecting from the bus.
DEBUG    conftest:conftest.py:38 subscription: RHSM private DBus session has been shutdown
DEBUG    pytest_client_tools:util.py:135 running ['identity'] with options {'check': False, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['identity'], returncode=0, stdout='system identity: 43b70d5b-ba66-488e-b3d8-3ccd2277da50\nname: ip-172-31-17-224.us-east-2.compute.internal\norg name: Donald Duck\norg ID: donaldduck\nenvironment name: None\n', stderr='')
PASSED
------------------------------ live log teardown -------------------------------
DEBUG    pytest_client_tools:util.py:135 running ['unregister'] with options {'check': True, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['unregister'], returncode=0, stdout='Unregistering from: localhost:8443/candlepin\nSystem has been unregistered.\n', stderr='')
DEBUG    pytest_client_tools:util.py:135 running (['systemctl', 'stop', 'rhsmcertd.service'],) with options {'check': True, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['systemctl', 'stop', 'rhsmcertd.service'], returncode=0, stdout='', stderr='')
DEBUG    pytest_client_tools:util.py:135 running (['pkill', '-e', '-x', 'rhsmcertd'],) with options {'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['pkill', '-e', '-x', 'rhsmcertd'], returncode=1, stdout='', stderr='')
------------------------------- live log finish --------------------------------
DEBUG    pytest_client_tools:util.py:135 running (['auditctl', '-m', 'pytest-client-tools-196839d5-fbbb-41a8-81dc-4a8182d99d1e'],) with options {'check': True, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['auditctl', '-m', 'pytest-client-tools-196839d5-fbbb-41a8-81dc-4a8182d99d1e'], returncode=0, stdout='', stderr='')
DEBUG    pytest_client_tools:util.py:135 running ('ausearch -i -m user | grep -q pytest-client-tools-196839d5-fbbb-41a8-81dc-4a8182d99d1e',) with options {'check': False, 'stdin': -3, 'stdout': -1, 'stderr': -1, 'shell': True, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args='ausearch -i -m user | grep -q pytest-client-tools-196839d5-fbbb-41a8-81dc-4a8182d99d1e', returncode=0, stdout='', stderr='')
DEBUG    pytest_client_tools:util.py:135 running (['ausearch', '-i', '-m', 'avc', '-ts', '05/05/25', '13:36:37'],) with options {'check': False, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['ausearch', '-i', '-m', 'avc', '-ts', '05/05/25', '13:36:37'], returncode=1, stdout='', stderr='Error - year is 25\n')

integration-tests/test_register_with_activation_keys.py::test_register_with_activation_keys_with_empty_list SKIPPED
------------------------------- live log finish --------------------------------
DEBUG    pytest_client_tools:util.py:135 running (['auditctl', '-m', 'pytest-client-tools-8a3b558a-ca59-4478-8c50-14b10e56a341'],) with options {'check': True, 'stdout': -1, 'stderr': -1, 'text': True}

DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['auditctl', '-m', 'pytest-client-tools-8a3b558a-ca59-4478-8c50-14b10e56a341'], returncode=0, stdout='', stderr='')
DEBUG    pytest_client_tools:util.py:135 running ('ausearch -i -m user | grep -q pytest-client-tools-8a3b558a-ca59-4478-8c50-14b10e56a341',) with options {'check': False, 'stdin': -3, 'stdout': -1, 'stderr': -1, 'shell': True, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args='ausearch -i -m user | grep -q pytest-client-tools-8a3b558a-ca59-4478-8c50-14b10e56a341', returncode=0, stdout='', stderr='')
DEBUG    pytest_client_tools:util.py:135 running (['ausearch', '-i', '-m', 'avc', '-ts', '05/05/25', '13:36:42'],) with options {'check': False, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['ausearch', '-i', '-m', 'avc', '-ts', '05/05/25', '13:36:42'], returncode=1, stdout='', stderr='Error - year is 25\n')
]: [a user can register a system using activation keys]
=============
[integration-tests/test_register_with_activation_keys.py::test_register_with_activation_keys_with_wrong_key_among_good_ones 
-------------------------------- live log setup --------------------------------
DEBUG    pytest_client_tools:util.py:135 running ['config', '--logging.default_log_level=DEBUG'] with options {'check': True, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['config', '--logging.default_log_level=DEBUG'], returncode=0, stdout='', stderr='')
DEBUG    pytest_client_tools:util.py:135 running ['config', '--server.hostname=localhost', '--server.port=8443', '--server.prefix=/candlepin', '--server.insecure=1'] with options {'check': True, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['config', '--server.hostname=localhost', '--server.port=8443', '--server.prefix=/candlepin', '--server.insecure=1'], returncode=0, stdout='', stderr='')
-------------------------------- live log call ---------------------------------
DEBUG    conftest:conftest.py:27 subscription: starting RHSM private DBus session
DEBUG    conftest:conftest.py:30 subscription: RHSM private DBus session has been started
INFO     conftest:conftest.py:44 Connecting to the RHSM private DBus session.
DEBUG    conftest:conftest.py:34 subscription: shutting down the RHSM private DBus session
DEBUG    dasbus.connection:connection.py:311 Disconnecting from the bus.
DEBUG    conftest:conftest.py:38 subscription: RHSM private DBus session has been shutdown
FAILED
------------------------------ live log teardown -------------------------------
DEBUG    pytest_client_tools:util.py:135 running ['unregister'] with options {'check': True, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['unregister'], returncode=0, stdout='Unregistering from: localhost:8443/candlepin\nSystem has been unregistered.\n', stderr='')
DEBUG    pytest_client_tools:util.py:135 running (['systemctl', 'stop', 'rhsmcertd.service'],) with options {'check': True, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['systemctl', 'stop', 'rhsmcertd.service'], returncode=0, stdout='', stderr='')
DEBUG    pytest_client_tools:util.py:135 running (['pkill', '-e', '-x', 'rhsmcertd'],) with options {'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['pkill', '-e', '-x', 'rhsmcertd'], returncode=1, stdout='', stderr='')
------------------------------- live log finish --------------------------------
DEBUG    pytest_client_tools:util.py:135 running (['auditctl', '-m', 'pytest-client-tools-ab1e1f87-28f4-4e83-9d6f-c8ccfa10beec'],) with options {'check': True, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['auditctl', '-m', 'pytest-client-tools-ab1e1f87-28f4-4e83-9d6f-c8ccfa10beec'], returncode=0, stdout='', stderr='')
DEBUG    pytest_client_tools:util.py:135 running ('ausearch -i -m user | grep -q pytest-client-tools-ab1e1f87-28f4-4e83-9d6f-c8ccfa10beec',) with options {'check': False, 'stdin': -3, 'stdout': -1, 'stderr': -1, 'shell': True, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args='ausearch -i -m user | grep -q pytest-client-tools-ab1e1f87-28f4-4e83-9d6f-c8ccfa10beec', returncode=0, stdout='', stderr='')
DEBUG    pytest_client_tools:util.py:135 running (['ausearch', '-i', '-m', 'avc', '-ts', '05/05/25', '13:36:43'],) with options {'check': False, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['ausearch', '-i', '-m', 'avc', '-ts', '05/05/25', '13:36:43'], returncode=1, stdout='', stderr='Error - year is 25\n')

integration-tests/test_register_with_activation_keys.py::test_register_with_activation_keys_wrong_act_key 
-------------------------------- live log setup --------------------------------
DEBUG    pytest_client_tools:util.py:135 running ['config', '--logging.default_log_level=DEBUG'] with options {'check': True, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['config', '--logging.default_log_level=DEBUG'], returncode=0, stdout='', stderr='')
DEBUG    pytest_client_tools:util.py:135 running ['config', '--server.hostname=localhost', '--server.port=8443', '--server.prefix=/candlepin', '--server.insecure=1'] with options {'check': True, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['config', '--server.hostname=localhost', '--server.port=8443', '--server.prefix=/candlepin', '--server.insecure=1'], returncode=0, stdout='', stderr='')
-------------------------------- live log call ---------------------------------
DEBUG    conftest:conftest.py:27 subscription: starting RHSM private DBus session
DEBUG    conftest:conftest.py:30 subscription: RHSM private DBus session has been started
INFO     conftest:conftest.py:44 Connecting to the RHSM private DBus session.
DEBUG    conftest:conftest.py:34 subscription: shutting down the RHSM private DBus session
DEBUG    dasbus.connection:connection.py:311 Disconnecting from the bus.
DEBUG    conftest:conftest.py:38 subscription: RHSM private DBus session has been shutdown
DEBUG    pytest_client_tools:util.py:135 running ['identity'] with options {'check': False, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['identity'], returncode=1, stdout='', stderr="This system is not yet registered. Try 'subscription-manager register --help' for more information.\n")
PASSED
------------------------------ live log teardown -------------------------------
DEBUG    pytest_client_tools:util.py:135 running ['unregister'] with options {'check': True, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['unregister'], returncode=1, stdout='', stderr='This system is currently not registered.\n')
DEBUG    pytest_client_tools:util.py:135 running (['systemctl', 'stop', 'rhsmcertd.service'],) with options {'check': True, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['systemctl', 'stop', 'rhsmcertd.service'], returncode=0, stdout='', stderr='')
DEBUG    pytest_client_tools:util.py:135 running (['pkill', '-e', '-x', 'rhsmcertd'],) with options {'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['pkill', '-e', '-x', 'rhsmcertd'], returncode=1, stdout='', stderr='')
------------------------------- live log finish --------------------------------
DEBUG    pytest_client_tools:util.py:135 running (['auditctl', '-m', 'pytest-client-tools-72ee7c25-cb8e-4066-b753-869fa794d6dc'],) with options {'check': True, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['auditctl', '-m', 'pytest-client-tools-72ee7c25-cb8e-4066-b753-869fa794d6dc'], returncode=0, stdout='', stderr='')
DEBUG    pytest_client_tools:util.py:135 running ('ausearch -i -m user | grep -q pytest-client-tools-72ee7c25-cb8e-4066-b753-869fa794d6dc',) with options {'check': False, 'stdin': -3, 'stdout': -1, 'stderr': -1, 'shell': True, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args='ausearch -i -m user | grep -q pytest-client-tools-72ee7c25-cb8e-4066-b753-869fa794d6dc', returncode=0, stdout='', stderr='')
DEBUG    pytest_client_tools:util.py:135 running (['ausearch', '-i', '-m', 'avc', '-ts', '05/05/25', '13:36:46'],) with options {'check': False, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['ausearch', '-i', '-m', 'avc', '-ts', '05/05/25', '13:36:46'], returncode=1, stdout='', stderr='Error - year is 25\n')
]: [a user cannot register a system using non existing activation keys]
=============
[integration-tests/test_unregister.py::test_unregister 
-------------------------------- live log setup --------------------------------
DEBUG    pytest_client_tools:util.py:135 running ['config', '--logging.default_log_level=DEBUG'] with options {'check': True, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['config', '--logging.default_log_level=DEBUG'], returncode=0, stdout='', stderr='')
DEBUG    pytest_client_tools:util.py:135 running ['config', '--server.hostname=localhost', '--server.port=8443', '--server.prefix=/candlepin', '--server.insecure=1'] with options {'check': True, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['config', '--server.hostname=localhost', '--server.port=8443', '--server.prefix=/candlepin', '--server.insecure=1'], returncode=0, stdout='', stderr='')
-------------------------------- live log call ---------------------------------
DEBUG    pytest_client_tools:util.py:135 running ['register', '--username', '<redacted>', '--password', '<redacted>', '--org', '<redacted>'] with options {'check': True, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['register', '--username', '<redacted>', '--password', '<redacted>', '--org', '<redacted>'], returncode=0, stdout='Registering to: localhost:8443/candlepin\nThe system has been registered with ID: 867177e0-6151-47e4-8bac-e3c1d3e3f9c2\nThe registered system name is: ip-172-31-17-224.us-east-2.compute.internal\n', stderr='')
DEBUG    pytest_client_tools:util.py:135 running ['identity'] with options {'check': False, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['identity'], returncode=0, stdout='system identity: 867177e0-6151-47e4-8bac-e3c1d3e3f9c2\nname: ip-172-31-17-224.us-east-2.compute.internal\norg name: Donald Duck\norg ID: donaldduck\nenvironment name: None\n', stderr='')
DEBUG    test_unregister:test_unregister.py:47 Created D-Bus proxy for Unregister interface: com.redhat.RHSM1.Unregister and Unregister object path: /com/redhat/RHSM1/Unregister
DEBUG    test_unregister:test_unregister.py:51 Calling D-Bus method Unregister()...
DEBUG    pytest_client_tools:util.py:135 running ['identity'] with options {'check': False, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['identity'], returncode=1, stdout='', stderr="This system is not yet registered. Try 'subscription-manager register --help' for more information.\n")
PASSED
------------------------------ live log teardown -------------------------------
DEBUG    pytest_client_tools:util.py:135 running ['unregister'] with options {'check': True, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['unregister'], returncode=1, stdout='', stderr='This system is currently not registered.\n')
DEBUG    pytest_client_tools:util.py:135 running (['systemctl', 'stop', 'rhsmcertd.service'],) with options {'check': True, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['systemctl', 'stop', 'rhsmcertd.service'], returncode=0, stdout='', stderr='')
DEBUG    pytest_client_tools:util.py:135 running (['pkill', '-e', '-x', 'rhsmcertd'],) with options {'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['pkill', '-e', '-x', 'rhsmcertd'], returncode=1, stdout='', stderr='')
------------------------------- live log finish --------------------------------
DEBUG    pytest_client_tools:util.py:135 running (['auditctl', '-m', 'pytest-client-tools-93c06414-6b09-43a8-88e8-53c42d9b5a00'],) with options {'check': True, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['auditctl', '-m', 'pytest-client-tools-93c06414-6b09-43a8-88e8-53c42d9b5a00'], returncode=0, stdout='', stderr='')
DEBUG    pytest_client_tools:util.py:135 running ('ausearch -i -m user | grep -q pytest-client-tools-93c06414-6b09-43a8-88e8-53c42d9b5a00',) with options {'check': False, 'stdin': -3, 'stdout': -1, 'stderr': -1, 'shell': True, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args='ausearch -i -m user | grep -q pytest-client-tools-93c06414-6b09-43a8-88e8-53c42d9b5a00', returncode=0, stdout='', stderr='')
DEBUG    pytest_client_tools:util.py:135 running (['ausearch', '-i', '-m', 'avc', '-ts', '05/05/25', '13:36:53'],) with options {'check': False, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['ausearch', '-i', '-m', 'avc', '-ts', '05/05/25', '13:36:53'], returncode=1, stdout='', stderr='Error - year is 25\n')
]: [a user can unregister a system]
=============
[integration-tests/test_unregister.py::test_unregister_when_system_is_not_registered 
-------------------------------- live log setup --------------------------------
DEBUG    pytest_client_tools:util.py:135 running ['config', '--logging.default_log_level=DEBUG'] with options {'check': True, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['config', '--logging.default_log_level=DEBUG'], returncode=0, stdout='', stderr='')
DEBUG    pytest_client_tools:util.py:135 running ['config', '--server.hostname=localhost', '--server.port=8443', '--server.prefix=/candlepin', '--server.insecure=1'] with options {'check': True, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['config', '--server.hostname=localhost', '--server.port=8443', '--server.prefix=/candlepin', '--server.insecure=1'], returncode=0, stdout='', stderr='')
-------------------------------- live log call ---------------------------------
DEBUG    test_unregister:test_unregister.py:64 Created D-Bus proxy for Unregister interface: com.redhat.RHSM1.Unregister and Unregister object path: /com/redhat/RHSM1/Unregister
DEBUG    test_unregister:test_unregister.py:69 Calling D-Bus method Unregister()...
DEBUG    test_unregister:test_unregister.py:72 exception from dbus Unregister call: <ExceptionInfo DBusError('{"exception": "DBusException", "severity": "error", "message": "This object requires the consumer to be registered before it can be used."}') tblen=4>
DEBUG    pytest_client_tools:util.py:135 running ['identity'] with options {'check': False, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['identity'], returncode=1, stdout='', stderr="This system is not yet registered. Try 'subscription-manager register --help' for more information.\n")
PASSED
------------------------------ live log teardown -------------------------------
DEBUG    pytest_client_tools:util.py:135 running ['unregister'] with options {'check': True, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['unregister'], returncode=1, stdout='', stderr='This system is currently not registered.\n')
DEBUG    pytest_client_tools:util.py:135 running (['systemctl', 'stop', 'rhsmcertd.service'],) with options {'check': True, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['systemctl', 'stop', 'rhsmcertd.service'], returncode=0, stdout='', stderr='')
DEBUG    pytest_client_tools:util.py:135 running (['pkill', '-e', '-x', 'rhsmcertd'],) with options {'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['pkill', '-e', '-x', 'rhsmcertd'], returncode=1, stdout='', stderr='')
------------------------------- live log finish --------------------------------
DEBUG    pytest_client_tools:util.py:135 running (['auditctl', '-m', 'pytest-client-tools-1cdd6a3f-c057-4f76-8ebb-4b0baf315a77'],) with options {'check': True, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['auditctl', '-m', 'pytest-client-tools-1cdd6a3f-c057-4f76-8ebb-4b0baf315a77'], returncode=0, stdout='', stderr='')
DEBUG    pytest_client_tools:util.py:135 running ('ausearch -i -m user | grep -q pytest-client-tools-1cdd6a3f-c057-4f76-8ebb-4b0baf315a77',) with options {'check': False, 'stdin': -3, 'stdout': -1, 'stderr': -1, 'shell': True, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args='ausearch -i -m user | grep -q pytest-client-tools-1cdd6a3f-c057-4f76-8ebb-4b0baf315a77', returncode=0, stdout='', stderr='')
DEBUG    pytest_client_tools:util.py:135 running (['ausearch', '-i', '-m', 'avc', '-ts', '05/05/25', '13:37:03'],) with options {'check': False, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['ausearch', '-i', '-m', 'avc', '-ts', '05/05/25', '13:37:03'], returncode=1, stdout='', stderr='Error - year is 25\n')
]: [a case when user wants to unregister a system when the system is not registered yet]
=============
[____________________ test_register_with_activation_keys[1] _____________________

external_candlepin = <pytest_client_tools.candlepin.Candlepin object at 0x7f48cf6a52b0>
subman = <pytest_client_tools.subscription_manager.SubscriptionManager object at 0x7f48cf5ca780>
test_config = <pytest_client_tools.test_config.TestConfig object at 0x7f48cf6a5280>
num_of_act_keys_to_use = 1

    @pytest.mark.parametrize("num_of_act_keys_to_use", [1, 2])
    def test_register_with_activation_keys(external_candlepin, subman, test_config, num_of_act_keys_to_use):
        """
        https://www.candlepinproject.org/docs/subscription-manager/dbus_objects.html#methods-6
        """
        assert not subman.is_registered
    
        candlepin_config = partial(test_config.get, "candlepin")
        act_keynames = take(num_of_act_keys_to_use, candlepin_config("activation_keys"))
    
        proxy = RHSM.get_proxy(
            object_path=RHSM_REGISTER_SERVER.object_path, interface_name=RHSM_REGISTER_SERVER.interface_name
        )
>       with RHSMPrivateBus(proxy) as private_bus:

integration-tests/test_register_with_activation_keys.py:32: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
integration-tests/conftest.py:29: in __enter__
    self._private_bus_address = self._rhsm_register_server_proxy.Start(locale)
venv/lib64/python3.12/site-packages/dasbus/client/proxy.py:161: in __getattr__
    member = self._get_member(self._get_interface(name), name)
venv/lib64/python3.12/site-packages/dasbus/client/proxy.py:126: in _get_member
    return self._create_member(*key)
venv/lib64/python3.12/site-packages/dasbus/client/proxy.py:147: in _create_member
    member = self._handler.create_member(*key)
venv/lib64/python3.12/site-packages/dasbus/client/handler.py:231: in create_member
    spec = self._find_member_spec(interface_name, member_name)
venv/lib64/python3.12/site-packages/dasbus/client/handler.py:242: in _find_member_spec
    return self.specification.get_member(
venv/lib64/python3.12/site-packages/dasbus/client/handler.py:212: in specification
    self._specification = self._get_specification()
venv/lib64/python3.12/site-packages/dasbus/client/handler.py:332: in _get_specification
    xml = self._call_method(
venv/lib64/python3.12/site-packages/dasbus/client/handler.py:450: in _call_method
    return self._get_method_reply(
venv/lib64/python3.12/site-packages/dasbus/client/handler.py:483: in _get_method_reply
    return self._handle_method_error(error)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <dasbus.client.handler.ClientObjectHandler object at 0x7f48cf5d1180>
error = GLib.Error('GDBus.Error:org.freedesktop.DBus.Python.SystemError: AssertionError: D-Bus connection does not have a Conn...hod 'get_member' of 'dbus.lowlevel.Message' objects> returned a result with an exception set
', 'g-io-error-quark', 36)

    def _handle_method_error(self, error):
        """Handle an error of a DBus call.
    
        If the call returned a DBus error, it will be mapped
        to a Python exception based on the rules defined in
        the available error mapper. It should be a subclass
        of DBusError.
    
        :param error: an exception raised during the call
        :raise Exception: if the call unexpectedly failed
        :raise TimeoutError: if the DBus call timed out
        :raise DBusError: if the call returned a DBus error
        """
        if self._client.is_remote_error(error):
            # Handle a remote DBus error.
            name = self._client.get_remote_error_name(error)
            cls = self._error_mapper.get_exception_type(name)
            message = self._client.get_remote_error_message(error)
    
            # Create a new exception.
            exception = cls(message)
            exception.dbus_name = name
    
            # Raise a new instance of the exception class.
>           raise exception from None
E           dasbus.error.DBusError: AssertionError: D-Bus connection does not have a Connection instance associated with it
E           
E           The above exception was the direct cause of the following exception:
E           
E           SystemError: <function Connection._signal_func at 0x7f8852e242c0> returned a result with an exception set
E           
E           The above exception was the direct cause of the following exception:
E           
E           Traceback (most recent call last):
E             File "/usr/lib64/python3.12/site-packages/dbus/service.py", line 657, in _message_cb
E               method_name = message.get_member()
E                             ^^^^^^^^^^^^^^^^^^^^
E           SystemError: <method 'get_member' of 'dbus.lowlevel.Message' objects> returned a result with an exception set

venv/lib64/python3.12/site-packages/dasbus/client/handler.py:509: DBusError
------------------------------ Captured log setup ------------------------------
DEBUG    pytest_client_tools:util.py:135 running ['config', '--logging.default_log_level=DEBUG'] with options {'check': True, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['config', '--logging.default_log_level=DEBUG'], returncode=0, stdout='', stderr='')
DEBUG    pytest_client_tools:util.py:135 running ['config', '--server.hostname=localhost', '--server.port=8443', '--server.prefix=/candlepin', '--server.insecure=1'] with options {'check': True, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['config', '--server.hostname=localhost', '--server.port=8443', '--server.prefix=/candlepin', '--server.insecure=1'], returncode=0, stdout='', stderr='')
------------------------------ Captured log call -------------------------------
DEBUG    pytest_client_tools:util.py:135 running ['identity'] with options {'check': False, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['identity'], returncode=1, stdout='', stderr="This system is not yet registered. Try 'subscription-manager register --help' for more information.\n")
DEBUG    conftest:conftest.py:27 subscription: starting RHSM private DBus session
---------------------------- Captured log teardown -----------------------------
DEBUG    pytest_client_tools:util.py:135 running ['unregister'] with options {'check': True, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['unregister'], returncode=1, stdout='', stderr='This system is currently not registered.\n')
DEBUG    pytest_client_tools:util.py:135 running (['systemctl', 'stop', 'rhsmcertd.service'],) with options {'check': True, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['systemctl', 'stop', 'rhsmcertd.service'], returncode=0, stdout='', stderr='')
DEBUG    pytest_client_tools:util.py:135 running (['pkill', '-e', '-x', 'rhsmcertd'],) with options {'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['pkill', '-e', '-x', 'rhsmcertd'], returncode=1, stdout='', stderr='')
]: [an error from DBus service]
=============
[______ test_register_with_activation_keys_with_wrong_key_among_good_ones _______

any_candlepin = <pytest_client_tools.candlepin.Candlepin object at 0x7f48cf6a52b0>
subman = <pytest_client_tools.subscription_manager.SubscriptionManager object at 0x7f48cf5ca2d0>
test_config = <pytest_client_tools.test_config.TestConfig object at 0x7f48cf6a5280>

    def test_register_with_activation_keys_with_wrong_key_among_good_ones(any_candlepin, subman, test_config):
        """
        https://www.candlepinproject.org/docs/subscription-manager/dbus_objects.html#methods-6
    
        Given a DBus method RegisterWithActivationKeys is used to register a system
        When an invalid activation key appears in a list of valid activation keys
        Then an application registers a system using all valid activation keys
        and the application returns a list of activation keys that was used for registration.
        """
        valid_act_keys = test_config.get("candlepin", "activation_keys") or []
        act_keys = valid_act_keys + ["wrong-act-key"]
        org_to_use = test_config.get("candlepin", "org")
    
        proxy = RHSM.get_proxy(
            object_path=RHSM_REGISTER_SERVER.object_path, interface_name=RHSM_REGISTER_SERVER.interface_name
        )
        with RHSMPrivateBus(proxy) as private_bus:
            private_proxy = private_bus.get_proxy(
                service_name=RHSM.service_name,
                object_path=RHSM_REGISTER.object_path,
                interface_name=RHSM_REGISTER.interface_name,
            )
>           response = json.loads(private_proxy.RegisterWithActivationKeys(org_to_use, act_keys, {}, {}, locale))

integration-tests/test_register_with_activation_keys.py:102: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
venv/lib64/python3.12/site-packages/dasbus/client/handler.py:450: in _call_method
    return self._get_method_reply(
venv/lib64/python3.12/site-packages/dasbus/client/handler.py:483: in _get_method_reply
    return self._handle_method_error(error)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <dasbus.client.handler.ClientObjectHandler object at 0x7f48cf627b80>
error = GLib.Error('GDBus.Error:com.redhat.RHSM1.Error: {"exception": "Disconnected", "severity": "error", "message": ""}', 'g-io-error-quark', 36)

    def _handle_method_error(self, error):
        """Handle an error of a DBus call.
    
        If the call returned a DBus error, it will be mapped
        to a Python exception based on the rules defined in
        the available error mapper. It should be a subclass
        of DBusError.
    
        :param error: an exception raised during the call
        :raise Exception: if the call unexpectedly failed
        :raise TimeoutError: if the DBus call timed out
        :raise DBusError: if the call returned a DBus error
        """
        if self._client.is_remote_error(error):
            # Handle a remote DBus error.
            name = self._client.get_remote_error_name(error)
            cls = self._error_mapper.get_exception_type(name)
            message = self._client.get_remote_error_message(error)
    
            # Create a new exception.
            exception = cls(message)
            exception.dbus_name = name
    
            # Raise a new instance of the exception class.
>           raise exception from None
E           dasbus.error.DBusError: {"exception": "Disconnected", "severity": "error", "message": ""}

venv/lib64/python3.12/site-packages/dasbus/client/handler.py:509: DBusError
------------------------------ Captured log setup ------------------------------
DEBUG    pytest_client_tools:util.py:135 running ['config', '--logging.default_log_level=DEBUG'] with options {'check': True, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['config', '--logging.default_log_level=DEBUG'], returncode=0, stdout='', stderr='')
DEBUG    pytest_client_tools:util.py:135 running ['config', '--server.hostname=localhost', '--server.port=8443', '--server.prefix=/candlepin', '--server.insecure=1'] with options {'check': True, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['config', '--server.hostname=localhost', '--server.port=8443', '--server.prefix=/candlepin', '--server.insecure=1'], returncode=0, stdout='', stderr='')
------------------------------ Captured log call -------------------------------
DEBUG    conftest:conftest.py:27 subscription: starting RHSM private DBus session
DEBUG    conftest:conftest.py:30 subscription: RHSM private DBus session has been started
INFO     conftest:conftest.py:44 Connecting to the RHSM private DBus session.
DEBUG    conftest:conftest.py:34 subscription: shutting down the RHSM private DBus session
DEBUG    dasbus.connection:connection.py:311 Disconnecting from the bus.
DEBUG    conftest:conftest.py:38 subscription: RHSM private DBus session has been shutdown
---------------------------- Captured log teardown -----------------------------
DEBUG    pytest_client_tools:util.py:135 running ['unregister'] with options {'check': True, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['unregister'], returncode=0, stdout='Unregistering from: localhost:8443/candlepin\nSystem has been unregistered.\n', stderr='')
DEBUG    pytest_client_tools:util.py:135 running (['systemctl', 'stop', 'rhsmcertd.service'],) with options {'check': True, 'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['systemctl', 'stop', 'rhsmcertd.service'], returncode=0, stdout='', stderr='')
DEBUG    pytest_client_tools:util.py:135 running (['pkill', '-e', '-x', 'rhsmcertd'],) with options {'stdout': -1, 'stderr': -1, 'text': True}
DEBUG    pytest_client_tools:util.py:148 result: CompletedProcess(args=['pkill', '-e', '-x', 'rhsmcertd'], returncode=1, stdout='', stderr='')
- generated xml file: /var/ARTIFACTS/work-plansi7dbn4vq/systemtest/plans/discover/default-0/tests/junit.xml -
]: [an error risen from DBus service]


Answer: Issue: I guess there is no activation key in the local candlepin
Resolution: to create an activation key