Diff of the two buildlogs: -- --- b1/build.log 2023-04-14 21:49:12.449422162 +0000 +++ b2/build.log 2023-04-14 21:51:36.587021801 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Apr 14 09:48:27 -12 2023 -I: pbuilder-time-stamp: 1681508907 +I: Current time: Fri May 17 18:12:15 +14 2024 +I: pbuilder-time-stamp: 1715919135 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./ruby-mail-room_0.10.0+really0.0.9.orig.tar.gz] I: copying [./ruby-mail-room_0.10.0+really0.0.9-3.debian.tar.xz] I: Extracting source -gpgv: Signature made Tue Jan 31 14:15:48 2023 -12 +gpgv: Signature made Wed Feb 1 16:15:48 2023 +14 gpgv: using RSA key 0B29D88E42E6B765B8D8EA507839619DD439668E gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./ruby-mail-room_0.10.0+really0.0.9-3.dsc: no acceptable signature found @@ -29,135 +29,144 @@ dpkg-source: info: applying fix-specs-to-stub-methods.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3325476/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2537756/tmp/hooks/D01_modify_environment starting +debug: Running on ionos15-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 +lrwxrwxrwx 1 root root 4 Jan 6 2023 /bin/sh -> dash +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/2537756/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2537756/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' + 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 parallel=15' + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=16' DISTRIBUTION='bookworm' HOME='/root' HOST_ARCH='amd64' IFS=' ' - INVOCATION_ID='1bf60f03084b4a049ddf0597e7074b1f' + INVOCATION_ID='1e5f26f7fca94682a91382b9bf0f8abc' LANG='C' - LANGUAGE='en_US:en' + LANGUAGE='et_EE:et' LC_ALL='C' MAIL='/var/mail/root' OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' + 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' - PPID='3325476' + PPID='2537756' PS1='# ' PS2='> ' 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.SFpGa9kf/pbuilderrc_OiCX --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.SFpGa9kf/b1 --logfile b1/build.log ruby-mail-room_0.10.0+really0.0.9-3.dsc' + 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.SFpGa9kf/pbuilderrc_kJub --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.SFpGa9kf/b2 --logfile b2/build.log --extrapackages usrmerge ruby-mail-room_0.10.0+really0.0.9-3.dsc' SUDO_GID='111' SUDO_UID='106' SUDO_USER='jenkins' TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' + TZ='/usr/share/zoneinfo/Etc/GMT-14' USER='root' _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97:3128' + http_proxy='http://85.184.249.68:3128' I: uname -a - Linux ionos11-amd64 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-0.deb11.5-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.12-1~bpo11+1 (2023-03-05) x86_64 GNU/Linux I: ls -l /bin total 5632 - -rwxr-xr-x 1 root root 1265648 Feb 12 08:05 bash - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bzcat - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 14568 Sep 18 2022 bzip2recover - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore - -rwxr-xr-x 1 root root 44016 Sep 20 2022 cat - -rwxr-xr-x 1 root root 68656 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 64496 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 72752 Sep 20 2022 chown - -rwxr-xr-x 1 root root 151152 Sep 20 2022 cp - -rwxr-xr-x 1 root root 125640 Jan 5 01:20 dash - -rwxr-xr-x 1 root root 121904 Sep 20 2022 date - -rwxr-xr-x 1 root root 89240 Sep 20 2022 dd - -rwxr-xr-x 1 root root 102200 Sep 20 2022 df - -rwxr-xr-x 1 root root 151344 Sep 20 2022 dir - -rwxr-xr-x 1 root root 88656 Mar 22 22:02 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 01:33 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 01:33 domainname -> hostname - -rwxr-xr-x 1 root root 43856 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 02:43 egrep - -rwxr-xr-x 1 root root 35664 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 02:43 fgrep - -rwxr-xr-x 1 root root 85600 Mar 22 22:02 findmnt - -rwsr-xr-x 1 root root 35128 Mar 22 20:35 fusermount - -rwxr-xr-x 1 root root 203152 Jan 24 02:43 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 98136 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 22680 Dec 19 01:33 hostname - -rwxr-xr-x 1 root root 72824 Sep 20 2022 ln - -rwxr-xr-x 1 root root 53024 Mar 23 00:40 login - -rwxr-xr-x 1 root root 151344 Sep 20 2022 ls - -rwxr-xr-x 1 root root 207168 Mar 22 22:02 lsblk - -rwxr-xr-x 1 root root 97552 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 72912 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 43952 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 59712 Mar 22 22:02 more - -rwsr-xr-x 1 root root 59704 Mar 22 22:02 mount - -rwxr-xr-x 1 root root 18744 Mar 22 22:02 mountpoint - -rwxr-xr-x 1 root root 142968 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 01:33 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 18:25 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 43952 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Feb 12 08:05 rbash -> bash - -rwxr-xr-x 1 root root 52112 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 72752 Sep 20 2022 rm - -rwxr-xr-x 1 root root 56240 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 27560 Nov 2 04:31 run-parts - -rwxr-xr-x 1 root root 126424 Jan 5 07:55 sed - lrwxrwxrwx 1 root root 4 Jan 5 01:20 sh -> dash - -rwxr-xr-x 1 root root 43888 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 85008 Sep 20 2022 stty - -rwsr-xr-x 1 root root 72000 Mar 22 22:02 su - -rwxr-xr-x 1 root root 39824 Sep 20 2022 sync - -rwxr-xr-x 1 root root 531984 Apr 6 02:25 tar - -rwxr-xr-x 1 root root 14520 Nov 2 04:31 tempfile - -rwxr-xr-x 1 root root 109616 Sep 20 2022 touch - -rwxr-xr-x 1 root root 35664 Sep 20 2022 true - -rwxr-xr-x 1 root root 14568 Mar 22 20:35 ulockmgr_server - -rwsr-xr-x 1 root root 35128 Mar 22 22:02 umount - -rwxr-xr-x 1 root root 43888 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 151344 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 72024 Mar 22 22:02 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 01:33 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 6460 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 8103 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/3325476/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1265648 Feb 13 2023 bash + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bzcat + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 14568 Sep 19 2022 bzip2recover + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore + -rwxr-xr-x 1 root root 44016 Sep 21 2022 cat + -rwxr-xr-x 1 root root 68656 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 64496 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 72752 Sep 21 2022 chown + -rwxr-xr-x 1 root root 151152 Sep 21 2022 cp + -rwxr-xr-x 1 root root 125640 Jan 6 2023 dash + -rwxr-xr-x 1 root root 121904 Sep 21 2022 date + -rwxr-xr-x 1 root root 89240 Sep 21 2022 dd + -rwxr-xr-x 1 root root 102200 Sep 21 2022 df + -rwxr-xr-x 1 root root 151344 Sep 21 2022 dir + -rwxr-xr-x 1 root root 88656 Mar 24 2023 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 2022 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 2022 domainname -> hostname + -rwxr-xr-x 1 root root 43856 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 2023 egrep + -rwxr-xr-x 1 root root 35664 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 2023 fgrep + -rwxr-xr-x 1 root root 85600 Mar 24 2023 findmnt + -rwsr-xr-x 1 root root 35128 Mar 23 2023 fusermount + -rwxr-xr-x 1 root root 203152 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 98136 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 22680 Dec 20 2022 hostname + -rwxr-xr-x 1 root root 72824 Sep 21 2022 ln + -rwxr-xr-x 1 root root 53024 Mar 24 2023 login + -rwxr-xr-x 1 root root 151344 Sep 21 2022 ls + -rwxr-xr-x 1 root root 207168 Mar 24 2023 lsblk + -rwxr-xr-x 1 root root 97552 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 72912 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 43952 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 59712 Mar 24 2023 more + -rwsr-xr-x 1 root root 59704 Mar 24 2023 mount + -rwxr-xr-x 1 root root 18744 Mar 24 2023 mountpoint + -rwxr-xr-x 1 root root 142968 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 2022 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 2023 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 43952 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Feb 13 2023 rbash -> bash + -rwxr-xr-x 1 root root 52112 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 72752 Sep 21 2022 rm + -rwxr-xr-x 1 root root 56240 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 27560 Nov 3 2022 run-parts + -rwxr-xr-x 1 root root 126424 Jan 6 2023 sed + lrwxrwxrwx 1 root root 4 Jan 6 2023 sh -> dash + -rwxr-xr-x 1 root root 43888 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 85008 Sep 21 2022 stty + -rwsr-xr-x 1 root root 72000 Mar 24 2023 su + -rwxr-xr-x 1 root root 39824 Sep 21 2022 sync + -rwxr-xr-x 1 root root 531984 Apr 7 2023 tar + -rwxr-xr-x 1 root root 14520 Nov 3 2022 tempfile + -rwxr-xr-x 1 root root 109616 Sep 21 2022 touch + -rwxr-xr-x 1 root root 35664 Sep 21 2022 true + -rwxr-xr-x 1 root root 14568 Mar 23 2023 ulockmgr_server + -rwsr-xr-x 1 root root 35128 Mar 24 2023 umount + -rwxr-xr-x 1 root root 43888 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 151344 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 72024 Mar 24 2023 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 2022 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 6460 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 8103 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/2537756/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -383,7 +392,7 @@ Get: 158 http://deb.debian.org/debian bookworm/main amd64 ruby-rspec all 3.12.0c0e1m1s0-1 [5084 B] Get: 159 http://deb.debian.org/debian bookworm/main amd64 ruby-simplecov-html all 0.12.3-2 [468 kB] Get: 160 http://deb.debian.org/debian bookworm/main amd64 ruby-simplecov all 0.22.0-1 [45.1 kB] -Fetched 51.1 MB in 2s (31.6 MB/s) +Fetched 51.1 MB in 1s (62.8 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:amd64. (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 ... 19596 files and directories currently installed.) @@ -1048,8 +1057,19 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +usrmerge is already the newest version (35). +0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/ruby-mail-room-0.10.0+really0.0.9/ && 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-mail-room_0.10.0+really0.0.9-3_source.changes +I: user script /srv/workspace/pbuilder/2537756/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +removed '/etc/unsupported-skip-usrmerge-conversion' +The system has been successfully converted. +I: user script /srv/workspace/pbuilder/2537756/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/ruby-mail-room-0.10.0+really0.0.9/ && 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-mail-room_0.10.0+really0.0.9-3_source.changes dpkg-buildpackage: info: source package ruby-mail-room dpkg-buildpackage: info: source version 0.10.0+really0.0.9-3 dpkg-buildpackage: info: source distribution unstable @@ -1134,217 +1154,218 @@ All examples were filtered out; ignoring {:focus=>true} -Randomized with seed 26707 +Randomized with seed 36153 -MailRoom::HealthCheck - #run - sets running to true - #quit - sets running to false - #initialize - with invalid address - raises an error - with valid parameters - validates successfully - with invalid port - raises an error +MailRoom::Delivery::LetterOpener + #deliver + creates a new LetterOpener::DeliveryMethod + parses the message string with Mail + delivers the mail message -MailRoom::IMAP::Message +MailRoom::IMAP::Connection + with imap set up + is logged in + waits for a message to process + is not idling + is not disconnected + is ready to idle + +MailRoom::Configuration + #initalize + with config_path + parses yaml into mailbox objects + parses health check + without config_path + sets the health check to nil + sets mailboxes to an empty set + +MailRoom::Message #== - does not match a base message + does not match a message with a different UID matches an equivalent message #initalize initializes with required parameters -MailRoom::Delivery::Sidekiq - #options - when sentinel is specified - client has same specified sentinel params (PENDING: Temporarily skipped with xit) - when namespace is specified - client is a instance of RedisNamespace class +MailRoom::Arbitration::Redis + redis client connection params + when namespace is present client has same specified namespace - when only redis_url is specified - client has same specified redis_url (PENDING: Temporarily skipped with xit) client is a instance of RedisNamespace class - -MailRoom::Delivery::LetterOpener - #deliver - creates a new LetterOpener::DeliveryMethod - delivers the mail message - parses the message string with Mail + when only url is present + client has same specified url (PENDING: Temporarily skipped with xit) + client is a instance of Redis class + when sentinel is present + client has same specified sentinel params (PENDING: Temporarily skipped with xit) + #deliver? + when called the first time + returns true + increments the delivered flag + sets an expiration on the delivered flag + when called for another uid + returns true + when called the second time + returns false + after expiration returns true MailRoom::MailboxWatcher - #running? - is false by default #quit closes and waits for the connection + #running? + is false by default #run loops over wait while running -MailRoom::Mailbox - #validate! - with missing configuration - raises an error - #deliver - with delivery_method of noop - delivers with a Noop instance - structured logger setup -{"severity":"INFO","time":"2023-04-14 09:49:06 -1200","message":"asdf"} - accepts stdout symbol to mean STDOUT - sets up the noop logger correctly and does not error - sets up the logger correctly and does not error - with ssl options hash - replaces verify mode with constant - without an RFC822 attribute - doesn't deliver the message - with delivery_method of postback - delivers with a Postback instance - with delivery_method of logger - delivers with a Logger instance - with arbitration_method of redis - arbitrates with a Redis instance - with delivery_method of letter_opener - delivers with a LetterOpener instance - with arbitration_method of noop - arbitrates with a Noop instance - -MailRoom::Logger::Structured - logs fatal - logs warn - logs info - logs error - logs debug - only accepts hashes - logs unknown - logging a hash as a message - merges the contents - MailRoom::Delivery::Logger + #deliver + writes the message to info #initialize without a log path creates a new ruby logger with a log path creates a new file to append to + +MailRoom::Delivery::Postback #deliver - writes the message to info + with basic auth delivery options +#, @formatter=nil, @logdev=nil>, content_type=nil> + posts the message with faraday + with content type in the delivery options +#, @formatter=nil, @logdev=nil>, content_type="text/plain"> + posts the message with faraday + with token auth delivery +#, @formatter=nil, @logdev=nil>, content_type=nil> + posts the message with faraday -MailRoom::Arbitration::Redis - #deliver? - when called the second time - after expiration returns true - returns false - when called for another uid - returns true - when called the first time - returns true - sets an expiration on the delivered flag - increments the delivered flag - redis client connection params - when namespace is present +MailRoom::Coordinator + #quit + quits each watcher + #initialize + builds a watcher for each mailbox + sets the health check + makes no watchers when mailboxes is empty + #run + should go to sleep after running watchers + runs each watcher + should set attribute running to true + +MailRoom::Delivery::Sidekiq + #options + when sentinel is specified + client has same specified sentinel params (PENDING: Temporarily skipped with xit) + when only redis_url is specified client is a instance of RedisNamespace class + client has same specified redis_url (PENDING: Temporarily skipped with xit) + when namespace is specified client has same specified namespace - when sentinel is present - client has same specified sentinel params (PENDING: Temporarily skipped with xit) - when only url is present - client has same specified url (PENDING: Temporarily skipped with xit) - client is a instance of Redis class - -MailRoom::CrashHandler - #handle - when given a nonexistent format - raises an error as designed - when given a blank format - raises an error as designed - when given a json format - writes a json message to stdout + client is a instance of RedisNamespace class MailRoom::CLI + .new + with coordinator args + creates a new coordinator with configuration + with configuration args + parses arguments into configuration #start starts running the coordinator on error json format provided passes onto CrashHandler - .new - with configuration args - parses arguments into configuration - with coordinator args - creates a new coordinator with configuration -MailRoom::Message - #initalize - initializes with required parameters +MailRoom::Delivery::Que + #deliver + stores the message in que_jobs table + +MailRoom::IMAP::Message #== - does not match a message with a different UID + does not match a base message matches an equivalent message + #initalize + initializes with required parameters -MailRoom::IMAP::Connection - with imap set up - is logged in - is ready to idle - waits for a message to process - is not disconnected - is not idling - -MailRoom::Coordinator - #run - runs each watcher - should set attribute running to true - should go to sleep after running watchers - #quit - quits each watcher - #initialize - makes no watchers when mailboxes is empty - sets the health check - builds a watcher for each mailbox +MailRoom::CrashHandler + #handle + when given a blank format + raises an error as designed + when given a nonexistent format + raises an error as designed + when given a json format + writes a json message to stdout -MailRoom::Delivery::Postback - #deliver - with basic auth delivery options -#, @formatter=nil, @logdev=nil>, content_type=nil> - posts the message with faraday - with content type in the delivery options -#, @formatter=nil, @logdev=nil>, content_type="text/plain"> - posts the message with faraday - with token auth delivery -#, @formatter=nil, @logdev=nil>, content_type=nil> - posts the message with faraday +MailRoom::Logger::Structured + logs error + logs info + logs unknown + only accepts hashes + logs warn + logs fatal + logs debug + logging a hash as a message + merges the contents -MailRoom::Delivery::Que +MailRoom::Mailbox + #validate! + with missing configuration + raises an error #deliver - stores the message in que_jobs table + structured logger setup + sets up the noop logger correctly and does not error +{"severity":"INFO","time":"2024-05-17 18:14:22 +1400","message":"asdf"} + accepts stdout symbol to mean STDOUT + sets up the logger correctly and does not error + with delivery_method of postback + delivers with a Postback instance + with ssl options hash + replaces verify mode with constant + with arbitration_method of redis + arbitrates with a Redis instance + without an RFC822 attribute + doesn't deliver the message + with delivery_method of logger + delivers with a Logger instance + with delivery_method of noop + delivers with a Noop instance + with delivery_method of letter_opener + delivers with a LetterOpener instance + with arbitration_method of noop + arbitrates with a Noop instance -MailRoom::Configuration - #initalize - without config_path - sets mailboxes to an empty set - sets the health check to nil - with config_path - parses yaml into mailbox objects - parses health check +MailRoom::HealthCheck + #initialize + with invalid port + raises an error + with invalid address + raises an error + with valid parameters + validates successfully + #quit + sets running to false + #run + sets running to true Pending: (Failures listed here are expected and do not affect your suite's status) - 1) MailRoom::Delivery::Sidekiq#options when sentinel is specified client has same specified sentinel params + 1) MailRoom::Arbitration::Redis redis client connection params when only url is present client has same specified url # Temporarily skipped with xit - # /build/ruby-mail-room-0.10.0+really0.0.9/spec/lib/delivery/sidekiq_spec.rb:67 + # /build/ruby-mail-room-0.10.0+really0.0.9/spec/lib/arbitration/redis_spec.rb:95 - 2) MailRoom::Delivery::Sidekiq#options when only redis_url is specified client has same specified redis_url + 2) MailRoom::Arbitration::Redis redis client connection params when sentinel is present client has same specified sentinel params # Temporarily skipped with xit - # /build/ruby-mail-room-0.10.0+really0.0.9/spec/lib/delivery/sidekiq_spec.rb:22 + # /build/ruby-mail-room-0.10.0+really0.0.9/spec/lib/arbitration/redis_spec.rb:139 - 3) MailRoom::Arbitration::Redis redis client connection params when sentinel is present client has same specified sentinel params + 3) MailRoom::Delivery::Sidekiq#options when sentinel is specified client has same specified sentinel params # Temporarily skipped with xit - # /build/ruby-mail-room-0.10.0+really0.0.9/spec/lib/arbitration/redis_spec.rb:139 + # /build/ruby-mail-room-0.10.0+really0.0.9/spec/lib/delivery/sidekiq_spec.rb:67 - 4) MailRoom::Arbitration::Redis redis client connection params when only url is present client has same specified url + 4) MailRoom::Delivery::Sidekiq#options when only redis_url is specified client has same specified redis_url # Temporarily skipped with xit - # /build/ruby-mail-room-0.10.0+really0.0.9/spec/lib/arbitration/redis_spec.rb:95 + # /build/ruby-mail-room-0.10.0+really0.0.9/spec/lib/delivery/sidekiq_spec.rb:22 -Finished in 2.16 seconds (files took 0.72979 seconds to load) +Finished in 2.64 seconds (files took 2.54 seconds to load) 83 examples, 0 failures, 4 pending -Randomized with seed 26707 +Randomized with seed 36153 +Mocha deprecation warning at /build/ruby-mail-room-0.10.0+really0.0.9/lib/mail_room/health_check.rb:18:in `block in run': # was instantiated in one test but it is receiving invocations within another test. This can lead to unintended interactions between tests and hence unexpected test failures. Ensure that every test correctly cleans up any state that it introduces. A Mocha::StubbingError will be raised in this scenario in the future. Coverage report generated for RSpec to /build/ruby-mail-room-0.10.0+really0.0.9/coverage. 1019 / 1074 LOC (94.88%) covered. pkill redis-server || true @@ -1377,12 +1398,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/2537756/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2537756/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/3325476 and its subdirectories -I: Current time: Fri Apr 14 09:49:12 -12 2023 -I: pbuilder-time-stamp: 1681508952 +I: removing directory /srv/workspace/pbuilder/2537756 and its subdirectories +I: Current time: Fri May 17 18:14:36 +14 2024 +I: pbuilder-time-stamp: 1715919276