Diff of the two buildlogs: -- --- b1/build.log 2024-05-14 19:56:18.016883642 +0000 +++ b2/build.log 2024-05-14 19:58:28.043348938 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue May 14 07:54:15 -12 2024 -I: pbuilder-time-stamp: 1715716455 +I: Current time: Wed May 15 09:56:21 +14 2024 +I: pbuilder-time-stamp: 1715716581 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-bep-logg_0.4.0-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/841084/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1523623/tmp/hooks/D01_modify_environment starting +debug: Running on codethink02-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 May 14 19:56 /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/1523623/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1523623/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='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]="21" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + 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=12 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='b4ca174f453a47989a39c92baee913d4' - 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='841084' - PS1='# ' - PS2='> ' + INVOCATION_ID=c10e73ee9e1f44f5a3570cebeb5852d0 + 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=1523623 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.gzE3jQTA/pbuilderrc_eFuF --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.gzE3jQTA/b1 --logfile b1/build.log golang-github-bep-logg_0.4.0-1.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4: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.gzE3jQTA/pbuilderrc_ErNJ --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.gzE3jQTA/b2 --logfile b2/build.log golang-github-bep-logg_0.4.0-1.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink04-arm64 6.1.0-21-cloud-arm64 #1 SMP Debian 6.1.90-1 (2024-05-03) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-21-cloud-arm64 #1 SMP Debian 6.1.90-1 (2024-05-03) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 13 07:43 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/841084/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 13 07:42 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1523623/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -216,7 +248,7 @@ Get: 79 http://deb.debian.org/debian unstable/main arm64 golang-go.uber-multierr-dev all 1.6.0-1 [10.6 kB] Get: 80 http://deb.debian.org/debian unstable/main arm64 golang-uber-goleak-dev all 1.3.0-1 [18.1 kB] Get: 81 http://deb.debian.org/debian unstable/main arm64 golang-go.uber-zap-dev all 1.26.0-1 [124 kB] -Fetched 83.0 MB in 0s (171 MB/s) +Fetched 83.0 MB in 0s (206 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 ... 19745 files and directories currently installed.) @@ -555,7 +587,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/golang-github-bep-logg-0.4.0/ && 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-bep-logg_0.4.0-1_source.changes +I: user script /srv/workspace/pbuilder/1523623/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/1523623/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/golang-github-bep-logg-0.4.0/ && 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-bep-logg_0.4.0-1_source.changes dpkg-buildpackage: info: source package golang-github-bep-logg dpkg-buildpackage: info: source version 0.4.0-1 dpkg-buildpackage: info: source distribution unstable @@ -574,33 +610,33 @@ 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 12 github.com/bep/logg github.com/bep/logg/benchmarks github.com/bep/logg/handlers github.com/bep/logg/handlers/cli github.com/bep/logg/handlers/json github.com/bep/logg/handlers/level github.com/bep/logg/handlers/memory github.com/bep/logg/handlers/multi github.com/bep/logg/handlers/text -internal/godebugs -unicode/utf8 -internal/coverage/rtcov internal/unsafeheader -internal/goarch -runtime/internal/syscall -internal/race internal/goos -unicode -sync/atomic -internal/cpu +internal/goexperiment +unicode/utf8 +internal/race +internal/goarch internal/itoa +internal/coverage/rtcov +math/bits +internal/godebugs +cmp internal/abi +internal/cpu internal/chacha8rand -internal/goexperiment runtime/internal/math -math/bits -runtime/internal/sys -cmp +sync/atomic +runtime/internal/syscall +slices log/internal github.com/bep/logg/benchmarks -encoding +runtime/internal/sys +unicode unicode/utf16 +encoding math -slices -runtime/internal/atomic internal/bytealg +runtime/internal/atomic runtime internal/reflectlite sync @@ -609,15 +645,15 @@ sort io internal/oserror -internal/safefilepath -path strconv +path +internal/safefilepath syscall bytes strings reflect -internal/syscall/execenv internal/syscall/unix +internal/syscall/execenv time github.com/bep/clocks io/fs @@ -628,8 +664,8 @@ encoding/base64 golang.org/x/sys/unix fmt -log github.com/pkg/errors +log encoding/json github.com/bep/logg github.com/bep/logg/handlers @@ -695,21 +731,21 @@ === RUN Example_lazy_evaluation --- PASS: Example_lazy_evaluation (0.00s) PASS -ok github.com/bep/logg 0.011s +ok github.com/bep/logg 0.010s ? github.com/bep/logg/handlers [no test files] ? github.com/bep/logg/handlers/cli [no test files] ? github.com/bep/logg/handlers/memory [no test files] testing: warning: no tests to run PASS -ok github.com/bep/logg/benchmarks 0.018s [no tests to run] +ok github.com/bep/logg/benchmarks 0.016s [no tests to run] === RUN TestJSONHandler --- PASS: TestJSONHandler (0.00s) PASS -ok github.com/bep/logg/handlers/json 0.015s +ok github.com/bep/logg/handlers/json 0.027s === RUN TestLevel --- PASS: TestLevel (0.00s) PASS -ok github.com/bep/logg/handlers/level 0.015s +ok github.com/bep/logg/handlers/level 0.033s === RUN TestMulti --- PASS: TestMulti (0.00s) === RUN TestMultiModifyEntry @@ -717,11 +753,11 @@ === RUN TestStopEntry --- PASS: TestStopEntry (0.00s) PASS -ok github.com/bep/logg/handlers/multi 0.015s +ok github.com/bep/logg/handlers/multi 0.036s === RUN TestTextHandler --- PASS: TestTextHandler (0.00s) PASS -ok github.com/bep/logg/handlers/text 0.015s +ok github.com/bep/logg/handlers/text 0.028s debian/rules execute_after_dh_auto_test make[1]: Entering directory '/build/reproducible-path/golang-github-bep-logg-0.4.0' cd _build && \ @@ -736,91 +772,91 @@ BenchmarkDisabledWithoutFields scenario_bench_test.go:32: Logging at a disabled level without any structured context. BenchmarkDisabledWithoutFields/apex/log -BenchmarkDisabledWithoutFields/apex/log-12 1000000000 0.6369 ns/op +BenchmarkDisabledWithoutFields/apex/log-12 1000000000 0.7395 ns/op BenchmarkDisabledWithoutFields/bep/logg -BenchmarkDisabledWithoutFields/bep/logg-12 1000000000 0.5483 ns/op +BenchmarkDisabledWithoutFields/bep/logg-12 1000000000 0.6624 ns/op BenchmarkDisabledWithoutFields/sirupsen/logrus -BenchmarkDisabledWithoutFields/sirupsen/logrus-12 80563551 13.93 ns/op +BenchmarkDisabledWithoutFields/sirupsen/logrus-12 80372919 19.51 ns/op BenchmarkDisabledWithoutFields/rs/zerolog -BenchmarkDisabledWithoutFields/rs/zerolog-12 1000000000 0.4386 ns/op +BenchmarkDisabledWithoutFields/rs/zerolog-12 1000000000 0.5618 ns/op BenchmarkDisabledAccumulatedContext scenario_bench_test.go:73: Logging at a disabled level with some accumulated context. BenchmarkDisabledAccumulatedContext/apex/log -BenchmarkDisabledAccumulatedContext/apex/log-12 1000000000 0.3039 ns/op +BenchmarkDisabledAccumulatedContext/apex/log-12 1000000000 0.3468 ns/op BenchmarkDisabledAccumulatedContext/bep/logg -BenchmarkDisabledAccumulatedContext/bep/logg-12 1000000000 0.3802 ns/op +BenchmarkDisabledAccumulatedContext/bep/logg-12 1000000000 0.4048 ns/op BenchmarkDisabledAccumulatedContext/sirupsen/logrus -BenchmarkDisabledAccumulatedContext/sirupsen/logrus-12 81297194 15.53 ns/op +BenchmarkDisabledAccumulatedContext/sirupsen/logrus-12 52730552 22.38 ns/op BenchmarkDisabledAccumulatedContext/rs/zerolog -BenchmarkDisabledAccumulatedContext/rs/zerolog-12 1000000000 0.4895 ns/op +BenchmarkDisabledAccumulatedContext/rs/zerolog-12 1000000000 0.7396 ns/op BenchmarkDisabledAddingFields scenario_bench_test.go:114: Logging at a disabled level, adding context at each log site. BenchmarkDisabledAddingFields/apex/log -BenchmarkDisabledAddingFields/apex/log-12 2342504 529.4 ns/op +BenchmarkDisabledAddingFields/apex/log-12 1000000 3231 ns/op BenchmarkDisabledAddingFields/bep/logg -BenchmarkDisabledAddingFields/bep/logg-12 1000000000 0.6098 ns/op +BenchmarkDisabledAddingFields/bep/logg-12 882383130 1.165 ns/op BenchmarkDisabledAddingFields/sirupsen/logrus -BenchmarkDisabledAddingFields/sirupsen/logrus-12 1306386 1041 ns/op +BenchmarkDisabledAddingFields/sirupsen/logrus-12 174652 6919 ns/op BenchmarkDisabledAddingFields/rs/zerolog -BenchmarkDisabledAddingFields/rs/zerolog-12 39074859 37.12 ns/op +BenchmarkDisabledAddingFields/rs/zerolog-12 39034329 32.23 ns/op BenchmarkWithoutFields scenario_bench_test.go:155: Logging without any structured context. BenchmarkWithoutFields/apex/log -BenchmarkWithoutFields/apex/log-12 758126 2071 ns/op +BenchmarkWithoutFields/apex/log-12 525864 4445 ns/op BenchmarkWithoutFields/bep/logg -BenchmarkWithoutFields/bep/logg-12 3961134 294.0 ns/op +BenchmarkWithoutFields/bep/logg-12 4690222 331.6 ns/op BenchmarkWithoutFields/go-kit/kit/log -BenchmarkWithoutFields/go-kit/kit/log-12 3099484 371.4 ns/op +BenchmarkWithoutFields/go-kit/kit/log-12 2599287 459.2 ns/op BenchmarkWithoutFields/inconshreveable/log15 -BenchmarkWithoutFields/inconshreveable/log15-12 227530 10529 ns/op +BenchmarkWithoutFields/inconshreveable/log15-12 223272 10960 ns/op BenchmarkWithoutFields/sirupsen/logrus -BenchmarkWithoutFields/sirupsen/logrus-12 143773 7805 ns/op +BenchmarkWithoutFields/sirupsen/logrus-12 163908 7724 ns/op BenchmarkWithoutFields/stdlib.Println -BenchmarkWithoutFields/stdlib.Println-12 54641569 19.19 ns/op +BenchmarkWithoutFields/stdlib.Println-12 75721148 17.20 ns/op BenchmarkWithoutFields/stdlib.Printf -BenchmarkWithoutFields/stdlib.Printf-12 9318314 117.9 ns/op +BenchmarkWithoutFields/stdlib.Printf-12 11641401 108.2 ns/op BenchmarkWithoutFields/rs/zerolog -BenchmarkWithoutFields/rs/zerolog-12 33981807 34.62 ns/op +BenchmarkWithoutFields/rs/zerolog-12 36950877 34.26 ns/op BenchmarkWithoutFields/rs/zerolog.Formatting -BenchmarkWithoutFields/rs/zerolog.Formatting-12 348096 4311 ns/op +BenchmarkWithoutFields/rs/zerolog.Formatting-12 301537 3479 ns/op BenchmarkWithoutFields/rs/zerolog.Check -BenchmarkWithoutFields/rs/zerolog.Check-12 31395190 39.58 ns/op +BenchmarkWithoutFields/rs/zerolog.Check-12 27233978 39.46 ns/op BenchmarkAccumulatedContext scenario_bench_test.go:252: Logging with some accumulated context. BenchmarkAccumulatedContext/apex/log -BenchmarkAccumulatedContext/apex/log-12 43863 48332 ns/op +BenchmarkAccumulatedContext/apex/log-12 48117 42112 ns/op BenchmarkAccumulatedContext/bep/logg -BenchmarkAccumulatedContext/bep/logg-12 338402 3196 ns/op +BenchmarkAccumulatedContext/bep/logg-12 375464 5967 ns/op BenchmarkAccumulatedContext/go-kit/kit/log -BenchmarkAccumulatedContext/go-kit/kit/log-12 235861 9997 ns/op +BenchmarkAccumulatedContext/go-kit/kit/log-12 258744 19818 ns/op BenchmarkAccumulatedContext/inconshreveable/log15 -BenchmarkAccumulatedContext/inconshreveable/log15-12 37345 33353 ns/op +BenchmarkAccumulatedContext/inconshreveable/log15-12 37923 27886 ns/op BenchmarkAccumulatedContext/sirupsen/logrus -BenchmarkAccumulatedContext/sirupsen/logrus-12 31392 55364 ns/op +BenchmarkAccumulatedContext/sirupsen/logrus-12 18594 62221 ns/op BenchmarkAccumulatedContext/rs/zerolog -BenchmarkAccumulatedContext/rs/zerolog-12 17046504 62.85 ns/op +BenchmarkAccumulatedContext/rs/zerolog-12 31272717 36.72 ns/op BenchmarkAccumulatedContext/rs/zerolog.Check -BenchmarkAccumulatedContext/rs/zerolog.Check-12 21464989 51.88 ns/op +BenchmarkAccumulatedContext/rs/zerolog.Check-12 15057073 74.16 ns/op BenchmarkAccumulatedContext/rs/zerolog.Formatting -BenchmarkAccumulatedContext/rs/zerolog.Formatting-12 141567 7905 ns/op +BenchmarkAccumulatedContext/rs/zerolog.Formatting-12 65421 16461 ns/op BenchmarkAddingFields scenario_bench_test.go:331: Logging with additional context at each log site. BenchmarkAddingFields/apex/log -BenchmarkAddingFields/apex/log-12 41268 33098 ns/op +BenchmarkAddingFields/apex/log-12 43288 35648 ns/op BenchmarkAddingFields/bep/logg -BenchmarkAddingFields/bep/logg-12 151468 8794 ns/op +BenchmarkAddingFields/bep/logg-12 265396 4731 ns/op BenchmarkAddingFields/go-kit/kit/log -BenchmarkAddingFields/go-kit/kit/log-12 210258 9079 ns/op +BenchmarkAddingFields/go-kit/kit/log-12 205111 5208 ns/op BenchmarkAddingFields/inconshreveable/log15 -BenchmarkAddingFields/inconshreveable/log15-12 28778 54457 ns/op +BenchmarkAddingFields/inconshreveable/log15-12 22002 66094 ns/op BenchmarkAddingFields/sirupsen/logrus -BenchmarkAddingFields/sirupsen/logrus-12 34101 51927 ns/op +BenchmarkAddingFields/sirupsen/logrus-12 17770 59471 ns/op BenchmarkAddingFields/rs/zerolog -BenchmarkAddingFields/rs/zerolog-12 1367905 883.0 ns/op +BenchmarkAddingFields/rs/zerolog-12 2382914 442.6 ns/op BenchmarkAddingFields/rs/zerolog.Check -BenchmarkAddingFields/rs/zerolog.Check-12 1575136 1102 ns/op +BenchmarkAddingFields/rs/zerolog.Check-12 2825838 442.6 ns/op PASS -ok github.com/bep/logg/benchmarks 65.501s +ok github.com/bep/logg/benchmarks 68.304s make[1]: Leaving directory '/build/reproducible-path/golang-github-bep-logg-0.4.0' create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang @@ -848,12 +884,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/1523623/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1523623/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/841084 and its subdirectories -I: Current time: Tue May 14 07:56:17 -12 2024 -I: pbuilder-time-stamp: 1715716577 +I: removing directory /srv/workspace/pbuilder/1523623 and its subdirectories +I: Current time: Wed May 15 09:58:27 +14 2024 +I: pbuilder-time-stamp: 1715716707