Sat 8 Sep 03:44:49 BST 2018: starting build of python-smstrade version 0.2.4-5 arch armel on maul Running apt-get -q --download-only --only-source source python-smstrade=0.2.4-5 Reading package lists... NOTICE: 'python-smstrade' packaging is maintained in the 'Git' version control system at: git://anonscm.debian.org/python-modules/packages/python-smstrade.git Please use: git clone git://anonscm.debian.org/python-modules/packages/python-smstrade.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 32.6 kB of source archives. Get:1 http://mirror/debian unstable/main python-smstrade 0.2.4-5 (dsc) [2,055 B] Get:2 http://mirror/debian unstable/main python-smstrade 0.2.4-5 (tar) [13.4 kB] Get:3 http://mirror/debian unstable/main python-smstrade 0.2.4-5 (diff) [17.2 kB] Fetched 32.6 kB in 0s (597 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'python-smstrade_0.2.4-5.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) total 40 -rw-r--r-- 1 root root 17156 Jan 10 2016 python-smstrade_0.2.4-5.debian.tar.xz -rw-r--r-- 1 root root 2055 Jan 10 2016 python-smstrade_0.2.4-5.dsc -rw-r--r-- 1 root root 13390 Jun 4 2014 python-smstrade_0.2.4.orig.tar.gz W: /root/.pbuilderrc does not exist I: using fakeroot in build. I: pbuilder: network access will be disabled during build I: Current time: Sat Sep 8 03:44:50 BST 2018 I: pbuilder-time-stamp: 1536374690 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-armel.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: Mounting /dev I: Mounting /dev/pts I: Mounting /proc I: Mounting /sys I: policy-rc.d already exists I: Obtaining the cached apt archive contents I: Copying source file I: copying [python-smstrade_0.2.4-5.dsc] I: copying [./python-smstrade_0.2.4.orig.tar.gz] I: copying [./python-smstrade_0.2.4-5.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 Sun Jan 10 14:39:59 2016 UTC gpgv: using RSA key 0D791DC8D737C1D9 gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./python-smstrade_0.2.4-5.dsc dpkg-source: info: extracting python-smstrade in python-smstrade-0.2.4 dpkg-source: info: unpacking python-smstrade_0.2.4.orig.tar.gz dpkg-source: info: unpacking python-smstrade_0.2.4-5.debian.tar.xz dpkg-source: info: applying 0001-Fix-version-number-to-be-independent-of-master-branc.patch I: Installing the build-deps I: user script /chroot/rebuildd/pbuilder/17476/tmp/hooks/D01update starting Get:1 http://mirror.einval.org/debian sid InRelease [233 kB] Ign:2 http://mirror.einval.org/debian sid/main armel Packages.diff/Index Get:2 http://mirror.einval.org/debian sid/main armel Packages.diff/Index [27.9 kB] Ign:2 http://mirror.einval.org/debian sid/main armel Packages.diff/Index Get:3 http://mirror.einval.org/debian sid/main armel Packages [7922 kB] Fetched 8154 kB in 2s (3269 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: libncurses6 libprocps7 lsb-base Recommended packages: libgpm2 psmisc The following NEW packages will be installed: libncurses6 libprocps7 lsb-base procps debconf: delaying package configuration, since apt-utils is not installed 0 upgraded, 4 newly installed, 0 to remove and 40 not upgraded. Need to get 0 B/415 kB of archives. After this operation, 1113 kB of additional disk space will be used. Selecting previously unselected package libncurses6:armel. (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 ... 11698 files and directories currently installed.) Preparing to unpack .../libncurses6_6.1+20180714-1_armel.deb ... Unpacking libncurses6:armel (6.1+20180714-1) ... Selecting previously unselected package libprocps7:armel. Preparing to unpack .../libprocps7_2%3a3.3.15-2_armel.deb ... Unpacking libprocps7:armel (2:3.3.15-2) ... Selecting previously unselected package lsb-base. Preparing to unpack .../lsb-base_9.20170808_all.deb ... Unpacking lsb-base (9.20170808) ... Selecting previously unselected package procps. Preparing to unpack .../procps_2%3a3.3.15-2_armel.deb ... Unpacking procps (2:3.3.15-2) ... Setting up libprocps7:armel (2:3.3.15-2) ... Setting up lsb-base (9.20170808) ... Processing triggers for libc-bin (2.27-5) ... Setting up libncurses6:armel (6.1+20180714-1) ... Setting up procps (2:3.3.15-2) ... update-alternatives: using /usr/bin/w.procps to provide /usr/bin/w (w) in auto mode Processing triggers for libc-bin (2.27-5) ... I: user script /chroot/rebuildd/pbuilder/17476/tmp/hooks/D01update finished W: skipping an editor backup file /chroot/rebuildd/pbuilder/17476/tmp/hooks/D01update~ I: user script /chroot/rebuildd/pbuilder/17476/tmp/hooks/D02enable_swp starting I: user script /chroot/rebuildd/pbuilder/17476/tmp/hooks/D02enable_swp finished W: skipping an editor backup file /chroot/rebuildd/pbuilder/17476/tmp/hooks/D02enable_swp~ -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: armel 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, python-appdirs, python-httpretty, python-pytest, python-requests, python-setuptools, python-six, python3-appdirs, python3-httpretty, python3-pytest, python3-requests, python3-setuptools, python3-six dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 11783 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 python-appdirs; however: Package python-appdirs is not installed. pbuilder-satisfydepends-dummy depends on python-httpretty; however: Package python-httpretty is not installed. pbuilder-satisfydepends-dummy depends on python-pytest; however: Package python-pytest is not installed. pbuilder-satisfydepends-dummy depends on python-requests; however: Package python-requests is not installed. pbuilder-satisfydepends-dummy depends on python-setuptools; however: Package python-setuptools is not installed. pbuilder-satisfydepends-dummy depends on python-six; however: Package python-six is not installed. pbuilder-satisfydepends-dummy depends on python3-appdirs; however: Package python3-appdirs is not installed. pbuilder-satisfydepends-dummy depends on python3-httpretty; however: Package python3-httpretty is not installed. pbuilder-satisfydepends-dummy depends on python3-pytest; however: Package python3-pytest is not installed. pbuilder-satisfydepends-dummy depends on python3-requests; however: Package python3-requests is not installed. pbuilder-satisfydepends-dummy depends on python3-setuptools; however: Package python3-setuptools is not installed. pbuilder-satisfydepends-dummy depends on python3-six; however: Package python3-six 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} dwz{a} file{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} libfreetype6{a} libglib2.0-0{a} libgraphite2-3{a} libharfbuzz0b{a} libicu-le-hb0{a} libicu60{a} libmagic-mgc{a} libmagic1{a} libmpdec2{a} libpipeline1{a} libpng16-16{a} libpython-stdlib{a} libpython2-stdlib{a} libpython2.7-minimal{a} libpython2.7-stdlib{a} libpython3-stdlib{a} libpython3.6-minimal{a} libpython3.6-stdlib{a} libpython3.7-minimal{a} libpython3.7-stdlib{a} libreadline7{a} libsigsegv2{a} libssl1.1{a} libtimedate-perl{a} libtool{a} libxml2{a} m4{a} man-db{a} mime-support{a} openssl{a} po-debconf{a} python{a} python-all{a} python-appdirs{a} python-atomicwrites{a} python-attr{a} python-certifi{a} python-chardet{a} python-funcsigs{a} python-httpretty{a} python-idna{a} python-minimal{a} python-more-itertools{a} python-pkg-resources{a} python-pluggy{a} python-py{a} python-pytest{a} python-requests{a} python-setuptools{a} python-six{a} python-urllib3{a} python2{a} python2-minimal{a} python2.7{a} python2.7-minimal{a} python3{a} python3-all{a} python3-appdirs{a} python3-atomicwrites{a} python3-attr{a} python3-certifi{a} python3-chardet{a} python3-distutils{a} python3-httpretty{a} python3-idna{a} python3-lib2to3{a} python3-minimal{a} python3-more-itertools{a} python3-pkg-resources{a} python3-pluggy{a} python3-py{a} python3-pytest{a} python3-requests{a} python3-setuptools{a} python3-six{a} python3-urllib3{a} python3.6{a} python3.6-minimal{a} python3.7{a} python3.7-minimal{a} readline-common{a} The following packages are RECOMMENDED but will NOT be installed: curl libarchive-cpio-perl libglib2.0-data libltdl-dev libmail-sendmail-perl lynx python-cryptography python-ipaddress python-openssl shared-mime-info wget xdg-user-dirs 0 packages upgraded, 103 newly installed, 0 to remove and 40 not upgraded. Need to get 0 B/37.1 MB of archives. After unpacking 144 MB will be used. Writing extended state information... debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0:armel. (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 ... 11783 files and directories currently installed.) Preparing to unpack .../00-libbsd0_0.9.1-1_armel.deb ... Unpacking libbsd0:armel (0.9.1-1) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../01-bsdmainutils_11.1.2+b1_armel.deb ... Unpacking bsdmainutils (11.1.2+b1) ... Selecting previously unselected package groff-base. Preparing to unpack .../02-groff-base_1.22.3-10_armel.deb ... Unpacking groff-base (1.22.3-10) ... Selecting previously unselected package libpipeline1:armel. Preparing to unpack .../03-libpipeline1_1.5.0-1_armel.deb ... Unpacking libpipeline1:armel (1.5.0-1) ... Selecting previously unselected package man-db. Preparing to unpack .../04-man-db_2.8.4-2_armel.deb ... Unpacking man-db (2.8.4-2) ... Selecting previously unselected package libpython2.7-minimal:armel. Preparing to unpack .../05-libpython2.7-minimal_2.7.15-4_armel.deb ... Unpacking libpython2.7-minimal:armel (2.7.15-4) ... Selecting previously unselected package python2.7-minimal. Preparing to unpack .../06-python2.7-minimal_2.7.15-4_armel.deb ... Unpacking python2.7-minimal (2.7.15-4) ... Selecting previously unselected package python2-minimal. Preparing to unpack .../07-python2-minimal_2.7.15-3_armel.deb ... Unpacking python2-minimal (2.7.15-3) ... Selecting previously unselected package python-minimal. Preparing to unpack .../08-python-minimal_2.7.15-3_armel.deb ... Unpacking python-minimal (2.7.15-3) ... Selecting previously unselected package mime-support. Preparing to unpack .../09-mime-support_3.61_all.deb ... Unpacking mime-support (3.61) ... Selecting previously unselected package libexpat1:armel. Preparing to unpack .../10-libexpat1_2.2.6-1_armel.deb ... Unpacking libexpat1:armel (2.2.6-1) ... Selecting previously unselected package readline-common. Preparing to unpack .../11-readline-common_7.0-5_all.deb ... Unpacking readline-common (7.0-5) ... Selecting previously unselected package libreadline7:armel. Preparing to unpack .../12-libreadline7_7.0-5_armel.deb ... Unpacking libreadline7:armel (7.0-5) ... Selecting previously unselected package libssl1.1:armel. Preparing to unpack .../13-libssl1.1_1.1.1~~pre9-1_armel.deb ... Unpacking libssl1.1:armel (1.1.1~~pre9-1) ... Selecting previously unselected package libpython2.7-stdlib:armel. Preparing to unpack .../14-libpython2.7-stdlib_2.7.15-4_armel.deb ... Unpacking libpython2.7-stdlib:armel (2.7.15-4) ... Selecting previously unselected package python2.7. Preparing to unpack .../15-python2.7_2.7.15-4_armel.deb ... Unpacking python2.7 (2.7.15-4) ... Selecting previously unselected package libpython2-stdlib:armel. Preparing to unpack .../16-libpython2-stdlib_2.7.15-3_armel.deb ... Unpacking libpython2-stdlib:armel (2.7.15-3) ... Selecting previously unselected package libpython-stdlib:armel. Preparing to unpack .../17-libpython-stdlib_2.7.15-3_armel.deb ... Unpacking libpython-stdlib:armel (2.7.15-3) ... Setting up libpython2.7-minimal:armel (2.7.15-4) ... Setting up python2.7-minimal (2.7.15-4) ... Setting up python2-minimal (2.7.15-3) ... 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 ... 13228 files and directories currently installed.) Preparing to unpack .../python2_2.7.15-3_armel.deb ... Unpacking python2 (2.7.15-3) ... Setting up python-minimal (2.7.15-3) ... 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 ... 13261 files and directories currently installed.) Preparing to unpack .../python_2.7.15-3_armel.deb ... Unpacking python (2.7.15-3) ... Selecting previously unselected package libpython3.6-minimal:armel. Preparing to unpack .../libpython3.6-minimal_3.6.6-4_armel.deb ... Unpacking libpython3.6-minimal:armel (3.6.6-4) ... Selecting previously unselected package python3.6-minimal. Preparing to unpack .../python3.6-minimal_3.6.6-4_armel.deb ... Unpacking python3.6-minimal (3.6.6-4) ... Setting up libssl1.1:armel (1.1.1~~pre9-1) ... Setting up libpython3.6-minimal:armel (3.6.6-4) ... Setting up libexpat1:armel (2.2.6-1) ... Setting up python3.6-minimal (3.6.6-4) ... 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 ... 13513 files and directories currently installed.) Preparing to unpack .../python3-minimal_3.6.6-1_armel.deb ... Unpacking python3-minimal (3.6.6-1) ... Selecting previously unselected package libmpdec2:armel. Preparing to unpack .../libmpdec2_2.4.2-2_armel.deb ... Unpacking libmpdec2:armel (2.4.2-2) ... Selecting previously unselected package libpython3.6-stdlib:armel. Preparing to unpack .../libpython3.6-stdlib_3.6.6-4_armel.deb ... Unpacking libpython3.6-stdlib:armel (3.6.6-4) ... Selecting previously unselected package python3.6. Preparing to unpack .../python3.6_3.6.6-4_armel.deb ... Unpacking python3.6 (3.6.6-4) ... Selecting previously unselected package libpython3-stdlib:armel. Preparing to unpack .../libpython3-stdlib_3.6.6-1_armel.deb ... Unpacking libpython3-stdlib:armel (3.6.6-1) ... Setting up python3-minimal (3.6.6-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 ... 13917 files and directories currently installed.) Preparing to unpack .../00-python3_3.6.6-1_armel.deb ... Unpacking python3 (3.6.6-1) ... Selecting previously unselected package libpython3.7-minimal:armel. Preparing to unpack .../01-libpython3.7-minimal_3.7.0-6_armel.deb ... Unpacking libpython3.7-minimal:armel (3.7.0-6) ... Selecting previously unselected package python3.7-minimal. Preparing to unpack .../02-python3.7-minimal_3.7.0-6_armel.deb ... Unpacking python3.7-minimal (3.7.0-6) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../03-libmagic-mgc_1%3a5.34-2_armel.deb ... Unpacking libmagic-mgc (1:5.34-2) ... Selecting previously unselected package libmagic1:armel. Preparing to unpack .../04-libmagic1_1%3a5.34-2_armel.deb ... Unpacking libmagic1:armel (1:5.34-2) ... Selecting previously unselected package file. Preparing to unpack .../05-file_1%3a5.34-2_armel.deb ... Unpacking file (1:5.34-2) ... Selecting previously unselected package gettext-base. Preparing to unpack .../06-gettext-base_0.19.8.1-7_armel.deb ... Unpacking gettext-base (0.19.8.1-7) ... Selecting previously unselected package libsigsegv2:armel. Preparing to unpack .../07-libsigsegv2_2.12-2_armel.deb ... Unpacking libsigsegv2:armel (2.12-2) ... Selecting previously unselected package m4. Preparing to unpack .../08-m4_1.4.18-1_armel.deb ... Unpacking m4 (1.4.18-1) ... Selecting previously unselected package autoconf. Preparing to unpack .../09-autoconf_2.69-11_all.deb ... Unpacking autoconf (2.69-11) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../10-autotools-dev_20180224.1_all.deb ... Unpacking autotools-dev (20180224.1) ... Selecting previously unselected package automake. Preparing to unpack .../11-automake_1%3a1.16.1-1.1_all.deb ... Unpacking automake (1:1.16.1-1.1) ... Selecting previously unselected package autopoint. Preparing to unpack .../12-autopoint_0.19.8.1-7_all.deb ... Unpacking autopoint (0.19.8.1-7) ... Selecting previously unselected package openssl. Preparing to unpack .../13-openssl_1.1.1~~pre9-1_armel.deb ... Unpacking openssl (1.1.1~~pre9-1) ... Selecting previously unselected package ca-certificates. Preparing to unpack .../14-ca-certificates_20180409_all.deb ... Unpacking ca-certificates (20180409) ... Selecting previously unselected package libtool. Preparing to unpack .../15-libtool_2.4.6-3.1_all.deb ... Unpacking libtool (2.4.6-3.1) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../16-dh-autoreconf_19_all.deb ... Unpacking dh-autoreconf (19) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../17-libarchive-zip-perl_1.63-1_all.deb ... Unpacking libarchive-zip-perl (1.63-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../18-libfile-stripnondeterminism-perl_0.042-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (0.042-1) ... Selecting previously unselected package libtimedate-perl. Preparing to unpack .../19-libtimedate-perl_2.3000-2_all.deb ... Unpacking libtimedate-perl (2.3000-2) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../20-dh-strip-nondeterminism_0.042-1_all.deb ... Unpacking dh-strip-nondeterminism (0.042-1) ... Selecting previously unselected package libelf1:armel. Preparing to unpack .../21-libelf1_0.170-0.5_armel.deb ... Unpacking libelf1:armel (0.170-0.5) ... Selecting previously unselected package dwz. Preparing to unpack .../22-dwz_0.12-2_armel.deb ... Unpacking dwz (0.12-2) ... Selecting previously unselected package libglib2.0-0:armel. Preparing to unpack .../23-libglib2.0-0_2.58.0-3_armel.deb ... Unpacking libglib2.0-0:armel (2.58.0-3) ... Selecting previously unselected package libpng16-16:armel. Preparing to unpack .../24-libpng16-16_1.6.34-2_armel.deb ... Unpacking libpng16-16:armel (1.6.34-2) ... Selecting previously unselected package libfreetype6:armel. Preparing to unpack .../25-libfreetype6_2.8.1-2_armel.deb ... Unpacking libfreetype6:armel (2.8.1-2) ... Selecting previously unselected package libgraphite2-3:armel. Preparing to unpack .../26-libgraphite2-3_1.3.12-1_armel.deb ... Unpacking libgraphite2-3:armel (1.3.12-1) ... Selecting previously unselected package libharfbuzz0b:armel. Preparing to unpack .../27-libharfbuzz0b_1.8.8-2_armel.deb ... Unpacking libharfbuzz0b:armel (1.8.8-2) ... Selecting previously unselected package libicu-le-hb0:armel. Preparing to unpack .../28-libicu-le-hb0_1.0.3+git161113-5_armel.deb ... Unpacking libicu-le-hb0:armel (1.0.3+git161113-5) ... Selecting previously unselected package libicu60:armel. Preparing to unpack .../29-libicu60_60.2-6_armel.deb ... Unpacking libicu60:armel (60.2-6) ... Selecting previously unselected package libxml2:armel. Preparing to unpack .../30-libxml2_2.9.4+dfsg1-7+b1_armel.deb ... Unpacking libxml2:armel (2.9.4+dfsg1-7+b1) ... Selecting previously unselected package libcroco3:armel. Preparing to unpack .../31-libcroco3_0.6.12-2_armel.deb ... Unpacking libcroco3:armel (0.6.12-2) ... Selecting previously unselected package gettext. Preparing to unpack .../32-gettext_0.19.8.1-7_armel.deb ... Unpacking gettext (0.19.8.1-7) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../33-intltool-debian_0.35.0+20060710.4_all.deb ... Unpacking intltool-debian (0.35.0+20060710.4) ... Selecting previously unselected package po-debconf. Preparing to unpack .../34-po-debconf_1.0.20_all.deb ... Unpacking po-debconf (1.0.20) ... Selecting previously unselected package debhelper. Preparing to unpack .../35-debhelper_11.3.5_all.deb ... Unpacking debhelper (11.3.5) ... Selecting previously unselected package python3-lib2to3. Preparing to unpack .../36-python3-lib2to3_3.6.6-1_all.deb ... Unpacking python3-lib2to3 (3.6.6-1) ... Selecting previously unselected package python3-distutils. Preparing to unpack .../37-python3-distutils_3.6.6-1_all.deb ... Unpacking python3-distutils (3.6.6-1) ... Selecting previously unselected package dh-python. Preparing to unpack .../38-dh-python_3.20180723_all.deb ... Unpacking dh-python (3.20180723) ... Selecting previously unselected package libpython3.7-stdlib:armel. Preparing to unpack .../39-libpython3.7-stdlib_3.7.0-6_armel.deb ... Unpacking libpython3.7-stdlib:armel (3.7.0-6) ... Selecting previously unselected package python-all. Preparing to unpack .../40-python-all_2.7.15-3_armel.deb ... Unpacking python-all (2.7.15-3) ... Selecting previously unselected package python-appdirs. Preparing to unpack .../41-python-appdirs_1.4.3-1_all.deb ... Unpacking python-appdirs (1.4.3-1) ... Selecting previously unselected package python-atomicwrites. Preparing to unpack .../42-python-atomicwrites_1.1.5-2_all.deb ... Unpacking python-atomicwrites (1.1.5-2) ... Selecting previously unselected package python-attr. Preparing to unpack .../43-python-attr_17.4.0-2_all.deb ... Unpacking python-attr (17.4.0-2) ... Selecting previously unselected package python-certifi. Preparing to unpack .../44-python-certifi_2018.8.24-1_all.deb ... Unpacking python-certifi (2018.8.24-1) ... Selecting previously unselected package python-pkg-resources. Preparing to unpack .../45-python-pkg-resources_40.2.0-1_all.deb ... Unpacking python-pkg-resources (40.2.0-1) ... Selecting previously unselected package python-chardet. Preparing to unpack .../46-python-chardet_3.0.4-1_all.deb ... Unpacking python-chardet (3.0.4-1) ... Selecting previously unselected package python-funcsigs. Preparing to unpack .../47-python-funcsigs_1.0.2-4_all.deb ... Unpacking python-funcsigs (1.0.2-4) ... Selecting previously unselected package python-six. Preparing to unpack .../48-python-six_1.11.0-2_all.deb ... Unpacking python-six (1.11.0-2) ... Selecting previously unselected package python-urllib3. Preparing to unpack .../49-python-urllib3_1.22-1_all.deb ... Unpacking python-urllib3 (1.22-1) ... Selecting previously unselected package python-httpretty. Preparing to unpack .../50-python-httpretty_0.8.14-1_all.deb ... Unpacking python-httpretty (0.8.14-1) ... Selecting previously unselected package python-idna. Preparing to unpack .../51-python-idna_2.6-1_all.deb ... Unpacking python-idna (2.6-1) ... Selecting previously unselected package python-more-itertools. Preparing to unpack .../52-python-more-itertools_4.2.0-1_all.deb ... Unpacking python-more-itertools (4.2.0-1) ... Selecting previously unselected package python-pluggy. Preparing to unpack .../53-python-pluggy_0.6.0-1_all.deb ... Unpacking python-pluggy (0.6.0-1) ... Selecting previously unselected package python-py. Preparing to unpack .../54-python-py_1.6.0-1_all.deb ... Unpacking python-py (1.6.0-1) ... Selecting previously unselected package python-pytest. Preparing to unpack .../55-python-pytest_3.6.4-1_all.deb ... Unpacking python-pytest (3.6.4-1) ... Selecting previously unselected package python-requests. Preparing to unpack .../56-python-requests_2.18.4-2_all.deb ... Unpacking python-requests (2.18.4-2) ... Selecting previously unselected package python-setuptools. Preparing to unpack .../57-python-setuptools_40.2.0-1_all.deb ... Unpacking python-setuptools (40.2.0-1) ... Selecting previously unselected package python3.7. Preparing to unpack .../58-python3.7_3.7.0-6_armel.deb ... Unpacking python3.7 (3.7.0-6) ... Selecting previously unselected package python3-all. Preparing to unpack .../59-python3-all_3.6.6-1_armel.deb ... Unpacking python3-all (3.6.6-1) ... Selecting previously unselected package python3-appdirs. Preparing to unpack .../60-python3-appdirs_1.4.3-1_all.deb ... Unpacking python3-appdirs (1.4.3-1) ... Selecting previously unselected package python3-atomicwrites. Preparing to unpack .../61-python3-atomicwrites_1.1.5-2_all.deb ... Unpacking python3-atomicwrites (1.1.5-2) ... Selecting previously unselected package python3-attr. Preparing to unpack .../62-python3-attr_17.4.0-2_all.deb ... Unpacking python3-attr (17.4.0-2) ... Selecting previously unselected package python3-certifi. Preparing to unpack .../63-python3-certifi_2018.8.24-1_all.deb ... Unpacking python3-certifi (2018.8.24-1) ... Selecting previously unselected package python3-pkg-resources. Preparing to unpack .../64-python3-pkg-resources_40.2.0-1_all.deb ... Unpacking python3-pkg-resources (40.2.0-1) ... Selecting previously unselected package python3-chardet. Preparing to unpack .../65-python3-chardet_3.0.4-1_all.deb ... Unpacking python3-chardet (3.0.4-1) ... Selecting previously unselected package python3-six. Preparing to unpack .../66-python3-six_1.11.0-2_all.deb ... Unpacking python3-six (1.11.0-2) ... Selecting previously unselected package python3-urllib3. Preparing to unpack .../67-python3-urllib3_1.22-1_all.deb ... Unpacking python3-urllib3 (1.22-1) ... Selecting previously unselected package python3-httpretty. Preparing to unpack .../68-python3-httpretty_0.8.14-1_all.deb ... Unpacking python3-httpretty (0.8.14-1) ... Selecting previously unselected package python3-idna. Preparing to unpack .../69-python3-idna_2.6-1_all.deb ... Unpacking python3-idna (2.6-1) ... Selecting previously unselected package python3-more-itertools. Preparing to unpack .../70-python3-more-itertools_4.2.0-1_all.deb ... Unpacking python3-more-itertools (4.2.0-1) ... Selecting previously unselected package python3-pluggy. Preparing to unpack .../71-python3-pluggy_0.6.0-1_all.deb ... Unpacking python3-pluggy (0.6.0-1) ... Selecting previously unselected package python3-py. Preparing to unpack .../72-python3-py_1.6.0-1_all.deb ... Unpacking python3-py (1.6.0-1) ... Selecting previously unselected package python3-pytest. Preparing to unpack .../73-python3-pytest_3.6.4-1_all.deb ... Unpacking python3-pytest (3.6.4-1) ... Selecting previously unselected package python3-requests. Preparing to unpack .../74-python3-requests_2.18.4-2_all.deb ... Unpacking python3-requests (2.18.4-2) ... Selecting previously unselected package python3-setuptools. Preparing to unpack .../75-python3-setuptools_40.2.0-1_all.deb ... Unpacking python3-setuptools (40.2.0-1) ... Setting up readline-common (7.0-5) ... Setting up libarchive-zip-perl (1.63-1) ... Setting up mime-support (3.61) ... Setting up libpng16-16:armel (1.6.34-2) ... Setting up libtimedate-perl (2.3000-2) ... Setting up libsigsegv2:armel (2.12-2) ... Setting up libreadline7:armel (7.0-5) ... Setting up libelf1:armel (0.170-0.5) ... Setting up groff-base (1.22.3-10) ... Setting up libglib2.0-0:armel (2.58.0-3) ... No schema files found: doing nothing. Setting up gettext-base (0.19.8.1-7) ... Setting up libpipeline1:armel (1.5.0-1) ... Setting up m4 (1.4.18-1) ... Setting up libpython3.7-minimal:armel (3.7.0-6) ... Setting up python3.7-minimal (3.7.0-6) ... Setting up libbsd0:armel (0.9.1-1) ... Setting up libfreetype6:armel (2.8.1-2) ... Setting up libmagic-mgc (1:5.34-2) ... Setting up libmagic1:armel (1:5.34-2) ... Setting up libgraphite2-3:armel (1.3.12-1) ... Processing triggers for libc-bin (2.27-5) ... Setting up dwz (0.12-2) ... Setting up autotools-dev (20180224.1) ... Setting up openssl (1.1.1~~pre9-1) ... 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 ca-certificates (20180409) ... Updating certificates in /etc/ssl/certs... 133 added, 0 removed; done. Setting up libpython2.7-stdlib:armel (2.7.15-4) ... Setting up autopoint (0.19.8.1-7) ... Setting up libmpdec2:armel (2.4.2-2) ... Setting up libfile-stripnondeterminism-perl (0.042-1) ... Setting up libpython3.6-stdlib:armel (3.6.6-4) ... Setting up libpython3.7-stdlib:armel (3.7.0-6) ... Setting up python3.6 (3.6.6-4) ... Setting up python2.7 (2.7.15-4) ... Setting up libharfbuzz0b:armel (1.8.8-2) ... Setting up python3.7 (3.7.0-6) ... Setting up autoconf (2.69-11) ... Setting up file (1:5.34-2) ... Setting up automake (1:1.16.1-1.1) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up man-db (2.8.4-2) ... Building database of manual pages ... Setting up libpython2-stdlib:armel (2.7.15-3) ... Setting up libtool (2.4.6-3.1) ... Setting up libpython3-stdlib:armel (3.6.6-1) ... Setting up python3 (3.6.6-1) ... Setting up python3-idna (2.6-1) ... Setting up python3-six (1.11.0-2) ... Setting up python3-certifi (2018.8.24-1) ... Setting up python3-more-itertools (4.2.0-1) ... Setting up python3-appdirs (1.4.3-1) ... Setting up python3-pkg-resources (40.2.0-1) ... Setting up python3-pluggy (0.6.0-1) ... Setting up python2 (2.7.15-3) ... Setting up libpython-stdlib:armel (2.7.15-3) ... Setting up python3-chardet (3.0.4-1) ... Setting up python3-attr (17.4.0-2) ... Setting up python3-urllib3 (1.22-1) ... Setting up python3-lib2to3 (3.6.6-1) ... Setting up python3-distutils (3.6.6-1) ... Setting up python (2.7.15-3) ... Setting up python3-atomicwrites (1.1.5-2) ... Setting up python-idna (2.6-1) ... Setting up python-atomicwrites (1.1.5-2) ... Setting up python-attr (17.4.0-2) ... Setting up python3-py (1.6.0-1) ... Setting up python3-pytest (3.6.4-1) ... Setting up python-pluggy (0.6.0-1) ... Setting up python-certifi (2018.8.24-1) ... Setting up python-pkg-resources (40.2.0-1) ... Setting up python3-httpretty (0.8.14-1) ... Setting up python-six (1.11.0-2) ... Setting up python-appdirs (1.4.3-1) ... Setting up python3-requests (2.18.4-2) ... Setting up python-funcsigs (1.0.2-4) ... Setting up python3-setuptools (40.2.0-1) ... Setting up dh-python (3.20180723) ... Setting up python-all (2.7.15-3) ... Setting up python-setuptools (40.2.0-1) ... Setting up python-urllib3 (1.22-1) ... Setting up python-chardet (3.0.4-1) ... Setting up python-py (1.6.0-1) ... Setting up python-httpretty (0.8.14-1) ... Setting up python-more-itertools (4.2.0-1) ... Setting up python-pytest (3.6.4-1) ... Setting up python3-all (3.6.6-1) ... Setting up python-requests (2.18.4-2) ... Setting up libicu-le-hb0:armel (1.0.3+git161113-5) ... Setting up libicu60:armel (60.2-6) ... Setting up libxml2:armel (2.9.4+dfsg1-7+b1) ... Setting up libcroco3:armel (0.6.12-2) ... Setting up gettext (0.19.8.1-7) ... Setting up intltool-debian (0.35.0+20060710.4) ... Setting up po-debconf (1.0.20) ... Setting up debhelper (11.3.5) ... Setting up dh-autoreconf (19) ... Setting up dh-strip-nondeterminism (0.042-1) ... Processing triggers for ca-certificates (20180409) ... Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d... done. Processing triggers for libc-bin (2.27-5) ... 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... The following additional packages will be installed: libfakeroot The following NEW packages will be installed: fakeroot libfakeroot debconf: delaying package configuration, since apt-utils is not installed 0 upgraded, 2 newly installed, 0 to remove and 40 not upgraded. Need to get 0 B/129 kB of archives. After this operation, 348 kB of additional disk space will be used. Selecting previously unselected package libfakeroot:armel. (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 ... 17686 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.23-1_armel.deb ... Unpacking libfakeroot:armel (1.23-1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.23-1_armel.deb ... Unpacking fakeroot (1.23-1) ... Processing triggers for libc-bin (2.27-5) ... Setting up libfakeroot:armel (1.23-1) ... Processing triggers for man-db (2.8.4-2) ... Setting up fakeroot (1.23-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.27-5) ... I: Copying back the cached apt archive contents I: Building the package I: Running cd /build/python-smstrade-0.2.4/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin" HOME="/nonexistent" dpkg-buildpackage -us -uc -rfakeroot dpkg-buildpackage: info: source package python-smstrade dpkg-buildpackage: info: source version 0.2.4-5 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Jan Dittberner dpkg-source --before-build python-smstrade-0.2.4 dpkg-buildpackage: info: host architecture armel fakeroot debian/rules clean dh clean --with=python2,python3 --buildsystem=pybuild dh_auto_clean -O--buildsystem=pybuild I: pybuild base:217: python2.7 setup.py clean running clean removing '/build/python-smstrade-0.2.4/.pybuild/cpython2_2.7_smstrade/build' (and everything under it) 'build/bdist.linux-armel' does not exist -- can't clean it 'build/scripts-2.7' does not exist -- can't clean it I: pybuild base:217: python3.7 setup.py clean running clean removing '/build/python-smstrade-0.2.4/.pybuild/cpython3_3.7_smstrade/build' (and everything under it) 'build/bdist.linux-armel' does not exist -- can't clean it 'build/scripts-3.7' does not exist -- can't clean it I: pybuild base:217: python3.6 setup.py clean running clean removing '/build/python-smstrade-0.2.4/.pybuild/cpython3_3.6_smstrade/build' (and everything under it) 'build/bdist.linux-armel' does not exist -- can't clean it 'build/scripts-3.6' does not exist -- can't clean it dh_clean -O--buildsystem=pybuild dpkg-source -b python-smstrade-0.2.4 dpkg-source: info: using source format '3.0 (quilt)' dpkg-source: info: building python-smstrade using existing ./python-smstrade_0.2.4.orig.tar.gz dpkg-source: info: building python-smstrade in python-smstrade_0.2.4-5.debian.tar.xz dpkg-source: info: building python-smstrade in python-smstrade_0.2.4-5.dsc debian/rules build dh build --with=python2,python3 --buildsystem=pybuild dh_update_autotools_config -O--buildsystem=pybuild dh_auto_configure -O--buildsystem=pybuild I: pybuild base:217: python2.7 setup.py config running config I: pybuild base:217: python3.7 setup.py config running config I: pybuild base:217: python3.6 setup.py config running config dh_auto_build -O--buildsystem=pybuild I: pybuild base:217: /usr/bin/python setup.py build running build running build_py creating /build/python-smstrade-0.2.4/.pybuild/cpython2_2.7_smstrade/build/smstrade copying smstrade/_version.py -> /build/python-smstrade-0.2.4/.pybuild/cpython2_2.7_smstrade/build/smstrade copying smstrade/__init__.py -> /build/python-smstrade-0.2.4/.pybuild/cpython2_2.7_smstrade/build/smstrade I: pybuild base:217: /usr/bin/python3.7 setup.py build running build running build_py creating /build/python-smstrade-0.2.4/.pybuild/cpython3_3.7_smstrade/build/smstrade copying smstrade/_version.py -> /build/python-smstrade-0.2.4/.pybuild/cpython3_3.7_smstrade/build/smstrade copying smstrade/__init__.py -> /build/python-smstrade-0.2.4/.pybuild/cpython3_3.7_smstrade/build/smstrade I: pybuild base:217: /usr/bin/python3 setup.py build running build running build_py creating /build/python-smstrade-0.2.4/.pybuild/cpython3_3.6_smstrade/build/smstrade copying smstrade/_version.py -> /build/python-smstrade-0.2.4/.pybuild/cpython3_3.6_smstrade/build/smstrade copying smstrade/__init__.py -> /build/python-smstrade-0.2.4/.pybuild/cpython3_3.6_smstrade/build/smstrade debian/rules override_dh_auto_test make[1]: Entering directory '/build/python-smstrade-0.2.4' dh_auto_test -- --system=custom I: pybuild pybuild:269: cp -r /build/python-smstrade-0.2.4/tests /build/python-smstrade-0.2.4/.pybuild/cpython2_2.7_smstrade/build I: pybuild base:217: unset http_proxy ; unset https_proxy ; cd /build/python-smstrade-0.2.4/.pybuild/cpython2_2.7_smstrade/build ; python2.7 -m pytest ============================= test session starts ============================== platform linux2 -- Python 2.7.15+, pytest-3.6.4, py-1.6.0, pluggy-0.6.0 rootdir: /build/python-smstrade-0.2.4, inifile: collected 22 items tests/test_smstrade.py ...................... [100%] ========================== 22 passed in 0.75 seconds =========================== I: pybuild pybuild:295: rm -rf /build/python-smstrade-0.2.4/.pybuild/cpython2_2.7_smstrade/build/tests I: pybuild pybuild:269: cp -r /build/python-smstrade-0.2.4/tests /build/python-smstrade-0.2.4/.pybuild/cpython3_3.7_smstrade/build I: pybuild base:217: unset http_proxy ; unset https_proxy ; cd /build/python-smstrade-0.2.4/.pybuild/cpython3_3.7_smstrade/build ; python3.7 -m pytest ============================= test session starts ============================== platform linux -- Python 3.7.0+, pytest-3.6.4, py-1.6.0, pluggy-0.6.0 rootdir: /build/python-smstrade-0.2.4, inifile: collected 22 items tests/test_smstrade.py .............FFFF...FF [100%] =================================== FAILURES =================================== __________________ TestSMSTradeAPI.test__send_normal_message ___________________ self = api = def test__send_normal_message(self, api): httpretty.enable() httpretty.register_uri(httpretty.POST, api.url, body='100') > assert api._send_message('01717654321', 'Test') == { 'status': smstrade.STATUS_OK} /build/python-smstrade-0.2.4/.pybuild/cpython3_3.7_smstrade/build/tests/test_smstrade.py:202: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /build/python-smstrade-0.2.4/.pybuild/cpython3_3.7_smstrade/build/smstrade/__init__.py:374: in _send_message return self._send_normal_message(recipient, text) /build/python-smstrade-0.2.4/.pybuild/cpython3_3.7_smstrade/build/smstrade/__init__.py:304: in _send_normal_message response = requests.post(self.url, data=request_params) /usr/lib/python3/dist-packages/requests/api.py:112: in post return request('post', url, data=data, json=json, **kwargs) /usr/lib/python3/dist-packages/requests/api.py:58: in request return session.request(method=method, url=url, **kwargs) /usr/lib/python3/dist-packages/requests/sessions.py:508: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3/dist-packages/requests/sessions.py:618: in send r = adapter.send(request, **kwargs) /usr/lib/python3/dist-packages/requests/adapters.py:440: in send timeout=timeout /usr/lib/python3/dist-packages/urllib3/connectionpool.py:601: in urlopen chunked=chunked) /usr/lib/python3/dist-packages/urllib3/connectionpool.py:346: in _make_request self._validate_conn(conn) /usr/lib/python3/dist-packages/urllib3/connectionpool.py:852: in _validate_conn conn.connect() /usr/lib/python3/dist-packages/urllib3/connection.py:326: in connect ssl_context=context) /usr/lib/python3/dist-packages/urllib3/util/ssl_.py:329: in ssl_wrap_socket return context.wrap_socket(sock, server_hostname=server_hostname) /usr/lib/python3.7/ssl.py:412: in wrap_socket session=session _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = sock = server_side = False, do_handshake_on_connect = True, suppress_ragged_eofs = True server_hostname = 'gateway.smstrade.de' context = , session = None @classmethod def _create(cls, sock, server_side=False, do_handshake_on_connect=True, suppress_ragged_eofs=True, server_hostname=None, context=None, session=None): if sock.getsockopt(SOL_SOCKET, SO_TYPE) != SOCK_STREAM: raise NotImplementedError("only stream sockets are supported") if server_side: if server_hostname: raise ValueError("server_hostname can only be specified " "in client mode") if session is not None: raise ValueError("session can only be specified in " "client mode") if context.check_hostname and not server_hostname: raise ValueError("check_hostname requires server_hostname") kwargs = dict( family=sock.family, type=sock.type, proto=sock.proto, fileno=sock.fileno() ) self = cls.__new__(cls, **kwargs) > super(SSLSocket, self).__init__(**kwargs) E TypeError: super(type, obj): obj must be an instance or subtype of type /usr/lib/python3.7/ssl.py:814: TypeError __________________ TestSMSTradeAPI.test__send_binary_message ___________________ self = api = def test__send_binary_message(self, api): httpretty.enable() httpretty.register_uri(httpretty.POST, api.url, body='100') api.messagetype = smstrade.MESSAGE_TYPE_BINARY api.udh = '040b02000820de' > assert api._send_message('01717654321', u'48656c6c6f') == { 'status': smstrade.STATUS_OK} /build/python-smstrade-0.2.4/.pybuild/cpython3_3.7_smstrade/build/tests/test_smstrade.py:217: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /build/python-smstrade-0.2.4/.pybuild/cpython3_3.7_smstrade/build/smstrade/__init__.py:378: in _send_message return self._send_binary_message(recipient, text) /build/python-smstrade-0.2.4/.pybuild/cpython3_3.7_smstrade/build/smstrade/__init__.py:340: in _send_binary_message response = requests.post(self.url, data=request_params) /usr/lib/python3/dist-packages/requests/api.py:112: in post return request('post', url, data=data, json=json, **kwargs) /usr/lib/python3/dist-packages/requests/api.py:58: in request return session.request(method=method, url=url, **kwargs) /usr/lib/python3/dist-packages/requests/sessions.py:508: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3/dist-packages/requests/sessions.py:618: in send r = adapter.send(request, **kwargs) /usr/lib/python3/dist-packages/requests/adapters.py:440: in send timeout=timeout /usr/lib/python3/dist-packages/urllib3/connectionpool.py:601: in urlopen chunked=chunked) /usr/lib/python3/dist-packages/urllib3/connectionpool.py:346: in _make_request self._validate_conn(conn) /usr/lib/python3/dist-packages/urllib3/connectionpool.py:852: in _validate_conn conn.connect() /usr/lib/python3/dist-packages/urllib3/connection.py:326: in connect ssl_context=context) /usr/lib/python3/dist-packages/urllib3/util/ssl_.py:329: in ssl_wrap_socket return context.wrap_socket(sock, server_hostname=server_hostname) /usr/lib/python3.7/ssl.py:412: in wrap_socket session=session _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = sock = server_side = False, do_handshake_on_connect = True, suppress_ragged_eofs = True server_hostname = 'gateway.smstrade.de' context = , session = None @classmethod def _create(cls, sock, server_side=False, do_handshake_on_connect=True, suppress_ragged_eofs=True, server_hostname=None, context=None, session=None): if sock.getsockopt(SOL_SOCKET, SO_TYPE) != SOCK_STREAM: raise NotImplementedError("only stream sockets are supported") if server_side: if server_hostname: raise ValueError("server_hostname can only be specified " "in client mode") if session is not None: raise ValueError("session can only be specified in " "client mode") if context.check_hostname and not server_hostname: raise ValueError("check_hostname requires server_hostname") kwargs = dict( family=sock.family, type=sock.type, proto=sock.proto, fileno=sock.fileno() ) self = cls.__new__(cls, **kwargs) > super(SSLSocket, self).__init__(**kwargs) E TypeError: super(type, obj): obj must be an instance or subtype of type /usr/lib/python3.7/ssl.py:814: TypeError ______________________ TestSMSTradeAPI.test__send_message ______________________ self = api = def test__send_message(self, api): httpretty.enable() httpretty.register_uri(httpretty.POST, api.url, body='100') > assert api._send_message('01717654321', u'Test') == { 'status': smstrade.STATUS_OK} /build/python-smstrade-0.2.4/.pybuild/cpython3_3.7_smstrade/build/tests/test_smstrade.py:223: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /build/python-smstrade-0.2.4/.pybuild/cpython3_3.7_smstrade/build/smstrade/__init__.py:374: in _send_message return self._send_normal_message(recipient, text) /build/python-smstrade-0.2.4/.pybuild/cpython3_3.7_smstrade/build/smstrade/__init__.py:304: in _send_normal_message response = requests.post(self.url, data=request_params) /usr/lib/python3/dist-packages/requests/api.py:112: in post return request('post', url, data=data, json=json, **kwargs) /usr/lib/python3/dist-packages/requests/api.py:58: in request return session.request(method=method, url=url, **kwargs) /usr/lib/python3/dist-packages/requests/sessions.py:508: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3/dist-packages/requests/sessions.py:618: in send r = adapter.send(request, **kwargs) /usr/lib/python3/dist-packages/requests/adapters.py:440: in send timeout=timeout /usr/lib/python3/dist-packages/urllib3/connectionpool.py:601: in urlopen chunked=chunked) /usr/lib/python3/dist-packages/urllib3/connectionpool.py:346: in _make_request self._validate_conn(conn) /usr/lib/python3/dist-packages/urllib3/connectionpool.py:852: in _validate_conn conn.connect() /usr/lib/python3/dist-packages/urllib3/connection.py:326: in connect ssl_context=context) /usr/lib/python3/dist-packages/urllib3/util/ssl_.py:329: in ssl_wrap_socket return context.wrap_socket(sock, server_hostname=server_hostname) /usr/lib/python3.7/ssl.py:412: in wrap_socket session=session _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = sock = server_side = False, do_handshake_on_connect = True, suppress_ragged_eofs = True server_hostname = 'gateway.smstrade.de' context = , session = None @classmethod def _create(cls, sock, server_side=False, do_handshake_on_connect=True, suppress_ragged_eofs=True, server_hostname=None, context=None, session=None): if sock.getsockopt(SOL_SOCKET, SO_TYPE) != SOCK_STREAM: raise NotImplementedError("only stream sockets are supported") if server_side: if server_hostname: raise ValueError("server_hostname can only be specified " "in client mode") if session is not None: raise ValueError("session can only be specified in " "client mode") if context.check_hostname and not server_hostname: raise ValueError("check_hostname requires server_hostname") kwargs = dict( family=sock.family, type=sock.type, proto=sock.proto, fileno=sock.fileno() ) self = cls.__new__(cls, **kwargs) > super(SSLSocket, self).__init__(**kwargs) E TypeError: super(type, obj): obj must be an instance or subtype of type /usr/lib/python3.7/ssl.py:814: TypeError ________________________ TestSMSTradeAPI.test_send_sms _________________________ self = api = def test_send_sms(self, api): httpretty.enable() httpretty.register_uri(httpretty.POST, api.url, body='100') testargs = {'wrong': 'does not matter', 'from': 'test'} > result = api.send_sms(['00491717654321'], 'Test', **testargs) /build/python-smstrade-0.2.4/.pybuild/cpython3_3.7_smstrade/build/tests/test_smstrade.py:241: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /build/python-smstrade-0.2.4/.pybuild/cpython3_3.7_smstrade/build/smstrade/__init__.py:499: in send_sms retval[recipient] = self._send_message(recipient, text) /build/python-smstrade-0.2.4/.pybuild/cpython3_3.7_smstrade/build/smstrade/__init__.py:374: in _send_message return self._send_normal_message(recipient, text) /build/python-smstrade-0.2.4/.pybuild/cpython3_3.7_smstrade/build/smstrade/__init__.py:304: in _send_normal_message response = requests.post(self.url, data=request_params) /usr/lib/python3/dist-packages/requests/api.py:112: in post return request('post', url, data=data, json=json, **kwargs) /usr/lib/python3/dist-packages/requests/api.py:58: in request return session.request(method=method, url=url, **kwargs) /usr/lib/python3/dist-packages/requests/sessions.py:508: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3/dist-packages/requests/sessions.py:618: in send r = adapter.send(request, **kwargs) /usr/lib/python3/dist-packages/requests/adapters.py:440: in send timeout=timeout /usr/lib/python3/dist-packages/urllib3/connectionpool.py:601: in urlopen chunked=chunked) /usr/lib/python3/dist-packages/urllib3/connectionpool.py:346: in _make_request self._validate_conn(conn) /usr/lib/python3/dist-packages/urllib3/connectionpool.py:852: in _validate_conn conn.connect() /usr/lib/python3/dist-packages/urllib3/connection.py:326: in connect ssl_context=context) /usr/lib/python3/dist-packages/urllib3/util/ssl_.py:329: in ssl_wrap_socket return context.wrap_socket(sock, server_hostname=server_hostname) /usr/lib/python3.7/ssl.py:412: in wrap_socket session=session _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = sock = server_side = False, do_handshake_on_connect = True, suppress_ragged_eofs = True server_hostname = 'gateway.smstrade.de' context = , session = None @classmethod def _create(cls, sock, server_side=False, do_handshake_on_connect=True, suppress_ragged_eofs=True, server_hostname=None, context=None, session=None): if sock.getsockopt(SOL_SOCKET, SO_TYPE) != SOCK_STREAM: raise NotImplementedError("only stream sockets are supported") if server_side: if server_hostname: raise ValueError("server_hostname can only be specified " "in client mode") if session is not None: raise ValueError("session can only be specified in " "client mode") if context.check_hostname and not server_hostname: raise ValueError("check_hostname requires server_hostname") kwargs = dict( family=sock.family, type=sock.type, proto=sock.proto, fileno=sock.fileno() ) self = cls.__new__(cls, **kwargs) > super(SSLSocket, self).__init__(**kwargs) E TypeError: super(type, obj): obj must be an instance or subtype of type /usr/lib/python3.7/ssl.py:814: TypeError ________________________________ test_send_sms _________________________________ @pytest.mark.usefixtures('cleandir') def test_send_sms(): httpretty.enable() httpretty.register_uri(httpretty.POST, smstrade.DEFAULTS['url'], body='100') with pytest.raises(SystemExit): smstrade.send_sms([]) > smstrade.send_sms(['00491717654321', 'Test']) /build/python-smstrade-0.2.4/.pybuild/cpython3_3.7_smstrade/build/tests/test_smstrade.py:276: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /build/python-smstrade-0.2.4/.pybuild/cpython3_3.7_smstrade/build/smstrade/__init__.py:680: in send_sms retval = smstrade.send_sms(to, smstext, **args.__dict__) /build/python-smstrade-0.2.4/.pybuild/cpython3_3.7_smstrade/build/smstrade/__init__.py:499: in send_sms retval[recipient] = self._send_message(recipient, text) /build/python-smstrade-0.2.4/.pybuild/cpython3_3.7_smstrade/build/smstrade/__init__.py:374: in _send_message return self._send_normal_message(recipient, text) /build/python-smstrade-0.2.4/.pybuild/cpython3_3.7_smstrade/build/smstrade/__init__.py:304: in _send_normal_message response = requests.post(self.url, data=request_params) /usr/lib/python3/dist-packages/requests/api.py:112: in post return request('post', url, data=data, json=json, **kwargs) /usr/lib/python3/dist-packages/requests/api.py:58: in request return session.request(method=method, url=url, **kwargs) /usr/lib/python3/dist-packages/requests/sessions.py:508: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3/dist-packages/requests/sessions.py:618: in send r = adapter.send(request, **kwargs) /usr/lib/python3/dist-packages/requests/adapters.py:440: in send timeout=timeout /usr/lib/python3/dist-packages/urllib3/connectionpool.py:601: in urlopen chunked=chunked) /usr/lib/python3/dist-packages/urllib3/connectionpool.py:346: in _make_request self._validate_conn(conn) /usr/lib/python3/dist-packages/urllib3/connectionpool.py:852: in _validate_conn conn.connect() /usr/lib/python3/dist-packages/urllib3/connection.py:326: in connect ssl_context=context) /usr/lib/python3/dist-packages/urllib3/util/ssl_.py:329: in ssl_wrap_socket return context.wrap_socket(sock, server_hostname=server_hostname) /usr/lib/python3.7/ssl.py:412: in wrap_socket session=session _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = sock = server_side = False, do_handshake_on_connect = True, suppress_ragged_eofs = True server_hostname = 'gateway.smstrade.de' context = , session = None @classmethod def _create(cls, sock, server_side=False, do_handshake_on_connect=True, suppress_ragged_eofs=True, server_hostname=None, context=None, session=None): if sock.getsockopt(SOL_SOCKET, SO_TYPE) != SOCK_STREAM: raise NotImplementedError("only stream sockets are supported") if server_side: if server_hostname: raise ValueError("server_hostname can only be specified " "in client mode") if session is not None: raise ValueError("session can only be specified in " "client mode") if context.check_hostname and not server_hostname: raise ValueError("check_hostname requires server_hostname") kwargs = dict( family=sock.family, type=sock.type, proto=sock.proto, fileno=sock.fileno() ) self = cls.__new__(cls, **kwargs) > super(SSLSocket, self).__init__(**kwargs) E TypeError: super(type, obj): obj must be an instance or subtype of type /usr/lib/python3.7/ssl.py:814: TypeError ----------------------------- Captured stderr call ----------------------------- usage: pytest.py [-h] [-c CONFIG] [-s SECTION] [-k KEY] [-f SENDER] [-r {basic,gold,direct}] [-d] [--cost] [-m] [--count] [--dlr] [--response] [--ref REFERENCE] [-l] [--charset {UTF-8,ISO-8859-1,ISO-8859-15}] [--senddate SENDDATE] [--messagetype {flash,unicode,binary,voice}] [--udh UDH] [--version] to [to ...] smstext pytest.py: error: the following arguments are required: to, smstext WARNING:smstrade:none of the configuration files (/etc/xdg/smstrade/smstrade.ini, /nonexistent/.config/smstrade/smstrade.ini, smstrade.ini) found, trying to continue with default values and command line arguments WARNING:smstrade:configuration is incomplete: No option 'key' in section: 'smstrade' WARNING:smstrade:configuration is incomplete: No option 'from' in section: 'smstrade' ------------------------------ Captured log call ------------------------------- __init__.py 146 WARNING none of the configuration files (/etc/xdg/smstrade/smstrade.ini, /nonexistent/.config/smstrade/smstrade.ini, smstrade.ini) found, trying to continue with default values and command line arguments __init__.py 153 WARNING configuration is incomplete: No option 'key' in section: 'smstrade' __init__.py 215 WARNING configuration is incomplete: No option 'from' in section: 'smstrade' _____________________________ test_account_balance _____________________________ @pytest.mark.usefixtures('cleandir') def test_account_balance(): httpretty.enable() httpretty.register_uri( httpretty.GET, smstrade.DEFAULTS['balanceurl'], body='0.000') smstrade.account_balance([]) > smstrade.account_balance(['--key', 'fake']) /build/python-smstrade-0.2.4/.pybuild/cpython3_3.7_smstrade/build/tests/test_smstrade.py:289: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /build/python-smstrade-0.2.4/.pybuild/cpython3_3.7_smstrade/build/smstrade/__init__.py:722: in account_balance balance = smstradebalance.get_balance(**args.__dict__) /build/python-smstrade-0.2.4/.pybuild/cpython3_3.7_smstrade/build/smstrade/__init__.py:544: in get_balance response = requests.get(self.url, params={'key': self.key}) /usr/lib/python3/dist-packages/requests/api.py:72: in get return request('get', url, params=params, **kwargs) /usr/lib/python3/dist-packages/requests/api.py:58: in request return session.request(method=method, url=url, **kwargs) /usr/lib/python3/dist-packages/requests/sessions.py:508: in request resp = self.send(prep, **send_kwargs) /usr/lib/python3/dist-packages/requests/sessions.py:618: in send r = adapter.send(request, **kwargs) /usr/lib/python3/dist-packages/requests/adapters.py:440: in send timeout=timeout /usr/lib/python3/dist-packages/urllib3/connectionpool.py:601: in urlopen chunked=chunked) /usr/lib/python3/dist-packages/urllib3/connectionpool.py:346: in _make_request self._validate_conn(conn) /usr/lib/python3/dist-packages/urllib3/connectionpool.py:852: in _validate_conn conn.connect() /usr/lib/python3/dist-packages/urllib3/connection.py:326: in connect ssl_context=context) /usr/lib/python3/dist-packages/urllib3/util/ssl_.py:329: in ssl_wrap_socket return context.wrap_socket(sock, server_hostname=server_hostname) /usr/lib/python3.7/ssl.py:412: in wrap_socket session=session _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = sock = server_side = False, do_handshake_on_connect = True, suppress_ragged_eofs = True server_hostname = 'gateway.smstrade.de' context = , session = None @classmethod def _create(cls, sock, server_side=False, do_handshake_on_connect=True, suppress_ragged_eofs=True, server_hostname=None, context=None, session=None): if sock.getsockopt(SOL_SOCKET, SO_TYPE) != SOCK_STREAM: raise NotImplementedError("only stream sockets are supported") if server_side: if server_hostname: raise ValueError("server_hostname can only be specified " "in client mode") if session is not None: raise ValueError("session can only be specified in " "client mode") if context.check_hostname and not server_hostname: raise ValueError("check_hostname requires server_hostname") kwargs = dict( family=sock.family, type=sock.type, proto=sock.proto, fileno=sock.fileno() ) self = cls.__new__(cls, **kwargs) > super(SSLSocket, self).__init__(**kwargs) E TypeError: super(type, obj): obj must be an instance or subtype of type /usr/lib/python3.7/ssl.py:814: TypeError ----------------------------- Captured stderr call ----------------------------- WARNING:smstrade:none of the configuration files (/etc/xdg/smstrade/smstrade.ini, /nonexistent/.config/smstrade/smstrade.ini, smstrade.ini) found, trying to continue with default values and command line arguments WARNING:smstrade:configuration is incomplete: No option 'key' in section: 'smstrade' ERROR:smstrade:you need to define an API key either in a configuration file or on the command line WARNING:smstrade:none of the configuration files (/etc/xdg/smstrade/smstrade.ini, /nonexistent/.config/smstrade/smstrade.ini, smstrade.ini) found, trying to continue with default values and command line arguments WARNING:smstrade:configuration is incomplete: No option 'key' in section: 'smstrade' ------------------------------ Captured log call ------------------------------- __init__.py 146 WARNING none of the configuration files (/etc/xdg/smstrade/smstrade.ini, /nonexistent/.config/smstrade/smstrade.ini, smstrade.ini) found, trying to continue with default values and command line arguments __init__.py 153 WARNING configuration is incomplete: No option 'key' in section: 'smstrade' __init__.py 725 ERROR you need to define an API key either in a configuration file or on the command line __init__.py 146 WARNING none of the configuration files (/etc/xdg/smstrade/smstrade.ini, /nonexistent/.config/smstrade/smstrade.ini, smstrade.ini) found, trying to continue with default values and command line arguments __init__.py 153 WARNING configuration is incomplete: No option 'key' in section: 'smstrade' ===================== 6 failed, 16 passed in 2.35 seconds ====================== E: pybuild pybuild:338: test: plugin custom failed with: exit code=1: unset http_proxy ; unset https_proxy ; cd /build/python-smstrade-0.2.4/.pybuild/cpython3_3.7_smstrade/build ; python3.7 -m pytest dh_auto_test: pybuild --test --test-pytest -i python{version} -p "3.7 3.6" --system=custom returned exit code 13 make[1]: *** [debian/rules:17: override_dh_auto_test] Error 25 make[1]: Leaving directory '/build/python-smstrade-0.2.4' make: *** [debian/rules:20: build] Error 2 dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 I: Terminate timeout process I: copying local configuration /usr/lib/pbuilder/pbuilder-modules: line 1: 31383 Terminated ( : Timeout process; sleep "${TIMEOUT_TIME}"; log.i "Terminating build process due to timeout "; kill "${BUILD_PID}" || true ) E: Failed autobuilding of package I: user script /chroot/rebuildd/pbuilder/17476/tmp/hooks/C01kill-gpg-agent starting Found other processes running as uid 1234, killing them: 31636 /tmp/hooks/C01kill-gpg-agent: 22: kill: No such process I: user script /chroot/rebuildd/pbuilder/17476/tmp/hooks/C01kill-gpg-agent finished I: unmounting /sys filesystem I: unmounting /proc filesystem I: unmounting /dev/pts filesystem I: unmounting /dev filesystem 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 /chroot/rebuildd/pbuilder/17476 and its subdirectories FAILED to build: 1