Diff of the two buildlogs: -- --- b1/build.log 2024-12-19 13:16:26.550528313 +0000 +++ b2/build.log 2024-12-19 13:24:40.308178863 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Dec 19 01:11:36 -12 2024 -I: pbuilder-time-stamp: 1734613896 +I: Current time: Fri Dec 20 03:16:41 +14 2024 +I: pbuilder-time-stamp: 1734614201 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -28,52 +28,84 @@ dpkg-source: info: applying auto-gitignore I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/18031/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/18984/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 Dec 19 13:17 /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/18984/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/18984/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='6406c75eba404af28f2fd58f98038e2f' - 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='18031' - PS1='# ' - PS2='> ' + INVOCATION_ID=9bb929feb70a42cda0bc85c429047b7c + 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=18984 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.9DCf6pN2/pbuilderrc_wrPP --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.9DCf6pN2/b1 --logfile b1/build.log golang-github-inetaf-tcpproxy_0.0~git20231102.2862066-2.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.9DCf6pN2/pbuilderrc_LYVV --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.9DCf6pN2/b2 --logfile b2/build.log golang-github-inetaf-tcpproxy_0.0~git20231102.2862066-2.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-28-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) 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/18031/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/18984/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -151,7 +183,7 @@ Get: 34 http://deb.debian.org/debian unstable/main armhf golang-go armhf 2:1.23~2 [44.3 kB] Get: 35 http://deb.debian.org/debian unstable/main armhf golang-any armhf 2:1.23~2 [5172 B] Get: 36 http://deb.debian.org/debian unstable/main armhf golang-github-armon-go-proxyproto-dev all 0.1.0-1 [7156 B] -Fetched 62.0 MB in 3s (20.2 MB/s) +Fetched 62.0 MB in 5s (12.7 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 ... 19681 files and directories currently installed.) @@ -310,7 +342,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/golang-github-inetaf-tcpproxy-0.0~git20231102.2862066/ && 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-inetaf-tcpproxy_0.0~git20231102.2862066-2_source.changes +I: user script /srv/workspace/pbuilder/18984/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/18984/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/golang-github-inetaf-tcpproxy-0.0~git20231102.2862066/ && 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-inetaf-tcpproxy_0.0~git20231102.2862066-2_source.changes dpkg-buildpackage: info: source package golang-github-inetaf-tcpproxy dpkg-buildpackage: info: source version 0.0~git20231102.2862066-2 dpkg-buildpackage: info: source distribution unstable @@ -328,29 +364,28 @@ 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 3 inet.af/tcpproxy inet.af/tcpproxy/cmd/tlsrouter + cd _build && go install -trimpath -v -p 4 inet.af/tcpproxy inet.af/tcpproxy/cmd/tlsrouter +internal/byteorder internal/goarch internal/unsafeheader internal/cpu +internal/coverage/rtcov internal/abi -internal/byteorder internal/chacha8rand -internal/bytealg -internal/coverage/rtcov internal/godebugs internal/goexperiment internal/goos +internal/bytealg internal/profilerecord internal/runtime/atomic internal/runtime/syscall -internal/stringslite runtime/internal/math +internal/stringslite runtime/internal/sys -internal/runtime/exithook internal/race sync/atomic unicode -runtime +internal/runtime/exithook unicode/utf8 internal/asan internal/itoa @@ -365,76 +400,92 @@ vendor/golang.org/x/crypto/cryptobyte/asn1 vendor/golang.org/x/crypto/internal/alias internal/nettrace +runtime log/internal encoding -internal/reflectlite -sync crypto/subtle iter +internal/reflectlite +sync slices internal/weak maps internal/bisect internal/testlog -errors internal/singleflight +runtime/cgo +errors +sort +internal/godebug io internal/oserror -syscall -internal/godebug bytes -strconv strings +syscall hash -crypto -crypto/cipher +strconv bufio -time +crypto/cipher +crypto/internal/edwards25519/field +crypto crypto/internal/boring -crypto/aes crypto/des -crypto/internal/edwards25519/field +crypto/aes +time crypto/internal/nistec/fiat crypto/internal/randutil reflect -context path -io/fs -internal/filepathlite internal/syscall/unix -internal/poll -crypto/internal/nistec internal/syscall/execenv -os -internal/fmtsort math/rand crypto/sha512 -crypto/ecdh crypto/internal/edwards25519 +context +io/fs +internal/poll +internal/filepathlite crypto/hmac -encoding/binary -fmt vendor/golang.org/x/crypto/hkdf -vendor/golang.org/x/sys/cpu -vendor/golang.org/x/crypto/chacha20 -vendor/golang.org/x/crypto/internal/poly1305 -vendor/golang.org/x/crypto/sha3 -vendor/golang.org/x/crypto/chacha20poly1305 crypto/md5 crypto/rc4 crypto/sha1 +crypto/internal/nistec +os crypto/sha256 -math/big -encoding/hex -encoding/base64 vendor/golang.org/x/net/dns/dnsmessage -encoding/pem +internal/fmtsort +encoding/binary +crypto/ecdh math/rand/v2 +hash/crc32 +vendor/golang.org/x/text/transform internal/concurrent -sort +net/http/internal/ascii unique +regexp/syntax +fmt +vendor/golang.org/x/crypto/chacha20 +vendor/golang.org/x/crypto/internal/poly1305 +vendor/golang.org/x/sys/cpu +vendor/golang.org/x/crypto/chacha20poly1305 +vendor/golang.org/x/crypto/sha3 +encoding/base64 +encoding/pem net/netip -runtime/cgo +path/filepath +regexp +math/big +encoding/hex +net/url +log +compress/flate +net +vendor/golang.org/x/text/unicode/bidi +compress/gzip +vendor/golang.org/x/text/unicode/norm +vendor/golang.org/x/text/secure/bidirule +vendor/golang.org/x/net/http2/hpack crypto/elliptic crypto/internal/bigmod crypto/internal/boring/bbig @@ -443,35 +494,20 @@ crypto/ed25519 crypto/internal/hpke crypto/internal/mlkem768 -vendor/golang.org/x/crypto/cryptobyte crypto/rsa -crypto/ecdsa crypto/dsa +vendor/golang.org/x/crypto/cryptobyte crypto/x509/pkix -net/url -path/filepath -net -log -compress/flate -hash/crc32 -vendor/golang.org/x/text/transform -compress/gzip -vendor/golang.org/x/text/unicode/bidi -vendor/golang.org/x/text/unicode/norm -vendor/golang.org/x/text/secure/bidirule -vendor/golang.org/x/net/http2/hpack -mime vendor/golang.org/x/net/idna +mime +crypto/ecdsa mime/quotedprintable net/http/internal -net/http/internal/ascii flag -regexp/syntax -regexp -vendor/golang.org/x/net/http/httpproxy -crypto/x509 net/textproto +vendor/golang.org/x/net/http/httpproxy inet.af/tcpproxy/cmd/tlsrouter +crypto/x509 vendor/golang.org/x/net/http/httpguts mime/multipart crypto/tls @@ -479,7 +515,7 @@ net/http inet.af/tcpproxy dh_auto_test -O--builddirectory=_build -O--buildsystem=golang - cd _build && go test -vet=off -v -p 3 inet.af/tcpproxy inet.af/tcpproxy/cmd/tlsrouter + cd _build && go test -vet=off -v -p 4 inet.af/tcpproxy inet.af/tcpproxy/cmd/tlsrouter === RUN TestListenerAccept --- PASS: TestListenerAccept (0.00s) === RUN TestMatchHTTPHost @@ -491,7 +527,7 @@ --- PASS: TestMatchHTTPHost/no-match (0.00s) --- PASS: TestMatchHTTPHost/match-huge-request (0.00s) === RUN TestSNI ---- PASS: TestSNI (0.01s) +--- PASS: TestSNI (0.02s) === RUN TestProxyStartNone --- PASS: TestProxyStartNone (0.00s) === RUN TestBufferedClose @@ -501,28 +537,28 @@ === RUN TestProxyHTTP --- PASS: TestProxyHTTP (0.00s) === RUN TestProxySNI ---- PASS: TestProxySNI (0.02s) +--- PASS: TestProxySNI (0.03s) === RUN TestAddSNIRouteFunc ---- PASS: TestAddSNIRouteFunc (0.01s) +--- PASS: TestAddSNIRouteFunc (0.02s) === RUN TestProxyPROXYOut ---- PASS: TestProxyPROXYOut (0.01s) +--- PASS: TestProxyPROXYOut (0.00s) PASS -ok inet.af/tcpproxy 0.076s +ok inet.af/tcpproxy 0.108s === RUN TestConfig --- PASS: TestConfig (0.00s) === RUN TestRouting -2024/12/19 13:15:55 127.0.0.1:37096 <> 127.0.0.1:42365: extracted SNI test.com -2024/12/19 13:15:55 127.0.0.1:37096 <> 127.0.0.1:42365: routing "test.com" to "127.0.0.1:35449" -2024/12/19 13:15:55 127.0.0.1:37108 <> 127.0.0.1:42365: extracted SNI foo.net -2024/12/19 13:15:55 127.0.0.1:37108 <> 127.0.0.1:42365: routing "foo.net" to "127.0.0.1:45463" -2024/12/19 13:15:55 127.0.0.1:37118 <> 127.0.0.1:42365: extracted SNI bar.org -2024/12/19 13:15:55 127.0.0.1:37118 <> 127.0.0.1:42365: no backend found for "bar.org" -2024/12/19 13:15:56 127.0.0.1:37126 <> 127.0.0.1:42365: extracted SNI proxy.design -2024/12/19 13:15:56 127.0.0.1:37126 <> 127.0.0.1:42365: routing "proxy.design" to "127.0.0.1:36653" - e2e_test.go:124: accept failed on ["proxy.design"]: accept tcp 127.0.0.1:36653: use of closed network connection - e2e_test.go:124: accept failed on ["foo.net"]: accept tcp 127.0.0.1:45463: use of closed network connection - e2e_test.go:124: accept failed on ["test.com"]: accept tcp 127.0.0.1:35449: use of closed network connection ---- PASS: TestRouting (9.83s) +2024/12/19 13:23:53 127.0.0.1:42464 <> 127.0.0.1:38257: extracted SNI test.com +2024/12/19 13:23:53 127.0.0.1:42464 <> 127.0.0.1:38257: routing "test.com" to "127.0.0.1:33303" +2024/12/19 13:23:53 127.0.0.1:42474 <> 127.0.0.1:38257: extracted SNI foo.net +2024/12/19 13:23:53 127.0.0.1:42474 <> 127.0.0.1:38257: routing "foo.net" to "127.0.0.1:40555" +2024/12/19 13:23:53 127.0.0.1:42476 <> 127.0.0.1:38257: extracted SNI bar.org +2024/12/19 13:23:53 127.0.0.1:42476 <> 127.0.0.1:38257: no backend found for "bar.org" +2024/12/19 13:23:53 127.0.0.1:42482 <> 127.0.0.1:38257: extracted SNI proxy.design +2024/12/19 13:23:53 127.0.0.1:42482 <> 127.0.0.1:38257: routing "proxy.design" to "127.0.0.1:43315" + e2e_test.go:124: accept failed on ["proxy.design"]: accept tcp 127.0.0.1:43315: use of closed network connection + e2e_test.go:124: accept failed on ["foo.net"]: accept tcp 127.0.0.1:40555: use of closed network connection + e2e_test.go:124: accept failed on ["test.com"]: accept tcp 127.0.0.1:33303: use of closed network connection +--- PASS: TestRouting (30.75s) === RUN TestVector --- PASS: TestVector (0.00s) === RUN TestHandshakeRecord @@ -532,7 +568,7 @@ === RUN TestParseSNI --- PASS: TestParseSNI (0.00s) PASS -ok inet.af/tcpproxy/cmd/tlsrouter 9.856s +ok inet.af/tcpproxy/cmd/tlsrouter 30.789s create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang dh_prep -O--builddirectory=_build -O--buildsystem=golang @@ -568,12 +604,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/18984/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/18984/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/18031 and its subdirectories -I: Current time: Thu Dec 19 01:16:22 -12 2024 -I: pbuilder-time-stamp: 1734614182 +I: removing directory /srv/workspace/pbuilder/18984 and its subdirectories +I: Current time: Fri Dec 20 03:24:36 +14 2024 +I: pbuilder-time-stamp: 1734614676