Source: asyncpg
Version: 
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/fetch.php?pkg=asyncpg&arch=amd64&ver=0.15.0-1%2Bb1&stamp=1530357009&raw=0


   dh_auto_test -a -O--buildsystem=pybuild
I: pybuild base:217: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_asyncpg/build; 
python3.7 -m pytest -k-test_flake8
============================= test session starts ==============================
platform linux -- Python 3.7.0, pytest-3.6.2, py-1.5.3, pluggy-0.6.0
rootdir: /<<PKGBUILDDIR>>, inifile:
collected 222 items / 1 deselected

tests/test__environment.py s                                             [  0%]
tests/test_adversity.py ...                                              [  1%]
tests/test_cache_invalidation.py .........                               [  5%]
tests/test_cancellation.py ....                                          [  7%]
tests/test_codecs.py ...........................                         [ 19%]
tests/test_connect.py ...................F.                              [ 29%]
tests/test_copy.py .....................                                 [ 38%]
tests/test_cursor.py ..........                                          [ 43%]
tests/test_exceptions.py ...                                             [ 44%]
tests/test_execute.py .........                                          [ 48%]
tests/test_introspection.py .....                                        [ 51%]
tests/test_listeners.py .......                                          [ 54%]
tests/test_pool.py .................................                     [ 69%]
tests/test_prepare.py .................................                  [ 84%]
tests/test_record.py ..................                                  [ 92%]
tests/test_test.py ..                                                    [ 93%]
tests/test_timeout.py .........                                          [ 97%]
tests/test_transaction.py ....                                           [ 99%]
tests/test_utils.py ..                                                   [100%]

=================================== FAILURES ===================================
____________ TestSSLConnection.test_ssl_connection_default_context _____________

self = <tests.test_connect.TestSSLConnection 
testMethod=test_ssl_connection_default_context>

    def tearDown(self):
        # Reset cluster's pg_hba.conf since we've meddled with it
        self.cluster.trust_local_connections()

        drop_script = []
        drop_script.append('DROP ROLE ssl_user;')
        drop_script = '\n'.join(drop_script)
        self.loop.run_until_complete(self.con.execute(drop_script))

>       super().tearDown()

tests/test_connect.py:567:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
asyncpg/_testbase/__init__.py:391: in tearDown
    super().tearDown()
asyncpg/_testbase/__init__.py:127: in tearDown
    '\n'.join(formatted))
E   AssertionError: unexpected exceptions in asynchronous code:
E   01. SSL handshake failed on verifying the certificate:
E       [protocol]: <asyncio.sslproto.SSLProtocol object at 0x7f9c5e1eed68>
E
E       [transport]: <_SelectorSocketTransport closed fd=14>
E
E       [exception]:
E         ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] 
certificate verify failed: unable to get local issuer certificate (_ssl.c:1045)
E
E
E   02. SSL error in data received:
E       [protocol]: <asyncio.sslproto.SSLProtocol object at 0x7f9c5e1eed68>
E
E       [transport]: <_SelectorSocketTransport closed fd=14>
E
E       [exception]:
E         ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] 
certificate verify failed: unable to get local issuer certificate (_ssl.c:1045)
------------------------------ Captured log call -------------------------------
base_events.py            1591 ERROR    SSL handshake failed on verifying the 
certificate
protocol: <asyncio.sslproto.SSLProtocol object at 0x7f9c5e1eed68>
transport: <_SelectorSocketTransport fd=14 read=polling write=<idle, bufsize=0>>
Traceback (most recent call last):
  File "/usr/lib/python3.7/asyncio/sslproto.py", line 625, in 
_on_handshake_complete
    raise handshake_exc
  File "/usr/lib/python3.7/asyncio/sslproto.py", line 189, in feed_ssldata
    self._sslobj.do_handshake()
  File "/usr/lib/python3.7/ssl.py", line 763, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate 
verify failed: unable to get local issuer certificate (_ssl.c:1045)
base_events.py            1591 ERROR    SSL error in data received
protocol: <asyncio.sslproto.SSLProtocol object at 0x7f9c5e1eed68>
transport: <_SelectorSocketTransport closing fd=14 read=idle write=<idle, 
bufsize=0>>
Traceback (most recent call last):
  File "/usr/lib/python3.7/asyncio/sslproto.py", line 526, in data_received
    ssldata, appdata = self._sslpipe.feed_ssldata(data)
  File "/usr/lib/python3.7/asyncio/sslproto.py", line 189, in feed_ssldata
    self._sslobj.do_handshake()
  File "/usr/lib/python3.7/ssl.py", line 763, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate 
verify failed: unable to get local issuer certificate (_ssl.c:1045)
======== 1 failed, 219 passed, 1 skipped, 1 deselected in 55.02 seconds ========
E: pybuild pybuild:336: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_asyncpg/build; python3.7 -m pytest 
-k-test_flake8
dh_auto_test: pybuild --test --test-pytest -i python{version} -p "3.7 3.6" 
returned exit code 13
make: *** [debian/rules:8: build-arch] Error 25
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit 
status 2


-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-

Attachment: signature.asc
Description: PGP signature

Reply via email to