Diff of the two buildlogs: -- --- b1/build.log 2024-05-07 19:38:50.262317734 +0000 +++ b2/build.log 2024-05-07 19:42:05.853994487 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Jun 9 13:58:02 -12 2025 -I: pbuilder-time-stamp: 1749520682 +I: Current time: Wed May 8 09:38:52 +14 2024 +I: pbuilder-time-stamp: 1715110732 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -26,51 +26,83 @@ 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/3811653/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3096766/tmp/hooks/D01_modify_environment starting +debug: Running on infom01-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 +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 May 7 19:39 /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/3096766/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3096766/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='amd64' - 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]="x86_64-pc-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=amd64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='amd64' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='83146c773cfb46eb9caba30b0ba262e5' - 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='3811653' - PS1='# ' - PS2='> ' + INVOCATION_ID=044ec501754d425b97fbffd1b8470459 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-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=3096766 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.LXkjFzf1/pbuilderrc_mpp4 --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.LXkjFzf1/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' + 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.LXkjFzf1/pbuilderrc_xHei --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.LXkjFzf1/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' I: uname -a - Linux infom02-amd64 6.6.13+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.6.13-1~bpo12+1 (2024-02-15) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-21-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Jun 8 14:05 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/3811653/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 6 07:42 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/3096766/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -215,7 +247,7 @@ Get: 79 http://deb.debian.org/debian unstable/main amd64 golang-go.uber-multierr-dev all 1.6.0-1 [10.6 kB] Get: 80 http://deb.debian.org/debian unstable/main amd64 golang-uber-goleak-dev all 1.3.0-1 [18.1 kB] Get: 81 http://deb.debian.org/debian unstable/main amd64 golang-go.uber-zap-dev all 1.26.0-1 [124 kB] -Fetched 86.8 MB in 2s (50.3 MB/s) +Fetched 86.8 MB in 1s (84.4 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 ... 19699 files and directories currently installed.) @@ -554,7 +586,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/3096766/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/3096766/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 @@ -573,24 +609,24 @@ 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/goarch internal/unsafeheader -internal/goos +internal/goarch internal/godebugs -internal/coverage/rtcov -internal/goexperiment -internal/cpu -unicode -runtime/internal/syscall internal/race +internal/goos runtime/internal/atomic +runtime/internal/syscall +internal/cpu +unicode sync/atomic -unicode/utf8 -internal/itoa +internal/goexperiment +internal/coverage/rtcov internal/chacha8rand internal/abi runtime/internal/math runtime/internal/sys +unicode/utf8 +internal/itoa math/bits cmp log/internal @@ -607,34 +643,34 @@ errors sort io -internal/safefilepath internal/oserror -strconv +internal/safefilepath path +strconv syscall bytes strings reflect -time internal/syscall/execenv +time internal/syscall/unix -io/fs internal/poll github.com/bep/clocks +io/fs internal/fmtsort encoding/binary os encoding/base64 golang.org/x/sys/unix fmt -github.com/pkg/errors log +github.com/pkg/errors encoding/json github.com/bep/logg github.com/bep/logg/handlers +github.com/bep/logg/handlers/level github.com/bep/logg/handlers/memory github.com/bep/logg/handlers/multi -github.com/bep/logg/handlers/level github.com/bep/logg/handlers/text github.com/bep/logg/handlers/json github.com/mattn/go-isatty @@ -700,15 +736,15 @@ ? github.com/bep/logg/handlers/memory [no test files] testing: warning: no tests to run PASS -ok github.com/bep/logg/benchmarks 0.007s [no tests to run] +ok github.com/bep/logg/benchmarks 0.006s [no tests to run] === RUN TestJSONHandler --- PASS: TestJSONHandler (0.00s) PASS -ok github.com/bep/logg/handlers/json 0.005s +ok github.com/bep/logg/handlers/json 0.003s === RUN TestLevel --- PASS: TestLevel (0.00s) PASS -ok github.com/bep/logg/handlers/level 0.005s +ok github.com/bep/logg/handlers/level 0.003s === RUN TestMulti --- PASS: TestMulti (0.00s) === RUN TestMultiModifyEntry @@ -716,7 +752,7 @@ === RUN TestStopEntry --- PASS: TestStopEntry (0.00s) PASS -ok github.com/bep/logg/handlers/multi 0.005s +ok github.com/bep/logg/handlers/multi 0.003s === RUN TestTextHandler --- PASS: TestTextHandler (0.00s) PASS @@ -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 1.079 ns/op +BenchmarkDisabledWithoutFields/apex/log-12 1000000000 0.8040 ns/op BenchmarkDisabledWithoutFields/bep/logg -BenchmarkDisabledWithoutFields/bep/logg-12 1000000000 0.6563 ns/op +BenchmarkDisabledWithoutFields/bep/logg-12 1000000000 0.5427 ns/op BenchmarkDisabledWithoutFields/sirupsen/logrus -BenchmarkDisabledWithoutFields/sirupsen/logrus-12 73406208 24.62 ns/op +BenchmarkDisabledWithoutFields/sirupsen/logrus-12 53325127 20.36 ns/op BenchmarkDisabledWithoutFields/rs/zerolog -BenchmarkDisabledWithoutFields/rs/zerolog-12 1000000000 0.7531 ns/op +BenchmarkDisabledWithoutFields/rs/zerolog-12 1000000000 0.5693 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.4542 ns/op +BenchmarkDisabledAccumulatedContext/apex/log-12 1000000000 0.4499 ns/op BenchmarkDisabledAccumulatedContext/bep/logg -BenchmarkDisabledAccumulatedContext/bep/logg-12 1000000000 0.3635 ns/op +BenchmarkDisabledAccumulatedContext/bep/logg-12 1000000000 0.3079 ns/op BenchmarkDisabledAccumulatedContext/sirupsen/logrus -BenchmarkDisabledAccumulatedContext/sirupsen/logrus-12 70138527 22.33 ns/op +BenchmarkDisabledAccumulatedContext/sirupsen/logrus-12 54897745 21.34 ns/op BenchmarkDisabledAccumulatedContext/rs/zerolog -BenchmarkDisabledAccumulatedContext/rs/zerolog-12 1000000000 0.6246 ns/op +BenchmarkDisabledAccumulatedContext/rs/zerolog-12 1000000000 0.6256 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 1410710 814.1 ns/op +BenchmarkDisabledAddingFields/apex/log-12 1635789 655.4 ns/op BenchmarkDisabledAddingFields/bep/logg -BenchmarkDisabledAddingFields/bep/logg-12 1000000000 0.6280 ns/op +BenchmarkDisabledAddingFields/bep/logg-12 1000000000 0.6573 ns/op BenchmarkDisabledAddingFields/sirupsen/logrus -BenchmarkDisabledAddingFields/sirupsen/logrus-12 850839 1822 ns/op +BenchmarkDisabledAddingFields/sirupsen/logrus-12 966068 1290 ns/op BenchmarkDisabledAddingFields/rs/zerolog -BenchmarkDisabledAddingFields/rs/zerolog-12 45206420 31.11 ns/op +BenchmarkDisabledAddingFields/rs/zerolog-12 35894512 30.20 ns/op BenchmarkWithoutFields scenario_bench_test.go:155: Logging without any structured context. BenchmarkWithoutFields/apex/log -BenchmarkWithoutFields/apex/log-12 634591 1836 ns/op +BenchmarkWithoutFields/apex/log-12 635853 1782 ns/op BenchmarkWithoutFields/bep/logg -BenchmarkWithoutFields/bep/logg-12 4790444 250.5 ns/op +BenchmarkWithoutFields/bep/logg-12 4879561 245.9 ns/op BenchmarkWithoutFields/go-kit/kit/log -BenchmarkWithoutFields/go-kit/kit/log-12 1918210 571.6 ns/op +BenchmarkWithoutFields/go-kit/kit/log-12 1850851 548.1 ns/op BenchmarkWithoutFields/inconshreveable/log15 -BenchmarkWithoutFields/inconshreveable/log15-12 211515 5457 ns/op +BenchmarkWithoutFields/inconshreveable/log15-12 241719 5206 ns/op BenchmarkWithoutFields/sirupsen/logrus -BenchmarkWithoutFields/sirupsen/logrus-12 258148 4112 ns/op +BenchmarkWithoutFields/sirupsen/logrus-12 314452 3706 ns/op BenchmarkWithoutFields/stdlib.Println -BenchmarkWithoutFields/stdlib.Println-12 51222039 25.15 ns/op +BenchmarkWithoutFields/stdlib.Println-12 58252468 18.45 ns/op BenchmarkWithoutFields/stdlib.Printf -BenchmarkWithoutFields/stdlib.Printf-12 7021154 175.8 ns/op +BenchmarkWithoutFields/stdlib.Printf-12 9469884 149.3 ns/op BenchmarkWithoutFields/rs/zerolog -BenchmarkWithoutFields/rs/zerolog-12 35201606 37.26 ns/op +BenchmarkWithoutFields/rs/zerolog-12 35681032 30.18 ns/op BenchmarkWithoutFields/rs/zerolog.Formatting -BenchmarkWithoutFields/rs/zerolog.Formatting-12 308184 4539 ns/op +BenchmarkWithoutFields/rs/zerolog.Formatting-12 258447 4035 ns/op BenchmarkWithoutFields/rs/zerolog.Check -BenchmarkWithoutFields/rs/zerolog.Check-12 36412792 32.36 ns/op +BenchmarkWithoutFields/rs/zerolog.Check-12 29436882 46.43 ns/op BenchmarkAccumulatedContext scenario_bench_test.go:252: Logging with some accumulated context. BenchmarkAccumulatedContext/apex/log -BenchmarkAccumulatedContext/apex/log-12 51604 24033 ns/op +BenchmarkAccumulatedContext/apex/log-12 51501 24191 ns/op BenchmarkAccumulatedContext/bep/logg -BenchmarkAccumulatedContext/bep/logg-12 348825 3334 ns/op +BenchmarkAccumulatedContext/bep/logg-12 364981 3359 ns/op BenchmarkAccumulatedContext/go-kit/kit/log -BenchmarkAccumulatedContext/go-kit/kit/log-12 153332 7083 ns/op +BenchmarkAccumulatedContext/go-kit/kit/log-12 181812 6482 ns/op BenchmarkAccumulatedContext/inconshreveable/log15 -BenchmarkAccumulatedContext/inconshreveable/log15-12 57354 21094 ns/op +BenchmarkAccumulatedContext/inconshreveable/log15-12 53563 21697 ns/op BenchmarkAccumulatedContext/sirupsen/logrus -BenchmarkAccumulatedContext/sirupsen/logrus-12 44295 27604 ns/op +BenchmarkAccumulatedContext/sirupsen/logrus-12 45816 26183 ns/op BenchmarkAccumulatedContext/rs/zerolog -BenchmarkAccumulatedContext/rs/zerolog-12 21005035 57.04 ns/op +BenchmarkAccumulatedContext/rs/zerolog-12 31975950 36.62 ns/op BenchmarkAccumulatedContext/rs/zerolog.Check -BenchmarkAccumulatedContext/rs/zerolog.Check-12 34625942 36.14 ns/op +BenchmarkAccumulatedContext/rs/zerolog.Check-12 31100664 32.71 ns/op BenchmarkAccumulatedContext/rs/zerolog.Formatting -BenchmarkAccumulatedContext/rs/zerolog.Formatting-12 324414 4706 ns/op +BenchmarkAccumulatedContext/rs/zerolog.Formatting-12 415909 4033 ns/op BenchmarkAddingFields scenario_bench_test.go:331: Logging with additional context at each log site. BenchmarkAddingFields/apex/log -BenchmarkAddingFields/apex/log-12 46246 26412 ns/op +BenchmarkAddingFields/apex/log-12 45752 24795 ns/op BenchmarkAddingFields/bep/logg -BenchmarkAddingFields/bep/logg-12 224113 5334 ns/op +BenchmarkAddingFields/bep/logg-12 205516 5096 ns/op BenchmarkAddingFields/go-kit/kit/log -BenchmarkAddingFields/go-kit/kit/log-12 200991 6316 ns/op +BenchmarkAddingFields/go-kit/kit/log-12 177516 6068 ns/op BenchmarkAddingFields/inconshreveable/log15 -BenchmarkAddingFields/inconshreveable/log15-12 37426 31496 ns/op +BenchmarkAddingFields/inconshreveable/log15-12 36448 33172 ns/op BenchmarkAddingFields/sirupsen/logrus -BenchmarkAddingFields/sirupsen/logrus-12 39135 30806 ns/op +BenchmarkAddingFields/sirupsen/logrus-12 37244 30241 ns/op BenchmarkAddingFields/rs/zerolog -BenchmarkAddingFields/rs/zerolog-12 2756504 448.7 ns/op +BenchmarkAddingFields/rs/zerolog-12 2688673 477.1 ns/op BenchmarkAddingFields/rs/zerolog.Check -BenchmarkAddingFields/rs/zerolog.Check-12 2781991 374.9 ns/op +BenchmarkAddingFields/rs/zerolog.Check-12 2989015 424.4 ns/op PASS -ok github.com/bep/logg/benchmarks 55.255s +ok github.com/bep/logg/benchmarks 52.344s 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/3096766/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3096766/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/3811653 and its subdirectories -I: Current time: Mon Jun 9 14:01:49 -12 2025 -I: pbuilder-time-stamp: 1749520909 +I: removing directory /srv/workspace/pbuilder/3096766 and its subdirectories +I: Current time: Wed May 8 09:42:05 +14 2024 +I: pbuilder-time-stamp: 1715110925