6c2a5fa538
- Resolves: RHEL-49452 Include latest fixes in python3-ipatests packages - Resolves: RHEL-49433 Adjust "ipa config-mod --addattr ipaconfigstring=EnforceLDAPOTP" to allow for non OTP users in some cases - Resolves: RHEL-49432 ipa-migrate stage-mode is failing with error: Modifying a mapped attribute in a managed entry is not allowed - Resolves: RHEL-49413 ipa-migrate with -Z option fails with ValueError: option error - Resolves: RHEL-47157 ipa-migrate -V options fails to display version - Resolves: RHEL-47148 Pagure #9629: Syntax error uninstalling the selinux-luna subpackage - Resolves: RHEL-40892 ipa-server-install: token_password_file read in kra.install_check after calling hsm_validator in ca.install_check Signed-off-by: Florence Blanc-Renaud <flo@redhat.com>
46 lines
1.9 KiB
Diff
46 lines
1.9 KiB
Diff
From 4521fe5f9125c74b4ad6e4e51f8c66c009079281 Mon Sep 17 00:00:00 2001
|
|
From: Florence Blanc-Renaud <flo@redhat.com>
|
|
Date: Thu, 13 Jun 2024 10:39:54 +0200
|
|
Subject: [PATCH] ipatests: mark test_ca_show_error_handling as xfail
|
|
|
|
With PKI 11.5.0, the test
|
|
test_cert.py::TestCAShowErrorHandling::test_ca_show_error_handling
|
|
is failing with an exception and a different error message.
|
|
Mark as xfail until PKI provides a fix
|
|
|
|
Related: https://pagure.io/freeipa/issue/9606
|
|
Signed-off-by: Florence Blanc-Renaud <flo@redhat.com>
|
|
Reviewed-By: Francisco Trivino <ftrivino@redhat.com>
|
|
---
|
|
ipatests/test_integration/test_cert.py | 7 ++++++-
|
|
1 file changed, 6 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/ipatests/test_integration/test_cert.py b/ipatests/test_integration/test_cert.py
|
|
index 4dd1254a2d16420bb70686f9715497dfb9048ecf..91598b655a8cd6ff92c1a0cf2166c6548a7af758 100644
|
|
--- a/ipatests/test_integration/test_cert.py
|
|
+++ b/ipatests/test_integration/test_cert.py
|
|
@@ -25,6 +25,7 @@ from pkg_resources import parse_version
|
|
|
|
from ipatests.pytest_ipa.integration import tasks
|
|
from ipatests.test_integration.base import IntegrationTest
|
|
+from ipatests.util import xfail_context
|
|
|
|
DEFAULT_RA_AGENT_SUBMITTED_VAL = '19700101000000'
|
|
|
|
@@ -555,7 +556,11 @@ class TestCAShowErrorHandling(IntegrationTest):
|
|
)
|
|
error_msg = 'ipa: ERROR: The certificate for ' \
|
|
'{} is not available on this server.'.format(lwca)
|
|
- assert error_msg in result.stderr_text
|
|
+ bad_version = (tasks.get_pki_version(self.master)
|
|
+ >= tasks.parse_version('11.5.0'))
|
|
+ with xfail_context(bad_version,
|
|
+ reason="https://pagure.io/freeipa/issue/9606"):
|
|
+ assert error_msg in result.stderr_text
|
|
|
|
def test_certmonger_empty_cert_not_segfault(self):
|
|
"""Test empty cert request doesn't force certmonger to segfault
|
|
--
|
|
2.45.2
|
|
|