Diff of the two buildlogs:
--
--- b1/build.log 2023-05-11 14:43:16.002327198 +0000
+++ b2/build.log 2023-05-11 14:44:20.191516381 +0000
@@ -1,6 +1,6 @@
I: pbuilder: network access will be disabled during build
-I: Current time: Thu May 11 02:41:47 -12 2023
-I: pbuilder-time-stamp: 1683816107
+I: Current time: Thu Jun 13 11:06:19 +14 2024
+I: pbuilder-time-stamp: 1718226379
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-slack-messenger_2.3.4.orig.tar.gz]
I: copying [./ruby-slack-messenger_2.3.4-2.debian.tar.xz]
I: Extracting source
-gpgv: Signature made Mon Jan 2 14:57:50 2023 -12
+gpgv: Signature made Tue Jan 3 16:57:50 2023 +14
gpgv: using RSA key 0B29D88E42E6B765B8D8EA507839619DD439668E
gpgv: Can't check signature: No public key
dpkg-source: warning: cannot verify inline signature for ./ruby-slack-messenger_2.3.4-2.dsc: no acceptable signature found
@@ -27,52 +27,84 @@
dpkg-source: info: applying fix-FTBFS-with-ruby-rspec-3.12.patch
I: Not using root during the build.
I: Installing the build-deps
-I: user script /srv/workspace/pbuilder/7569/tmp/hooks/D02_print_environment starting
+I: user script /srv/workspace/pbuilder/30002/tmp/hooks/D01_modify_environment starting
+debug: Running on codethink13-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 Jun 13 11:06 /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/30002/tmp/hooks/D01_modify_environment finished
+I: user script /srv/workspace/pbuilder/30002/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='7569'
- 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=30002
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.LhDNO6TD/pbuilderrc_eHeR --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.LhDNO6TD/b1 --logfile b1/build.log ruby-slack-messenger_2.3.4-2.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.LhDNO6TD/pbuilderrc_23P4 --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.LhDNO6TD/b2 --logfile b2/build.log --extrapackages usrmerge ruby-slack-messenger_2.3.4-2.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 codethink10-arm64 4.15.0-210-generic #221-Ubuntu SMP Tue Apr 18 08:32:48 UTC 2023 aarch64 GNU/Linux
+ Linux i-capture-the-hostname 4.15.0-210-generic #221-Ubuntu SMP Tue Apr 18 08:32:48 UTC 2023 aarch64 GNU/Linux
I: ls -l /bin
- lrwxrwxrwx 1 root root 7 May 10 22:25 /bin -> usr/bin
-I: user script /srv/workspace/pbuilder/7569/tmp/hooks/D02_print_environment finished
+ lrwxrwxrwx 1 root root 7 Jun 13 06:48 /bin -> usr/bin
+I: user script /srv/workspace/pbuilder/30002/tmp/hooks/D02_print_environment finished
-> Attempting to satisfy build-dependencies
-> Creating pbuilder-satisfydepends-dummy package
Package: pbuilder-satisfydepends-dummy
@@ -245,7 +277,7 @@
Get: 129 http://deb.debian.org/debian bookworm/main arm64 ruby-rspec-expectations all 3.12.0c0e1m1s0-1 [89.5 kB]
Get: 130 http://deb.debian.org/debian bookworm/main arm64 ruby-rspec-mocks all 3.12.0c0e1m1s0-1 [79.5 kB]
Get: 131 http://deb.debian.org/debian bookworm/main arm64 ruby-rspec all 3.12.0c0e1m1s0-1 [5084 B]
-Fetched 45.6 MB in 3s (18.2 MB/s)
+Fetched 45.6 MB in 3s (13.1 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.)
@@ -792,8 +824,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-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-2_source.changes
+I: user script /srv/workspace/pbuilder/30002/tmp/hooks/A99_set_merged_usr starting
+Re-configuring usrmerge...
+I: user script /srv/workspace/pbuilder/30002/tmp/hooks/A99_set_merged_usr finished
+hostname: Temporary failure in name resolution
+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-2_source.changes
dpkg-buildpackage: info: source package ruby-slack-messenger
dpkg-buildpackage: info: source version 2.3.4-2
dpkg-buildpackage: info: source distribution unstable
@@ -821,13 +862,13 @@
dh_prep -O--buildsystem=ruby
dh_auto_install --destdir=debian/ruby-slack-messenger/ -O--buildsystem=ruby
dh_ruby --install /build/ruby-slack-messenger-2.3.4/debian/ruby-slack-messenger
-/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20230511-14287-n8mvsz/gemspec
+/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20240613-3285-y2z49o/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/ruby3.1 -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/d20230511-14287-n8mvsz/slack-messenger-2.3.4.gem
+/usr/bin/ruby3.1 -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/d20240613-3285-y2z49o/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
@@ -875,29 +916,12 @@
All examples were filtered out; ignoring {:focus=>true}
-Randomized with seed 30611
-
-Slack::Messenger::PayloadMiddleware::FormatMessage
- returns the payload unmodified if not :text key
- passes the text through linkformatter with options[:formats]
+Randomized with seed 30643
-Slack::Messenger
- sends correct payload for #post({:text=>"John"})
- sends correct payload for #post({:text=>"hello", :http_options=>{:timeout=>5}})
- sends correct payload for #post({:text=>"hello/\u3053\u3093\u306B\u3061\u306F from messenger test"})
- sends correct payload for #post({:text=>"[hello](http://example.com/world)"})
- sends correct payload for #post({:text=>"example"})
- sends correct payload for #post({:text=>"hello"})
- sends correct payload for #post({:attachments=>{:color=>"#000", :text=>"attachment message [hodor](http://winterfell.com)", :fallback=>"fallback message"}})
- 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=>"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 World, enjoy [](http://example.com)."})
- applies options given to middleware
- sends correct payload for #post({:text=>"Hello World, enjoy [this](http://example.com)[this2](http://example2.com)"})
- sends correct payload for #post({:attachments=>{:color=>"#000", :text=>nil, :fallback=>"fallback message"}})
- sends correct payload for #post({:text=>"[John](mailto:john@example.com)"})
+Slack::Messenger::PayloadMiddleware::At
+ can handle array at
+ can handle single at option
+ generates :text in payload if given :at & no :text
Slack::Messenger::PayloadMiddleware::Channels
leaves string channels alone
@@ -906,110 +930,127 @@
Slack::Messenger::Util::HTTPClient
#call
raises an error when the response is unsuccessful
- ::post
- initializes Util::HTTPClient with the given uri and params then calls
#initialize
allows setting of options for Net::HTTP
+ ::post
+ initializes Util::HTTPClient with the given uri and params then calls
-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
- ::options
- allows setting default options for a middleware
- #call
- raises NoMethodError (expects subclass to define)
-
-Slack::Messenger::PayloadMiddleware::FormatAttachments
- can handle a single attachment
- searches through string or symbol keys
- wraps attachment into array if given as a single hash
- passes the text of attachments through linkformatter with options[:formats]
- returns the payload unmodified if not :attachments key
-
-Slack::Messenger::PayloadMiddleware
- ::register
- adds given class to key in registry
- ::registry
- returns memoized version if already set
- returns a hash if nothing set
-
-Slack::Messenger::PayloadMiddleware::At
- generates :text in payload if given :at & no :text
- can handle single at option
- can handle array at
+Slack::Messenger
+ 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=>"hello", :http_options=>{:timeout=>5}})
+ sends correct payload for #post({:text=>"Hello World, enjoy [](http://example.com)."})
+ sends correct payload for #post({:text=>"Hello World, enjoy [this](http://example.com)[this2](http://example2.com)"})
+ sends correct payload for #post({:text=>"hello/\u3053\u3093\u306B\u3061\u306F from messenger test"})
+ sends correct payload for #post({:text=>"John"})
+ 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=>"[John](mailto:john@example.com)"})
+ applies options given to middleware
+ 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"})
+ sends correct payload for #post({:text=>"example"})
+ 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](http://example.com/world)"})
Slack::Messenger
- #ping
- calls #post with the message as the text key in #post
- #post
- calls the middleware stack with the payload
- uses the defaults set on initialization
- allows overriding the set defaults
#initialize
- sets the given hook_url to the endpoint URI
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
+ #post
+ uses the defaults set on initialization
+ allows overriding the set defaults
+ calls the middleware stack with the payload
+
+Slack::Messenger::PayloadMiddleware::Stack
+ #set
+ raises if a middleware is missing
+ creates a stack from hashes passing them as opts
+ initializes each middleware w/ the messenger instance
+ creates the stack in an array
+ #call
+ handles multiple middleware splitting payload
+ calls the middleware in order, passing return of each to the next
+ allows any middleware to return an array but other's don't need special behavior
+ ::initialize
+ has empty stack
+ sets messenger to given messenger
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
+ is [:format_message, :format_attachments, :at] if not set
+ allows passing options to middleware stack
+ takes an array or a splat of args
#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
- sets a new client class if given one
- #middleware
- takes an array or a splat of args
- allows passing options to middleware stack
- is [:format_message, :format_attachments, :at] if not set
+
+Slack::Messenger::PayloadMiddleware::FormatAttachments
+ passes the text of attachments through linkformatter with options[:formats]
+ wraps attachment into array if given as a single hash
+ can handle a single attachment
+ returns the payload unmodified if not :attachments key
+ searches through string or symbol keys
+
+Slack::Messenger::PayloadMiddleware::Base
+ ::options
+ allows setting default options for a middleware
+ #initialize
+ sets given options as opts
+ sets given messenger as messenger
+ #call
+ raises NoMethodError (expects subclass to define)
+ ::middleware_name
+ registers class w/ given name
+ uses symbolized name to register
+
+Slack::Messenger::PayloadMiddleware
+ ::register
+ adds given class to key in registry
+ ::registry
+ returns memoized version if already set
+ returns a hash if nothing set
+
+Slack::Messenger::PayloadMiddleware::FormatMessage
+ passes the text through linkformatter with options[:formats]
+ returns the payload unmodified if not :text key
Slack::Messenger::Util::LinkFormatter
::format
- handles multiple html links
- formats a number of differently formatted links
- handles multiple markdown links
- formats markdown links with no title
+ doesn't replace valid Japanese
handles links with trailing parentheses
+ handles mailto links in html
+ handles multiple markdown links
+ formats html links
+ handles multiple html links
handles mixed html & markdown links
formats markdown links
- formats html links
- handles mailto links in markdown
- handles mailto links in html
+ formats a number of differently formatted links
+ formats markdown links with no title
formats markdown links in brackets
- doesn't replace valid Japanese
- with a configured stack
- only formats markdown if markdown is the only item in formats
- only formats html if html is the only item in formats
- doesn't format if formats is empty
+ handles mailto links in markdown
when on ruby 2.1+ or have string-scrub installed
handles invalid unicode sequences
replaces invalid unicode sequences with the unicode replacement character
+ with a configured stack
+ only formats html if html is the only item in formats
+ only formats markdown if markdown is the only item in formats
+ doesn't format if formats is empty
-Slack::Messenger::PayloadMiddleware::Stack
- #set
- creates a stack from hashes passing them as opts
- initializes each middleware w/ the messenger instance
- raises if a middleware is missing
- creates the stack in an array
- ::initialize
- has empty stack
- sets messenger to given messenger
- #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
-
-Finished in 0.23508 seconds (files took 0.7353 seconds to load)
+Finished in 0.14734 seconds (files took 0.50828 seconds to load)
83 examples, 0 failures
-Randomized with seed 30611
+Randomized with seed 30643
┌──────────────────────────────────────────────────────────────────────────────┐
@@ -1045,12 +1086,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/30002/tmp/hooks/B01_cleanup starting
+I: user script /srv/workspace/pbuilder/30002/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/7569 and its subdirectories
-I: Current time: Thu May 11 02:43:14 -12 2023
-I: pbuilder-time-stamp: 1683816194
+I: removing directory /srv/workspace/pbuilder/30002 and its subdirectories
+I: Current time: Thu Jun 13 11:07:19 +14 2024
+I: pbuilder-time-stamp: 1718226439