Diff of the two buildlogs: -- --- b1/build.log 2025-01-28 05:21:40.246140759 +0000 +++ b2/build.log 2025-01-28 05:32:31.524711884 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Jan 27 17:19:42 -12 2025 -I: pbuilder-time-stamp: 1738041582 +I: Current time: Tue Jan 28 19:21:54 +14 2025 +I: pbuilder-time-stamp: 1738041714 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -22,52 +22,84 @@ dpkg-source: info: unpacking golang-github-benbjohnson-clock_1.3.0-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/17243/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/13785/tmp/hooks/D01_modify_environment starting +debug: Running on cbxi4a. +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 Jan 28 05:23 /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/13785/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/13785/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]="37" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.37(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='2a6a951798d442db938017fb22a4b350' - 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='17243' - PS1='# ' - PS2='> ' + INVOCATION_ID=3ea63e3c97be4fde93ef00b0b45decf7 + 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=13785 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.JZtlhwX2/pbuilderrc_yBq2 --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.JZtlhwX2/b1 --logfile b1/build.log golang-github-benbjohnson-clock_1.3.0-1.dsc' - SUDO_GID='113' - SUDO_UID='107' - 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.JZtlhwX2/pbuilderrc_Np3k --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.JZtlhwX2/b2 --logfile b2/build.log golang-github-benbjohnson-clock_1.3.0-1.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 virt64c 6.1.0-30-arm64 #1 SMP Debian 6.1.124-1 (2025-01-12) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-23-armmp #1 SMP Debian 6.1.99-1 (2024-07-15) armv7l GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/17243/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/13785/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -120,7 +152,7 @@ Get: 11 http://deb.debian.org/debian unstable/main armhf m4 armhf 1.4.19-5 [272 kB] Get: 12 http://deb.debian.org/debian unstable/main armhf autoconf all 2.72-3 [493 kB] Get: 13 http://deb.debian.org/debian unstable/main armhf autotools-dev all 20220109.1 [51.6 kB] -Get: 14 http://deb.debian.org/debian unstable/main armhf automake all 1:1.17-2 [861 kB] +Get: 14 http://deb.debian.org/debian unstable/main armhf automake all 1:1.17-1 [861 kB] Get: 15 http://deb.debian.org/debian unstable/main armhf autopoint all 0.23.1-1 [770 kB] Get: 16 http://deb.debian.org/debian unstable/main armhf libdebhelper-perl all 13.24.1 [90.9 kB] Get: 17 http://deb.debian.org/debian unstable/main armhf libtool all 2.5.4-2 [539 kB] @@ -143,7 +175,7 @@ Get: 34 http://deb.debian.org/debian unstable/main armhf golang-src all 2:1.23~2 [5088 B] Get: 35 http://deb.debian.org/debian unstable/main armhf golang-go armhf 2:1.23~2 [44.3 kB] Get: 36 http://deb.debian.org/debian unstable/main armhf golang-any armhf 2:1.23~2 [5172 B] -Fetched 62.6 MB in 1s (60.4 MB/s) +Fetched 62.6 MB in 7s (8658 kB/s) Preconfiguring packages ... 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 ... 19568 files and directories currently installed.) @@ -186,8 +218,8 @@ Preparing to unpack .../12-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. -Preparing to unpack .../13-automake_1%3a1.17-2_all.deb ... -Unpacking automake (1:1.17-2) ... +Preparing to unpack .../13-automake_1%3a1.17-1_all.deb ... +Unpacking automake (1:1.17-1) ... Selecting previously unselected package autopoint. Preparing to unpack .../14-autopoint_0.23.1-1_all.deb ... Unpacking autopoint (0.23.1-1) ... @@ -275,7 +307,7 @@ Setting up libuchardet0:armhf (0.0.8-1+b2) ... Setting up golang-src (2:1.23~2) ... Setting up libxml2:armhf (2.12.7+dfsg+really2.9.14-0.2+b1) ... -Setting up automake (1:1.17-2) ... +Setting up automake (1:1.17-1) ... update-alternatives: using /usr/bin/automake-1.17 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.14.1-1) ... Setting up gettext (0.23.1-1) ... @@ -302,7 +334,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/golang-github-benbjohnson-clock-1.3.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-benbjohnson-clock_1.3.0-1_source.changes +I: user script /srv/workspace/pbuilder/13785/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/13785/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/golang-github-benbjohnson-clock-1.3.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-benbjohnson-clock_1.3.0-1_source.changes dpkg-buildpackage: info: source package golang-github-benbjohnson-clock dpkg-buildpackage: info: source version 1.3.0-1 dpkg-buildpackage: info: source distribution unstable @@ -320,16 +356,16 @@ dh_autoreconf -O--buildsystem=golang dh_auto_configure -O--buildsystem=golang dh_auto_build -O--buildsystem=golang - cd obj-arm-linux-gnueabihf && go install -trimpath -v -p 3 github.com/benbjohnson/clock -internal/unsafeheader + cd obj-arm-linux-gnueabihf && go install -trimpath -v -p 4 github.com/benbjohnson/clock internal/goarch -internal/cpu internal/byteorder +internal/cpu +internal/unsafeheader +internal/coverage/rtcov internal/abi internal/chacha8rand -internal/bytealg -internal/coverage/rtcov internal/godebugs +internal/bytealg internal/goexperiment internal/goos internal/profilerecord @@ -337,7 +373,6 @@ internal/runtime/syscall internal/stringslite runtime/internal/math -internal/runtime/exithook runtime/internal/sys internal/race sync/atomic @@ -345,14 +380,15 @@ internal/itoa internal/msan cmp +internal/runtime/exithook math/bits unicode/utf8 +unicode math runtime -unicode iter -sync internal/reflectlite +sync slices internal/bisect internal/testlog @@ -360,24 +396,24 @@ sort internal/godebug internal/oserror -syscall strconv +syscall io path reflect +internal/syscall/execenv internal/syscall/unix time -internal/syscall/execenv context io/fs internal/poll -internal/filepathlite internal/fmtsort +internal/filepathlite os fmt github.com/benbjohnson/clock dh_auto_test -O--buildsystem=golang - cd obj-arm-linux-gnueabihf && go test -vet=off -v -p 3 github.com/benbjohnson/clock + cd obj-arm-linux-gnueabihf && go test -vet=off -v -p 4 github.com/benbjohnson/clock === RUN TestClock_After --- PASS: TestClock_After (0.02s) === RUN TestClock_AfterFunc @@ -391,9 +427,10 @@ === RUN TestClock_Ticker --- PASS: TestClock_Ticker (0.10s) === RUN TestClock_Ticker_Stp ---- PASS: TestClock_Ticker_Stp (0.05s) +--- PASS: TestClock_Ticker_Stp (0.06s) === RUN TestClock_Ticker_Rst ---- PASS: TestClock_Ticker_Rst (0.03s) + clock_test.go:126: took more than 30ms +--- FAIL: TestClock_Ticker_Rst (0.03s) === RUN TestClock_Timer --- PASS: TestClock_Timer (0.02s) === RUN TestClock_Timer_Stop @@ -401,41 +438,41 @@ === RUN TestClock_Timer_Reset --- PASS: TestClock_Timer_Reset (0.02s) === RUN TestClock_Timer_Reset_Unlock ---- PASS: TestClock_Timer_Reset_Unlock (0.00s) +--- PASS: TestClock_Timer_Reset_Unlock (0.01s) === RUN TestMock_After ---- PASS: TestMock_After (0.00s) +--- PASS: TestMock_After (0.02s) === RUN TestMock_UnusedAfter ---- PASS: TestMock_UnusedAfter (0.00s) +--- PASS: TestMock_UnusedAfter (0.01s) === RUN TestMock_AfterFunc ---- PASS: TestMock_AfterFunc (0.00s) +--- PASS: TestMock_AfterFunc (0.01s) === RUN TestMock_AfterFunc_Stop ---- PASS: TestMock_AfterFunc_Stop (0.00s) +--- PASS: TestMock_AfterFunc_Stop (0.02s) === RUN TestMock_Now --- PASS: TestMock_Now (0.00s) === RUN TestMock_Since ---- PASS: TestMock_Since (0.00s) +--- PASS: TestMock_Since (0.01s) === RUN TestMock_Until --- PASS: TestMock_Until (0.00s) === RUN TestMock_Sleep ---- PASS: TestMock_Sleep (0.00s) +--- PASS: TestMock_Sleep (0.02s) === RUN TestMock_Tick ---- PASS: TestMock_Tick (0.01s) +--- PASS: TestMock_Tick (0.03s) === RUN TestMock_Ticker ---- PASS: TestMock_Ticker (0.01s) +--- PASS: TestMock_Ticker (0.06s) === RUN TestMock_Ticker_Overflow ---- PASS: TestMock_Ticker_Overflow (0.01s) +--- PASS: TestMock_Ticker_Overflow (0.04s) === RUN TestMock_Ticker_Stop ---- PASS: TestMock_Ticker_Stop (0.01s) +--- PASS: TestMock_Ticker_Stop (0.03s) === RUN TestMock_Ticker_Reset ---- PASS: TestMock_Ticker_Reset (0.01s) +--- PASS: TestMock_Ticker_Reset (0.03s) === RUN TestMock_Ticker_Multi ---- PASS: TestMock_Ticker_Multi (0.02s) +--- PASS: TestMock_Ticker_Multi (0.06s) === RUN TestMock_ReentrantDeadlock ---- PASS: TestMock_ReentrantDeadlock (0.00s) +--- PASS: TestMock_ReentrantDeadlock (0.01s) === RUN TestMock_WithDeadline ---- PASS: TestMock_WithDeadline (0.00s) +--- PASS: TestMock_WithDeadline (0.01s) === RUN TestMock_WithDeadlineLaterThanCurrent ---- PASS: TestMock_WithDeadlineLaterThanCurrent (0.00s) +--- PASS: TestMock_WithDeadlineLaterThanCurrent (0.01s) === RUN TestMock_WithDeadlineCancel --- PASS: TestMock_WithDeadlineCancel (0.00s) === RUN TestMock_WithDeadlineCancelledWithParent @@ -443,51 +480,35 @@ === RUN TestMock_WithDeadlineImmediate --- PASS: TestMock_WithDeadlineImmediate (0.00s) === RUN TestMock_WithTimeout ---- PASS: TestMock_WithTimeout (0.00s) +--- PASS: TestMock_WithTimeout (0.01s) === RUN ExampleMock_After ---- PASS: ExampleMock_After (0.00s) +--- PASS: ExampleMock_After (0.01s) === RUN ExampleMock_AfterFunc ---- PASS: ExampleMock_AfterFunc (0.00s) +--- PASS: ExampleMock_AfterFunc (0.02s) === RUN ExampleMock_Sleep ---- PASS: ExampleMock_Sleep (0.00s) +--- PASS: ExampleMock_Sleep (0.02s) === RUN ExampleMock_Ticker ---- PASS: ExampleMock_Ticker (0.02s) +--- PASS: ExampleMock_Ticker (0.08s) === RUN ExampleMock_Timer ---- PASS: ExampleMock_Timer (0.00s) -PASS -ok github.com/benbjohnson/clock 0.508s - create-stamp debian/debhelper-build-stamp - dh_testroot -O--buildsystem=golang - dh_prep -O--buildsystem=golang - dh_auto_install --destdir=debian/golang-github-benbjohnson-clock-dev/ -O--buildsystem=golang - dh_installdocs -O--buildsystem=golang - dh_installchangelogs -O--buildsystem=golang - dh_installsystemduser -O--buildsystem=golang - dh_perl -O--buildsystem=golang - dh_link -O--buildsystem=golang - dh_strip_nondeterminism -O--buildsystem=golang - dh_compress -O--buildsystem=golang - dh_fixperms -O--buildsystem=golang - dh_missing -O--buildsystem=golang - dh_installdeb -O--buildsystem=golang - dh_golang -O--buildsystem=golang - dh_gencontrol -O--buildsystem=golang - dh_md5sums -O--buildsystem=golang - dh_builddeb -O--buildsystem=golang -dpkg-deb: building package 'golang-github-benbjohnson-clock-dev' in '../golang-github-benbjohnson-clock-dev_1.3.0-1_all.deb'. - dpkg-genbuildinfo --build=binary -O../golang-github-benbjohnson-clock_1.3.0-1_armhf.buildinfo - dpkg-genchanges --build=binary -O../golang-github-benbjohnson-clock_1.3.0-1_armhf.changes -dpkg-genchanges: info: binary-only upload (no source code included) - dpkg-source --after-build . -dpkg-buildpackage: info: binary-only upload (no source included) -dpkg-genchanges: info: including full source code in upload +--- PASS: ExampleMock_Timer (0.01s) +FAIL +FAIL github.com/benbjohnson/clock 0.944s +FAIL +dh_auto_test: error: cd obj-arm-linux-gnueabihf && go test -vet=off -v -p 4 github.com/benbjohnson/clock returned exit code 1 +make: *** [debian/rules:4: binary] Error 25 +dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 I: copying local configuration +E: Failed autobuilding of package +I: user script /srv/workspace/pbuilder/13785/tmp/hooks/C01_cleanup starting +debug output: disk usage on i-capture-the-hostname at Tue Jan 28 05:32:01 UTC 2025 +Filesystem Size Used Avail Use% Mounted on +tmpfs 1.9G 0 1.9G 0% /dev/shm + +I: user script /srv/workspace/pbuilder/13785/tmp/hooks/C01_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/17243 and its subdirectories -I: Current time: Mon Jan 27 17:21:36 -12 2025 -I: pbuilder-time-stamp: 1738041696 +I: removing directory /srv/workspace/pbuilder/13785 and its subdirectories