unshare: unshare failed: Cannot allocate memory W: pbuilder: unshare CLONE_NEWNET not available I: pbuilder: network access is available during build! I: Current time: Wed Jul 29 23:58:15 -12 2020 I: pbuilder-time-stamp: 1596110295 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/buster-reproducible-base.tgz] I: copying local configuration I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: using eatmydata during job I: Copying source file I: copying [pyopenssl_19.0.0-1.dsc] I: copying [./pyopenssl_19.0.0.orig.tar.xz] I: copying [./pyopenssl_19.0.0-1.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/root/.gnupg/trustedkeys.kbx': General error gpgv: Signature made Fri Jan 25 14:38:37 2019 -12 gpgv: using RSA key B9FAD3192AF3E4A5309D9D39879F3C993801A94F gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./pyopenssl_19.0.0-1.dsc dpkg-source: info: extracting pyopenssl in pyopenssl-19.0.0 dpkg-source: info: unpacking pyopenssl_19.0.0.orig.tar.xz dpkg-source: info: unpacking pyopenssl_19.0.0-1.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 0001-disable-test_set_default_verify_paths-since-it-tries.patch dpkg-source: info: applying 0002-pass-PYTHONPATH-when-building-HTML-doc.patch I: using fakeroot in build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/19041/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build' BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' BUILDUSERNAME='pbuilder1' BUILD_ARCH='i386' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=10' DISTRIBUTION='' HOME='/root' HOST_ARCH='i386' IFS=' ' INVOCATION_ID='633f47fb538b4cabbd2e79cb04fce902' LANG='C' LANGUAGE='en_US:en' LC_ALL='C' LD_LIBRARY_PATH='/usr/lib/libeatmydata' LD_PRELOAD='libeatmydata.so' MAIL='/var/mail/root' OPTIND='1' PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' PBCURRENTCOMMANDLINEOPERATION='build' PBUILDER_OPERATION='build' PBUILDER_PKGDATADIR='/usr/share/pbuilder' PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' PBUILDER_SYSCONFDIR='/etc' PPID='19041' PS1='# ' PS2='> ' PS4='+ ' PWD='/' SHELL='/bin/bash' SHLVL='2' SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.3lQZd6wnwu/pbuilderrc_ROQG --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.3lQZd6wnwu/b1 --logfile b1/build.log pyopenssl_19.0.0-1.dsc' SUDO_GID='112' SUDO_UID='107' SUDO_USER='jenkins' TERM='unknown' TZ='/usr/share/zoneinfo/Etc/GMT+12' USER='root' _='/usr/bin/systemd-run' http_proxy='http://78.137.99.97:3128' I: uname -a Linux profitbricks-build12-i386 4.19.0-9-686-pae #1 SMP Debian 4.19.118-2+deb10u1 (2020-06-07) i686 GNU/Linux I: ls -l /bin total 5484 -rwxr-xr-x 1 root root 1302248 Apr 17 2019 bash -rwxr-xr-x 3 root root 38280 Jul 10 2019 bunzip2 -rwxr-xr-x 3 root root 38280 Jul 10 2019 bzcat lrwxrwxrwx 1 root root 6 Jul 10 2019 bzcmp -> bzdiff -rwxr-xr-x 1 root root 2227 Jul 10 2019 bzdiff lrwxrwxrwx 1 root root 6 Jul 10 2019 bzegrep -> bzgrep -rwxr-xr-x 1 root root 4877 Jun 24 2019 bzexe lrwxrwxrwx 1 root root 6 Jul 10 2019 bzfgrep -> bzgrep -rwxr-xr-x 1 root root 3641 Jul 10 2019 bzgrep -rwxr-xr-x 3 root root 38280 Jul 10 2019 bzip2 -rwxr-xr-x 1 root root 17768 Jul 10 2019 bzip2recover lrwxrwxrwx 1 root root 6 Jul 10 2019 bzless -> bzmore -rwxr-xr-x 1 root root 1297 Jul 10 2019 bzmore -rwxr-xr-x 1 root root 38692 Feb 28 2019 cat -rwxr-xr-x 1 root root 75588 Feb 28 2019 chgrp -rwxr-xr-x 1 root root 63268 Feb 28 2019 chmod -rwxr-xr-x 1 root root 75588 Feb 28 2019 chown -rwxr-xr-x 1 root root 153732 Feb 28 2019 cp -rwxr-xr-x 1 root root 132820 Jan 17 2019 dash -rwxr-xr-x 1 root root 120676 Feb 28 2019 date -rwxr-xr-x 1 root root 92040 Feb 28 2019 dd -rwxr-xr-x 1 root root 100620 Feb 28 2019 df -rwxr-xr-x 1 root root 149736 Feb 28 2019 dir -rwxr-xr-x 1 root root 79412 Jan 9 2019 dmesg lrwxrwxrwx 1 root root 8 Sep 26 2018 dnsdomainname -> hostname lrwxrwxrwx 1 root root 8 Sep 26 2018 domainname -> hostname -rwxr-xr-x 1 root root 34532 Feb 28 2019 echo -rwxr-xr-x 1 root root 28 Jan 7 2019 egrep -rwxr-xr-x 1 root root 34532 Feb 28 2019 false -rwxr-xr-x 1 root root 28 Jan 7 2019 fgrep -rwxr-xr-x 1 root root 67700 Jan 9 2019 findmnt -rwsr-xr-x 1 root root 30112 Apr 22 07:38 fusermount -rwxr-xr-x 1 root root 206392 Jan 7 2019 grep -rwxr-xr-x 2 root root 2345 Jan 5 2019 gunzip -rwxr-xr-x 1 root root 6375 Jan 5 2019 gzexe -rwxr-xr-x 1 root root 100952 Jan 5 2019 gzip -rwxr-xr-x 1 root root 21916 Sep 26 2018 hostname -rwxr-xr-x 1 root root 79752 Feb 28 2019 ln -rwxr-xr-x 1 root root 55400 Jul 26 2018 login -rwxr-xr-x 1 root root 149736 Feb 28 2019 ls -rwxr-xr-x 1 root root 112032 Jan 9 2019 lsblk -rwxr-xr-x 1 root root 87972 Feb 28 2019 mkdir -rwxr-xr-x 1 root root 79748 Feb 28 2019 mknod -rwxr-xr-x 1 root root 46916 Feb 28 2019 mktemp -rwxr-xr-x 1 root root 42348 Jan 9 2019 more -rwsr-xr-x 1 root root 50592 Jan 9 2019 mount -rwxr-xr-x 1 root root 13724 Jan 9 2019 mountpoint -rwxr-xr-x 1 root root 157832 Feb 28 2019 mv lrwxrwxrwx 1 root root 8 Sep 26 2018 nisdomainname -> hostname lrwxrwxrwx 1 root root 14 Feb 14 2019 pidof -> /sbin/killall5 -rwxr-xr-x 1 root root 38660 Feb 28 2019 pwd lrwxrwxrwx 1 root root 4 Apr 17 2019 rbash -> bash -rwxr-xr-x 1 root root 46852 Feb 28 2019 readlink -rwxr-xr-x 1 root root 75588 Feb 28 2019 rm -rwxr-xr-x 1 root root 42756 Feb 28 2019 rmdir -rwxr-xr-x 1 root root 22276 Jan 21 2019 run-parts -rwxr-xr-x 1 root root 125036 Dec 22 2018 sed lrwxrwxrwx 1 root root 4 Jul 28 20:25 sh -> dash -rwxr-xr-x 1 root root 34532 Feb 28 2019 sleep -rwxr-xr-x 1 root root 79652 Feb 28 2019 stty -rwsr-xr-x 1 root root 71072 Jan 9 2019 su -rwxr-xr-x 1 root root 34564 Feb 28 2019 sync -rwxr-xr-x 1 root root 504024 Apr 23 2019 tar -rwxr-xr-x 1 root root 13860 Jan 21 2019 tempfile -rwxr-xr-x 1 root root 104292 Feb 28 2019 touch -rwxr-xr-x 1 root root 34532 Feb 28 2019 true -rwxr-xr-x 1 root root 17768 Apr 22 07:38 ulockmgr_server -rwsr-xr-x 1 root root 30108 Jan 9 2019 umount -rwxr-xr-x 1 root root 34532 Feb 28 2019 uname -rwxr-xr-x 2 root root 2345 Jan 5 2019 uncompress -rwxr-xr-x 1 root root 149736 Feb 28 2019 vdir -rwxr-xr-x 1 root root 34208 Jan 9 2019 wdctl -rwxr-xr-x 1 root root 946 Jan 21 2019 which lrwxrwxrwx 1 root root 8 Sep 26 2018 ypdomainname -> hostname -rwxr-xr-x 1 root root 1983 Jan 5 2019 zcat -rwxr-xr-x 1 root root 1677 Jan 5 2019 zcmp -rwxr-xr-x 1 root root 5879 Jan 5 2019 zdiff -rwxr-xr-x 1 root root 29 Jan 5 2019 zegrep -rwxr-xr-x 1 root root 29 Jan 5 2019 zfgrep -rwxr-xr-x 1 root root 2080 Jan 5 2019 zforce -rwxr-xr-x 1 root root 7584 Jan 5 2019 zgrep -rwxr-xr-x 1 root root 2205 Jan 5 2019 zless -rwxr-xr-x 1 root root 1841 Jan 5 2019 zmore -rwxr-xr-x 1 root root 4552 Jan 5 2019 znew I: user script /srv/workspace/pbuilder/19041/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: i386 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper (>= 9), python-all, python3-all, dh-python, python3-sphinx (>= 1.0.7+dfsg), python-setuptools, python3-setuptools, python-cryptography (>= 2.3), python3-cryptography (>= 2.3), python-six, python3-six, python-pytest (>= 3.0.1), python3-pytest (>= 3.0.1), python-cffi, python3-cffi, python3-sphinx-rtd-theme, python-pretend, python3-pretend, python-flaky, python3-flaky dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19234 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper (>= 9); however: Package debhelper is not installed. pbuilder-satisfydepends-dummy depends on python-all; however: Package python-all is not installed. pbuilder-satisfydepends-dummy depends on python3-all; however: Package python3-all is not installed. pbuilder-satisfydepends-dummy depends on dh-python; however: Package dh-python is not installed. pbuilder-satisfydepends-dummy depends on python3-sphinx (>= 1.0.7+dfsg); however: Package python3-sphinx is not installed. pbuilder-satisfydepends-dummy depends on python-setuptools; however: Package python-setuptools is not installed. pbuilder-satisfydepends-dummy depends on python3-setuptools; however: Package python3-setuptools is not installed. pbuilder-satisfydepends-dummy depends on python-cryptography (>= 2.3); however: Package python-cryptography is not installed. pbuilder-satisfydepends-dummy depends on python3-cryptography (>= 2.3); however: Package python3-cryptography is not installed. pbuilder-satisfydepends-dummy depends on python-six; however: Package python-six is not installed. pbuilder-satisfydepends-dummy depends on python3-six; however: Package python3-six is not installed. pbuilder-satisfydepends-dummy depends on python-pytest (>= 3.0.1); however: Package python-pytest is not installed. pbuilder-satisfydepends-dummy depends on python3-pytest (>= 3.0.1); however: Package python3-pytest is not installed. pbuilder-satisfydepends-dummy depends on python-cffi; however: Package python-cffi is not installed. pbuilder-satisfydepends-dummy depends on python3-cffi; however: Package python3-cffi is not installed. pbuilder-satisfydepends-dummy depends on python3-sphinx-rtd-theme; however: Package python3-sphinx-rtd-theme is not installed. pbuilder-satisfydepends-dummy depends on python-pretend; however: Package python-pretend is not installed. pbuilder-satisfydepends-dummy depends on python3-pretend; however: Package python3-pretend is not installed. pbuilder-satisfydepends-dummy depends on python-flaky; however: Package python-flaky is not installed. pbuilder-satisfydepends-dummy depends on python3-flaky; however: Package python3-flaky is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdmainutils{a} ca-certificates{a} debhelper{a} dh-autoreconf{a} dh-python{a} dh-strip-nondeterminism{a} docutils-common{a} dwz{a} file{a} fonts-font-awesome{a} fonts-lato{a} fonts-roboto-slab{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libbsd0{a} libcroco3{a} libelf1{a} libexpat1{a} libfile-stripnondeterminism-perl{a} libglib2.0-0{a} libicu63{a} libjs-jquery{a} libjs-modernizr{a} libjs-sphinxdoc{a} libjs-underscore{a} libmagic-mgc{a} libmagic1{a} libmpdec2{a} libncurses6{a} libpipeline1{a} libpython-stdlib{a} libpython2-stdlib{a} libpython2.7-minimal{a} libpython2.7-stdlib{a} libpython3-stdlib{a} libpython3.7-minimal{a} libpython3.7-stdlib{a} libreadline7{a} libsigsegv2{a} libssl1.1{a} libtool{a} libuchardet0{a} libxml2{a} m4{a} man-db{a} mime-support{a} openssl{a} po-debconf{a} python{a} python-all{a} python-asn1crypto{a} python-atomicwrites{a} python-attr{a} python-babel-localedata{a} python-cffi{a} python-cffi-backend{a} python-cryptography{a} python-enum34{a} python-flaky{a} python-funcsigs{a} python-ipaddress{a} python-minimal{a} python-more-itertools{a} python-pathlib2{a} python-pkg-resources{a} python-pluggy{a} python-ply{a} python-pretend{a} python-py{a} python-pycparser{a} python-pytest{a} python-scandir{a} python-setuptools{a} python-six{a} python2{a} python2-minimal{a} python2.7{a} python2.7-minimal{a} python3{a} python3-alabaster{a} python3-all{a} python3-asn1crypto{a} python3-atomicwrites{a} python3-attr{a} python3-babel{a} python3-certifi{a} python3-cffi{a} python3-cffi-backend{a} python3-chardet{a} python3-cryptography{a} python3-distutils{a} python3-docutils{a} python3-flaky{a} python3-idna{a} python3-imagesize{a} python3-jinja2{a} python3-lib2to3{a} python3-markupsafe{a} python3-minimal{a} python3-more-itertools{a} python3-packaging{a} python3-pkg-resources{a} python3-pluggy{a} python3-ply{a} python3-pretend{a} python3-py{a} python3-pycparser{a} python3-pygments{a} python3-pyparsing{a} python3-pytest{a} python3-requests{a} python3-roman{a} python3-setuptools{a} python3-six{a} python3-sphinx{a} python3-sphinx-rtd-theme{a} python3-tz{a} python3-urllib3{a} python3.7{a} python3.7-minimal{a} readline-common{a} sensible-utils{a} sgml-base{a} sphinx-common{a} sphinx-rtd-theme-common{a} xml-core{a} The following packages are RECOMMENDED but will NOT be installed: curl javascript-common libarchive-cpio-perl libglib2.0-data libgpm2 libltdl-dev libmail-sendmail-perl libpaper-utils lynx python3-pil shared-mime-info wget xdg-user-dirs 0 packages upgraded, 133 newly installed, 0 to remove and 0 not upgraded. Need to get 46.7 MB of archives. After unpacking 190 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian buster/main i386 libbsd0 i386 0.9.1-2 [104 kB] Get: 2 http://deb.debian.org/debian buster/main i386 bsdmainutils i386 11.1.2+b1 [193 kB] Get: 3 http://deb.debian.org/debian buster/main i386 libuchardet0 i386 0.0.6-3 [65.2 kB] Get: 4 http://deb.debian.org/debian buster/main i386 groff-base i386 1.22.4-3 [935 kB] Get: 5 http://deb.debian.org/debian buster/main i386 libpipeline1 i386 1.5.1-2 [33.3 kB] Get: 6 http://deb.debian.org/debian buster/main i386 man-db i386 2.8.5-2 [1284 kB] Get: 7 http://deb.debian.org/debian buster/main i386 libpython2.7-minimal i386 2.7.16-2+deb10u1 [395 kB] Get: 8 http://deb.debian.org/debian buster/main i386 python2.7-minimal i386 2.7.16-2+deb10u1 [1381 kB] Get: 9 http://deb.debian.org/debian buster/main i386 python2-minimal i386 2.7.16-1 [41.4 kB] Get: 10 http://deb.debian.org/debian buster/main i386 python-minimal i386 2.7.16-1 [21.0 kB] Get: 11 http://deb.debian.org/debian buster/main i386 libssl1.1 i386 1.1.1d-0+deb10u3 [1537 kB] Get: 12 http://deb.debian.org/debian buster/main i386 mime-support all 3.62 [37.2 kB] Get: 13 http://deb.debian.org/debian buster/main i386 libexpat1 i386 2.2.6-2+deb10u1 [104 kB] Get: 14 http://deb.debian.org/debian buster/main i386 readline-common all 7.0-5 [70.6 kB] Get: 15 http://deb.debian.org/debian buster/main i386 libreadline7 i386 7.0-5 [156 kB] Get: 16 http://deb.debian.org/debian buster/main i386 libpython2.7-stdlib i386 2.7.16-2+deb10u1 [1934 kB] Get: 17 http://deb.debian.org/debian buster/main i386 python2.7 i386 2.7.16-2+deb10u1 [305 kB] Get: 18 http://deb.debian.org/debian buster/main i386 libpython2-stdlib i386 2.7.16-1 [20.8 kB] Get: 19 http://deb.debian.org/debian buster/main i386 libpython-stdlib i386 2.7.16-1 [20.8 kB] Get: 20 http://deb.debian.org/debian buster/main i386 python2 i386 2.7.16-1 [41.6 kB] Get: 21 http://deb.debian.org/debian buster/main i386 python i386 2.7.16-1 [22.8 kB] Get: 22 http://deb.debian.org/debian buster/main i386 fonts-lato all 2.0-2 [2698 kB] Get: 23 http://deb.debian.org/debian buster/main i386 libpython3.7-minimal i386 3.7.3-2+deb10u1 [590 kB] Get: 24 http://deb.debian.org/debian buster/main i386 python3.7-minimal i386 3.7.3-2+deb10u1 [1745 kB] Get: 25 http://deb.debian.org/debian buster/main i386 python3-minimal i386 3.7.3-1 [36.6 kB] Get: 26 http://deb.debian.org/debian buster/main i386 libmpdec2 i386 2.4.2-2 [83.2 kB] Get: 27 http://deb.debian.org/debian buster/main i386 libpython3.7-stdlib i386 3.7.3-2+deb10u1 [1750 kB] Get: 28 http://deb.debian.org/debian buster/main i386 python3.7 i386 3.7.3-2+deb10u1 [330 kB] Get: 29 http://deb.debian.org/debian buster/main i386 libpython3-stdlib i386 3.7.3-1 [20.0 kB] Get: 30 http://deb.debian.org/debian buster/main i386 python3 i386 3.7.3-1 [61.5 kB] Get: 31 http://deb.debian.org/debian buster/main i386 sgml-base all 1.29 [14.8 kB] Get: 32 http://deb.debian.org/debian buster/main i386 sensible-utils all 0.0.12 [15.8 kB] Get: 33 http://deb.debian.org/debian buster/main i386 libmagic-mgc i386 1:5.35-4+deb10u1 [242 kB] Get: 34 http://deb.debian.org/debian buster/main i386 libmagic1 i386 1:5.35-4+deb10u1 [124 kB] Get: 35 http://deb.debian.org/debian buster/main i386 file i386 1:5.35-4+deb10u1 [66.3 kB] Get: 36 http://deb.debian.org/debian buster/main i386 gettext-base i386 0.19.8.1-9 [124 kB] Get: 37 http://deb.debian.org/debian buster/main i386 libsigsegv2 i386 2.12-2 [33.2 kB] Get: 38 http://deb.debian.org/debian buster/main i386 m4 i386 1.4.18-2 [205 kB] Get: 39 http://deb.debian.org/debian buster/main i386 autoconf all 2.69-11 [341 kB] Get: 40 http://deb.debian.org/debian buster/main i386 autotools-dev all 20180224.1 [77.0 kB] Get: 41 http://deb.debian.org/debian buster/main i386 automake all 1:1.16.1-4 [771 kB] Get: 42 http://deb.debian.org/debian buster/main i386 autopoint all 0.19.8.1-9 [434 kB] Get: 43 http://deb.debian.org/debian buster/main i386 openssl i386 1.1.1d-0+deb10u3 [853 kB] Get: 44 http://deb.debian.org/debian buster/main i386 ca-certificates all 20190110 [157 kB] Get: 45 http://deb.debian.org/debian buster/main i386 libtool all 2.4.6-9 [547 kB] Get: 46 http://deb.debian.org/debian buster/main i386 dh-autoreconf all 19 [16.9 kB] Get: 47 http://deb.debian.org/debian buster/main i386 libarchive-zip-perl all 1.64-1 [96.8 kB] Get: 48 http://deb.debian.org/debian buster/main i386 libfile-stripnondeterminism-perl all 1.1.2-1 [19.8 kB] Get: 49 http://deb.debian.org/debian buster/main i386 dh-strip-nondeterminism all 1.1.2-1 [13.0 kB] Get: 50 http://deb.debian.org/debian buster/main i386 libelf1 i386 0.176-1.1 [166 kB] Get: 51 http://deb.debian.org/debian buster/main i386 dwz i386 0.12-3 [81.4 kB] Get: 52 http://deb.debian.org/debian buster/main i386 libglib2.0-0 i386 2.58.3-2+deb10u2 [1334 kB] Get: 53 http://deb.debian.org/debian buster/main i386 libicu63 i386 63.1-6+deb10u1 [8451 kB] Get: 54 http://deb.debian.org/debian buster/main i386 libxml2 i386 2.9.4+dfsg1-7+b3 [721 kB] Get: 55 http://deb.debian.org/debian buster/main i386 libcroco3 i386 0.6.12-3 [151 kB] Get: 56 http://deb.debian.org/debian buster/main i386 libncurses6 i386 6.1+20181013-2+deb10u2 [109 kB] Get: 57 http://deb.debian.org/debian buster/main i386 gettext i386 0.19.8.1-9 [1314 kB] Get: 58 http://deb.debian.org/debian buster/main i386 intltool-debian all 0.35.0+20060710.5 [26.8 kB] Get: 59 http://deb.debian.org/debian buster/main i386 po-debconf all 1.0.21 [248 kB] Get: 60 http://deb.debian.org/debian buster/main i386 debhelper all 12.1.1 [1016 kB] Get: 61 http://deb.debian.org/debian buster/main i386 python3-lib2to3 all 3.7.3-1 [76.7 kB] Get: 62 http://deb.debian.org/debian buster/main i386 python3-distutils all 3.7.3-1 [142 kB] Get: 63 http://deb.debian.org/debian buster/main i386 dh-python all 3.20190308 [99.3 kB] Get: 64 http://deb.debian.org/debian buster/main i386 xml-core all 0.18+nmu1 [23.8 kB] Get: 65 http://deb.debian.org/debian buster/main i386 docutils-common all 0.14+dfsg-4 [167 kB] Get: 66 http://deb.debian.org/debian buster/main i386 fonts-font-awesome all 5.0.10+really4.7.0~dfsg-1 [515 kB] Get: 67 http://deb.debian.org/debian buster/main i386 fonts-roboto-slab all 1.100263+20170512-1 [207 kB] Get: 68 http://deb.debian.org/debian buster/main i386 libjs-jquery all 3.3.1~dfsg-3 [332 kB] Get: 69 http://deb.debian.org/debian buster/main i386 libjs-modernizr all 2.6.2+ds1-3 [46.7 kB] Get: 70 http://deb.debian.org/debian buster/main i386 libjs-underscore all 1.9.1~dfsg-1 [99.4 kB] Get: 71 http://deb.debian.org/debian buster/main i386 libjs-sphinxdoc all 1.8.4-1 [95.9 kB] Get: 72 http://deb.debian.org/debian buster/main i386 python-all i386 2.7.16-1 [1044 B] Get: 73 http://deb.debian.org/debian buster/main i386 python-asn1crypto all 0.24.0-1 [78.1 kB] Get: 74 http://deb.debian.org/debian buster/main i386 python-atomicwrites all 1.1.5-2 [6808 B] Get: 75 http://deb.debian.org/debian buster/main i386 python-attr all 18.2.0-1 [37.2 kB] Get: 76 http://deb.debian.org/debian buster/main i386 python-babel-localedata all 2.6.0+dfsg.1-1 [4083 kB] Get: 77 http://deb.debian.org/debian buster/main i386 python-cffi-backend i386 1.12.2-1 [82.3 kB] Get: 78 http://deb.debian.org/debian buster/main i386 python-ply all 3.11-3 [65.1 kB] Get: 79 http://deb.debian.org/debian buster/main i386 python-pycparser all 2.19-1 [75.7 kB] Get: 80 http://deb.debian.org/debian buster/main i386 python-cffi all 1.12.2-1 [83.2 kB] Get: 81 http://deb.debian.org/debian buster/main i386 python-enum34 all 1.1.6-2 [35.3 kB] Get: 82 http://deb.debian.org/debian buster/main i386 python-ipaddress all 1.0.17-1 [18.1 kB] Get: 83 http://deb.debian.org/debian buster/main i386 python-six all 1.12.0-1 [15.7 kB] Get: 84 http://deb.debian.org/debian buster/main i386 python-cryptography i386 2.6.1-3+deb10u2 [201 kB] Get: 85 http://deb.debian.org/debian buster/main i386 python-flaky all 3.3.0-1 [18.9 kB] Get: 86 http://deb.debian.org/debian buster/main i386 python-funcsigs all 1.0.2-4 [13.7 kB] Get: 87 http://deb.debian.org/debian buster/main i386 python-more-itertools all 4.2.0-1 [42.3 kB] Get: 88 http://deb.debian.org/debian buster/main i386 python-scandir i386 1.9.0-2 [18.7 kB] Get: 89 http://deb.debian.org/debian buster/main i386 python-pathlib2 all 2.3.3-1 [18.3 kB] Get: 90 http://deb.debian.org/debian buster/main i386 python-pkg-resources all 40.8.0-1 [182 kB] Get: 91 http://deb.debian.org/debian buster/main i386 python-pluggy all 0.8.0-1 [20.5 kB] Get: 92 http://deb.debian.org/debian buster/main i386 python-pretend all 1.0.8-2 [5932 B] Get: 93 http://deb.debian.org/debian buster/main i386 python-py all 1.7.0-2 [86.5 kB] Get: 94 http://deb.debian.org/debian buster/main i386 python-pytest all 3.10.1-2 [243 kB] Get: 95 http://deb.debian.org/debian buster/main i386 python-setuptools all 40.8.0-1 [382 kB] Get: 96 http://deb.debian.org/debian buster/main i386 python3-alabaster all 0.7.8-1 [18.4 kB] Get: 97 http://deb.debian.org/debian buster/main i386 python3-all i386 3.7.3-1 [1068 B] Get: 98 http://deb.debian.org/debian buster/main i386 python3-asn1crypto all 0.24.0-1 [78.2 kB] Get: 99 http://deb.debian.org/debian buster/main i386 python3-atomicwrites all 1.1.5-2 [6892 B] Get: 100 http://deb.debian.org/debian buster/main i386 python3-attr all 18.2.0-1 [37.3 kB] Get: 101 http://deb.debian.org/debian buster/main i386 python3-pkg-resources all 40.8.0-1 [153 kB] Get: 102 http://deb.debian.org/debian buster/main i386 python3-tz all 2019.1-1 [27.1 kB] Get: 103 http://deb.debian.org/debian buster/main i386 python3-babel all 2.6.0+dfsg.1-1 [96.7 kB] Get: 104 http://deb.debian.org/debian buster/main i386 python3-certifi all 2018.8.24-1 [140 kB] Get: 105 http://deb.debian.org/debian buster/main i386 python3-cffi-backend i386 1.12.2-1 [83.4 kB] Get: 106 http://deb.debian.org/debian buster/main i386 python3-ply all 3.11-3 [65.1 kB] Get: 107 http://deb.debian.org/debian buster/main i386 python3-pycparser all 2.19-1 [75.6 kB] Get: 108 http://deb.debian.org/debian buster/main i386 python3-cffi all 1.12.2-1 [83.3 kB] Get: 109 http://deb.debian.org/debian buster/main i386 python3-chardet all 3.0.4-3 [80.5 kB] Get: 110 http://deb.debian.org/debian buster/main i386 python3-six all 1.12.0-1 [15.7 kB] Get: 111 http://deb.debian.org/debian buster/main i386 python3-cryptography i386 2.6.1-3+deb10u2 [201 kB] Get: 112 http://deb.debian.org/debian buster/main i386 python3-roman all 2.0.0-3 [8768 B] Get: 113 http://deb.debian.org/debian buster/main i386 python3-docutils all 0.14+dfsg-4 [378 kB] Get: 114 http://deb.debian.org/debian buster/main i386 python3-flaky all 3.3.0-1 [21.4 kB] Get: 115 http://deb.debian.org/debian buster/main i386 python3-idna all 2.6-1 [34.3 kB] Get: 116 http://deb.debian.org/debian buster/main i386 python3-imagesize all 1.0.0-1 [4960 B] Get: 117 http://deb.debian.org/debian buster/main i386 python3-markupsafe i386 1.1.0-1 [15.0 kB] Get: 118 http://deb.debian.org/debian buster/main i386 python3-jinja2 all 2.10-2 [106 kB] Get: 119 http://deb.debian.org/debian buster/main i386 python3-more-itertools all 4.2.0-1 [42.2 kB] Get: 120 http://deb.debian.org/debian buster/main i386 python3-pyparsing all 2.2.0+dfsg1-2 [89.6 kB] Get: 121 http://deb.debian.org/debian buster/main i386 python3-packaging all 19.0-1 [20.5 kB] Get: 122 http://deb.debian.org/debian buster/main i386 python3-pluggy all 0.8.0-1 [20.6 kB] Get: 123 http://deb.debian.org/debian buster/main i386 python3-pretend all 1.0.8-2 [5988 B] Get: 124 http://deb.debian.org/debian buster/main i386 python3-py all 1.7.0-2 [86.6 kB] Get: 125 http://deb.debian.org/debian buster/main i386 python3-pygments all 2.3.1+dfsg-1 [594 kB] Get: 126 http://deb.debian.org/debian buster/main i386 python3-pytest all 3.10.1-2 [243 kB] Get: 127 http://deb.debian.org/debian buster/main i386 python3-urllib3 all 1.24.1-1 [97.1 kB] Get: 128 http://deb.debian.org/debian buster/main i386 python3-requests all 2.21.0-1 [66.9 kB] Get: 129 http://deb.debian.org/debian buster/main i386 python3-setuptools all 40.8.0-1 [306 kB] Get: 130 http://deb.debian.org/debian buster/main i386 sphinx-common all 1.8.4-1 [500 kB] Get: 131 http://deb.debian.org/debian buster/main i386 python3-sphinx all 1.8.4-1 [481 kB] Get: 132 http://deb.debian.org/debian buster/main i386 sphinx-rtd-theme-common all 0.4.3+dfsg-1 [1021 kB] Get: 133 http://deb.debian.org/debian buster/main i386 python3-sphinx-rtd-theme all 0.4.3+dfsg-1 [9696 B] Fetched 46.7 MB in 6s (7275 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0:i386. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19234 files and directories currently installed.) Preparing to unpack .../00-libbsd0_0.9.1-2_i386.deb ... Unpacking libbsd0:i386 (0.9.1-2) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../01-bsdmainutils_11.1.2+b1_i386.deb ... Unpacking bsdmainutils (11.1.2+b1) ... Selecting previously unselected package libuchardet0:i386. Preparing to unpack .../02-libuchardet0_0.0.6-3_i386.deb ... Unpacking libuchardet0:i386 (0.0.6-3) ... Selecting previously unselected package groff-base. Preparing to unpack .../03-groff-base_1.22.4-3_i386.deb ... Unpacking groff-base (1.22.4-3) ... Selecting previously unselected package libpipeline1:i386. Preparing to unpack .../04-libpipeline1_1.5.1-2_i386.deb ... Unpacking libpipeline1:i386 (1.5.1-2) ... Selecting previously unselected package man-db. Preparing to unpack .../05-man-db_2.8.5-2_i386.deb ... Unpacking man-db (2.8.5-2) ... Selecting previously unselected package libpython2.7-minimal:i386. Preparing to unpack .../06-libpython2.7-minimal_2.7.16-2+deb10u1_i386.deb ... Unpacking libpython2.7-minimal:i386 (2.7.16-2+deb10u1) ... Selecting previously unselected package python2.7-minimal. Preparing to unpack .../07-python2.7-minimal_2.7.16-2+deb10u1_i386.deb ... Unpacking python2.7-minimal (2.7.16-2+deb10u1) ... Selecting previously unselected package python2-minimal. Preparing to unpack .../08-python2-minimal_2.7.16-1_i386.deb ... Unpacking python2-minimal (2.7.16-1) ... Selecting previously unselected package python-minimal. Preparing to unpack .../09-python-minimal_2.7.16-1_i386.deb ... Unpacking python-minimal (2.7.16-1) ... Selecting previously unselected package libssl1.1:i386. Preparing to unpack .../10-libssl1.1_1.1.1d-0+deb10u3_i386.deb ... Unpacking libssl1.1:i386 (1.1.1d-0+deb10u3) ... Selecting previously unselected package mime-support. Preparing to unpack .../11-mime-support_3.62_all.deb ... Unpacking mime-support (3.62) ... Selecting previously unselected package libexpat1:i386. Preparing to unpack .../12-libexpat1_2.2.6-2+deb10u1_i386.deb ... Unpacking libexpat1:i386 (2.2.6-2+deb10u1) ... Selecting previously unselected package readline-common. Preparing to unpack .../13-readline-common_7.0-5_all.deb ... Unpacking readline-common (7.0-5) ... Selecting previously unselected package libreadline7:i386. Preparing to unpack .../14-libreadline7_7.0-5_i386.deb ... Unpacking libreadline7:i386 (7.0-5) ... Selecting previously unselected package libpython2.7-stdlib:i386. Preparing to unpack .../15-libpython2.7-stdlib_2.7.16-2+deb10u1_i386.deb ... Unpacking libpython2.7-stdlib:i386 (2.7.16-2+deb10u1) ... Selecting previously unselected package python2.7. Preparing to unpack .../16-python2.7_2.7.16-2+deb10u1_i386.deb ... Unpacking python2.7 (2.7.16-2+deb10u1) ... Selecting previously unselected package libpython2-stdlib:i386. Preparing to unpack .../17-libpython2-stdlib_2.7.16-1_i386.deb ... Unpacking libpython2-stdlib:i386 (2.7.16-1) ... Selecting previously unselected package libpython-stdlib:i386. Preparing to unpack .../18-libpython-stdlib_2.7.16-1_i386.deb ... Unpacking libpython-stdlib:i386 (2.7.16-1) ... Setting up libpython2.7-minimal:i386 (2.7.16-2+deb10u1) ... Setting up python2.7-minimal (2.7.16-2+deb10u1) ... Setting up python2-minimal (2.7.16-1) ... Selecting previously unselected package python2. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 20699 files and directories currently installed.) Preparing to unpack .../python2_2.7.16-1_i386.deb ... Unpacking python2 (2.7.16-1) ... Setting up python-minimal (2.7.16-1) ... Selecting previously unselected package python. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 20732 files and directories currently installed.) Preparing to unpack .../python_2.7.16-1_i386.deb ... Unpacking python (2.7.16-1) ... Selecting previously unselected package fonts-lato. Preparing to unpack .../fonts-lato_2.0-2_all.deb ... Unpacking fonts-lato (2.0-2) ... Selecting previously unselected package libpython3.7-minimal:i386. Preparing to unpack .../libpython3.7-minimal_3.7.3-2+deb10u1_i386.deb ... Unpacking libpython3.7-minimal:i386 (3.7.3-2+deb10u1) ... Selecting previously unselected package python3.7-minimal. Preparing to unpack .../python3.7-minimal_3.7.3-2+deb10u1_i386.deb ... Unpacking python3.7-minimal (3.7.3-2+deb10u1) ... Setting up libssl1.1:i386 (1.1.1d-0+deb10u3) ... Setting up libpython3.7-minimal:i386 (3.7.3-2+deb10u1) ... Setting up libexpat1:i386 (2.2.6-2+deb10u1) ... Setting up python3.7-minimal (3.7.3-2+deb10u1) ... Selecting previously unselected package python3-minimal. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 21012 files and directories currently installed.) Preparing to unpack .../python3-minimal_3.7.3-1_i386.deb ... Unpacking python3-minimal (3.7.3-1) ... Selecting previously unselected package libmpdec2:i386. Preparing to unpack .../libmpdec2_2.4.2-2_i386.deb ... Unpacking libmpdec2:i386 (2.4.2-2) ... Selecting previously unselected package libpython3.7-stdlib:i386. Preparing to unpack .../libpython3.7-stdlib_3.7.3-2+deb10u1_i386.deb ... Unpacking libpython3.7-stdlib:i386 (3.7.3-2+deb10u1) ... Selecting previously unselected package python3.7. Preparing to unpack .../python3.7_3.7.3-2+deb10u1_i386.deb ... Unpacking python3.7 (3.7.3-2+deb10u1) ... Selecting previously unselected package libpython3-stdlib:i386. Preparing to unpack .../libpython3-stdlib_3.7.3-1_i386.deb ... Unpacking libpython3-stdlib:i386 (3.7.3-1) ... Setting up python3-minimal (3.7.3-1) ... Selecting previously unselected package python3. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 21424 files and directories currently installed.) Preparing to unpack .../000-python3_3.7.3-1_i386.deb ... Unpacking python3 (3.7.3-1) ... Selecting previously unselected package sgml-base. Preparing to unpack .../001-sgml-base_1.29_all.deb ... Unpacking sgml-base (1.29) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../002-sensible-utils_0.0.12_all.deb ... Unpacking sensible-utils (0.0.12) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../003-libmagic-mgc_1%3a5.35-4+deb10u1_i386.deb ... Unpacking libmagic-mgc (1:5.35-4+deb10u1) ... Selecting previously unselected package libmagic1:i386. Preparing to unpack .../004-libmagic1_1%3a5.35-4+deb10u1_i386.deb ... Unpacking libmagic1:i386 (1:5.35-4+deb10u1) ... Selecting previously unselected package file. Preparing to unpack .../005-file_1%3a5.35-4+deb10u1_i386.deb ... Unpacking file (1:5.35-4+deb10u1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../006-gettext-base_0.19.8.1-9_i386.deb ... Unpacking gettext-base (0.19.8.1-9) ... Selecting previously unselected package libsigsegv2:i386. Preparing to unpack .../007-libsigsegv2_2.12-2_i386.deb ... Unpacking libsigsegv2:i386 (2.12-2) ... Selecting previously unselected package m4. Preparing to unpack .../008-m4_1.4.18-2_i386.deb ... Unpacking m4 (1.4.18-2) ... Selecting previously unselected package autoconf. Preparing to unpack .../009-autoconf_2.69-11_all.deb ... Unpacking autoconf (2.69-11) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../010-autotools-dev_20180224.1_all.deb ... Unpacking autotools-dev (20180224.1) ... Selecting previously unselected package automake. Preparing to unpack .../011-automake_1%3a1.16.1-4_all.deb ... Unpacking automake (1:1.16.1-4) ... Selecting previously unselected package autopoint. Preparing to unpack .../012-autopoint_0.19.8.1-9_all.deb ... Unpacking autopoint (0.19.8.1-9) ... Selecting previously unselected package openssl. Preparing to unpack .../013-openssl_1.1.1d-0+deb10u3_i386.deb ... Unpacking openssl (1.1.1d-0+deb10u3) ... Selecting previously unselected package ca-certificates. Preparing to unpack .../014-ca-certificates_20190110_all.deb ... Unpacking ca-certificates (20190110) ... Selecting previously unselected package libtool. Preparing to unpack .../015-libtool_2.4.6-9_all.deb ... Unpacking libtool (2.4.6-9) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../016-dh-autoreconf_19_all.deb ... Unpacking dh-autoreconf (19) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../017-libarchive-zip-perl_1.64-1_all.deb ... Unpacking libarchive-zip-perl (1.64-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../018-libfile-stripnondeterminism-perl_1.1.2-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.1.2-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../019-dh-strip-nondeterminism_1.1.2-1_all.deb ... Unpacking dh-strip-nondeterminism (1.1.2-1) ... Selecting previously unselected package libelf1:i386. Preparing to unpack .../020-libelf1_0.176-1.1_i386.deb ... Unpacking libelf1:i386 (0.176-1.1) ... Selecting previously unselected package dwz. Preparing to unpack .../021-dwz_0.12-3_i386.deb ... Unpacking dwz (0.12-3) ... Selecting previously unselected package libglib2.0-0:i386. Preparing to unpack .../022-libglib2.0-0_2.58.3-2+deb10u2_i386.deb ... Unpacking libglib2.0-0:i386 (2.58.3-2+deb10u2) ... Selecting previously unselected package libicu63:i386. Preparing to unpack .../023-libicu63_63.1-6+deb10u1_i386.deb ... Unpacking libicu63:i386 (63.1-6+deb10u1) ... Selecting previously unselected package libxml2:i386. Preparing to unpack .../024-libxml2_2.9.4+dfsg1-7+b3_i386.deb ... Unpacking libxml2:i386 (2.9.4+dfsg1-7+b3) ... Selecting previously unselected package libcroco3:i386. Preparing to unpack .../025-libcroco3_0.6.12-3_i386.deb ... Unpacking libcroco3:i386 (0.6.12-3) ... Selecting previously unselected package libncurses6:i386. Preparing to unpack .../026-libncurses6_6.1+20181013-2+deb10u2_i386.deb ... Unpacking libncurses6:i386 (6.1+20181013-2+deb10u2) ... Selecting previously unselected package gettext. Preparing to unpack .../027-gettext_0.19.8.1-9_i386.deb ... Unpacking gettext (0.19.8.1-9) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../028-intltool-debian_0.35.0+20060710.5_all.deb ... Unpacking intltool-debian (0.35.0+20060710.5) ... Selecting previously unselected package po-debconf. Preparing to unpack .../029-po-debconf_1.0.21_all.deb ... Unpacking po-debconf (1.0.21) ... Selecting previously unselected package debhelper. Preparing to unpack .../030-debhelper_12.1.1_all.deb ... Unpacking debhelper (12.1.1) ... Selecting previously unselected package python3-lib2to3. Preparing to unpack .../031-python3-lib2to3_3.7.3-1_all.deb ... Unpacking python3-lib2to3 (3.7.3-1) ... Selecting previously unselected package python3-distutils. Preparing to unpack .../032-python3-distutils_3.7.3-1_all.deb ... Unpacking python3-distutils (3.7.3-1) ... Selecting previously unselected package dh-python. Preparing to unpack .../033-dh-python_3.20190308_all.deb ... Unpacking dh-python (3.20190308) ... Selecting previously unselected package xml-core. Preparing to unpack .../034-xml-core_0.18+nmu1_all.deb ... Unpacking xml-core (0.18+nmu1) ... Selecting previously unselected package docutils-common. Preparing to unpack .../035-docutils-common_0.14+dfsg-4_all.deb ... Unpacking docutils-common (0.14+dfsg-4) ... Selecting previously unselected package fonts-font-awesome. Preparing to unpack .../036-fonts-font-awesome_5.0.10+really4.7.0~dfsg-1_all.deb ... Unpacking fonts-font-awesome (5.0.10+really4.7.0~dfsg-1) ... Selecting previously unselected package fonts-roboto-slab. Preparing to unpack .../037-fonts-roboto-slab_1.100263+20170512-1_all.deb ... Unpacking fonts-roboto-slab (1.100263+20170512-1) ... Selecting previously unselected package libjs-jquery. Preparing to unpack .../038-libjs-jquery_3.3.1~dfsg-3_all.deb ... Unpacking libjs-jquery (3.3.1~dfsg-3) ... Selecting previously unselected package libjs-modernizr. Preparing to unpack .../039-libjs-modernizr_2.6.2+ds1-3_all.deb ... Unpacking libjs-modernizr (2.6.2+ds1-3) ... Selecting previously unselected package libjs-underscore. Preparing to unpack .../040-libjs-underscore_1.9.1~dfsg-1_all.deb ... Unpacking libjs-underscore (1.9.1~dfsg-1) ... Selecting previously unselected package libjs-sphinxdoc. Preparing to unpack .../041-libjs-sphinxdoc_1.8.4-1_all.deb ... Unpacking libjs-sphinxdoc (1.8.4-1) ... Selecting previously unselected package python-all. Preparing to unpack .../042-python-all_2.7.16-1_i386.deb ... Unpacking python-all (2.7.16-1) ... Selecting previously unselected package python-asn1crypto. Preparing to unpack .../043-python-asn1crypto_0.24.0-1_all.deb ... Unpacking python-asn1crypto (0.24.0-1) ... Selecting previously unselected package python-atomicwrites. Preparing to unpack .../044-python-atomicwrites_1.1.5-2_all.deb ... Unpacking python-atomicwrites (1.1.5-2) ... Selecting previously unselected package python-attr. Preparing to unpack .../045-python-attr_18.2.0-1_all.deb ... Unpacking python-attr (18.2.0-1) ... Selecting previously unselected package python-babel-localedata. Preparing to unpack .../046-python-babel-localedata_2.6.0+dfsg.1-1_all.deb ... Unpacking python-babel-localedata (2.6.0+dfsg.1-1) ... Selecting previously unselected package python-cffi-backend. Preparing to unpack .../047-python-cffi-backend_1.12.2-1_i386.deb ... Unpacking python-cffi-backend (1.12.2-1) ... Selecting previously unselected package python-ply. Preparing to unpack .../048-python-ply_3.11-3_all.deb ... Unpacking python-ply (3.11-3) ... Selecting previously unselected package python-pycparser. Preparing to unpack .../049-python-pycparser_2.19-1_all.deb ... Unpacking python-pycparser (2.19-1) ... Selecting previously unselected package python-cffi. Preparing to unpack .../050-python-cffi_1.12.2-1_all.deb ... Unpacking python-cffi (1.12.2-1) ... Selecting previously unselected package python-enum34. Preparing to unpack .../051-python-enum34_1.1.6-2_all.deb ... Unpacking python-enum34 (1.1.6-2) ... Selecting previously unselected package python-ipaddress. Preparing to unpack .../052-python-ipaddress_1.0.17-1_all.deb ... Unpacking python-ipaddress (1.0.17-1) ... Selecting previously unselected package python-six. Preparing to unpack .../053-python-six_1.12.0-1_all.deb ... Unpacking python-six (1.12.0-1) ... Selecting previously unselected package python-cryptography. Preparing to unpack .../054-python-cryptography_2.6.1-3+deb10u2_i386.deb ... Unpacking python-cryptography (2.6.1-3+deb10u2) ... Selecting previously unselected package python-flaky. Preparing to unpack .../055-python-flaky_3.3.0-1_all.deb ... Unpacking python-flaky (3.3.0-1) ... Selecting previously unselected package python-funcsigs. Preparing to unpack .../056-python-funcsigs_1.0.2-4_all.deb ... Unpacking python-funcsigs (1.0.2-4) ... Selecting previously unselected package python-more-itertools. Preparing to unpack .../057-python-more-itertools_4.2.0-1_all.deb ... Unpacking python-more-itertools (4.2.0-1) ... Selecting previously unselected package python-scandir. Preparing to unpack .../058-python-scandir_1.9.0-2_i386.deb ... Unpacking python-scandir (1.9.0-2) ... Selecting previously unselected package python-pathlib2. Preparing to unpack .../059-python-pathlib2_2.3.3-1_all.deb ... Unpacking python-pathlib2 (2.3.3-1) ... Selecting previously unselected package python-pkg-resources. Preparing to unpack .../060-python-pkg-resources_40.8.0-1_all.deb ... Unpacking python-pkg-resources (40.8.0-1) ... Selecting previously unselected package python-pluggy. Preparing to unpack .../061-python-pluggy_0.8.0-1_all.deb ... Unpacking python-pluggy (0.8.0-1) ... Selecting previously unselected package python-pretend. Preparing to unpack .../062-python-pretend_1.0.8-2_all.deb ... Unpacking python-pretend (1.0.8-2) ... Selecting previously unselected package python-py. Preparing to unpack .../063-python-py_1.7.0-2_all.deb ... Unpacking python-py (1.7.0-2) ... Selecting previously unselected package python-pytest. Preparing to unpack .../064-python-pytest_3.10.1-2_all.deb ... Unpacking python-pytest (3.10.1-2) ... Selecting previously unselected package python-setuptools. Preparing to unpack .../065-python-setuptools_40.8.0-1_all.deb ... Unpacking python-setuptools (40.8.0-1) ... Selecting previously unselected package python3-alabaster. Preparing to unpack .../066-python3-alabaster_0.7.8-1_all.deb ... Unpacking python3-alabaster (0.7.8-1) ... Selecting previously unselected package python3-all. Preparing to unpack .../067-python3-all_3.7.3-1_i386.deb ... Unpacking python3-all (3.7.3-1) ... Selecting previously unselected package python3-asn1crypto. Preparing to unpack .../068-python3-asn1crypto_0.24.0-1_all.deb ... Unpacking python3-asn1crypto (0.24.0-1) ... Selecting previously unselected package python3-atomicwrites. Preparing to unpack .../069-python3-atomicwrites_1.1.5-2_all.deb ... Unpacking python3-atomicwrites (1.1.5-2) ... Selecting previously unselected package python3-attr. Preparing to unpack .../070-python3-attr_18.2.0-1_all.deb ... Unpacking python3-attr (18.2.0-1) ... Selecting previously unselected package python3-pkg-resources. Preparing to unpack .../071-python3-pkg-resources_40.8.0-1_all.deb ... Unpacking python3-pkg-resources (40.8.0-1) ... Selecting previously unselected package python3-tz. Preparing to unpack .../072-python3-tz_2019.1-1_all.deb ... Unpacking python3-tz (2019.1-1) ... Selecting previously unselected package python3-babel. Preparing to unpack .../073-python3-babel_2.6.0+dfsg.1-1_all.deb ... Unpacking python3-babel (2.6.0+dfsg.1-1) ... Selecting previously unselected package python3-certifi. Preparing to unpack .../074-python3-certifi_2018.8.24-1_all.deb ... Unpacking python3-certifi (2018.8.24-1) ... Selecting previously unselected package python3-cffi-backend. Preparing to unpack .../075-python3-cffi-backend_1.12.2-1_i386.deb ... Unpacking python3-cffi-backend (1.12.2-1) ... Selecting previously unselected package python3-ply. Preparing to unpack .../076-python3-ply_3.11-3_all.deb ... Unpacking python3-ply (3.11-3) ... Selecting previously unselected package python3-pycparser. Preparing to unpack .../077-python3-pycparser_2.19-1_all.deb ... Unpacking python3-pycparser (2.19-1) ... Selecting previously unselected package python3-cffi. Preparing to unpack .../078-python3-cffi_1.12.2-1_all.deb ... Unpacking python3-cffi (1.12.2-1) ... Selecting previously unselected package python3-chardet. Preparing to unpack .../079-python3-chardet_3.0.4-3_all.deb ... Unpacking python3-chardet (3.0.4-3) ... Selecting previously unselected package python3-six. Preparing to unpack .../080-python3-six_1.12.0-1_all.deb ... Unpacking python3-six (1.12.0-1) ... Selecting previously unselected package python3-cryptography. Preparing to unpack .../081-python3-cryptography_2.6.1-3+deb10u2_i386.deb ... Unpacking python3-cryptography (2.6.1-3+deb10u2) ... Selecting previously unselected package python3-roman. Preparing to unpack .../082-python3-roman_2.0.0-3_all.deb ... Unpacking python3-roman (2.0.0-3) ... Selecting previously unselected package python3-docutils. Preparing to unpack .../083-python3-docutils_0.14+dfsg-4_all.deb ... Unpacking python3-docutils (0.14+dfsg-4) ... Selecting previously unselected package python3-flaky. Preparing to unpack .../084-python3-flaky_3.3.0-1_all.deb ... Unpacking python3-flaky (3.3.0-1) ... Selecting previously unselected package python3-idna. Preparing to unpack .../085-python3-idna_2.6-1_all.deb ... Unpacking python3-idna (2.6-1) ... Selecting previously unselected package python3-imagesize. Preparing to unpack .../086-python3-imagesize_1.0.0-1_all.deb ... Unpacking python3-imagesize (1.0.0-1) ... Selecting previously unselected package python3-markupsafe. Preparing to unpack .../087-python3-markupsafe_1.1.0-1_i386.deb ... Unpacking python3-markupsafe (1.1.0-1) ... Selecting previously unselected package python3-jinja2. Preparing to unpack .../088-python3-jinja2_2.10-2_all.deb ... Unpacking python3-jinja2 (2.10-2) ... Selecting previously unselected package python3-more-itertools. Preparing to unpack .../089-python3-more-itertools_4.2.0-1_all.deb ... Unpacking python3-more-itertools (4.2.0-1) ... Selecting previously unselected package python3-pyparsing. Preparing to unpack .../090-python3-pyparsing_2.2.0+dfsg1-2_all.deb ... Unpacking python3-pyparsing (2.2.0+dfsg1-2) ... Selecting previously unselected package python3-packaging. Preparing to unpack .../091-python3-packaging_19.0-1_all.deb ... Unpacking python3-packaging (19.0-1) ... Selecting previously unselected package python3-pluggy. Preparing to unpack .../092-python3-pluggy_0.8.0-1_all.deb ... Unpacking python3-pluggy (0.8.0-1) ... Selecting previously unselected package python3-pretend. Preparing to unpack .../093-python3-pretend_1.0.8-2_all.deb ... Unpacking python3-pretend (1.0.8-2) ... Selecting previously unselected package python3-py. Preparing to unpack .../094-python3-py_1.7.0-2_all.deb ... Unpacking python3-py (1.7.0-2) ... Selecting previously unselected package python3-pygments. Preparing to unpack .../095-python3-pygments_2.3.1+dfsg-1_all.deb ... Unpacking python3-pygments (2.3.1+dfsg-1) ... Selecting previously unselected package python3-pytest. Preparing to unpack .../096-python3-pytest_3.10.1-2_all.deb ... Unpacking python3-pytest (3.10.1-2) ... Selecting previously unselected package python3-urllib3. Preparing to unpack .../097-python3-urllib3_1.24.1-1_all.deb ... Unpacking python3-urllib3 (1.24.1-1) ... Selecting previously unselected package python3-requests. Preparing to unpack .../098-python3-requests_2.21.0-1_all.deb ... Unpacking python3-requests (2.21.0-1) ... Selecting previously unselected package python3-setuptools. Preparing to unpack .../099-python3-setuptools_40.8.0-1_all.deb ... Unpacking python3-setuptools (40.8.0-1) ... Selecting previously unselected package sphinx-common. Preparing to unpack .../100-sphinx-common_1.8.4-1_all.deb ... Unpacking sphinx-common (1.8.4-1) ... Selecting previously unselected package python3-sphinx. Preparing to unpack .../101-python3-sphinx_1.8.4-1_all.deb ... Unpacking python3-sphinx (1.8.4-1) ... Selecting previously unselected package sphinx-rtd-theme-common. Preparing to unpack .../102-sphinx-rtd-theme-common_0.4.3+dfsg-1_all.deb ... Unpacking sphinx-rtd-theme-common (0.4.3+dfsg-1) ... Selecting previously unselected package python3-sphinx-rtd-theme. Preparing to unpack .../103-python3-sphinx-rtd-theme_0.4.3+dfsg-1_all.deb ... Unpacking python3-sphinx-rtd-theme (0.4.3+dfsg-1) ... Setting up libpipeline1:i386 (1.5.1-2) ... Setting up fonts-lato (2.0-2) ... Setting up mime-support (3.62) ... Setting up libmagic-mgc (1:5.35-4+deb10u1) ... Setting up libarchive-zip-perl (1.64-1) ... Setting up libglib2.0-0:i386 (2.58.3-2+deb10u2) ... No schema files found: doing nothing. Setting up libmagic1:i386 (1:5.35-4+deb10u1) ... Setting up fonts-roboto-slab (1.100263+20170512-1) ... Setting up gettext-base (0.19.8.1-9) ... Setting up file (1:5.35-4+deb10u1) ... Setting up libjs-modernizr (2.6.2+ds1-3) ... Setting up libicu63:i386 (63.1-6+deb10u1) ... Setting up python-babel-localedata (2.6.0+dfsg.1-1) ... Setting up autotools-dev (20180224.1) ... Setting up libncurses6:i386 (6.1+20181013-2+deb10u2) ... Setting up libsigsegv2:i386 (2.12-2) ... Setting up autopoint (0.19.8.1-9) ... Setting up sensible-utils (0.0.12) ... Setting up libuchardet0:i386 (0.0.6-3) ... Setting up sgml-base (1.29) ... Setting up libmpdec2:i386 (2.4.2-2) ... Setting up libjs-jquery (3.3.1~dfsg-3) ... Setting up openssl (1.1.1d-0+deb10u3) ... Setting up libbsd0:i386 (0.9.1-2) ... Setting up libelf1:i386 (0.176-1.1) ... Setting up readline-common (7.0-5) ... Setting up libxml2:i386 (2.9.4+dfsg1-7+b3) ... Setting up fonts-font-awesome (5.0.10+really4.7.0~dfsg-1) ... Setting up sphinx-rtd-theme-common (0.4.3+dfsg-1) ... Setting up libreadline7:i386 (7.0-5) ... Setting up libjs-underscore (1.9.1~dfsg-1) ... Setting up libfile-stripnondeterminism-perl (1.1.2-1) ... Setting up libpython3.7-stdlib:i386 (3.7.3-2+deb10u1) ... Setting up libtool (2.4.6-9) ... Setting up m4 (1.4.18-2) ... Setting up libpython2.7-stdlib:i386 (2.7.16-2+deb10u1) ... Setting up ca-certificates (20190110) ... Updating certificates in /etc/ssl/certs... 128 added, 0 removed; done. Setting up bsdmainutils (11.1.2+b1) ... update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode Setting up libcroco3:i386 (0.6.12-3) ... Setting up libjs-sphinxdoc (1.8.4-1) ... Setting up autoconf (2.69-11) ... Setting up dwz (0.12-3) ... Setting up groff-base (1.22.4-3) ... Setting up xml-core (0.18+nmu1) ... Setting up libpython3-stdlib:i386 (3.7.3-1) ... Setting up automake (1:1.16.1-4) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up python3.7 (3.7.3-2+deb10u1) ... Setting up gettext (0.19.8.1-9) ... Setting up python2.7 (2.7.16-2+deb10u1) ... Setting up libpython2-stdlib:i386 (2.7.16-1) ... Setting up python3 (3.7.3-1) ... Setting up man-db (2.8.5-2) ... Not building database; man-db/auto-update is not 'true'. Setting up python3-markupsafe (1.1.0-1) ... Setting up python2 (2.7.16-1) ... Setting up python3-tz (2019.1-1) ... Setting up python3-pretend (1.0.8-2) ... Setting up python3-atomicwrites (1.1.5-2) ... Setting up intltool-debian (0.35.0+20060710.5) ... Setting up python3-six (1.12.0-1) ... Setting up libpython-stdlib:i386 (2.7.16-1) ... Setting up python3-roman (2.0.0-3) ... Setting up python3-jinja2 (2.10-2) ... Setting up python3-pygments (2.3.1+dfsg-1) ... Setting up python3-flaky (3.3.0-1) ... Setting up python3-pyparsing (2.2.0+dfsg1-2) ... Setting up python3-certifi (2018.8.24-1) ... Setting up sphinx-common (1.8.4-1) ... Setting up python3-idna (2.6-1) ... Setting up python3-urllib3 (1.24.1-1) ... Setting up python3-pluggy (0.8.0-1) ... Setting up python3-lib2to3 (3.7.3-1) ... Setting up python (2.7.16-1) ... Setting up python3-asn1crypto (0.24.0-1) ... Setting up python3-cffi-backend (1.12.2-1) ... Setting up python-ipaddress (1.0.17-1) ... Setting up python3-imagesize (1.0.0-1) ... Setting up python-cffi-backend (1.12.2-1) ... Setting up python3-pkg-resources (40.8.0-1) ... Setting up python3-distutils (3.7.3-1) ... Setting up dh-python (3.20190308) ... Setting up python3-more-itertools (4.2.0-1) ... Setting up python-enum34 (1.1.6-2) ... Setting up python3-attr (18.2.0-1) ... Setting up python-ply (3.11-3) ... Setting up python3-setuptools (40.8.0-1) ... Setting up python3-py (1.7.0-2) ... Setting up python3-babel (2.6.0+dfsg.1-1) ... update-alternatives: using /usr/bin/pybabel-python3 to provide /usr/bin/pybabel (pybabel) in auto mode Setting up python-pkg-resources (40.8.0-1) ... Setting up python3-pytest (3.10.1-2) ... Setting up python3-alabaster (0.7.8-1) ... Setting up po-debconf (1.0.21) ... Setting up python3-ply (3.11-3) ... Setting up python3-all (3.7.3-1) ... Setting up python-asn1crypto (0.24.0-1) ... Setting up python-all (2.7.16-1) ... Setting up python-attr (18.2.0-1) ... Setting up python-pretend (1.0.8-2) ... Setting up python3-pycparser (2.19-1) ... Setting up python-atomicwrites (1.1.5-2) ... Setting up python-six (1.12.0-1) ... Setting up python-flaky (3.3.0-1) ... Setting up python-more-itertools (4.2.0-1) ... Setting up python3-packaging (19.0-1) ... Setting up python3-chardet (3.0.4-3) ... Setting up python-pluggy (0.8.0-1) ... Setting up python3-cryptography (2.6.1-3+deb10u2) ... Setting up python3-requests (2.21.0-1) ... Setting up python-setuptools (40.8.0-1) ... Setting up python-pycparser (2.19-1) ... Setting up python-funcsigs (1.0.2-4) ... Setting up python-scandir (1.9.0-2) ... Setting up python-py (1.7.0-2) ... Setting up python-cffi (1.12.2-1) ... Setting up python3-cffi (1.12.2-1) ... Setting up python-cryptography (2.6.1-3+deb10u2) ... Setting up python-pathlib2 (2.3.3-1) ... Setting up python-pytest (3.10.1-2) ... Setting up dh-autoreconf (19) ... Setting up debhelper (12.1.1) ... Setting up dh-strip-nondeterminism (1.1.2-1) ... Processing triggers for libc-bin (2.28-10) ... Processing triggers for sgml-base (1.29) ... Setting up docutils-common (0.14+dfsg-4) ... Processing triggers for sgml-base (1.29) ... Setting up python3-docutils (0.14+dfsg-4) ... update-alternatives: using /usr/share/docutils/scripts/python3/rst-buildhtml to provide /usr/bin/rst-buildhtml (rst-buildhtml) in auto mode update-alternatives: using /usr/share/docutils/scripts/python3/rst2html to provide /usr/bin/rst2html (rst2html) in auto mode update-alternatives: using /usr/share/docutils/scripts/python3/rst2html4 to provide /usr/bin/rst2html4 (rst2html4) in auto mode update-alternatives: using /usr/share/docutils/scripts/python3/rst2html5 to provide /usr/bin/rst2html5 (rst2html5) in auto mode update-alternatives: using /usr/share/docutils/scripts/python3/rst2latex to provide /usr/bin/rst2latex (rst2latex) in auto mode update-alternatives: using /usr/share/docutils/scripts/python3/rst2man to provide /usr/bin/rst2man (rst2man) in auto mode update-alternatives: using /usr/share/docutils/scripts/python3/rst2odt to provide /usr/bin/rst2odt (rst2odt) in auto mode update-alternatives: using /usr/share/docutils/scripts/python3/rst2odt_prepstyles to provide /usr/bin/rst2odt_prepstyles (rst2odt_prepstyles) in auto mode update-alternatives: using /usr/share/docutils/scripts/python3/rst2pseudoxml to provide /usr/bin/rst2pseudoxml (rst2pseudoxml) in auto mode update-alternatives: using /usr/share/docutils/scripts/python3/rst2s5 to provide /usr/bin/rst2s5 (rst2s5) in auto mode update-alternatives: using /usr/share/docutils/scripts/python3/rst2xetex to provide /usr/bin/rst2xetex (rst2xetex) in auto mode update-alternatives: using /usr/share/docutils/scripts/python3/rst2xml to provide /usr/bin/rst2xml (rst2xml) in auto mode update-alternatives: using /usr/share/docutils/scripts/python3/rstpep2html to provide /usr/bin/rstpep2html (rstpep2html) in auto mode Setting up python3-sphinx (1.8.4-1) ... update-alternatives: using /usr/share/sphinx/scripts/python3/sphinx-apidoc to provide /usr/bin/sphinx-apidoc (sphinx-apidoc) in auto mode update-alternatives: using /usr/share/sphinx/scripts/python3/sphinx-autogen to provide /usr/bin/sphinx-autogen (sphinx-autogen) in auto mode update-alternatives: using /usr/share/sphinx/scripts/python3/sphinx-build to provide /usr/bin/sphinx-build (sphinx-build) in auto mode update-alternatives: using /usr/share/sphinx/scripts/python3/sphinx-quickstart to provide /usr/bin/sphinx-quickstart (sphinx-quickstart) in auto mode Setting up python3-sphinx-rtd-theme (0.4.3+dfsg-1) ... Processing triggers for ca-certificates (20190110) ... Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d... done. Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps Reading package lists... Building dependency tree... Reading state information... fakeroot is already the newest version (1.23-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package I: Running cd /build/pyopenssl-19.0.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b dpkg-buildpackage: info: source package pyopenssl dpkg-buildpackage: info: source version 19.0.0-1 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Sandro Tosi dpkg-source --before-build . dpkg-buildpackage: info: host architecture i386 fakeroot debian/rules clean py3versions: no X-Python3-Version in control file, using supported versions dh clean --with python2,python3,sphinxdoc debian/rules override_dh_auto_clean make[1]: Entering directory '/build/pyopenssl-19.0.0' py3versions: no X-Python3-Version in control file, using supported versions for py in 2.7 3.7; do \ python$py setup.py clean --all; \ done running clean 'build/lib.linux-i686-2.7' does not exist -- can't clean it 'build/bdist.linux-i686' does not exist -- can't clean it 'build/scripts-2.7' does not exist -- can't clean it running clean 'build/lib' does not exist -- can't clean it 'build/bdist.linux-i686' does not exist -- can't clean it 'build/scripts-3.7' does not exist -- can't clean it rm -rf build /usr/bin/make -C doc clean make[2]: Entering directory '/build/pyopenssl-19.0.0/doc' rm -rf _build/* make[2]: Leaving directory '/build/pyopenssl-19.0.0/doc' rm -rf *.key *.pem tmp* dh_clean build-stamp version.pyc make[1]: Leaving directory '/build/pyopenssl-19.0.0' dh_clean debian/rules build py3versions: no X-Python3-Version in control file, using supported versions dh build --with python2,python3,sphinxdoc dh_update_autotools_config dh_auto_configure dh_auto_configure: Please use the third-party "pybuild" build system instead of python-distutils dh_auto_configure: This feature will be removed in compat 12. debian/rules override_dh_auto_build make[1]: Entering directory '/build/pyopenssl-19.0.0' py3versions: no X-Python3-Version in control file, using supported versions set -e; \ for py in 2.7 3.7; do \ python$py setup.py build; \ done running build running build_py creating build creating build/lib.linux-i686-2.7 creating build/lib.linux-i686-2.7/OpenSSL copying src/OpenSSL/version.py -> build/lib.linux-i686-2.7/OpenSSL copying src/OpenSSL/__init__.py -> build/lib.linux-i686-2.7/OpenSSL copying src/OpenSSL/_util.py -> build/lib.linux-i686-2.7/OpenSSL copying src/OpenSSL/debug.py -> build/lib.linux-i686-2.7/OpenSSL copying src/OpenSSL/SSL.py -> build/lib.linux-i686-2.7/OpenSSL copying src/OpenSSL/rand.py -> build/lib.linux-i686-2.7/OpenSSL copying src/OpenSSL/crypto.py -> build/lib.linux-i686-2.7/OpenSSL copying src/OpenSSL/tsafe.py -> build/lib.linux-i686-2.7/OpenSSL running build running build_py creating build/lib creating build/lib/OpenSSL copying src/OpenSSL/version.py -> build/lib/OpenSSL copying src/OpenSSL/__init__.py -> build/lib/OpenSSL copying src/OpenSSL/_util.py -> build/lib/OpenSSL copying src/OpenSSL/debug.py -> build/lib/OpenSSL copying src/OpenSSL/SSL.py -> build/lib/OpenSSL copying src/OpenSSL/rand.py -> build/lib/OpenSSL copying src/OpenSSL/crypto.py -> build/lib/OpenSSL copying src/OpenSSL/tsafe.py -> build/lib/OpenSSL /usr/bin/make -C doc html PYTHONPATH=/build/pyopenssl-19.0.0/`python -c "from distutils.command.build import build ; from distutils.core import Distribution ; b = build(Distribution()) ; b.finalize_options() ; print(b.build_purelib)"` make[2]: Entering directory '/build/pyopenssl-19.0.0/doc' PYTHONPATH=/build/pyopenssl-19.0.0/build/lib.linux-i686-2.7 sphinx-build -b html -d _build/doctrees . _build/html Running Sphinx v1.8.4 making output directory... loading intersphinx inventory from https://docs.python.org/3/objects.inv... loading intersphinx inventory from https://cryptography.io/en/latest/objects.inv... building [mo]: targets for 0 po files that are out of date building [html]: targets for 9 source files that are out of date updating environment: 9 added, 0 changed, 0 removed reading sources... [ 11%] api reading sources... [ 22%] api/crypto reading sources... [ 33%] api/ssl reading sources... [ 44%] backward-compatibility reading sources... [ 55%] changelog reading sources... [ 66%] index reading sources... [ 77%] install reading sources... [ 88%] internals reading sources... [100%] introduction looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done writing output... [ 11%] api writing output... [ 22%] api/crypto writing output... [ 33%] api/ssl writing output... [ 44%] backward-compatibility writing output... [ 55%] changelog writing output... [ 66%] index writing output... [ 77%] install writing output... [ 88%] internals writing output... [100%] introduction generating indices... genindex py-modindex writing additional pages... search copying static files... done copying extra files... done dumping search index in English (code: en) ... done dumping object inventory... done build succeeded. The HTML pages are in _build/html. Build finished. The HTML pages are in _build/html. make[2]: Leaving directory '/build/pyopenssl-19.0.0/doc' make[1]: Leaving directory '/build/pyopenssl-19.0.0' debian/rules override_dh_auto_test make[1]: Entering directory '/build/pyopenssl-19.0.0' py3versions: no X-Python3-Version in control file, using supported versions # run tests for py in 2.7; do \ LIB=$(python$py -c "from distutils.command.build import build ; from distutils.core import Distribution ; b = build(Distribution()) ; b.finalize_options() ; print(b.build_purelib)") ; \ PYTHONPATH=$LIB py.test ;\ done ============================= test session starts ============================== platform linux2 -- Python 2.7.16, pytest-3.10.1, py-1.7.0, pluggy-0.8.0 OpenSSL: OpenSSL 1.1.1d 10 Sep 2019 cryptography: 2.6.1 rootdir: /build/pyopenssl-19.0.0, inifile: setup.cfg plugins: flaky-3.3.0 collected 499 items tests/test_crypto.py ................................................... [ 10%] ........................................................................ [ 24%] ........................................................................ [ 39%] ................................................................ [ 51%] tests/test_debug.py . [ 52%] tests/test_rand.py .... [ 52%] tests/test_ssl.py .......F..F........................................... [ 63%] ...............FFF...............................................F...... [ 78%] FF...F.......FF......FFF.F.F.FFF.........FFFFsFFFFFFFFF.FFFFFF.......... [ 92%] ......F...F..............FFFFFFFFFF [ 99%] tests/test_tsafe.py . [ 99%] tests/test_util.py F [100%] =================================== FAILURES =================================== ___________________ TestContext.test_load_client_ca_invalid ____________________ self = context = tmpdir = local('/tmp/pytest-of-pbuilder1/pytest-0/test_load_client_ca_invalid0') def test_load_client_ca_invalid(self, context, tmpdir): """ `Context.load_client_ca` raises an Error if the ca file is invalid. """ ca_file = tmpdir.join("test.pem") ca_file.write("") with pytest.raises(Error) as e: context.load_client_ca(str(ca_file).encode("ascii")) > assert "PEM routines" == e.value.args[0][0][0] E AssertionError: assert 'PEM routines' == 'SSL routines' E - PEM routines E ? ^^^ E + SSL routines E ? ^^^ tests/test_ssl.py:442: AssertionError _____________________ TestContext.test_set_session_id_fail _____________________ self = context = def test_set_session_id_fail(self, context): """ `Context.set_session_id` errors are propagated. """ with pytest.raises(Error) as e: context.set_session_id(b"abc" * 1000) > assert [ ("SSL routines", "SSL_CTX_set_session_id_context", "ssl session id context too long") ] == e.value.args[0] E AssertionError: assert [('SSL routin...xt too long')] == [('SSL routine...xt too long')] E At index 0 diff: ('SSL routines', 'SSL_CTX_set_session_id_context', 'ssl session id context too long') != ('SSL routines', 'ssl_do_config', 'bad value') E Right contains more items, first extra item: ('SSL routines', 'ssl_do_config', 'bad value') E Use -v to get the full diff tests/test_ssl.py:465: AssertionError ____________________ TestContext.test_add_extra_chain_cert _____________________ self = tmpdir = local('/tmp/pytest-of-pbuilder1/pytest-0/test_add_extra_chain_cert0') def test_add_extra_chain_cert(self, tmpdir): """ `Context.add_extra_chain_cert` accepts an `X509` instance to add to the certificate chain. See `_create_certificate_chain` for the details of the certificate chain tested. The chain is tested by starting a server with scert and connecting to it with a client which trusts cacert and requires verification to succeed. """ chain = _create_certificate_chain() [(cakey, cacert), (ikey, icert), (skey, scert)] = chain # Dump the CA certificate to a file because that's the only way to load # it as a trusted CA in the client context. for cert, name in [(cacert, 'ca.pem'), (icert, 'i.pem'), (scert, 's.pem')]: with tmpdir.join(name).open('w') as f: f.write(dump_certificate(FILETYPE_PEM, cert).decode('ascii')) for key, name in [(cakey, 'ca.key'), (ikey, 'i.key'), (skey, 's.key')]: with tmpdir.join(name).open('w') as f: f.write(dump_privatekey(FILETYPE_PEM, key).decode('ascii')) # Create the server context serverContext = Context(TLSv1_METHOD) serverContext.use_privatekey(skey) serverContext.use_certificate(scert) # The client already has cacert, we only need to give them icert. serverContext.add_extra_chain_cert(icert) # Create the client clientContext = Context(TLSv1_METHOD) clientContext.set_verify( VERIFY_PEER | VERIFY_FAIL_IF_NO_PEER_CERT, verify_cb) clientContext.load_verify_locations(str(tmpdir.join("ca.pem"))) # Try it out. > self._handshake_test(serverContext, clientContext) tests/test_ssl.py:1373: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:1251: in _handshake_test s.do_handshake() build/lib.linux-i686-2.7/OpenSSL/SSL.py:1915: in do_handshake self._raise_ssl_error(self._ssl, result) build/lib.linux-i686-2.7/OpenSSL/SSL.py:1647: in _raise_ssl_error _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E Error: [('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')] build/lib.linux-i686-2.7/OpenSSL/_util.py:54: Error ______________ TestContext.test_use_certificate_chain_file_bytes _______________ self = tmpfile = '/tmp/pytest-of-pbuilder1/pytest-0/tmp0Eq_cu' def test_use_certificate_chain_file_bytes(self, tmpfile): """ ``Context.use_certificate_chain_file`` accepts the name of a file (as an instance of ``bytes``) to specify additional certificates to use to construct and verify a trust chain. """ self._use_certificate_chain_file_test( > tmpfile + NON_ASCII.encode(getfilesystemencoding()) ) tests/test_ssl.py:1420: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:1411: in _use_certificate_chain_file_test self._handshake_test(serverContext, clientContext) tests/test_ssl.py:1251: in _handshake_test s.do_handshake() build/lib.linux-i686-2.7/OpenSSL/SSL.py:1915: in do_handshake self._raise_ssl_error(self._ssl, result) build/lib.linux-i686-2.7/OpenSSL/SSL.py:1647: in _raise_ssl_error _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E Error: [('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')] build/lib.linux-i686-2.7/OpenSSL/_util.py:54: Error _____________ TestContext.test_use_certificate_chain_file_unicode ______________ self = tmpfile = '/tmp/pytest-of-pbuilder1/pytest-0/tmpckOAs5' def test_use_certificate_chain_file_unicode(self, tmpfile): """ ``Context.use_certificate_chain_file`` accepts the name of a file (as an instance of ``unicode``) to specify additional certificates to use to construct and verify a trust chain. """ self._use_certificate_chain_file_test( > tmpfile.decode(getfilesystemencoding()) + NON_ASCII ) tests/test_ssl.py:1430: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:1411: in _use_certificate_chain_file_test self._handshake_test(serverContext, clientContext) tests/test_ssl.py:1251: in _handshake_test s.do_handshake() build/lib.linux-i686-2.7/OpenSSL/SSL.py:1915: in do_handshake self._raise_ssl_error(self._ssl, result) build/lib.linux-i686-2.7/OpenSSL/SSL.py:1647: in _raise_ssl_error _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E Error: [('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')] build/lib.linux-i686-2.7/OpenSSL/_util.py:54: Error ___________________________ TestConnection.test_peek ___________________________ self = def test_peek(self): """ `Connection.recv` peeks into the connection if `socket.MSG_PEEK` is passed. """ > server, client = loopback() tests/test_ssl.py:2220: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib.linux-i686-2.7/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E Error: [('SSL routines', 'ssl_do_config', 'bad value'), ('SSL routines', 'ssl_do_config', 'bad value'), ('SSL routines', 'ssl_do_config', 'bad value'), ('SSL routines', 'ssl_do_config', 'bad value'), ('SSL routines', 'ssl_do_config', 'bad value'), ('SSL routines', 'ssl_do_config', 'bad value'), ('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib.linux-i686-2.7/OpenSSL/_util.py:54: Error _________________________ TestConnection.test_shutdown _________________________ self = def test_shutdown(self): """ `Connection.shutdown` performs an SSL-level connection shutdown. """ > server, client = loopback() tests/test_ssl.py:2321: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib.linux-i686-2.7/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E Error: [('SSL routines', 'ssl_do_config', 'bad value'), ('SSL routines', 'ssl_do_config', 'bad value'), ('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib.linux-i686-2.7/OpenSSL/_util.py:54: Error _____________________ TestConnection.test_shutdown_closed ______________________ self = def test_shutdown_closed(self): """ If the underlying socket is closed, `Connection.shutdown` propagates the write error from the low level write call. """ > server, client = loopback() tests/test_ssl.py:2338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib.linux-i686-2.7/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib.linux-i686-2.7/OpenSSL/_util.py:54: Error _______________________ TestConnection.test_state_string _______________________ self = def test_state_string(self): """ `Connection.state_string` verbosely describes the current state of the `Connection`. """ server, client = socket_pair() > server = loopback_server_factory(server) tests/test_ssl.py:2393: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib.linux-i686-2.7/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E Error: [('SSL routines', 'ssl_do_config', 'bad value'), ('SSL routines', 'ssl_do_config', 'bad value'), ('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib.linux-i686-2.7/OpenSSL/_util.py:54: Error ____________________ TestConnection.test_server_get_session ____________________ self = def test_server_get_session(self): """ On the server side of a connection, `Connection.get_session` returns a `Session` instance representing the SSL session for that connection. """ > server, client = loopback() tests/test_ssl.py:2509: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib.linux-i686-2.7/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E Error: [('SSL routines', 'ssl_do_config', 'bad value'), ('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib.linux-i686-2.7/OpenSSL/_util.py:54: Error ____________________ TestConnection.test_client_get_session ____________________ self = def test_client_get_session(self): """ On the client side of a connection, `Connection.get_session` returns a `Session` instance representing the SSL session for that connection. """ > server, client = loopback() tests/test_ssl.py:2519: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib.linux-i686-2.7/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib.linux-i686-2.7/OpenSSL/_util.py:54: Error _______________________ TestConnection.test_get_finished _______________________ self = def test_get_finished(self): """ `Connection.get_finished` method returns the TLS Finished message send from client, or server. Finished messages are send during TLS handshake. """ > server, client = loopback() tests/test_ssl.py:2682: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib.linux-i686-2.7/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E Error: [('SSL routines', 'ssl_do_config', 'bad value'), ('SSL routines', 'ssl_do_config', 'bad value'), ('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib.linux-i686-2.7/OpenSSL/_util.py:54: Error ____________________ TestConnection.test_get_peer_finished _____________________ self = def test_get_peer_finished(self): """ `Connection.get_peer_finished` method returns the TLS Finished message received from client, or server. Finished messages are send during TLS handshake. """ > server, client = loopback() tests/test_ssl.py:2693: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib.linux-i686-2.7/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib.linux-i686-2.7/OpenSSL/_util.py:54: Error ______________ TestConnection.test_tls_finished_message_symmetry _______________ self = def test_tls_finished_message_symmetry(self): """ The TLS Finished message send by server must be the TLS Finished message received by client. The TLS Finished message send by client must be the TLS Finished message received by server. """ > server, client = loopback() tests/test_ssl.py:2706: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib.linux-i686-2.7/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib.linux-i686-2.7/OpenSSL/_util.py:54: Error _____________________ TestConnection.test_get_cipher_name ______________________ self = def test_get_cipher_name(self): """ `Connection.get_cipher_name` returns a `unicode` string giving the name of the currently used cipher. """ > server, client = loopback() tests/test_ssl.py:2725: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib.linux-i686-2.7/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E Error: [('SSL routines', 'ssl_do_config', 'bad value'), ('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib.linux-i686-2.7/OpenSSL/_util.py:54: Error ____________________ TestConnection.test_get_cipher_version ____________________ self = def test_get_cipher_version(self): """ `Connection.get_cipher_version` returns a `unicode` string giving the protocol name of the currently used cipher. """ > server, client = loopback() tests/test_ssl.py:2748: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib.linux-i686-2.7/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E Error: [('SSL routines', 'ssl_do_config', 'bad value'), ('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib.linux-i686-2.7/OpenSSL/_util.py:54: Error _____________________ TestConnection.test_get_cipher_bits ______________________ self = def test_get_cipher_bits(self): """ `Connection.get_cipher_bits` returns the number of secret bits of the currently used cipher. """ > server, client = loopback() tests/test_ssl.py:2771: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib.linux-i686-2.7/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E Error: [('SSL routines', 'ssl_do_config', 'bad value'), ('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib.linux-i686-2.7/OpenSSL/_util.py:54: Error ________________ TestConnection.test_get_protocol_version_name _________________ self = def test_get_protocol_version_name(self): """ `Connection.get_protocol_version_name()` returns a string giving the protocol version of the current connection. """ > server, client = loopback() tests/test_ssl.py:2785: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib.linux-i686-2.7/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib.linux-i686-2.7/OpenSSL/_util.py:54: Error ___________________ TestConnection.test_get_protocol_version ___________________ self = def test_get_protocol_version(self): """ `Connection.get_protocol_version()` returns an integer giving the protocol version of the current connection. """ > server, client = loopback() tests/test_ssl.py:2799: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib.linux-i686-2.7/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib.linux-i686-2.7/OpenSSL/_util.py:54: Error _____________________ TestConnectionSend.test_short_bytes ______________________ self = def test_short_bytes(self): """ When passed a short byte string, `Connection.send` transmits all of it and returns the number of bytes sent. """ > server, client = loopback() tests/test_ssl.py:2903: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib.linux-i686-2.7/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E Error: [('SSL routines', 'ssl_do_config', 'bad value'), ('SSL routines', 'ssl_do_config', 'bad value'), ('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib.linux-i686-2.7/OpenSSL/_util.py:54: Error _________________________ TestConnectionSend.test_text _________________________ self = def test_text(self): """ When passed a text, `Connection.send` transmits all of it and returns the number of bytes sent. It also raises a DeprecationWarning. """ > server, client = loopback() tests/test_ssl.py:2913: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib.linux-i686-2.7/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib.linux-i686-2.7/OpenSSL/_util.py:54: Error ___________________ TestConnectionSend.test_short_memoryview ___________________ self = def test_short_memoryview(self): """ When passed a memoryview onto a small number of bytes, `Connection.send` transmits all of them and returns the number of bytes sent. """ > server, client = loopback() tests/test_ssl.py:2930: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib.linux-i686-2.7/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib.linux-i686-2.7/OpenSSL/_util.py:54: Error _____________________ TestConnectionSend.test_short_buffer _____________________ self = @skip_if_py3 def test_short_buffer(self): """ When passed a buffer containing a small number of bytes, `Connection.send` transmits all of them and returns the number of bytes sent. """ > server, client = loopback() tests/test_ssl.py:2942: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib.linux-i686-2.7/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib.linux-i686-2.7/OpenSSL/_util.py:54: Error _______________ TestConnectionRecvInto.test_bytearray_no_length ________________ self = def test_bytearray_no_length(self): """ `Connection.recv_into` can be passed a `bytearray` instance and data in the receive buffer is written to it. """ > self._no_length_test(bytearray) tests/test_ssl.py:2994: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:2983: in _no_length_test server, client = loopback() tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib.linux-i686-2.7/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib.linux-i686-2.7/OpenSSL/_util.py:54: Error ____________ TestConnectionRecvInto.test_bytearray_respects_length _____________ self = def test_bytearray_respects_length(self): """ When called with a `bytearray` instance, `Connection.recv_into` respects the `nbytes` parameter and doesn't copy in more than that number of bytes. """ > self._respects_length_test(bytearray) tests/test_ssl.py:3016: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:3004: in _respects_length_test server, client = loopback() tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib.linux-i686-2.7/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib.linux-i686-2.7/OpenSSL/_util.py:54: Error ____________ TestConnectionRecvInto.test_bytearray_doesnt_overfill _____________ self = def test_bytearray_doesnt_overfill(self): """ When called with a `bytearray` instance, `Connection.recv_into` respects the size of the array and doesn't write more bytes into it than will fit. """ > self._doesnt_overfill_test(bytearray) tests/test_ssl.py:3040: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:3026: in _doesnt_overfill_test server, client = loopback() tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib.linux-i686-2.7/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib.linux-i686-2.7/OpenSSL/_util.py:54: Error _________ TestConnectionRecvInto.test_bytearray_really_doesnt_overfill _________ self = def test_bytearray_really_doesnt_overfill(self): """ When called with a `bytearray` instance and an `nbytes` value that is too large, `Connection.recv_into` respects the size of the array and not the `nbytes` value and doesn't write more bytes into the buffer than will fit. """ > self._doesnt_overfill_test(bytearray) tests/test_ssl.py:3049: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:3026: in _doesnt_overfill_test server, client = loopback() tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib.linux-i686-2.7/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib.linux-i686-2.7/OpenSSL/_util.py:54: Error _______________________ TestConnectionRecvInto.test_peek _______________________ self = def test_peek(self): > server, client = loopback() tests/test_ssl.py:3052: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib.linux-i686-2.7/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib.linux-i686-2.7/OpenSSL/_util.py:54: Error _______________ TestConnectionRecvInto.test_memoryview_no_length _______________ self = def test_memoryview_no_length(self): """ `Connection.recv_into` can be passed a `memoryview` instance and data in the receive buffer is written to it. """ > self._no_length_test(_make_memoryview) tests/test_ssl.py:3065: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:2983: in _no_length_test server, client = loopback() tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib.linux-i686-2.7/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib.linux-i686-2.7/OpenSSL/_util.py:54: Error ____________ TestConnectionRecvInto.test_memoryview_respects_length ____________ self = def test_memoryview_respects_length(self): """ When called with a `memoryview` instance, `Connection.recv_into` respects the ``nbytes`` parameter and doesn't copy more than that number of bytes in. """ > self._respects_length_test(_make_memoryview) tests/test_ssl.py:3073: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:3004: in _respects_length_test server, client = loopback() tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib.linux-i686-2.7/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib.linux-i686-2.7/OpenSSL/_util.py:54: Error ____________ TestConnectionRecvInto.test_memoryview_doesnt_overfill ____________ self = def test_memoryview_doesnt_overfill(self): """ When called with a `memoryview` instance, `Connection.recv_into` respects the size of the array and doesn't write more bytes into it than will fit. """ > self._doesnt_overfill_test(_make_memoryview) tests/test_ssl.py:3081: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:3026: in _doesnt_overfill_test server, client = loopback() tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib.linux-i686-2.7/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib.linux-i686-2.7/OpenSSL/_util.py:54: Error ________ TestConnectionRecvInto.test_memoryview_really_doesnt_overfill _________ self = def test_memoryview_really_doesnt_overfill(self): """ When called with a `memoryview` instance and an `nbytes` value that is too large, `Connection.recv_into` respects the size of the array and not the `nbytes` value and doesn't write more bytes into the buffer than will fit. """ > self._doesnt_overfill_test(_make_memoryview) tests/test_ssl.py:3090: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:3026: in _doesnt_overfill_test server, client = loopback() tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib.linux-i686-2.7/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib.linux-i686-2.7/OpenSSL/_util.py:54: Error _______________________ TestConnectionSendall.test_short _______________________ self = def test_short(self): """ `Connection.sendall` transmits all of the bytes in the string passed to it. """ > server, client = loopback() tests/test_ssl.py:3111: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib.linux-i686-2.7/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E Error: [('SSL routines', 'ssl_do_config', 'bad value'), ('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib.linux-i686-2.7/OpenSSL/_util.py:54: Error _______________________ TestConnectionSendall.test_text ________________________ self = def test_text(self): """ `Connection.sendall` transmits all the content in the string passed to it, raising a DeprecationWarning in case of this being a text. """ > server, client = loopback() tests/test_ssl.py:3120: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib.linux-i686-2.7/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib.linux-i686-2.7/OpenSSL/_util.py:54: Error _________________ TestConnectionSendall.test_short_memoryview __________________ self = def test_short_memoryview(self): """ When passed a memoryview onto a small number of bytes, `Connection.sendall` transmits all of them. """ > server, client = loopback() tests/test_ssl.py:3135: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib.linux-i686-2.7/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib.linux-i686-2.7/OpenSSL/_util.py:54: Error ___________________ TestConnectionSendall.test_short_buffers ___________________ self = @skip_if_py3 def test_short_buffers(self): """ When passed a buffer containing a small number of bytes, `Connection.sendall` transmits all of them. """ > server, client = loopback() tests/test_ssl.py:3145: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib.linux-i686-2.7/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib.linux-i686-2.7/OpenSSL/_util.py:54: Error _______________________ TestConnectionSendall.test_long ________________________ self = def test_long(self): """ `Connection.sendall` transmits all the bytes in the string passed to it even if this requires multiple calls of an underlying write function. """ > server, client = loopback() tests/test_ssl.py:3154: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib.linux-i686-2.7/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib.linux-i686-2.7/OpenSSL/_util.py:54: Error ______________________ TestConnectionSendall.test_closed _______________________ self = def test_closed(self): """ If the underlying socket is closed, `Connection.sendall` propagates the write error from the low level write call. """ > server, client = loopback() tests/test_ssl.py:3173: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib.linux-i686-2.7/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib.linux-i686-2.7/OpenSSL/_util.py:54: Error ______________________ TestMemoryBIO.test_socket_connect _______________________ self = def test_socket_connect(self): """ Just like `test_memory_connect` but with an actual socket. This is primarily to rule out the memory BIO code as the source of any problems encountered while passing data over a `Connection` (if this test fails, there must be a problem outside the memory BIO code, as no memory BIO is involved here). Even though this isn't a memory BIO test, it's convenient to have it here. """ > server_conn, client_conn = loopback() tests/test_ssl.py:3478: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib.linux-i686-2.7/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib.linux-i686-2.7/OpenSSL/_util.py:54: Error ______________________ TestMemoryBIO.test_unexpected_EOF _______________________ self = def test_unexpected_EOF(self): """ If the connection is lost before an orderly SSL shutdown occurs, `OpenSSL.SSL.SysCallError` is raised with a message of "Unexpected EOF". """ > server_conn, client_conn = loopback() tests/test_ssl.py:3551: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib.linux-i686-2.7/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib.linux-i686-2.7/OpenSSL/_util.py:54: Error _______________ TestOCSP.test_callbacks_arent_called_by_default ________________ self = def test_callbacks_arent_called_by_default(self): """ If both the client and the server have registered OCSP callbacks, but the client does not send the OCSP request, neither callback gets called. """ def ocsp_callback(*args, **kwargs): # pragma: nocover pytest.fail("Should not be called") client = self._client_connection( callback=ocsp_callback, data=None, request_ocsp=False ) > server = self._server_connection(callback=ocsp_callback, data=None) tests/test_ssl.py:3879: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:3861: in _server_connection ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib.linux-i686-2.7/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib.linux-i686-2.7/OpenSSL/_util.py:54: Error ________________ TestOCSP.test_client_negotiates_without_server ________________ self = def test_client_negotiates_without_server(self): """ If the client wants to do OCSP but the server does not, the handshake succeeds, and the client callback fires with an empty byte string. """ called = [] def ocsp_callback(conn, ocsp_data, ignored): called.append(ocsp_data) return True client = self._client_connection(callback=ocsp_callback, data=None) > server = loopback_server_factory(socket=None) tests/test_ssl.py:3894: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib.linux-i686-2.7/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib.linux-i686-2.7/OpenSSL/_util.py:54: Error __________________ TestOCSP.test_client_receives_servers_data __________________ self = def test_client_receives_servers_data(self): """ The data the server sends in its callback is received by the client. """ calls = [] def server_callback(*args, **kwargs): return self.sample_ocsp_data def client_callback(conn, ocsp_data, ignored): calls.append(ocsp_data) return True client = self._client_connection(callback=client_callback, data=None) > server = self._server_connection(callback=server_callback, data=None) tests/test_ssl.py:3914: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:3861: in _server_connection ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib.linux-i686-2.7/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib.linux-i686-2.7/OpenSSL/_util.py:54: Error _____________ TestOCSP.test_callbacks_are_invoked_with_connections _____________ self = def test_callbacks_are_invoked_with_connections(self): """ The first arguments to both callbacks are their respective connections. """ client_calls = [] server_calls = [] def client_callback(conn, *args, **kwargs): client_calls.append(conn) return True def server_callback(conn, *args, **kwargs): server_calls.append(conn) return self.sample_ocsp_data client = self._client_connection(callback=client_callback, data=None) > server = self._server_connection(callback=server_callback, data=None) tests/test_ssl.py:3936: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:3861: in _server_connection ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib.linux-i686-2.7/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib.linux-i686-2.7/OpenSSL/_util.py:54: Error _________________ TestOCSP.test_opaque_data_is_passed_through __________________ self = def test_opaque_data_is_passed_through(self): """ Both callbacks receive an opaque, user-provided piece of data in their callbacks as the final argument. """ calls = [] def server_callback(*args): calls.append(args) return self.sample_ocsp_data def client_callback(*args): calls.append(args) return True sentinel = object() client = self._client_connection( callback=client_callback, data=sentinel ) server = self._server_connection( > callback=server_callback, data=sentinel ) tests/test_ssl.py:3965: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:3861: in _server_connection ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib.linux-i686-2.7/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib.linux-i686-2.7/OpenSSL/_util.py:54: Error __________________ TestOCSP.test_server_returns_empty_string ___________________ self = def test_server_returns_empty_string(self): """ If the server returns an empty bytestring from its callback, the client callback is called with the empty bytestring. """ client_calls = [] def server_callback(*args): return b'' def client_callback(conn, ocsp_data, ignored): client_calls.append(ocsp_data) return True client = self._client_connection(callback=client_callback, data=None) > server = self._server_connection(callback=server_callback, data=None) tests/test_ssl.py:3988: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:3861: in _server_connection ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib.linux-i686-2.7/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib.linux-i686-2.7/OpenSSL/_util.py:54: Error ___________ TestOCSP.test_client_returns_false_terminates_handshake ____________ self = def test_client_returns_false_terminates_handshake(self): """ If the client returns False from its callback, the handshake fails. """ def server_callback(*args): return self.sample_ocsp_data def client_callback(*args): return False client = self._client_connection(callback=client_callback, data=None) > server = self._server_connection(callback=server_callback, data=None) tests/test_ssl.py:4005: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:3861: in _server_connection ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib.linux-i686-2.7/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib.linux-i686-2.7/OpenSSL/_util.py:54: Error _________________ TestOCSP.test_exceptions_in_client_bubble_up _________________ self = def test_exceptions_in_client_bubble_up(self): """ The callbacks thrown in the client callback bubble up to the caller. """ class SentinelException(Exception): pass def server_callback(*args): return self.sample_ocsp_data def client_callback(*args): raise SentinelException() client = self._client_connection(callback=client_callback, data=None) > server = self._server_connection(callback=server_callback, data=None) tests/test_ssl.py:4024: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:3861: in _server_connection ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib.linux-i686-2.7/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib.linux-i686-2.7/OpenSSL/_util.py:54: Error _________________ TestOCSP.test_exceptions_in_server_bubble_up _________________ self = def test_exceptions_in_server_bubble_up(self): """ The callbacks thrown in the server callback bubble up to the caller. """ class SentinelException(Exception): pass def server_callback(*args): raise SentinelException() def client_callback(*args): # pragma: nocover pytest.fail("Should not be called") client = self._client_connection(callback=client_callback, data=None) > server = self._server_connection(callback=server_callback, data=None) tests/test_ssl.py:4043: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:3861: in _server_connection ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib.linux-i686-2.7/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib.linux-i686-2.7/OpenSSL/_util.py:54: Error ____________________ TestOCSP.test_server_must_return_bytes ____________________ self = def test_server_must_return_bytes(self): """ The server callback must return a bytestring, or a TypeError is thrown. """ def server_callback(*args): return self.sample_ocsp_data.decode('ascii') def client_callback(*args): # pragma: nocover pytest.fail("Should not be called") client = self._client_connection(callback=client_callback, data=None) > server = self._server_connection(callback=server_callback, data=None) tests/test_ssl.py:4059: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:3861: in _server_connection ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib.linux-i686-2.7/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib.linux-i686-2.7/OpenSSL/_util.py:54: Error ________ TestErrors.test_exception_from_error_queue_nonexistent_reason _________ self = def test_exception_from_error_queue_nonexistent_reason(self): """ :func:`exception_from_error_queue` raises ``ValueError`` when it encounters an OpenSSL error code which does not have a reason string. """ lib.ERR_put_error(lib.ERR_LIB_EVP, 0, 1112, b"", 10) with pytest.raises(ValueError) as exc: exception_from_error_queue(ValueError) > assert exc.value.args[0][0][2] == "" E AssertionError: assert 'bad value' == '' E - bad value tests/test_util.py:18: AssertionError ===Flaky Test Report=== test_gmtime_adj_notBefore passed 1 out of the required 1 times. Success! test_gmtime_adj_notAfter passed 1 out of the required 1 times. Success! test_export_text passed 1 out of the required 1 times. Success! ===End Flaky Test Report=== =============================== warnings summary =============================== tests/test_crypto.py:25 /build/pyopenssl-19.0.0/tests/test_crypto.py:25: DeprecationWarning: PKeyType has been deprecated, use PKey instead from OpenSSL.crypto import TYPE_RSA, TYPE_DSA, Error, PKey, PKeyType tests/test_crypto.py:26 /build/pyopenssl-19.0.0/tests/test_crypto.py:26: DeprecationWarning: X509Type has been deprecated, use X509 instead from OpenSSL.crypto import X509, X509Type, X509Name, X509NameType /build/pyopenssl-19.0.0/tests/test_crypto.py:26: DeprecationWarning: X509NameType has been deprecated, use X509Name instead from OpenSSL.crypto import X509, X509Type, X509Name, X509NameType tests/test_crypto.py:27 /build/pyopenssl-19.0.0/tests/test_crypto.py:27: DeprecationWarning: X509StoreType has been deprecated, use X509Store instead from OpenSSL.crypto import ( tests/test_crypto.py:34 /build/pyopenssl-19.0.0/tests/test_crypto.py:34: DeprecationWarning: X509ReqType has been deprecated, use X509Req instead from OpenSSL.crypto import X509Req, X509ReqType tests/test_crypto.py:35 /build/pyopenssl-19.0.0/tests/test_crypto.py:35: DeprecationWarning: X509ExtensionType has been deprecated, use X509Extension instead from OpenSSL.crypto import X509Extension, X509ExtensionType tests/test_crypto.py:41 /build/pyopenssl-19.0.0/tests/test_crypto.py:41: DeprecationWarning: PKCS7Type has been deprecated, use PKCS7 instead from OpenSSL.crypto import PKCS7, PKCS7Type, load_pkcs7_data tests/test_crypto.py:42 /build/pyopenssl-19.0.0/tests/test_crypto.py:42: DeprecationWarning: PKCS12Type has been deprecated, use PKCS12 instead from OpenSSL.crypto import PKCS12, PKCS12Type, load_pkcs12 tests/test_crypto.py:44 /build/pyopenssl-19.0.0/tests/test_crypto.py:44: DeprecationWarning: NetscapeSPKIType has been deprecated, use NetscapeSPKI instead from OpenSSL.crypto import NetscapeSPKI, NetscapeSPKIType tests/test_ssl.py:59 /build/pyopenssl-19.0.0/tests/test_ssl.py:59: DeprecationWarning: ContextType has been deprecated, use Context instead from OpenSSL.SSL import ( /build/pyopenssl-19.0.0/tests/test_ssl.py:59: DeprecationWarning: ConnectionType has been deprecated, use Connection instead from OpenSSL.SSL import ( /usr/lib/python2.7/dist-packages/six.py:1 /usr/lib/python2.7/dist-packages/six.py:1: DeprecationWarning: OpenSSL.tsafe is deprecated and will be removed # Copyright (c) 2010-2018 Benjamin Peterson tests/test_crypto.py::TestSignVerify::()::test_sign_verify_ecdsa /build/pyopenssl-19.0.0/tests/test_crypto.py:3703: DeprecationWarning: unicode for data is no longer accepted, use bytes sig = sign(priv_key, content, "sha1") /build/pyopenssl-19.0.0/tests/test_crypto.py:3704: DeprecationWarning: unicode for data is no longer accepted, use bytes verify(cert, sig, content, "sha1") tests/test_ssl.py::TestContext::()::test_set_cipher_list[hello world:AES128-SHA1] /build/pyopenssl-19.0.0/tests/test_ssl.py:408: DeprecationWarning: unicode for cipher_list is no longer accepted, use bytes context.set_cipher_list(cipher_string) tests/test_ssl.py::TestContext::()::test_verify_no_fallback_if_env_vars_set /usr/lib/python2.7/dist-packages/_pytest/monkeypatch.py:222: PytestWarning: Environment variable name u'SSL_CERT_DIR' should be str "Environment variable name {!r} should be str".format(name) /usr/lib/python2.7/dist-packages/_pytest/monkeypatch.py:222: PytestWarning: Environment variable name u'SSL_CERT_FILE' should be str "Environment variable name {!r} should be str".format(name) -- Docs: https://docs.pytest.org/en/latest/warnings.html ======== 51 failed, 447 passed, 1 skipped, 17 warnings in 35.38 seconds ======== make[1]: [debian/rules:26: override_dh_auto_test] Error 1 (ignored) for py in 3.7; do \ LIB=$(python$py -c "from distutils.command.build import build ; from distutils.core import Distribution ; b = build(Distribution()) ; b.finalize_options() ; print(b.build_purelib)") ; \ PYTHONPATH=$LIB py.test-3 ;\ done ============================= test session starts ============================== platform linux -- Python 3.7.3, pytest-3.10.1, py-1.7.0, pluggy-0.8.0 OpenSSL: b'OpenSSL 1.1.1d 10 Sep 2019' cryptography: 2.6.1 rootdir: /build/pyopenssl-19.0.0, inifile: setup.cfg plugins: flaky-3.3.0 collected 499 items tests/test_crypto.py ................................................... [ 10%] ........................................................................ [ 24%] ........................................................................ [ 39%] ................................................................ [ 51%] tests/test_debug.py . [ 52%] tests/test_rand.py .... [ 52%] tests/test_ssl.py .......F..F..s.........s.......s.....s..s..s..s....... [ 63%] ...............FFF...s...............s...........................F...... [ 78%] FF..sF.......FF......FFF.F.F.FFF......s..FFFssFFFFFFFFF.FFFsFF.......... [ 92%] ......F...F..............FFFFFFFFFF [ 99%] tests/test_tsafe.py . [ 99%] tests/test_util.py F [100%] =================================== FAILURES =================================== ___________________ TestContext.test_load_client_ca_invalid ____________________ self = context = tmpdir = local('/tmp/pytest-of-pbuilder1/pytest-1/test_load_client_ca_invalid0') def test_load_client_ca_invalid(self, context, tmpdir): """ `Context.load_client_ca` raises an Error if the ca file is invalid. """ ca_file = tmpdir.join("test.pem") ca_file.write("") with pytest.raises(Error) as e: context.load_client_ca(str(ca_file).encode("ascii")) > assert "PEM routines" == e.value.args[0][0][0] E AssertionError: assert 'PEM routines' == 'SSL routines' E - PEM routines E ? ^^^ E + SSL routines E ? ^^^ tests/test_ssl.py:442: AssertionError _____________________ TestContext.test_set_session_id_fail _____________________ self = context = def test_set_session_id_fail(self, context): """ `Context.set_session_id` errors are propagated. """ with pytest.raises(Error) as e: context.set_session_id(b"abc" * 1000) > assert [ ("SSL routines", "SSL_CTX_set_session_id_context", "ssl session id context too long") ] == e.value.args[0] E AssertionError: assert [('SSL routin...xt too long')] == [('SSL routine...xt too long')] E At index 0 diff: ('SSL routines', 'SSL_CTX_set_session_id_context', 'ssl session id context too long') != ('SSL routines', 'ssl_do_config', 'bad value') E Right contains more items, first extra item: ('SSL routines', 'ssl_do_config', 'bad value') E Use -v to get the full diff tests/test_ssl.py:465: AssertionError ____________________ TestContext.test_add_extra_chain_cert _____________________ self = tmpdir = local('/tmp/pytest-of-pbuilder1/pytest-1/test_add_extra_chain_cert0') def test_add_extra_chain_cert(self, tmpdir): """ `Context.add_extra_chain_cert` accepts an `X509` instance to add to the certificate chain. See `_create_certificate_chain` for the details of the certificate chain tested. The chain is tested by starting a server with scert and connecting to it with a client which trusts cacert and requires verification to succeed. """ chain = _create_certificate_chain() [(cakey, cacert), (ikey, icert), (skey, scert)] = chain # Dump the CA certificate to a file because that's the only way to load # it as a trusted CA in the client context. for cert, name in [(cacert, 'ca.pem'), (icert, 'i.pem'), (scert, 's.pem')]: with tmpdir.join(name).open('w') as f: f.write(dump_certificate(FILETYPE_PEM, cert).decode('ascii')) for key, name in [(cakey, 'ca.key'), (ikey, 'i.key'), (skey, 's.key')]: with tmpdir.join(name).open('w') as f: f.write(dump_privatekey(FILETYPE_PEM, key).decode('ascii')) # Create the server context serverContext = Context(TLSv1_METHOD) serverContext.use_privatekey(skey) serverContext.use_certificate(scert) # The client already has cacert, we only need to give them icert. serverContext.add_extra_chain_cert(icert) # Create the client clientContext = Context(TLSv1_METHOD) clientContext.set_verify( VERIFY_PEER | VERIFY_FAIL_IF_NO_PEER_CERT, verify_cb) clientContext.load_verify_locations(str(tmpdir.join("ca.pem"))) # Try it out. > self._handshake_test(serverContext, clientContext) tests/test_ssl.py:1373: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:1251: in _handshake_test s.do_handshake() build/lib/OpenSSL/SSL.py:1915: in do_handshake self._raise_ssl_error(self._ssl, result) build/lib/OpenSSL/SSL.py:1647: in _raise_ssl_error _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E OpenSSL.SSL.Error: [('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')] build/lib/OpenSSL/_util.py:54: Error ______________ TestContext.test_use_certificate_chain_file_bytes _______________ self = tmpfile = b'/tmp/pytest-of-pbuilder1/pytest-1/tmptboaz303' def test_use_certificate_chain_file_bytes(self, tmpfile): """ ``Context.use_certificate_chain_file`` accepts the name of a file (as an instance of ``bytes``) to specify additional certificates to use to construct and verify a trust chain. """ self._use_certificate_chain_file_test( > tmpfile + NON_ASCII.encode(getfilesystemencoding()) ) tests/test_ssl.py:1420: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:1411: in _use_certificate_chain_file_test self._handshake_test(serverContext, clientContext) tests/test_ssl.py:1251: in _handshake_test s.do_handshake() build/lib/OpenSSL/SSL.py:1915: in do_handshake self._raise_ssl_error(self._ssl, result) build/lib/OpenSSL/SSL.py:1647: in _raise_ssl_error _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E OpenSSL.SSL.Error: [('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')] build/lib/OpenSSL/_util.py:54: Error _____________ TestContext.test_use_certificate_chain_file_unicode ______________ self = tmpfile = b'/tmp/pytest-of-pbuilder1/pytest-1/tmpae2p3ev4' def test_use_certificate_chain_file_unicode(self, tmpfile): """ ``Context.use_certificate_chain_file`` accepts the name of a file (as an instance of ``unicode``) to specify additional certificates to use to construct and verify a trust chain. """ self._use_certificate_chain_file_test( > tmpfile.decode(getfilesystemencoding()) + NON_ASCII ) tests/test_ssl.py:1430: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:1411: in _use_certificate_chain_file_test self._handshake_test(serverContext, clientContext) tests/test_ssl.py:1251: in _handshake_test s.do_handshake() build/lib/OpenSSL/SSL.py:1915: in do_handshake self._raise_ssl_error(self._ssl, result) build/lib/OpenSSL/SSL.py:1647: in _raise_ssl_error _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E OpenSSL.SSL.Error: [('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')] build/lib/OpenSSL/_util.py:54: Error ___________________________ TestConnection.test_peek ___________________________ self = def test_peek(self): """ `Connection.recv` peeks into the connection if `socket.MSG_PEEK` is passed. """ > server, client = loopback() tests/test_ssl.py:2220: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E OpenSSL.SSL.Error: [('SSL routines', 'ssl_do_config', 'bad value'), ('SSL routines', 'ssl_do_config', 'bad value'), ('SSL routines', 'ssl_do_config', 'bad value'), ('SSL routines', 'ssl_do_config', 'bad value'), ('SSL routines', 'ssl_do_config', 'bad value'), ('SSL routines', 'ssl_do_config', 'bad value'), ('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib/OpenSSL/_util.py:54: Error _________________________ TestConnection.test_shutdown _________________________ self = def test_shutdown(self): """ `Connection.shutdown` performs an SSL-level connection shutdown. """ > server, client = loopback() tests/test_ssl.py:2321: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E OpenSSL.SSL.Error: [('SSL routines', 'ssl_do_config', 'bad value'), ('SSL routines', 'ssl_do_config', 'bad value'), ('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib/OpenSSL/_util.py:54: Error _____________________ TestConnection.test_shutdown_closed ______________________ self = def test_shutdown_closed(self): """ If the underlying socket is closed, `Connection.shutdown` propagates the write error from the low level write call. """ > server, client = loopback() tests/test_ssl.py:2338: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E OpenSSL.SSL.Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib/OpenSSL/_util.py:54: Error _______________________ TestConnection.test_state_string _______________________ self = def test_state_string(self): """ `Connection.state_string` verbosely describes the current state of the `Connection`. """ server, client = socket_pair() > server = loopback_server_factory(server) tests/test_ssl.py:2393: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E OpenSSL.SSL.Error: [('SSL routines', 'ssl_do_config', 'bad value'), ('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib/OpenSSL/_util.py:54: Error ____________________ TestConnection.test_server_get_session ____________________ self = def test_server_get_session(self): """ On the server side of a connection, `Connection.get_session` returns a `Session` instance representing the SSL session for that connection. """ > server, client = loopback() tests/test_ssl.py:2509: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E OpenSSL.SSL.Error: [('SSL routines', 'ssl_do_config', 'bad value'), ('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib/OpenSSL/_util.py:54: Error ____________________ TestConnection.test_client_get_session ____________________ self = def test_client_get_session(self): """ On the client side of a connection, `Connection.get_session` returns a `Session` instance representing the SSL session for that connection. """ > server, client = loopback() tests/test_ssl.py:2519: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E OpenSSL.SSL.Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib/OpenSSL/_util.py:54: Error _______________________ TestConnection.test_get_finished _______________________ self = def test_get_finished(self): """ `Connection.get_finished` method returns the TLS Finished message send from client, or server. Finished messages are send during TLS handshake. """ > server, client = loopback() tests/test_ssl.py:2682: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E OpenSSL.SSL.Error: [('SSL routines', 'ssl_do_config', 'bad value'), ('SSL routines', 'ssl_do_config', 'bad value'), ('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib/OpenSSL/_util.py:54: Error ____________________ TestConnection.test_get_peer_finished _____________________ self = def test_get_peer_finished(self): """ `Connection.get_peer_finished` method returns the TLS Finished message received from client, or server. Finished messages are send during TLS handshake. """ > server, client = loopback() tests/test_ssl.py:2693: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E OpenSSL.SSL.Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib/OpenSSL/_util.py:54: Error ______________ TestConnection.test_tls_finished_message_symmetry _______________ self = def test_tls_finished_message_symmetry(self): """ The TLS Finished message send by server must be the TLS Finished message received by client. The TLS Finished message send by client must be the TLS Finished message received by server. """ > server, client = loopback() tests/test_ssl.py:2706: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E OpenSSL.SSL.Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib/OpenSSL/_util.py:54: Error _____________________ TestConnection.test_get_cipher_name ______________________ self = def test_get_cipher_name(self): """ `Connection.get_cipher_name` returns a `unicode` string giving the name of the currently used cipher. """ > server, client = loopback() tests/test_ssl.py:2725: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E OpenSSL.SSL.Error: [('SSL routines', 'ssl_do_config', 'bad value'), ('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib/OpenSSL/_util.py:54: Error ____________________ TestConnection.test_get_cipher_version ____________________ self = def test_get_cipher_version(self): """ `Connection.get_cipher_version` returns a `unicode` string giving the protocol name of the currently used cipher. """ > server, client = loopback() tests/test_ssl.py:2748: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E OpenSSL.SSL.Error: [('SSL routines', 'ssl_do_config', 'bad value'), ('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib/OpenSSL/_util.py:54: Error _____________________ TestConnection.test_get_cipher_bits ______________________ self = def test_get_cipher_bits(self): """ `Connection.get_cipher_bits` returns the number of secret bits of the currently used cipher. """ > server, client = loopback() tests/test_ssl.py:2771: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E OpenSSL.SSL.Error: [('SSL routines', 'ssl_do_config', 'bad value'), ('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib/OpenSSL/_util.py:54: Error ________________ TestConnection.test_get_protocol_version_name _________________ self = def test_get_protocol_version_name(self): """ `Connection.get_protocol_version_name()` returns a string giving the protocol version of the current connection. """ > server, client = loopback() tests/test_ssl.py:2785: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E OpenSSL.SSL.Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib/OpenSSL/_util.py:54: Error ___________________ TestConnection.test_get_protocol_version ___________________ self = def test_get_protocol_version(self): """ `Connection.get_protocol_version()` returns an integer giving the protocol version of the current connection. """ > server, client = loopback() tests/test_ssl.py:2799: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E OpenSSL.SSL.Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib/OpenSSL/_util.py:54: Error _____________________ TestConnectionSend.test_short_bytes ______________________ self = def test_short_bytes(self): """ When passed a short byte string, `Connection.send` transmits all of it and returns the number of bytes sent. """ > server, client = loopback() tests/test_ssl.py:2903: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E OpenSSL.SSL.Error: [('SSL routines', 'ssl_do_config', 'bad value'), ('SSL routines', 'ssl_do_config', 'bad value'), ('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib/OpenSSL/_util.py:54: Error _________________________ TestConnectionSend.test_text _________________________ self = def test_text(self): """ When passed a text, `Connection.send` transmits all of it and returns the number of bytes sent. It also raises a DeprecationWarning. """ > server, client = loopback() tests/test_ssl.py:2913: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E OpenSSL.SSL.Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib/OpenSSL/_util.py:54: Error ___________________ TestConnectionSend.test_short_memoryview ___________________ self = def test_short_memoryview(self): """ When passed a memoryview onto a small number of bytes, `Connection.send` transmits all of them and returns the number of bytes sent. """ > server, client = loopback() tests/test_ssl.py:2930: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E OpenSSL.SSL.Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib/OpenSSL/_util.py:54: Error _______________ TestConnectionRecvInto.test_bytearray_no_length ________________ self = def test_bytearray_no_length(self): """ `Connection.recv_into` can be passed a `bytearray` instance and data in the receive buffer is written to it. """ > self._no_length_test(bytearray) tests/test_ssl.py:2994: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:2983: in _no_length_test server, client = loopback() tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E OpenSSL.SSL.Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib/OpenSSL/_util.py:54: Error ____________ TestConnectionRecvInto.test_bytearray_respects_length _____________ self = def test_bytearray_respects_length(self): """ When called with a `bytearray` instance, `Connection.recv_into` respects the `nbytes` parameter and doesn't copy in more than that number of bytes. """ > self._respects_length_test(bytearray) tests/test_ssl.py:3016: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:3004: in _respects_length_test server, client = loopback() tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E OpenSSL.SSL.Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib/OpenSSL/_util.py:54: Error ____________ TestConnectionRecvInto.test_bytearray_doesnt_overfill _____________ self = def test_bytearray_doesnt_overfill(self): """ When called with a `bytearray` instance, `Connection.recv_into` respects the size of the array and doesn't write more bytes into it than will fit. """ > self._doesnt_overfill_test(bytearray) tests/test_ssl.py:3040: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:3026: in _doesnt_overfill_test server, client = loopback() tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E OpenSSL.SSL.Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib/OpenSSL/_util.py:54: Error _________ TestConnectionRecvInto.test_bytearray_really_doesnt_overfill _________ self = def test_bytearray_really_doesnt_overfill(self): """ When called with a `bytearray` instance and an `nbytes` value that is too large, `Connection.recv_into` respects the size of the array and not the `nbytes` value and doesn't write more bytes into the buffer than will fit. """ > self._doesnt_overfill_test(bytearray) tests/test_ssl.py:3049: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:3026: in _doesnt_overfill_test server, client = loopback() tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E OpenSSL.SSL.Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib/OpenSSL/_util.py:54: Error _______________________ TestConnectionRecvInto.test_peek _______________________ self = def test_peek(self): > server, client = loopback() tests/test_ssl.py:3052: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E OpenSSL.SSL.Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib/OpenSSL/_util.py:54: Error _______________ TestConnectionRecvInto.test_memoryview_no_length _______________ self = def test_memoryview_no_length(self): """ `Connection.recv_into` can be passed a `memoryview` instance and data in the receive buffer is written to it. """ > self._no_length_test(_make_memoryview) tests/test_ssl.py:3065: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:2983: in _no_length_test server, client = loopback() tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E OpenSSL.SSL.Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib/OpenSSL/_util.py:54: Error ____________ TestConnectionRecvInto.test_memoryview_respects_length ____________ self = def test_memoryview_respects_length(self): """ When called with a `memoryview` instance, `Connection.recv_into` respects the ``nbytes`` parameter and doesn't copy more than that number of bytes in. """ > self._respects_length_test(_make_memoryview) tests/test_ssl.py:3073: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:3004: in _respects_length_test server, client = loopback() tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E OpenSSL.SSL.Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib/OpenSSL/_util.py:54: Error ____________ TestConnectionRecvInto.test_memoryview_doesnt_overfill ____________ self = def test_memoryview_doesnt_overfill(self): """ When called with a `memoryview` instance, `Connection.recv_into` respects the size of the array and doesn't write more bytes into it than will fit. """ > self._doesnt_overfill_test(_make_memoryview) tests/test_ssl.py:3081: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:3026: in _doesnt_overfill_test server, client = loopback() tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E OpenSSL.SSL.Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib/OpenSSL/_util.py:54: Error ________ TestConnectionRecvInto.test_memoryview_really_doesnt_overfill _________ self = def test_memoryview_really_doesnt_overfill(self): """ When called with a `memoryview` instance and an `nbytes` value that is too large, `Connection.recv_into` respects the size of the array and not the `nbytes` value and doesn't write more bytes into the buffer than will fit. """ > self._doesnt_overfill_test(_make_memoryview) tests/test_ssl.py:3090: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:3026: in _doesnt_overfill_test server, client = loopback() tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E OpenSSL.SSL.Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib/OpenSSL/_util.py:54: Error _______________________ TestConnectionSendall.test_short _______________________ self = def test_short(self): """ `Connection.sendall` transmits all of the bytes in the string passed to it. """ > server, client = loopback() tests/test_ssl.py:3111: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E OpenSSL.SSL.Error: [('SSL routines', 'ssl_do_config', 'bad value'), ('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib/OpenSSL/_util.py:54: Error _______________________ TestConnectionSendall.test_text ________________________ self = def test_text(self): """ `Connection.sendall` transmits all the content in the string passed to it, raising a DeprecationWarning in case of this being a text. """ > server, client = loopback() tests/test_ssl.py:3120: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E OpenSSL.SSL.Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib/OpenSSL/_util.py:54: Error _________________ TestConnectionSendall.test_short_memoryview __________________ self = def test_short_memoryview(self): """ When passed a memoryview onto a small number of bytes, `Connection.sendall` transmits all of them. """ > server, client = loopback() tests/test_ssl.py:3135: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E OpenSSL.SSL.Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib/OpenSSL/_util.py:54: Error _______________________ TestConnectionSendall.test_long ________________________ self = def test_long(self): """ `Connection.sendall` transmits all the bytes in the string passed to it even if this requires multiple calls of an underlying write function. """ > server, client = loopback() tests/test_ssl.py:3154: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E OpenSSL.SSL.Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib/OpenSSL/_util.py:54: Error ______________________ TestConnectionSendall.test_closed _______________________ self = def test_closed(self): """ If the underlying socket is closed, `Connection.sendall` propagates the write error from the low level write call. """ > server, client = loopback() tests/test_ssl.py:3173: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E OpenSSL.SSL.Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib/OpenSSL/_util.py:54: Error ______________________ TestMemoryBIO.test_socket_connect _______________________ self = def test_socket_connect(self): """ Just like `test_memory_connect` but with an actual socket. This is primarily to rule out the memory BIO code as the source of any problems encountered while passing data over a `Connection` (if this test fails, there must be a problem outside the memory BIO code, as no memory BIO is involved here). Even though this isn't a memory BIO test, it's convenient to have it here. """ > server_conn, client_conn = loopback() tests/test_ssl.py:3478: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E OpenSSL.SSL.Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib/OpenSSL/_util.py:54: Error ______________________ TestMemoryBIO.test_unexpected_EOF _______________________ self = def test_unexpected_EOF(self): """ If the connection is lost before an orderly SSL shutdown occurs, `OpenSSL.SSL.SysCallError` is raised with a message of "Unexpected EOF". """ > server_conn, client_conn = loopback() tests/test_ssl.py:3551: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:245: in loopback server = server_factory(server) tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E OpenSSL.SSL.Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib/OpenSSL/_util.py:54: Error _______________ TestOCSP.test_callbacks_arent_called_by_default ________________ self = def test_callbacks_arent_called_by_default(self): """ If both the client and the server have registered OCSP callbacks, but the client does not send the OCSP request, neither callback gets called. """ def ocsp_callback(*args, **kwargs): # pragma: nocover pytest.fail("Should not be called") client = self._client_connection( callback=ocsp_callback, data=None, request_ocsp=False ) > server = self._server_connection(callback=ocsp_callback, data=None) tests/test_ssl.py:3879: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:3861: in _server_connection ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E OpenSSL.SSL.Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib/OpenSSL/_util.py:54: Error ________________ TestOCSP.test_client_negotiates_without_server ________________ self = def test_client_negotiates_without_server(self): """ If the client wants to do OCSP but the server does not, the handshake succeeds, and the client callback fires with an empty byte string. """ called = [] def ocsp_callback(conn, ocsp_data, ignored): called.append(ocsp_data) return True client = self._client_connection(callback=ocsp_callback, data=None) > server = loopback_server_factory(socket=None) tests/test_ssl.py:3894: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:228: in loopback_server_factory ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E OpenSSL.SSL.Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib/OpenSSL/_util.py:54: Error __________________ TestOCSP.test_client_receives_servers_data __________________ self = def test_client_receives_servers_data(self): """ The data the server sends in its callback is received by the client. """ calls = [] def server_callback(*args, **kwargs): return self.sample_ocsp_data def client_callback(conn, ocsp_data, ignored): calls.append(ocsp_data) return True client = self._client_connection(callback=client_callback, data=None) > server = self._server_connection(callback=server_callback, data=None) tests/test_ssl.py:3914: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:3861: in _server_connection ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E OpenSSL.SSL.Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib/OpenSSL/_util.py:54: Error _____________ TestOCSP.test_callbacks_are_invoked_with_connections _____________ self = def test_callbacks_are_invoked_with_connections(self): """ The first arguments to both callbacks are their respective connections. """ client_calls = [] server_calls = [] def client_callback(conn, *args, **kwargs): client_calls.append(conn) return True def server_callback(conn, *args, **kwargs): server_calls.append(conn) return self.sample_ocsp_data client = self._client_connection(callback=client_callback, data=None) > server = self._server_connection(callback=server_callback, data=None) tests/test_ssl.py:3936: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:3861: in _server_connection ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E OpenSSL.SSL.Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib/OpenSSL/_util.py:54: Error _________________ TestOCSP.test_opaque_data_is_passed_through __________________ self = def test_opaque_data_is_passed_through(self): """ Both callbacks receive an opaque, user-provided piece of data in their callbacks as the final argument. """ calls = [] def server_callback(*args): calls.append(args) return self.sample_ocsp_data def client_callback(*args): calls.append(args) return True sentinel = object() client = self._client_connection( callback=client_callback, data=sentinel ) server = self._server_connection( > callback=server_callback, data=sentinel ) tests/test_ssl.py:3965: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:3861: in _server_connection ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E OpenSSL.SSL.Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib/OpenSSL/_util.py:54: Error __________________ TestOCSP.test_server_returns_empty_string ___________________ self = def test_server_returns_empty_string(self): """ If the server returns an empty bytestring from its callback, the client callback is called with the empty bytestring. """ client_calls = [] def server_callback(*args): return b'' def client_callback(conn, ocsp_data, ignored): client_calls.append(ocsp_data) return True client = self._client_connection(callback=client_callback, data=None) > server = self._server_connection(callback=server_callback, data=None) tests/test_ssl.py:3988: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:3861: in _server_connection ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E OpenSSL.SSL.Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib/OpenSSL/_util.py:54: Error ___________ TestOCSP.test_client_returns_false_terminates_handshake ____________ self = def test_client_returns_false_terminates_handshake(self): """ If the client returns False from its callback, the handshake fails. """ def server_callback(*args): return self.sample_ocsp_data def client_callback(*args): return False client = self._client_connection(callback=client_callback, data=None) > server = self._server_connection(callback=server_callback, data=None) tests/test_ssl.py:4005: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:3861: in _server_connection ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E OpenSSL.SSL.Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib/OpenSSL/_util.py:54: Error _________________ TestOCSP.test_exceptions_in_client_bubble_up _________________ self = def test_exceptions_in_client_bubble_up(self): """ The callbacks thrown in the client callback bubble up to the caller. """ class SentinelException(Exception): pass def server_callback(*args): return self.sample_ocsp_data def client_callback(*args): raise SentinelException() client = self._client_connection(callback=client_callback, data=None) > server = self._server_connection(callback=server_callback, data=None) tests/test_ssl.py:4024: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:3861: in _server_connection ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E OpenSSL.SSL.Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib/OpenSSL/_util.py:54: Error _________________ TestOCSP.test_exceptions_in_server_bubble_up _________________ self = def test_exceptions_in_server_bubble_up(self): """ The callbacks thrown in the server callback bubble up to the caller. """ class SentinelException(Exception): pass def server_callback(*args): raise SentinelException() def client_callback(*args): # pragma: nocover pytest.fail("Should not be called") client = self._client_connection(callback=client_callback, data=None) > server = self._server_connection(callback=server_callback, data=None) tests/test_ssl.py:4043: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:3861: in _server_connection ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E OpenSSL.SSL.Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib/OpenSSL/_util.py:54: Error ____________________ TestOCSP.test_server_must_return_bytes ____________________ self = def test_server_must_return_bytes(self): """ The server callback must return a bytestring, or a TypeError is thrown. """ def server_callback(*args): return self.sample_ocsp_data.decode('ascii') def client_callback(*args): # pragma: nocover pytest.fail("Should not be called") client = self._client_connection(callback=client_callback, data=None) > server = self._server_connection(callback=server_callback, data=None) tests/test_ssl.py:4059: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_ssl.py:3861: in _server_connection ctx.use_certificate(load_certificate(FILETYPE_PEM, server_cert_pem)) build/lib/OpenSSL/SSL.py:944: in use_certificate _raise_current_error() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ exception_type = def exception_from_error_queue(exception_type): """ Convert an OpenSSL library failure into a Python exception. When a call to the native OpenSSL library fails, this is usually signalled by the return value, and an error code is stored in an error queue associated with the current thread. The err library provides functions to obtain these error codes and textual error messages. """ errors = [] while True: error = lib.ERR_get_error() if error == 0: break errors.append(( text(lib.ERR_lib_error_string(error)), text(lib.ERR_func_error_string(error)), text(lib.ERR_reason_error_string(error)))) > raise exception_type(errors) E OpenSSL.SSL.Error: [('SSL routines', 'SSL_CTX_use_certificate', 'ee key too small')] build/lib/OpenSSL/_util.py:54: Error ________ TestErrors.test_exception_from_error_queue_nonexistent_reason _________ self = def test_exception_from_error_queue_nonexistent_reason(self): """ :func:`exception_from_error_queue` raises ``ValueError`` when it encounters an OpenSSL error code which does not have a reason string. """ lib.ERR_put_error(lib.ERR_LIB_EVP, 0, 1112, b"", 10) with pytest.raises(ValueError) as exc: exception_from_error_queue(ValueError) > assert exc.value.args[0][0][2] == "" E AssertionError: assert 'bad value' == '' E - bad value tests/test_util.py:18: AssertionError ===Flaky Test Report=== test_gmtime_adj_notBefore passed 1 out of the required 1 times. Success! test_gmtime_adj_notAfter passed 1 out of the required 1 times. Success! test_export_text passed 1 out of the required 1 times. Success! ===End Flaky Test Report=== =============================== warnings summary =============================== tests/test_crypto.py:25 /build/pyopenssl-19.0.0/tests/test_crypto.py:25: DeprecationWarning: PKeyType has been deprecated, use PKey instead from OpenSSL.crypto import TYPE_RSA, TYPE_DSA, Error, PKey, PKeyType tests/test_crypto.py:26 /build/pyopenssl-19.0.0/tests/test_crypto.py:26: DeprecationWarning: X509Type has been deprecated, use X509 instead from OpenSSL.crypto import X509, X509Type, X509Name, X509NameType /build/pyopenssl-19.0.0/tests/test_crypto.py:26: DeprecationWarning: X509NameType has been deprecated, use X509Name instead from OpenSSL.crypto import X509, X509Type, X509Name, X509NameType tests/test_crypto.py:27 /build/pyopenssl-19.0.0/tests/test_crypto.py:27: DeprecationWarning: X509StoreType has been deprecated, use X509Store instead from OpenSSL.crypto import ( tests/test_crypto.py:34 /build/pyopenssl-19.0.0/tests/test_crypto.py:34: DeprecationWarning: X509ReqType has been deprecated, use X509Req instead from OpenSSL.crypto import X509Req, X509ReqType tests/test_crypto.py:35 /build/pyopenssl-19.0.0/tests/test_crypto.py:35: DeprecationWarning: X509ExtensionType has been deprecated, use X509Extension instead from OpenSSL.crypto import X509Extension, X509ExtensionType tests/test_crypto.py:41 /build/pyopenssl-19.0.0/tests/test_crypto.py:41: DeprecationWarning: PKCS7Type has been deprecated, use PKCS7 instead from OpenSSL.crypto import PKCS7, PKCS7Type, load_pkcs7_data tests/test_crypto.py:42 /build/pyopenssl-19.0.0/tests/test_crypto.py:42: DeprecationWarning: PKCS12Type has been deprecated, use PKCS12 instead from OpenSSL.crypto import PKCS12, PKCS12Type, load_pkcs12 tests/test_crypto.py:44 /build/pyopenssl-19.0.0/tests/test_crypto.py:44: DeprecationWarning: NetscapeSPKIType has been deprecated, use NetscapeSPKI instead from OpenSSL.crypto import NetscapeSPKI, NetscapeSPKIType tests/test_ssl.py:59 /build/pyopenssl-19.0.0/tests/test_ssl.py:59: DeprecationWarning: ContextType has been deprecated, use Context instead from OpenSSL.SSL import ( /build/pyopenssl-19.0.0/tests/test_ssl.py:59: DeprecationWarning: ConnectionType has been deprecated, use Connection instead from OpenSSL.SSL import ( /usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:294 /usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:294: DeprecationWarning: OpenSSL.tsafe is deprecated and will be removed six.exec_(co, mod.__dict__) tests/test_crypto.py::TestPKCS12::()::test_load_pkcs12_garbage /build/pyopenssl-19.0.0/tests/test_crypto.py:2305: DeprecationWarning: str for passphrase is no longer accepted, use bytes load_pkcs12(b'fruit loops', passwd) tests/test_crypto.py::TestSignVerify::()::test_sign_verify_ecdsa /build/pyopenssl-19.0.0/tests/test_crypto.py:3703: DeprecationWarning: str for data is no longer accepted, use bytes sig = sign(priv_key, content, "sha1") /build/pyopenssl-19.0.0/tests/test_crypto.py:3704: DeprecationWarning: str for data is no longer accepted, use bytes verify(cert, sig, content, "sha1") tests/test_ssl.py::TestContext::()::test_set_cipher_list[hello world:AES128-SHA1] /build/pyopenssl-19.0.0/tests/test_ssl.py:408: DeprecationWarning: str for cipher_list is no longer accepted, use bytes context.set_cipher_list(cipher_string) tests/test_ssl.py::TestContext::()::test_set_cipher_list_wrong_args[imaginary-cipher-Error] /build/pyopenssl-19.0.0/tests/test_ssl.py:424: DeprecationWarning: str for cipher_list is no longer accepted, use bytes context.set_cipher_list(cipher_list) tests/test_ssl.py::TestConnection::()::test_client_set_session /build/pyopenssl-19.0.0/tests/test_ssl.py:2548: DeprecationWarning: str for buf is no longer accepted, use bytes ctx.set_session_id("unity-test") tests/test_ssl.py::TestConnection::()::test_set_session_wrong_method /build/pyopenssl-19.0.0/tests/test_ssl.py:2598: DeprecationWarning: str for buf is no longer accepted, use bytes ctx.set_session_id("unity-test") tests/test_ssl.py::TestMemoryBIO::()::test_socket_overrides_memory /build/pyopenssl-19.0.0/tests/test_ssl.py:3502: DeprecationWarning: str for buf is no longer accepted, use bytes clientSSL.bio_write("foo") -- Docs: https://docs.pytest.org/en/latest/warnings.html ======= 49 failed, 436 passed, 14 skipped, 20 warnings in 24.39 seconds ======== make[1]: [debian/rules:27: override_dh_auto_test] Error 1 (ignored) make[1]: Leaving directory '/build/pyopenssl-19.0.0' fakeroot debian/rules binary py3versions: no X-Python3-Version in control file, using supported versions dh binary --with python2,python3,sphinxdoc dh_testroot dh_prep debian/rules override_dh_auto_install make[1]: Entering directory '/build/pyopenssl-19.0.0' py3versions: no X-Python3-Version in control file, using supported versions set -e; \ for py in 2.7; do \ echo "installing for python$py ..."; \ python$py setup.py install --root=/build/pyopenssl-19.0.0/debian/python-openssl --install-layout=deb; \ done installing for python2.7 ... running install running build running build_py running install_lib creating /build/pyopenssl-19.0.0/debian/python-openssl creating /build/pyopenssl-19.0.0/debian/python-openssl/usr creating /build/pyopenssl-19.0.0/debian/python-openssl/usr/lib creating /build/pyopenssl-19.0.0/debian/python-openssl/usr/lib/python2.7 creating /build/pyopenssl-19.0.0/debian/python-openssl/usr/lib/python2.7/dist-packages creating /build/pyopenssl-19.0.0/debian/python-openssl/usr/lib/python2.7/dist-packages/OpenSSL copying build/lib.linux-i686-2.7/OpenSSL/__init__.pyc -> /build/pyopenssl-19.0.0/debian/python-openssl/usr/lib/python2.7/dist-packages/OpenSSL copying build/lib.linux-i686-2.7/OpenSSL/crypto.pyc -> /build/pyopenssl-19.0.0/debian/python-openssl/usr/lib/python2.7/dist-packages/OpenSSL copying build/lib.linux-i686-2.7/OpenSSL/_util.pyc -> /build/pyopenssl-19.0.0/debian/python-openssl/usr/lib/python2.7/dist-packages/OpenSSL copying build/lib.linux-i686-2.7/OpenSSL/tsafe.pyc -> /build/pyopenssl-19.0.0/debian/python-openssl/usr/lib/python2.7/dist-packages/OpenSSL copying build/lib.linux-i686-2.7/OpenSSL/version.py -> /build/pyopenssl-19.0.0/debian/python-openssl/usr/lib/python2.7/dist-packages/OpenSSL copying build/lib.linux-i686-2.7/OpenSSL/__init__.py -> /build/pyopenssl-19.0.0/debian/python-openssl/usr/lib/python2.7/dist-packages/OpenSSL copying build/lib.linux-i686-2.7/OpenSSL/rand.pyc -> /build/pyopenssl-19.0.0/debian/python-openssl/usr/lib/python2.7/dist-packages/OpenSSL copying build/lib.linux-i686-2.7/OpenSSL/_util.py -> /build/pyopenssl-19.0.0/debian/python-openssl/usr/lib/python2.7/dist-packages/OpenSSL copying build/lib.linux-i686-2.7/OpenSSL/version.pyc -> /build/pyopenssl-19.0.0/debian/python-openssl/usr/lib/python2.7/dist-packages/OpenSSL copying build/lib.linux-i686-2.7/OpenSSL/debug.py -> /build/pyopenssl-19.0.0/debian/python-openssl/usr/lib/python2.7/dist-packages/OpenSSL copying build/lib.linux-i686-2.7/OpenSSL/SSL.py -> /build/pyopenssl-19.0.0/debian/python-openssl/usr/lib/python2.7/dist-packages/OpenSSL copying build/lib.linux-i686-2.7/OpenSSL/rand.py -> /build/pyopenssl-19.0.0/debian/python-openssl/usr/lib/python2.7/dist-packages/OpenSSL copying build/lib.linux-i686-2.7/OpenSSL/debug.pyc -> /build/pyopenssl-19.0.0/debian/python-openssl/usr/lib/python2.7/dist-packages/OpenSSL creating /build/pyopenssl-19.0.0/debian/python-openssl/usr/lib/python2.7/dist-packages/OpenSSL/__pycache__ copying build/lib.linux-i686-2.7/OpenSSL/__pycache__/crypto.cpython-37.pyc -> /build/pyopenssl-19.0.0/debian/python-openssl/usr/lib/python2.7/dist-packages/OpenSSL/__pycache__ copying build/lib.linux-i686-2.7/OpenSSL/__pycache__/_util.cpython-37.pyc -> /build/pyopenssl-19.0.0/debian/python-openssl/usr/lib/python2.7/dist-packages/OpenSSL/__pycache__ copying build/lib.linux-i686-2.7/OpenSSL/__pycache__/SSL.cpython-37.pyc -> /build/pyopenssl-19.0.0/debian/python-openssl/usr/lib/python2.7/dist-packages/OpenSSL/__pycache__ copying build/lib.linux-i686-2.7/OpenSSL/__pycache__/__init__.cpython-37.pyc -> /build/pyopenssl-19.0.0/debian/python-openssl/usr/lib/python2.7/dist-packages/OpenSSL/__pycache__ copying build/lib.linux-i686-2.7/OpenSSL/__pycache__/version.cpython-37.pyc -> /build/pyopenssl-19.0.0/debian/python-openssl/usr/lib/python2.7/dist-packages/OpenSSL/__pycache__ copying build/lib.linux-i686-2.7/OpenSSL/crypto.py -> /build/pyopenssl-19.0.0/debian/python-openssl/usr/lib/python2.7/dist-packages/OpenSSL copying build/lib.linux-i686-2.7/OpenSSL/SSL.pyc -> /build/pyopenssl-19.0.0/debian/python-openssl/usr/lib/python2.7/dist-packages/OpenSSL copying build/lib.linux-i686-2.7/OpenSSL/tsafe.py -> /build/pyopenssl-19.0.0/debian/python-openssl/usr/lib/python2.7/dist-packages/OpenSSL running install_egg_info running egg_info writing requirements to src/pyOpenSSL.egg-info/requires.txt writing src/pyOpenSSL.egg-info/PKG-INFO writing top-level names to src/pyOpenSSL.egg-info/top_level.txt writing dependency_links to src/pyOpenSSL.egg-info/dependency_links.txt reading manifest file 'src/pyOpenSSL.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files found matching 'leakcheck' warning: no previously-included files found matching 'codecov.yml' warning: no previously-included files matching '*.py' found under directory 'leakcheck' warning: no previously-included files matching '*.pem' found under directory 'leakcheck' warning: no previously-included files matching '*.cert' found under directory 'examples/simple' warning: no previously-included files matching '*.pkey' found under directory 'examples/simple' no previously-included directories found matching '.travis' no previously-included directories found matching '.mention-bot' writing manifest file 'src/pyOpenSSL.egg-info/SOURCES.txt' Copying src/pyOpenSSL.egg-info to /build/pyopenssl-19.0.0/debian/python-openssl/usr/lib/python2.7/dist-packages/pyOpenSSL-19.0.0.egg-info Skipping SOURCES.txt running install_scripts set -e; \ for py in 3.7; do \ echo "installing for python$py ..."; \ python$py setup.py install --root=/build/pyopenssl-19.0.0/debian/python3-openssl --install-layout=deb; \ done installing for python3.7 ... running install running build running build_py running install_lib creating /build/pyopenssl-19.0.0/debian/python3-openssl creating /build/pyopenssl-19.0.0/debian/python3-openssl/usr creating /build/pyopenssl-19.0.0/debian/python3-openssl/usr/lib creating /build/pyopenssl-19.0.0/debian/python3-openssl/usr/lib/python3 creating /build/pyopenssl-19.0.0/debian/python3-openssl/usr/lib/python3/dist-packages creating /build/pyopenssl-19.0.0/debian/python3-openssl/usr/lib/python3/dist-packages/OpenSSL copying build/lib/OpenSSL/version.py -> /build/pyopenssl-19.0.0/debian/python3-openssl/usr/lib/python3/dist-packages/OpenSSL copying build/lib/OpenSSL/__init__.py -> /build/pyopenssl-19.0.0/debian/python3-openssl/usr/lib/python3/dist-packages/OpenSSL copying build/lib/OpenSSL/_util.py -> /build/pyopenssl-19.0.0/debian/python3-openssl/usr/lib/python3/dist-packages/OpenSSL copying build/lib/OpenSSL/debug.py -> /build/pyopenssl-19.0.0/debian/python3-openssl/usr/lib/python3/dist-packages/OpenSSL copying build/lib/OpenSSL/SSL.py -> /build/pyopenssl-19.0.0/debian/python3-openssl/usr/lib/python3/dist-packages/OpenSSL copying build/lib/OpenSSL/rand.py -> /build/pyopenssl-19.0.0/debian/python3-openssl/usr/lib/python3/dist-packages/OpenSSL creating /build/pyopenssl-19.0.0/debian/python3-openssl/usr/lib/python3/dist-packages/OpenSSL/__pycache__ copying build/lib/OpenSSL/__pycache__/debug.cpython-37.pyc -> /build/pyopenssl-19.0.0/debian/python3-openssl/usr/lib/python3/dist-packages/OpenSSL/__pycache__ copying build/lib/OpenSSL/__pycache__/crypto.cpython-37.pyc -> /build/pyopenssl-19.0.0/debian/python3-openssl/usr/lib/python3/dist-packages/OpenSSL/__pycache__ copying build/lib/OpenSSL/__pycache__/rand.cpython-37.pyc -> /build/pyopenssl-19.0.0/debian/python3-openssl/usr/lib/python3/dist-packages/OpenSSL/__pycache__ copying build/lib/OpenSSL/__pycache__/_util.cpython-37.pyc -> /build/pyopenssl-19.0.0/debian/python3-openssl/usr/lib/python3/dist-packages/OpenSSL/__pycache__ copying build/lib/OpenSSL/__pycache__/SSL.cpython-37.pyc -> /build/pyopenssl-19.0.0/debian/python3-openssl/usr/lib/python3/dist-packages/OpenSSL/__pycache__ copying build/lib/OpenSSL/__pycache__/__init__.cpython-37.pyc -> /build/pyopenssl-19.0.0/debian/python3-openssl/usr/lib/python3/dist-packages/OpenSSL/__pycache__ copying build/lib/OpenSSL/__pycache__/tsafe.cpython-37.pyc -> /build/pyopenssl-19.0.0/debian/python3-openssl/usr/lib/python3/dist-packages/OpenSSL/__pycache__ copying build/lib/OpenSSL/__pycache__/version.cpython-37.pyc -> /build/pyopenssl-19.0.0/debian/python3-openssl/usr/lib/python3/dist-packages/OpenSSL/__pycache__ copying build/lib/OpenSSL/crypto.py -> /build/pyopenssl-19.0.0/debian/python3-openssl/usr/lib/python3/dist-packages/OpenSSL copying build/lib/OpenSSL/tsafe.py -> /build/pyopenssl-19.0.0/debian/python3-openssl/usr/lib/python3/dist-packages/OpenSSL running install_egg_info running egg_info writing src/pyOpenSSL.egg-info/PKG-INFO writing dependency_links to src/pyOpenSSL.egg-info/dependency_links.txt writing requirements to src/pyOpenSSL.egg-info/requires.txt writing top-level names to src/pyOpenSSL.egg-info/top_level.txt reading manifest file 'src/pyOpenSSL.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files found matching 'leakcheck' warning: no previously-included files found matching 'codecov.yml' warning: no previously-included files matching '*.py' found under directory 'leakcheck' warning: no previously-included files matching '*.pem' found under directory 'leakcheck' warning: no previously-included files matching '*.cert' found under directory 'examples/simple' warning: no previously-included files matching '*.pkey' found under directory 'examples/simple' no previously-included directories found matching '.travis' no previously-included directories found matching '.mention-bot' writing manifest file 'src/pyOpenSSL.egg-info/SOURCES.txt' Copying src/pyOpenSSL.egg-info to /build/pyopenssl-19.0.0/debian/python3-openssl/usr/lib/python3/dist-packages/pyOpenSSL-19.0.0.egg-info Skipping SOURCES.txt running install_scripts make[1]: Leaving directory '/build/pyopenssl-19.0.0' dh_installdocs dh_sphinxdoc dh_sphinxdoc: ignoring unknown JavaScript code: debian/python-openssl-doc/usr/share/doc/python-openssl-doc/html/_static/js/modernizr.min.js debian/rules override_dh_installchangelogs make[1]: Entering directory '/build/pyopenssl-19.0.0' py3versions: no X-Python3-Version in control file, using supported versions dh_installchangelogs CHANGELOG.rst make[1]: Leaving directory '/build/pyopenssl-19.0.0' dh_installexamples dh_python2 dh_python3 dh_perl dh_link dh_strip_nondeterminism dh_compress dh_fixperms dh_missing dh_installdeb dh_gencontrol dpkg-gencontrol: warning: Depends field of package python3-openssl: substitution variable ${shlibs:Depends} used, but is not defined dpkg-gencontrol: warning: Depends field of package python-openssl: substitution variable ${shlibs:Depends} used, but is not defined dpkg-gencontrol: warning: package python-openssl: substitution variable ${python:Provides} unused, but is defined dpkg-gencontrol: warning: package python-openssl: substitution variable ${python:Versions} unused, but is defined dpkg-gencontrol: warning: package python-openssl-doc: substitution variable ${sphinxdoc:Built-Using} unused, but is defined dh_md5sums dh_builddeb dpkg-deb: building package 'python-openssl-doc' in '../python-openssl-doc_19.0.0-1_all.deb'. dpkg-deb: building package 'python3-openssl' in '../python3-openssl_19.0.0-1_all.deb'. dpkg-deb: building package 'python-openssl' in '../python-openssl_19.0.0-1_all.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../pyopenssl_19.0.0-1_i386.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/19041 and its subdirectories I: Current time: Thu Jul 30 00:03:17 -12 2020 I: pbuilder-time-stamp: 1596110597