Diff of the two buildlogs: -- --- b1/build.log 2023-05-06 00:45:15.891692470 +0000 +++ b2/build.log 2023-05-06 00:46:50.599541287 +0000 @@ -1,7 +1,6 @@ -W: cgroups are not available on the host, not using them. I: pbuilder: network access will be disabled during build -I: Current time: Thu Jun 6 19:04:35 -12 2024 -I: pbuilder-time-stamp: 1717743875 +I: Current time: Sat May 6 14:45:19 +14 2023 +I: pbuilder-time-stamp: 1683333919 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -17,7 +16,7 @@ I: copying [./golang-github-teris-io-shortid_1.0+git20171029.771a37c.orig.tar.xz] I: copying [./golang-github-teris-io-shortid_1.0+git20171029.771a37c-3.debian.tar.xz] I: Extracting source -gpgv: Signature made Thu Feb 4 06:29:05 2021 -12 +gpgv: Signature made Fri Feb 5 08:29:05 2021 +14 gpgv: using RSA key B23862C415D6565A4E86CBD7579C160D4C9E23E8 gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./golang-github-teris-io-shortid_1.0+git20171029.771a37c-3.dsc: no acceptable signature found @@ -26,52 +25,84 @@ dpkg-source: info: unpacking golang-github-teris-io-shortid_1.0+git20171029.771a37c-3.debian.tar.xz I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/17082/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/18432/tmp/hooks/D01_modify_environment starting +debug: Running on codethink10-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 6 14:45 /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/18432/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/18432/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - 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]="15" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + 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=8' - DISTRIBUTION='bookworm' - HOME='/var/lib/jenkins' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/var/lib/jenkins + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - 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='17082' - PS1='# ' - PS2='> ' + 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=18432 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.dXw6MSea/pbuilderrc_Dc01 --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.dXw6MSea/b1 --logfile b1/build.log golang-github-teris-io-shortid_1.0+git20171029.771a37c-3.dsc' - SUDO_GID='117' - SUDO_UID='110' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - USERNAME='root' - _='/usr/sbin/chroot' - http_proxy='http://192.168.101.16: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.dXw6MSea/pbuilderrc_c1dP --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.dXw6MSea/b2 --logfile b2/build.log --extrapackages usrmerge golang-github-teris-io-shortid_1.0+git20171029.771a37c-3.dsc' + SUDO_GID=117 + SUDO_UID=110 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + USERNAME=root + _='I: set' + http_proxy=http://192.168.101.16:3128 I: uname -a - Linux codethink13-arm64 4.15.0-210-generic #221-Ubuntu SMP Tue Apr 18 08:32:48 UTC 2023 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-210-generic #221-Ubuntu SMP Tue Apr 18 08:32:48 UTC 2023 aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 4 2023 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/17082/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 6 00:25 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/18432/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -147,7 +178,7 @@ Get: 34 http://deb.debian.org/debian bookworm/main arm64 golang-src all 2:1.19~1 [5756 B] Get: 35 http://deb.debian.org/debian bookworm/main arm64 golang-go arm64 2:1.19~1 [45.0 kB] Get: 36 http://deb.debian.org/debian bookworm/main arm64 golang-any arm64 2:1.19~1 [5876 B] -Fetched 93.3 MB in 2s (42.2 MB/s) +Fetched 93.3 MB in 2s (56.6 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 ... 19616 files and directories currently installed.) @@ -308,10 +339,15 @@ Reading package lists... Building dependency tree... Reading state information... +usrmerge is already the newest version (35). fakeroot is already the newest version (1.31-1.2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/golang-github-teris-io-shortid-1.0+git20171029.771a37c/ && 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-teris-io-shortid_1.0+git20171029.771a37c-3_source.changes +I: user script /srv/workspace/pbuilder/18432/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +I: user script /srv/workspace/pbuilder/18432/tmp/hooks/A99_set_merged_usr finished +hostname: Temporary failure in name resolution +I: Running cd /build/golang-github-teris-io-shortid-1.0+git20171029.771a37c/ && 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-teris-io-shortid_1.0+git20171029.771a37c-3_source.changes dpkg-buildpackage: info: source package golang-github-teris-io-shortid dpkg-buildpackage: info: source version 1.0+git20171029.771a37c-3 dpkg-buildpackage: info: source distribution unstable @@ -331,26 +367,26 @@ dh_auto_build -O--buildsystem=golang cd obj-aarch64-linux-gnu && go install -trimpath -v -p 8 github.com/teris-io/shortid internal/goarch -internal/unsafeheader -internal/goexperiment internal/goos +internal/goexperiment internal/race -runtime/internal/math internal/cpu +internal/unsafeheader +runtime/internal/syscall math/bits sync/atomic -runtime/internal/syscall -runtime/internal/sys internal/abi +runtime/internal/math +runtime/internal/sys unicode/utf8 crypto/internal/subtle crypto/subtle internal/itoa -crypto/internal/boring/sig unicode -internal/bytealg -runtime/internal/atomic +crypto/internal/boring/sig math +runtime/internal/atomic +internal/bytealg runtime internal/reflectlite sync @@ -358,10 +394,10 @@ math/rand errors sort -io internal/oserror internal/safefilepath path +io strconv syscall hash @@ -370,17 +406,17 @@ strings crypto reflect +internal/syscall/unix internal/syscall/execenv time -internal/syscall/unix internal/poll io/fs os -encoding/binary internal/fmtsort -fmt +encoding/binary crypto/cipher crypto/internal/boring +fmt math/big crypto/rand github.com/teris-io/shortid @@ -389,21 +425,21 @@ === RUN TestShortid_Generate_oneIdPerYear_over34Years_uniqueOf9Symbols --- PASS: TestShortid_Generate_oneIdPerYear_over34Years_uniqueOf9Symbols (0.00s) === RUN TestShortid_Generate_approx3MilIdsWith5MinStep_over33Years_unique9_11Symbols - shortid_integration_test.go:63: generated 3578029 Ids from 2024-06-06 19:06:39.74195466 -1200 -12 m=+0.178187921 till 2058-06-07 19:10:29.51195028 -1200 -12 m=+1073001829.948183541 ---- PASS: TestShortid_Generate_approx3MilIdsWith5MinStep_over33Years_unique9_11Symbols (28.17s) + shortid_integration_test.go:63: generated 3578315 Ids from 2023-05-06 14:46:04.866023553 +1400 +14 m=+0.037715082 till 2057-05-07 14:47:10.996958815 +1400 +14 m=+1073088066.168650344 +--- PASS: TestShortid_Generate_approx3MilIdsWith5MinStep_over33Years_unique9_11Symbols (17.53s) === RUN TestShortid_Generate_500kValuesEach_at6Timepoints_unique9_11Symbols - shortid_integration_test.go:97: generated 3000000 Ids with epochs at: [2023-08-25 13:09:09.233837932 -1200 -12 m=-24731850.329928127 2023-11-15 19:34:40.204829351 -1200 -12 m=-17623919.358937588 2023-07-14 16:33:37.060870341 -1200 -12 m=-28348382.502896598 2023-10-23 12:56:14.510629875 -1200 -12 m=-19635025.053137084 2023-12-18 04:53:37.950680513 -1200 -12 m=-14825581.613086426 2023-09-06 16:20:32.343780044 -1200 -12 m=-23683567.219986895] ---- PASS: TestShortid_Generate_500kValuesEach_at6Timepoints_unique9_11Symbols (41.14s) + shortid_integration_test.go:97: generated 3000000 Ids with epochs at: [2022-08-24 15:07:56.448212893 +1400 +14 m=-22030688.380095558 2022-08-30 00:58:34.213526269 +1400 +14 m=-21563250.614782222 2022-07-10 03:28:06.012703057 +1400 +14 m=-25960678.815605454 2022-08-27 22:24:38.438502467 +1400 +14 m=-21745286.389806024 2022-08-19 14:45:52.051285377 +1400 +14 m=-22464012.777023114 2022-08-07 15:34:04.708633666 +1400 +14 m=-23497920.119674825] +--- PASS: TestShortid_Generate_500kValuesEach_at6Timepoints_unique9_11Symbols (18.25s) === RUN TestShortid_Generate_500kValues_concurrently ---- PASS: TestShortid_Generate_500kValues_concurrently (9.66s) +--- PASS: TestShortid_Generate_500kValues_concurrently (2.02s) === RUN Test_onGetDefault_defaultInstance --- PASS: Test_onGetDefault_defaultInstance (0.00s) === RUN Test_onSetDefault_replacesDefaultInstance --- PASS: Test_onSetDefault_replacesDefaultInstance (0.00s) === RUN Test_onGenerate_success ---- PASS: Test_onGenerate_success (0.00s) +--- PASS: Test_onGenerate_success (0.01s) === RUN Test_oMustGenerate_success ---- PASS: Test_oMustGenerate_success (0.01s) +--- PASS: Test_oMustGenerate_success (0.00s) === RUN TestShortid_onNew_success --- PASS: TestShortid_onNew_success (0.00s) === RUN TestShortid_onNew_withDifferentSeed_successWithDifferentShuffling @@ -455,7 +491,7 @@ === RUN TestAbc_onAlphabet_success --- PASS: TestAbc_onAlphabet_success (0.00s) PASS -ok github.com/teris-io/shortid 79.039s +ok github.com/teris-io/shortid 37.833s create-stamp debian/debhelper-build-stamp fakeroot debian/rules binary dh binary --buildsystem=golang --with=golang @@ -485,12 +521,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/18432/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/18432/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/17082 and its subdirectories -I: Current time: Thu Jun 6 19:08:14 -12 2024 -I: pbuilder-time-stamp: 1717744094 +I: removing directory /srv/workspace/pbuilder/18432 and its subdirectories +I: Current time: Sat May 6 14:46:49 +14 2023 +I: pbuilder-time-stamp: 1683334009