Diff of the two buildlogs: -- --- b1/build.log 2025-03-14 01:14:17.328772677 +0000 +++ b2/build.log 2025-03-14 01:16:41.802299441 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Apr 15 19:35:58 -12 2026 -I: pbuilder-time-stamp: 1776324958 +I: Current time: Fri Mar 14 15:14:20 +14 2025 +I: pbuilder-time-stamp: 1741914860 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 0002-use-plugins-from-packages.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3273483/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/415993/tmp/hooks/D01_modify_environment starting +debug: Running on codethink04-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 Mar 14 01:14 /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/415993/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/415993/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='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]="37" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + 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=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='2a41cae74e48410f8028cd95d21bf560' - 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='3273483' - PS1='# ' - PS2='> ' + INVOCATION_ID=d0fd689337e04181a9dcef32d8b7f4aa + 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=415993 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.IvKbP8ko/pbuilderrc_VviR --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.IvKbP8ko/b1 --logfile b1/build.log golang-github-google-s2a-go_0.1.8-1.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4: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.IvKbP8ko/pbuilderrc_7bsM --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.IvKbP8ko/b2 --logfile b2/build.log golang-github-google-s2a-go_0.1.8-1.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink03-arm64 6.1.0-31-cloud-arm64 #1 SMP Debian 6.1.128-1 (2025-02-07) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-31-cloud-arm64 #1 SMP Debian 6.1.128-1 (2025-02-07) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Mar 4 2025 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/3273483/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Mar 4 11:20 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/415993/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -210,7 +242,7 @@ Get: 83 http://deb.debian.org/debian trixie/main arm64 protobuf-compiler arm64 3.21.12-10+b6 [84.9 kB] Get: 84 http://deb.debian.org/debian trixie/main arm64 protoc-gen-go arm64 1.36.5-1 [1574 kB] Get: 85 http://deb.debian.org/debian trixie/main arm64 protoc-gen-go-grpc arm64 1.64.0-6+b1 [1192 kB] -Fetched 98.4 MB in 0s (274 MB/s) +Fetched 98.4 MB in 1s (139 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 ... 19916 files and directories currently installed.) @@ -565,7 +597,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/golang-github-google-s2a-go-0.1.8/ && 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-google-s2a-go_0.1.8-1_source.changes +I: user script /srv/workspace/pbuilder/415993/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/415993/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/golang-github-google-s2a-go-0.1.8/ && 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-google-s2a-go_0.1.8-1_source.changes dpkg-buildpackage: info: source package golang-github-google-s2a-go dpkg-buildpackage: info: source version 0.1.8-1 dpkg-buildpackage: info: source distribution unstable @@ -587,117 +623,117 @@ /build/reproducible-path/golang-github-google-s2a-go-0.1.8/tools/proto/regenerate_proto.sh dh_auto_build -O--builddirectory=_build -O--buildsystem=golang cd _build && go install -trimpath -v -p 12 github.com/google/s2a-go github.com/google/s2a-go/fallback github.com/google/s2a-go/internal/authinfo github.com/google/s2a-go/internal/fakehandshaker/service github.com/google/s2a-go/internal/handshaker github.com/google/s2a-go/internal/handshaker/service github.com/google/s2a-go/internal/proto/common_go_proto github.com/google/s2a-go/internal/proto/examples/helloworld_go_proto github.com/google/s2a-go/internal/proto/s2a_context_go_proto github.com/google/s2a-go/internal/proto/s2a_go_proto github.com/google/s2a-go/internal/proto/v2/common_go_proto github.com/google/s2a-go/internal/proto/v2/s2a_context_go_proto github.com/google/s2a-go/internal/proto/v2/s2a_go_proto github.com/google/s2a-go/internal/record github.com/google/s2a-go/internal/record/internal/aeadcrypter github.com/google/s2a-go/internal/record/internal/aeadcrypter/testutil github.com/google/s2a-go/internal/record/internal/halfconn github.com/google/s2a-go/internal/tokenmanager github.com/google/s2a-go/internal/v2 github.com/google/s2a-go/internal/v2/certverifier github.com/google/s2a-go/internal/v2/fakes2av2 github.com/google/s2a-go/internal/v2/remotesigner github.com/google/s2a-go/internal/v2/tlsconfigstore github.com/google/s2a-go/retry github.com/google/s2a-go/stream -internal/byteorder -internal/coverage/rtcov -internal/asan +internal/godebugs internal/unsafeheader -internal/profilerecord -internal/msan +internal/goarch +internal/goos +internal/runtime/syscall +sync/atomic +internal/coverage/rtcov internal/goexperiment +internal/byteorder +internal/profilerecord +internal/asan +internal/cpu math/bits +internal/msan internal/itoa -internal/godebugs +unicode unicode/utf8 -internal/goarch +internal/abi +internal/runtime/math +internal/chacha8rand container/list -unicode -internal/goos crypto/internal/fips140/alias -internal/cpu crypto/internal/fips140deps/byteorder -sync/atomic -internal/chacha8rand -internal/abi -internal/runtime/syscall -internal/runtime/math -crypto/internal/fips140/subtle cmp crypto/internal/boring/sig unicode/utf16 vendor/golang.org/x/crypto/cryptobyte/asn1 -vendor/golang.org/x/crypto/internal/alias math +crypto/internal/fips140/subtle +vendor/golang.org/x/crypto/internal/alias internal/nettrace -log/internal encoding +log/internal google.golang.org/protobuf/internal/flags google.golang.org/protobuf/internal/set google.golang.org/grpc/serviceconfig -golang.org/x/crypto/cryptobyte/asn1 golang.org/x/crypto/internal/alias +golang.org/x/crypto/cryptobyte/asn1 internal/bytealg internal/runtime/atomic internal/runtime/sys crypto/internal/fips140deps/cpu -internal/stringslite internal/runtime/exithook +internal/stringslite internal/race internal/runtime/maps internal/sync runtime internal/reflectlite +sync iter crypto/subtle weak -sync slices maps -errors -sort -internal/oserror -path -vendor/golang.org/x/net/dns/dnsmessage -strconv -math/rand/v2 internal/bisect -syscall -io internal/testlog internal/singleflight unique google.golang.org/protobuf/internal/pragma +errors +sort runtime/cgo +internal/oserror +io +strconv +path +math/rand/v2 +vendor/golang.org/x/net/dns/dnsmessage google.golang.org/grpc/internal/buffer internal/godebug +syscall bytes crypto/internal/fips140deps/godebug -hash -math/rand -strings crypto/internal/randutil reflect +math/rand +strings net/netip -hash/fnv +hash crypto +hash/fnv hash/crc32 vendor/golang.org/x/text/transform -golang.org/x/text/transform google.golang.org/grpc/internal/grpcrand +golang.org/x/text/transform crypto/internal/fips140 crypto/internal/impl +net/http/internal/ascii bufio html regexp/syntax -net/http/internal/ascii -crypto/internal/fips140/sha3 -crypto/tls/internal/fips140tls crypto/internal/fips140/sha256 +crypto/internal/fips140/sha3 crypto/internal/fips140/sha512 +crypto/tls/internal/fips140tls +crypto/sha3 time internal/syscall/unix internal/syscall/execenv -crypto/sha3 -crypto/internal/fips140hash crypto/internal/fips140/hmac +crypto/internal/fips140hash crypto/internal/fips140/check -regexp +crypto/internal/fips140/aes +crypto/internal/fips140/nistec/fiat +crypto/internal/fips140/edwards25519/field crypto/internal/fips140/bigmod crypto/internal/fips140/hkdf crypto/internal/fips140/tls12 -crypto/internal/fips140/nistec/fiat -crypto/internal/fips140/edwards25519/field -crypto/internal/fips140/aes crypto/internal/fips140/tls13 +regexp crypto/internal/fips140/edwards25519 context io/fs @@ -711,151 +747,151 @@ google.golang.org/protobuf/internal/editiondefaults os crypto/internal/fips140/nistec -internal/fmtsort encoding/binary +internal/fmtsort vendor/golang.org/x/crypto/internal/poly1305 -golang.org/x/crypto/internal/poly1305 encoding/base64 +golang.org/x/crypto/internal/poly1305 golang.org/x/sys/unix +encoding/pem crypto/internal/sysrand -fmt -path/filepath google.golang.org/protobuf/internal/detrand +fmt google.golang.org/grpc/internal/envconfig internal/sysinfo -net -encoding/pem +path/filepath crypto/internal/entropy crypto/internal/fips140/drbg +net crypto/internal/fips140/aes/gcm -crypto/internal/fips140/rsa crypto/internal/fips140only +crypto/internal/fips140/ecdh +crypto/internal/fips140/ecdsa crypto/internal/fips140/ed25519 crypto/internal/fips140/mlkem +crypto/internal/fips140/rsa crypto/md5 crypto/rc4 -crypto/internal/fips140/ecdh -crypto/internal/fips140/ecdsa crypto/cipher -crypto/internal/boring -crypto/des -vendor/golang.org/x/crypto/chacha20 -golang.org/x/crypto/chacha20 math/big +encoding/hex net/url -google.golang.org/grpc/internal/grpclog -encoding/json google.golang.org/grpc/attributes -encoding/hex +encoding/json +google.golang.org/grpc/internal/grpclog +log +google.golang.org/protobuf/internal/errors +crypto/internal/boring +crypto/des +vendor/golang.org/x/crypto/chacha20 +google.golang.org/protobuf/encoding/protowire crypto/aes crypto/ecdh crypto/sha512 crypto/hmac crypto/sha1 crypto/sha256 -log -google.golang.org/protobuf/internal/errors +google.golang.org/protobuf/reflect/protoreflect go/token -vendor/golang.org/x/crypto/chacha20poly1305 compress/flate -google.golang.org/protobuf/encoding/protowire google.golang.org/protobuf/internal/version +golang.org/x/net/internal/timeseries text/template/parse -vendor/golang.org/x/net/http2/hpack +vendor/golang.org/x/crypto/chacha20poly1305 +vendor/golang.org/x/text/unicode/bidi vendor/golang.org/x/text/unicode/norm -google.golang.org/protobuf/reflect/protoreflect +vendor/golang.org/x/net/http2/hpack mime -golang.org/x/net/internal/timeseries -vendor/golang.org/x/text/unicode/bidi mime/quotedprintable +vendor/golang.org/x/text/secure/bidirule net/http/internal +compress/gzip text/tabwriter google.golang.org/grpc/internal/idle golang.org/x/text/unicode/bidi golang.org/x/text/unicode/norm -vendor/golang.org/x/text/secure/bidirule -compress/gzip golang.org/x/net/http2/hpack -text/template +golang.org/x/crypto/chacha20 +golang.org/x/crypto/chacha20poly1305 +crypto/elliptic +crypto/internal/boring/bbig +encoding/asn1 +crypto/rand +crypto/dsa google.golang.org/protobuf/internal/encoding/messageset -google.golang.org/protobuf/internal/order google.golang.org/protobuf/internal/genid +crypto/ed25519 +crypto/internal/hpke +crypto/rsa +google.golang.org/protobuf/internal/order google.golang.org/protobuf/internal/strs google.golang.org/protobuf/reflect/protoregistry google.golang.org/protobuf/runtime/protoiface google.golang.org/protobuf/internal/descfmt google.golang.org/protobuf/internal/descopts google.golang.org/protobuf/internal/encoding/text -vendor/golang.org/x/net/idna google.golang.org/protobuf/internal/protolazy +text/template google.golang.org/protobuf/internal/encoding/json -google.golang.org/grpc/grpclog +vendor/golang.org/x/net/idna golang.org/x/text/secure/bidirule -google.golang.org/protobuf/proto -golang.org/x/crypto/chacha20poly1305 +github.com/google/s2a-go/internal/record/internal/aeadcrypter +google.golang.org/grpc/grpclog +golang.org/x/net/idna golang.org/x/crypto/hkdf +google.golang.org/protobuf/proto flag -google.golang.org/protobuf/internal/encoding/defval -golang.org/x/net/idna -github.com/google/s2a-go/internal/record/internal/aeadcrypter -runtime/trace runtime/debug -crypto/elliptic -crypto/internal/boring/bbig -encoding/asn1 -crypto/rand -crypto/dsa +runtime/trace +vendor/golang.org/x/crypto/cryptobyte +crypto/x509/pkix +golang.org/x/crypto/cryptobyte google.golang.org/grpc/connectivity +google.golang.org/protobuf/internal/encoding/defval github.com/google/s2a-go/retry -crypto/ed25519 -crypto/internal/hpke -crypto/rsa -google.golang.org/protobuf/internal/filedesc -google.golang.org/protobuf/encoding/prototext -html/template testing -crypto/x509/pkix -golang.org/x/crypto/cryptobyte -vendor/golang.org/x/crypto/cryptobyte +google.golang.org/protobuf/encoding/prototext +google.golang.org/protobuf/internal/filedesc crypto/ecdsa +html/template google.golang.org/protobuf/internal/encoding/tag google.golang.org/protobuf/encoding/protojson -google.golang.org/protobuf/internal/impl github.com/google/s2a-go/internal/record/internal/aeadcrypter/testutil -vendor/golang.org/x/net/http/httpproxy -net/textproto +google.golang.org/protobuf/internal/impl crypto/x509 +net/textproto +vendor/golang.org/x/net/http/httpproxy google.golang.org/grpc/internal -google.golang.org/grpc/internal/resolver/dns/internal google.golang.org/grpc/internal/syscall +google.golang.org/grpc/internal/resolver/dns/internal google.golang.org/grpc/metadata google.golang.org/grpc/codes google.golang.org/grpc/internal/grpcutil google.golang.org/grpc/internal/balancerload google.golang.org/grpc/stats google.golang.org/grpc/tap +google.golang.org/grpc/encoding vendor/golang.org/x/net/http/httpguts mime/multipart golang.org/x/net/http/httpguts -google.golang.org/grpc/encoding crypto/tls google.golang.org/protobuf/internal/filetype google.golang.org/protobuf/runtime/protoimpl github.com/google/s2a-go/internal/proto/common_go_proto -github.com/google/s2a-go/internal/proto/v2/common_go_proto -google.golang.org/protobuf/types/known/durationpb google.golang.org/protobuf/protoadapt +google.golang.org/protobuf/types/known/durationpb google.golang.org/protobuf/types/known/timestamppb google.golang.org/protobuf/types/known/anypb +github.com/google/s2a-go/internal/proto/v2/common_go_proto google.golang.org/grpc/encoding/proto google.golang.org/grpc/internal/pretty -github.com/google/s2a-go/internal/proto/v2/s2a_context_go_proto github.com/golang/protobuf/ptypes/duration github.com/google/s2a-go/internal/proto/s2a_context_go_proto +github.com/golang/protobuf/ptypes/timestamp github.com/google/s2a-go/internal/record/internal/halfconn github.com/google/s2a-go/internal/tokenmanager -github.com/golang/protobuf/ptypes/timestamp google.golang.org/genproto/googleapis/rpc/status +github.com/google/s2a-go/internal/proto/v2/s2a_context_go_proto google.golang.org/grpc/binarylog/grpc_binarylog_v1 google.golang.org/grpc/internal/status google.golang.org/grpc/status @@ -865,40 +901,40 @@ google.golang.org/grpc/credentials net/http github.com/google/s2a-go/fallback -google.golang.org/grpc/credentials/insecure +google.golang.org/grpc/internal/channelz google.golang.org/grpc/resolver +google.golang.org/grpc/credentials/insecure google.golang.org/grpc/peer -google.golang.org/grpc/internal/channelz google.golang.org/grpc/internal/metadata +google.golang.org/grpc/internal/resolver/passthrough google.golang.org/grpc/internal/transport/networktype google.golang.org/grpc/balancer/grpclb/state -google.golang.org/grpc/internal/resolver/passthrough google.golang.org/grpc/internal/resolver/unix google.golang.org/grpc/internal/resolver/dns -google.golang.org/grpc/resolver/dns google.golang.org/grpc/channelz +google.golang.org/grpc/resolver/dns google.golang.org/grpc/balancer google.golang.org/grpc/balancer/base google.golang.org/grpc/internal/serviceconfig +google.golang.org/grpc/internal/resolver google.golang.org/grpc/balancer/roundrobin google.golang.org/grpc/internal/balancer/gracefulswitch -google.golang.org/grpc/internal/resolver golang.org/x/net/trace -net/http/httputil golang.org/x/net/http2 +net/http/httputil google.golang.org/grpc/internal/transport google.golang.org/grpc -github.com/google/s2a-go/internal/handshaker/service github.com/google/s2a-go/internal/proto/s2a_go_proto +github.com/google/s2a-go/internal/handshaker/service github.com/google/s2a-go/internal/proto/v2/s2a_go_proto github.com/google/s2a-go/internal/proto/examples/helloworld_go_proto github.com/google/s2a-go/internal/authinfo -github.com/google/s2a-go/internal/fakehandshaker/service github.com/google/s2a-go/internal/record +github.com/google/s2a-go/internal/fakehandshaker/service github.com/google/s2a-go/stream github.com/google/s2a-go/internal/v2/fakes2av2 -github.com/google/s2a-go/internal/v2/remotesigner github.com/google/s2a-go/internal/v2/certverifier +github.com/google/s2a-go/internal/v2/remotesigner github.com/google/s2a-go/internal/handshaker github.com/google/s2a-go/internal/v2/tlsconfigstore github.com/google/s2a-go/internal/v2 @@ -907,88 +943,88 @@ dh_auto_test -O--builddirectory=_build -O--buildsystem=golang cd _build && go test -vet=off -v -p 12 github.com/google/s2a-go github.com/google/s2a-go/fallback github.com/google/s2a-go/internal/authinfo github.com/google/s2a-go/internal/fakehandshaker/service github.com/google/s2a-go/internal/handshaker github.com/google/s2a-go/internal/handshaker/service github.com/google/s2a-go/internal/proto/common_go_proto github.com/google/s2a-go/internal/proto/examples/helloworld_go_proto github.com/google/s2a-go/internal/proto/s2a_context_go_proto github.com/google/s2a-go/internal/proto/s2a_go_proto github.com/google/s2a-go/internal/proto/v2/common_go_proto github.com/google/s2a-go/internal/proto/v2/s2a_context_go_proto github.com/google/s2a-go/internal/proto/v2/s2a_go_proto github.com/google/s2a-go/internal/record github.com/google/s2a-go/internal/record/internal/aeadcrypter github.com/google/s2a-go/internal/record/internal/aeadcrypter/testutil github.com/google/s2a-go/internal/record/internal/halfconn github.com/google/s2a-go/internal/tokenmanager github.com/google/s2a-go/internal/v2 github.com/google/s2a-go/internal/v2/certverifier github.com/google/s2a-go/internal/v2/fakes2av2 github.com/google/s2a-go/internal/v2/remotesigner github.com/google/s2a-go/internal/v2/tlsconfigstore github.com/google/s2a-go/retry github.com/google/s2a-go/stream === RUN TestV1EndToEndUsingFakeS2AOverTCP ---- PASS: TestV1EndToEndUsingFakeS2AOverTCP (0.03s) +--- PASS: TestV1EndToEndUsingFakeS2AOverTCP (0.02s) === RUN TestV2EndToEndUsingFakeS2AOverTCP -2026/04/16 07:36:58 Fake S2A Service: failed to receive SessionReq: EOF -2026/04/16 07:36:58 Fake S2A Service: failed to receive SessionReq: EOF ---- PASS: TestV2EndToEndUsingFakeS2AOverTCP (0.02s) +2025/03/14 01:16:17 Fake S2A Service: failed to receive SessionReq: EOF +2025/03/14 01:16:17 Fake S2A Service: failed to receive SessionReq: EOF +--- PASS: TestV2EndToEndUsingFakeS2AOverTCP (0.07s) === RUN TestV2EndToEndUsingFakeMTLSS2AOverTCP -2026/04/16 07:36:58 Fake S2A Service: failed to receive SessionReq: EOF -2026/04/16 07:36:58 Fake S2A Service: failed to receive SessionReq: EOF ---- PASS: TestV2EndToEndUsingFakeMTLSS2AOverTCP (0.03s) +2025/03/14 01:16:18 Fake S2A Service: failed to receive SessionReq: EOF +2025/03/14 01:16:18 Fake S2A Service: failed to receive SessionReq: EOF +--- PASS: TestV2EndToEndUsingFakeMTLSS2AOverTCP (0.06s) === RUN TestV2EndToEndUsingFakeMTLSS2AOverTCP_SelfSignedClientTransportCreds - s2a_e2e_test.go:353: server running at address: [::]:44897 - s2a_e2e_test.go:354: fallback server running at address: [::]:33101 -2026/04/16 07:36:59 Fake S2A Service: failed to receive SessionReq: EOF ---- PASS: TestV2EndToEndUsingFakeMTLSS2AOverTCP_SelfSignedClientTransportCreds (1.54s) + s2a_e2e_test.go:353: server running at address: [::]:38259 + s2a_e2e_test.go:354: fallback server running at address: [::]:44219 +2025/03/14 01:16:19 Fake S2A Service: failed to receive SessionReq: EOF +--- PASS: TestV2EndToEndUsingFakeMTLSS2AOverTCP_SelfSignedClientTransportCreds (1.80s) === RUN TestV2GRPCFallbackEndToEndUsingFakeS2AOverTCP - s2a_e2e_test.go:456: server running at address: [::]:37915 - s2a_e2e_test.go:457: fallback server running at address: [::]:43727 -2026/04/16 07:37:02 Fake S2A Service: failed to receive SessionReq: EOF ---- PASS: TestV2GRPCFallbackEndToEndUsingFakeS2AOverTCP (2.10s) + s2a_e2e_test.go:456: server running at address: [::]:36881 + s2a_e2e_test.go:457: fallback server running at address: [::]:36127 +2025/03/14 01:16:21 Fake S2A Service: failed to receive SessionReq: EOF +--- PASS: TestV2GRPCFallbackEndToEndUsingFakeS2AOverTCP (1.32s) === RUN TestV2GRPCRetryAndFallbackEndToEndUsingFakeS2AOverTCP - s2a_e2e_test.go:500: server running at address: [::]:44689 - s2a_e2e_test.go:501: fallback server running at address: [::]:38039 -2026/04/16 07:37:02 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token -2026/04/16 07:37:04 Fake S2A Service: failed to receive SessionReq: EOF ---- PASS: TestV2GRPCRetryAndFallbackEndToEndUsingFakeS2AOverTCP (2.50s) + s2a_e2e_test.go:500: server running at address: [::]:42397 + s2a_e2e_test.go:501: fallback server running at address: [::]:43717 +2025/03/14 01:16:21 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token +2025/03/14 01:16:22 Fake S2A Service: failed to receive SessionReq: EOF +--- PASS: TestV2GRPCRetryAndFallbackEndToEndUsingFakeS2AOverTCP (1.78s) === RUN TestV1EndToEndUsingTokens ---- PASS: TestV1EndToEndUsingTokens (0.00s) +--- PASS: TestV1EndToEndUsingTokens (0.01s) === RUN TestV2EndToEndUsingTokens -2026/04/16 07:37:04 Fake S2A Service: failed to receive SessionReq: EOF -2026/04/16 07:37:04 Fake S2A Service: failed to receive SessionReq: EOF ---- PASS: TestV2EndToEndUsingTokens (0.03s) +2025/03/14 01:16:22 Fake S2A Service: failed to receive SessionReq: EOF +2025/03/14 01:16:23 Fake S2A Service: failed to receive SessionReq: EOF +--- PASS: TestV2EndToEndUsingTokens (0.05s) === RUN TestV2EndToEndEmptyToken -2026/04/16 07:37:04 Fake S2A Service: failed to receive SessionReq: EOF -2026/04/16 07:37:04 Fake S2A Service: failed to receive SessionReq: EOF ---- PASS: TestV2EndToEndEmptyToken (0.05s) +2025/03/14 01:16:23 Fake S2A Service: failed to receive SessionReq: EOF +--- PASS: TestV2EndToEndEmptyToken (0.08s) === RUN TestV1EndToEndUsingFakeS2AOnUDS ---- PASS: TestV1EndToEndUsingFakeS2AOnUDS (0.01s) +2025/03/14 01:16:23 Fake S2A Service: failed to receive SessionReq: EOF +--- PASS: TestV1EndToEndUsingFakeS2AOnUDS (0.02s) === RUN TestV2EndToEndUsingFakeS2AOnUDS -2026/04/16 07:37:04 Fake S2A Service: failed to receive SessionReq: EOF -2026/04/16 07:37:04 Fake S2A Service: failed to receive SessionReq: EOF ---- PASS: TestV2EndToEndUsingFakeS2AOnUDS (0.03s) +2025/03/14 01:16:23 Fake S2A Service: failed to receive SessionReq: EOF +2025/03/14 01:16:23 Fake S2A Service: failed to receive SessionReq: EOF +--- PASS: TestV2EndToEndUsingFakeS2AOnUDS (0.02s) === RUN TestNewTLSClientConfigFactoryWithTokenManager --- PASS: TestNewTLSClientConfigFactoryWithTokenManager (0.00s) === RUN TestNewTLSClientConfigFactoryWithoutTokenManager -2026/04/16 07:37:04 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2025/03/14 01:16:23 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled --- PASS: TestNewTLSClientConfigFactoryWithoutTokenManager (0.00s) === RUN TestHTTPEndToEndUsingFakeS2AOverTCP - s2a_e2e_test.go:739: fake handshaker for client running at address: [::]:44829 - s2a_e2e_test.go:743: HTTP server running at address: [::]:43293 - s2a_e2e_test.go:713: reqURL is set to: https://[::]:43293/hello -2026/04/16 07:37:04 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2026/04/16 07:37:04 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled + s2a_e2e_test.go:739: fake handshaker for client running at address: [::]:45189 + s2a_e2e_test.go:743: HTTP server running at address: [::]:39297 + s2a_e2e_test.go:713: reqURL is set to: https://[::]:39297/hello +2025/03/14 01:16:23 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2025/03/14 01:16:23 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled --- PASS: TestHTTPEndToEndUsingFakeS2AOverTCP (0.01s) === RUN TestHTTPEndToEndSUsingFakeMTLSS2AOverTCP - s2a_e2e_test.go:768: fake handshaker for client running at address: [::]:43885 - s2a_e2e_test.go:772: HTTP server running at address: [::]:33065 - s2a_e2e_test.go:713: reqURL is set to: https://[::]:33065/hello -2026/04/16 07:37:04 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled ---- PASS: TestHTTPEndToEndSUsingFakeMTLSS2AOverTCP (0.04s) + s2a_e2e_test.go:768: fake handshaker for client running at address: [::]:38231 + s2a_e2e_test.go:772: HTTP server running at address: [::]:41733 + s2a_e2e_test.go:713: reqURL is set to: https://[::]:41733/hello +2025/03/14 01:16:23 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +--- PASS: TestHTTPEndToEndSUsingFakeMTLSS2AOverTCP (0.03s) === RUN TestHTTPEndToEndSUsingFakeMTLSS2AOverTCP_SelfSignedClientTransportCreds - s2a_e2e_test.go:799: fake handshaker for client running at address: [::]:35027 - s2a_e2e_test.go:802: HTTP server running at address: [::]:46333 - s2a_e2e_test.go:805: fallback HTTP server running at address: [::]:41565 - s2a_e2e_test.go:713: reqURL is set to: https://[::]:46333/hello ---- PASS: TestHTTPEndToEndSUsingFakeMTLSS2AOverTCP_SelfSignedClientTransportCreds (1.72s) + s2a_e2e_test.go:799: fake handshaker for client running at address: [::]:44175 + s2a_e2e_test.go:802: HTTP server running at address: [::]:35083 + s2a_e2e_test.go:805: fallback HTTP server running at address: [::]:32851 + s2a_e2e_test.go:713: reqURL is set to: https://[::]:35083/hello +--- PASS: TestHTTPEndToEndSUsingFakeMTLSS2AOverTCP_SelfSignedClientTransportCreds (2.23s) === RUN TestHTTPFallbackEndToEndUsingFakeS2AOverTCP - s2a_e2e_test.go:844: HTTP server running at address: [::]:46277 - s2a_e2e_test.go:847: fallback HTTP server running at address: [::]:33947 - s2a_e2e_test.go:713: reqURL is set to: https://[::]:46277/hello ---- PASS: TestHTTPFallbackEndToEndUsingFakeS2AOverTCP (2.15s) + s2a_e2e_test.go:844: HTTP server running at address: [::]:42893 + s2a_e2e_test.go:847: fallback HTTP server running at address: [::]:33171 + s2a_e2e_test.go:713: reqURL is set to: https://[::]:42893/hello +--- PASS: TestHTTPFallbackEndToEndUsingFakeS2AOverTCP (0.83s) === RUN TestHTTPRetryAndFallbackEndToEndUsingFakeS2AOverTCP - s2a_e2e_test.go:886: fake handshaker for client running at address: [::]:37833 - s2a_e2e_test.go:889: HTTP server running at address: [::]:39459 - s2a_e2e_test.go:892: fallback HTTP server running at address: [::]:38523 - s2a_e2e_test.go:713: reqURL is set to: https://[::]:39459/hello -2026/04/16 07:37:08 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token -2026/04/16 07:37:08 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token -2026/04/16 07:37:08 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token -2026/04/16 07:37:09 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token -2026/04/16 07:37:09 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token -2026/04/16 07:37:09 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token ---- PASS: TestHTTPRetryAndFallbackEndToEndUsingFakeS2AOverTCP (0.94s) + s2a_e2e_test.go:886: fake handshaker for client running at address: [::]:38897 + s2a_e2e_test.go:889: HTTP server running at address: [::]:40813 + s2a_e2e_test.go:892: fallback HTTP server running at address: [::]:46189 + s2a_e2e_test.go:713: reqURL is set to: https://[::]:40813/hello +2025/03/14 01:16:26 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token +2025/03/14 01:16:26 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token +2025/03/14 01:16:26 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token +2025/03/14 01:16:26 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token +2025/03/14 01:16:27 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token +2025/03/14 01:16:27 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token +--- PASS: TestHTTPRetryAndFallbackEndToEndUsingFakeS2AOverTCP (1.42s) === RUN TestToProtoIdentity === RUN TestToProtoIdentity/spiffe_id:"test_spiffe_id" === RUN TestToProtoIdentity/hostname:"test_hostname" @@ -1042,13 +1078,13 @@ === RUN TestAuthInfoFromPeer --- PASS: TestAuthInfoFromPeer (0.00s) PASS -ok github.com/google/s2a-go 11.243s +ok github.com/google/s2a-go 9.833s === RUN TestDefaultFallbackClientHandshakeFunc --- PASS: TestDefaultFallbackClientHandshakeFunc (0.00s) === RUN TestDefaultFallbackDialerAndAddress --- PASS: TestDefaultFallbackDialerAndAddress (0.00s) PASS -ok github.com/google/s2a-go/fallback 0.017s +ok github.com/google/s2a-go/fallback 0.051s === RUN TestS2AAuthInfo === RUN TestS2AAuthInfo/basic_1 === RUN TestS2AAuthInfo/basic_2 @@ -1060,7 +1096,7 @@ --- PASS: TestS2AAuthInfo/nil_identities_and_fingerprints (0.00s) --- PASS: TestS2AAuthInfo/nil_session_result (0.00s) PASS -ok github.com/google/s2a-go/internal/authinfo 0.024s +ok github.com/google/s2a-go/internal/authinfo 0.092s === RUN TestSetupSession === RUN TestSetupSession/client_failure_no_app_protocols === RUN TestSetupSession/client_failure_non_initial_state @@ -1088,7 +1124,7 @@ --- PASS: TestAuthenticateRequest/request_contains_invalid_token (0.00s) --- PASS: TestAuthenticateRequest/request_contains_valid_and_invalid_tokens (0.00s) PASS -ok github.com/google/s2a-go/internal/fakehandshaker/service 0.020s +ok github.com/google/s2a-go/internal/fakehandshaker/service 0.078s === RUN TestNewClientHandshaker --- PASS: TestNewClientHandshaker (0.00s) === RUN TestNewServerHandshaker @@ -1110,11 +1146,11 @@ === RUN TestServerHandshakeSuccess/full_server_options_with_no_local_identities === RUN TestServerHandshakeSuccess/full_server_options,_sending_tokens === RUN TestServerHandshakeSuccess/full_server_options_with_no_local_identity,_sending_tokens ---- PASS: TestServerHandshakeSuccess (0.00s) +--- PASS: TestServerHandshakeSuccess (0.02s) --- PASS: TestServerHandshakeSuccess/full_server_options (0.00s) --- PASS: TestServerHandshakeSuccess/full_server_options_with_no_local_identities (0.00s) - --- PASS: TestServerHandshakeSuccess/full_server_options,_sending_tokens (0.00s) - --- PASS: TestServerHandshakeSuccess/full_server_options_with_no_local_identity,_sending_tokens (0.00s) + --- PASS: TestServerHandshakeSuccess/full_server_options,_sending_tokens (0.01s) + --- PASS: TestServerHandshakeSuccess/full_server_options_with_no_local_identity,_sending_tokens (0.01s) === RUN TestS2ARejectsTokenFromClient --- PASS: TestS2ARejectsTokenFromClient (0.00s) === RUN TestS2ARejectsTokenFromServer @@ -1150,11 +1186,11 @@ --- PASS: TestGetAuthMechanismsForServer/token_manager_expects_2_SPIFFE_IDs (0.00s) --- PASS: TestGetAuthMechanismsForServer/token_manager_expects_a_SPIFFE_ID_but_does_not_expect_hostname (0.00s) PASS -ok github.com/google/s2a-go/internal/handshaker 0.038s +ok github.com/google/s2a-go/internal/handshaker 0.098s === RUN TestDial ---- PASS: TestDial (0.00s) +--- PASS: TestDial (0.01s) PASS -ok github.com/google/s2a-go/internal/handshaker/service 0.041s +ok github.com/google/s2a-go/internal/handshaker/service 0.073s ? github.com/google/s2a-go/internal/proto/common_go_proto [no test files] ? github.com/google/s2a-go/internal/proto/examples/helloworld_go_proto [no test files] ? github.com/google/s2a-go/internal/proto/s2a_context_go_proto [no test files] @@ -1261,13 +1297,13 @@ === RUN TestConnReadApplicationData/AES-128-GCM-SHA256_split_randomly === RUN TestConnReadApplicationData/AES-256-GCM-SHA384_split_randomly === RUN TestConnReadApplicationData/CHACHA20-POLY1305-SHA256_split_randomly ---- PASS: TestConnReadApplicationData (0.00s) +--- PASS: TestConnReadApplicationData (0.04s) --- PASS: TestConnReadApplicationData/AES-128-GCM-SHA256_with_no_padding (0.00s) --- PASS: TestConnReadApplicationData/AES-128-GCM-SHA256_with_padding (0.00s) --- PASS: TestConnReadApplicationData/AES-128-GCM-SHA256_empty (0.00s) --- PASS: TestConnReadApplicationData/AES-256-GCM-SHA384_with_no_padding (0.00s) --- PASS: TestConnReadApplicationData/AES-256-GCM-SHA384_with_padding (0.00s) - --- PASS: TestConnReadApplicationData/AES-256-GCM-SHA384_empty (0.00s) + --- PASS: TestConnReadApplicationData/AES-256-GCM-SHA384_empty (0.01s) --- PASS: TestConnReadApplicationData/CHACHA20-POLY1305-SHA256_with_no_padding (0.00s) --- PASS: TestConnReadApplicationData/CHACHA20-POLY1305-SHA256_with_padding (0.00s) --- PASS: TestConnReadApplicationData/CHACHA20-POLY1305-SHA256_empty (0.00s) @@ -1299,7 +1335,7 @@ === RUN TestConnReadAlert/AES-128-GCM-SHA256_invalid === RUN TestConnReadAlert/AES-256-GCM-SHA384_invalid === RUN TestConnReadAlert/CHACHA20-POLY1305-SHA256_invalid ---- PASS: TestConnReadAlert (0.00s) +--- PASS: TestConnReadAlert (0.01s) --- PASS: TestConnReadAlert/AES-128-GCM-SHA256_with_no_padding (0.00s) --- PASS: TestConnReadAlert/AES-128-GCM-SHA256_with_padding (0.00s) --- PASS: TestConnReadAlert/AES-256-GCM-SHA384_with_no_padding (0.00s) @@ -1319,13 +1355,13 @@ === RUN TestConnReadKeyUpdate/AES-128-GCM-SHA256_send_key_update_request === RUN TestConnReadKeyUpdate/AES-256-GCM-SHA384_send_key_update_request === RUN TestConnReadKeyUpdate/CHACHA20-POLY1305-SHA256_send_key_update_request ---- PASS: TestConnReadKeyUpdate (0.00s) +--- PASS: TestConnReadKeyUpdate (0.02s) --- PASS: TestConnReadKeyUpdate/AES-128-GCM-SHA256 (0.00s) --- PASS: TestConnReadKeyUpdate/AES-256-GCM-SHA384 (0.00s) --- PASS: TestConnReadKeyUpdate/CHACHA20-POLY1305-SHA256 (0.00s) --- PASS: TestConnReadKeyUpdate/AES-128-GCM-SHA256_send_key_update_request (0.00s) --- PASS: TestConnReadKeyUpdate/AES-256-GCM-SHA384_send_key_update_request (0.00s) - --- PASS: TestConnReadKeyUpdate/CHACHA20-POLY1305-SHA256_send_key_update_request (0.00s) + --- PASS: TestConnReadKeyUpdate/CHACHA20-POLY1305-SHA256_send_key_update_request (0.01s) === RUN TestWrite === RUN TestWrite/AES-128-GCM-SHA256 === RUN TestWrite/AES-128-GCM-SHA256_empty @@ -1333,13 +1369,13 @@ === RUN TestWrite/AES-256-GCM-SHA384_empty === RUN TestWrite/CHACHA20-POLY1305-SHA256 === RUN TestWrite/CHACHA20-POLY1305-SHA256_empty ---- PASS: TestWrite (0.00s) +--- PASS: TestWrite (0.01s) --- PASS: TestWrite/AES-128-GCM-SHA256 (0.00s) --- PASS: TestWrite/AES-128-GCM-SHA256_empty (0.00s) --- PASS: TestWrite/AES-256-GCM-SHA384 (0.00s) --- PASS: TestWrite/AES-256-GCM-SHA384_empty (0.00s) --- PASS: TestWrite/CHACHA20-POLY1305-SHA256 (0.00s) - --- PASS: TestWrite/CHACHA20-POLY1305-SHA256_empty (0.00s) + --- PASS: TestWrite/CHACHA20-POLY1305-SHA256_empty (0.01s) === RUN TestWriteTwoRecords === RUN TestWriteTwoRecords/AES-128-GCM-SHA256 === RUN TestWriteTwoRecords/AES-256-GCM-SHA384 @@ -1352,10 +1388,10 @@ === RUN TestExceedBufferSize/AES-128-GCM-SHA256 === RUN TestExceedBufferSize/AES-256-GCM-SHA384 === RUN TestExceedBufferSize/CHACHA20-POLY1305-SHA256 ---- PASS: TestExceedBufferSize (0.00s) +--- PASS: TestExceedBufferSize (0.03s) --- PASS: TestExceedBufferSize/AES-128-GCM-SHA256 (0.00s) --- PASS: TestExceedBufferSize/AES-256-GCM-SHA384 (0.00s) - --- PASS: TestExceedBufferSize/CHACHA20-POLY1305-SHA256 (0.00s) + --- PASS: TestExceedBufferSize/CHACHA20-POLY1305-SHA256 (0.01s) === RUN TestRoundtrip === RUN TestRoundtrip/AES-128-GCM-SHA256 === RUN TestRoundtrip/AES-128-GCM-SHA256_different_traffic_secrets @@ -1372,22 +1408,22 @@ === RUN TestRoundtrip/CHACHA20-POLY1305-SHA256_empty === RUN TestRoundtrip/CHACHA20-POLY1305-SHA256_max_buffer_size === RUN TestRoundtrip/CHACHA20-POLY1305-SHA256_max_buffer_size#01 ---- PASS: TestRoundtrip (0.02s) +--- PASS: TestRoundtrip (0.11s) --- PASS: TestRoundtrip/AES-128-GCM-SHA256 (0.00s) - --- PASS: TestRoundtrip/AES-128-GCM-SHA256_different_traffic_secrets (0.00s) + --- PASS: TestRoundtrip/AES-128-GCM-SHA256_different_traffic_secrets (0.01s) --- PASS: TestRoundtrip/AES-128-GCM-SHA256_empty (0.00s) - --- PASS: TestRoundtrip/AES-128-GCM-SHA256_max_buffer_size (0.00s) + --- PASS: TestRoundtrip/AES-128-GCM-SHA256_max_buffer_size (0.01s) --- PASS: TestRoundtrip/AES-128-GCM-SHA256_exceed_buffer_size (0.00s) - --- PASS: TestRoundtrip/AES-256-GCM-SHA384 (0.00s) + --- PASS: TestRoundtrip/AES-256-GCM-SHA384 (0.01s) --- PASS: TestRoundtrip/AES-256-GCM-SHA384_different_traffic_secrets (0.00s) --- PASS: TestRoundtrip/AES-256-GCM-SHA384_empty (0.00s) - --- PASS: TestRoundtrip/AES-256-GCM-SHA384_max_buffer_size (0.00s) - --- PASS: TestRoundtrip/AES-256-GCM-SHA384_exceed_buffer_size (0.00s) + --- PASS: TestRoundtrip/AES-256-GCM-SHA384_max_buffer_size (0.02s) + --- PASS: TestRoundtrip/AES-256-GCM-SHA384_exceed_buffer_size (0.01s) --- PASS: TestRoundtrip/CHACHA20-POLY1305-SHA256 (0.00s) --- PASS: TestRoundtrip/CHACHA20-POLY1305-SHA256_different_traffic_secrets (0.00s) --- PASS: TestRoundtrip/CHACHA20-POLY1305-SHA256_empty (0.00s) - --- PASS: TestRoundtrip/CHACHA20-POLY1305-SHA256_max_buffer_size (0.00s) - --- PASS: TestRoundtrip/CHACHA20-POLY1305-SHA256_max_buffer_size#01 (0.00s) + --- PASS: TestRoundtrip/CHACHA20-POLY1305-SHA256_max_buffer_size (0.01s) + --- PASS: TestRoundtrip/CHACHA20-POLY1305-SHA256_max_buffer_size#01 (0.01s) === RUN TestWriteTicketsToStream --- PASS: TestWriteTicketsToStream (0.00s) === RUN TestGetAuthMechanism @@ -1396,14 +1432,14 @@ === RUN TestGetAuthMechanism/token_manager_does_not_expect_empty_identity === RUN TestGetAuthMechanism/token_manager_expects_SPIFFE_ID === RUN TestGetAuthMechanism/token_manager_does_not_expect_hostname ---- PASS: TestGetAuthMechanism (0.00s) +--- PASS: TestGetAuthMechanism (0.01s) --- PASS: TestGetAuthMechanism/token_manager_is_nil (0.00s) --- PASS: TestGetAuthMechanism/token_manager_expects_empty_identity (0.00s) --- PASS: TestGetAuthMechanism/token_manager_does_not_expect_empty_identity (0.00s) --- PASS: TestGetAuthMechanism/token_manager_expects_SPIFFE_ID (0.00s) --- PASS: TestGetAuthMechanism/token_manager_does_not_expect_hostname (0.00s) PASS -ok github.com/google/s2a-go/internal/record 0.055s +ok github.com/google/s2a-go/internal/record 0.349s === RUN TestAESGCMInvalidKeySize --- PASS: TestAESGCMInvalidKeySize (0.00s) === RUN TestAESGCMEncryptRoundtrip @@ -1970,7 +2006,7 @@ === RUN TestWycheProofTestVectorsChachaPoly/291/edge_case_intermediate_sums_in_poly1305._poly_key:dc46b3c53be153ccd4986678ffffffafe484c316c93f64195da65a2742fd3fec === RUN TestWycheProofTestVectorsChachaPoly/292/edge_case_intermediate_sums_in_poly1305._poly_key:dc46b3c53be153ccd4986678ffffffafe484c316c93f64195da65a2742fd3fec === RUN TestWycheProofTestVectorsChachaPoly/293/edge_case_intermediate_sums_in_poly1305._poly_key:dc46b3c53be153ccd4986678ffffffafe484c316c93f64195da65a2742fd3fec ---- PASS: TestWycheProofTestVectorsChachaPoly (0.02s) +--- PASS: TestWycheProofTestVectorsChachaPoly (0.03s) --- PASS: TestWycheProofTestVectorsChachaPoly/1/RFC_7539 (0.00s) --- PASS: TestWycheProofTestVectorsChachaPoly/2/ (0.00s) --- PASS: TestWycheProofTestVectorsChachaPoly/3/ (0.00s) @@ -1998,7 +2034,7 @@ --- PASS: TestWycheProofTestVectorsChachaPoly/25/ (0.00s) --- PASS: TestWycheProofTestVectorsChachaPoly/26/ (0.00s) --- PASS: TestWycheProofTestVectorsChachaPoly/27/ (0.00s) - --- PASS: TestWycheProofTestVectorsChachaPoly/28/ (0.01s) + --- PASS: TestWycheProofTestVectorsChachaPoly/28/ (0.00s) --- PASS: TestWycheProofTestVectorsChachaPoly/29/ (0.00s) --- PASS: TestWycheProofTestVectorsChachaPoly/30/ (0.00s) --- PASS: TestWycheProofTestVectorsChachaPoly/31/ (0.00s) @@ -2287,7 +2323,7 @@ === RUN TestDecrypt --- PASS: TestDecrypt (0.00s) PASS -ok github.com/google/s2a-go/internal/record/internal/aeadcrypter 0.028s +ok github.com/google/s2a-go/internal/record/internal/aeadcrypter 0.076s ? github.com/google/s2a-go/internal/record/internal/aeadcrypter/testutil [no test files] === RUN TestCiphersuites === RUN TestCiphersuites/AES_128_GCM_SHA256 @@ -2390,7 +2426,7 @@ --- PASS: TestS2AHalfConnectionTagSize/AES_256_GCM_SHA384 (0.00s) --- PASS: TestS2AHalfConnectionTagSize/CHACHA20_POLY1305_SHA256 (0.00s) PASS -ok github.com/google/s2a-go/internal/record/internal/halfconn 0.017s +ok github.com/google/s2a-go/internal/record/internal/halfconn 0.052s === RUN TestNewSingleTokenAccessTokenManagerFailure --- PASS: TestNewSingleTokenAccessTokenManagerFailure (0.00s) === RUN TestNewSingleTokenAccessTokenManagerDefaultTokenSuccess @@ -2398,39 +2434,39 @@ === RUN TestNewSingleTokenAccessTokenManagerTokenSuccess --- PASS: TestNewSingleTokenAccessTokenManagerTokenSuccess (0.00s) PASS -ok github.com/google/s2a-go/internal/tokenmanager 0.017s +ok github.com/google/s2a-go/internal/tokenmanager 0.037s === RUN TestEndToEndUsingFakeS2AOverTCP -2026/04/16 07:37:01 Fake S2A Service: failed to receive SessionReq: EOF -2026/04/16 07:37:01 Fake S2A Service: failed to receive SessionReq: EOF ---- PASS: TestEndToEndUsingFakeS2AOverTCP (0.03s) +2025/03/14 01:16:24 Fake S2A Service: failed to receive SessionReq: EOF +2025/03/14 01:16:24 Fake S2A Service: failed to receive SessionReq: EOF +--- PASS: TestEndToEndUsingFakeS2AOverTCP (0.05s) === RUN TestEndToEndUsingFakeS2AOverTCPEmptyId -2026/04/16 07:37:01 Fake S2A Service: failed to receive SessionReq: EOF -2026/04/16 07:37:01 Fake S2A Service: failed to receive SessionReq: EOF ---- PASS: TestEndToEndUsingFakeS2AOverTCPEmptyId (0.02s) +2025/03/14 01:16:24 Fake S2A Service: failed to receive SessionReq: EOF +2025/03/14 01:16:24 Fake S2A Service: failed to receive SessionReq: EOF +--- PASS: TestEndToEndUsingFakeS2AOverTCPEmptyId (0.03s) === RUN TestEndToEndUsingFakeS2AOnUDS -2026/04/16 07:37:01 Fake S2A Service: failed to receive SessionReq: EOF -2026/04/16 07:37:01 Fake S2A Service: failed to receive SessionReq: EOF ---- PASS: TestEndToEndUsingFakeS2AOnUDS (0.02s) +2025/03/14 01:16:24 Fake S2A Service: failed to receive SessionReq: EOF +2025/03/14 01:16:24 Fake S2A Service: failed to receive SessionReq: EOF +--- PASS: TestEndToEndUsingFakeS2AOnUDS (0.03s) === RUN TestEndToEndUsingFakeS2AOnUDSEmptyId -2026/04/16 07:37:01 Fake S2A Service: failed to receive SessionReq: EOF -2026/04/16 07:37:01 Fake S2A Service: failed to receive SessionReq: EOF ---- PASS: TestEndToEndUsingFakeS2AOnUDSEmptyId (0.01s) +2025/03/14 01:16:24 Fake S2A Service: failed to receive SessionReq: EOF +2025/03/14 01:16:24 Fake S2A Service: failed to receive SessionReq: EOF +--- PASS: TestEndToEndUsingFakeS2AOnUDSEmptyId (0.04s) === RUN TestGRPCFallbackEndToEndUsingFakeS2AOverTCP - s2av2_e2e_test.go:318: Fake handshaker for server running at address: [::]:42815 - s2av2_e2e_test.go:330: server running at address: [::]:36907 - s2av2_e2e_test.go:331: fallback server running at address: [::]:36503 -2026/04/16 07:37:03 Fake S2A Service: failed to receive SessionReq: EOF ---- PASS: TestGRPCFallbackEndToEndUsingFakeS2AOverTCP (2.12s) + s2av2_e2e_test.go:318: Fake handshaker for server running at address: [::]:40225 + s2av2_e2e_test.go:330: server running at address: [::]:45511 + s2av2_e2e_test.go:331: fallback server running at address: [::]:38985 +2025/03/14 01:16:26 Fake S2A Service: failed to receive SessionReq: EOF +--- PASS: TestGRPCFallbackEndToEndUsingFakeS2AOverTCP (2.14s) === RUN TestGRPCRetryAndFallbackEndToEndUsingFakeS2AOverTCP - s2av2_e2e_test.go:387: server running at address: [::]:39387 - s2av2_e2e_test.go:388: fallback server running at address: [::]:36783 -2026/04/16 07:37:03 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token -2026/04/16 07:37:05 Fake S2A Service: failed to receive SessionReq: EOF ---- PASS: TestGRPCRetryAndFallbackEndToEndUsingFakeS2AOverTCP (1.41s) + s2av2_e2e_test.go:387: server running at address: [::]:40817 + s2av2_e2e_test.go:388: fallback server running at address: [::]:42299 +2025/03/14 01:16:26 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token +2025/03/14 01:16:28 Fake S2A Service: failed to receive SessionReq: EOF +--- PASS: TestGRPCRetryAndFallbackEndToEndUsingFakeS2AOverTCP (1.28s) === RUN TestNewClientTlsConfigWithTokenManager --- PASS: TestNewClientTlsConfigWithTokenManager (0.00s) === RUN TestNewClientTlsConfigWithoutTokenManager -2026/04/16 07:37:05 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2025/03/14 01:16:28 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled --- PASS: TestNewClientTlsConfigWithoutTokenManager (0.00s) === RUN TestNewClientCreds === RUN TestNewClientCreds/static @@ -2447,7 +2483,6 @@ === RUN TestInfo --- PASS: TestInfo (0.00s) === RUN TestCloneClient -2026/04/16 07:37:05 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled --- PASS: TestCloneClient (0.00s) === RUN TestCloneServer --- PASS: TestCloneServer (0.00s) @@ -2468,182 +2503,182 @@ === RUN TestGetS2ATimeout --- PASS: TestGetS2ATimeout (0.00s) PASS -ok github.com/google/s2a-go/internal/v2 3.670s +ok github.com/google/s2a-go/internal/v2 3.688s === RUN TestVerifyClientCertChain -2026/04/16 07:37:01 Server: started gRPC fake S2Av2 Server on address: [::]:35485 +2025/03/14 01:16:24 Server: started gRPC fake S2Av2 Server on address: [::]:39833 === RUN TestVerifyClientCertChain/empty_chain -2026/04/16 07:37:01 Client: connected to: [::]:35485 -2026/04/16 07:37:01 Client: set up bidirectional streaming RPC session. +2025/03/14 01:16:24 Client: connected to: [::]:39833 +2025/03/14 01:16:24 Client: set up bidirectional streaming RPC session. === RUN TestVerifyClientCertChain/chain_of_length_1 -2026/04/16 07:37:01 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2026/04/16 07:37:01 Client: connected to: [::]:35485 -2026/04/16 07:37:01 Client: set up bidirectional streaming RPC session. +2025/03/14 01:16:24 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2025/03/14 01:16:24 Client: connected to: [::]:39833 +2025/03/14 01:16:24 Client: set up bidirectional streaming RPC session. === RUN TestVerifyClientCertChain/chain_of_length_2_correct -2026/04/16 07:37:01 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2026/04/16 07:37:01 Client: connected to: [::]:35485 -2026/04/16 07:37:01 Client: set up bidirectional streaming RPC session. -2026/04/16 07:37:01 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2025/03/14 01:16:24 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2025/03/14 01:16:24 Client: connected to: [::]:39833 +2025/03/14 01:16:24 Client: set up bidirectional streaming RPC session. === RUN TestVerifyClientCertChain/chain_of_length_2_error:_missing_intermediate -2026/04/16 07:37:01 Client: connected to: [::]:35485 -2026/04/16 07:37:01 Client: set up bidirectional streaming RPC session. -2026/04/16 07:37:01 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2025/03/14 01:16:24 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2025/03/14 01:16:24 Client: connected to: [::]:39833 +2025/03/14 01:16:24 Client: set up bidirectional streaming RPC session. +2025/03/14 01:16:24 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled --- PASS: TestVerifyClientCertChain (0.01s) - --- PASS: TestVerifyClientCertChain/empty_chain (0.00s) + --- PASS: TestVerifyClientCertChain/empty_chain (0.01s) --- PASS: TestVerifyClientCertChain/chain_of_length_1 (0.00s) --- PASS: TestVerifyClientCertChain/chain_of_length_2_correct (0.00s) --- PASS: TestVerifyClientCertChain/chain_of_length_2_error:_missing_intermediate (0.00s) === RUN TestVerifyServerCertChainWithServerAuthorizationPolicy -2026/04/16 07:37:01 Server: started gRPC fake S2Av2 Server on address: [::]:34579 +2025/03/14 01:16:24 Server: started gRPC fake S2Av2 Server on address: [::]:37701 === RUN TestVerifyServerCertChainWithServerAuthorizationPolicy/empty_chain -2026/04/16 07:37:01 Client: connected to: [::]:34579 -2026/04/16 07:37:01 Client: set up bidirectional streaming RPC session. +2025/03/14 01:16:24 Client: connected to: [::]:37701 +2025/03/14 01:16:24 Client: set up bidirectional streaming RPC session. === RUN TestVerifyServerCertChainWithServerAuthorizationPolicy/invalid_server_authorization_policy -2026/04/16 07:37:01 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2026/04/16 07:37:01 Client: connected to: [::]:34579 -2026/04/16 07:37:01 Client: set up bidirectional streaming RPC session. -2026/04/16 07:37:01 Fake S2A Service: failed to build SessionResp with ValidatePeerCertificateChainResp: server peer verification failed: invalid server authorization policy, expected: fake server authorization policy, got: +2025/03/14 01:16:24 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2025/03/14 01:16:24 Client: connected to: [::]:37701 +2025/03/14 01:16:24 Client: set up bidirectional streaming RPC session. +2025/03/14 01:16:24 Fake S2A Service: failed to build SessionResp with ValidatePeerCertificateChainResp: server peer verification failed: invalid server authorization policy, expected: fake server authorization policy, got: === RUN TestVerifyServerCertChainWithServerAuthorizationPolicy/chain_of_length_1 -2026/04/16 07:37:01 Client: connected to: [::]:34579 -2026/04/16 07:37:01 Client: set up bidirectional streaming RPC session. +2025/03/14 01:16:24 Client: connected to: [::]:37701 +2025/03/14 01:16:24 Client: set up bidirectional streaming RPC session. === RUN TestVerifyServerCertChainWithServerAuthorizationPolicy/chain_of_length_2_correct -2026/04/16 07:37:01 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2026/04/16 07:37:01 Client: connected to: [::]:34579 -2026/04/16 07:37:01 Client: set up bidirectional streaming RPC session. -2026/04/16 07:37:01 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2025/03/14 01:16:24 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2025/03/14 01:16:24 Client: connected to: [::]:37701 +2025/03/14 01:16:24 Client: set up bidirectional streaming RPC session. +2025/03/14 01:16:24 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled --- PASS: TestVerifyServerCertChainWithServerAuthorizationPolicy (0.01s) --- PASS: TestVerifyServerCertChainWithServerAuthorizationPolicy/empty_chain (0.00s) --- PASS: TestVerifyServerCertChainWithServerAuthorizationPolicy/invalid_server_authorization_policy (0.00s) --- PASS: TestVerifyServerCertChainWithServerAuthorizationPolicy/chain_of_length_1 (0.00s) --- PASS: TestVerifyServerCertChainWithServerAuthorizationPolicy/chain_of_length_2_correct (0.00s) === RUN TestVerifyServerCertChainWithoutServerAuthorizationPolicy -2026/04/16 07:37:01 Server: started gRPC fake S2Av2 Server on address: [::]:44331 +2025/03/14 01:16:24 Server: started gRPC fake S2Av2 Server on address: [::]:41231 === RUN TestVerifyServerCertChainWithoutServerAuthorizationPolicy/empty_chain -2026/04/16 07:37:01 Client: connected to: [::]:44331 -2026/04/16 07:37:01 Client: set up bidirectional streaming RPC session. +2025/03/14 01:16:24 Client: connected to: [::]:41231 +2025/03/14 01:16:24 Client: set up bidirectional streaming RPC session. +2025/03/14 01:16:24 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled === RUN TestVerifyServerCertChainWithoutServerAuthorizationPolicy/chain_of_length_1 -2026/04/16 07:37:01 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2026/04/16 07:37:01 Client: connected to: [::]:44331 -2026/04/16 07:37:01 Client: set up bidirectional streaming RPC session. +2025/03/14 01:16:24 Client: connected to: [::]:41231 +2025/03/14 01:16:24 Client: set up bidirectional streaming RPC session. === RUN TestVerifyServerCertChainWithoutServerAuthorizationPolicy/chain_of_length_2_correct -2026/04/16 07:37:01 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2026/04/16 07:37:01 Client: connected to: [::]:44331 -2026/04/16 07:37:01 Client: set up bidirectional streaming RPC session. -2026/04/16 07:37:01 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled ---- PASS: TestVerifyServerCertChainWithoutServerAuthorizationPolicy (0.00s) - --- PASS: TestVerifyServerCertChainWithoutServerAuthorizationPolicy/empty_chain (0.00s) - --- PASS: TestVerifyServerCertChainWithoutServerAuthorizationPolicy/chain_of_length_1 (0.00s) +2025/03/14 01:16:24 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2025/03/14 01:16:24 Client: connected to: [::]:41231 +2025/03/14 01:16:24 Client: set up bidirectional streaming RPC session. +2025/03/14 01:16:24 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +--- PASS: TestVerifyServerCertChainWithoutServerAuthorizationPolicy (0.03s) + --- PASS: TestVerifyServerCertChainWithoutServerAuthorizationPolicy/empty_chain (0.02s) + --- PASS: TestVerifyServerCertChainWithoutServerAuthorizationPolicy/chain_of_length_1 (0.01s) --- PASS: TestVerifyServerCertChainWithoutServerAuthorizationPolicy/chain_of_length_2_correct (0.00s) PASS -ok github.com/google/s2a-go/internal/v2/certverifier 0.079s +ok github.com/google/s2a-go/internal/v2/certverifier 0.166s === RUN TestSetUpSession -2026/04/16 07:37:01 Server: started gRPC Fake S2Av2 Server on address: [::]:43557 +2025/03/14 01:16:24 Server: started gRPC Fake S2Av2 Server on address: [::]:45493 === RUN TestSetUpSession/Get_TLS_config_for_client. -2026/04/16 07:37:01 Client: connected to: [::]:43557 -2026/04/16 07:37:01 Client: set up bidirectional streaming RPC session. -2026/04/16 07:37:01 Client: sent SessionReq -2026/04/16 07:37:01 Client: received SessionResp -2026/04/16 07:37:01 resp matches tc.expectedResponse +2025/03/14 01:16:24 Client: connected to: [::]:45493 +2025/03/14 01:16:24 Client: set up bidirectional streaming RPC session. +2025/03/14 01:16:24 Client: sent SessionReq +2025/03/14 01:16:24 Client: received SessionResp +2025/03/14 01:16:24 resp matches tc.expectedResponse === RUN TestSetUpSession/Get_TLS_config_for_server. -2026/04/16 07:37:01 Client: connected to: [::]:43557 -2026/04/16 07:37:01 Client: set up bidirectional streaming RPC session. -2026/04/16 07:37:01 Client: sent SessionReq -2026/04/16 07:37:01 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2026/04/16 07:37:01 Client: received SessionResp -2026/04/16 07:37:01 resp matches tc.expectedResponse +2025/03/14 01:16:24 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2025/03/14 01:16:24 Client: connected to: [::]:45493 +2025/03/14 01:16:24 Client: set up bidirectional streaming RPC session. +2025/03/14 01:16:24 Client: sent SessionReq +2025/03/14 01:16:24 Client: received SessionResp +2025/03/14 01:16:24 resp matches tc.expectedResponse === RUN TestSetUpSession/Get_TLS_config_error_--_invalid_connection_side -2026/04/16 07:37:01 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2026/04/16 07:37:01 Client: connected to: [::]:43557 -2026/04/16 07:37:01 Client: set up bidirectional streaming RPC session. -2026/04/16 07:37:01 Client: sent SessionReq -2026/04/16 07:37:01 Client: received SessionResp -2026/04/16 07:37:01 resp matches tc.expectedResponse +2025/03/14 01:16:24 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2025/03/14 01:16:24 Client: connected to: [::]:45493 +2025/03/14 01:16:24 Client: set up bidirectional streaming RPC session. +2025/03/14 01:16:24 Client: sent SessionReq +2025/03/14 01:16:24 Client: received SessionResp +2025/03/14 01:16:24 resp matches tc.expectedResponse === RUN TestSetUpSession/Get_TLS_config_error_--_invalid_token -2026/04/16 07:37:01 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2026/04/16 07:37:01 Client: connected to: [::]:43557 -2026/04/16 07:37:01 Client: set up bidirectional streaming RPC session. -2026/04/16 07:37:01 Client: sent SessionReq -2026/04/16 07:37:01 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token -2026/04/16 07:37:01 Client: received SessionResp -2026/04/16 07:37:01 resp matches tc.expectedResponse +2025/03/14 01:16:24 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2025/03/14 01:16:24 Client: connected to: [::]:45493 +2025/03/14 01:16:24 Client: set up bidirectional streaming RPC session. +2025/03/14 01:16:24 Client: sent SessionReq +2025/03/14 01:16:24 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token +2025/03/14 01:16:24 Client: received SessionResp +2025/03/14 01:16:24 resp matches tc.expectedResponse === RUN TestSetUpSession/Get_server_TLS_config_--_empty_authmechanisms_(S2A_ACCESS_TOKEN_env_var_not_set) -2026/04/16 07:37:01 Client: connected to: [::]:43557 -2026/04/16 07:37:01 Client: set up bidirectional streaming RPC session. -2026/04/16 07:37:01 Client: sent SessionReq -2026/04/16 07:37:01 Client: received SessionResp -2026/04/16 07:37:01 resp matches tc.expectedResponse +2025/03/14 01:16:24 Client: connected to: [::]:45493 +2025/03/14 01:16:24 Client: set up bidirectional streaming RPC session. +2025/03/14 01:16:24 Client: sent SessionReq +2025/03/14 01:16:24 Client: received SessionResp +2025/03/14 01:16:24 resp matches tc.expectedResponse === RUN TestSetUpSession/Client_Peer_Verification -2026/04/16 07:37:01 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2026/04/16 07:37:01 Client: connected to: [::]:43557 -2026/04/16 07:37:01 Client: set up bidirectional streaming RPC session. -2026/04/16 07:37:01 Client: sent SessionReq -2026/04/16 07:37:01 Client: received SessionResp -2026/04/16 07:37:01 resp matches tc.expectedResponse -2026/04/16 07:37:01 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2025/03/14 01:16:24 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2025/03/14 01:16:24 Client: connected to: [::]:45493 +2025/03/14 01:16:24 Client: set up bidirectional streaming RPC session. +2025/03/14 01:16:24 Client: sent SessionReq +2025/03/14 01:16:24 Client: received SessionResp +2025/03/14 01:16:24 resp matches tc.expectedResponse === RUN TestSetUpSession/Client_Peer_Verification_--_failure -2026/04/16 07:37:01 Client: connected to: [::]:43557 -2026/04/16 07:37:01 Client: set up bidirectional streaming RPC session. -2026/04/16 07:37:01 Client: sent SessionReq -2026/04/16 07:37:01 Client: received SessionResp -2026/04/16 07:37:01 resp matches tc.expectedResponse -2026/04/16 07:37:01 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2025/03/14 01:16:24 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2025/03/14 01:16:24 Client: connected to: [::]:45493 +2025/03/14 01:16:24 Client: set up bidirectional streaming RPC session. +2025/03/14 01:16:24 Client: sent SessionReq +2025/03/14 01:16:24 Client: received SessionResp +2025/03/14 01:16:24 resp matches tc.expectedResponse === RUN TestSetUpSession/Server_Peer_Verification -2026/04/16 07:37:01 Client: connected to: [::]:43557 -2026/04/16 07:37:01 Client: set up bidirectional streaming RPC session. -2026/04/16 07:37:01 Client: sent SessionReq -2026/04/16 07:37:01 Client: received SessionResp -2026/04/16 07:37:01 resp matches tc.expectedResponse -2026/04/16 07:37:01 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled ---- PASS: TestSetUpSession (0.03s) - --- PASS: TestSetUpSession/Get_TLS_config_for_client. (0.01s) - --- PASS: TestSetUpSession/Get_TLS_config_for_server. (0.01s) +2025/03/14 01:16:24 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2025/03/14 01:16:24 Client: connected to: [::]:45493 +2025/03/14 01:16:24 Client: set up bidirectional streaming RPC session. +2025/03/14 01:16:24 Client: sent SessionReq +2025/03/14 01:16:24 Client: received SessionResp +2025/03/14 01:16:24 resp matches tc.expectedResponse +2025/03/14 01:16:24 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +--- PASS: TestSetUpSession (0.05s) + --- PASS: TestSetUpSession/Get_TLS_config_for_client. (0.00s) + --- PASS: TestSetUpSession/Get_TLS_config_for_server. (0.00s) --- PASS: TestSetUpSession/Get_TLS_config_error_--_invalid_connection_side (0.00s) --- PASS: TestSetUpSession/Get_TLS_config_error_--_invalid_token (0.00s) --- PASS: TestSetUpSession/Get_server_TLS_config_--_empty_authmechanisms_(S2A_ACCESS_TOKEN_env_var_not_set) (0.00s) - --- PASS: TestSetUpSession/Client_Peer_Verification (0.00s) - --- PASS: TestSetUpSession/Client_Peer_Verification_--_failure (0.00s) + --- PASS: TestSetUpSession/Client_Peer_Verification (0.02s) + --- PASS: TestSetUpSession/Client_Peer_Verification_--_failure (0.01s) --- PASS: TestSetUpSession/Server_Peer_Verification (0.00s) === RUN TestSetUpSessionPrivateKeyOperation -2026/04/16 07:37:01 Server: started gRPC Fake S2Av2 Server on address: [::]:36921 +2025/03/14 01:16:24 Server: started gRPC Fake S2Av2 Server on address: [::]:42331 === RUN TestSetUpSessionPrivateKeyOperation/client_side_private_key_operation -2026/04/16 07:37:01 Client: connected to: [::]:36921 -2026/04/16 07:37:01 Client: set up bidirectional streaming RPC session. -2026/04/16 07:37:01 Client: sent SessionReq -2026/04/16 07:37:01 Client: received SessionResp -2026/04/16 07:37:01 resp matches tc.expectedResponse +2025/03/14 01:16:24 Client: connected to: [::]:42331 +2025/03/14 01:16:24 Client: set up bidirectional streaming RPC session. +2025/03/14 01:16:24 Client: sent SessionReq +2025/03/14 01:16:24 Client: received SessionResp +2025/03/14 01:16:24 resp matches tc.expectedResponse === RUN TestSetUpSessionPrivateKeyOperation/server_side_private_key_operation -2026/04/16 07:37:01 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2026/04/16 07:37:01 Client: connected to: [::]:36921 -2026/04/16 07:37:01 Client: set up bidirectional streaming RPC session. -2026/04/16 07:37:01 Client: sent SessionReq -2026/04/16 07:37:01 Client: received SessionResp -2026/04/16 07:37:01 resp matches tc.expectedResponse -2026/04/16 07:37:01 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2025/03/14 01:16:24 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2025/03/14 01:16:24 Client: connected to: [::]:42331 +2025/03/14 01:16:24 Client: set up bidirectional streaming RPC session. +2025/03/14 01:16:24 Client: sent SessionReq +2025/03/14 01:16:24 Client: received SessionResp +2025/03/14 01:16:24 resp matches tc.expectedResponse === RUN TestSetUpSessionPrivateKeyOperation/client_side_private_key_operation_--_invalid_signature_algorithm -2026/04/16 07:37:01 Client: connected to: [::]:36921 -2026/04/16 07:37:01 Client: set up bidirectional streaming RPC session. -2026/04/16 07:37:01 Client: sent SessionReq -2026/04/16 07:37:01 Client: received SessionResp -2026/04/16 07:37:01 resp matches tc.expectedResponse -2026/04/16 07:37:01 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled ---- PASS: TestSetUpSessionPrivateKeyOperation (0.02s) +2025/03/14 01:16:24 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2025/03/14 01:16:24 Client: connected to: [::]:42331 +2025/03/14 01:16:24 Client: set up bidirectional streaming RPC session. +2025/03/14 01:16:24 Client: sent SessionReq +2025/03/14 01:16:24 Client: received SessionResp +2025/03/14 01:16:24 resp matches tc.expectedResponse +2025/03/14 01:16:24 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +--- PASS: TestSetUpSessionPrivateKeyOperation (0.03s) --- PASS: TestSetUpSessionPrivateKeyOperation/client_side_private_key_operation (0.01s) --- PASS: TestSetUpSessionPrivateKeyOperation/server_side_private_key_operation (0.01s) --- PASS: TestSetUpSessionPrivateKeyOperation/client_side_private_key_operation_--_invalid_signature_algorithm (0.00s) PASS -ok github.com/google/s2a-go/internal/v2/fakes2av2 0.105s +ok github.com/google/s2a-go/internal/v2/fakes2av2 0.136s === RUN TestSign -2026/04/16 07:37:01 Server: started gRPC fake S2Av2 Server on address: [::]:36793 +2025/03/14 01:16:24 Server: started gRPC fake S2Av2 Server on address: [::]:36313 === RUN TestSign/Sign_with_client_key -2026/04/16 07:37:01 Client: connected to: [::]:36793 -2026/04/16 07:37:01 Client: set up bidirectional streaming RPC session. -2026/04/16 07:37:01 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2025/03/14 01:16:24 Client: connected to: [::]:36313 +2025/03/14 01:16:24 Client: set up bidirectional streaming RPC session. === RUN TestSign/Sign_with_server_key -2026/04/16 07:37:01 Client: connected to: [::]:36793 -2026/04/16 07:37:01 Client: set up bidirectional streaming RPC session. -2026/04/16 07:37:01 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled ---- PASS: TestSign (0.04s) +2025/03/14 01:16:24 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2025/03/14 01:16:24 Client: connected to: [::]:36313 +2025/03/14 01:16:24 Client: set up bidirectional streaming RPC session. +2025/03/14 01:16:24 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +--- PASS: TestSign (0.05s) --- PASS: TestSign/Sign_with_client_key (0.02s) - --- PASS: TestSign/Sign_with_server_key (0.01s) + --- PASS: TestSign/Sign_with_server_key (0.02s) === RUN TestNew --- PASS: TestNew (0.00s) === RUN TestGetSignatureAlgorithm @@ -2709,38 +2744,38 @@ --- PASS: TestGetSignReq/ECDSA_SHA512 (0.00s) --- PASS: TestGetSignReq/ED25519 (0.00s) PASS -ok github.com/google/s2a-go/internal/v2/remotesigner 0.095s +ok github.com/google/s2a-go/internal/v2/remotesigner 0.148s === RUN TestTLSConfigStoreClient -2026/04/16 07:37:01 Server: started gRPC fake S2Av2 Server on address: [::]:34391 +2025/03/14 01:16:24 Server: started gRPC fake S2Av2 Server on address: [::]:42109 === RUN TestTLSConfigStoreClient/static_-_nil_tokenManager -2026/04/16 07:37:01 Client: connected to: [::]:34391 -2026/04/16 07:37:01 Client: set up bidirectional streaming RPC session. +2025/03/14 01:16:24 Client: connected to: [::]:42109 +2025/03/14 01:16:24 Client: set up bidirectional streaming RPC session. === RUN TestTLSConfigStoreClient/static_-_non-nil_tokenManager -2026/04/16 07:37:01 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2026/04/16 07:37:01 Client: connected to: [::]:34391 -2026/04/16 07:37:01 Client: set up bidirectional streaming RPC session. -2026/04/16 07:37:01 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2025/03/14 01:16:24 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2025/03/14 01:16:24 Client: connected to: [::]:42109 +2025/03/14 01:16:24 Client: set up bidirectional streaming RPC session. +2025/03/14 01:16:24 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled --- PASS: TestTLSConfigStoreClient (0.01s) - --- PASS: TestTLSConfigStoreClient/static_-_nil_tokenManager (0.00s) + --- PASS: TestTLSConfigStoreClient/static_-_nil_tokenManager (0.01s) --- PASS: TestTLSConfigStoreClient/static_-_non-nil_tokenManager (0.00s) === RUN TestTLSConfigStoreClientWithoutCredentials -2026/04/16 07:37:01 Server: started gRPC fake S2Av2 Server on address: [::]:33773 -2026/04/16 07:37:01 Client: connected to: [::]:33773 -2026/04/16 07:37:01 Client: set up bidirectional streaming RPC session. -2026/04/16 07:37:01 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2025/03/14 01:16:24 Server: started gRPC fake S2Av2 Server on address: [::]:46805 +2025/03/14 01:16:24 Client: connected to: [::]:46805 +2025/03/14 01:16:24 Client: set up bidirectional streaming RPC session. +2025/03/14 01:16:24 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled --- PASS: TestTLSConfigStoreClientWithoutCredentials (0.00s) === RUN TestTLSConfigStoreServer -2026/04/16 07:37:01 Server: started gRPC fake S2Av2 Server on address: [::]:35327 +2025/03/14 01:16:24 Server: started gRPC fake S2Av2 Server on address: [::]:33039 === RUN TestTLSConfigStoreServer/static_-_nil_tokenManager -2026/04/16 07:37:01 Client: connected to: [::]:35327 -2026/04/16 07:37:01 Client: set up bidirectional streaming RPC session. +2025/03/14 01:16:24 Client: connected to: [::]:33039 +2025/03/14 01:16:24 Client: set up bidirectional streaming RPC session. === RUN TestTLSConfigStoreServer/static_-_non-nil_tokenManager -2026/04/16 07:37:01 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2026/04/16 07:37:01 Client: connected to: [::]:35327 -2026/04/16 07:37:01 Client: set up bidirectional streaming RPC session. -2026/04/16 07:37:01 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled ---- PASS: TestTLSConfigStoreServer (0.00s) - --- PASS: TestTLSConfigStoreServer/static_-_nil_tokenManager (0.00s) +2025/03/14 01:16:24 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2025/03/14 01:16:24 Client: connected to: [::]:33039 +2025/03/14 01:16:24 Client: set up bidirectional streaming RPC session. +2025/03/14 01:16:24 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +--- PASS: TestTLSConfigStoreServer (0.01s) + --- PASS: TestTLSConfigStoreServer/static_-_nil_tokenManager (0.01s) --- PASS: TestTLSConfigStoreServer/static_-_non-nil_tokenManager (0.00s) === RUN TestGetTLSMinMaxVersionsClient --- PASS: TestGetTLSMinMaxVersionsClient (0.00s) @@ -2755,29 +2790,29 @@ --- PASS: TestGetAuthMechanisms/fake_token_manager_allows_empty_identity (0.00s) --- PASS: TestGetAuthMechanisms/fake_token_manager_does_not_allow_empty_identity (0.00s) === RUN TestGetServerConfigFromS2Av2 -2026/04/16 07:37:01 Server: started gRPC fake S2Av2 Server on address: [::]:40633 +2025/03/14 01:16:24 Server: started gRPC fake S2Av2 Server on address: [::]:43485 === RUN TestGetServerConfigFromS2Av2/empty_accessToken_and_empty_localIdentities -2026/04/16 07:37:01 Client: connected to: [::]:40633 -2026/04/16 07:37:01 Client: set up bidirectional streaming RPC session. -2026/04/16 07:37:01 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token +2025/03/14 01:16:24 Client: connected to: [::]:43485 +2025/03/14 01:16:24 Client: set up bidirectional streaming RPC session. +2025/03/14 01:16:24 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token === RUN TestGetServerConfigFromS2Av2/invalid_accessToken -2026/04/16 07:37:01 Client: connected to: [::]:40633 -2026/04/16 07:37:01 Client: set up bidirectional streaming RPC session. -2026/04/16 07:37:01 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token +2025/03/14 01:16:24 Client: connected to: [::]:43485 +2025/03/14 01:16:24 Client: set up bidirectional streaming RPC session. +2025/03/14 01:16:24 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token === RUN TestGetServerConfigFromS2Av2/correct_accessToken_and_non_-_empty_localIdentities -2026/04/16 07:37:01 Client: connected to: [::]:40633 -2026/04/16 07:37:01 Client: set up bidirectional streaming RPC session. -2026/04/16 07:37:01 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2025/03/14 01:16:24 Client: connected to: [::]:43485 +2025/03/14 01:16:24 Client: set up bidirectional streaming RPC session. +2025/03/14 01:16:24 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled --- PASS: TestGetServerConfigFromS2Av2 (0.01s) - --- PASS: TestGetServerConfigFromS2Av2/empty_accessToken_and_empty_localIdentities (0.00s) + --- PASS: TestGetServerConfigFromS2Av2/empty_accessToken_and_empty_localIdentities (0.01s) --- PASS: TestGetServerConfigFromS2Av2/invalid_accessToken (0.00s) --- PASS: TestGetServerConfigFromS2Av2/correct_accessToken_and_non_-_empty_localIdentities (0.00s) === RUN TestGetClientConfig -2026/04/16 07:37:01 Server: started gRPC fake S2Av2 Server on address: [::]:45889 +2025/03/14 01:16:24 Server: started gRPC fake S2Av2 Server on address: [::]:44733 === RUN TestGetClientConfig/static -2026/04/16 07:37:01 Client: connected to: [::]:45889 -2026/04/16 07:37:01 Client: set up bidirectional streaming RPC session. -2026/04/16 07:37:01 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2025/03/14 01:16:24 Client: connected to: [::]:44733 +2025/03/14 01:16:24 Client: set up bidirectional streaming RPC session. +2025/03/14 01:16:24 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled --- PASS: TestGetClientConfig (0.00s) --- PASS: TestGetClientConfig/static (0.00s) === RUN TestGetTLSClientAuthType @@ -2823,7 +2858,7 @@ --- PASS: TestGetCipherSuites/unspecified_array_of_size_1 (0.00s) --- PASS: TestGetCipherSuites/unspecified_array_of_size_2 (0.00s) PASS -ok github.com/google/s2a-go/internal/v2/tlsconfigstore 0.077s +ok github.com/google/s2a-go/internal/v2/tlsconfigstore 0.125s === RUN TestS2ARetryer === RUN TestS2ARetryer/retry_on_err === RUN TestS2ARetryer/don't_retry_if_err_is_nil @@ -2835,9 +2870,9 @@ === RUN TestDefaultBackoff --- PASS: TestDefaultBackoff (0.00s) === RUN TestSuccessAfterRetry ---- PASS: TestSuccessAfterRetry (0.08s) +--- PASS: TestSuccessAfterRetry (0.06s) PASS -ok github.com/google/s2a-go/retry 0.086s +ok github.com/google/s2a-go/retry 0.095s ? github.com/google/s2a-go/stream [no test files] create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang @@ -2867,12 +2902,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/415993/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/415993/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/3273483 and its subdirectories -I: Current time: Wed Apr 15 19:37:15 -12 2026 -I: pbuilder-time-stamp: 1776325035 +I: removing directory /srv/workspace/pbuilder/415993 and its subdirectories +I: Current time: Fri Mar 14 15:16:40 +14 2025 +I: pbuilder-time-stamp: 1741915000