Mailing List Archive

svn commit: r1902661 - /httpd/httpd/branches/2.4.x/test/modules/http2/env.py
Author: rjung
Date: Mon Jul 11 14:06:29 2022
New Revision: 1902661

URL: http://svn.apache.org/viewvc?rev=1902661&view=rev
Log:
Make pytest error whitelist a bit more explicit
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.

Modified:
httpd/httpd/branches/2.4.x/test/modules/http2/env.py

Modified: httpd/httpd/branches/2.4.x/test/modules/http2/env.py
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/test/modules/http2/env.py?rev=1902661&r1=1902660&r2=1902661&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/test/modules/http2/env.py (original)
+++ httpd/httpd/branches/2.4.x/test/modules/http2/env.py Mon Jul 11 14:06:29 2022
@@ -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.'),
])