Diff of the two buildlogs: -- --- b1/build.log 2024-07-18 19:03:22.963518388 +0000 +++ b2/build.log 2024-07-18 19:06:54.666506943 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Aug 20 13:25:41 -12 2025 -I: pbuilder-time-stamp: 1755739541 +I: Current time: Fri Jul 19 09:03:26 +14 2024 +I: pbuilder-time-stamp: 1721329406 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 [./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.stEp6wFs/trustedkeys.kbx': General error -gpgv: Signature made Wed Dec 2 22:28:29 2020 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.fixGykMJ/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 @@ -27,135 +27,166 @@ 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/885190/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2337551/tmp/hooks/D01_modify_environment starting +debug: Running on ionos1-amd64. +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 Jul 19 09:03 /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/2337551/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2337551/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='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=42 ' - DISTRIBUTION='bullseye' - HOME='/root' - HOST_ARCH='amd64' + 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]="x86_64-pc-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=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=20 ' + DIRSTACK=() + DISTRIBUTION=bullseye + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='623e5c4eae1b4d769b8247546e954d19' - 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='885190' - PS1='# ' - PS2='> ' + INVOCATION_ID=5b37ecd8e7ea44d69b0f392d83e96f03 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-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=2337551 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.HOhoFrcn/pbuilderrc_d0tb --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.HOhoFrcn/b1 --logfile b1/build.log ruby-slack-messenger_2.3.4-1.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152: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.HOhoFrcn/pbuilderrc_0LYl --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.HOhoFrcn/b2 --logfile b2/build.log ruby-slack-messenger_2.3.4-1.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos5-amd64 6.7.12+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.7.12-1~bpo12+1 (2024-05-06) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-23-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.99-1 (2024-07-15) x86_64 GNU/Linux I: ls -l /bin total 5476 - -rwxr-xr-x 1 root root 1234376 Mar 27 2022 bash - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 38984 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 38984 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 18424 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 43936 Sep 23 2020 cat - -rwxr-xr-x 1 root root 72672 Sep 23 2020 chgrp - -rwxr-xr-x 1 root root 64448 Sep 23 2020 chmod - -rwxr-xr-x 1 root root 72672 Sep 23 2020 chown - -rwxr-xr-x 1 root root 151168 Sep 23 2020 cp - -rwxr-xr-x 1 root root 125560 Dec 10 2020 dash - -rwxr-xr-x 1 root root 113664 Sep 23 2020 date - -rwxr-xr-x 1 root root 80968 Sep 23 2020 dd - -rwxr-xr-x 1 root root 93936 Sep 23 2020 df - -rwxr-xr-x 1 root root 147176 Sep 23 2020 dir - -rwxr-xr-x 1 root root 84440 Mar 27 2024 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 39712 Sep 23 2020 echo - -rwxr-xr-x 1 root root 28 Jan 24 2023 egrep - -rwxr-xr-x 1 root root 39680 Sep 23 2020 false - -rwxr-xr-x 1 root root 28 Jan 24 2023 fgrep - -rwxr-xr-x 1 root root 69032 Mar 27 2024 findmnt - -rwsr-xr-x 1 root root 34896 Feb 26 2021 fusermount - -rwxr-xr-x 1 root root 203072 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 98048 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 22600 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 72840 Sep 23 2020 ln - -rwxr-xr-x 1 root root 56952 Feb 7 2020 login - -rwxr-xr-x 1 root root 147176 Sep 23 2020 ls - -rwxr-xr-x 1 root root 149736 Mar 27 2024 lsblk - -rwxr-xr-x 1 root root 85184 Sep 23 2020 mkdir - -rwxr-xr-x 1 root root 76896 Sep 23 2020 mknod - -rwxr-xr-x 1 root root 48064 Sep 23 2020 mktemp - -rwxr-xr-x 1 root root 59632 Mar 27 2024 more - -rwsr-xr-x 1 root root 55528 Mar 27 2024 mount - -rwxr-xr-x 1 root root 18664 Mar 27 2024 mountpoint - -rwxr-xr-x 1 root root 147080 Sep 23 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 43872 Sep 23 2020 pwd - lrwxrwxrwx 1 root root 4 Mar 27 2022 rbash -> bash - -rwxr-xr-x 1 root root 52032 Sep 23 2020 readlink - -rwxr-xr-x 1 root root 72704 Sep 23 2020 rm - -rwxr-xr-x 1 root root 52032 Sep 23 2020 rmdir - -rwxr-xr-x 1 root root 27472 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 122224 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Aug 9 03:46 sh -> dash - -rwxr-xr-x 1 root root 43808 Sep 23 2020 sleep - -rwxr-xr-x 1 root root 84928 Sep 23 2020 stty - -rwsr-xr-x 1 root root 71912 Mar 27 2024 su - -rwxr-xr-x 1 root root 39744 Sep 23 2020 sync - -rwxr-xr-x 1 root root 531928 Jan 19 2024 tar - -rwxr-xr-x 1 root root 14456 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 101408 Sep 23 2020 touch - -rwxr-xr-x 1 root root 39680 Sep 23 2020 true - -rwxr-xr-x 1 root root 14328 Feb 26 2021 ulockmgr_server - -rwsr-xr-x 1 root root 35040 Mar 27 2024 umount - -rwxr-xr-x 1 root root 39744 Sep 23 2020 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 147176 Sep 23 2020 vdir - -rwxr-xr-x 1 root root 63744 Mar 27 2024 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/885190/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1234376 Mar 28 2022 bash + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 38984 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 38984 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 18424 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 43936 Sep 24 2020 cat + -rwxr-xr-x 1 root root 72672 Sep 24 2020 chgrp + -rwxr-xr-x 1 root root 64448 Sep 24 2020 chmod + -rwxr-xr-x 1 root root 72672 Sep 24 2020 chown + -rwxr-xr-x 1 root root 151168 Sep 24 2020 cp + -rwxr-xr-x 1 root root 125560 Dec 11 2020 dash + -rwxr-xr-x 1 root root 113664 Sep 24 2020 date + -rwxr-xr-x 1 root root 80968 Sep 24 2020 dd + -rwxr-xr-x 1 root root 93936 Sep 24 2020 df + -rwxr-xr-x 1 root root 147176 Sep 24 2020 dir + -rwxr-xr-x 1 root root 84440 Mar 29 00: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 39712 Sep 24 2020 echo + -rwxr-xr-x 1 root root 28 Jan 25 2023 egrep + -rwxr-xr-x 1 root root 39680 Sep 24 2020 false + -rwxr-xr-x 1 root root 28 Jan 25 2023 fgrep + -rwxr-xr-x 1 root root 69032 Mar 29 00:09 findmnt + -rwsr-xr-x 1 root root 34896 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 203072 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 98048 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 22600 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 72840 Sep 24 2020 ln + -rwxr-xr-x 1 root root 56952 Feb 8 2020 login + -rwxr-xr-x 1 root root 147176 Sep 24 2020 ls + -rwxr-xr-x 1 root root 149736 Mar 29 00:09 lsblk + -rwxr-xr-x 1 root root 85184 Sep 24 2020 mkdir + -rwxr-xr-x 1 root root 76896 Sep 24 2020 mknod + -rwxr-xr-x 1 root root 48064 Sep 24 2020 mktemp + -rwxr-xr-x 1 root root 59632 Mar 29 00:09 more + -rwsr-xr-x 1 root root 55528 Mar 29 00:09 mount + -rwxr-xr-x 1 root root 18664 Mar 29 00:09 mountpoint + -rwxr-xr-x 1 root root 147080 Sep 24 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 43872 Sep 24 2020 pwd + lrwxrwxrwx 1 root root 4 Mar 28 2022 rbash -> bash + -rwxr-xr-x 1 root root 52032 Sep 24 2020 readlink + -rwxr-xr-x 1 root root 72704 Sep 24 2020 rm + -rwxr-xr-x 1 root root 52032 Sep 24 2020 rmdir + -rwxr-xr-x 1 root root 27472 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 122224 Dec 23 2018 sed + lrwxrwxrwx 1 root root 9 Jul 19 09:03 sh -> /bin/bash + -rwxr-xr-x 1 root root 43808 Sep 24 2020 sleep + -rwxr-xr-x 1 root root 84928 Sep 24 2020 stty + -rwsr-xr-x 1 root root 71912 Mar 29 00:09 su + -rwxr-xr-x 1 root root 39744 Sep 24 2020 sync + -rwxr-xr-x 1 root root 531928 Jan 20 23:59 tar + -rwxr-xr-x 1 root root 14456 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 101408 Sep 24 2020 touch + -rwxr-xr-x 1 root root 39680 Sep 24 2020 true + -rwxr-xr-x 1 root root 14328 Feb 27 2021 ulockmgr_server + -rwsr-xr-x 1 root root 35040 Mar 29 00:09 umount + -rwxr-xr-x 1 root root 39744 Sep 24 2020 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 147176 Sep 24 2020 vdir + -rwxr-xr-x 1 root root 63744 Mar 29 00:09 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/2337551/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -328,7 +359,7 @@ Get: 129 http://deb.debian.org/debian bullseye/main amd64 ruby-rspec-expectations all 3.9.0c2e2m1s3-2 [89.9 kB] Get: 130 http://deb.debian.org/debian bullseye/main amd64 ruby-rspec-mocks all 3.9.0c2e2m1s3-2 [81.4 kB] Get: 131 http://deb.debian.org/debian bullseye/main amd64 ruby-rspec all 3.9.0c2e2m1s3-2 [8348 B] -Fetched 44.2 MB in 1s (57.2 MB/s) +Fetched 44.2 MB in 5s (9109 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 ... 19711 files and directories currently installed.) @@ -877,7 +908,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/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 +I: user script /srv/workspace/pbuilder/2337551/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for bullseye +I: user script /srv/workspace/pbuilder/2337551/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/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 @@ -908,13 +943,13 @@ dh_auto_install -O--buildsystem=ruby dh_ruby --install /build/reproducible-path/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/d20250820-891291-1vjlu7e/gemspec +/usr/bin/ruby2.7 -S gem build --config-file /dev/null --verbose /tmp/d20240719-2441446-plon5d/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/d20250820-891291-1vjlu7e/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/d20240719-2441446-plon5d/slack-messenger-2.3.4.gem Failed to load /dev/null because it doesn't contain valid YAML hash /build/reproducible-path/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/reproducible-path/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 @@ -939,7 +974,7 @@ rm -rf extensions cd gems/slack-messenger-2.3.4 rm -f -chmod 644 lib/slack-messenger.rb lib/slack-messenger/version.rb lib/slack-messenger/util/link_formatter.rb lib/slack-messenger/util/http_client.rb lib/slack-messenger/util/escape.rb lib/slack-messenger/payload_middleware.rb lib/slack-messenger/config.rb lib/slack-messenger/payload_middleware/stack.rb lib/slack-messenger/payload_middleware/channels.rb lib/slack-messenger/payload_middleware/format_attachments.rb lib/slack-messenger/payload_middleware/base.rb lib/slack-messenger/payload_middleware/at.rb lib/slack-messenger/payload_middleware/format_message.rb +chmod 644 lib/slack-messenger/payload_middleware/format_message.rb lib/slack-messenger/payload_middleware/stack.rb lib/slack-messenger/payload_middleware/format_attachments.rb lib/slack-messenger/payload_middleware/channels.rb lib/slack-messenger/payload_middleware/at.rb lib/slack-messenger/payload_middleware/base.rb lib/slack-messenger/version.rb lib/slack-messenger/util/escape.rb lib/slack-messenger/util/http_client.rb lib/slack-messenger/util/link_formatter.rb lib/slack-messenger/payload_middleware.rb lib/slack-messenger/config.rb lib/slack-messenger.rb find lib/ -type d -empty -delete cd - cd - @@ -961,141 +996,141 @@ All examples were filtered out; ignoring {:focus=>true} -Randomized with seed 21567 - -Slack::Messenger::PayloadMiddleware::FormatMessage - passes the text through linkformatter with options[:formats] - returns the payload unmodified if not :text key - -Slack::Messenger - #post - allows overriding the set defaults - uses the defaults set on initialization - calls the middleware stack with the payload - #initialize - sets a custom http client - sets the given hook_url to the endpoint URI - sets the default_payload options - when given a block - yields the config object - #ping - calls #post with the message as the text key in #post - -Slack::Messenger::Util::HTTPClient - #initialize - allows setting of options for Net::HTTP - #call - raises an error when the response is unsuccessful - ::post - initializes Util::HTTPClient with the given uri and params then calls +Randomized with seed 19853 Slack::Messenger::PayloadMiddleware::Channels - leaves string channels alone splits payload into multiple if given an array of channels + leaves string channels alone -Slack::Messenger::PayloadMiddleware::Base - ::options - allows setting default options for a middleware +Slack::Messenger::PayloadMiddleware::Stack #call - raises NoMethodError (expects subclass to define) + allows any middleware to return an array but other's don't need special behavior + handles multiple middleware splitting payload + calls the middleware in order, passing return of each to the next + ::initialize + has empty stack + sets messenger to given messenger + #set + creates the stack in an array + initializes each middleware w/ the messenger instance + raises if a middleware is missing + creates a stack from hashes passing them as opts + +Slack::Messenger::PayloadMiddleware::Base #initialize sets given messenger as messenger sets given options as opts ::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 + sends correct payload for #post({:text=>"hello", :http_options=>{:timeout=>5}}) + sends correct payload for #post({:attachments=>{:color=>"#000", :text=>nil, :fallback=>"fallback message"}}) + applies options given to middleware + sends correct payload for #post({:text=>"Hello World, enjoy [](http://example.com)."}) + sends correct payload for #post({:text=>"example"}) + sends correct payload for #post({:text=>nil, :attachments=>[{:text=>"attachment message"}]}) + sends correct payload for #post({:text=>"Hello World, enjoy [this](http://example.com)[this2](http://example2.com)"}) + 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/\u3053\u3093\u306B\u3061\u306F from messenger test"}) + sends correct payload for #post({:text=>"[John](mailto:john@example.com)"}) + sends correct payload for #post({:text=>"[hello](http://example.com/world)"}) + sends correct payload for #post({:attachments=>{:color=>"#000", :text=>"attachment message [hodor](http://winterfell.com)", :fallback=>"fallback message"}}) + sends correct payload for #post({:text=>"hello", :channel=>"hodor"}) + sends correct payload for #post({:text=>"hello"}) + sends correct payload for #post({:attachments=>[{:color=>"#000", :text=>"attachment message", :fallback=>"fallback message"}]}) + +Slack::Messenger::PayloadMiddleware::FormatMessage + returns the payload unmodified if not :text key + passes the text through linkformatter with options[:formats] Slack::Messenger::PayloadMiddleware::At can handle single at option - can handle array at generates :text in payload if given :at & no :text - -Slack::Messenger::PayloadMiddleware::FormatAttachments - searches through string or symbol keys - returns the payload unmodified if not :attachments key - wraps attachment into array if given as a single hash - passes the text of attachments through linkformatter with options[:formats] - can handle a single attachment - -Slack::Messenger::Config - #http_client - sets a new client class if given one - raises an ArgumentError if given class does not respond to ::post - is Util::HTTPClient if not set - #defaults - sets a hash to default if given - raises ArgumentError if not given a hash - is an empty hash by default - #middleware - allows passing options to middleware stack - is [:format_message, :format_attachments, :at] if not set - takes an array or a splat of args + can handle array at Slack::Messenger::Util::LinkFormatter ::format + handles multiple markdown links + handles multiple html links + doesn't replace valid Japanese + formats markdown links with no title handles mailto links in markdown handles mixed html & markdown links - formats markdown links - handles mailto links in html - handles multiple html links - formats a number of differently formatted links handles links with trailing parentheses - formats markdown links with no title - doesn't replace valid Japanese formats markdown links in brackets - handles multiple markdown links formats html links + formats markdown links + handles mailto links in html + formats a number of differently formatted links when on ruby 2.1+ or have string-scrub installed - handles invalid unicode sequences 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 + only formats markdown if markdown is the only item in formats + +Slack::Messenger + #ping + calls #post with the message as the text key in #post + #post + allows overriding the set defaults + uses the defaults set on initialization + calls the middleware stack with the payload + #initialize + sets a custom http client + sets the given hook_url to the endpoint URI + sets the default_payload options + when given a block + yields the config object + +Slack::Messenger::PayloadMiddleware::FormatAttachments + searches through string or symbol keys + can handle a single attachment + wraps attachment into array if given as a single hash + returns the payload unmodified if not :attachments key + passes the text of attachments through linkformatter with options[:formats] + +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 ::register adds given class to key in registry ::registry - returns memoized version if already set returns a hash if nothing set + returns memoized version if already set -Slack::Messenger - sends correct payload for #post({:text=>"hello", :channel=>"hodor"}) - sends correct payload for #post({:text=>"hello", :http_options=>{:timeout=>5}}) - applies options given to middleware - sends correct payload for #post({:text=>"[hello](http://example.com/world)"}) - sends correct payload for #post({:attachments=>[{:color=>"#000", :text=>"attachment message", :fallback=>"fallback message"}]}) - sends correct payload for #post({:text=>"hello"}) - sends correct payload for #post({:text=>"example"}) - 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({:attachments=>{:color=>"#000", :text=>"attachment message [hodor](http://winterfell.com)", :fallback=>"fallback message"}}) - sends correct payload for #post({:text=>"hello/\u3053\u3093\u306B\u3061\u306F from messenger test"}) - sends correct payload for #post({:attachments=>{:color=>"#000", :text=>nil, :fallback=>"fallback message"}}) - sends correct payload for #post({:text=>"John"}) - sends correct payload for #post({:text=>"Hello World, enjoy [](http://example.com)."}) - 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=>"[John](mailto:john@example.com)"}) - -Slack::Messenger::PayloadMiddleware::Stack - #set - initializes each middleware w/ the messenger instance - creates a stack from hashes passing them as opts - raises if a middleware is missing - creates the stack in an array - ::initialize - sets messenger to given messenger - has empty stack - #call - allows any middleware to return an array but other's don't need special behavior - handles multiple middleware splitting payload - calls the middleware in order, passing return of each to the next +Slack::Messenger::Config + #middleware + allows passing options to middleware stack + takes an array or a splat of args + is [:format_message, :format_attachments, :at] if not set + #http_client + 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 + #defaults + sets a hash to default if given + raises ArgumentError if not given a hash + is an empty hash by default -Finished in 0.04935 seconds (files took 0.14863 seconds to load) +Finished in 0.4514 seconds (files took 1.43 seconds to load) 83 examples, 0 failures -Randomized with seed 21567 +Randomized with seed 19853 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -1131,12 +1166,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/2337551/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2337551/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/885190 and its subdirectories -I: Current time: Wed Aug 20 13:26:22 -12 2025 -I: pbuilder-time-stamp: 1755739582 +I: removing directory /srv/workspace/pbuilder/2337551 and its subdirectories +I: Current time: Fri Jul 19 09:06:53 +14 2024 +I: pbuilder-time-stamp: 1721329613