Diff of the two buildlogs: -- --- b1/build.log 2024-12-01 20:35:56.605583604 +0000 +++ b2/build.log 2024-12-01 20:44:07.943506781 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Dec 1 08:29:36 -12 2024 -I: pbuilder-time-stamp: 1733084976 +I: Current time: Mon Dec 2 10:36:05 +14 2024 +I: pbuilder-time-stamp: 1733085365 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -26,52 +26,84 @@ dpkg-source: info: unpacking golang-github-crowdsecurity-go-cs-bouncer_0.0.2-2.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/7409/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/4348/tmp/hooks/D01_modify_environment starting +debug: Running on virt64b. +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 Dec 1 20:36 /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/4348/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/4348/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='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='armhf' + 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]="32" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.32(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='34c4ee680f704b1cbd57c344b4054b75' - 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='7409' - PS1='# ' - PS2='> ' + INVOCATION_ID=b4690252f248402997c6b4ca6c8d3e8c + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=4348 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.4m4VqnWs/pbuilderrc_Zoza --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.4m4VqnWs/b1 --logfile b1/build.log golang-github-crowdsecurity-go-cs-bouncer_0.0.2-2.dsc' - SUDO_GID='112' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + 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.4m4VqnWs/pbuilderrc_dhCG --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.4m4VqnWs/b2 --logfile b2/build.log golang-github-crowdsecurity-go-cs-bouncer_0.0.2-2.dsc' + SUDO_GID=113 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux virt32b 6.1.0-28-armmp-lpae #1 SMP Debian 6.1.119-1 (2024-11-22) armv7l GNU/Linux + Linux i-capture-the-hostname 6.1.0-28-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/7409/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/4348/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -626,7 +658,7 @@ Get: 505 http://deb.debian.org/debian unstable/main armhf golang-github-toorop-go-dkim-dev all 0.0~git20240103.90b7d14-1 [19.8 kB] Get: 506 http://deb.debian.org/debian unstable/main armhf golang-github-xhit-go-simple-mail-dev all 2.16.0-1 [28.2 kB] Get: 507 http://deb.debian.org/debian unstable/main armhf golang-github-crowdsecurity-crowdsec-dev all 1.4.6-9 [528 kB] -Fetched 189 MB in 8s (24.1 MB/s) +Fetched 189 MB in 14s (13.9 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package golang-golang-x-sys-dev. (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 ... 19684 files and directories currently installed.) @@ -2272,8 +2304,8 @@ Setting up tzdata (2024b-3) ... Current default time zone: 'Etc/UTC' -Local time is now: Sun Dec 1 20:32:49 UTC 2024. -Universal Time is now: Sun Dec 1 20:32:49 UTC 2024. +Local time is now: Sun Dec 1 20:40:33 UTC 2024. +Universal Time is now: Sun Dec 1 20:40:33 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up golang-github-coreos-go-semver-dev (0.3.0-1) ... @@ -2683,7 +2715,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/golang-github-crowdsecurity-go-cs-bouncer-0.0.2/ && 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 > ../golang-github-crowdsecurity-go-cs-bouncer_0.0.2-2_source.changes +I: user script /srv/workspace/pbuilder/4348/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/4348/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/golang-github-crowdsecurity-go-cs-bouncer-0.0.2/ && 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 > ../golang-github-crowdsecurity-go-cs-bouncer_0.0.2-2_source.changes dpkg-buildpackage: info: source package golang-github-crowdsecurity-go-cs-bouncer dpkg-buildpackage: info: source version 0.0.2-2 dpkg-buildpackage: info: source distribution unstable @@ -2701,41 +2737,41 @@ dh_autoreconf -O--builddirectory=_build -O--buildsystem=golang dh_auto_configure -O--builddirectory=_build -O--buildsystem=golang dh_auto_build -O--builddirectory=_build -O--buildsystem=golang - cd _build && go install -trimpath -v -p 3 github.com/crowdsecurity/go-cs-bouncer github.com/crowdsecurity/go-cs-bouncer/examples/live github.com/crowdsecurity/go-cs-bouncer/examples/live_mtls github.com/crowdsecurity/go-cs-bouncer/examples/stream + cd _build && go install -trimpath -v -p 4 github.com/crowdsecurity/go-cs-bouncer github.com/crowdsecurity/go-cs-bouncer/examples/live github.com/crowdsecurity/go-cs-bouncer/examples/live_mtls github.com/crowdsecurity/go-cs-bouncer/examples/stream +internal/byteorder internal/unsafeheader internal/goarch internal/cpu -internal/byteorder internal/abi -internal/chacha8rand -internal/bytealg internal/coverage/rtcov +internal/chacha8rand internal/godebugs internal/goexperiment +internal/bytealg internal/goos internal/profilerecord internal/runtime/atomic internal/runtime/syscall -internal/stringslite runtime/internal/math runtime/internal/sys -internal/runtime/exithook +internal/stringslite internal/race sync/atomic internal/asan +internal/runtime/exithook internal/itoa internal/msan unicode -runtime unicode/utf8 container/list math/bits -math crypto/internal/alias crypto/internal/boring/sig cmp unicode/utf16 +math vendor/golang.org/x/crypto/cryptobyte/asn1 +runtime vendor/golang.org/x/crypto/internal/alias internal/nettrace encoding @@ -2745,23 +2781,26 @@ google.golang.org/protobuf/internal/flags google.golang.org/protobuf/internal/set crypto/subtle -sync internal/reflectlite iter +sync slices internal/weak maps runtime/metrics -internal/bisect internal/testlog -errors +internal/bisect internal/singleflight +github.com/josharian/intern +runtime/cgo +google.golang.org/protobuf/internal/pragma internal/godebug sort +errors internal/oserror -syscall io strconv +syscall bytes hash crypto/cipher @@ -2770,76 +2809,74 @@ crypto/internal/boring crypto/aes crypto/des -crypto/internal/nistec/fiat crypto/internal/randutil -time +crypto/internal/nistec/fiat reflect +time context path io/fs -internal/filepathlite internal/syscall/unix internal/poll -crypto/internal/nistec -internal/fmtsort +internal/filepathlite internal/syscall/execenv math/rand os +crypto/internal/nistec +internal/fmtsort strings -crypto/ecdh crypto/sha512 crypto/internal/edwards25519 crypto/hmac encoding/binary +crypto/ecdh vendor/golang.org/x/crypto/hkdf -vendor/golang.org/x/sys/cpu crypto/md5 +crypto/rc4 vendor/golang.org/x/crypto/chacha20 +fmt vendor/golang.org/x/crypto/internal/poly1305 +vendor/golang.org/x/sys/cpu +crypto/sha1 vendor/golang.org/x/crypto/chacha20poly1305 -fmt vendor/golang.org/x/crypto/sha3 -crypto/rc4 -crypto/sha1 crypto/sha256 encoding/base64 -vendor/golang.org/x/net/dns/dnsmessage encoding/pem +vendor/golang.org/x/net/dns/dnsmessage math/rand/v2 -math/big +path/filepath encoding/hex +math/big internal/concurrent unique -runtime/cgo -net/netip net/url +net/netip +encoding/json +bufio +compress/flate +net +hash/crc32 +compress/gzip +vendor/golang.org/x/text/transform +log crypto/elliptic crypto/internal/bigmod crypto/internal/boring/bbig encoding/asn1 crypto/rand +crypto/dsa crypto/ed25519 crypto/internal/hpke crypto/internal/mlkem768 -vendor/golang.org/x/crypto/cryptobyte crypto/rsa -crypto/ecdsa -crypto/dsa +vendor/golang.org/x/crypto/cryptobyte +vendor/golang.org/x/text/unicode/bidi crypto/x509/pkix -net -path/filepath -encoding/json -bufio -compress/flate -hash/crc32 -compress/gzip -vendor/golang.org/x/text/transform -log vendor/golang.org/x/text/unicode/norm -vendor/golang.org/x/text/unicode/bidi +crypto/ecdsa vendor/golang.org/x/text/secure/bidirule vendor/golang.org/x/net/http2/hpack -vendor/golang.org/x/net/idna mime mime/quotedprintable net/http/internal @@ -2847,119 +2884,118 @@ database/sql/driver html io/ioutil +vendor/golang.org/x/net/idna regexp/syntax github.com/oklog/ulid -github.com/josharian/intern github.com/mailru/easyjson/jlexer internal/saferio encoding/gob regexp +github.com/go-openapi/analysis/internal/debug +embed +github.com/antonmedv/expr/file +github.com/pkg/errors go.mongodb.org/mongo-driver/bson/primitive +golang.org/x/sys/unix go.mongodb.org/mongo-driver/x/bsonx/bsoncore gopkg.in/yaml.v3 go.mongodb.org/mongo-driver/bson/bsonrw crypto/x509 net/textproto -vendor/golang.org/x/net/http/httpproxy vendor/golang.org/x/net/http/httpguts +vendor/golang.org/x/net/http/httpproxy mime/multipart -crypto/tls -github.com/asaskevich/govalidator github.com/google/uuid github.com/mitchellh/mapstructure go.mongodb.org/mongo-driver/bson/bsoncodec net/mail github.com/mailru/easyjson/buffer github.com/mailru/easyjson/jwriter -github.com/go-openapi/analysis/internal/debug -embed github.com/go-openapi/jsonreference/internal -github.com/antonmedv/expr/file github.com/antonmedv/expr/vm -go.mongodb.org/mongo-driver/bson -net/http/httptrace -net/http github.com/hashicorp/go-version github.com/crowdsecurity/grokky -github.com/pkg/errors -golang.org/x/sys/unix +crypto/tls +github.com/asaskevich/govalidator +github.com/sirupsen/logrus gopkg.in/natefinch/lumberjack.v2 +go.mongodb.org/mongo-driver/bson runtime/debug github.com/google/go-querystring/query gopkg.in/tomb.v2 github.com/beorn7/perks/quantile github.com/cespare/xxhash hash/fnv +google.golang.org/protobuf/internal/editiondefaults +go/token +google.golang.org/protobuf/internal/version +github.com/munnerz/goautoneg google.golang.org/protobuf/internal/detrand +github.com/prometheus/procfs/internal/fs google.golang.org/protobuf/internal/errors +github.com/prometheus/procfs/internal/util +gopkg.in/yaml.v2 google.golang.org/protobuf/encoding/protowire -google.golang.org/protobuf/internal/pragma +github.com/prometheus/procfs google.golang.org/protobuf/reflect/protoreflect google.golang.org/protobuf/internal/descfmt google.golang.org/protobuf/internal/descopts -google.golang.org/protobuf/internal/editiondefaults -github.com/sirupsen/logrus -go/token google.golang.org/protobuf/internal/strs google.golang.org/protobuf/internal/encoding/text +net/http/httptrace +net/http google.golang.org/protobuf/internal/encoding/messageset -google.golang.org/protobuf/internal/genid google.golang.org/protobuf/internal/encoding/defval +google.golang.org/protobuf/internal/genid google.golang.org/protobuf/internal/order google.golang.org/protobuf/reflect/protoregistry google.golang.org/protobuf/runtime/protoiface -google.golang.org/protobuf/internal/version -github.com/munnerz/goautoneg -github.com/prometheus/procfs/internal/fs google.golang.org/protobuf/proto -github.com/prometheus/procfs/internal/util -github.com/prometheus/procfs +google.golang.org/protobuf/encoding/prototext +google.golang.org/protobuf/encoding/protodelim google.golang.org/protobuf/internal/filedesc +google.golang.org/protobuf/internal/encoding/tag +google.golang.org/protobuf/internal/impl github.com/go-openapi/errors +github.com/crowdsecurity/crowdsec/pkg/cwversion github.com/go-openapi/swag +net/http/httputil github.com/go-openapi/strfmt -github.com/crowdsecurity/crowdsec/pkg/cwversion +expvar +google.golang.org/protobuf/internal/filetype github.com/go-openapi/jsonpointer -net/http/httputil +google.golang.org/protobuf/runtime/protoimpl github.com/go-openapi/jsonreference -expvar +google.golang.org/protobuf/types/known/timestamppb github.com/go-openapi/spec -google.golang.org/protobuf/encoding/prototext -google.golang.org/protobuf/internal/encoding/tag -google.golang.org/protobuf/encoding/protodelim -gopkg.in/yaml.v2 -google.golang.org/protobuf/internal/impl +github.com/prometheus/client_model/go +github.com/prometheus/common/model +github.com/prometheus/client_golang/prometheus/internal +github.com/prometheus/common/expfmt github.com/go-openapi/analysis/internal/flatten/normalize github.com/go-openapi/analysis/internal/flatten/operations github.com/go-openapi/analysis/internal/flatten/replace github.com/go-openapi/analysis/internal/flatten/schutils github.com/go-openapi/analysis/internal/flatten/sortref github.com/go-openapi/analysis +github.com/prometheus/client_golang/prometheus github.com/go-openapi/loads github.com/go-openapi/validate -google.golang.org/protobuf/internal/filetype github.com/crowdsecurity/crowdsec/pkg/models -google.golang.org/protobuf/runtime/protoimpl -google.golang.org/protobuf/types/known/timestamppb -github.com/prometheus/client_model/go github.com/crowdsecurity/crowdsec/pkg/types -github.com/prometheus/common/model github.com/crowdsecurity/crowdsec/pkg/apiclient -github.com/prometheus/client_golang/prometheus/internal -github.com/prometheus/common/expfmt -github.com/prometheus/client_golang/prometheus github.com/crowdsecurity/go-cs-bouncer github.com/crowdsecurity/go-cs-bouncer/examples/live -github.com/crowdsecurity/go-cs-bouncer/examples/stream github.com/crowdsecurity/go-cs-bouncer/examples/live_mtls +github.com/crowdsecurity/go-cs-bouncer/examples/stream dh_auto_test -O--builddirectory=_build -O--buildsystem=golang - cd _build && go test -vet=off -v -p 3 github.com/crowdsecurity/go-cs-bouncer github.com/crowdsecurity/go-cs-bouncer/examples/live github.com/crowdsecurity/go-cs-bouncer/examples/live_mtls github.com/crowdsecurity/go-cs-bouncer/examples/stream + cd _build && go test -vet=off -v -p 4 github.com/crowdsecurity/go-cs-bouncer github.com/crowdsecurity/go-cs-bouncer/examples/live github.com/crowdsecurity/go-cs-bouncer/examples/live_mtls github.com/crowdsecurity/go-cs-bouncer/examples/stream ? github.com/crowdsecurity/go-cs-bouncer/examples/live [no test files] ? github.com/crowdsecurity/go-cs-bouncer/examples/live_mtls [no test files] +? github.com/crowdsecurity/go-cs-bouncer/examples/stream [no test files] testing: warning: no tests to run PASS -ok github.com/crowdsecurity/go-cs-bouncer 0.038s [no tests to run] -? github.com/crowdsecurity/go-cs-bouncer/examples/stream [no test files] +ok github.com/crowdsecurity/go-cs-bouncer 0.017s [no tests to run] create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang dh_prep -O--builddirectory=_build -O--buildsystem=golang @@ -2989,12 +3025,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/4348/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/4348/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/7409 and its subdirectories -I: Current time: Sun Dec 1 08:35:51 -12 2024 -I: pbuilder-time-stamp: 1733085351 +I: removing directory /srv/workspace/pbuilder/4348 and its subdirectories +I: Current time: Mon Dec 2 10:44:03 +14 2024 +I: pbuilder-time-stamp: 1733085843