]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Make pytest error whitelist a bit more explicit
authorRainer Jung <rjung@apache.org>
Mon, 11 Jul 2022 14:06:29 +0000 (14:06 +0000)
committerRainer Jung <rjung@apache.org>
Mon, 11 Jul 2022 14:06:29 +0000 (14:06 +0000)
and add OSSL 3 variants.

This fixes an error in test_101_ssl_reneg.py
due to the function name no longer being part
of the error message log when we use OSSL 3.

Backport of r1902660 and partial backport
of r1897257.

pytest is probably CTR, though not mentioned
in the CTR list in STATUS.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1902661 13f79535-47bb-0310-9956-ffa450edef68

test/modules/http2/env.py

index a839a040e6903aa7671e6400459a812fa08f3781..a5ff2cf52f165cbc0b2d94a6647b0ca12316ef90 100644 (file)
@@ -91,7 +91,13 @@ 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.'),
         ])