Diff of the two buildlogs: -- --- b1/build.log 2025-01-20 13:03:30.292672677 +0000 +++ b2/build.log 2025-01-20 13:09:55.719316351 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Jan 20 00:59:42 -12 2025 -I: pbuilder-time-stamp: 1737377982 +I: Current time: Tue Jan 21 03:03:41 +14 2025 +I: pbuilder-time-stamp: 1737378221 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -24,52 +24,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/25374/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/21096/tmp/hooks/D01_modify_environment starting +debug: Running on ff64a. +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 20 13:04 /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/21096/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/21096/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='trixie' - 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=6 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='9fbdfc97d2fc4d25a2527b0a96aa41cc' - 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='25374' - PS1='# ' - PS2='> ' + INVOCATION_ID=a8bcabb3b7f3471eb82d5134a9afc668 + 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=21096 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.nfZYU9NZ/pbuilderrc_WVc3 --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.nfZYU9NZ/b1 --logfile b1/build.log golang-github-inetaf-tcpproxy_0.0~git20231102.2862066-2.dsc' - SUDO_GID='110' - SUDO_UID='103' - 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.nfZYU9NZ/pbuilderrc_hUSl --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.nfZYU9NZ/b2 --logfile b2/build.log golang-github-inetaf-tcpproxy_0.0~git20231102.2862066-2.dsc' + SUDO_GID=114 + SUDO_UID=109 + 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 virt32z 6.1.0-30-armmp-lpae #1 SMP Debian 6.1.124-1 (2025-01-12) armv7l GNU/Linux + Linux i-capture-the-hostname 6.1.0-30-arm64 #1 SMP Debian 6.1.124-1 (2025-01-12) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/25374/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/21096/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: 35 http://deb.debian.org/debian trixie/main armhf golang-go armhf 2:1.23~2 [44.3 kB] Get: 36 http://deb.debian.org/debian trixie/main armhf golang-any armhf 2:1.23~2 [5172 B] Get: 37 http://deb.debian.org/debian trixie/main armhf golang-github-armon-go-proxyproto-dev all 0.1.0-1 [7156 B] -Fetched 62.4 MB in 29s (2180 kB/s) +Fetched 62.4 MB in 2s (35.5 MB/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 ... 19569 files and directories currently installed.) @@ -311,7 +343,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/21096/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/21096/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 @@ -329,158 +365,158 @@ 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 6 inet.af/tcpproxy inet.af/tcpproxy/cmd/tlsrouter internal/goarch +internal/byteorder +internal/godebugs +internal/coverage/rtcov internal/unsafeheader internal/cpu -internal/byteorder internal/abi -internal/chacha8rand -internal/bytealg -internal/coverage/rtcov -internal/godebugs internal/goexperiment internal/goos internal/profilerecord -internal/runtime/atomic internal/runtime/syscall -internal/stringslite runtime/internal/math +internal/chacha8rand runtime/internal/sys -internal/runtime/exithook internal/race sync/atomic unicode -runtime unicode/utf8 +internal/bytealg +internal/runtime/atomic internal/asan internal/itoa +internal/stringslite internal/msan container/list math/bits -math crypto/internal/alias crypto/internal/boring/sig cmp unicode/utf16 +internal/runtime/exithook vendor/golang.org/x/crypto/cryptobyte/asn1 vendor/golang.org/x/crypto/internal/alias +math internal/nettrace log/internal encoding -internal/reflectlite +runtime +internal/weak crypto/subtle -sync +internal/reflectlite iter -slices -internal/weak +sync maps -internal/bisect -internal/testlog +slices errors internal/singleflight +internal/testlog +internal/bisect sort +runtime/cgo +internal/oserror io internal/godebug -internal/oserror +strconv syscall bytes strings hash -bufio -strconv -crypto/cipher crypto/internal/edwards25519/field +crypto/internal/nistec/fiat +crypto/cipher crypto -crypto/des +bufio +crypto/internal/randutil crypto/internal/boring +crypto/des crypto/aes -crypto/internal/nistec/fiat -time -crypto/internal/randutil reflect -context path -io/fs -internal/filepathlite -internal/syscall/unix -internal/poll -crypto/internal/nistec -internal/fmtsort -internal/syscall/execenv math/rand -os -crypto/ecdh crypto/sha512 crypto/internal/edwards25519 crypto/hmac -encoding/binary vendor/golang.org/x/crypto/hkdf crypto/md5 -vendor/golang.org/x/crypto/chacha20 -vendor/golang.org/x/crypto/internal/poly1305 +time +internal/syscall/unix +internal/syscall/execenv crypto/rc4 -vendor/golang.org/x/crypto/chacha20poly1305 crypto/sha1 -fmt -vendor/golang.org/x/sys/cpu crypto/sha256 -vendor/golang.org/x/crypto/sha3 -encoding/base64 vendor/golang.org/x/net/dns/dnsmessage -encoding/pem math/rand/v2 -math/big -encoding/hex +hash/crc32 +vendor/golang.org/x/text/transform internal/concurrent unique -runtime/cgo +net/http/internal/ascii +regexp/syntax net/netip +context +io/fs +crypto/internal/nistec +internal/filepathlite +internal/poll +regexp +encoding/binary +internal/fmtsort +crypto/ecdh +os +vendor/golang.org/x/crypto/internal/poly1305 +vendor/golang.org/x/crypto/chacha20 +encoding/base64 +vendor/golang.org/x/crypto/chacha20poly1305 +encoding/pem +path/filepath +vendor/golang.org/x/sys/cpu +fmt +net +vendor/golang.org/x/crypto/sha3 +encoding/hex +log net/url +compress/flate +math/big +vendor/golang.org/x/text/unicode/norm +vendor/golang.org/x/text/unicode/bidi +vendor/golang.org/x/net/http2/hpack +compress/gzip +mime +mime/quotedprintable +net/http/internal +vendor/golang.org/x/text/secure/bidirule +flag +vendor/golang.org/x/net/idna +crypto/internal/boring/bbig crypto/elliptic crypto/internal/bigmod -crypto/internal/boring/bbig encoding/asn1 crypto/rand crypto/ed25519 crypto/internal/hpke -vendor/golang.org/x/crypto/cryptobyte crypto/internal/mlkem768 crypto/rsa -crypto/ecdsa crypto/dsa crypto/x509/pkix -path/filepath -log -compress/flate -hash/crc32 -vendor/golang.org/x/text/transform -vendor/golang.org/x/text/unicode/bidi -compress/gzip -net -vendor/golang.org/x/text/unicode/norm -vendor/golang.org/x/text/secure/bidirule -vendor/golang.org/x/net/http2/hpack -mime -mime/quotedprintable -vendor/golang.org/x/net/idna -net/http/internal -net/http/internal/ascii -flag -regexp/syntax -regexp -net/textproto +vendor/golang.org/x/crypto/cryptobyte +crypto/ecdsa vendor/golang.org/x/net/http/httpproxy -crypto/x509 +net/textproto inet.af/tcpproxy/cmd/tlsrouter -vendor/golang.org/x/net/http/httpguts +crypto/x509 mime/multipart +vendor/golang.org/x/net/http/httpguts crypto/tls net/http/httptrace 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 6 inet.af/tcpproxy inet.af/tcpproxy/cmd/tlsrouter === RUN TestListenerAccept --- PASS: TestListenerAccept (0.00s) === RUN TestMatchHTTPHost @@ -492,7 +528,7 @@ --- PASS: TestMatchHTTPHost/no-match (0.00s) --- PASS: TestMatchHTTPHost/match-huge-request (0.00s) === RUN TestSNI ---- PASS: TestSNI (0.01s) +--- PASS: TestSNI (0.03s) === RUN TestProxyStartNone --- PASS: TestProxyStartNone (0.00s) === RUN TestBufferedClose @@ -502,28 +538,28 @@ === RUN TestProxyHTTP --- PASS: TestProxyHTTP (0.00s) === RUN TestProxySNI ---- PASS: TestProxySNI (0.01s) +--- PASS: TestProxySNI (0.05s) === RUN TestAddSNIRouteFunc ---- PASS: TestAddSNIRouteFunc (0.01s) +--- PASS: TestAddSNIRouteFunc (0.03s) === RUN TestProxyPROXYOut --- PASS: TestProxyPROXYOut (0.00s) PASS -ok inet.af/tcpproxy 0.041s +ok inet.af/tcpproxy 0.158s === RUN TestConfig --- PASS: TestConfig (0.00s) === RUN TestRouting -2025/01/20 13:03:14 127.0.0.1:43942 <> 127.0.0.1:35237: extracted SNI test.com -2025/01/20 13:03:14 127.0.0.1:43942 <> 127.0.0.1:35237: routing "test.com" to "127.0.0.1:40463" -2025/01/20 13:03:14 127.0.0.1:43956 <> 127.0.0.1:35237: extracted SNI foo.net -2025/01/20 13:03:14 127.0.0.1:43956 <> 127.0.0.1:35237: routing "foo.net" to "127.0.0.1:35063" -2025/01/20 13:03:14 127.0.0.1:43960 <> 127.0.0.1:35237: extracted SNI bar.org -2025/01/20 13:03:14 127.0.0.1:43960 <> 127.0.0.1:35237: no backend found for "bar.org" -2025/01/20 13:03:14 127.0.0.1:43974 <> 127.0.0.1:35237: extracted SNI proxy.design -2025/01/20 13:03:14 127.0.0.1:43974 <> 127.0.0.1:35237: routing "proxy.design" to "127.0.0.1:36519" - e2e_test.go:124: accept failed on ["proxy.design"]: accept tcp 127.0.0.1:36519: use of closed network connection - e2e_test.go:124: accept failed on ["foo.net"]: accept tcp 127.0.0.1:35063: use of closed network connection - e2e_test.go:124: accept failed on ["test.com"]: accept tcp 127.0.0.1:40463: use of closed network connection ---- PASS: TestRouting (8.37s) +2025/01/20 13:09:14 127.0.0.1:56590 <> 127.0.0.1:40359: extracted SNI test.com +2025/01/20 13:09:14 127.0.0.1:56590 <> 127.0.0.1:40359: routing "test.com" to "127.0.0.1:44961" +2025/01/20 13:09:14 127.0.0.1:56592 <> 127.0.0.1:40359: extracted SNI foo.net +2025/01/20 13:09:14 127.0.0.1:56592 <> 127.0.0.1:40359: routing "foo.net" to "127.0.0.1:45045" +2025/01/20 13:09:14 127.0.0.1:56600 <> 127.0.0.1:40359: extracted SNI bar.org +2025/01/20 13:09:14 127.0.0.1:56600 <> 127.0.0.1:40359: no backend found for "bar.org" +2025/01/20 13:09:14 127.0.0.1:56608 <> 127.0.0.1:40359: extracted SNI proxy.design +2025/01/20 13:09:14 127.0.0.1:56608 <> 127.0.0.1:40359: routing "proxy.design" to "127.0.0.1:41175" + e2e_test.go:124: accept failed on ["proxy.design"]: accept tcp 127.0.0.1:41175: use of closed network connection + e2e_test.go:124: accept failed on ["foo.net"]: accept tcp 127.0.0.1:45045: use of closed network connection + e2e_test.go:124: accept failed on ["test.com"]: accept tcp 127.0.0.1:44961: use of closed network connection +--- PASS: TestRouting (12.70s) === RUN TestVector --- PASS: TestVector (0.00s) === RUN TestHandshakeRecord @@ -533,7 +569,7 @@ === RUN TestParseSNI --- PASS: TestParseSNI (0.00s) PASS -ok inet.af/tcpproxy/cmd/tlsrouter 8.393s +ok inet.af/tcpproxy/cmd/tlsrouter 12.738s create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang dh_prep -O--builddirectory=_build -O--buildsystem=golang @@ -560,8 +596,8 @@ dpkg-gencontrol: warning: package tlsrouter: substitution variable ${misc:Static-Built-Using} unused, but is defined dh_md5sums -O--builddirectory=_build -O--buildsystem=golang dh_builddeb -O--builddirectory=_build -O--buildsystem=golang -dpkg-deb: building package 'golang-github-inetaf-tcpproxy-dev' in '../golang-github-inetaf-tcpproxy-dev_0.0~git20231102.2862066-2_all.deb'. dpkg-deb: building package 'tlsrouter' in '../tlsrouter_0.0~git20231102.2862066-2_armhf.deb'. +dpkg-deb: building package 'golang-github-inetaf-tcpproxy-dev' in '../golang-github-inetaf-tcpproxy-dev_0.0~git20231102.2862066-2_all.deb'. dpkg-genbuildinfo --build=binary -O../golang-github-inetaf-tcpproxy_0.0~git20231102.2862066-2_armhf.buildinfo dpkg-genchanges --build=binary -O../golang-github-inetaf-tcpproxy_0.0~git20231102.2862066-2_armhf.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -569,12 +605,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/21096/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/21096/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/25374 and its subdirectories -I: Current time: Mon Jan 20 01:03:26 -12 2025 -I: pbuilder-time-stamp: 1737378206 +I: removing directory /srv/workspace/pbuilder/21096 and its subdirectories +I: Current time: Tue Jan 21 03:09:51 +14 2025 +I: pbuilder-time-stamp: 1737378591