Diff of the two buildlogs: -- --- b1/build.log 2024-04-22 23:59:35.639027725 +0000 +++ b2/build.log 2024-04-23 00:13:56.574176604 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Apr 22 11:54:17 -12 2024 -I: pbuilder-time-stamp: 1713830057 +I: Current time: Tue Apr 23 13:59:51 +14 2024 +I: pbuilder-time-stamp: 1713830391 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-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/15809/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/19338/tmp/hooks/D01_modify_environment starting +debug: Running on cbxi4b. +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 Apr 23 00:00 /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/19338/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/19338/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]="21" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.21(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=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='5e939304c2cc456f99496226b8ce5987' - 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='15809' - PS1='# ' - PS2='> ' + INVOCATION_ID=8fa60f8379564206974a06e96c20ad12 + 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=19338 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.TpXayKuy/pbuilderrc_qmYl --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.TpXayKuy/b1 --logfile b1/build.log golang-github-inetaf-tcpproxy_0.0~git20231102.2862066-2.dsc' - SUDO_GID='114' - SUDO_UID='108' - 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.TpXayKuy/pbuilderrc_FLs8 --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.TpXayKuy/b2 --logfile b2/build.log golang-github-inetaf-tcpproxy_0.0~git20231102.2862066-2.dsc' + SUDO_GID=116 + SUDO_UID=112 + 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 virt64a 6.1.0-20-arm64 #1 SMP Debian 6.1.85-1 (2024-04-11) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-20-armmp #1 SMP Debian 6.1.85-1 (2024-04-11) armv7l GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Apr 21 07:13 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/15809/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Apr 21 07:21 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/19338/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -152,7 +184,7 @@ Get: 35 http://deb.debian.org/debian trixie/main armhf golang-go armhf 2:1.22~3 [44.2 kB] Get: 36 http://deb.debian.org/debian trixie/main armhf golang-any armhf 2:1.22~3 [5104 B] Get: 37 http://deb.debian.org/debian trixie/main armhf golang-github-armon-go-proxyproto-dev all 0.0~git20190211.68259f7-2 [6204 B] -Fetched 58.7 MB in 2s (35.4 MB/s) +Fetched 58.7 MB in 7s (8150 kB/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 ... 19635 files and directories currently installed.) @@ -315,7 +347,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/19338/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/19338/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 @@ -333,19 +369,19 @@ 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 -internal/goarch + cd _build && go install -trimpath -v -p 4 inet.af/tcpproxy inet.af/tcpproxy/cmd/tlsrouter +internal/coverage/rtcov internal/unsafeheader +internal/goarch internal/cpu -internal/chacha8rand -internal/abi -internal/bytealg -internal/coverage/rtcov internal/godebugs +internal/abi +internal/chacha8rand internal/goexperiment internal/goos -runtime/internal/atomic runtime/internal/math +internal/bytealg +runtime/internal/atomic runtime/internal/sys runtime/internal/syscall internal/race @@ -355,91 +391,80 @@ internal/itoa container/list math/bits -runtime -math crypto/internal/alias crypto/internal/boring/sig cmp slices +math unicode/utf16 vendor/golang.org/x/crypto/cryptobyte/asn1 internal/nettrace vendor/golang.org/x/crypto/internal/alias +runtime log/internal encoding +crypto/subtle internal/reflectlite sync -crypto/subtle internal/testlog internal/bisect internal/singleflight runtime/cgo -internal/godebug errors -io sort +io +internal/oserror bytes strings -internal/oserror syscall -bufio hash strconv +bufio +crypto/internal/nistec/fiat crypto reflect time -crypto/internal/nistec/fiat -context crypto/internal/randutil internal/syscall/unix -internal/poll internal/safefilepath internal/syscall/execenv path +internal/godebug +context +internal/poll io/fs -encoding/binary -internal/fmtsort +math/rand crypto/internal/nistec os +crypto/rc4 +vendor/golang.org/x/net/dns/dnsmessage +encoding/binary +internal/fmtsort crypto/cipher +crypto/internal/edwards25519/field +crypto/md5 crypto/internal/boring -crypto/aes crypto/des -crypto/internal/edwards25519/field -math/rand -fmt +crypto/aes crypto/ecdh +fmt crypto/sha512 crypto/internal/edwards25519 crypto/hmac -crypto/md5 -crypto/rc4 crypto/sha1 crypto/sha256 encoding/base64 -math/big -encoding/hex -encoding/pem -vendor/golang.org/x/net/dns/dnsmessage internal/intern net/netip -net/url -net +encoding/pem path/filepath vendor/golang.org/x/crypto/chacha20 +math/big +encoding/hex +net/url vendor/golang.org/x/crypto/internal/poly1305 -crypto/elliptic -crypto/internal/bigmod -crypto/internal/boring/bbig -encoding/asn1 -crypto/rand -crypto/ed25519 -crypto/rsa -vendor/golang.org/x/crypto/cryptobyte -crypto/dsa -crypto/x509/pkix +net vendor/golang.org/x/crypto/chacha20poly1305 -crypto/ecdsa vendor/golang.org/x/crypto/hkdf log compress/flate @@ -450,18 +475,29 @@ 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 +encoding/asn1 +crypto/rand +crypto/dsa +vendor/golang.org/x/net/idna +crypto/ed25519 +crypto/rsa +vendor/golang.org/x/crypto/cryptobyte +crypto/x509/pkix mime mime/quotedprintable +crypto/ecdsa net/http/internal -vendor/golang.org/x/net/idna net/http/internal/ascii flag regexp/syntax regexp -net/textproto vendor/golang.org/x/net/http/httpproxy -crypto/x509 inet.af/tcpproxy/cmd/tlsrouter +net/textproto +crypto/x509 vendor/golang.org/x/net/http/httpguts mime/multipart crypto/tls @@ -469,7 +505,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 @@ -481,41 +517,40 @@ --- PASS: TestMatchHTTPHost/no-match (0.00s) --- PASS: TestMatchHTTPHost/match-huge-request (0.00s) === RUN TestSNI ---- PASS: TestSNI (0.01s) +--- PASS: TestSNI (0.06s) === RUN TestProxyStartNone --- PASS: TestProxyStartNone (0.00s) === RUN TestBufferedClose ---- PASS: TestBufferedClose (0.00s) +--- PASS: TestBufferedClose (0.04s) === RUN TestProxyAlwaysMatch ---- PASS: TestProxyAlwaysMatch (0.00s) +--- PASS: TestProxyAlwaysMatch (0.02s) === RUN TestProxyHTTP --- PASS: TestProxyHTTP (0.01s) === RUN TestProxySNI ---- PASS: TestProxySNI (0.03s) +--- PASS: TestProxySNI (0.27s) === RUN TestAddSNIRouteFunc ---- PASS: TestAddSNIRouteFunc (0.01s) +--- PASS: TestAddSNIRouteFunc (0.21s) === RUN TestProxyPROXYOut ---- PASS: TestProxyPROXYOut (0.00s) +--- PASS: TestProxyPROXYOut (0.02s) PASS -ok inet.af/tcpproxy 0.107s +ok inet.af/tcpproxy 0.780s === RUN TestConfig --- PASS: TestConfig (0.00s) === RUN TestRouting -2024/04/22 23:59:04 127.0.0.1:50100 <> 127.0.0.1:38973: extracted SNI test.com -2024/04/22 23:59:04 127.0.0.1:50100 <> 127.0.0.1:38973: routing "test.com" to "127.0.0.1:38105" -2024/04/22 23:59:04 127.0.0.1:50104 <> 127.0.0.1:38973: extracted SNI foo.net -2024/04/22 23:59:04 127.0.0.1:50104 <> 127.0.0.1:38973: routing "foo.net" to "127.0.0.1:37845" -2024/04/22 23:59:04 127.0.0.1:50114 <> 127.0.0.1:38973: extracted SNI bar.org -2024/04/22 23:59:04 127.0.0.1:50114 <> 127.0.0.1:38973: no backend found for "bar.org" -2024/04/22 23:59:04 127.0.0.1:50124 <> 127.0.0.1:38973: extracted SNI proxy.design -2024/04/22 23:59:04 127.0.0.1:50124 <> 127.0.0.1:38973: routing "proxy.design" to "127.0.0.1:41051" -2024/04/22 23:59:04 127.0.0.1:37845<>127.0.0.1:46698 -> 127.0.0.1:38973<>127.0.0.1:50104: writeto tcp 127.0.0.1:38973->127.0.0.1:50104: readfrom tcp 127.0.0.1:46698->127.0.0.1:37845: splice: broken pipe - e2e_test.go:124: accept failed on ["proxy.design"]: accept tcp 127.0.0.1:41051: use of closed network connection - e2e_test.go:124: accept failed on ["foo.net"]: accept tcp 127.0.0.1:37845: use of closed network connection - e2e_test.go:124: accept failed on ["test.com"]: accept tcp 127.0.0.1:38105: use of closed network connection ---- PASS: TestRouting (19.20s) +2024/04/23 00:11:59 127.0.0.1:47136 <> 127.0.0.1:42663: extracted SNI test.com +2024/04/23 00:11:59 127.0.0.1:47136 <> 127.0.0.1:42663: routing "test.com" to "127.0.0.1:37559" +2024/04/23 00:11:59 127.0.0.1:47148 <> 127.0.0.1:42663: extracted SNI foo.net +2024/04/23 00:11:59 127.0.0.1:47148 <> 127.0.0.1:42663: routing "foo.net" to "127.0.0.1:35793" +2024/04/23 00:11:59 127.0.0.1:47156 <> 127.0.0.1:42663: extracted SNI bar.org +2024/04/23 00:11:59 127.0.0.1:47156 <> 127.0.0.1:42663: no backend found for "bar.org" +2024/04/23 00:11:59 127.0.0.1:47166 <> 127.0.0.1:42663: extracted SNI proxy.design +2024/04/23 00:11:59 127.0.0.1:47166 <> 127.0.0.1:42663: routing "proxy.design" to "127.0.0.1:33735" + e2e_test.go:124: accept failed on ["proxy.design"]: accept tcp 127.0.0.1:33735: use of closed network connection + e2e_test.go:124: accept failed on ["foo.net"]: accept tcp 127.0.0.1:35793: use of closed network connection + e2e_test.go:124: accept failed on ["test.com"]: accept tcp 127.0.0.1:37559: use of closed network connection +--- PASS: TestRouting (65.85s) === RUN TestVector ---- PASS: TestVector (0.00s) +--- PASS: TestVector (0.01s) === RUN TestHandshakeRecord --- PASS: TestHandshakeRecord (0.00s) === RUN TestParseHello @@ -523,7 +558,7 @@ === RUN TestParseSNI --- PASS: TestParseSNI (0.00s) PASS -ok inet.af/tcpproxy/cmd/tlsrouter 19.226s +ok inet.af/tcpproxy/cmd/tlsrouter 65.959s create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang dh_prep -O--builddirectory=_build -O--buildsystem=golang @@ -550,8 +585,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) @@ -559,12 +594,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/19338/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/19338/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/15809 and its subdirectories -I: Current time: Mon Apr 22 11:59:31 -12 2024 -I: pbuilder-time-stamp: 1713830371 +I: removing directory /srv/workspace/pbuilder/19338 and its subdirectories +I: Current time: Tue Apr 23 14:13:52 +14 2024 +I: pbuilder-time-stamp: 1713831232