[mod_gnutls-devel] test-suite failure

pgajdos pgajdos at suse.cz
Thu Feb 13 20:26:36 CET 2020


Hello,

thanks for new release and new test infrastructure. I just get two
failures: test-27_OCSP_server and test-34_TLS_reverse_proxy_h2.

See the test-suite.log attached. It seems there is simlar reason.
What am I missing?

Petr

-- 
Have a lot of fun!
-------------- next part --------------
============================================
   mod_gnutls 0.10.0: test/test-suite.log
============================================

# TOTAL: 36
# PASS:  34
# SKIP:  0
# XFAIL: 0
# FAIL:  2
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: test-27_OCSP_server
=========================

Connecting to OCSP server: localhost...
Could not connect to 127.0.0.1:9936: Connection refused
Resolving 'localhost:9936'...
Connecting to '127.0.0.1:9936'...
Connecting to OCSP server: localhost...

Assuming response's signer = issuer (use --load-signer to override).
Resolving 'localhost:9936'...
Connecting to '127.0.0.1:9936'...
OCSP Response Information:
	Response Status: Successful
	Response Type: Basic OCSP Response
	Version: 1
	Responder ID: CN=Testing Authority OCSP Responder
	Produced At: Thu Feb 13 19:14:50 UTC 2020
	Responses:
		Certificate ID:
			Hash Algorithm: SHA1
			Issuer Name Hash: bac68790352ceb4c4de1534445348f8b4b5309b3
			Issuer Key Hash: e750f1f0a75dd8952273d95c7d65a78f24d5e698
			Serial Number: 22fff0d9
		Certificate Status: good
		This Update: Thu Feb 13 19:14:50 UTC 2020
		Next Update: Thu Feb 13 19:19:50 UTC 2020
	Extensions:
		Nonce: 19eacc1745ba4ac46c71242b737d811c0cafb6ebe6c8ce
	Signature Algorithm: RSA-SHA256

-----BEGIN OCSP RESPONSE-----
MIIG4QoBAKCCBtowggbWBgkrBgEFBQcwAQEEggbHMIIGwzCB1aEtMCsxKTAnBgNV
BAMTIFRlc3RpbmcgQXV0aG9yaXR5IE9DU1AgUmVzcG9uZGVyGA8yMDIwMDIxMzE5
MTQ1MFowZzBlMD0wCQYFKw4DAhoFAAQUusaHkDUs60xN4VNERTSPi0tTCbMEFOdQ
8fCnXdiVInPZXH1lp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4U+n0x3XBTh14aqgAcxif8PpPooJTi0Xr/ev+m2vPgJgFTg==
-----END OCSP RESPONSE-----

Verifying OCSP Response: Success.

[Thu Feb 13 19:14:50.845690 2020] [gnutls:debug] [pid 26134:tid 139946841315328] gnutls_cache.c(356): mgs_cache_inst_config: Socache 'shmcb:cache/gnutls_cache_27_OCSP_server(65536)' created.
Found test 27_OCSP_server, test dir is /home/abuild/rpmbuild/BUILD/mod_gnutls-0.10.0/test/tests/27_OCSP_server
Starting: ['/usr/sbin/httpd', '-f', '/home/abuild/rpmbuild/BUILD/mod_gnutls-0.10.0/test/tests/27_OCSP_server/ocsp.conf', '-k', 'start', '-DFOREGROUND']
Starting: ['/usr/sbin/httpd', '-f', '/home/abuild/rpmbuild/BUILD/mod_gnutls-0.10.0/test/tests/27_OCSP_server/apache.conf', '-k', 'start', '-DFOREGROUND']
Running test connection 0: Check if the HTTPS server provides an OCSP status
Aquiring lock on test.lock...
Got lock on test.lock.
*** Fatal error: A TLS fatal alert has been received.
Processed 1 CA certificate(s).
Resolving 'localhost:9932'...
Connecting to '127.0.0.1:9932'...
*** Received alert [40]: Handshake failed
[Thu Feb 13 19:14:51.294954 2020] [gnutls:debug] [pid 26198:tid 140665505531904] gnutls_cache.c(356): mgs_cache_inst_config: Socache 'shmcb:cache/gnutls_cache_27_OCSP_server(65536)' created.
Unlocking test.lock...
Unlocked test.lock.
Stopping: ['/usr/sbin/httpd', '-f', '/home/abuild/rpmbuild/BUILD/mod_gnutls-0.10.0/test/tests/27_OCSP_server/apache.conf', '-k', 'stop']
Stopping: ['/usr/sbin/httpd', '-f', '/home/abuild/rpmbuild/BUILD/mod_gnutls-0.10.0/test/tests/27_OCSP_server/ocsp.conf', '-k', 'stop']
Traceback (most recent call last):
  File "./runtest.py", line 249, in <module>
    main(args)
  File "./runtest.py", line 200, in main
    response_log=args.log_responses)
  File "/home/abuild/rpmbuild/BUILD/mod_gnutls-0.10.0/test/mgstest/tests.py", line 568, in run_test_conf
    response_log=response_log)
  File "/home/abuild/rpmbuild/BUILD/mod_gnutls-0.10.0/test/mgstest/tests.py", line 179, in run
    act.run(conn, response_log)
  File "/home/abuild/rpmbuild/BUILD/mod_gnutls-0.10.0/test/mgstest/tests.py", line 239, in run
    raise err
  File "/home/abuild/rpmbuild/BUILD/mod_gnutls-0.10.0/test/mgstest/tests.py", line 230, in run
    resp = conn.getresponse()
  File "/usr/lib64/python3.7/http/client.py", line 1333, in getresponse
    response.begin()
  File "/usr/lib64/python3.7/http/client.py", line 305, in begin
    version, status, reason = self._read_status()
  File "/usr/lib64/python3.7/http/client.py", line 266, in _read_status
    line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
  File "/usr/lib64/python3.7/socket.py", line 589, in readinto
    return self._sock.recv_into(b)
