Diff of the two buildlogs: -- --- b1/build.log 2023-04-23 08:26:41.191125872 +0000 +++ b2/build.log 2023-04-23 08:28:18.542815078 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat May 25 02:48:17 -12 2024 -I: pbuilder-time-stamp: 1716648497 +I: Current time: Sun Apr 23 22:26:45 +14 2023 +I: pbuilder-time-stamp: 1682238405 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,52 +29,84 @@ 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/23701/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/20114/tmp/hooks/D01_modify_environment starting +debug: Running on codethink10-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 Apr 23 22:26 /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/20114/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/20114/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8' - DISTRIBUTION='bookworm' - HOME='/var/lib/jenkins' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=bookworm + 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='23701' - 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=20114 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.Xe1tTkMy/pbuilderrc_558q --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.Xe1tTkMy/b1 --logfile b1/build.log ruby-mail-room_0.10.0+really0.0.9-3.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.Xe1tTkMy/pbuilderrc_wObf --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.Xe1tTkMy/b2 --logfile b2/build.log --extrapackages usrmerge ruby-mail-room_0.10.0+really0.0.9-3.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 codethink11-arm64 4.15.0-209-generic #220-Ubuntu SMP Tue Mar 21 19:52:44 UTC 2023 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-209-generic #220-Ubuntu SMP Tue Mar 21 19:52:44 UTC 2023 aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 24 04:47 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/23701/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Apr 21 00:25 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/20114/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -300,7 +332,7 @@ Get: 158 http://deb.debian.org/debian bookworm/main arm64 ruby-rspec all 3.12.0c0e1m1s0-1 [5084 B] Get: 159 http://deb.debian.org/debian bookworm/main arm64 ruby-simplecov-html all 0.12.3-2 [468 kB] Get: 160 http://deb.debian.org/debian bookworm/main arm64 ruby-simplecov all 0.22.0-1 [45.1 kB] -Fetched 49.8 MB in 2s (20.9 MB/s) +Fetched 49.8 MB in 2s (25.2 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:arm64. (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 ... 19616 files and directories currently installed.) @@ -965,8 +997,17 @@ 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/20114/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +I: user script /srv/workspace/pbuilder/20114/tmp/hooks/A99_set_merged_usr finished +hostname: Temporary failure in name resolution +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 @@ -1051,7 +1092,7 @@ All examples were filtered out; ignoring {:focus=>true} -Randomized with seed 49175 +Randomized with seed 56154 MailRoom::Delivery::Sidekiq #options @@ -1061,184 +1102,184 @@ 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) + +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::Arbitration::Redis + #deliver? + when called for another uid + returns true + when called the first time + sets an expiration on the delivered flag + returns true + increments the delivered flag + when called the second time + returns false + after expiration returns true + redis client connection params + when namespace is present + client has same specified namespace client is a instance of RedisNamespace class + when sentinel is present + client has same specified sentinel params (PENDING: Temporarily skipped with xit) + when only url is present + client is a instance of Redis class + client has same specified url (PENDING: Temporarily skipped with xit) MailRoom::Mailbox + #validate! + with missing configuration + raises an error #deliver + with arbitration_method of redis + arbitrates with a Redis instance with ssl options hash replaces verify mode with constant + with delivery_method of noop + delivers with a Noop instance without an RFC822 attribute doesn't deliver the message + with arbitration_method of noop + arbitrates with a Noop instance + with delivery_method of logger + delivers with a Logger instance structured logger setup - sets up the logger correctly and does not error sets up the noop logger correctly and does not error -{"severity":"INFO","time":"2024-05-25 02:49:29 -1200","message":"asdf"} +{"severity":"INFO","time":"2023-04-23 22:28:07 +1400","message":"asdf"} accepts stdout symbol to mean STDOUT - with delivery_method of noop - delivers with a Noop instance - with arbitration_method of noop - arbitrates with a Noop instance - with delivery_method of postback - delivers with a Postback instance - with arbitration_method of redis - arbitrates with a Redis instance + sets up the logger correctly and does not error with delivery_method of letter_opener delivers with a LetterOpener instance - with delivery_method of logger - delivers with a Logger instance - #validate! - with missing configuration - raises an error + with delivery_method of postback + delivers with a Postback instance + +MailRoom::IMAP::Message + #== + matches an equivalent message + does not match a base message + #initalize + initializes with required parameters MailRoom::CLI - #start - starts running the coordinator - on error - json format provided - passes onto CrashHandler .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 -MailRoom::Message - #== - does not match a message with a different UID - matches an equivalent message - #initalize - initializes with required parameters - -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 - -MailRoom::Arbitration::Redis - redis client connection params - when namespace is present - client has same specified namespace - client is a instance of RedisNamespace class - when sentinel is present - client has same specified sentinel params (PENDING: Temporarily skipped with xit) - when only url is present - client is a instance of Redis class - client has same specified url (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 the second time - after expiration returns true - returns false - when called for another uid - returns true - -MailRoom::Configuration - #initalize - with config_path - parses yaml into mailbox objects - parses health check - without config_path - sets mailboxes to an empty set - sets the health check to nil - -MailRoom::Delivery::Logger +MailRoom::Coordinator + #run + should set attribute running to true + runs each watcher + should go to sleep after running watchers #initialize - with a log path - creates a new file to append to - without a log path - creates a new ruby logger - #deliver - writes the message to info + builds a watcher for each mailbox + makes no watchers when mailboxes is empty + sets the health check + #quit + quits each watcher MailRoom::HealthCheck - #quit - sets running to false #initialize - with invalid address + with invalid port raises an error with valid parameters validates successfully - with invalid port + with invalid address raises an error + #quit + sets running to false #run sets running to true -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. - -MailRoom::IMAP::Message - #== - does not match a base message - matches an equivalent message - #initalize - initializes with required parameters - -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 +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. MailRoom::Logger::Structured logs fatal - only accepts hashes + logs unknown + logs debug logs error - logs warn logs info - logs debug - logs unknown + only accepts hashes + logs warn logging a hash as a message merges the contents +MailRoom::IMAP::Connection + with imap set up + is not disconnected + is not idling + is logged in + waits for a message to process + is ready to idle + MailRoom::Delivery::LetterOpener #deliver creates a new LetterOpener::DeliveryMethod - delivers the mail message parses the message string with Mail + delivers the mail message -MailRoom::Delivery::Que +MailRoom::Delivery::Logger #deliver - stores the message in que_jobs table - -MailRoom::Coordinator - #quit - quits each watcher + writes the message to info #initialize - sets the health check - builds a watcher for each mailbox - makes no watchers when mailboxes is empty - #run - runs each watcher - should go to sleep after running watchers - should set attribute running to true + with a log path + creates a new file to append to + without a log path + creates a new ruby logger -MailRoom::IMAP::Connection - with imap set up - is not idling - is ready to idle - waits for a message to process - is not disconnected - is logged in +MailRoom::Message + #== + does not match a message with a different UID + matches an equivalent message + #initalize + initializes with required parameters + +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::CrashHandler + #handle + when given a json format + writes a json message to stdout + when given a blank format + raises an error as designed + when given a nonexistent format + raises an error as designed MailRoom::MailboxWatcher - #running? - is false by default - #run - loops over wait while running #quit closes and waits for the connection + #run + loops over wait while running + #running? + is false by default + +MailRoom::Delivery::Que + #deliver + stores the message in que_jobs table Pending: (Failures listed here are expected and do not affect your suite's status) @@ -1258,10 +1299,10 @@ # Temporarily skipped with xit # /build/ruby-mail-room-0.10.0+really0.0.9/spec/lib/arbitration/redis_spec.rb:95 -Finished in 2.4 seconds (files took 1.83 seconds to load) +Finished in 2.46 seconds (files took 1.96 seconds to load) 83 examples, 0 failures, 4 pending -Randomized with seed 49175 +Randomized with seed 56154 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 @@ -1295,12 +1336,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/20114/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/20114/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/23701 and its subdirectories -I: Current time: Sat May 25 02:49:39 -12 2024 -I: pbuilder-time-stamp: 1716648579 +I: removing directory /srv/workspace/pbuilder/20114 and its subdirectories +I: Current time: Sun Apr 23 22:28:17 +14 2023 +I: pbuilder-time-stamp: 1682238497