Diff of the two buildlogs: -- --- b1/build.log 2024-10-24 18:08:50.938624366 +0000 +++ b2/build.log 2024-10-24 18:11:10.221663422 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Nov 26 12:30:04 -12 2025 -I: pbuilder-time-stamp: 1764203404 +I: Current time: Fri Oct 25 08:08:53 +14 2024 +I: pbuilder-time-stamp: 1729793333 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -25,52 +25,84 @@ dpkg-source: info: unpacking golang-github-joshuarubin-lifecycle_1.1.4-2.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/4122399/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/461220/tmp/hooks/D01_modify_environment starting +debug: Running on ionos11-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 Oct 24 18:09 /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/461220/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/461220/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' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='amd64' + 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]="x86_64-pc-linux-gnu") + 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=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' + 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='ff5217bc3a56451f8f3585fa4e269639' - 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='4122399' - PS1='# ' - PS2='> ' + INVOCATION_ID=e17325cb44ff47a1918ee3c9ebb1c33e + 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=461220 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.pnfcVBIa/pbuilderrc_cBIT --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.pnfcVBIa/b1 --logfile b1/build.log golang-github-joshuarubin-lifecycle_1.1.4-2.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152: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.pnfcVBIa/pbuilderrc_fjfj --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.pnfcVBIa/b2 --logfile b2/build.log golang-github-joshuarubin-lifecycle_1.1.4-2.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos15-amd64 6.10.11+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.10.11-1~bpo12+1 (2024-10-03) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-26-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.112-1 (2024-09-30) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 4 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/4122399/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/461220/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -148,7 +180,7 @@ Get: 34 http://deb.debian.org/debian unstable/main amd64 golang-go amd64 2:1.23~2 [44.3 kB] Get: 35 http://deb.debian.org/debian unstable/main amd64 golang-any amd64 2:1.23~2 [5172 B] Get: 36 http://deb.debian.org/debian unstable/main amd64 golang-golang-x-sync-dev all 0.7.0-1 [19.0 kB] -Fetched 66.0 MB in 6s (11.0 MB/s) +Fetched 66.0 MB in 4s (17.0 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (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 ... 19947 files and directories currently installed.) @@ -307,7 +339,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/golang-github-joshuarubin-lifecycle-1.1.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 > ../golang-github-joshuarubin-lifecycle_1.1.4-2_source.changes +I: user script /srv/workspace/pbuilder/461220/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/461220/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/golang-github-joshuarubin-lifecycle-1.1.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 > ../golang-github-joshuarubin-lifecycle_1.1.4-2_source.changes dpkg-buildpackage: info: source package golang-github-joshuarubin-lifecycle dpkg-buildpackage: info: source version 1.1.4-2 dpkg-buildpackage: info: source distribution unstable @@ -325,67 +361,67 @@ 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 42 github.com/joshuarubin/lifecycle + cd _build && go install -trimpath -v -p 20 github.com/joshuarubin/lifecycle internal/unsafeheader -internal/profilerecord internal/goarch -internal/asan -unicode -internal/runtime/atomic -internal/runtime/syscall -internal/itoa -math/bits +internal/profilerecord +internal/goos +internal/msan unicode/utf8 cmp -internal/race -internal/msan +math/bits +unicode +internal/godebugs internal/coverage/rtcov -internal/goexperiment +runtime/internal/math +internal/runtime/atomic +internal/itoa internal/cpu -internal/goos +internal/goexperiment internal/byteorder -internal/godebugs +internal/asan +internal/race +runtime/internal/sys sync/atomic +internal/runtime/syscall internal/abi -runtime/internal/math -runtime/internal/sys internal/chacha8rand internal/runtime/exithook internal/bytealg math internal/stringslite runtime -iter -sync internal/reflectlite +sync +iter slices internal/bisect internal/testlog +internal/godebug errors -strconv -io -path internal/oserror -internal/godebug +path +io +strconv syscall strings reflect -internal/syscall/unix time +internal/syscall/unix internal/syscall/execenv -internal/fmtsort context -io/fs internal/poll +io/fs internal/filepathlite os -os/signal +internal/fmtsort fmt +os/signal golang.org/x/sync/errgroup runtime/debug github.com/joshuarubin/lifecycle dh_auto_test -O--builddirectory=_build -O--buildsystem=golang - cd _build && go test -vet=off -v -p 42 github.com/joshuarubin/lifecycle + cd _build && go test -vet=off -v -p 20 github.com/joshuarubin/lifecycle === RUN TestBadContext --- PASS: TestBadContext (0.00s) === RUN TestEmptyLifecycle @@ -415,37 +451,37 @@ === RUN TestIgnoreSignals --- PASS: TestIgnoreSignals (0.01s) === RUN TestRecover -goroutine 85 [running]: +goroutine 83 [running]: runtime/debug.Stack() /usr/lib/go-1.23/src/runtime/debug/stack.go:26 +0x5e runtime/debug.PrintStack() /usr/lib/go-1.23/src/runtime/debug/stack.go:18 +0x13 github.com/joshuarubin/lifecycle.wrapCtxFunc.func1.1() /build/reproducible-path/golang-github-joshuarubin-lifecycle-1.1.4/_build/src/github.com/joshuarubin/lifecycle/lifecycle.go:75 +0x39 -panic({0x6e5660?, 0xc000117040?}) +panic({0x6e5660?, 0xc00003a7f0?}) /usr/lib/go-1.23/src/runtime/panic.go:785 +0x132 github.com/joshuarubin/lifecycle_test.TestRecover.func1() /build/reproducible-path/golang-github-joshuarubin-lifecycle-1.1.4/_build/src/github.com/joshuarubin/lifecycle/lifecycle_test.go:299 +0x27 github.com/joshuarubin/lifecycle.Go.func1() /build/reproducible-path/golang-github-joshuarubin-lifecycle-1.1.4/_build/src/github.com/joshuarubin/lifecycle/lifecycle.go:99 +0x13 -github.com/joshuarubin/lifecycle.Go.wrapFunc.func2({0x1009db1c0?, 0xc00018ff48?}) +github.com/joshuarubin/lifecycle.Go.wrapFunc.func2({0x1009db1c0?, 0xc000128748?}) /build/reproducible-path/golang-github-joshuarubin-lifecycle-1.1.4/_build/src/github.com/joshuarubin/lifecycle/lifecycle.go:85 +0x13 github.com/joshuarubin/lifecycle.wrapCtxFunc.func1() /build/reproducible-path/golang-github-joshuarubin-lifecycle-1.1.4/_build/src/github.com/joshuarubin/lifecycle/lifecycle.go:79 +0x5c golang.org/x/sync/errgroup.(*Group).Go.func1() /build/reproducible-path/golang-github-joshuarubin-lifecycle-1.1.4/_build/src/golang.org/x/sync/errgroup/errgroup.go:78 +0x50 -created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 84 +created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 82 /build/reproducible-path/golang-github-joshuarubin-lifecycle-1.1.4/_build/src/golang.org/x/sync/errgroup/errgroup.go:75 +0x96 --- PASS: TestRecover (0.00s) === RUN TestDeferRecover -goroutine 89 [running]: +goroutine 87 [running]: runtime/debug.Stack() /usr/lib/go-1.23/src/runtime/debug/stack.go:26 +0x5e runtime/debug.PrintStack() /usr/lib/go-1.23/src/runtime/debug/stack.go:18 +0x13 github.com/joshuarubin/lifecycle.wrapCtxFunc.func1.1() /build/reproducible-path/golang-github-joshuarubin-lifecycle-1.1.4/_build/src/github.com/joshuarubin/lifecycle/lifecycle.go:75 +0x39 -panic({0x6e5660?, 0xc000117150?}) +panic({0x6e5660?, 0xc00003a900?}) /usr/lib/go-1.23/src/runtime/panic.go:785 +0x132 github.com/joshuarubin/lifecycle_test.TestDeferRecover.func1() /build/reproducible-path/golang-github-joshuarubin-lifecycle-1.1.4/_build/src/github.com/joshuarubin/lifecycle/lifecycle_test.go:316 +0x27 @@ -457,13 +493,13 @@ /build/reproducible-path/golang-github-joshuarubin-lifecycle-1.1.4/_build/src/github.com/joshuarubin/lifecycle/lifecycle.go:79 +0x5c github.com/joshuarubin/lifecycle.(*manager).runDeferredGroupRoutines.func1() /build/reproducible-path/golang-github-joshuarubin-lifecycle-1.1.4/_build/src/github.com/joshuarubin/lifecycle/lifecycle.go:287 +0x8d -created by github.com/joshuarubin/lifecycle.(*manager).runDeferredGroupRoutines in goroutine 87 +created by github.com/joshuarubin/lifecycle.(*manager).runDeferredGroupRoutines in goroutine 85 /build/reproducible-path/golang-github-joshuarubin-lifecycle-1.1.4/_build/src/github.com/joshuarubin/lifecycle/lifecycle.go:284 +0x9f --- PASS: TestDeferRecover (0.00s) === RUN Example --- PASS: Example (0.01s) PASS -ok github.com/joshuarubin/lifecycle 0.071s +ok github.com/joshuarubin/lifecycle 0.061s create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang dh_prep -O--builddirectory=_build -O--buildsystem=golang @@ -489,12 +525,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/461220/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/461220/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/4122399 and its subdirectories -I: Current time: Wed Nov 26 12:31:50 -12 2025 -I: pbuilder-time-stamp: 1764203510 +I: removing directory /srv/workspace/pbuilder/461220 and its subdirectories +I: Current time: Fri Oct 25 08:11:09 +14 2024 +I: pbuilder-time-stamp: 1729793469