Boiling those down from the package build log:

glanceclient.tests.unit.test_ssl.TestHTTPSVerifyCert.test_v2_requests_valid_cert_no_key

OpenSSL.SSL.Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ca md
too weak')]

glanceclient.tests.unit.test_ssl.TestHTTPSVerifyCert.test_v1_requests_cert_verification

OpenSSL.SSL.SysCallError: (104, 'ECONNRESET')

glanceclient.tests.unit.test_ssl.TestHTTPSVerifyCert.test_v2_requests_cert_verification_no_compression
glanceclient.tests.unit.test_ssl.TestHTTPSVerifyCert.test_v1_requests_cert_verification_no_compression

OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

glanceclient.tests.unit.test_ssl.TestHTTPSVerifyCert.test_v2_requests_cert_verification

OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to openssl in Ubuntu.
https://bugs.launchpad.net/bugs/1870074

Title:
  python-glanceclient ftbfs in focal

Status in openssl package in Ubuntu:
  New
Status in python-glanceclient package in Ubuntu:
  In Progress

Bug description:
  seen in the second focal test rebuild
  
https://launchpad.net/ubuntu/+archive/test-rebuild-20200327-focal/+build/18963677/+files/buildlog_ubuntu-focal-amd64.python-glanceclient_1%3A2.17.0-0ubuntu2_BUILDING.txt.gz

  During handling of the above exception, another exception occurred:

  
      Traceback (most recent call last):

        File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 
665, in urlopen
      httplib_response = self._make_request(

        File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 
376, in _make_request
      self._validate_conn(conn)

        File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 
996, in _validate_conn
      conn.connect()

        File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 352, 
in connect
      self.sock = ssl_wrap_socket(

        File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 383, 
in ssl_wrap_socket
      return context.wrap_socket(sock)

        File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", 
line 491, in wrap_socket
      raise ssl.SSLError("bad handshake: %r" % e)

      ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected
  EOF')",)

      
  During handling of the above exception, another exception occurred:

  
      Traceback (most recent call last):

        File "/usr/lib/python3/dist-packages/requests/adapters.py", line 439, 
in send
      resp = conn.urlopen(

        File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 
719, in urlopen
      retries = retries.increment(

        File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 436, 
in increment
      raise MaxRetryError(_pool, url, error or ResponseError(cause))

      urllib3.exceptions.MaxRetryError:
  HTTPSConnectionPool(host='0.0.0.0', port=45175): Max retries exceeded
  with url: /v2/images/image123 (Caused by SSLError(SSLError("bad
  handshake: SysCallError(-1, 'Unexpected EOF')")))

      
  During handling of the above exception, another exception occurred:

  
      Traceback (most recent call last):

        File "/<<PKGBUILDDIR>>/glanceclient/common/http.py", line 269, in 
_request
      resp = self.session.request(method,

        File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, 
in request
      resp = self.send(prep, **send_kwargs)

        File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, 
in send
      r = adapter.send(request, **kwargs)

        File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, 
in send
      raise SSLError(e, request=request)

      requests.exceptions.SSLError: HTTPSConnectionPool(host='0.0.0.0',
  port=45175): Max retries exceeded with url: /v2/images/image123
  (Caused by SSLError(SSLError("bad handshake: SysCallError(-1,
  'Unexpected EOF')")))

      
  During handling of the above exception, another exception occurred:

  
      Traceback (most recent call last):

        File "/<<PKGBUILDDIR>>/glanceclient/tests/unit/test_ssl.py", line 124, 
in test_v2_requests_cert_verification
      gc.images.get('image123')

        File "/<<PKGBUILDDIR>>/glanceclient/v2/images.py", line 198, in get
      return self._get(image_id)

        File "/<<PKGBUILDDIR>>/glanceclient/common/utils.py", line 598, in inner
      return RequestIdProxy(wrapped(*args, **kwargs))

        File "/<<PKGBUILDDIR>>/glanceclient/v2/images.py", line 191, in _get
      resp, body = self.http_client.get(url, headers=header)

        File "/<<PKGBUILDDIR>>/glanceclient/common/http.py", line 315, in get
      return self._request('GET', url, **kwargs)

        File "/<<PKGBUILDDIR>>/glanceclient/common/http.py", line 282, in 
_request
      raise exc.CommunicationError(message=message)

      glanceclient.exc.CommunicationError: Error finding address for
  https://0.0.0.0:45175/v2/images/image123:
  HTTPSConnectionPool(host='0.0.0.0', port=45175): Max retries exceeded
  with url: /v2/images/image123 (Caused by SSLError(SSLError("bad
  handshake: SysCallError(-1, 'Unexpected EOF')")))

      
  During handling of the above exception, another exception occurred:

  
      Traceback (most recent call last):

        File "/usr/lib/python3/dist-packages/mock/mock.py", line 1330, in 
patched
      return func(*args, **keywargs)

        File "/<<PKGBUILDDIR>>/glanceclient/tests/unit/test_ssl.py", line 128, 
in test_v2_requests_cert_verification
      self.fail('No certificate failure message is received')

        File "/usr/lib/python3/dist-packages/unittest2/case.py", line 690, in 
fail
      raise self.failureException(msg)

      AssertionError: No certificate failure message is received


  ======
  Totals
  ======
  Ran: 635 tests in 1.7474 sec.
   - Passed: 623
   - Skipped: 7
   - Expected Fail: 0
   - Unexpected Success: 0
   - Failed: 5
  Sum of execute time for each test: 5.8393 sec.

  ==============
  Worker Balance
  ==============
   - Worker 0 (159 tests) => 0:00:01.182108
   - Worker 1 (159 tests) => 0:00:01.607279
   - Worker 2 (159 tests) => 0:00:01.570729
   - Worker 3 (158 tests) => 0:00:01.650056
  make[1]: *** [debian/rules:24: override_dh_auto_test] Error 1
  make[1]: Leaving directory '/<<PKGBUILDDIR>>'
  make: *** [debian/rules:6: build] Error 2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssl/+bug/1870074/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to