Diff of the two buildlogs: -- --- b1/build.log 2024-05-16 10:22:12.504495154 +0000 +++ b2/build.log 2024-05-16 10:24:58.393443755 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Jun 18 04:44:24 -12 2025 -I: pbuilder-time-stamp: 1750265064 +I: Current time: Fri May 17 00:22:15 +14 2024 +I: pbuilder-time-stamp: 1715854935 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -29,54 +29,86 @@ dpkg-source: info: applying auto-gitignore I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/93259/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/58009/tmp/hooks/D01_modify_environment starting +debug: Running on ionos12-i386. +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 16 10:22 /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/58009/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/58009/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='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=22 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='i386' + 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]="i686-pc-linux-gnu") + 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=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=10 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='82a78542d7704d968c0e1c5baff35df6' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - 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='93259' - PS1='# ' - PS2='> ' + INVOCATION_ID=b8ef57e32fbe4b868c25076de5c4f236 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-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=58009 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.h8UFAx2a/pbuilderrc_1J5B --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.h8UFAx2a/b1 --logfile b1/build.log golang-github-inetaf-tcpproxy_0.0~git20231102.2862066-2.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152: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.h8UFAx2a/pbuilderrc_LyTw --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.h8UFAx2a/b2 --logfile b2/build.log golang-github-inetaf-tcpproxy_0.0~git20231102.2862066-2.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos16-i386 6.1.0-21-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-21-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Jun 18 14:05 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/93259/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 15 07:43 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/58009/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -155,7 +187,7 @@ Get: 35 http://deb.debian.org/debian unstable/main i386 golang-go i386 2:1.22~3 [44.2 kB] Get: 36 http://deb.debian.org/debian unstable/main i386 golang-any i386 2:1.22~3 [5104 B] Get: 37 http://deb.debian.org/debian unstable/main i386 golang-github-armon-go-proxyproto-dev all 0.0~git20190211.68259f7-2 [6204 B] -Fetched 61.1 MB in 1s (52.4 MB/s) +Fetched 61.1 MB in 2s (31.3 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 ... 19686 files and directories currently installed.) @@ -318,7 +350,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/58009/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/58009/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 @@ -336,143 +372,143 @@ 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 22 inet.af/tcpproxy inet.af/tcpproxy/cmd/tlsrouter -unicode/utf8 -vendor/golang.org/x/crypto/cryptobyte/asn1 -internal/nettrace + cd _build && go install -trimpath -v -p 10 inet.af/tcpproxy inet.af/tcpproxy/cmd/tlsrouter +internal/godebugs +internal/goarch +internal/goos internal/unsafeheader -unicode/utf16 -runtime/internal/syscall -sync/atomic +internal/coverage/rtcov +internal/goexperiment internal/race internal/cpu -crypto/internal/alias -math/bits -internal/goarch -container/list -internal/goexperiment -internal/coverage/rtcov -internal/goos -cmp runtime/internal/atomic -crypto/internal/boring/sig +internal/abi +internal/chacha8rand +runtime/internal/math +sync/atomic unicode +runtime/internal/syscall +runtime/internal/sys +unicode/utf8 internal/itoa -internal/godebugs +container/list +math/bits +crypto/internal/alias +crypto/internal/boring/sig +internal/bytealg +cmp +unicode/utf16 +vendor/golang.org/x/crypto/cryptobyte/asn1 +internal/nettrace vendor/golang.org/x/crypto/internal/alias log/internal encoding -runtime/internal/math -internal/chacha8rand -internal/abi -runtime/internal/sys slices math -internal/bytealg runtime +sync crypto/subtle internal/reflectlite -sync -internal/singleflight -internal/bisect internal/testlog +internal/bisect +internal/singleflight runtime/cgo internal/godebug errors -sort +io internal/oserror +sort +strconv internal/safefilepath -io +crypto/internal/nistec/fiat path -internal/intern -vendor/golang.org/x/net/dns/dnsmessage math/rand -strconv -crypto/internal/nistec/fiat +vendor/golang.org/x/net/dns/dnsmessage +internal/intern syscall -hash -crypto/internal/randutil bytes +hash strings +crypto/internal/randutil hash/crc32 crypto crypto/rc4 net/netip reflect vendor/golang.org/x/text/transform -net/http/internal/ascii bufio +net/http/internal/ascii regexp/syntax +regexp internal/syscall/execenv internal/syscall/unix time -regexp crypto/internal/nistec -internal/fmtsort -encoding/binary context io/fs internal/poll -crypto/internal/edwards25519/field -crypto/md5 +encoding/binary +internal/fmtsort crypto/cipher -encoding/base64 vendor/golang.org/x/crypto/internal/poly1305 +crypto/md5 +crypto/internal/edwards25519/field +encoding/base64 os -encoding/pem crypto/internal/edwards25519 -crypto/internal/boring +encoding/pem crypto/des +crypto/internal/boring vendor/golang.org/x/crypto/chacha20 -crypto/ecdh -crypto/sha256 -crypto/hmac +crypto/aes crypto/sha512 +crypto/ecdh crypto/sha1 -crypto/aes -vendor/golang.org/x/crypto/hkdf +crypto/hmac +crypto/sha256 vendor/golang.org/x/crypto/chacha20poly1305 -path/filepath +vendor/golang.org/x/crypto/hkdf fmt +path/filepath net +math/big encoding/hex net/url -log -net/http/internal -mime/quotedprintable -mime -flag compress/flate vendor/golang.org/x/net/http2/hpack -math/big +mime vendor/golang.org/x/text/unicode/norm +mime/quotedprintable +log +net/http/internal +flag vendor/golang.org/x/text/unicode/bidi compress/gzip vendor/golang.org/x/text/secure/bidirule vendor/golang.org/x/net/idna -crypto/internal/boring/bbig +crypto/elliptic +encoding/asn1 crypto/rand crypto/dsa -crypto/elliptic crypto/internal/bigmod -encoding/asn1 +crypto/internal/boring/bbig crypto/ed25519 crypto/rsa -crypto/x509/pkix vendor/golang.org/x/crypto/cryptobyte +crypto/x509/pkix crypto/ecdsa -inet.af/tcpproxy/cmd/tlsrouter +crypto/x509 vendor/golang.org/x/net/http/httpproxy net/textproto -crypto/x509 -vendor/golang.org/x/net/http/httpguts +inet.af/tcpproxy/cmd/tlsrouter 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 22 inet.af/tcpproxy inet.af/tcpproxy/cmd/tlsrouter + cd _build && go test -vet=off -v -p 10 inet.af/tcpproxy inet.af/tcpproxy/cmd/tlsrouter === RUN TestListenerAccept --- PASS: TestListenerAccept (0.00s) === RUN TestMatchHTTPHost @@ -484,38 +520,38 @@ --- PASS: TestMatchHTTPHost/no-match (0.00s) --- PASS: TestMatchHTTPHost/match-huge-request (0.00s) === RUN TestSNI ---- PASS: TestSNI (0.00s) +--- PASS: TestSNI (0.01s) === RUN TestProxyStartNone --- PASS: TestProxyStartNone (0.00s) === RUN TestBufferedClose ---- PASS: TestBufferedClose (0.00s) +--- PASS: TestBufferedClose (0.01s) === RUN TestProxyAlwaysMatch --- PASS: TestProxyAlwaysMatch (0.00s) === RUN TestProxyHTTP ---- PASS: TestProxyHTTP (0.00s) +--- PASS: TestProxyHTTP (0.01s) === RUN TestProxySNI ---- PASS: TestProxySNI (0.00s) +--- PASS: TestProxySNI (0.02s) === RUN TestAddSNIRouteFunc ---- PASS: TestAddSNIRouteFunc (0.00s) +--- PASS: TestAddSNIRouteFunc (0.01s) === RUN TestProxyPROXYOut --- PASS: TestProxyPROXYOut (0.00s) PASS -ok inet.af/tcpproxy 0.017s +ok inet.af/tcpproxy 0.125s === RUN TestConfig --- PASS: TestConfig (0.00s) === RUN TestRouting -2025/06/18 16:45:06 127.0.0.1:60280 <> 127.0.0.1:39581: extracted SNI test.com -2025/06/18 16:45:06 127.0.0.1:60280 <> 127.0.0.1:39581: routing "test.com" to "127.0.0.1:34701" -2025/06/18 16:45:06 127.0.0.1:60282 <> 127.0.0.1:39581: extracted SNI foo.net -2025/06/18 16:45:06 127.0.0.1:60282 <> 127.0.0.1:39581: routing "foo.net" to "127.0.0.1:34047" -2025/06/18 16:45:06 127.0.0.1:60288 <> 127.0.0.1:39581: extracted SNI bar.org -2025/06/18 16:45:06 127.0.0.1:60288 <> 127.0.0.1:39581: no backend found for "bar.org" -2025/06/18 16:45:06 127.0.0.1:60296 <> 127.0.0.1:39581: extracted SNI proxy.design -2025/06/18 16:45:06 127.0.0.1:60296 <> 127.0.0.1:39581: routing "proxy.design" to "127.0.0.1:36393" - e2e_test.go:124: accept failed on ["proxy.design"]: accept tcp 127.0.0.1:36393: use of closed network connection - e2e_test.go:124: accept failed on ["foo.net"]: accept tcp 127.0.0.1:34047: use of closed network connection - e2e_test.go:124: accept failed on ["test.com"]: accept tcp 127.0.0.1:34701: use of closed network connection ---- PASS: TestRouting (2.84s) +2024/05/16 10:24:40 127.0.0.1:35062 <> 127.0.0.1:33899: extracted SNI test.com +2024/05/16 10:24:40 127.0.0.1:35062 <> 127.0.0.1:33899: routing "test.com" to "127.0.0.1:42125" +2024/05/16 10:24:40 127.0.0.1:35064 <> 127.0.0.1:33899: extracted SNI foo.net +2024/05/16 10:24:40 127.0.0.1:35064 <> 127.0.0.1:33899: routing "foo.net" to "127.0.0.1:41033" +2024/05/16 10:24:40 127.0.0.1:35080 <> 127.0.0.1:33899: extracted SNI bar.org +2024/05/16 10:24:40 127.0.0.1:35080 <> 127.0.0.1:33899: no backend found for "bar.org" +2024/05/16 10:24:40 127.0.0.1:35094 <> 127.0.0.1:33899: extracted SNI proxy.design +2024/05/16 10:24:40 127.0.0.1:35094 <> 127.0.0.1:33899: routing "proxy.design" to "127.0.0.1:35055" + e2e_test.go:124: accept failed on ["proxy.design"]: accept tcp 127.0.0.1:35055: use of closed network connection + e2e_test.go:124: accept failed on ["foo.net"]: accept tcp 127.0.0.1:41033: use of closed network connection + e2e_test.go:124: accept failed on ["test.com"]: accept tcp 127.0.0.1:42125: use of closed network connection +--- PASS: TestRouting (13.09s) === RUN TestVector --- PASS: TestVector (0.00s) === RUN TestHandshakeRecord @@ -525,7 +561,7 @@ === RUN TestParseSNI --- PASS: TestParseSNI (0.00s) PASS -ok inet.af/tcpproxy/cmd/tlsrouter 2.848s +ok inet.af/tcpproxy/cmd/tlsrouter 13.120s create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang dh_prep -O--builddirectory=_build -O--buildsystem=golang @@ -552,8 +588,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_i386.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_i386.buildinfo dpkg-genchanges --build=binary -O../golang-github-inetaf-tcpproxy_0.0~git20231102.2862066-2_i386.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -561,12 +597,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/58009/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/58009/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/93259 and its subdirectories -I: Current time: Wed Jun 18 04:45:11 -12 2025 -I: pbuilder-time-stamp: 1750265111 +I: removing directory /srv/workspace/pbuilder/58009 and its subdirectories +I: Current time: Fri May 17 00:24:57 +14 2024 +I: pbuilder-time-stamp: 1715855097