[Python-modules-team] Bug#861642: Some SSL tests fail during build

jean-christophe manciot actionmystique at gmail.com
Tue May 2 07:37:48 UTC 2017


Package: python-urllib3
Version: 1.19.1-1
Sources:
https://anonscm.debian.org/git/python-modules/packages/python-urllib3.git
Tag: debian/1.19.1-1

Building with branch=master & tag=debian/1.19.1-1:
        echo --------
        echo Cleaning
        echo --------
        cd git-urllib3
        sudo -u actionmystique -H git-reset-clean-pull-checkout.sh upstream
        sudo -u actionmystique -H git-reset-clean-pull-checkout.sh
pristine-tar
        sudo -u actionmystique -H git-reset-clean-pull-checkout.sh $branch
$tag

        echo -----------------------
        echo Installing Dependencies
        echo -----------------------
        pip install -r dev-requirements.txt -U
        pip3 install -r dev-requirements.txt -U

        echo ---------------------------
        echo Checking Build Dependencies
        echo ---------------------------
        dpkg-check-build-dependencies.sh

        echo ---------
        echo "Building"
        echo ---------
        sudo -u actionmystique -H git checkout -b build_actionmystique
        sudo -u actionmystique -H gbp buildpackage --git-verbose
--git-ignore-new --git-pristine-tar

leads to:
...
ERROR: test_set_ssl_version_to_tlsv1 (test.contrib.test_pyopenssl.TestHTTPS)
...
*SSLError: ("bad handshake: Error([('SSL routines',
'ssl3_get_server_certificate', 'certificate verify failed')],)",)*

*SSLError: [SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca
(_ssl.c:590)*
*...*
ERROR: test_simple (test.contrib.test_pyopenssl.TestHTTPS)
...
*SSLError: ("bad handshake: Error([('SSL routines',
'ssl3_get_server_certificate', 'certificate verify failed')],)",)*
*SSLError: [SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca
(_ssl.c:590)*
...

Complete log is attached.

There may be a link with all *ImportWarnings*.

-- 
Jean-Christophe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20170502/ac957652/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python-urllib3_1.19.1-1_amd64.build
Type: application/octet-stream
Size: 60823 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20170502/ac957652/attachment-0001.obj>


More information about the Python-modules-team mailing list