Diff of the two buildlogs: -- --- b1/build.log 2021-07-18 04:44:21.231290727 +0000 +++ b2/build.log 2021-07-18 04:48:56.576960411 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Jul 17 16:39:44 -12 2021 -I: pbuilder-time-stamp: 1626583184 +I: Current time: Sun Aug 21 01:07:27 +14 2022 +I: pbuilder-time-stamp: 1660993647 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -16,8 +16,8 @@ I: copying [./mitmproxy_6.0.2-1.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.3izlxLs4/trustedkeys.kbx': General error -gpgv: Signature made Wed Jan 6 03:38:02 2021 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.f5RkWyxK/trustedkeys.kbx': General error +gpgv: Signature made Thu Jan 7 05:38:02 2021 +14 gpgv: using RSA key 7AE4BD64BF00D23B3434688E5E408CD91CD839D2 gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./mitmproxy_6.0.2-1.dsc @@ -34,135 +34,169 @@ dpkg-source: info: applying 0007-revert-use-OpenSSLs-keylog-callback.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/13081/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/8557/tmp/hooks/D01_modify_environment starting +debug: Running on codethink13-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/8557/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/8557/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='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="1" [2]="4" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.1.4(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=8' - DISTRIBUTION='' - HOME='/var/lib/jenkins' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/var/lib/jenkins + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - 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='13081' - PS1='# ' - PS2='> ' + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=8557 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.cAGuvKQfFz/pbuilderrc_KIWx --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.cAGuvKQfFz/b1 --logfile b1/build.log mitmproxy_6.0.2-1.dsc' - SUDO_GID='117' - SUDO_UID='110' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - USERNAME='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.16:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.cAGuvKQfFz/pbuilderrc_TpJt --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.cAGuvKQfFz/b2 --logfile b2/build.log --extrapackages usrmerge mitmproxy_6.0.2-1.dsc' + SUDO_GID=117 + SUDO_UID=110 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + USERNAME=root + _='I: set' + http_proxy=http://192.168.101.16:3128 I: uname -a - Linux codethink12-arm64 4.15.0-147-generic #151-Ubuntu SMP Fri Jun 18 19:18:37 UTC 2021 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-147-generic #151-Ubuntu SMP Fri Jun 18 19:18:37 UTC 2021 aarch64 GNU/Linux I: ls -l /bin total 5252 - -rwxr-xr-x 1 root root 1282512 Jun 21 14:26 bash - -rwxr-xr-x 3 root root 34808 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 34808 Jul 20 2020 bzcat - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Jul 20 2020 bzdiff - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Sep 4 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Jul 20 2020 bzgrep - -rwxr-xr-x 3 root root 34808 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 14264 Jul 20 2020 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 20 2020 bzmore - -rwxr-xr-x 1 root root 39832 Sep 22 2020 cat - -rwxr-xr-x 1 root root 64512 Sep 22 2020 chgrp - -rwxr-xr-x 1 root root 60368 Sep 22 2020 chmod - -rwxr-xr-x 1 root root 64528 Sep 22 2020 chown - -rwxr-xr-x 1 root root 138896 Sep 22 2020 cp - -rwxr-xr-x 1 root root 129544 Dec 10 2020 dash - -rwxr-xr-x 1 root root 101384 Sep 22 2020 date - -rwxr-xr-x 1 root root 80984 Sep 22 2020 dd - -rwxr-xr-x 1 root root 89824 Sep 22 2020 df - -rwxr-xr-x 1 root root 143088 Sep 22 2020 dir - -rwxr-xr-x 1 root root 76152 Feb 7 02:38 dmesg - lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname - -rwxr-xr-x 1 root root 35632 Sep 22 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 31512 Sep 22 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 64856 Feb 7 02:38 findmnt - -rwsr-xr-x 1 root root 34824 Feb 26 04:12 fusermount - -rwxr-xr-x 1 root root 178400 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 11:30 gzexe - -rwxr-xr-x 1 root root 93744 Mar 2 11:30 gzip - -rwxr-xr-x 1 root root 18440 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 68720 Sep 22 2020 ln - -rwxr-xr-x 1 root root 52720 Feb 7 2020 login - -rwxr-xr-x 1 root root 143088 Sep 22 2020 ls - -rwxr-xr-x 1 root root 161960 Feb 7 02:38 lsblk - -rwxr-xr-x 1 root root 85200 Sep 22 2020 mkdir - -rwxr-xr-x 1 root root 68744 Sep 22 2020 mknod - -rwxr-xr-x 1 root root 43976 Sep 22 2020 mktemp - -rwxr-xr-x 1 root root 51368 Feb 7 02:38 more - -rwsr-xr-x 1 root root 51360 Feb 7 02:38 mount - -rwxr-xr-x 1 root root 14496 Feb 7 02:38 mountpoint - -rwxr-xr-x 1 root root 134808 Sep 22 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 18 03:38 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 35720 Sep 22 2020 pwd - lrwxrwxrwx 1 root root 4 Jun 21 14:26 rbash -> bash - -rwxr-xr-x 1 root root 43872 Sep 22 2020 readlink - -rwxr-xr-x 1 root root 68592 Sep 22 2020 rm - -rwxr-xr-x 1 root root 43880 Sep 22 2020 rmdir - -rwxr-xr-x 1 root root 19208 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 114016 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Jul 16 21:25 sh -> dash - -rwxr-xr-x 1 root root 35656 Sep 22 2020 sleep - -rwxr-xr-x 1 root root 72640 Sep 22 2020 stty - -rwsr-xr-x 1 root root 67776 Feb 7 02:38 su - -rwxr-xr-x 1 root root 35672 Sep 22 2020 sync - -rwxr-xr-x 1 root root 535768 Feb 16 21:55 tar - -rwxr-xr-x 1 root root 10568 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 89120 Sep 22 2020 touch - -rwxr-xr-x 1 root root 31512 Sep 22 2020 true - -rwxr-xr-x 1 root root 14264 Feb 26 04:12 ulockmgr_server - -rwsr-xr-x 1 root root 30880 Feb 7 02:38 umount - -rwxr-xr-x 1 root root 35640 Sep 22 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 uncompress - -rwxr-xr-x 1 root root 143088 Sep 22 2020 vdir - -rwxr-xr-x 1 root root 59584 Feb 7 02:38 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 11:30 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 11:30 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 11:30 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 11:30 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 11:30 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 11:30 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 11:30 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 11:30 zless - -rwxr-xr-x 1 root root 1842 Mar 2 11:30 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 11:30 znew -I: user script /srv/workspace/pbuilder/13081/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1282512 Jun 22 2021 bash + -rwxr-xr-x 3 root root 34808 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 34808 Jul 21 2020 bzcat + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Jul 21 2020 bzdiff + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Sep 5 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Jul 21 2020 bzgrep + -rwxr-xr-x 3 root root 34808 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 14264 Jul 21 2020 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 21 2020 bzmore + -rwxr-xr-x 1 root root 39832 Sep 23 2020 cat + -rwxr-xr-x 1 root root 64512 Sep 23 2020 chgrp + -rwxr-xr-x 1 root root 60368 Sep 23 2020 chmod + -rwxr-xr-x 1 root root 64528 Sep 23 2020 chown + -rwxr-xr-x 1 root root 138896 Sep 23 2020 cp + -rwxr-xr-x 1 root root 129544 Dec 11 2020 dash + -rwxr-xr-x 1 root root 101384 Sep 23 2020 date + -rwxr-xr-x 1 root root 80984 Sep 23 2020 dd + -rwxr-xr-x 1 root root 89824 Sep 23 2020 df + -rwxr-xr-x 1 root root 143088 Sep 23 2020 dir + -rwxr-xr-x 1 root root 76152 Feb 8 2021 dmesg + lrwxrwxrwx 1 root root 8 Nov 8 2019 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Nov 8 2019 domainname -> hostname + -rwxr-xr-x 1 root root 35632 Sep 23 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 31512 Sep 23 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 64856 Feb 8 2021 findmnt + -rwsr-xr-x 1 root root 34824 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 178400 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 2021 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 2021 gzexe + -rwxr-xr-x 1 root root 93744 Mar 3 2021 gzip + -rwxr-xr-x 1 root root 18440 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 68720 Sep 23 2020 ln + -rwxr-xr-x 1 root root 52720 Feb 8 2020 login + -rwxr-xr-x 1 root root 143088 Sep 23 2020 ls + -rwxr-xr-x 1 root root 161960 Feb 8 2021 lsblk + -rwxr-xr-x 1 root root 85200 Sep 23 2020 mkdir + -rwxr-xr-x 1 root root 68744 Sep 23 2020 mknod + -rwxr-xr-x 1 root root 43976 Sep 23 2020 mktemp + -rwxr-xr-x 1 root root 51368 Feb 8 2021 more + -rwsr-xr-x 1 root root 51360 Feb 8 2021 mount + -rwxr-xr-x 1 root root 14496 Feb 8 2021 mountpoint + -rwxr-xr-x 1 root root 134808 Sep 23 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 19 2021 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 35720 Sep 23 2020 pwd + lrwxrwxrwx 1 root root 4 Jun 22 2021 rbash -> bash + -rwxr-xr-x 1 root root 43872 Sep 23 2020 readlink + -rwxr-xr-x 1 root root 68592 Sep 23 2020 rm + -rwxr-xr-x 1 root root 43880 Sep 23 2020 rmdir + -rwxr-xr-x 1 root root 19208 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 114016 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Aug 21 01:07 sh -> bash + lrwxrwxrwx 1 root root 4 Aug 20 05:48 sh.distrib -> dash + -rwxr-xr-x 1 root root 35656 Sep 23 2020 sleep + -rwxr-xr-x 1 root root 72640 Sep 23 2020 stty + -rwsr-xr-x 1 root root 67776 Feb 8 2021 su + -rwxr-xr-x 1 root root 35672 Sep 23 2020 sync + -rwxr-xr-x 1 root root 535768 Feb 17 2021 tar + -rwxr-xr-x 1 root root 10568 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 89120 Sep 23 2020 touch + -rwxr-xr-x 1 root root 31512 Sep 23 2020 true + -rwxr-xr-x 1 root root 14264 Feb 27 2021 ulockmgr_server + -rwsr-xr-x 1 root root 30880 Feb 8 2021 umount + -rwxr-xr-x 1 root root 35640 Sep 23 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 2021 uncompress + -rwxr-xr-x 1 root root 143088 Sep 23 2020 vdir + -rwxr-xr-x 1 root root 59584 Feb 8 2021 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 2021 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 2021 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 2021 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 2021 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 2021 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 2021 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 2021 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 2021 zless + -rwxr-xr-x 1 root root 1842 Mar 3 2021 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 2021 znew +I: user script /srv/workspace/pbuilder/8557/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -413,7 +447,7 @@ Get: 141 http://deb.debian.org/debian bullseye/main arm64 python3-virtualenv all 20.4.0+ds-2 [89.0 kB] Get: 142 http://deb.debian.org/debian bullseye/main arm64 python3-wsproto all 0.15.0-3 [24.4 kB] Get: 143 http://deb.debian.org/debian bullseye/main arm64 tox all 3.21.4-1 [359 kB] -Fetched 60.1 MB in 2s (30.5 MB/s) +Fetched 60.1 MB in 1s (48.7 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (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 ... 19646 files and directories currently installed.) @@ -1015,9 +1049,42 @@ Building dependency tree... Reading state information... fakeroot is already the newest version (1.25.3-1.1). -0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. +The following additional packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl +The following NEW packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl usrmerge +0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. +Need to get 59.5 kB of archives. +After this operation, 157 kB of additional disk space will be used. +Get:1 http://deb.debian.org/debian bullseye/main arm64 libnumber-compare-perl all 0.03-1.1 [6956 B] +Get:2 http://deb.debian.org/debian bullseye/main arm64 libtext-glob-perl all 0.11-1 [8888 B] +Get:3 http://deb.debian.org/debian bullseye/main arm64 libfile-find-rule-perl all 0.34-1 [30.6 kB] +Get:4 http://deb.debian.org/debian bullseye/main arm64 usrmerge all 25 [13.0 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 59.5 kB in 0s (1325 kB/s) +Selecting previously unselected package libnumber-compare-perl. +(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 ... 26662 files and directories currently installed.) +Preparing to unpack .../libnumber-compare-perl_0.03-1.1_all.deb ... +Unpacking libnumber-compare-perl (0.03-1.1) ... +Selecting previously unselected package libtext-glob-perl. +Preparing to unpack .../libtext-glob-perl_0.11-1_all.deb ... +Unpacking libtext-glob-perl (0.11-1) ... +Selecting previously unselected package libfile-find-rule-perl. +Preparing to unpack .../libfile-find-rule-perl_0.34-1_all.deb ... +Unpacking libfile-find-rule-perl (0.34-1) ... +Selecting previously unselected package usrmerge. +Preparing to unpack .../archives/usrmerge_25_all.deb ... +Unpacking usrmerge (25) ... +Setting up libtext-glob-perl (0.11-1) ... +Setting up libnumber-compare-perl (0.03-1.1) ... +Setting up libfile-find-rule-perl (0.34-1) ... +Setting up usrmerge (25) ... +The system has been successfully converted. +Processing triggers for man-db (2.9.4-2) ... +Not building database; man-db/auto-update is not 'true'. I: Building the package -I: Running cd /build/mitmproxy-6.0.2/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../mitmproxy_6.0.2-1_source.changes +hostname: Temporary failure in name resolution +I: Running cd /build/mitmproxy-6.0.2/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../mitmproxy_6.0.2-1_source.changes dpkg-buildpackage: info: source package mitmproxy dpkg-buildpackage: info: source version 6.0.2-1 dpkg-buildpackage: info: source distribution unstable @@ -1373,7 +1440,7 @@ copying mitmproxy/addons/onboardingapp/templates/icons/linux-brands.svg -> /build/mitmproxy-6.0.2/.pybuild/cpython3_3.9_mitmproxy/build/mitmproxy/addons/onboardingapp/templates/icons copying mitmproxy/addons/onboardingapp/templates/icons/windows-brands.svg -> /build/mitmproxy-6.0.2/.pybuild/cpython3_3.9_mitmproxy/build/mitmproxy/addons/onboardingapp/templates/icons debian/rules override_dh_auto_test -make[1]: Entering directory '/build/mitmproxy-6.0.2' +make[1]: Map '/build/mitmproxy-6.0.2' wordt binnengegaan dh_auto_test I: pybuild base:232: cd /build/mitmproxy-6.0.2/.pybuild/cpython3_3.9_mitmproxy/build; python3.9 -m pytest -k"not TestHARDump" -k"not TestScripts" -k"not test_mitmweb" -k"not test_mitmdump" -k"not TestDaemonSSL" -k"not test_tcp" -k"not TestHTTPS" -k"not TestMasterSecretLogger" -k"not test_get_version" ============================= test session starts ============================== @@ -1406,7 +1473,20 @@ test/mitmproxy/addons/test_anticache.py . test/mitmproxy/addons/test_anticomp.py . test/mitmproxy/addons/test_asgiapp.py ..... -test/mitmproxy/addons/test_block.py .................................... +test/mitmproxy/addons/test_block.py ..Exception in thread ProxyThread (*:33387): +Traceback (most recent call last): + File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner + self.run() + File "/build/mitmproxy-6.0.2/.pybuild/cpython3_3.9_mitmproxy/build/test/mitmproxy/tservers.py", line 116, in run +. self.tmaster.run() + File "/build/mitmproxy-6.0.2/.pybuild/cpython3_3.9_mitmproxy/build/mitmproxy/master.py", line 108, in run + self.run_loop(loop.run_forever) + File "/build/mitmproxy-6.0.2/.pybuild/cpython3_3.9_mitmproxy/build/mitmproxy/master.py", line 92, in run_loop + loop = asyncio.get_event_loop() +. File "/usr/lib/python3.9/asyncio/events.py", line 642, in get_event_loop + raise RuntimeError('There is no current event loop in thread %r.' +RuntimeError: There is no current event loop in thread 'ProxyThread (*:33387)'. +................................ test/mitmproxy/addons/test_browser.py .. test/mitmproxy/addons/test_check_ca.py .. test/mitmproxy/addons/test_clientplayback.py ........ @@ -1423,7 +1503,7 @@ test/mitmproxy/addons/test_mapremote.py ... test/mitmproxy/addons/test_modifybody.py ..... test/mitmproxy/addons/test_modifyheaders.py ..... -test/mitmproxy/addons/test_onboarding.py .......Exception in thread ProxyThread (*:36705): +test/mitmproxy/addons/test_onboarding.py .......Exception in thread ProxyThread (*:41365): Traceback (most recent call last): File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner self.run() @@ -1435,11 +1515,11 @@ loop = asyncio.get_event_loop() File "/usr/lib/python3.9/asyncio/events.py", line 642, in get_event_loop raise RuntimeError('There is no current event loop in thread %r.' -RuntimeError: There is no current event loop in thread 'ProxyThread (*:36705)'. +RuntimeError: There is no current event loop in thread 'ProxyThread (*:41365)'. test/mitmproxy/addons/test_proxyauth.py ...................... test/mitmproxy/addons/test_save.py ..... -test/mitmproxy/addons/test_script.py ................. +test/mitmproxy/addons/test_script.py F................ test/mitmproxy/addons/test_serverplayback.py ................ test/mitmproxy/addons/test_session.py .......sss test/mitmproxy/addons/test_stickyauth.py .. @@ -1477,7 +1557,17 @@ test/mitmproxy/net/test_check.py . test/mitmproxy/net/test_server_spec.py .. test/mitmproxy/net/test_socks.py ............... -test/mitmproxy/net/test_tcp.py ..................F...xx................................... +test/mitmproxy/net/test_tcp.py ............Exception ignored in: +Traceback (most recent call last): + File "/build/mitmproxy-6.0.2/.pybuild/cpython3_3.9_mitmproxy/build/mitmproxy/addons/session.py", line 73, in __del__ + self.con.close() +sqlite3.ProgrammingError: SQLite objects created in a thread can only be used in that same thread. The object was created in thread id 281473332084752 and this is thread id 281473164767712. +Exception ignored in: +Traceback (most recent call last): + File "/build/mitmproxy-6.0.2/.pybuild/cpython3_3.9_mitmproxy/build/mitmproxy/addons/session.py", line 73, in __del__ + self.con.close() +sqlite3.ProgrammingError: SQLite objects created in a thread can only be used in that same thread. The object was created in thread id 281473332084752 and this is thread id 281473164767712. +......F...xx................................... test/mitmproxy/net/test_tls.py ......... test/mitmproxy/net/test_websocket.py ............. test/mitmproxy/net/http/test_cookies.py ........... @@ -1495,7 +1585,7 @@ test/mitmproxy/net/http/http1/test_read.py ................................. test/mitmproxy/platform/test_pf.py . test/mitmproxy/proxy/test_config.py ... -test/mitmproxy/proxy/test_server.py .............Exception in thread ProxyThread (*:35087): +test/mitmproxy/proxy/test_server.py .............Exception in thread ProxyThread (*:41081): Traceback (most recent call last): File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner self.run() @@ -1507,8 +1597,8 @@ loop = asyncio.get_event_loop() File "/usr/lib/python3.9/asyncio/events.py", line 642, in get_event_loop raise RuntimeError('There is no current event loop in thread %r.' -RuntimeError: There is no current event loop in thread 'ProxyThread (*:35087)'. -.......FF......................Exception in thread ProxyThread (*:43951): +RuntimeError: There is no current event loop in thread 'ProxyThread (*:41081)'. +.......FF......................Exception in thread ProxyThread (*:38009): Traceback (most recent call last): File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner self.run() @@ -1520,8 +1610,8 @@ loop = asyncio.get_event_loop() File "/usr/lib/python3.9/asyncio/events.py", line 642, in get_event_loop raise RuntimeError('There is no current event loop in thread %r.' -RuntimeError: There is no current event loop in thread 'ProxyThread (*:43951)'. -............................................Exception in thread ProxyThread (*:42845): +RuntimeError: There is no current event loop in thread 'ProxyThread (*:38009)'. +............................................Exception in thread ProxyThread (*:43505): Traceback (most recent call last): File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner self.run() @@ -1533,11 +1623,11 @@ loop = asyncio.get_event_loop() File "/usr/lib/python3.9/asyncio/events.py", line 642, in get_event_loop raise RuntimeError('There is no current event loop in thread %r.' -RuntimeError: There is no current event loop in thread 'ProxyThread (*:42845)'. +RuntimeError: There is no current event loop in thread 'ProxyThread (*:43505)'. ..................... test/mitmproxy/proxy/protocol/test_http1.py ........ test/mitmproxy/proxy/protocol/test_http2.py ............................ -test/mitmproxy/proxy/protocol/test_websocket.py ......Exception in thread ProxyThread (*:39757): +test/mitmproxy/proxy/protocol/test_websocket.py ......Exception in thread ProxyThread (*:33801): Traceback (most recent call last): File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner self.run() @@ -1549,8 +1639,8 @@ loop = asyncio.get_event_loop() File "/usr/lib/python3.9/asyncio/events.py", line 642, in get_event_loop raise RuntimeError('There is no current event loop in thread %r.' -RuntimeError: There is no current event loop in thread 'ProxyThread (*:39757)'. -.Exception in thread ProxyThread (*:41779): +RuntimeError: There is no current event loop in thread 'ProxyThread (*:33801)'. +.Exception in thread ProxyThread (*:43089): Traceback (most recent call last): File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner self.run() @@ -1562,7 +1652,7 @@ loop = asyncio.get_event_loop() File "/usr/lib/python3.9/asyncio/events.py", line 642, in get_event_loop raise RuntimeError('There is no current event loop in thread %r.' -RuntimeError: There is no current event loop in thread 'ProxyThread (*:41779)'. +RuntimeError: There is no current event loop in thread 'ProxyThread (*:43089)'. ......... test/mitmproxy/script/test_concurrent.py ... test/mitmproxy/tools/test_cmdline.py .... @@ -1608,7 +1698,7 @@ ==================================== ERRORS ==================================== _ ERROR at teardown of TestServerConnectionTLS.test_tls[mitmproxy/data/clientcert] _ -self = +self = def teardown(self): > self.server.server.wait_for_silence() @@ -1616,7 +1706,7 @@ test/mitmproxy/net/tservers.py:109: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = timeout = 5 def wait_for_silence(self, timeout=5): @@ -1632,7 +1722,7 @@ mitmproxy/net/tcp.py:678: Timeout _ ERROR at teardown of TestServerConnectionTLS.test_tls[mitmproxy/data/clientcert/client.pem] _ -self = +self = def teardown(self): > self.server.server.wait_for_silence() @@ -1640,7 +1730,7 @@ test/mitmproxy/net/tservers.py:109: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = timeout = 5 def wait_for_silence(self, timeout=5): @@ -1657,8 +1747,8 @@ =================================== FAILURES =================================== _________________________ TestScripts.test_add_header __________________________ -self = -tdata = +self = +tdata = def test_add_header(self, tdata): with taddons.context() as tctx: @@ -1667,7 +1757,7 @@ test/examples/test_examples.py:13: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = path = '../examples/addons/scripting-minimal-example.py' def path(self, path): @@ -1685,8 +1775,8 @@ mitmproxy/utils/data.py:32: ValueError _____________________ TestScripts.test_custom_contentviews _____________________ -self = -tdata = +self = +tdata = def test_custom_contentviews(self, tdata): with taddons.context() as tctx: @@ -1695,7 +1785,7 @@ test/examples/test_examples.py:20: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = path = '../examples/addons/contentview.py' def path(self, path): @@ -1713,8 +1803,8 @@ mitmproxy/utils/data.py:32: ValueError _________________________ TestScripts.test_modify_form _________________________ -self = -tdata = +self = +tdata = def test_modify_form(self, tdata): with taddons.context() as tctx: @@ -1723,7 +1813,7 @@ test/examples/test_examples.py:27: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = path = '../examples/addons/http-modify-form.py' def path(self, path): @@ -1741,8 +1831,8 @@ mitmproxy/utils/data.py:32: ValueError _____________________ TestScripts.test_modify_querystring ______________________ -self = -tdata = +self = +tdata = def test_modify_querystring(self, tdata): with taddons.context() as tctx: @@ -1751,7 +1841,7 @@ test/examples/test_examples.py:41: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = path = '../examples/addons/http-modify-query-string.py' def path(self, path): @@ -1769,8 +1859,8 @@ mitmproxy/utils/data.py:32: ValueError ______________________ TestScripts.test_redirect_requests ______________________ -self = -tdata = +self = +tdata = def test_redirect_requests(self, tdata): with taddons.context() as tctx: @@ -1779,7 +1869,7 @@ test/examples/test_examples.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = path = '../examples/addons/http-redirect-requests.py' def path(self, path): @@ -1797,8 +1887,8 @@ mitmproxy/utils/data.py:32: ValueError ____________________ TestScripts.test_send_reply_from_proxy ____________________ -self = -tdata = +self = +tdata = def test_send_reply_from_proxy(self, tdata): with taddons.context() as tctx: @@ -1807,7 +1897,7 @@ test/examples/test_examples.py:60: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = path = '../examples/addons/http-reply-from-proxy.py' def path(self, path): @@ -1827,8 +1917,8 @@ cert = '/build/mitmproxy-6.0.2/.pybuild/cpython3_3.9_mitmproxy/build/test/mitmproxy/data/clientcert/127.0.0.1.pem' sni = None, address = None, verify = 0, sslctx_kwargs = {'alpn_protos': None} -verify_callback = .verify_callback at 0xffffb161de50> -context = +verify_callback = .verify_callback at 0xffff98fe81f0> +context = def create_client_context( cert: str = None, @@ -1904,7 +1994,7 @@ mitmproxy/net/tls.py:300: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = certfile = b'/build/mitmproxy-6.0.2/.pybuild/cpython3_3.9_mitmproxy/build/test/mitmproxy/data/clientcert/127.0.0.1.pem' def use_certificate_chain_file(self, certfile): @@ -1959,9 +2049,9 @@ During handling of the above exception, another exception occurred: -self = +self = client_certs = '/build/mitmproxy-6.0.2/.pybuild/cpython3_3.9_mitmproxy/build/test/mitmproxy/data/clientcert' -tdata = +tdata = @pytest.mark.parametrize("client_certs", [ None, @@ -1985,8 +2075,8 @@ cert = '/build/mitmproxy-6.0.2/.pybuild/cpython3_3.9_mitmproxy/build/test/mitmproxy/data/clientcert/127.0.0.1.pem' sni = None, address = None, verify = 0, sslctx_kwargs = {'alpn_protos': None} -verify_callback = .verify_callback at 0xffffb161de50> -context = +verify_callback = .verify_callback at 0xffff98fe81f0> +context = def create_client_context( cert: str = None, @@ -2067,8 +2157,8 @@ cert = '/build/mitmproxy-6.0.2/.pybuild/cpython3_3.9_mitmproxy/build/test/mitmproxy/data/clientcert/client.pem' sni = None, address = None, verify = 0, sslctx_kwargs = {'alpn_protos': None} -verify_callback = .verify_callback at 0xffffb165ab80> -context = +verify_callback = .verify_callback at 0xffff9845c790> +context = def create_client_context( cert: str = None, @@ -2144,7 +2234,7 @@ mitmproxy/net/tls.py:300: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = certfile = b'/build/mitmproxy-6.0.2/.pybuild/cpython3_3.9_mitmproxy/build/test/mitmproxy/data/clientcert/client.pem' def use_certificate_chain_file(self, certfile): @@ -2199,9 +2289,9 @@ During handling of the above exception, another exception occurred: -self = +self = client_certs = '/build/mitmproxy-6.0.2/.pybuild/cpython3_3.9_mitmproxy/build/test/mitmproxy/data/clientcert/client.pem' -tdata = +tdata = @pytest.mark.parametrize("client_certs", [ None, @@ -2225,8 +2315,8 @@ cert = '/build/mitmproxy-6.0.2/.pybuild/cpython3_3.9_mitmproxy/build/test/mitmproxy/data/clientcert/client.pem' sni = None, address = None, verify = 0, sslctx_kwargs = {'alpn_protos': None} -verify_callback = .verify_callback at 0xffffb165ab80> -context = +verify_callback = .verify_callback at 0xffff9845c790> +context = def create_client_context( cert: str = None, @@ -2303,12 +2393,33 @@ E mitmproxy.exceptions.TlsException: SSL client certificate error: [('SSL routines', 'SSL_CTX_use_certificate', 'ca md too weak')] mitmproxy/net/tls.py:302: TlsException +_______________________________ test_load_script _______________________________ + +tdata = + + @pytest.mark.asyncio + async def test_load_script(tdata): + with taddons.context() as tctx: + ns = script.load_script( + tdata.path( + "mitmproxy/data/addonscripts/recorder/recorder.py" + ) + ) + assert ns.addons + + script.load_script( + "nonexistent" + ) +> assert await tctx.master.await_log("No such file or directory") +E assert False + +test/mitmproxy/addons/test_script.py:32: AssertionError ______________________ TestSSLClientCert.test_clientcert _______________________ cert = '/build/mitmproxy-6.0.2/.pybuild/cpython3_3.9_mitmproxy/build/test/mitmproxy/net/data/clientcert/client.pem' sni = None, address = None, verify = 0, sslctx_kwargs = {'alpn_protos': None} -verify_callback = .verify_callback at 0xffffb140fa60> -context = +verify_callback = .verify_callback at 0xffff90b7b4c0> +context = def create_client_context( cert: str = None, @@ -2384,7 +2495,7 @@ mitmproxy/net/tls.py:300: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = certfile = b'/build/mitmproxy-6.0.2/.pybuild/cpython3_3.9_mitmproxy/build/test/mitmproxy/net/data/clientcert/client.pem' def use_certificate_chain_file(self, certfile): @@ -2439,8 +2550,8 @@ During handling of the above exception, another exception occurred: -self = -tdata = +self = +tdata = def test_clientcert(self, tdata): c = tcp.TCPClient(("127.0.0.1", self.port)) @@ -2456,8 +2567,8 @@ cert = '/build/mitmproxy-6.0.2/.pybuild/cpython3_3.9_mitmproxy/build/test/mitmproxy/net/data/clientcert/client.pem' sni = None, address = None, verify = 0, sslctx_kwargs = {'alpn_protos': None} -verify_callback = .verify_callback at 0xffffb140fa60> -context = +verify_callback = .verify_callback at 0xffff90b7b4c0> +context = def create_client_context( cert: str = None, @@ -2676,8 +2787,8 @@ mitmproxy/net/http/encoding.py:76: ValueError ________________________ TestHTTPS.test_clientcert_file ________________________ -self = -tdata = +self = +tdata = def test_clientcert_file(self, tdata): try: @@ -2691,8 +2802,8 @@ test/mitmproxy/proxy/test_server.py:301: AssertionError ________________________ TestHTTPS.test_clientcert_dir _________________________ -self = -tdata = +self = +tdata = def test_clientcert_dir(self, tdata): try: @@ -2708,8 +2819,8 @@ cert = '/build/mitmproxy-6.0.2/.pybuild/cpython3_3.9_mitmproxy/build/test/pathod/data/clientcert/client.pem' sni = None, address = None, verify = 0 sslctx_kwargs = {'alpn_protos': [b'http/1.1'], 'cipher_list': None, 'method': 3, 'options': 37879808} -verify_callback = .verify_callback at 0xffffb212c040> -context = +verify_callback = .verify_callback at 0xffff9801b8b0> +context = def create_client_context( cert: str = None, @@ -2785,7 +2896,7 @@ mitmproxy/net/tls.py:300: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = certfile = b'/build/mitmproxy-6.0.2/.pybuild/cpython3_3.9_mitmproxy/build/test/pathod/data/clientcert/client.pem' def use_certificate_chain_file(self, certfile): @@ -2840,8 +2951,8 @@ During handling of the above exception, another exception occurred: -self = , connect_to = None -showssl = False, fp = <_io.StringIO object at 0xffffb2b6caf0> +self = , connect_to = None +showssl = False, fp = <_io.StringIO object at 0xffff98fe8d30> def connect(self, connect_to=None, showssl=False, fp=sys.stdout): """ @@ -2874,7 +2985,7 @@ pathod/pathoc.py:315: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = , sni = None +self = , sni = None alpn_protos = [b'http/1.1'] sslctx_kwargs = {'cert': '/build/mitmproxy-6.0.2/.pybuild/cpython3_3.9_mitmproxy/build/test/pathod/data/clientcert/client.pem', 'cipher_list': None, 'method': 3, 'options': 37879808} @@ -2891,8 +3002,8 @@ cert = '/build/mitmproxy-6.0.2/.pybuild/cpython3_3.9_mitmproxy/build/test/pathod/data/clientcert/client.pem' sni = None, address = None, verify = 0 sslctx_kwargs = {'alpn_protos': [b'http/1.1'], 'cipher_list': None, 'method': 3, 'options': 37879808} -verify_callback = .verify_callback at 0xffffb212c040> -context = +verify_callback = .verify_callback at 0xffff9801b8b0> +context = def create_client_context( cert: str = None, @@ -2972,8 +3083,8 @@ During handling of the above exception, another exception occurred: -self = -tdata = +self = +tdata = def test_clientcert(self, tdata): > self.tval( @@ -2987,8 +3098,8 @@ with c.connect(showssl=showssl, fp=s): _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = , connect_to = None -showssl = False, fp = <_io.StringIO object at 0xffffb2b6caf0> +self = , connect_to = None +showssl = False, fp = <_io.StringIO object at 0xffff98fe8d30> def connect(self, connect_to=None, showssl=False, fp=sys.stdout): """ @@ -3069,7 +3180,7 @@ .pybuild/cpython3_3.9_mitmproxy/build/test/mitmproxy/addons/test_view.py: 63 warnings .pybuild/cpython3_3.9_mitmproxy/build/test/mitmproxy/contentviews/test_api.py: 1 warning .pybuild/cpython3_3.9_mitmproxy/build/test/mitmproxy/io/test_compat.py: 4 warnings -.pybuild/cpython3_3.9_mitmproxy/build/test/mitmproxy/proxy/test_server.py: 548 warnings +.pybuild/cpython3_3.9_mitmproxy/build/test/mitmproxy/proxy/test_server.py: 549 warnings .pybuild/cpython3_3.9_mitmproxy/build/test/mitmproxy/proxy/protocol/test_http1.py: 14 warnings .pybuild/cpython3_3.9_mitmproxy/build/test/mitmproxy/proxy/protocol/test_http2.py: 123 warnings .pybuild/cpython3_3.9_mitmproxy/build/test/mitmproxy/proxy/protocol/test_websocket.py: 33 warnings @@ -3105,11 +3216,11 @@ /build/mitmproxy-6.0.2/.pybuild/cpython3_3.9_mitmproxy/build/mitmproxy/connections.py:296: PendingDeprecationWarning: .cert is deprecated, use .certificate_list instead. warnings.warn(".cert is deprecated, use .certificate_list instead.", PendingDeprecationWarning) -.pybuild/cpython3_3.9_mitmproxy/build/test/mitmproxy/addons/test_serverplayback.py::test_hash - /build/mitmproxy-6.0.2/.pybuild/cpython3_3.9_mitmproxy/build/mitmproxy/optmanager.py:212: RuntimeWarning: coroutine 'Script.watcher' was never awaited - updated = set(known.keys()) +.pybuild/cpython3_3.9_mitmproxy/build/test/mitmproxy/addons/test_serverplayback.py::test_config + /usr/lib/python3.9/typing.py:774: RuntimeWarning: coroutine 'Script.watcher' was never awaited + args = ", ".join([_type_repr(a) for a in self.__args__]) -.pybuild/cpython3_3.9_mitmproxy/build/test/mitmproxy/contentviews/image/test_image_parser.py::test_parse_gif[mitmproxy/data/image_parser/iss634.gif-metadata2] +.pybuild/cpython3_3.9_mitmproxy/build/test/mitmproxy/net/test_tcp.py::TestSSLUpstreamCertVerificationWBadServerCert::test_mode_strict_should_fail /usr/lib/python3.9/asyncio/base_events.py:667: RuntimeWarning: coroutine 'Session._writer' was never awaited self._ready.clear() @@ -3127,6 +3238,7 @@ FAILED test/examples/test_examples.py::TestScripts::test_send_reply_from_proxy FAILED test/mitmproxy/test_connections.py::TestServerConnectionTLS::test_tls[mitmproxy/data/clientcert] FAILED test/mitmproxy/test_connections.py::TestServerConnectionTLS::test_tls[mitmproxy/data/clientcert/client.pem] +FAILED test/mitmproxy/addons/test_script.py::test_load_script - assert False FAILED test/mitmproxy/net/test_tcp.py::TestSSLClientCert::test_clientcert - m... FAILED test/mitmproxy/net/http/test_encoding.py::test_encoders[zstd] - ValueE... FAILED test/mitmproxy/proxy/test_server.py::TestHTTPS::test_clientcert_file @@ -3134,11 +3246,11 @@ FAILED test/pathod/test_pathoc.py::TestDaemonSSL::test_clientcert - pathod.pa... ERROR test/mitmproxy/test_connections.py::TestServerConnectionTLS::test_tls[mitmproxy/data/clientcert] ERROR test/mitmproxy/test_connections.py::TestServerConnectionTLS::test_tls[mitmproxy/data/clientcert/client.pem] -= 13 failed, 1429 passed, 19 skipped, 1 deselected, 2 xfailed, 1733 warnings, 2 errors in 168.16s (0:02:48) = += 14 failed, 1428 passed, 19 skipped, 1 deselected, 2 xfailed, 1734 warnings, 2 errors in 166.27s (0:02:46) = E: pybuild pybuild:353: test: plugin distutils failed with: exit code=1: cd /build/mitmproxy-6.0.2/.pybuild/cpython3_3.9_mitmproxy/build; python3.9 -m pytest -k"not TestHARDump" -k"not TestScripts" -k"not test_mitmweb" -k"not test_mitmdump" -k"not TestDaemonSSL" -k"not test_tcp" -k"not TestHTTPS" -k"not TestMasterSecretLogger" -k"not test_get_version" dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.9 returned exit code 13 -make[1]: [debian/rules:12: override_dh_auto_test] Error 25 (ignored) -make[1]: Leaving directory '/build/mitmproxy-6.0.2' +make[1]: [debian/rules:12: override_dh_auto_test] Fout 25 (genegeerd) +make[1]: Map '/build/mitmproxy-6.0.2' wordt verlaten create-stamp debian/debhelper-build-stamp fakeroot debian/rules binary dh binary --with python3 --buildsystem=pybuild @@ -3999,15 +4111,15 @@ dh_installchangelogs -O--buildsystem=pybuild dh_installexamples -O--buildsystem=pybuild debian/rules override_dh_installman -make[1]: Entering directory '/build/mitmproxy-6.0.2' +make[1]: Map '/build/mitmproxy-6.0.2' wordt binnengegaan dh_installman -make[1]: Leaving directory '/build/mitmproxy-6.0.2' +make[1]: Map '/build/mitmproxy-6.0.2' wordt verlaten debian/rules override_dh_python3 -make[1]: Entering directory '/build/mitmproxy-6.0.2' +make[1]: Map '/build/mitmproxy-6.0.2' wordt binnengegaan dh_python3 rm -fr debian/mitmproxy/usr/lib/python3/dist-packages/mitmproxy/addons/onboardingapp/static/fontawesome/ rm -fr debian/mitmproxy/usr/lib/python3/dist-packages/mitmproxy/tools/web/static/fonts/ -make[1]: Leaving directory '/build/mitmproxy-6.0.2' +make[1]: Map '/build/mitmproxy-6.0.2' wordt verlaten dh_installinit -O--buildsystem=pybuild dh_installsystemduser -O--buildsystem=pybuild dh_perl -O--buildsystem=pybuild @@ -4020,7 +4132,7 @@ dh_gencontrol -O--buildsystem=pybuild dh_md5sums -O--buildsystem=pybuild dh_builddeb -O--buildsystem=pybuild -dpkg-deb: building package 'mitmproxy' in '../mitmproxy_6.0.2-1_all.deb'. +dpkg-deb: pakket 'mitmproxy' wordt gebouwd in '../mitmproxy_6.0.2-1_all.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../mitmproxy_6.0.2-1_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -4028,12 +4140,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/8557/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/8557/tmp/hooks/B01_cleanup finished 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/13081 and its subdirectories -I: Current time: Sat Jul 17 16:44:20 -12 2021 -I: pbuilder-time-stamp: 1626583460 +I: removing directory /srv/workspace/pbuilder/8557 and its subdirectories +I: Current time: Sun Aug 21 01:11:55 +14 2022 +I: pbuilder-time-stamp: 1660993915