ConnectionResetError: [Errno 104] Connection reset by peer
FAIL test-27_OCSP_server.bash (exit status: 1)

FAIL: test-34_TLS_reverse_proxy_h2
==================================

[Thu Feb 13 19:15:03.197431 2020] [gnutls:debug] [pid 26721:tid 139992753018880] gnutls_cache.c(356): mgs_cache_inst_config: Socache 'shmcb:cache/gnutls_cache_34_TLS_reverse_proxy_h2_backend(65536)' created.
httpd: Syntax error on line 4 of /home/abuild/rpmbuild/BUILD/mod_gnutls-0.10.0/test/tests/34_TLS_reverse_proxy_h2/apache.conf: Cannot load /usr/lib64/apache2/mod_proxy_http2.so into server: /usr/lib64/apache2/mod_proxy_http2.so: undefined symbol: ap_sock_disable_nagle
Found test 34_TLS_reverse_proxy_h2, test dir is /home/abuild/rpmbuild/BUILD/mod_gnutls-0.10.0/test/tests/34_TLS_reverse_proxy_h2
Starting: ['/usr/sbin/httpd', '-f', '/home/abuild/rpmbuild/BUILD/mod_gnutls-0.10.0/test/tests/34_TLS_reverse_proxy_h2/backend.conf', '-k', 'start', '-DFOREGROUND']
Starting: ['/usr/sbin/httpd', '-f', '/home/abuild/rpmbuild/BUILD/mod_gnutls-0.10.0/test/tests/34_TLS_reverse_proxy_h2/apache.conf', '-k', 'start', '-DFOREGROUND']
Running test connection 0.
Aquiring lock on test.lock...
Got lock on test.lock.
Could not connect to 127.0.0.1:9932: Connection refused
Processed 1 CA certificate(s).
Resolving 'localhost:9932'...
Connecting to '127.0.0.1:9932'...
[Thu Feb 13 19:15:04.011289 2020] [gnutls:debug] [pid 26856:tid 140290153654272] gnutls_cache.c(356): mgs_cache_inst_config: Socache 'shmcb:cache/gnutls_cache_34_TLS_reverse_proxy_h2_backend(65536)' created.
Unlocking test.lock...
Unlocked test.lock.
Stopping: ['/usr/sbin/httpd', '-f', '/home/abuild/rpmbuild/BUILD/mod_gnutls-0.10.0/test/tests/34_TLS_reverse_proxy_h2/backend.conf', '-k', 'stop']
Traceback (most recent call last):
  File "./runtest.py", line 249, in <module>
    main(args)
  File "./runtest.py", line 200, in main
    response_log=args.log_responses)
  File "/home/abuild/rpmbuild/BUILD/mod_gnutls-0.10.0/test/mgstest/tests.py", line 568, in run_test_conf
    response_log=response_log)
  File "/home/abuild/rpmbuild/BUILD/mod_gnutls-0.10.0/test/mgstest/tests.py", line 179, in run
    act.run(conn, response_log)
  File "/home/abuild/rpmbuild/BUILD/mod_gnutls-0.10.0/test/mgstest/tests.py", line 239, in run
    raise err
  File "/home/abuild/rpmbuild/BUILD/mod_gnutls-0.10.0/test/mgstest/tests.py", line 230, in run
    resp = conn.getresponse()
  File "/usr/lib64/python3.7/http/client.py", line 1333, in getresponse
    response.begin()
  File "/usr/lib64/python3.7/http/client.py", line 305, in begin
    version, status, reason = self._read_status()
  File "/usr/lib64/python3.7/http/client.py", line 266, in _read_status
    line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
  File "/usr/lib64/python3.7/socket.py", line 589, in readinto
    return self._sock.recv_into(b)
ConnectionResetError: [Errno 104] Connection reset by peer
FAIL test-34_TLS_reverse_proxy_h2.bash (exit status: 1)



More information about the mod_gnutls-devel mailing list