Diff of the two buildlogs: -- --- b1/build.log 2023-10-19 17:46:52.714187618 +0000 +++ b2/build.log 2023-10-19 17:58:09.540603136 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Nov 20 11:59:38 -12 2024 -I: pbuilder-time-stamp: 1732147178 +I: Current time: Fri Oct 20 07:46:57 +14 2023 +I: pbuilder-time-stamp: 1697737617 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -17,8 +17,8 @@ I: copying [./schleuder_3.6.0-3+deb11u2.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.EVqqVPDY/trustedkeys.kbx': General error -gpgv: Signature made Sat Jul 29 00:48:46 2023 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.VH36Zoum/trustedkeys.kbx': General error +gpgv: Signature made Sun Jul 30 02:48:46 2023 +14 gpgv: using EDDSA key C47EBFCC4E57E9FC32CA3400461BEE5D240A9E91 gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./schleuder_3.6.0-3+deb11u2.dsc @@ -45,135 +45,166 @@ dpkg-source: info: applying 0031-db-change-boolean-values-to-integers.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/4725/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1969/tmp/hooks/D01_modify_environment starting +debug: Running on codethink14-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 +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Oct 20 07:47 /bin/sh -> /bin/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/1969/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1969/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - 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/reproducible-path + 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='bullseye' - HOME='/var/lib/jenkins' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=bullseye + 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='4725' - 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=1969 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/r-b-build.3pUzZhnJ/pbuilderrc_1rsJ --distribution bullseye --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.3pUzZhnJ/b1 --logfile b1/build.log schleuder_3.6.0-3+deb11u2.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/r-b-build.3pUzZhnJ/pbuilderrc_emxP --distribution bullseye --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.3pUzZhnJ/b2 --logfile b2/build.log schleuder_3.6.0-3+deb11u2.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 codethink9-arm64 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:29:44 UTC 2023 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:29:44 UTC 2023 aarch64 GNU/Linux I: ls -l /bin total 5252 - -rwxr-xr-x 1 root root 1282512 Mar 27 2022 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 Jan 20 2022 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 Jan 24 2023 egrep - -rwxr-xr-x 1 root root 31512 Sep 22 2020 false - -rwxr-xr-x 1 root root 28 Jan 24 2023 fgrep - -rwxr-xr-x 1 root root 64856 Jan 20 2022 findmnt - -rwsr-xr-x 1 root root 34824 Feb 26 2021 fusermount - -rwxr-xr-x 1 root root 182496 Jan 24 2023 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 93744 Apr 9 2022 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 157864 Jan 20 2022 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 Jan 20 2022 more - -rwsr-xr-x 1 root root 51360 Jan 20 2022 mount - -rwxr-xr-x 1 root root 14496 Jan 20 2022 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 Dec 16 2021 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 35720 Sep 22 2020 pwd - lrwxrwxrwx 1 root root 4 Mar 27 2022 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 Nov 8 03:47 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 Jan 20 2022 su - -rwxr-xr-x 1 root root 35672 Sep 22 2020 sync - -rwxr-xr-x 1 root root 535768 Feb 16 2021 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 2021 ulockmgr_server - -rwsr-xr-x 1 root root 30880 Jan 20 2022 umount - -rwxr-xr-x 1 root root 35640 Sep 22 2020 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 143088 Sep 22 2020 vdir - -rwxr-xr-x 1 root root 59584 Jan 20 2022 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 5898 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8049 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/4725/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1282512 Mar 28 2022 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 Jan 21 2022 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 Jan 25 2023 egrep + -rwxr-xr-x 1 root root 31512 Sep 23 2020 false + -rwxr-xr-x 1 root root 28 Jan 25 2023 fgrep + -rwxr-xr-x 1 root root 64856 Jan 21 2022 findmnt + -rwsr-xr-x 1 root root 34824 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 182496 Jan 25 2023 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 93744 Apr 10 2022 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 157864 Jan 21 2022 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 Jan 21 2022 more + -rwsr-xr-x 1 root root 51360 Jan 21 2022 mount + -rwxr-xr-x 1 root root 14496 Jan 21 2022 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 Dec 17 2021 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 35720 Sep 23 2020 pwd + lrwxrwxrwx 1 root root 4 Mar 28 2022 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 9 Oct 20 07:47 sh -> /bin/bash + -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 Jan 21 2022 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 Jan 21 2022 umount + -rwxr-xr-x 1 root root 35640 Sep 23 2020 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 143088 Sep 23 2020 vdir + -rwxr-xr-x 1 root root 59584 Jan 21 2022 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 5898 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8049 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/1969/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -411,7 +442,7 @@ Get: 164 http://deb.debian.org/debian bullseye/main arm64 ruby-sqlite3 arm64 1.4.2-3 [43.0 kB] Get: 165 http://deb.debian.org/debian bullseye/main arm64 ruby-thor all 1.0.1-1 [51.1 kB] Get: 166 http://deb.debian.org/debian bullseye/main arm64 thin arm64 1.8.0-1 [60.3 kB] -Fetched 46.6 MB in 8s (5728 kB/s) +Fetched 46.6 MB in 8s (6025 kB/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 ... 19696 files and directories currently installed.) @@ -1102,7 +1133,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/schleuder-3.6.0/ && 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 > ../schleuder_3.6.0-3+deb11u2_source.changes +I: user script /srv/workspace/pbuilder/1969/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for bullseye +I: user script /srv/workspace/pbuilder/1969/tmp/hooks/A99_set_merged_usr finished +hostname: Temporary failure in name resolution +I: Running cd /build/reproducible-path/schleuder-3.6.0/ && 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 > ../schleuder_3.6.0-3+deb11u2_source.changes dpkg-buildpackage: info: source package schleuder dpkg-buildpackage: info: source version 3.6.0-3+deb11u2 dpkg-buildpackage: info: source distribution bullseye @@ -1141,7 +1176,7 @@ dh_ruby --build dh_auto_test -O--buildsystem=ruby dh_ruby --test - rm -fr -- /tmp/dh-xdg-rundir-o36EoI17 + rm -fr -- /tmp/dh-xdg-rundir-IZaoF7ob create-stamp debian/debhelper-build-stamp dh_testroot -O--buildsystem=ruby dh_prep -O--buildsystem=ruby @@ -1264,603 +1299,603 @@ RUBYLIB=/build/reproducible-path/schleuder-3.6.0/debian/schleuder/usr/lib/ruby/vendor_ruby:. GEM_PATH=/build/reproducible-path/schleuder-3.6.0/debian/schleuder/usr/share/rubygems-integration/all:/build/reproducible-path/schleuder-3.6.0/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/2.7.0:/var/lib/gems/2.7.0:/usr/local/lib/ruby/gems/2.7.0:/usr/lib/ruby/gems/2.7.0:/usr/lib/aarch64-linux-gnu/ruby/gems/2.7.0:/usr/share/rubygems-integration/2.7.0:/usr/share/rubygems-integration/all:/usr/lib/aarch64-linux-gnu/rubygems-integration/2.7.0 ruby2.7 -S rake -f debian/ruby-tests.rake /usr/bin/ruby2.7 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.9.3/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/exe/rspec --format documentation -Randomized with seed 3590 +Randomized with seed 57209 -Schleuder::ListBuilder - creates a new, valid list - returns an error-message if given an invalid email-address with a space - subscribes the adminaddress and respects the given adminfingerprint - returns an error-message if given an invalid email-address - subscribes the adminaddress and imports the adminkey - creates a listdir for the list - subscribes the adminaddress and ignores the adminfingerprint if an adminkey was given - creates a list-key with all required UIDs - -user sends a plain text message - from thunderbird being signed-inline - from thunderbird being signed-mime - from thunderbird being plain - -Mail::Message - adds list#public_footer as last mime-part without changing its value - does not misclassify bounce spec/fixtures/mails/bounces/tt_1234241665.txt.eml as normal message - does not misclassify normal message spec/fixtures/mails/not_bounces/Bug_948980-_marked_as_pending_in_schleuder.eml as bounce - does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_13.txt.eml as normal message - does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_01.txt.eml as normal message - does not misclassify normal message spec/fixtures/mails/not_bounces/Bug_948982-_marked_as_pending_in_schleuder.eml as bounce - does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_04.txt.eml as normal message - does not misclassify bounce spec/fixtures/mails/bounces/tt_1234285668.txt.eml as normal message - does not misclassify bounce spec/fixtures/mails/bounces/tt_1234211929.txt.eml as normal message - does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_14.txt.eml as normal message - does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_16.txt.eml as normal message - does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_06.txt.eml as normal message - does not misclassify bounce spec/fixtures/mails/bounces/tt_1234210655.txt.eml as normal message - does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_09.txt.eml as normal message - does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_20.txt.eml as normal message - does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_11.txt.eml as normal message - does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_17.txt.eml as normal message - does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_24.txt.eml as normal message - does not misclassify bounce spec/fixtures/mails/bounces/tt_1234211357.txt.eml as normal message - does not misclassify normal message spec/fixtures/mails/not_bounces/Bug_948981-_marked_as_pending_in_schleuder.eml as bounce - does not misclassify bounce spec/fixtures/mails/bounces/malformed_bounce_01.txt.eml as normal message - does not misclassify normal message spec/fixtures/mails/not_bounces/tt_1234210666.txt.eml as bounce - does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_10.txt.eml as normal message - does not misclassify bounce spec/fixtures/mails/bounces/tt_1234175799.txt.eml as normal message - adds list#internal_footer as last mime-part without changing its value - does not misclassify bounce spec/fixtures/mails/bounces/undeliverable_gmail.txt.eml as normal message - recognizes a message sent to listname-bounce@hostname as automated message - does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_12_soft.txt.eml as normal message - does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_19.txt.eml as normal message - does not misclassify bounce spec/fixtures/mails/bounces/tt_1234285532.txt.eml as normal message - recognizes a sudo message with 'Auto-Submitted'-header NOT as automated message - does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_23.txt.eml as normal message - verifies an encapsulated (signed-then-encrypted) message - recognizes bounce message subject using the bounce_email gem - does not misclassify bounce spec/fixtures/mails/bounces/tt_1234177688.txt.eml as normal message - does not misclassify bounce spec/fixtures/mails/bounces/tt_1234211931.txt.eml as normal message - recognizes a Jenkins message with 'Auto-Submitted'-header NOT as automated message - recognizes a cron message with 'Auto-Submitted'-header NOT as automated message - does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_21.txt.eml as normal message - does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_15.txt.eml as normal message - does not misclassify bounce spec/fixtures/mails/bounces/unknown_code_bounce_01.txt.eml as normal message - does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_08.txt.eml as normal message - does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_18.txt.eml as normal message - does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_07.txt.eml as normal message - does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_22.txt.eml as normal message - doesn't change the order of mime-parts - does not misclassify normal message spec/fixtures/mails/not_bounces/tt_1234211024.txt.eml as bounce - does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_02.txt.eml as normal message - does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_25.txt.eml as normal message - does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_05.txt.eml as normal message - does not misclassify normal message spec/fixtures/mails/not_bounces/tt_1234241664.txt.eml as bounce - does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_03.txt.eml as normal message - does not misclassify bounce spec/fixtures/mails/bounces/tt_1234211932.txt.eml as normal message - makes a pseudo header - without value - with empty value - that a line with less than 76 gets wrapped - that single multiline are getting indented - that multiline are getting wrapped - that a multiline with less than 76 get wrapped correctly on the first line - that a multiline with less than 76 get wrapped correctly on the first line and the following lines - with key / value - that is getting wrapped - #add_subject_prefix! - does not add a subject prefix if already present - adds a configured subject prefix without subject - adds a configured subject prefix - -Schleuder::Conf - reads ERB code in config files +lists via api + creates a list + correctly finds a list by email-address that starts with a number + shows a list Errors - ::MessageUnsigned shows sensible string in response to to_s() ::KeyGenerationFailed shows sensible string in response to to_s() - ::MessageTooBig shows sensible string in response to to_s() - ::MessageSenderNotSubscribed shows sensible string in response to to_s() ::LoadingListSettingsFailed shows sensible string in response to to_s() - ::MessageEmpty shows sensible string in response to to_s() - ::KeywordAdminOnly shows sensible string in response to to_s() - ::ListdirProblem shows sensible string in response to to_s() - ::KeyAdduidFailed shows sensible string in response to to_s() - ::TooManyKeys shows sensible string in response to to_s() - ::ListNotFound shows sensible string in response to to_s() ::DecryptionFailed shows sensible string in response to to_s() - ::MessageUnauthenticated shows sensible string in response to to_s() ::MessageUnencrypted shows sensible string in response to to_s() + ::MessageUnauthenticated shows sensible string in response to to_s() + ::MessageUnsigned shows sensible string in response to to_s() + ::KeywordAdminOnly shows sensible string in response to to_s() + ::MessageTooBig shows sensible string in response to to_s() + ::TooManyKeys shows sensible string in response to to_s() + ::MessageEmpty shows sensible string in response to to_s() ::MessageNotFromAdmin shows sensible string in response to to_s() - -lists via api - correctly finds a list by email-address that starts with a number - creates a list - shows a list - -running filters - .fix_exchange_messages! - accepts a valid plain-text message - accepts an invalid pgp/mime Exchange message - .strip_html_from_alternative! - does NOT strip HTML-part from multipart/alternative-message that does NOT contain ascii-armored PGP-data - strips HTML-part from multipart/alternative-message that contains ascii-armored PGP-data - .max_message_size - bounces to big mails + ::KeyAdduidFailed shows sensible string in response to to_s() + ::MessageSenderNotSubscribed shows sensible string in response to to_s() + ::ListdirProblem shows sensible string in response to to_s() + ::ListNotFound shows sensible string in response to to_s() Schleuder::LoggerNotifications - notifies admins in the clear if their key is unusable - notifies admins encryptedly if their key is usable notifies admins of simple text-message - includes a List-Id header in notification mails sent to admins - notifies admins of multiple text-messages notifies admins of multiple text-messages and the original message + notifies admins encryptedly if their key is usable + notifies admins in the clear if their key is unusable + notifies admins of multiple text-messages + includes a List-Id header in notification mails sent to admins return path sets superadmin sets default superadmin -someone sends an email to a listname-dash-address - forwards the message to the admins if extension is -owner - forwards the message to the admins if extension is -bounce - forwards the message to the admins if extension is -bounce and it's a real bounce mail - sends the list's key as reply to -sendkey - -authorization via api - allows un-authorized access to /status.json - blocks un-authorized access to other URLs - allows authorized access - -user sends emails with different charsets - works with japanese_attachment - works with ks_c_5601-1987 - works with simple_jis - works with signed_utf8 - works with japanese_iso_2022 - works with simple_latin1 - works with thunderbird-multi-alt-html - works with japanese_shift_jis - works with japanese - works with simple_utf8 - works with simple_jpiso2022 - works with japanese_attachment_long_name - -Schleuder::Subscription - is valid when fingerprint is nil - is invalid when list_id is blank - removes whitespaces and 0x from the fingerprint - is invalid if the given email is already subscribed for the list - is invalid when email is blank - is invalid when email does not contain an @ - is invalid if delivery_enabled is blank - is invalid when fingerprint contains invalid characters - is invalid if admin is blank - is expected to respond to #email - is invalid if delivery_enabled is nil - is expected to respond to #fingerprint - is expected to respond to #list_id - formats email address when email begins with a space - is expected to respond to #delivery_enabled - is invalid if admin is nil - is expected to respond to #admin - is invalid when email is nil - is valid when fingerprint is empty - has a valid factory - #fingerprint - transforms the fingerprint to upper case - -user sends keyword - x-list-subscriptions with non-matching argument - x-resend with utf-8 body and umlauts - x-fetch-key with email address - x-resend-encrypted-only with expired key - x-set-fingerprint with email-address but without valid fingerprint - x-add-key with garbage as key-material - x-delete-key without argument - x-list-subscriptions with matching argument - x-resend-cc to 2 addresses with one missing keys - x-fetch-key with invalid input - x-set-fingerprint with other email-address and valid fingerprint - x-get-logfile with error-level sends empty logfile - x-unset-fingerprint with own email-address as admin but without force - x-add-key with an inline mix of key and non-key material - x-resend with iso-8859-1 body - x-resend-cc-encrypted-only to 2 addresses with one missing keys - x-resend-encrypted-only with two matching keys, one of which is expired - x-resend-cc-encrypted-only to 2 addresses with missing keys - x-set-fingerprint with own email-address and valid, spaces-separated fingerprint - x-subscribe without attributes - x-resend does not include internal_footer - x-resend with admin-notification - x-delete-key with valid argument - x-unsubscribe - x-get-version with delivery disabled - x-fetch-key with unknown email-address - x-attach-listkey from Thunderbird with protected headers - x-list-keys with one argument - x-get-version with deprecated x-listname keyword - x-resend-cc to 2 addresses with missing keys - x-resend - x-subscribe with attributes (last one 'true') and spaces-separated fingerprint - x-unset-fingerprint with not-subscribed email-address - does not parse keywords once the mail body started - x-add-key to update a key - x-resend-unencrypted with matching key - x-sign-this with attachments - x-fetch-key with fingerprint of unchanged key - x-resend-cc-encrypted-only with expired key - x-unset-fingerprint with other email-address as admin - x-resend with admin-notification and admin has delivery disabled - x-unsubscribe doesn't unsubscribe last admin - x-get-logfile with debug level sends non-empty logfile - x-unsubscribe with invalid argument - x-unset-fingerprint with own email-address as admin and force - x-set-fingerprint with email-address but without fingerprint - x-resend with invalid recipient - x-list-keys with two arguments - x-fetch-key without arguments - x-set-fingerprint without argument - x-resend-cc-encrypted-only to 2 addresses with matching keys - x-subscribe without attributes, but with spaces-separated fingerprint - x-list-key with correctly prefixed email-sub-string - x-fetch-key with URL - x-set-fingerprint without email-address and with invalid fingerprint - x-set-fingerprint with not-subscribed email-address and valid fingerprint - x-unsubscribe without argument - x-get-version - x-delete-key with not distinctly matching argument - x-get-key with invalid argument - x-delete-key with invalid argument - x-unset-fingerprint with other email-address as non-admin - x-subscribe with attributes and spaces-separated fingerprint - x-resend-cc-encrypted-only to 3 addresses with one missing keys - x-sign-this with inline text - x-attach-listkey - x-set-fingerprint with other email-address and valid fingerprint as non-admin - x-list-keys without arguments - x-add-key with inline key-material - x-add-key with attached key-material - x-get-key with empty argument - x-get-key with valid argument - x-subscribe with attributes (first one 'false') and spaces-separated fingerprint - x-fetch-key with invalid URL - x-subscribe with one attribute and spaces-separated fingerprint - x-list-key with prefixed fingerprint - x-resend-encrypted-only with matching key - x-resend-cc-encrypted-only with matching key - x-unset-fingerprint without argument - x-set-fingerprint without email-address and with valid fingerprint - x-add-key with attached quoted-printable key-material (as produced by Thunderbird) - x-subscribe without arguments - x-fetch-key with fingerprint - x-resend without x-list-name - x-list-subscriptions without arguments but with admin-notification - x-subscribe with attributes - x-fetch-key with unknown fingerprint - x-resend with wrong x-list-name - x-list-key with arbitrary email-sub-string - x-set-fingerprint with own email-address and valid fingerprint - x-list-subscriptions without arguments - with broken utf8 in key - x-add-key with inline key-material - x-list-keys works - x-get-key with valid argument - -subscription via api - unsubscribes members - doesn't subscribe new member without authorization - subscribes new member to a list - subscribes an admin user with a truthy value - subscribes an admin user - subscribes an user and unsets delivery flag - -user sends an encrypted message - from thunderbird being encrypted+signed-inline - from thunderbird being encrypted-mime - from thunderbird being encrypted+signed-mime - from thunderbird being encrypted-inline - -Schleuder::Filters::Runner - is expected to respond to #run - loading filters - loads custom filters from filters_dir even with non-2-digit priority - loads custom filters from filters_dir and sorts them in, ignores filter not following convention - loads custom filters from filters_dir and sorts them in with missing dir - loads filters from built-in filters_dir sorts them - #run - stops on a StandardError and will notify on headers match - stops on a StandardError and will notify admins - runs the filters - stops on a StandardError and returns error - -protected subject - works with mutt protected headers - recognizes keywords in mails with protected headers and empty subject - is not leaked - is included in mime-headers - is included as mime-part in body - don't block request-messages - -version - returns the current schleuder version - Schleuder::Runner #run injects pseudoheaders appropriately into a signed multipart/alternative-message (thunderbird+enigmail-1.9) - delivers a signed error message if a subscription's key is not available on a encrypted-only list - does not throw an error on encrypted but unsigned emails that contain a forwarded encrypted email - injects pseudoheaders appropriately into an unsigned thunderbird-multipart/alternative-message + does not throw an error on emails with broken utf-8 + delivers a signed error message if a subscription's key is expired on a encrypted-only list does not throw an error on emails with large first mime-part does not throw an error on emails that contain other gpg keywords - delivers a signed error message if a subscription's key is expired on a encrypted-only list + injects pseudoheaders appropriately into an unsigned thunderbird-multipart/alternative-message + does not throw an error on encrypted but unsigned emails that contain a forwarded encrypted email + delivers a signed error message if a subscription's key is not available on a encrypted-only list does not throw an error on emails with an attached pgp key as application/octet-stream - does not throw an error on emails with broken utf-8 Quoted-Printable encoding - is handled properly in encrypted emails is handled properly in encrypted+signed emails is handled properly in cleartext emails - mails not encrypted to the list key - handles a mail which was encrypted to a passphrase and returns DecryptionFailed error - handles a mail containing PGP-garbage and returns DecryptionFailed error - handles a mail which was encrypted to an absent key and returns DecryptionFailed error + is handled properly in encrypted emails with a plain text message - does not contain the Autocrypt header if include_autocrypt_header is set to false - doesn't have unwanted headerlines from the original message - contains the list headers if include_list_headers is set to true - has the correct headerlines - contains the Autocrypt header if include_autocrypt_header is set to true - does not include the public_footer includes the internal_footer - does keep the Message-Id as configured contains the specified pseudoheaders in the correct order - delivers the incoming message does not deliver content if send_encrypted_only is set to true + contains the list headers if include_list_headers is set to true + has the correct headerlines + doesn't have unwanted headerlines from the original message + delivers the incoming message + contains the Autocrypt header if include_autocrypt_header is set to true contains the open pgp header if include_openpgp_header is set to true doesn't leak the Message-Id as configured + does not include the public_footer + does not contain the Autocrypt header if include_autocrypt_header is set to false + does keep the Message-Id as configured + mails not encrypted to the list key + handles a mail containing PGP-garbage and returns DecryptionFailed error + handles a mail which was encrypted to an absent key and returns DecryptionFailed error + handles a mail which was encrypted to a passphrase and returns DecryptionFailed error after keyword parsing - falling back works also with non-ascii content falls back to default charset per RFC if none is set + falling back works also with non-ascii content -Schleuder::Filters - .strip_html_from_alternative - does NOT strip HTML-part from multipart/alternative-message that does NOT contain ascii-armored PGP-data - does not choke on nor change a message without Content-Type-header - strips HTML-part from multipart/alternative-message that contains ascii-armored PGP-data - .fix_exchange_messages - works with a text/plain message - fixes pgp/mime-messages that were mangled by Exchange - .strip_html_from_alternative_if_keywords_present - does NOT strip HTML-part from multipart/alternative-message that does NOT contain keywords - strips HTML-part from multipart/alternative-message that contains keywords - does not choke on nor change a message without Content-Type-header +Schleuder::Subscription + is invalid if delivery_enabled is nil + is invalid when list_id is blank + is invalid when email does not contain an @ + formats email address when email begins with a space + removes whitespaces and 0x from the fingerprint + is invalid if the given email is already subscribed for the list + is invalid if admin is blank + is expected to respond to #email + is valid when fingerprint is nil + is valid when fingerprint is empty + is expected to respond to #delivery_enabled + is expected to respond to #list_id + is invalid when email is blank + is expected to respond to #fingerprint + is invalid when fingerprint contains invalid characters + is expected to respond to #admin + has a valid factory + is invalid if delivery_enabled is blank + is invalid when email is nil + is invalid if admin is nil + #fingerprint + transforms the fingerprint to upper case + +protected subject + works with mutt protected headers + don't block request-messages + is included as mime-part in body + is included in mime-headers + is not leaked + recognizes keywords in mails with protected headers and empty subject keys via api + check + does check keys with authorization + doesn't check keys without authorization list does list keys with authorization doesn't list keys without authorization + delete + does delete keys with authorization + doesn't delete keys without authorization a key with broken utf8 in uid does add key already imported - does get key does delete key does list this key - check - does check keys with authorization - doesn't check keys without authorization - import - does list keys with authorization - doesn't import keys without authorization + does get key export doesn't export keys without authorization does list keys with authorization - delete - does delete keys with authorization - doesn't delete keys without authorization + import + does list keys with authorization + doesn't import keys without authorization cli - #refresh_keys - warns about file system permissions if it was run as root - updates keys from the keyserver - updates keys from the keyserver for only a specific list - reports errors from refreshing keys - #pin_keys - only works on the specific list - does not report anything if nothing was done - pins fingerprints on not yet set keys - #commands - exits with a status code of 1 in case the command is not implemented #check_keys warns about file system permissions if it was run as root migrates a v2-list to v3.0 - respects non delivery status of admins - does not fail on duplicated v2 subscriptions - imports the public keys - imports the subscriptions + imports the secret key creates the list - imports the config + warns about file system permissions if it was run as root + imports the public keys + does not fail on duplicated v2 subscriptions does not fail on admin without key - imports the secret key + imports the config + imports the subscriptions + respects non delivery status of admins + #commands + exits with a status code of 1 in case the command is not implemented + #pin_keys + does not report anything if nothing was done + only works on the specific list + pins fingerprints on not yet set keys + #refresh_keys + updates keys from the keyserver for only a specific list warns about file system permissions if it was run as root + reports errors from refreshing keys + updates keys from the keyserver + +running filters + .fix_exchange_messages! + accepts an invalid pgp/mime Exchange message + accepts a valid plain-text message + .max_message_size + bounces to big mails + .strip_html_from_alternative! + does NOT strip HTML-part from multipart/alternative-message that does NOT contain ascii-armored PGP-data + strips HTML-part from multipart/alternative-message that contains ascii-armored PGP-data + +user sends a plain text message + from thunderbird being signed-mime + from thunderbird being plain + from thunderbird being signed-inline + +subscription via api + subscribes an admin user with a truthy value + unsubscribes members + subscribes new member to a list + subscribes an user and unsets delivery flag + doesn't subscribe new member without authorization + subscribes an admin user + +Schleuder::Filters + .strip_html_from_alternative_if_keywords_present + strips HTML-part from multipart/alternative-message that contains keywords + does NOT strip HTML-part from multipart/alternative-message that does NOT contain keywords + does not choke on nor change a message without Content-Type-header + .fix_exchange_messages + fixes pgp/mime-messages that were mangled by Exchange + works with a text/plain message + .strip_html_from_alternative + strips HTML-part from multipart/alternative-message that contains ascii-armored PGP-data + does NOT strip HTML-part from multipart/alternative-message that does NOT contain ascii-armored PGP-data + does not choke on nor change a message without Content-Type-header + +authorization via api + allows un-authorized access to /status.json + blocks un-authorized access to other URLs + allows authorized access Schleuder::List + is invalid when email does not contain an @ + is invalid if munge_from is blank + has a valid factory + is invalid if deliver_selfsent is blank is expected to respond to #public_footer - is invalid if bounces_notify_admins is blank - exports the key with the given fingerprint + is invalid if include_list_headers is nil + is invalid if internal_footer includes a non-printable character + is invalid if set_reply_to_to_sender is blank + is invalid if headers_to_meta contains special characters + is expected to respond to #subscriptions + is invalid if keywords_admin_only contains special characters + is invalid if receive_admin_only is blank + is expected to respond to #forward_all_incoming_to_admins + is invalid if bounces_drop_all is nil + is invalid if include_list_headers is blank is invalid when email is blank - is expected to respond to #internal_footer is valid if headers_to_meta does not contain special characters - is expected to respond to #keep_msgid - is expected to respond to #set_reply_to_to_sender + is expected to respond to #internal_footer + is valid if subject_prefix_in is nil + is valid if subject_prefix is nil + is invalid if receive_from_subscribed_emailaddresses_only is nil + is invalid if include_list_headers is nil + is invalid if set_reply_to_to_sender is nil + is expected to respond to #keywords_admin_notify + is invalid if receive_encrypted_only is blank + is valid if keywords_admin_only does not contain special characters + is expected to respond to #include_list_headers + is invalid if keep_msgid is nil + is expected to respond to #logfiles_to_keep is invalid if include_list_headers is blank - is invalid if subject_prefix_in contains a linebreak - is expected to respond to #receive_admin_only is expected to respond to #deliver_selfsent - is invalid if keep_msgid is nil - is expected to respond to #email - is invalid if subject_prefix_out contains a linebreak + is expected to respond to #bounces_drop_on_headers + is invalid if log_level is foobar + is expected to respond to #receive_admin_only + is invalid if openpgp_header_preference is foobar + is invalid when fingerprint is blank + is expected to respond to #openpgp_header_preference + is valid if keywords_admin_notify does not contain special characters + is valid if subject_prefix_out is nil + is invalid if keywords_admin_notify contains special characters + is invalid if bounces_drop_on_headers contains special characters is invalid if subject_prefix contains a linebreak - is invalid if receive_from_subscribed_emailaddresses_only is blank - is expected to respond to #logfiles_to_keep - is invalid when email is nil is expected to respond to #receive_signed_only - is expected to respond to #headers_to_meta - is invalid when fingerprint is blank - is invalid if forward_all_incoming_to_admins is blank - is expected to respond to #forward_all_incoming_to_admins - is invalid if bounces_drop_all is nil - is invalid if set_reply_to_to_sender is nil - is expected to respond to #log_level - is expected to respond to #include_list_headers - is invalid if deliver_selfsent is blank + is invalid if forward_all_incoming_to_admins is nil + is invalid if include_openpgp_header is nil + is expected to respond to #set_reply_to_to_sender is invalid if munge_from is nil - is invalid if bounces_drop_on_headers contains special characters - is invalid if log_level is foobar - is invalid if keywords_admin_notify contains special characters + is expected to respond to #receive_from_subscribed_emailaddresses_only + is invalid if forward_all_incoming_to_admins is blank + is invalid if max_message_size_kb is 0 + is invalid if receive_admin_only is nil is invalid if send_encrypted_only is nil - is invalid if receive_encrypted_only is nil - is expected to respond to #receive_encrypted_only - is valid if subject_prefix_in is nil - is invalid if openpgp_header_preference is foobar - is invalid if receive_admin_only is blank - is invalid if include_list_headers is nil - is invalid if receive_encrypted_only is blank + exports the key with the given fingerprint + is expected to respond to #bounces_drop_all + is invalid if receive_signed_only is blank + is invalid if bounces_notify_admins is nil + is invalid if receive_authenticated_only is nil + is invalid if receive_authenticated_only is blank + is expected to respond to #keep_msgid + is expected to respond to #bounces_notify_admins + is invalid when email is nil + is expected to respond to #send_encrypted_only is invalid if send_encrypted_only is blank + is invalid if bounces_notify_admins is blank + is expected to respond to #log_level + is expected to respond to #subject_prefix_in + is invalid if receive_from_subscribed_emailaddresses_only is blank + is expected to respond to #include_openpgp_header is expected to respond to #subject_prefix_out - is expected to respond to #language - is invalid when fingerprint is nil - is invalid if bounces_drop_all is blank - is invalid if deliver_selfsent is nil - is invalid when email does not contain an @ - is invalid if forward_all_incoming_to_admins is nil - is invalid if munge_from is blank - is valid if keywords_admin_notify does not contain special characters - is expected to respond to #bounces_notify_admins - is invalid if bounces_notify_admins is nil - is invalid if language is jp - is expected to respond to #subject_prefix is expected to respond to #max_message_size_kb - is invalid if include_list_headers is nil - is valid if keywords_admin_only does not contain special characters - is invalid if receive_signed_only is blank - is invalid if internal_footer includes a non-printable character - is invalid when email contains a space - is expected to respond to #receive_from_subscribed_emailaddresses_only - is invalid if include_list_headers is blank - is invalid if set_reply_to_to_sender is blank - is valid if subject_prefix is nil - is expected to respond to #subject_prefix_in - is invalid if logfiles_to_keep is 0 - is expected to respond to #send_encrypted_only + is expected to respond to #email + is invalid if receive_signed_only is nil + is expected to respond to #subject_prefix + is invalid if subject_prefix_in contains a linebreak + is expected to respond to #headers_to_meta is expected to respond to #fingerprint - is invalid if public_footer includes a non-printable character - is expected to respond to #keywords_admin_notify - is invalid if receive_from_subscribed_emailaddresses_only is nil - is expected to respond to #bounces_drop_on_headers - is invalid if keywords_admin_only contains special characters - is invalid if receive_authenticated_only is blank - is expected to respond to #bounces_drop_all - is invalid if receive_authenticated_only is nil - is expected to respond to #include_openpgp_header + is invalid when fingerprint contains invalid characters is invalid if keep_msgid is blank - is expected to respond to #subscriptions - is expected to respond to #openpgp_header_preference - has a valid factory - is expected to respond to #munge_from - is valid if subject_prefix_out is nil - is invalid if headers_to_meta contains special characters - is invalid if max_message_size_kb is 0 - is invalid if include_openpgp_header is blank - is invalid if receive_signed_only is nil - is invalid if include_openpgp_header is nil - is invalid if receive_admin_only is nil + is invalid if subject_prefix_out contains a linebreak + is invalid if language is jp + is invalid if receive_encrypted_only is nil is expected to respond to #receive_authenticated_only + is invalid if deliver_selfsent is nil + is invalid if public_footer includes a non-printable character + is invalid when fingerprint is nil + is invalid if include_openpgp_header is blank + is expected to respond to #language is expected to respond to #keywords_admin_only - is invalid when fingerprint contains invalid characters - send_list_key_to_subscriptions - sends its key to all subscriptions + is expected to respond to #munge_from + is invalid if bounces_drop_all is blank + is invalid if logfiles_to_keep is 0 + is invalid when email contains a space + is expected to respond to #receive_encrypted_only + #sendkey_address + adds the sendkey keyword to the email address + #munge_from + is disabled by default + does not munge from address when disabled + sets from to munged version when enabled + .configurable_attributes + returns an array that contains the configurable attributes + does not contain the attributes email and fingerprint + #gpg + returns an instance of GPGME::Ctx + sets the GNUPGHOME environment variable to the listdir + #request_address + adds the request keyword to the email address #key_minimal_base64_encoded - does not return the key with the fingerprint in an Autocrypt-compatible format if the argument given does not correspond to a key returns the key with the fingerprint of the list if no argument is given in an Autocrypt-compatible format + does not return the key with the fingerprint in an Autocrypt-compatible format if the argument given does not correspond to a key + #set_reply_to_to_sender + is disabled by default + does not set reply_to mail address when disabled + sets reply-to to senders from-address when enabled + prefers reply_to of the sender over from when existing + #send_to_subscriptions + sends the message only to subscribers with available keys if send_encrypted_only is true, and a notification to the other subscribers + sends the message to all subscribers but not the sender, if deliver_selfsent is false and the mail is correctly signed + sends the message only to subscribers with usable keys if send_encrypted_only is true, and a notification to the other subscribers + sends the message to all subscribers, in the clear if one's key is unusable, if send_encrypted_only is false + sends the message to all subscribers including the sender, if deliver_selfsent is false but the mail is not correctly signed + sends the message to all subscribers + sends the message to all subscribers including the sender, if deliver_selfsent is true and the mail is correctly signed #delete_key - returns false if no key with the fingerprint was found deletes the key with the given fingerprint + returns false if no key with the fingerprint was found + #secret_key + returns the secret key with the fingerprint of the list + #key + returns the key with the fingerprint of the list + #fingerprint + transforms the fingerprint to upper case + removes whitespaces and 0x from the fingerprint + #logfile + returns the logfile path + #logger + calls the ListLogger #check_keys adds a message if a key expires in two weeks or less adds a message if a key is revoked adds a message if a key is invalid adds a message if a key is disabled - #keys - returns an array with the keys matching the given email address - returns an array with the keys matching the given bracketed email address - returns an array of keys matching the given fingerprint - it returns an array with the keys of the list - #fetch_keys - fetches one key by URL - fetches one key by fingerprint - fetches one key by email address - does not import non-self-signatures if gpg >= 2.1.15; or else sends a warning - #bounce_address - adds the bounce keyword to the email address - #export_key - exports the key with the fingerprint of the list if no argument is given + send_list_key_to_subscriptions + sends its key to all subscriptions #owner_address adds the owner keyword to the email address - .by_recipient - returns the list for a given address - #logfile - returns the logfile path - #request_address - adds the request keyword to the email address - .configurable_attributes - does not contain the attributes email and fingerprint - returns an array that contains the configurable attributes #import_key imports a given key - #to_s - returns the email - #gpg - returns an instance of GPGME::Ctx - sets the GNUPGHOME environment variable to the listdir - #munge_from - is disabled by default - does not munge from address when disabled - sets from to munged version when enabled #admins returns subscriptions of admin users - #key - returns the key with the fingerprint of the list - #secret_key - returns the secret key with the fingerprint of the list - #logger - calls the ListLogger - #fingerprint - transforms the fingerprint to upper case - removes whitespaces and 0x from the fingerprint - #sendkey_address - adds the sendkey keyword to the email address + .by_recipient + returns the list for a given address + #export_key + exports the key with the fingerprint of the list if no argument is given #subscribe + subscribes and sets the fingerprint from key material that contains exactly one key subscribes and does not set the fingerprint from key material containing multiple keys - subscribes and ignores a given fingerprint if key material is given, too subscribes and ignores nil-values for admin and delivery_enabled - subscribes and sets the fingerprint from key material that contains exactly one key subscribes and does not set the fingerprint from key material containing no keys - #set_reply_to_to_sender - does not set reply_to mail address when disabled - sets reply-to to senders from-address when enabled - prefers reply_to of the sender over from when existing - is disabled by default - #send_to_subscriptions - sends the message to all subscribers including the sender, if deliver_selfsent is false but the mail is not correctly signed - sends the message to all subscribers - sends the message to all subscribers, in the clear if one's key is unusable, if send_encrypted_only is false - sends the message to all subscribers but not the sender, if deliver_selfsent is false and the mail is correctly signed - sends the message only to subscribers with usable keys if send_encrypted_only is true, and a notification to the other subscribers - sends the message only to subscribers with available keys if send_encrypted_only is true, and a notification to the other subscribers - sends the message to all subscribers including the sender, if deliver_selfsent is true and the mail is correctly signed + subscribes and ignores a given fingerprint if key material is given, too + #bounce_address + adds the bounce keyword to the email address + #fetch_keys + fetches one key by URL + fetches one key by fingerprint + fetches one key by email address + does not import non-self-signatures if gpg >= 2.1.15; or else sends a warning + #to_s + returns the email + #keys + returns an array of keys matching the given fingerprint + it returns an array with the keys of the list + returns an array with the keys matching the given bracketed email address + returns an array with the keys matching the given email address + +version + returns the current schleuder version + +someone sends an email to a listname-dash-address + forwards the message to the admins if extension is -owner + forwards the message to the admins if extension is -bounce and it's a real bounce mail + sends the list's key as reply to -sendkey + forwards the message to the admins if extension is -bounce + +Mail::Message + does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_02.txt.eml as normal message + does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_06.txt.eml as normal message + does not misclassify bounce spec/fixtures/mails/bounces/tt_1234211357.txt.eml as normal message + does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_21.txt.eml as normal message + recognizes a sudo message with 'Auto-Submitted'-header NOT as automated message + does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_17.txt.eml as normal message + does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_22.txt.eml as normal message + adds list#public_footer as last mime-part without changing its value + does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_10.txt.eml as normal message + does not misclassify normal message spec/fixtures/mails/not_bounces/Bug_948981-_marked_as_pending_in_schleuder.eml as bounce + does not misclassify bounce spec/fixtures/mails/bounces/tt_1234285668.txt.eml as normal message + does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_24.txt.eml as normal message + does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_15.txt.eml as normal message + does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_23.txt.eml as normal message + does not misclassify bounce spec/fixtures/mails/bounces/tt_1234210655.txt.eml as normal message + does not misclassify normal message spec/fixtures/mails/not_bounces/tt_1234210666.txt.eml as bounce + does not misclassify bounce spec/fixtures/mails/bounces/unknown_code_bounce_01.txt.eml as normal message + does not misclassify bounce spec/fixtures/mails/bounces/tt_1234175799.txt.eml as normal message + does not misclassify normal message spec/fixtures/mails/not_bounces/tt_1234241664.txt.eml as bounce + does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_19.txt.eml as normal message + does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_25.txt.eml as normal message + does not misclassify normal message spec/fixtures/mails/not_bounces/Bug_948982-_marked_as_pending_in_schleuder.eml as bounce + adds list#internal_footer as last mime-part without changing its value + verifies an encapsulated (signed-then-encrypted) message + does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_08.txt.eml as normal message + does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_13.txt.eml as normal message + does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_12_soft.txt.eml as normal message + does not misclassify bounce spec/fixtures/mails/bounces/tt_1234285532.txt.eml as normal message + does not misclassify normal message spec/fixtures/mails/not_bounces/Bug_948980-_marked_as_pending_in_schleuder.eml as bounce + does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_03.txt.eml as normal message + doesn't change the order of mime-parts + does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_01.txt.eml as normal message + recognizes a cron message with 'Auto-Submitted'-header NOT as automated message + does not misclassify bounce spec/fixtures/mails/bounces/malformed_bounce_01.txt.eml as normal message + does not misclassify bounce spec/fixtures/mails/bounces/tt_1234177688.txt.eml as normal message + does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_11.txt.eml as normal message + recognizes bounce message subject using the bounce_email gem + does not misclassify bounce spec/fixtures/mails/bounces/tt_1234211932.txt.eml as normal message + does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_14.txt.eml as normal message + does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_05.txt.eml as normal message + does not misclassify bounce spec/fixtures/mails/bounces/undeliverable_gmail.txt.eml as normal message + does not misclassify bounce spec/fixtures/mails/bounces/tt_1234211929.txt.eml as normal message + recognizes a message sent to listname-bounce@hostname as automated message + does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_18.txt.eml as normal message + does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_07.txt.eml as normal message + does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_04.txt.eml as normal message + does not misclassify normal message spec/fixtures/mails/not_bounces/tt_1234211024.txt.eml as bounce + does not misclassify bounce spec/fixtures/mails/bounces/tt_1234211931.txt.eml as normal message + does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_20.txt.eml as normal message + does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_16.txt.eml as normal message + does not misclassify bounce spec/fixtures/mails/bounces/tt_bounce_09.txt.eml as normal message + recognizes a Jenkins message with 'Auto-Submitted'-header NOT as automated message + does not misclassify bounce spec/fixtures/mails/bounces/tt_1234241665.txt.eml as normal message + #add_subject_prefix! + adds a configured subject prefix without subject + does not add a subject prefix if already present + adds a configured subject prefix + makes a pseudo header + with key / value + that multiline are getting wrapped + that single multiline are getting indented + that is getting wrapped + with empty value + without value + that a multiline with less than 76 get wrapped correctly on the first line + that a multiline with less than 76 get wrapped correctly on the first line and the following lines + that a line with less than 76 gets wrapped + +Schleuder::Filters::Runner + is expected to respond to #run + #run + stops on a StandardError and will notify on headers match + stops on a StandardError and returns error + runs the filters + stops on a StandardError and will notify admins + loading filters + loads custom filters from filters_dir and sorts them in, ignores filter not following convention + loads custom filters from filters_dir and sorts them in with missing dir + loads custom filters from filters_dir even with non-2-digit priority + loads filters from built-in filters_dir sorts them + +Schleuder::ListBuilder + returns an error-message if given an invalid email-address with a space + subscribes the adminaddress and imports the adminkey + subscribes the adminaddress and respects the given adminfingerprint + creates a list-key with all required UIDs + subscribes the adminaddress and ignores the adminfingerprint if an adminkey was given + creates a new, valid list + creates a listdir for the list + returns an error-message if given an invalid email-address status returns status code 200 -Finished in 8 minutes 41 seconds (files took 3.62 seconds to load) +user sends an encrypted message + from thunderbird being encrypted+signed-inline + from thunderbird being encrypted-mime + from thunderbird being encrypted+signed-mime + from thunderbird being encrypted-inline + +Schleuder::Conf + reads ERB code in config files + +user sends emails with different charsets + works with japanese_attachment_long_name + works with signed_utf8 + works with japanese + works with simple_jpiso2022 + works with japanese_iso_2022 + works with simple_jis + works with simple_latin1 + works with japanese_shift_jis + works with thunderbird-multi-alt-html + works with simple_utf8 + works with ks_c_5601-1987 + works with japanese_attachment + +user sends keyword + x-fetch-key with invalid URL + x-list-subscriptions with non-matching argument + x-set-fingerprint with email-address but without fingerprint + x-get-key with invalid argument + x-fetch-key with fingerprint + x-subscribe without attributes + x-resend with admin-notification and admin has delivery disabled + x-set-fingerprint with not-subscribed email-address and valid fingerprint + x-add-key with garbage as key-material + x-get-key with empty argument + x-add-key to update a key + x-set-fingerprint with own email-address and valid fingerprint + x-list-key with prefixed fingerprint + x-get-version with delivery disabled + x-sign-this with inline text + x-list-key with arbitrary email-sub-string + x-unset-fingerprint without argument + x-set-fingerprint without email-address and with invalid fingerprint + x-set-fingerprint with other email-address and valid fingerprint + x-get-key with valid argument + x-resend with utf-8 body and umlauts + x-resend with wrong x-list-name + x-resend-encrypted-only with matching key + x-fetch-key with unknown email-address + x-resend-encrypted-only with two matching keys, one of which is expired + x-unset-fingerprint with own email-address as admin and force + x-list-subscriptions without arguments but with admin-notification + x-unset-fingerprint with other email-address as admin + x-add-key with attached quoted-printable key-material (as produced by Thunderbird) + x-attach-listkey from Thunderbird with protected headers + x-unset-fingerprint with own email-address as admin but without force + x-resend does not include internal_footer + x-fetch-key with fingerprint of unchanged key + x-subscribe with attributes and spaces-separated fingerprint + x-list-subscriptions without arguments + x-resend-cc-encrypted-only to 2 addresses with one missing keys + x-subscribe without attributes, but with spaces-separated fingerprint + x-attach-listkey + x-subscribe with attributes (first one 'false') and spaces-separated fingerprint + x-get-version with deprecated x-listname keyword + x-unset-fingerprint with not-subscribed email-address + x-unsubscribe + x-delete-key with invalid argument + x-resend with invalid recipient + x-resend with admin-notification + x-delete-key without argument + x-set-fingerprint with other email-address and valid fingerprint as non-admin + x-resend without x-list-name + x-resend-cc-encrypted-only with expired key + x-list-subscriptions with matching argument + x-fetch-key without arguments + x-resend-cc to 2 addresses with missing keys + x-subscribe with attributes + x-unset-fingerprint with other email-address as non-admin + x-unsubscribe without argument + x-set-fingerprint with email-address but without valid fingerprint + x-get-logfile with error-level sends empty logfile + x-set-fingerprint without argument + x-add-key with attached key-material + x-resend-encrypted-only with expired key + x-add-key with inline key-material + x-resend-cc-encrypted-only to 3 addresses with one missing keys + x-resend-unencrypted with matching key + x-list-keys with one argument + x-resend-cc-encrypted-only to 2 addresses with matching keys + x-list-keys with two arguments + x-subscribe with one attribute and spaces-separated fingerprint + x-resend-cc-encrypted-only to 2 addresses with missing keys + x-set-fingerprint with own email-address and valid, spaces-separated fingerprint + x-fetch-key with unknown fingerprint + x-fetch-key with invalid input + x-fetch-key with URL + x-get-version + x-unsubscribe doesn't unsubscribe last admin + x-resend + x-resend-cc-encrypted-only with matching key + x-subscribe without arguments + x-list-keys without arguments + does not parse keywords once the mail body started + x-get-logfile with debug level sends non-empty logfile + x-delete-key with not distinctly matching argument + x-subscribe with attributes (last one 'true') and spaces-separated fingerprint + x-unsubscribe with invalid argument + x-list-key with correctly prefixed email-sub-string + x-delete-key with valid argument + x-set-fingerprint without email-address and with valid fingerprint + x-fetch-key with email address + x-sign-this with attachments + x-resend with iso-8859-1 body + x-resend-cc to 2 addresses with one missing keys + x-add-key with an inline mix of key and non-key material + with broken utf8 in key + x-get-key with valid argument + x-add-key with inline key-material + x-list-keys works + +Finished in 9 minutes 31 seconds (files took 4.15 seconds to load) 487 examples, 0 failures -Randomized with seed 3590 +Randomized with seed 57209 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -1892,10 +1927,10 @@ install -p -m0644 ./man/schleuder.8 debian/schleuder/usr/share/man/man8/schleuder.8 man-recode --to-code UTF-8 --suffix .dh-new debian/schleuder/usr/share/man/man8/schleuder-api-daemon.8 man-recode --to-code UTF-8 --suffix .dh-new debian/schleuder/usr/share/man/man8/schleuder.8 - mv debian/schleuder/usr/share/man/man8/schleuder.8.dh-new debian/schleuder/usr/share/man/man8/schleuder.8 - chmod 0644 -- debian/schleuder/usr/share/man/man8/schleuder.8 mv debian/schleuder/usr/share/man/man8/schleuder-api-daemon.8.dh-new debian/schleuder/usr/share/man/man8/schleuder-api-daemon.8 chmod 0644 -- debian/schleuder/usr/share/man/man8/schleuder-api-daemon.8 + mv debian/schleuder/usr/share/man/man8/schleuder.8.dh-new debian/schleuder/usr/share/man/man8/schleuder.8 + chmod 0644 -- debian/schleuder/usr/share/man/man8/schleuder.8 dh_installcron -O--buildsystem=ruby install -d debian/schleuder/etc/cron.weekly install -p -m0755 debian/schleuder.cron.weekly debian/schleuder/etc/cron.weekly/schleuder @@ -1986,12 +2021,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/1969/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1969/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/4725 and its subdirectories -I: Current time: Wed Nov 20 12:09:51 -12 2024 -I: pbuilder-time-stamp: 1732147791 +I: removing directory /srv/workspace/pbuilder/1969 and its subdirectories +I: Current time: Fri Oct 20 07:58:08 +14 2023 +I: pbuilder-time-stamp: 1697738288