From e1625133b1117c51cfce1088eff09b44fe792cb4 Mon Sep 17 00:00:00 2001 From: Rainer Jung Date: Mon, 11 Jul 2022 13:49:45 +0000 Subject: [PATCH] Make pytest error whitelist a bit more explicit git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1902660 13f79535-47bb-0310-9956-ffa450edef68 --- test/modules/http2/env.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test/modules/http2/env.py b/test/modules/http2/env.py index d3a8a65dd9d..55dce591071 100644 --- a/test/modules/http2/env.py +++ b/test/modules/http2/env.py @@ -99,9 +99,14 @@ class H2TestEnv(HttpdTestEnv): self.httpd_error_log.add_ignored_patterns([ re.compile(r'.*malformed header from script \'hecho.py\': Bad header: x.*'), re.compile(r'.*:tls_post_process_client_hello:.*'), + # OSSL 3 dropped the function name from the error description. Use the code instead: + # 0A0000C1 = no shared cipher -- Too restrictive SSLCipherSuite or using DSA server certificate? + re.compile(r'.*SSL Library Error: error:0A0000C1:.*'), re.compile(r'.*:tls_process_client_certificate:.*'), + # OSSL 3 dropped the function name from the error description. Use the code instead: + # 0A0000C7 = peer did not return a certificate -- No CAs known to server for verification? + re.compile(r'.*SSL Library Error: error:0A0000C7:.*'), re.compile(r'.*have incompatible TLS configurations.'), - re.compile(r'.*SSL Library Error: error:0A0000C[17]:.*'), ]) def setup_httpd(self, setup: HttpdTestSetup = None): -- 2.47.3