Diff of the two buildlogs: -- --- b1/build.log 2021-08-24 08:38:48.004574458 +0000 +++ b2/build.log 2021-08-24 08:47:43.568643049 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Aug 23 20:37:00 -12 2021 -I: pbuilder-time-stamp: 1629794220 +I: Current time: Tue Aug 24 22:39:04 +14 2021 +I: pbuilder-time-stamp: 1629794344 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 [./ruby-slack-messenger_2.3.4-1.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.i9TqWN4g/trustedkeys.kbx': General error -gpgv: Signature made Wed Dec 2 22:28:29 2020 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.ccZSX4Wu/trustedkeys.kbx': General error +gpgv: Signature made Fri Dec 4 00:28:29 2020 +14 gpgv: using RSA key 71DDC5C6BE869A4641D779FEC7EA1BE1574DED5D gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./ruby-slack-messenger_2.3.4-1.dsc @@ -26,135 +26,169 @@ dpkg-source: info: unpacking ruby-slack-messenger_2.3.4-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/7017/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/7485/tmp/hooks/D01_modify_environment starting +debug: Running on jtx1b. +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/7485/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/7485/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='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=3' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='armhf' + 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]="arm-unknown-linux-gnueabihf") + 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=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=4' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='7991b9cb4fc14898a292ca5e8536dbfa' - 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='7017' - PS1='# ' - PS2='> ' + INVOCATION_ID=c18614038942403ca40dde479f4a8368 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + 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=7485 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.AB8bRnrRWw/pbuilderrc_Y5Ll --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.AB8bRnrRWw/b1 --logfile b1/build.log ruby-slack-messenger_2.3.4-1.dsc' - SUDO_GID='112' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:8000/' + 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.AB8bRnrRWw/pbuilderrc_LBdb --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.AB8bRnrRWw/b2 --logfile b2/build.log ruby-slack-messenger_2.3.4-1.dsc' + SUDO_GID=114 + SUDO_UID=110 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:8000/ I: uname -a - Linux virt32b 5.10.0-8-armmp-lpae #1 SMP Debian 5.10.46-4 (2021-08-03) armv7l GNU/Linux + Linux i-capture-the-hostname 5.10.0-8-arm64 #1 SMP Debian 5.10.46-4 (2021-08-03) aarch64 GNU/Linux I: ls -l /bin total 3580 - -rwxr-xr-x 1 root root 816764 Aug 4 08:25 bash - -rwxr-xr-x 3 root root 26052 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 26052 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 26052 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 9636 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 26668 Sep 22 2020 cat - -rwxr-xr-x 1 root root 43104 Sep 22 2020 chgrp - -rwxr-xr-x 1 root root 38984 Sep 22 2020 chmod - -rwxr-xr-x 1 root root 43112 Sep 22 2020 chown - -rwxr-xr-x 1 root root 92616 Sep 22 2020 cp - -rwxr-xr-x 1 root root 75524 Dec 10 2020 dash - -rwxr-xr-x 1 root root 75880 Sep 22 2020 date - -rwxr-xr-x 1 root root 55436 Sep 22 2020 dd - -rwxr-xr-x 1 root root 59912 Sep 22 2020 df - -rwxr-xr-x 1 root root 96764 Sep 22 2020 dir - -rwxr-xr-x 1 root root 55012 Jul 28 07:09 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 22508 Sep 22 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 22496 Sep 22 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 47492 Jul 28 07:09 findmnt - -rwsr-xr-x 1 root root 26076 Feb 26 04:12 fusermount - -rwxr-xr-x 1 root root 124508 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 64212 Mar 2 11:30 gzip - -rwxr-xr-x 1 root root 13784 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 43180 Sep 22 2020 ln - -rwxr-xr-x 1 root root 35068 Feb 7 2020 login - -rwxr-xr-x 1 root root 96764 Sep 22 2020 ls - -rwxr-xr-x 1 root root 99940 Jul 28 07:09 lsblk - -rwxr-xr-x 1 root root 51408 Sep 22 2020 mkdir - -rwxr-xr-x 1 root root 43184 Sep 22 2020 mknod - -rwxr-xr-x 1 root root 30780 Sep 22 2020 mktemp - -rwxr-xr-x 1 root root 34408 Jul 28 07:09 more - -rwsr-xr-x 1 root root 34400 Jul 28 07:09 mount - -rwxr-xr-x 1 root root 9824 Jul 28 07:09 mountpoint - -rwxr-xr-x 1 root root 88524 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 26652 Sep 22 2020 pwd - lrwxrwxrwx 1 root root 4 Aug 4 08:25 rbash -> bash - -rwxr-xr-x 1 root root 30740 Sep 22 2020 readlink - -rwxr-xr-x 1 root root 43104 Sep 22 2020 rm - -rwxr-xr-x 1 root root 30732 Sep 22 2020 rmdir - -rwxr-xr-x 1 root root 14144 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 76012 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Aug 20 21:25 sh -> dash - -rwxr-xr-x 1 root root 22532 Sep 22 2020 sleep - -rwxr-xr-x 1 root root 55360 Sep 22 2020 stty - -rwsr-xr-x 1 root root 46704 Jul 28 07:09 su - -rwxr-xr-x 1 root root 22532 Sep 22 2020 sync - -rwxr-xr-x 1 root root 340872 Feb 16 2021 tar - -rwxr-xr-x 1 root root 9808 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 67696 Sep 22 2020 touch - -rwxr-xr-x 1 root root 22496 Sep 22 2020 true - -rwxr-xr-x 1 root root 9636 Feb 26 04:12 ulockmgr_server - -rwsr-xr-x 1 root root 22108 Jul 28 07:09 umount - -rwxr-xr-x 1 root root 22520 Sep 22 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 uncompress - -rwxr-xr-x 1 root root 96764 Sep 22 2020 vdir - -rwxr-xr-x 1 root root 38512 Jul 28 07:09 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/7017/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 816764 Aug 5 10:25 bash + -rwxr-xr-x 3 root root 26052 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 26052 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 26052 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 9636 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 26668 Sep 23 2020 cat + -rwxr-xr-x 1 root root 43104 Sep 23 2020 chgrp + -rwxr-xr-x 1 root root 38984 Sep 23 2020 chmod + -rwxr-xr-x 1 root root 43112 Sep 23 2020 chown + -rwxr-xr-x 1 root root 92616 Sep 23 2020 cp + -rwxr-xr-x 1 root root 75524 Dec 11 2020 dash + -rwxr-xr-x 1 root root 75880 Sep 23 2020 date + -rwxr-xr-x 1 root root 55436 Sep 23 2020 dd + -rwxr-xr-x 1 root root 59912 Sep 23 2020 df + -rwxr-xr-x 1 root root 96764 Sep 23 2020 dir + -rwxr-xr-x 1 root root 55012 Jul 29 09:09 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 22508 Sep 23 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 22496 Sep 23 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 47492 Jul 29 09:09 findmnt + -rwsr-xr-x 1 root root 26076 Feb 27 06:12 fusermount + -rwxr-xr-x 1 root root 124508 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 13:30 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 13:30 gzexe + -rwxr-xr-x 1 root root 64212 Mar 3 13:30 gzip + -rwxr-xr-x 1 root root 13784 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 43180 Sep 23 2020 ln + -rwxr-xr-x 1 root root 35068 Feb 8 2020 login + -rwxr-xr-x 1 root root 96764 Sep 23 2020 ls + -rwxr-xr-x 1 root root 99940 Jul 29 09:09 lsblk + -rwxr-xr-x 1 root root 51408 Sep 23 2020 mkdir + -rwxr-xr-x 1 root root 43184 Sep 23 2020 mknod + -rwxr-xr-x 1 root root 30780 Sep 23 2020 mktemp + -rwxr-xr-x 1 root root 34408 Jul 29 09:09 more + -rwsr-xr-x 1 root root 34400 Jul 29 09:09 mount + -rwxr-xr-x 1 root root 9824 Jul 29 09:09 mountpoint + -rwxr-xr-x 1 root root 88524 Sep 23 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 19 05:38 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 26652 Sep 23 2020 pwd + lrwxrwxrwx 1 root root 4 Aug 5 10:25 rbash -> bash + -rwxr-xr-x 1 root root 30740 Sep 23 2020 readlink + -rwxr-xr-x 1 root root 43104 Sep 23 2020 rm + -rwxr-xr-x 1 root root 30732 Sep 23 2020 rmdir + -rwxr-xr-x 1 root root 14144 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 76012 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Aug 24 22:39 sh -> bash + lrwxrwxrwx 1 root root 4 Aug 21 23:28 sh.distrib -> dash + -rwxr-xr-x 1 root root 22532 Sep 23 2020 sleep + -rwxr-xr-x 1 root root 55360 Sep 23 2020 stty + -rwsr-xr-x 1 root root 46704 Jul 29 09:09 su + -rwxr-xr-x 1 root root 22532 Sep 23 2020 sync + -rwxr-xr-x 1 root root 340872 Feb 17 2021 tar + -rwxr-xr-x 1 root root 9808 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 67696 Sep 23 2020 touch + -rwxr-xr-x 1 root root 22496 Sep 23 2020 true + -rwxr-xr-x 1 root root 9636 Feb 27 06:12 ulockmgr_server + -rwsr-xr-x 1 root root 22108 Jul 29 09:09 umount + -rwxr-xr-x 1 root root 22520 Sep 23 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 13:30 uncompress + -rwxr-xr-x 1 root root 96764 Sep 23 2020 vdir + -rwxr-xr-x 1 root root 38512 Jul 29 09:09 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 13:30 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 13:30 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 13:30 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 13:30 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 13:30 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 13:30 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 13:30 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 13:30 zless + -rwxr-xr-x 1 root root 1842 Mar 3 13:30 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 13:30 znew +I: user script /srv/workspace/pbuilder/7485/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -327,7 +361,7 @@ Get: 129 http://deb.debian.org/debian bullseye/main armhf ruby-rspec-expectations all 3.9.0c2e2m1s3-2 [89.9 kB] Get: 130 http://deb.debian.org/debian bullseye/main armhf ruby-rspec-mocks all 3.9.0c2e2m1s3-2 [81.4 kB] Get: 131 http://deb.debian.org/debian bullseye/main armhf ruby-rspec all 3.9.0c2e2m1s3-2 [8348 B] -Fetched 42.4 MB in 5s (8249 kB/s) +Fetched 42.4 MB in 6s (7401 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 ... 19398 files and directories currently installed.) @@ -876,7 +910,8 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/ruby-slack-messenger-2.3.4/ && 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 > ../ruby-slack-messenger_2.3.4-1_source.changes +hostname: Name or service not known +I: Running cd /build/ruby-slack-messenger-2.3.4/ && 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 > ../ruby-slack-messenger_2.3.4-1_source.changes dpkg-buildpackage: info: source package ruby-slack-messenger dpkg-buildpackage: info: source version 2.3.4-1 dpkg-buildpackage: info: source distribution unstable @@ -907,13 +942,13 @@ dh_auto_install -O--buildsystem=ruby dh_ruby --install /build/ruby-slack-messenger-2.3.4/debian/ruby-slack-messenger dh_ruby --install -/usr/bin/ruby2.7 -S gem build --config-file /dev/null --verbose /tmp/d20210823-18941-1py4tlw/gemspec +/usr/bin/ruby2.7 -S gem build --config-file /dev/null --verbose /tmp/d20210824-22435-zmp4b3/gemspec Failed to load /dev/null because it doesn't contain valid YAML hash Successfully built RubyGem Name: slack-messenger Version: 2.3.4 File: slack-messenger-2.3.4.gem -/usr/bin/ruby2.7 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-slack-messenger/usr/share/rubygems-integration/all /tmp/d20210823-18941-1py4tlw/slack-messenger-2.3.4.gem +/usr/bin/ruby2.7 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-slack-messenger/usr/share/rubygems-integration/all /tmp/d20210824-22435-zmp4b3/slack-messenger-2.3.4.gem Failed to load /dev/null because it doesn't contain valid YAML hash /build/ruby-slack-messenger-2.3.4/debian/ruby-slack-messenger/usr/share/rubygems-integration/all/gems/slack-messenger-2.3.4/lib/slack-messenger.rb /build/ruby-slack-messenger-2.3.4/debian/ruby-slack-messenger/usr/share/rubygems-integration/all/gems/slack-messenger-2.3.4/lib/slack-messenger/config.rb @@ -938,7 +973,7 @@ rm -rf extensions cd gems/slack-messenger-2.3.4 rm -f -chmod 644 lib/slack-messenger/version.rb lib/slack-messenger/payload_middleware/at.rb lib/slack-messenger/payload_middleware/format_attachments.rb lib/slack-messenger/payload_middleware/channels.rb lib/slack-messenger/payload_middleware/format_message.rb lib/slack-messenger/payload_middleware/base.rb lib/slack-messenger/payload_middleware/stack.rb lib/slack-messenger/config.rb lib/slack-messenger/payload_middleware.rb lib/slack-messenger/util/link_formatter.rb lib/slack-messenger/util/escape.rb lib/slack-messenger/util/http_client.rb lib/slack-messenger.rb +chmod 644 lib/slack-messenger.rb lib/slack-messenger/version.rb lib/slack-messenger/payload_middleware/format_message.rb lib/slack-messenger/payload_middleware/stack.rb lib/slack-messenger/payload_middleware/base.rb lib/slack-messenger/payload_middleware/format_attachments.rb lib/slack-messenger/payload_middleware/at.rb lib/slack-messenger/payload_middleware/channels.rb lib/slack-messenger/payload_middleware.rb lib/slack-messenger/config.rb lib/slack-messenger/util/http_client.rb lib/slack-messenger/util/escape.rb lib/slack-messenger/util/link_formatter.rb find lib/ -type d -empty -delete cd - cd - @@ -960,141 +995,141 @@ All examples were filtered out; ignoring {:focus=>true} -Randomized with seed 3734 +Randomized with seed 41195 -Slack::Messenger::PayloadMiddleware::FormatAttachments - returns the payload unmodified if not :attachments key - wraps attachment into array if given as a single hash - can handle a single attachment - passes the text of attachments through linkformatter with options[:formats] - searches through string or symbol keys - -Slack::Messenger::Util::LinkFormatter - ::format - handles mixed html & markdown links - formats html links - handles mailto links in html - formats a number of differently formatted links - formats markdown links with no title - handles multiple html links - handles mailto links in markdown - formats markdown links - doesn't replace valid Japanese - handles links with trailing parentheses - formats markdown links in brackets - handles multiple markdown links - when on ruby 2.1+ or have string-scrub installed - replaces invalid unicode sequences with the unicode replacement character - handles invalid unicode sequences - with a configured stack - only formats markdown if markdown is the only item in formats - doesn't format if formats is empty - only formats html if html is the only item in formats - -Slack::Messenger::PayloadMiddleware::FormatMessage - passes the text through linkformatter with options[:formats] - returns the payload unmodified if not :text key - -Slack::Messenger::PayloadMiddleware - ::registry - returns a hash if nothing set - returns memoized version if already set - ::register - adds given class to key in registry +Slack::Messenger::PayloadMiddleware::Channels + leaves string channels alone + splits payload into multiple if given an array of channels Slack::Messenger::PayloadMiddleware::Stack + #set + initializes each middleware w/ the messenger instance + raises if a middleware is missing + creates a stack from hashes passing them as opts + creates the stack in an array #call - handles multiple middleware splitting payload allows any middleware to return an array but other's don't need special behavior calls the middleware in order, passing return of each to the next + handles multiple middleware splitting payload ::initialize has empty stack sets messenger to given messenger - #set - raises if a middleware is missing - creates the stack in an array - initializes each middleware w/ the messenger instance - creates a stack from hashes passing them as opts -Slack::Messenger::PayloadMiddleware::Channels - splits payload into multiple if given an array of channels - leaves string channels alone +Slack::Messenger::Util::HTTPClient + #initialize + allows setting of options for Net::HTTP + ::post + initializes Util::HTTPClient with the given uri and params then calls + #call + raises an error when the response is unsuccessful -Slack::Messenger::PayloadMiddleware::At - generates :text in payload if given :at & no :text - can handle single at option - can handle array at +Slack::Messenger::PayloadMiddleware::FormatAttachments + passes the text of attachments through linkformatter with options[:formats] + searches through string or symbol keys + can handle a single attachment + returns the payload unmodified if not :attachments key + wraps attachment into array if given as a single hash Slack::Messenger - sends correct payload for #post({:attachments=>{:color=>"#000", :text=>nil, :fallback=>"fallback message"}}) - sends correct payload for #post({:text=>"Hello World, enjoy [this](http://example.com)[this2](http://example2.com)"}) - sends correct payload for #post({:text=>"hello", :http_options=>{:timeout=>5}}) - sends correct payload for #post({:text=>"[hello](http://example.com/world)"}) - sends correct payload for #post({:text=>"hello/\u3053\u3093\u306B\u3061\u306F from messenger test"}) - sends correct payload for #post({:attachments=>[{:color=>"#000", :text=>"attachment message", :fallback=>"fallback message"}]}) - sends correct payload for #post({:text=>nil, :attachments=>[{:text=>"attachment message"}]}) - sends correct payload for #post({:text=>"hello", :channel=>"hodor"}) - sends correct payload for #post({:text=>"example"}) - sends correct payload for #post({:attachments=>{:color=>"#000", :text=>"attachment message [hodor](http://winterfell.com)", :fallback=>"fallback message"}}) - applies options given to middleware - sends correct payload for #post({:text=>"John"}) - sends correct payload for #post({:text=>"the message", :channel=>"foo", :attachments=>[{:color=>"#000", :text=>"attachment message", :fallback=>"fallback message"}]}) - sends correct payload for #post({:text=>"hello"}) - sends correct payload for #post({:text=>"Hello World, enjoy [](http://example.com)."}) - sends correct payload for #post({:text=>"[John](mailto:john@example.com)"}) + #post + calls the middleware stack with the payload + allows overriding the set defaults + uses the defaults set on initialization + #initialize + sets the default_payload options + sets the given hook_url to the endpoint URI + sets a custom http client + when given a block + yields the config object + #ping + calls #post with the message as the text key in #post Slack::Messenger::Config #defaults - sets a hash to default if given - is an empty hash by default raises ArgumentError if not given a hash + is an empty hash by default + sets a hash to default if given #middleware takes an array or a splat of args - allows passing options to middleware stack is [:format_message, :format_attachments, :at] if not set + allows passing options to middleware stack #http_client + raises an ArgumentError if given class does not respond to ::post is Util::HTTPClient if not set sets a new client class if given one - raises an ArgumentError if given class does not respond to ::post + +Slack::Messenger::PayloadMiddleware + ::register + adds given class to key in registry + ::registry + returns a hash if nothing set + returns memoized version if already set Slack::Messenger - #initialize - sets the given hook_url to the endpoint URI - sets a custom http client - sets the default_payload options - when given a block - yields the config object - #post - calls the middleware stack with the payload - allows overriding the set defaults - uses the defaults set on initialization - #ping - calls #post with the message as the text key in #post + sends correct payload for #post({:text=>"hello", :http_options=>{:timeout=>5}}) + sends correct payload for #post({:text=>"Hello World, enjoy [this](http://example.com)[this2](http://example2.com)"}) + sends correct payload for #post({:text=>nil, :attachments=>[{:text=>"attachment message"}]}) + sends correct payload for #post({:text=>"[John](mailto:john@example.com)"}) + sends correct payload for #post({:attachments=>{:color=>"#000", :text=>"attachment message [hodor](http://winterfell.com)", :fallback=>"fallback message"}}) + sends correct payload for #post({:text=>"example"}) + sends correct payload for #post({:text=>"hello"}) + applies options given to middleware + sends correct payload for #post({:text=>"John"}) + sends correct payload for #post({:text=>"[hello](http://example.com/world)"}) + sends correct payload for #post({:text=>"Hello World, enjoy [](http://example.com)."}) + sends correct payload for #post({:attachments=>{:color=>"#000", :text=>nil, :fallback=>"fallback message"}}) + sends correct payload for #post({:attachments=>[{:color=>"#000", :text=>"attachment message", :fallback=>"fallback message"}]}) + sends correct payload for #post({:text=>"the message", :channel=>"foo", :attachments=>[{:color=>"#000", :text=>"attachment message", :fallback=>"fallback message"}]}) + sends correct payload for #post({:text=>"hello", :channel=>"hodor"}) + sends correct payload for #post({:text=>"hello/\u3053\u3093\u306B\u3061\u306F from messenger test"}) Slack::Messenger::PayloadMiddleware::Base - ::middleware_name - registers class w/ given name - uses symbolized name to register - ::options - allows setting default options for a middleware #initialize sets given options as opts sets given messenger as messenger + ::middleware_name + uses symbolized name to register + registers class w/ given name #call raises NoMethodError (expects subclass to define) + ::options + allows setting default options for a middleware -Slack::Messenger::Util::HTTPClient - #call - raises an error when the response is unsuccessful - #initialize - allows setting of options for Net::HTTP - ::post - initializes Util::HTTPClient with the given uri and params then calls +Slack::Messenger::PayloadMiddleware::At + can handle array at + can handle single at option + generates :text in payload if given :at & no :text + +Slack::Messenger::Util::LinkFormatter + ::format + handles mixed html & markdown links + formats markdown links in brackets + handles multiple markdown links + handles links with trailing parentheses + formats markdown links + doesn't replace valid Japanese + formats markdown links with no title + formats a number of differently formatted links + handles mailto links in markdown + handles mailto links in html + handles multiple html links + formats html links + when on ruby 2.1+ or have string-scrub installed + replaces invalid unicode sequences with the unicode replacement character + handles invalid unicode sequences + with a configured stack + doesn't format if formats is empty + only formats html if html is the only item in formats + only formats markdown if markdown is the only item in formats + +Slack::Messenger::PayloadMiddleware::FormatMessage + passes the text through linkformatter with options[:formats] + returns the payload unmodified if not :text key -Finished in 0.21012 seconds (files took 0.62083 seconds to load) +Finished in 0.18335 seconds (files took 0.9992 seconds to load) 83 examples, 0 failures -Randomized with seed 3734 +Randomized with seed 41195 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -1130,12 +1165,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/7485/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/7485/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/7017 and its subdirectories -I: Current time: Mon Aug 23 20:38:44 -12 2021 -I: pbuilder-time-stamp: 1629794324 +I: removing directory /srv/workspace/pbuilder/7485 and its subdirectories +I: Current time: Tue Aug 24 22:47:39 +14 2021 +I: pbuilder-time-stamp: 1629794859