Diff of the two buildlogs: -- --- b1/build.log 2024-12-14 09:42:35.821659527 +0000 +++ b2/build.log 2024-12-14 09:46:21.471423506 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Dec 13 21:35:55 -12 2024 -I: pbuilder-time-stamp: 1734168955 +I: Current time: Sat Jan 17 06:05:37 +14 2026 +I: pbuilder-time-stamp: 1768579537 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -28,52 +28,84 @@ dpkg-source: info: applying 0002-use-plugins-from-packages.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/746657/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2178150/tmp/hooks/D01_modify_environment starting +debug: Running on ionos15-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jan 16 16:05 /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/2178150/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2178150/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='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='amd64' + 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]="x86_64-pc-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=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='b71976219bfc46888134ed525f2fa297' - 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='746657' - PS1='# ' - PS2='> ' + INVOCATION_ID=b7d727acb1244bc4a17ea744ee08d15b + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-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=2178150 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.P8xH2TJN/pbuilderrc_gi4r --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.P8xH2TJN/b1 --logfile b1/build.log golang-github-google-s2a-go_0.1.8-1.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132: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.P8xH2TJN/pbuilderrc_CP6r --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.P8xH2TJN/b2 --logfile b2/build.log golang-github-google-s2a-go_0.1.8-1.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos1-amd64 6.1.0-28-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.11.5+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.11.5-1~bpo12+1 (2024-11-11) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/746657/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2178150/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -211,7 +243,7 @@ Get: 80 http://deb.debian.org/debian unstable/main amd64 protobuf-compiler amd64 3.21.12-10+b1 [84.8 kB] Get: 81 http://deb.debian.org/debian unstable/main amd64 protoc-gen-go amd64 1.33.0-1 [1427 kB] Get: 82 http://deb.debian.org/debian unstable/main amd64 protoc-gen-go-grpc amd64 1.64.0-6+b1 [1385 kB] -Fetched 96.8 MB in 5s (18.2 MB/s) +Fetched 96.8 MB in 11s (8740 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19965 files and directories currently installed.) @@ -554,7 +586,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/2178150/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/2178150/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 @@ -575,213 +611,213 @@ make[1]: Entering directory '/build/reproducible-path/golang-github-google-s2a-go-0.1.8' /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 20 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/coverage/rtcov -internal/goarch + cd _build && go install -trimpath -v -p 42 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/unsafeheader +golang.org/x/crypto/internal/alias +internal/itoa +google.golang.org/protobuf/internal/flags +google.golang.org/grpc/serviceconfig +vendor/golang.org/x/crypto/cryptobyte/asn1 +internal/race +golang.org/x/crypto/cryptobyte/asn1 +internal/asan internal/msan +internal/profilerecord +vendor/golang.org/x/crypto/internal/alias +internal/cpu internal/byteorder -unicode/utf8 -unicode container/list -internal/race -math/bits -internal/unsafeheader +internal/runtime/atomic +unicode/utf16 +internal/nettrace +crypto/subtle +internal/runtime/syscall +crypto/internal/alias +crypto/internal/boring/sig internal/goos +internal/goarch internal/godebugs -internal/asan -internal/profilerecord -internal/itoa +internal/coverage/rtcov sync/atomic -internal/cpu -internal/runtime/syscall +log/internal +encoding internal/goexperiment -internal/runtime/atomic -internal/abi +cmp +unicode +unicode/utf8 +math/bits runtime/internal/math +internal/abi runtime/internal/sys -crypto/internal/alias -crypto/subtle internal/chacha8rand -crypto/internal/boring/sig -cmp -unicode/utf16 -vendor/golang.org/x/crypto/cryptobyte/asn1 -vendor/golang.org/x/crypto/internal/alias -internal/nettrace -encoding -log/internal -google.golang.org/protobuf/internal/flags google.golang.org/protobuf/internal/set -google.golang.org/grpc/serviceconfig -golang.org/x/crypto/internal/alias -golang.org/x/crypto/cryptobyte/asn1 -internal/bytealg internal/runtime/exithook +internal/bytealg math internal/stringslite runtime +internal/weak +iter internal/reflectlite sync -iter -internal/weak -slices maps -internal/bisect -internal/testlog +slices internal/singleflight +internal/testlog +internal/bisect google.golang.org/protobuf/internal/pragma runtime/cgo errors sort internal/godebug +google.golang.org/grpc/internal/buffer internal/oserror path +io +crypto/internal/edwards25519/field vendor/golang.org/x/net/dns/dnsmessage +math/rand strconv math/rand/v2 -math/rand -crypto/internal/edwards25519/field -io -google.golang.org/grpc/internal/buffer crypto/internal/nistec/fiat syscall -internal/concurrent -google.golang.org/grpc/internal/grpcrand -unique -crypto/internal/edwards25519 hash -bytes crypto/internal/randutil +internal/concurrent strings +bytes +google.golang.org/grpc/internal/grpcrand +crypto/internal/edwards25519 hash/fnv hash/crc32 +unique crypto crypto/rc4 reflect -net/netip -vendor/golang.org/x/text/transform -golang.org/x/text/transform -crypto/cipher crypto/md5 bufio +vendor/golang.org/x/text/transform +crypto/cipher +net/netip +regexp/syntax net/http/internal/ascii html -regexp/syntax -crypto/internal/boring +golang.org/x/text/transform crypto/des -crypto/aes -crypto/sha512 +crypto/internal/boring crypto/hmac -crypto/sha1 +crypto/sha512 +crypto/aes crypto/sha256 +crypto/sha1 vendor/golang.org/x/crypto/hkdf golang.org/x/crypto/hkdf internal/syscall/execenv -internal/syscall/unix time +internal/syscall/unix regexp -io/fs google.golang.org/grpc/backoff google.golang.org/grpc/keepalive context +io/fs internal/poll +internal/fmtsort +encoding/binary +google.golang.org/grpc/internal/backoff +google.golang.org/grpc/internal/grpcsync embed internal/filepathlite -crypto/internal/nistec google.golang.org/protobuf/internal/editiondefaults -google.golang.org/grpc/internal/backoff -google.golang.org/grpc/internal/grpcsync +crypto/internal/nistec os -internal/fmtsort -encoding/binary -crypto/ecdh -vendor/golang.org/x/crypto/chacha20 -golang.org/x/sys/unix encoding/base64 vendor/golang.org/x/crypto/internal/poly1305 -golang.org/x/crypto/chacha20 golang.org/x/crypto/internal/poly1305 +golang.org/x/crypto/chacha20 +vendor/golang.org/x/crypto/chacha20 +golang.org/x/sys/unix encoding/pem -fmt -vendor/golang.org/x/sys/cpu -golang.org/x/sys/cpu -path/filepath +crypto/ecdh google.golang.org/protobuf/internal/detrand io/ioutil google.golang.org/grpc/internal/envconfig +path/filepath internal/sysinfo +vendor/golang.org/x/sys/cpu +golang.org/x/sys/cpu +fmt net -golang.org/x/crypto/chacha20poly1305 -vendor/golang.org/x/crypto/chacha20poly1305 vendor/golang.org/x/crypto/sha3 -math/big -encoding/hex -net/url +vendor/golang.org/x/crypto/chacha20poly1305 +golang.org/x/crypto/chacha20poly1305 google.golang.org/grpc/attributes +net/url google.golang.org/grpc/internal/grpclog log -encoding/json -google.golang.org/protobuf/internal/errors -go/token -compress/flate google.golang.org/protobuf/internal/version -vendor/golang.org/x/net/http2/hpack -text/template/parse -mime +go/token mime/quotedprintable net/http/internal -text/tabwriter -vendor/golang.org/x/text/unicode/norm +google.golang.org/protobuf/internal/errors +encoding/hex +mime google.golang.org/grpc/internal/idle -golang.org/x/text/unicode/norm +compress/flate +text/template/parse +text/tabwriter +runtime/trace +vendor/golang.org/x/net/http2/hpack golang.org/x/net/http2/hpack -google.golang.org/protobuf/encoding/protowire -github.com/google/s2a-go/internal/record/internal/aeadcrypter +encoding/json flag runtime/debug -runtime/trace +vendor/golang.org/x/text/unicode/norm +math/big +golang.org/x/text/unicode/norm +google.golang.org/protobuf/encoding/protowire google.golang.org/protobuf/reflect/protoreflect +github.com/google/s2a-go/internal/record/internal/aeadcrypter golang.org/x/net/internal/timeseries -golang.org/x/text/unicode/bidi vendor/golang.org/x/text/unicode/bidi -compress/gzip +golang.org/x/text/unicode/bidi testing +compress/gzip +golang.org/x/text/secure/bidirule vendor/golang.org/x/text/secure/bidirule +text/template google.golang.org/protobuf/internal/encoding/messageset -google.golang.org/protobuf/internal/genid -google.golang.org/protobuf/internal/order +google.golang.org/protobuf/internal/descfmt google.golang.org/protobuf/internal/strs google.golang.org/protobuf/runtime/protoiface -google.golang.org/protobuf/internal/descfmt google.golang.org/protobuf/internal/descopts -text/template -golang.org/x/text/secure/bidirule -google.golang.org/protobuf/reflect/protoregistry +google.golang.org/protobuf/internal/order +google.golang.org/protobuf/internal/genid google.golang.org/protobuf/internal/encoding/text google.golang.org/protobuf/internal/encoding/json +google.golang.org/protobuf/reflect/protoregistry +vendor/golang.org/x/net/idna +google.golang.org/grpc/grpclog +golang.org/x/net/idna +google.golang.org/grpc/connectivity +github.com/google/s2a-go/retry +google.golang.org/protobuf/proto +google.golang.org/protobuf/internal/encoding/defval +github.com/google/s2a-go/internal/record/internal/aeadcrypter/testutil crypto/elliptic crypto/internal/bigmod crypto/internal/boring/bbig -encoding/asn1 -crypto/rand crypto/dsa -vendor/golang.org/x/net/idna -google.golang.org/protobuf/proto +crypto/rand +encoding/asn1 +html/template +google.golang.org/protobuf/encoding/prototext +google.golang.org/protobuf/internal/filedesc crypto/ed25519 crypto/internal/hpke crypto/internal/mlkem768 -google.golang.org/grpc/grpclog -golang.org/x/net/idna crypto/rsa -google.golang.org/protobuf/internal/encoding/defval -google.golang.org/grpc/connectivity -github.com/google/s2a-go/retry -google.golang.org/protobuf/internal/filedesc -google.golang.org/protobuf/encoding/prototext -html/template -github.com/google/s2a-go/internal/record/internal/aeadcrypter/testutil -vendor/golang.org/x/crypto/cryptobyte crypto/x509/pkix +vendor/golang.org/x/crypto/cryptobyte golang.org/x/crypto/cryptobyte crypto/ecdsa google.golang.org/protobuf/internal/encoding/tag @@ -789,60 +825,60 @@ google.golang.org/protobuf/internal/impl google.golang.org/protobuf/internal/filetype google.golang.org/protobuf/runtime/protoimpl -crypto/x509 -vendor/golang.org/x/net/http/httpproxy -google.golang.org/grpc/internal -google.golang.org/grpc/internal/syscall -google.golang.org/grpc/internal/resolver/dns/internal -net/textproto github.com/google/s2a-go/internal/proto/common_go_proto google.golang.org/protobuf/protoadapt -google.golang.org/protobuf/types/known/durationpb -google.golang.org/protobuf/types/known/anypb google.golang.org/protobuf/types/known/timestamppb +google.golang.org/protobuf/types/known/anypb +google.golang.org/protobuf/types/known/durationpb github.com/google/s2a-go/internal/proto/v2/common_go_proto -google.golang.org/grpc/metadata -google.golang.org/grpc/codes google.golang.org/grpc/internal/pretty -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/genproto/googleapis/rpc/status github.com/golang/protobuf/ptypes/duration -vendor/golang.org/x/net/http/httpguts -mime/multipart -golang.org/x/net/http/httpguts github.com/golang/protobuf/ptypes/timestamp -google.golang.org/genproto/googleapis/rpc/status github.com/google/s2a-go/internal/proto/s2a_context_go_proto -google.golang.org/grpc/encoding github.com/google/s2a-go/internal/record/internal/halfconn github.com/google/s2a-go/internal/tokenmanager github.com/google/s2a-go/internal/proto/v2/s2a_context_go_proto +vendor/golang.org/x/net/http/httpproxy +google.golang.org/grpc/internal +google.golang.org/grpc/internal/syscall +google.golang.org/grpc/internal/resolver/dns/internal +net/textproto +crypto/x509 google.golang.org/grpc/binarylog/grpc_binarylog_v1 -google.golang.org/grpc/encoding/proto +google.golang.org/grpc/metadata +google.golang.org/grpc/codes +vendor/golang.org/x/net/http/httpguts +mime/multipart +golang.org/x/net/http/httpguts google.golang.org/grpc/internal/status +google.golang.org/grpc/tap +google.golang.org/grpc/internal/grpcutil +google.golang.org/grpc/stats +google.golang.org/grpc/internal/balancerload +google.golang.org/grpc/encoding google.golang.org/grpc/status +google.golang.org/grpc/encoding/proto google.golang.org/grpc/internal/binarylog crypto/tls -google.golang.org/grpc/internal/credentials net/http/httptrace +google.golang.org/grpc/internal/credentials google.golang.org/grpc/credentials net/http github.com/google/s2a-go/fallback -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/resolver +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/unix google.golang.org/grpc/internal/resolver/dns +google.golang.org/grpc/resolver/dns google.golang.org/grpc/channelz google.golang.org/grpc/balancer -google.golang.org/grpc/resolver/dns google.golang.org/grpc/balancer/base google.golang.org/grpc/internal/serviceconfig google.golang.org/grpc/internal/resolver @@ -853,24 +889,24 @@ golang.org/x/net/http2 google.golang.org/grpc/internal/transport google.golang.org/grpc -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/s2a_go_proto github.com/google/s2a-go/internal/proto/examples/helloworld_go_proto +github.com/google/s2a-go/internal/proto/v2/s2a_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/stream github.com/google/s2a-go/internal/v2/fakes2av2 -github.com/google/s2a-go/internal/handshaker 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 github.com/google/s2a-go make[1]: Leaving directory '/build/reproducible-path/golang-github-google-s2a-go-0.1.8' dh_auto_test -O--builddirectory=_build -O--buildsystem=golang - cd _build && go test -vet=off -v -p 20 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 + cd _build && go test -vet=off -v -p 42 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 ? 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] @@ -881,88 +917,88 @@ ? github.com/google/s2a-go/internal/record/internal/aeadcrypter/testutil [no test files] ? github.com/google/s2a-go/stream [no test files] === RUN TestV1EndToEndUsingFakeS2AOverTCP ---- PASS: TestV1EndToEndUsingFakeS2AOverTCP (0.05s) +--- PASS: TestV1EndToEndUsingFakeS2AOverTCP (0.01s) === RUN TestV2EndToEndUsingFakeS2AOverTCP -2024/12/14 09:42:00 Fake S2A Service: failed to receive SessionReq: EOF -2024/12/14 09:42:00 Fake S2A Service: failed to receive SessionReq: EOF ---- PASS: TestV2EndToEndUsingFakeS2AOverTCP (0.07s) +2026/01/16 16:08:56 Fake S2A Service: failed to receive SessionReq: EOF +2026/01/16 16:08:56 Fake S2A Service: failed to receive SessionReq: EOF +--- PASS: TestV2EndToEndUsingFakeS2AOverTCP (0.01s) === RUN TestV2EndToEndUsingFakeMTLSS2AOverTCP -2024/12/14 09:42:00 Fake S2A Service: failed to receive SessionReq: EOF -2024/12/14 09:42:00 Fake S2A Service: failed to receive SessionReq: EOF ---- PASS: TestV2EndToEndUsingFakeMTLSS2AOverTCP (0.10s) +2026/01/16 16:08:56 Fake S2A Service: failed to receive SessionReq: EOF +2026/01/16 16:08:56 Fake S2A Service: failed to receive SessionReq: EOF +--- PASS: TestV2EndToEndUsingFakeMTLSS2AOverTCP (0.02s) === RUN TestV2EndToEndUsingFakeMTLSS2AOverTCP_SelfSignedClientTransportCreds - s2a_e2e_test.go:353: server running at address: [::]:37109 - s2a_e2e_test.go:354: fallback server running at address: [::]:36843 -2024/12/14 09:42:02 Fake S2A Service: failed to receive SessionReq: EOF ---- PASS: TestV2EndToEndUsingFakeMTLSS2AOverTCP_SelfSignedClientTransportCreds (1.18s) + s2a_e2e_test.go:353: server running at address: [::]:45779 + s2a_e2e_test.go:354: fallback server running at address: [::]:40363 +2026/01/16 16:08:57 Fake S2A Service: failed to receive SessionReq: EOF +--- PASS: TestV2EndToEndUsingFakeMTLSS2AOverTCP_SelfSignedClientTransportCreds (0.93s) === RUN TestV2GRPCFallbackEndToEndUsingFakeS2AOverTCP - s2a_e2e_test.go:456: server running at address: [::]:46083 - s2a_e2e_test.go:457: fallback server running at address: [::]:44223 -2024/12/14 09:42:04 Fake S2A Service: failed to receive SessionReq: EOF ---- PASS: TestV2GRPCFallbackEndToEndUsingFakeS2AOverTCP (2.49s) + s2a_e2e_test.go:456: server running at address: [::]:42889 + s2a_e2e_test.go:457: fallback server running at address: [::]:41457 +2026/01/16 16:09:00 Fake S2A Service: failed to receive SessionReq: EOF +--- PASS: TestV2GRPCFallbackEndToEndUsingFakeS2AOverTCP (2.78s) === RUN TestV2GRPCRetryAndFallbackEndToEndUsingFakeS2AOverTCP - s2a_e2e_test.go:500: server running at address: [::]:45749 - s2a_e2e_test.go:501: fallback server running at address: [::]:37407 -2024/12/14 09:42:04 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token -2024/12/14 09:42:05 Fake S2A Service: failed to receive SessionReq: EOF ---- PASS: TestV2GRPCRetryAndFallbackEndToEndUsingFakeS2AOverTCP (0.97s) + s2a_e2e_test.go:500: server running at address: [::]:34795 + s2a_e2e_test.go:501: fallback server running at address: [::]:36305 +2026/01/16 16:09:00 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token +2026/01/16 16:09:01 Fake S2A Service: failed to receive SessionReq: EOF +--- PASS: TestV2GRPCRetryAndFallbackEndToEndUsingFakeS2AOverTCP (0.70s) === RUN TestV1EndToEndUsingTokens ---- PASS: TestV1EndToEndUsingTokens (0.02s) +--- PASS: TestV1EndToEndUsingTokens (0.00s) === RUN TestV2EndToEndUsingTokens -2024/12/14 09:42:05 Fake S2A Service: failed to receive SessionReq: EOF -2024/12/14 09:42:05 Fake S2A Service: failed to receive SessionReq: EOF ---- PASS: TestV2EndToEndUsingTokens (0.04s) +2026/01/16 16:09:01 Fake S2A Service: failed to receive SessionReq: EOF +2026/01/16 16:09:01 Fake S2A Service: failed to receive SessionReq: EOF +--- PASS: TestV2EndToEndUsingTokens (0.01s) === RUN TestV2EndToEndEmptyToken -2024/12/14 09:42:05 Fake S2A Service: failed to receive SessionReq: EOF -2024/12/14 09:42:05 Fake S2A Service: failed to receive SessionReq: EOF ---- PASS: TestV2EndToEndEmptyToken (0.07s) +2026/01/16 16:09:01 Fake S2A Service: failed to receive SessionReq: EOF +2026/01/16 16:09:01 Fake S2A Service: failed to receive SessionReq: EOF +--- PASS: TestV2EndToEndEmptyToken (0.05s) === RUN TestV1EndToEndUsingFakeS2AOnUDS ---- PASS: TestV1EndToEndUsingFakeS2AOnUDS (0.02s) +--- PASS: TestV1EndToEndUsingFakeS2AOnUDS (0.00s) === RUN TestV2EndToEndUsingFakeS2AOnUDS -2024/12/14 09:42:05 Fake S2A Service: failed to receive SessionReq: EOF -2024/12/14 09:42:05 Fake S2A Service: failed to receive SessionReq: EOF ---- PASS: TestV2EndToEndUsingFakeS2AOnUDS (0.03s) +2026/01/16 16:09:01 Fake S2A Service: failed to receive SessionReq: EOF +2026/01/16 16:09:01 Fake S2A Service: failed to receive SessionReq: EOF +--- PASS: TestV2EndToEndUsingFakeS2AOnUDS (0.01s) === RUN TestNewTLSClientConfigFactoryWithTokenManager ---- PASS: TestNewTLSClientConfigFactoryWithTokenManager (0.01s) +--- PASS: TestNewTLSClientConfigFactoryWithTokenManager (0.00s) === RUN TestNewTLSClientConfigFactoryWithoutTokenManager -2024/12/14 09:42:05 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2026/01/16 16:09:01 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: [::]:40909 - s2a_e2e_test.go:743: HTTP server running at address: [::]:44715 - s2a_e2e_test.go:713: reqURL is set to: https://[::]:44715/hello -2024/12/14 09:42:05 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2024/12/14 09:42:05 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled ---- PASS: TestHTTPEndToEndUsingFakeS2AOverTCP (0.02s) +2026/01/16 16:09:01 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: [::]:41081 + s2a_e2e_test.go:743: HTTP server running at address: [::]:39441 + s2a_e2e_test.go:713: reqURL is set to: https://[::]:39441/hello +2026/01/16 16:09:01 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: [::]:33245 - s2a_e2e_test.go:772: HTTP server running at address: [::]:39119 - s2a_e2e_test.go:713: reqURL is set to: https://[::]:39119/hello -2024/12/14 09:42:05 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: [::]:38355 + s2a_e2e_test.go:772: HTTP server running at address: [::]:44961 + s2a_e2e_test.go:713: reqURL is set to: https://[::]:44961/hello +2026/01/16 16:09:01 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +--- PASS: TestHTTPEndToEndSUsingFakeMTLSS2AOverTCP (0.01s) === RUN TestHTTPEndToEndSUsingFakeMTLSS2AOverTCP_SelfSignedClientTransportCreds - s2a_e2e_test.go:799: fake handshaker for client running at address: [::]:33247 - s2a_e2e_test.go:802: HTTP server running at address: [::]:46493 - s2a_e2e_test.go:805: fallback HTTP server running at address: [::]:40073 - s2a_e2e_test.go:713: reqURL is set to: https://[::]:46493/hello ---- PASS: TestHTTPEndToEndSUsingFakeMTLSS2AOverTCP_SelfSignedClientTransportCreds (1.16s) + s2a_e2e_test.go:799: fake handshaker for client running at address: [::]:45619 + s2a_e2e_test.go:802: HTTP server running at address: [::]:42605 + s2a_e2e_test.go:805: fallback HTTP server running at address: [::]:44525 + s2a_e2e_test.go:713: reqURL is set to: https://[::]:42605/hello +--- PASS: TestHTTPEndToEndSUsingFakeMTLSS2AOverTCP_SelfSignedClientTransportCreds (2.02s) === RUN TestHTTPFallbackEndToEndUsingFakeS2AOverTCP - s2a_e2e_test.go:844: HTTP server running at address: [::]:43685 - s2a_e2e_test.go:847: fallback HTTP server running at address: [::]:33107 - s2a_e2e_test.go:713: reqURL is set to: https://[::]:43685/hello ---- PASS: TestHTTPFallbackEndToEndUsingFakeS2AOverTCP (1.64s) + s2a_e2e_test.go:844: HTTP server running at address: [::]:37345 + s2a_e2e_test.go:847: fallback HTTP server running at address: [::]:37945 + s2a_e2e_test.go:713: reqURL is set to: https://[::]:37345/hello +--- PASS: TestHTTPFallbackEndToEndUsingFakeS2AOverTCP (2.40s) === RUN TestHTTPRetryAndFallbackEndToEndUsingFakeS2AOverTCP - s2a_e2e_test.go:886: fake handshaker for client running at address: [::]:42387 - s2a_e2e_test.go:889: HTTP server running at address: [::]:36801 - s2a_e2e_test.go:892: fallback HTTP server running at address: [::]:32891 - s2a_e2e_test.go:713: reqURL is set to: https://[::]:36801/hello -2024/12/14 09:42:08 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token -2024/12/14 09:42:08 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token -2024/12/14 09:42:08 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token -2024/12/14 09:42:08 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token -2024/12/14 09:42:08 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token -2024/12/14 09:42:10 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token ---- PASS: TestHTTPRetryAndFallbackEndToEndUsingFakeS2AOverTCP (1.51s) + s2a_e2e_test.go:886: fake handshaker for client running at address: [::]:41935 + s2a_e2e_test.go:889: HTTP server running at address: [::]:34385 + s2a_e2e_test.go:892: fallback HTTP server running at address: [::]:45337 + s2a_e2e_test.go:713: reqURL is set to: https://[::]:34385/hello +2026/01/16 16:09:05 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token +2026/01/16 16:09:05 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token +2026/01/16 16:09:05 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token +2026/01/16 16:09:05 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token +2026/01/16 16:09:06 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token +2026/01/16 16:09:07 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token +--- PASS: TestHTTPRetryAndFallbackEndToEndUsingFakeS2AOverTCP (2.01s) === RUN TestToProtoIdentity === RUN TestToProtoIdentity/spiffe_id:"test_spiffe_id" === RUN TestToProtoIdentity/hostname:"test_hostname" @@ -998,7 +1034,7 @@ === RUN TestInfo --- PASS: TestInfo (0.00s) === RUN TestCloneClient ---- PASS: TestCloneClient (0.01s) +--- PASS: TestCloneClient (0.00s) === RUN TestCloneServer --- PASS: TestCloneServer (0.00s) === RUN TestOverrideServerName @@ -1016,13 +1052,13 @@ === RUN TestAuthInfoFromPeer --- PASS: TestAuthInfoFromPeer (0.00s) PASS -ok github.com/google/s2a-go 9.506s +ok github.com/google/s2a-go 11.043s === RUN TestDefaultFallbackClientHandshakeFunc --- PASS: TestDefaultFallbackClientHandshakeFunc (0.00s) === RUN TestDefaultFallbackDialerAndAddress --- PASS: TestDefaultFallbackDialerAndAddress (0.00s) PASS -ok github.com/google/s2a-go/fallback 0.052s +ok github.com/google/s2a-go/fallback 0.006s === RUN TestS2AAuthInfo === RUN TestS2AAuthInfo/basic_1 === RUN TestS2AAuthInfo/basic_2 @@ -1034,7 +1070,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.082s +ok github.com/google/s2a-go/internal/authinfo 0.009s === RUN TestSetupSession === RUN TestSetupSession/client_failure_no_app_protocols === RUN TestSetupSession/client_failure_non_initial_state @@ -1043,10 +1079,10 @@ === RUN TestSetupSession/server_failure_non_initial_state === RUN TestSetupSession/server_test === RUN TestSetupSession/resumption_ticket_test ---- PASS: TestSetupSession (0.02s) +--- PASS: TestSetupSession (0.00s) --- PASS: TestSetupSession/client_failure_no_app_protocols (0.00s) --- PASS: TestSetupSession/client_failure_non_initial_state (0.00s) - --- PASS: TestSetupSession/client_test (0.01s) + --- PASS: TestSetupSession/client_test (0.00s) --- PASS: TestSetupSession/server_failure_no_app_protocols (0.00s) --- PASS: TestSetupSession/server_failure_non_initial_state (0.00s) --- PASS: TestSetupSession/server_test (0.00s) @@ -1062,7 +1098,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.071s +ok github.com/google/s2a-go/internal/fakehandshaker/service 0.012s === RUN TestNewClientHandshaker --- PASS: TestNewClientHandshaker (0.00s) === RUN TestNewServerHandshaker @@ -1084,15 +1120,15 @@ === 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.03s) +--- PASS: TestServerHandshakeSuccess (0.01s) --- PASS: TestServerHandshakeSuccess/full_server_options (0.00s) - --- PASS: TestServerHandshakeSuccess/full_server_options_with_no_local_identities (0.01s) + --- 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.01s) + --- PASS: TestServerHandshakeSuccess/full_server_options_with_no_local_identity,_sending_tokens (0.00s) === RUN TestS2ARejectsTokenFromClient ---- PASS: TestS2ARejectsTokenFromClient (0.01s) +--- PASS: TestS2ARejectsTokenFromClient (0.00s) === RUN TestS2ARejectsTokenFromServer ---- PASS: TestS2ARejectsTokenFromServer (0.01s) +--- PASS: TestS2ARejectsTokenFromServer (0.00s) === RUN TestInvalidHandshaker --- PASS: TestInvalidHandshaker (0.00s) === RUN TestPeerNotResponding @@ -1117,18 +1153,18 @@ === RUN TestGetAuthMechanismsForServer/token_manager_does_not_expect_empty_identity === RUN TestGetAuthMechanismsForServer/token_manager_expects_2_SPIFFE_IDs === RUN TestGetAuthMechanismsForServer/token_manager_expects_a_SPIFFE_ID_but_does_not_expect_hostname ---- PASS: TestGetAuthMechanismsForServer (0.01s) +--- PASS: TestGetAuthMechanismsForServer (0.00s) --- PASS: TestGetAuthMechanismsForServer/token_manager_is_nil (0.00s) --- PASS: TestGetAuthMechanismsForServer/token_manager_expects_empty_identity (0.00s) --- PASS: TestGetAuthMechanismsForServer/token_manager_does_not_expect_empty_identity (0.00s) - --- PASS: TestGetAuthMechanismsForServer/token_manager_expects_2_SPIFFE_IDs (0.01s) + --- 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.150s +ok github.com/google/s2a-go/internal/handshaker 0.025s === RUN TestDial --- PASS: TestDial (0.00s) PASS -ok github.com/google/s2a-go/internal/handshaker/service 0.068s +ok github.com/google/s2a-go/internal/handshaker/service 0.009s === RUN TestNewS2ARecordConn === RUN TestNewS2ARecordConn/nil_conn_options === RUN TestNewS2ARecordConn/invalid_input_traffic_secret_size @@ -1138,7 +1174,7 @@ === RUN TestNewS2ARecordConn/basic_with_AES-256-GCM-SHA384 === RUN TestNewS2ARecordConn/basic_with_CHACHA20-POLY1305-SHA256 === RUN TestNewS2ARecordConn/basic_with_unusedBytes ---- PASS: TestNewS2ARecordConn (0.01s) +--- PASS: TestNewS2ARecordConn (0.00s) --- PASS: TestNewS2ARecordConn/nil_conn_options (0.00s) --- PASS: TestNewS2ARecordConn/invalid_input_traffic_secret_size (0.00s) --- PASS: TestNewS2ARecordConn/invalid_output_traffic_secret_size (0.00s) @@ -1228,7 +1264,7 @@ === 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.05s) +--- PASS: TestConnReadApplicationData (0.01s) --- 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) @@ -1236,7 +1272,7 @@ --- PASS: TestConnReadApplicationData/AES-256-GCM-SHA384_with_padding (0.00s) --- PASS: TestConnReadApplicationData/AES-256-GCM-SHA384_empty (0.00s) --- PASS: TestConnReadApplicationData/CHACHA20-POLY1305-SHA256_with_no_padding (0.00s) - --- PASS: TestConnReadApplicationData/CHACHA20-POLY1305-SHA256_with_padding (0.01s) + --- PASS: TestConnReadApplicationData/CHACHA20-POLY1305-SHA256_with_padding (0.00s) --- PASS: TestConnReadApplicationData/CHACHA20-POLY1305-SHA256_empty (0.00s) --- PASS: TestConnReadApplicationData/AES-128-GCM-SHA256_split_in_first_record (0.00s) --- PASS: TestConnReadApplicationData/AES-256-GCM-SHA384_split_in_first_record (0.00s) @@ -1245,11 +1281,11 @@ --- PASS: TestConnReadApplicationData/AES-256-GCM-SHA384_split_in_first_record_header (0.00s) --- PASS: TestConnReadApplicationData/CHACHA20-POLY1305-SHA256_split_in_first_record_header (0.00s) --- PASS: TestConnReadApplicationData/AES-128-GCM-SHA256_split_in_second_record (0.00s) - --- PASS: TestConnReadApplicationData/AES-256-GCM-SHA384_split_in_second_record (0.01s) + --- PASS: TestConnReadApplicationData/AES-256-GCM-SHA384_split_in_second_record (0.00s) --- PASS: TestConnReadApplicationData/CHACHA20-POLY1305-SHA256_split_in_second_record (0.00s) --- PASS: TestConnReadApplicationData/AES-128-GCM-SHA256_split_in_second_record_header (0.00s) --- PASS: TestConnReadApplicationData/AES-256-GCM-SHA384_split_in_second_record_header (0.00s) - --- PASS: TestConnReadApplicationData/CHACHA20-POLY1305-SHA256_split_in_second_record_header (0.01s) + --- PASS: TestConnReadApplicationData/CHACHA20-POLY1305-SHA256_split_in_second_record_header (0.00s) --- PASS: TestConnReadApplicationData/AES-128-GCM-SHA256_split_randomly (0.00s) --- PASS: TestConnReadApplicationData/AES-256-GCM-SHA384_split_randomly (0.00s) --- PASS: TestConnReadApplicationData/CHACHA20-POLY1305-SHA256_split_randomly (0.00s) @@ -1266,15 +1302,15 @@ === RUN TestConnReadAlert/AES-128-GCM-SHA256_invalid === RUN TestConnReadAlert/AES-256-GCM-SHA384_invalid === RUN TestConnReadAlert/CHACHA20-POLY1305-SHA256_invalid ---- PASS: TestConnReadAlert (0.02s) +--- PASS: TestConnReadAlert (0.00s) --- 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.01s) + --- PASS: TestConnReadAlert/AES-256-GCM-SHA384_with_no_padding (0.00s) --- PASS: TestConnReadAlert/AES-256-GCM-SHA384_with_padding (0.00s) --- PASS: TestConnReadAlert/CHACHA20-POLY1305-SHA256_with_no_padding (0.00s) --- PASS: TestConnReadAlert/CHACHA20-POLY1305-SHA256_with_padding (0.00s) --- PASS: TestConnReadAlert/AES-128-GCM-SHA256_other_alert (0.00s) - --- PASS: TestConnReadAlert/AES-256-GCM-SHA384_other_alert (0.01s) + --- PASS: TestConnReadAlert/AES-256-GCM-SHA384_other_alert (0.00s) --- PASS: TestConnReadAlert/CHACHA20-POLY1305-SHA256_other_alert (0.00s) --- PASS: TestConnReadAlert/AES-128-GCM-SHA256_invalid (0.00s) --- PASS: TestConnReadAlert/AES-256-GCM-SHA384_invalid (0.00s) @@ -1286,13 +1322,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.03s) - --- PASS: TestConnReadKeyUpdate/AES-128-GCM-SHA256 (0.02s) +--- PASS: TestConnReadKeyUpdate (0.00s) + --- 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.01s) + --- PASS: TestConnReadKeyUpdate/CHACHA20-POLY1305-SHA256_send_key_update_request (0.00s) === RUN TestWrite === RUN TestWrite/AES-128-GCM-SHA256 === RUN TestWrite/AES-128-GCM-SHA256_empty @@ -1300,10 +1336,10 @@ === RUN TestWrite/AES-256-GCM-SHA384_empty === RUN TestWrite/CHACHA20-POLY1305-SHA256 === RUN TestWrite/CHACHA20-POLY1305-SHA256_empty ---- PASS: TestWrite (0.01s) +--- PASS: TestWrite (0.00s) --- PASS: TestWrite/AES-128-GCM-SHA256 (0.00s) --- PASS: TestWrite/AES-128-GCM-SHA256_empty (0.00s) - --- PASS: TestWrite/AES-256-GCM-SHA384 (0.01s) + --- 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) @@ -1319,10 +1355,10 @@ === RUN TestExceedBufferSize/AES-128-GCM-SHA256 === RUN TestExceedBufferSize/AES-256-GCM-SHA384 === RUN TestExceedBufferSize/CHACHA20-POLY1305-SHA256 ---- PASS: TestExceedBufferSize (0.04s) +--- PASS: TestExceedBufferSize (0.00s) --- PASS: TestExceedBufferSize/AES-128-GCM-SHA256 (0.00s) --- PASS: TestExceedBufferSize/AES-256-GCM-SHA384 (0.00s) - --- PASS: TestExceedBufferSize/CHACHA20-POLY1305-SHA256 (0.02s) + --- PASS: TestExceedBufferSize/CHACHA20-POLY1305-SHA256 (0.00s) === RUN TestRoundtrip === RUN TestRoundtrip/AES-128-GCM-SHA256 === RUN TestRoundtrip/AES-128-GCM-SHA256_different_traffic_secrets @@ -1339,22 +1375,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.13s) +--- PASS: TestRoundtrip (0.01s) --- 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_empty (0.00s) - --- PASS: TestRoundtrip/AES-128-GCM-SHA256_max_buffer_size (0.01s) - --- PASS: TestRoundtrip/AES-128-GCM-SHA256_exceed_buffer_size (0.01s) + --- PASS: TestRoundtrip/AES-128-GCM-SHA256_max_buffer_size (0.00s) + --- 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_different_traffic_secrets (0.02s) + --- 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.02s) + --- PASS: TestRoundtrip/AES-256-GCM-SHA384_exceed_buffer_size (0.00s) --- 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.02s) - --- PASS: TestRoundtrip/CHACHA20-POLY1305-SHA256_max_buffer_size#01 (0.02s) + --- PASS: TestRoundtrip/CHACHA20-POLY1305-SHA256_max_buffer_size (0.00s) + --- PASS: TestRoundtrip/CHACHA20-POLY1305-SHA256_max_buffer_size#01 (0.00s) === RUN TestWriteTicketsToStream --- PASS: TestWriteTicketsToStream (0.00s) === RUN TestGetAuthMechanism @@ -1363,14 +1399,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.01s) +--- PASS: TestGetAuthMechanism (0.00s) --- 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.01s) + --- PASS: TestGetAuthMechanism/token_manager_does_not_expect_hostname (0.00s) PASS -ok github.com/google/s2a-go/internal/record 0.376s +ok github.com/google/s2a-go/internal/record 0.040s === RUN TestAESGCMInvalidKeySize --- PASS: TestAESGCMInvalidKeySize (0.00s) === RUN TestAESGCMEncryptRoundtrip @@ -1495,7 +1531,7 @@ === RUN TestWycheProofTestVectors/118/tag_changed_to_all_1 === RUN TestWycheProofTestVectors/119/msbs_changed_in_tag === RUN TestWycheProofTestVectors/120/lsbs_changed_in_tag ---- PASS: TestWycheProofTestVectors (0.04s) +--- PASS: TestWycheProofTestVectors (0.01s) --- PASS: TestWycheProofTestVectors/1/ (0.00s) --- PASS: TestWycheProofTestVectors/2/ (0.00s) --- PASS: TestWycheProofTestVectors/3/ (0.00s) @@ -1937,7 +1973,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.08s) +--- PASS: TestWycheProofTestVectorsChachaPoly (0.02s) --- PASS: TestWycheProofTestVectorsChachaPoly/1/RFC_7539 (0.00s) --- PASS: TestWycheProofTestVectorsChachaPoly/2/ (0.00s) --- PASS: TestWycheProofTestVectorsChachaPoly/3/ (0.00s) @@ -1980,7 +2016,7 @@ --- PASS: TestWycheProofTestVectorsChachaPoly/40/ (0.00s) --- PASS: TestWycheProofTestVectorsChachaPoly/41/ (0.00s) --- PASS: TestWycheProofTestVectorsChachaPoly/42/ (0.00s) - --- PASS: TestWycheProofTestVectorsChachaPoly/43/ (0.01s) + --- PASS: TestWycheProofTestVectorsChachaPoly/43/ (0.00s) --- PASS: TestWycheProofTestVectorsChachaPoly/44/ (0.00s) --- PASS: TestWycheProofTestVectorsChachaPoly/45/ (0.00s) --- PASS: TestWycheProofTestVectorsChachaPoly/46/ (0.00s) @@ -2254,7 +2290,7 @@ === RUN TestDecrypt --- PASS: TestDecrypt (0.00s) PASS -ok github.com/google/s2a-go/internal/record/internal/aeadcrypter 0.191s +ok github.com/google/s2a-go/internal/record/internal/aeadcrypter 0.031s === RUN TestCiphersuites === RUN TestCiphersuites/AES_128_GCM_SHA256 === RUN TestCiphersuites/AES_256_GCM_SHA384 @@ -2356,7 +2392,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.044s +ok github.com/google/s2a-go/internal/record/internal/halfconn 0.008s === RUN TestNewSingleTokenAccessTokenManagerFailure --- PASS: TestNewSingleTokenAccessTokenManagerFailure (0.00s) === RUN TestNewSingleTokenAccessTokenManagerDefaultTokenSuccess @@ -2364,44 +2400,45 @@ === RUN TestNewSingleTokenAccessTokenManagerTokenSuccess --- PASS: TestNewSingleTokenAccessTokenManagerTokenSuccess (0.00s) PASS -ok github.com/google/s2a-go/internal/tokenmanager 0.040s +ok github.com/google/s2a-go/internal/tokenmanager 0.004s === RUN TestEndToEndUsingFakeS2AOverTCP -2024/12/14 09:42:01 Fake S2A Service: failed to receive SessionReq: EOF -2024/12/14 09:42:01 Fake S2A Service: failed to receive SessionReq: EOF ---- PASS: TestEndToEndUsingFakeS2AOverTCP (0.05s) +2026/01/16 16:08:56 Fake S2A Service: failed to receive SessionReq: EOF +2026/01/16 16:08:56 Fake S2A Service: failed to receive SessionReq: EOF +--- PASS: TestEndToEndUsingFakeS2AOverTCP (0.02s) === RUN TestEndToEndUsingFakeS2AOverTCPEmptyId -2024/12/14 09:42:02 Fake S2A Service: failed to receive SessionReq: EOF -2024/12/14 09:42:02 Fake S2A Service: failed to receive SessionReq: EOF ---- PASS: TestEndToEndUsingFakeS2AOverTCPEmptyId (0.07s) +2026/01/16 16:08:56 Fake S2A Service: failed to receive SessionReq: EOF +2026/01/16 16:08:56 Fake S2A Service: failed to receive SessionReq: EOF +--- PASS: TestEndToEndUsingFakeS2AOverTCPEmptyId (0.01s) === RUN TestEndToEndUsingFakeS2AOnUDS -2024/12/14 09:42:02 Fake S2A Service: failed to receive SessionReq: EOF -2024/12/14 09:42:02 Fake S2A Service: failed to receive SessionReq: EOF ---- PASS: TestEndToEndUsingFakeS2AOnUDS (0.06s) +2026/01/16 16:08:56 Fake S2A Service: failed to receive SessionReq: EOF +2026/01/16 16:08:56 Fake S2A Service: failed to receive SessionReq: EOF +--- PASS: TestEndToEndUsingFakeS2AOnUDS (0.01s) === RUN TestEndToEndUsingFakeS2AOnUDSEmptyId -2024/12/14 09:42:02 Fake S2A Service: failed to receive SessionReq: EOF -2024/12/14 09:42:02 Fake S2A Service: failed to receive SessionReq: EOF ---- PASS: TestEndToEndUsingFakeS2AOnUDSEmptyId (0.07s) +2026/01/16 16:08:56 Fake S2A Service: failed to receive SessionReq: EOF +2026/01/16 16:08:56 Fake S2A Service: failed to receive SessionReq: EOF +--- PASS: TestEndToEndUsingFakeS2AOnUDSEmptyId (0.01s) === RUN TestGRPCFallbackEndToEndUsingFakeS2AOverTCP - s2av2_e2e_test.go:318: Fake handshaker for server running at address: [::]:40935 - s2av2_e2e_test.go:330: server running at address: [::]:45187 - s2av2_e2e_test.go:331: fallback server running at address: [::]:37751 -2024/12/14 09:42:04 Fake S2A Service: failed to receive SessionReq: EOF ---- PASS: TestGRPCFallbackEndToEndUsingFakeS2AOverTCP (2.41s) + s2av2_e2e_test.go:318: Fake handshaker for server running at address: [::]:45385 + s2av2_e2e_test.go:330: server running at address: [::]:42257 + s2av2_e2e_test.go:331: fallback server running at address: [::]:34149 +2026/01/16 16:08:58 Fake S2A Service: failed to receive SessionReq: EOF +--- PASS: TestGRPCFallbackEndToEndUsingFakeS2AOverTCP (1.99s) === RUN TestGRPCRetryAndFallbackEndToEndUsingFakeS2AOverTCP - s2av2_e2e_test.go:387: server running at address: [::]:35585 - s2av2_e2e_test.go:388: fallback server running at address: [::]:34113 -2024/12/14 09:42:04 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token -2024/12/14 09:42:07 Fake S2A Service: failed to receive SessionReq: EOF ---- PASS: TestGRPCRetryAndFallbackEndToEndUsingFakeS2AOverTCP (2.62s) + s2av2_e2e_test.go:387: server running at address: [::]:41189 + s2av2_e2e_test.go:388: fallback server running at address: [::]:37281 +2026/01/16 16:08:58 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token +2026/01/16 16:09:00 Fake S2A Service: failed to receive SessionReq: EOF +--- PASS: TestGRPCRetryAndFallbackEndToEndUsingFakeS2AOverTCP (1.63s) === RUN TestNewClientTlsConfigWithTokenManager --- PASS: TestNewClientTlsConfigWithTokenManager (0.00s) === RUN TestNewClientTlsConfigWithoutTokenManager -2024/12/14 09:42:07 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled ---- PASS: TestNewClientTlsConfigWithoutTokenManager (0.01s) +2026/01/16 16:09:00 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +--- PASS: TestNewClientTlsConfigWithoutTokenManager (0.00s) === RUN TestNewClientCreds === RUN TestNewClientCreds/static --- PASS: TestNewClientCreds (0.00s) --- PASS: TestNewClientCreds/static (0.00s) +2026/01/16 16:09:00 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled === RUN TestNewServerCreds === RUN TestNewServerCreds/static --- PASS: TestNewServerCreds (0.00s) @@ -2433,182 +2470,182 @@ === RUN TestGetS2ATimeout --- PASS: TestGetS2ATimeout (0.00s) PASS -ok github.com/google/s2a-go/internal/v2 5.331s +ok github.com/google/s2a-go/internal/v2 3.687s === RUN TestVerifyClientCertChain -2024/12/14 09:42:01 Server: started gRPC fake S2Av2 Server on address: [::]:42081 +2026/01/16 16:08:56 Server: started gRPC fake S2Av2 Server on address: [::]:37173 === RUN TestVerifyClientCertChain/empty_chain -2024/12/14 09:42:01 Client: connected to: [::]:42081 -2024/12/14 09:42:01 Client: set up bidirectional streaming RPC session. +2026/01/16 16:08:56 Client: connected to: [::]:37173 +2026/01/16 16:08:56 Client: set up bidirectional streaming RPC session. === RUN TestVerifyClientCertChain/chain_of_length_1 -2024/12/14 09:42:01 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2024/12/14 09:42:01 Client: connected to: [::]:42081 -2024/12/14 09:42:01 Client: set up bidirectional streaming RPC session. +2026/01/16 16:08:56 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2026/01/16 16:08:56 Client: connected to: [::]:37173 +2026/01/16 16:08:56 Client: set up bidirectional streaming RPC session. +2026/01/16 16:08:56 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled === RUN TestVerifyClientCertChain/chain_of_length_2_correct -2024/12/14 09:42:01 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2024/12/14 09:42:01 Client: connected to: [::]:42081 -2024/12/14 09:42:01 Client: set up bidirectional streaming RPC session. +2026/01/16 16:08:56 Client: connected to: [::]:37173 +2026/01/16 16:08:56 Client: set up bidirectional streaming RPC session. +2026/01/16 16:08:56 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled === RUN TestVerifyClientCertChain/chain_of_length_2_error:_missing_intermediate -2024/12/14 09:42:01 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2024/12/14 09:42:01 Client: connected to: [::]:42081 -2024/12/14 09:42:01 Client: set up bidirectional streaming RPC session. -2024/12/14 09:42:01 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled ---- PASS: TestVerifyClientCertChain (0.05s) - --- PASS: TestVerifyClientCertChain/empty_chain (0.01s) - --- PASS: TestVerifyClientCertChain/chain_of_length_1 (0.01s) +2026/01/16 16:08:56 Client: connected to: [::]:37173 +2026/01/16 16:08:56 Client: set up bidirectional streaming RPC session. +2026/01/16 16:08:56 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/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.01s) + --- PASS: TestVerifyClientCertChain/chain_of_length_2_error:_missing_intermediate (0.00s) === RUN TestVerifyServerCertChainWithServerAuthorizationPolicy -2024/12/14 09:42:01 Server: started gRPC fake S2Av2 Server on address: [::]:44847 +2026/01/16 16:08:56 Server: started gRPC fake S2Av2 Server on address: [::]:33649 === RUN TestVerifyServerCertChainWithServerAuthorizationPolicy/empty_chain -2024/12/14 09:42:01 Client: connected to: [::]:44847 -2024/12/14 09:42:01 Client: set up bidirectional streaming RPC session. +2026/01/16 16:08:56 Client: connected to: [::]:33649 +2026/01/16 16:08:56 Client: set up bidirectional streaming RPC session. +2026/01/16 16:08:56 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled === RUN TestVerifyServerCertChainWithServerAuthorizationPolicy/invalid_server_authorization_policy -2024/12/14 09:42:01 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2024/12/14 09:42:01 Client: connected to: [::]:44847 -2024/12/14 09:42:01 Client: set up bidirectional streaming RPC session. -2024/12/14 09:42:01 Fake S2A Service: failed to build SessionResp with ValidatePeerCertificateChainResp: server peer verification failed: invalid server authorization policy, expected: fake server authorization policy, got: +2026/01/16 16:08:56 Client: connected to: [::]:33649 +2026/01/16 16:08:56 Client: set up bidirectional streaming RPC session. +2026/01/16 16:08:56 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 -2024/12/14 09:42:01 Client: connected to: [::]:44847 -2024/12/14 09:42:01 Client: set up bidirectional streaming RPC session. +2026/01/16 16:08:56 Client: connected to: [::]:33649 +2026/01/16 16:08:56 Client: set up bidirectional streaming RPC session. +2026/01/16 16:08:56 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled === RUN TestVerifyServerCertChainWithServerAuthorizationPolicy/chain_of_length_2_correct -2024/12/14 09:42:01 Client: connected to: [::]:44847 -2024/12/14 09:42:01 Client: set up bidirectional streaming RPC session. -2024/12/14 09:42:01 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2024/12/14 09:42:01 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled ---- PASS: TestVerifyServerCertChainWithServerAuthorizationPolicy (0.04s) +2026/01/16 16:08:56 Client: connected to: [::]:33649 +2026/01/16 16:08:56 Client: set up bidirectional streaming RPC session. +2026/01/16 16:08:56 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.01s) - --- PASS: TestVerifyServerCertChainWithServerAuthorizationPolicy/chain_of_length_2_correct (0.02s) + --- PASS: TestVerifyServerCertChainWithServerAuthorizationPolicy/chain_of_length_1 (0.00s) + --- PASS: TestVerifyServerCertChainWithServerAuthorizationPolicy/chain_of_length_2_correct (0.00s) === RUN TestVerifyServerCertChainWithoutServerAuthorizationPolicy -2024/12/14 09:42:01 Server: started gRPC fake S2Av2 Server on address: [::]:33499 +2026/01/16 16:08:56 Server: started gRPC fake S2Av2 Server on address: [::]:36377 === RUN TestVerifyServerCertChainWithoutServerAuthorizationPolicy/empty_chain -2024/12/14 09:42:01 Client: connected to: [::]:33499 -2024/12/14 09:42:01 Client: set up bidirectional streaming RPC session. +2026/01/16 16:08:56 Client: connected to: [::]:36377 +2026/01/16 16:08:56 Client: set up bidirectional streaming RPC session. +2026/01/16 16:08:56 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled === RUN TestVerifyServerCertChainWithoutServerAuthorizationPolicy/chain_of_length_1 -2024/12/14 09:42:01 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2024/12/14 09:42:01 Client: connected to: [::]:33499 -2024/12/14 09:42:01 Client: set up bidirectional streaming RPC session. +2026/01/16 16:08:56 Client: connected to: [::]:36377 +2026/01/16 16:08:56 Client: set up bidirectional streaming RPC session. === RUN TestVerifyServerCertChainWithoutServerAuthorizationPolicy/chain_of_length_2_correct -2024/12/14 09:42:01 Client: connected to: [::]:33499 -2024/12/14 09:42:01 Client: set up bidirectional streaming RPC session. -2024/12/14 09:42:01 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2024/12/14 09:42:02 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled ---- PASS: TestVerifyServerCertChainWithoutServerAuthorizationPolicy (0.01s) - --- PASS: TestVerifyServerCertChainWithoutServerAuthorizationPolicy/empty_chain (0.01s) +2026/01/16 16:08:56 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2026/01/16 16:08:56 Client: connected to: [::]:36377 +2026/01/16 16:08:56 Client: set up bidirectional streaming RPC session. +2026/01/16 16:08:56 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) --- PASS: TestVerifyServerCertChainWithoutServerAuthorizationPolicy/chain_of_length_2_correct (0.00s) PASS -ok github.com/google/s2a-go/internal/v2/certverifier 0.132s +ok github.com/google/s2a-go/internal/v2/certverifier 0.029s === RUN TestSetUpSession -2024/12/14 09:42:04 Server: started gRPC Fake S2Av2 Server on address: [::]:40505 +2026/01/16 16:08:56 Server: started gRPC Fake S2Av2 Server on address: [::]:35365 === RUN TestSetUpSession/Get_TLS_config_for_client. -2024/12/14 09:42:04 Client: connected to: [::]:40505 -2024/12/14 09:42:04 Client: set up bidirectional streaming RPC session. -2024/12/14 09:42:04 Client: sent SessionReq -2024/12/14 09:42:04 Client: received SessionResp -2024/12/14 09:42:04 resp matches tc.expectedResponse +2026/01/16 16:08:56 Client: connected to: [::]:35365 +2026/01/16 16:08:56 Client: set up bidirectional streaming RPC session. +2026/01/16 16:08:56 Client: sent SessionReq +2026/01/16 16:08:56 Client: received SessionResp +2026/01/16 16:08:56 resp matches tc.expectedResponse +2026/01/16 16:08:56 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled === RUN TestSetUpSession/Get_TLS_config_for_server. -2024/12/14 09:42:04 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2024/12/14 09:42:04 Client: connected to: [::]:40505 -2024/12/14 09:42:04 Client: set up bidirectional streaming RPC session. -2024/12/14 09:42:04 Client: sent SessionReq -2024/12/14 09:42:04 Client: received SessionResp -2024/12/14 09:42:04 resp matches tc.expectedResponse +2026/01/16 16:08:56 Client: connected to: [::]:35365 +2026/01/16 16:08:56 Client: set up bidirectional streaming RPC session. +2026/01/16 16:08:56 Client: sent SessionReq +2026/01/16 16:08:56 Client: received SessionResp +2026/01/16 16:08:56 resp matches tc.expectedResponse +2026/01/16 16:08:56 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled === RUN TestSetUpSession/Get_TLS_config_error_--_invalid_connection_side -2024/12/14 09:42:04 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2024/12/14 09:42:04 Client: connected to: [::]:40505 -2024/12/14 09:42:04 Client: set up bidirectional streaming RPC session. -2024/12/14 09:42:04 Client: sent SessionReq -2024/12/14 09:42:04 Client: received SessionResp -2024/12/14 09:42:04 resp matches tc.expectedResponse +2026/01/16 16:08:56 Client: connected to: [::]:35365 +2026/01/16 16:08:56 Client: set up bidirectional streaming RPC session. +2026/01/16 16:08:56 Client: sent SessionReq +2026/01/16 16:08:56 Client: received SessionResp +2026/01/16 16:08:56 resp matches tc.expectedResponse +2026/01/16 16:08:56 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled === RUN TestSetUpSession/Get_TLS_config_error_--_invalid_token -2024/12/14 09:42:04 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2024/12/14 09:42:04 Client: connected to: [::]:40505 -2024/12/14 09:42:04 Client: set up bidirectional streaming RPC session. -2024/12/14 09:42:04 Client: sent SessionReq -2024/12/14 09:42:04 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token -2024/12/14 09:42:04 Client: received SessionResp -2024/12/14 09:42:04 resp matches tc.expectedResponse +2026/01/16 16:08:56 Client: connected to: [::]:35365 +2026/01/16 16:08:56 Client: set up bidirectional streaming RPC session. +2026/01/16 16:08:56 Client: sent SessionReq +2026/01/16 16:08:56 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token +2026/01/16 16:08:56 Client: received SessionResp +2026/01/16 16:08:56 resp matches tc.expectedResponse === RUN TestSetUpSession/Get_server_TLS_config_--_empty_authmechanisms_(S2A_ACCESS_TOKEN_env_var_not_set) -2024/12/14 09:42:04 Client: connected to: [::]:40505 -2024/12/14 09:42:04 Client: set up bidirectional streaming RPC session. -2024/12/14 09:42:04 Client: sent SessionReq -2024/12/14 09:42:04 Client: received SessionResp -2024/12/14 09:42:04 resp matches tc.expectedResponse +2026/01/16 16:08:56 Client: connected to: [::]:35365 +2026/01/16 16:08:56 Client: set up bidirectional streaming RPC session. +2026/01/16 16:08:56 Client: sent SessionReq +2026/01/16 16:08:56 Client: received SessionResp +2026/01/16 16:08:56 resp matches tc.expectedResponse === RUN TestSetUpSession/Client_Peer_Verification -2024/12/14 09:42:04 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2024/12/14 09:42:04 Client: connected to: [::]:40505 -2024/12/14 09:42:04 Client: set up bidirectional streaming RPC session. -2024/12/14 09:42:04 Client: sent SessionReq -2024/12/14 09:42:04 Client: received SessionResp -2024/12/14 09:42:04 resp matches tc.expectedResponse +2026/01/16 16:08:56 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2026/01/16 16:08:56 Client: connected to: [::]:35365 +2026/01/16 16:08:56 Client: set up bidirectional streaming RPC session. +2026/01/16 16:08:56 Client: sent SessionReq +2026/01/16 16:08:56 Client: received SessionResp +2026/01/16 16:08:56 resp matches tc.expectedResponse +2026/01/16 16:08:56 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled === RUN TestSetUpSession/Client_Peer_Verification_--_failure -2024/12/14 09:42:04 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2024/12/14 09:42:04 Client: connected to: [::]:40505 -2024/12/14 09:42:04 Client: set up bidirectional streaming RPC session. -2024/12/14 09:42:04 Client: sent SessionReq -2024/12/14 09:42:04 Client: received SessionResp -2024/12/14 09:42:04 resp matches tc.expectedResponse +2026/01/16 16:08:56 Client: connected to: [::]:35365 +2026/01/16 16:08:56 Client: set up bidirectional streaming RPC session. +2026/01/16 16:08:56 Client: sent SessionReq +2026/01/16 16:08:56 Client: received SessionResp +2026/01/16 16:08:56 resp matches tc.expectedResponse +2026/01/16 16:08:56 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled === RUN TestSetUpSession/Server_Peer_Verification -2024/12/14 09:42:04 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2024/12/14 09:42:04 Client: connected to: [::]:40505 -2024/12/14 09:42:04 Client: set up bidirectional streaming RPC session. -2024/12/14 09:42:04 Client: sent SessionReq -2024/12/14 09:42:04 Client: received SessionResp -2024/12/14 09:42:04 resp matches tc.expectedResponse -2024/12/14 09:42:04 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled ---- PASS: TestSetUpSession (0.14s) - --- PASS: TestSetUpSession/Get_TLS_config_for_client. (0.03s) - --- PASS: TestSetUpSession/Get_TLS_config_for_server. (0.01s) - --- PASS: TestSetUpSession/Get_TLS_config_error_--_invalid_connection_side (0.01s) - --- PASS: TestSetUpSession/Get_TLS_config_error_--_invalid_token (0.01s) - --- PASS: TestSetUpSession/Get_server_TLS_config_--_empty_authmechanisms_(S2A_ACCESS_TOKEN_env_var_not_set) (0.03s) - --- PASS: TestSetUpSession/Client_Peer_Verification (0.04s) - --- PASS: TestSetUpSession/Client_Peer_Verification_--_failure (0.01s) - --- PASS: TestSetUpSession/Server_Peer_Verification (0.01s) +2026/01/16 16:08:56 Client: connected to: [::]:35365 +2026/01/16 16:08:56 Client: set up bidirectional streaming RPC session. +2026/01/16 16:08:56 Client: sent SessionReq +2026/01/16 16:08:56 Client: received SessionResp +2026/01/16 16:08:56 resp matches tc.expectedResponse +2026/01/16 16:08:56 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +--- PASS: TestSetUpSession (0.02s) + --- 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/Server_Peer_Verification (0.00s) === RUN TestSetUpSessionPrivateKeyOperation -2024/12/14 09:42:04 Server: started gRPC Fake S2Av2 Server on address: [::]:36585 +2026/01/16 16:08:56 Server: started gRPC Fake S2Av2 Server on address: [::]:33157 === RUN TestSetUpSessionPrivateKeyOperation/client_side_private_key_operation -2024/12/14 09:42:04 Client: connected to: [::]:36585 -2024/12/14 09:42:04 Client: set up bidirectional streaming RPC session. -2024/12/14 09:42:04 Client: sent SessionReq -2024/12/14 09:42:04 Client: received SessionResp -2024/12/14 09:42:04 resp matches tc.expectedResponse +2026/01/16 16:08:56 Client: connected to: [::]:33157 +2026/01/16 16:08:56 Client: set up bidirectional streaming RPC session. +2026/01/16 16:08:56 Client: sent SessionReq +2026/01/16 16:08:56 Client: received SessionResp +2026/01/16 16:08:56 resp matches tc.expectedResponse +2026/01/16 16:08:56 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled === RUN TestSetUpSessionPrivateKeyOperation/server_side_private_key_operation -2024/12/14 09:42:04 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2024/12/14 09:42:04 Client: connected to: [::]:36585 -2024/12/14 09:42:04 Client: set up bidirectional streaming RPC session. -2024/12/14 09:42:04 Client: sent SessionReq -2024/12/14 09:42:04 Client: received SessionResp -2024/12/14 09:42:04 resp matches tc.expectedResponse +2026/01/16 16:08:56 Client: connected to: [::]:33157 +2026/01/16 16:08:56 Client: set up bidirectional streaming RPC session. +2026/01/16 16:08:56 Client: sent SessionReq +2026/01/16 16:08:56 Client: received SessionResp +2026/01/16 16:08:56 resp matches tc.expectedResponse +2026/01/16 16:08:56 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled === RUN TestSetUpSessionPrivateKeyOperation/client_side_private_key_operation_--_invalid_signature_algorithm -2024/12/14 09:42:04 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2024/12/14 09:42:04 Client: connected to: [::]:36585 -2024/12/14 09:42:04 Client: set up bidirectional streaming RPC session. -2024/12/14 09:42:04 Client: sent SessionReq -2024/12/14 09:42:04 Client: received SessionResp -2024/12/14 09:42:04 resp matches tc.expectedResponse -2024/12/14 09:42:04 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled ---- PASS: TestSetUpSessionPrivateKeyOperation (0.07s) - --- PASS: TestSetUpSessionPrivateKeyOperation/client_side_private_key_operation (0.02s) - --- PASS: TestSetUpSessionPrivateKeyOperation/server_side_private_key_operation (0.02s) - --- PASS: TestSetUpSessionPrivateKeyOperation/client_side_private_key_operation_--_invalid_signature_algorithm (0.01s) +2026/01/16 16:08:56 Client: connected to: [::]:33157 +2026/01/16 16:08:56 Client: set up bidirectional streaming RPC session. +2026/01/16 16:08:56 Client: sent SessionReq +2026/01/16 16:08:56 Client: received SessionResp +2026/01/16 16:08:56 resp matches tc.expectedResponse +2026/01/16 16:08:56 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +--- PASS: TestSetUpSessionPrivateKeyOperation (0.02s) + --- 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.287s +ok github.com/google/s2a-go/internal/v2/fakes2av2 0.044s === RUN TestSign -2024/12/14 09:42:04 Server: started gRPC fake S2Av2 Server on address: [::]:33431 +2026/01/16 16:08:56 Server: started gRPC fake S2Av2 Server on address: [::]:32779 === RUN TestSign/Sign_with_client_key -2024/12/14 09:42:04 Client: connected to: [::]:33431 -2024/12/14 09:42:04 Client: set up bidirectional streaming RPC session. -2024/12/14 09:42:04 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2026/01/16 16:08:56 Client: connected to: [::]:32779 +2026/01/16 16:08:56 Client: set up bidirectional streaming RPC session. === RUN TestSign/Sign_with_server_key -2024/12/14 09:42:04 Client: connected to: [::]:33431 -2024/12/14 09:42:04 Client: set up bidirectional streaming RPC session. -2024/12/14 09:42:04 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled ---- PASS: TestSign (0.08s) - --- PASS: TestSign/Sign_with_client_key (0.04s) - --- PASS: TestSign/Sign_with_server_key (0.03s) +2026/01/16 16:08:56 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2026/01/16 16:08:56 Client: connected to: [::]:32779 +2026/01/16 16:08:56 Client: set up bidirectional streaming RPC session. +2026/01/16 16:08:56 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +--- PASS: TestSign (0.02s) + --- PASS: TestSign/Sign_with_client_key (0.01s) + --- PASS: TestSign/Sign_with_server_key (0.01s) === RUN TestNew --- PASS: TestNew (0.00s) === RUN TestGetSignatureAlgorithm @@ -2674,39 +2711,39 @@ --- PASS: TestGetSignReq/ECDSA_SHA512 (0.00s) --- PASS: TestGetSignReq/ED25519 (0.00s) PASS -ok github.com/google/s2a-go/internal/v2/remotesigner 0.162s +ok github.com/google/s2a-go/internal/v2/remotesigner 0.034s === RUN TestTLSConfigStoreClient -2024/12/14 09:42:04 Server: started gRPC fake S2Av2 Server on address: [::]:43639 +2026/01/16 16:08:56 Server: started gRPC fake S2Av2 Server on address: [::]:40391 === RUN TestTLSConfigStoreClient/static_-_nil_tokenManager -2024/12/14 09:42:04 Client: connected to: [::]:43639 -2024/12/14 09:42:04 Client: set up bidirectional streaming RPC session. +2026/01/16 16:08:56 Client: connected to: [::]:40391 +2026/01/16 16:08:56 Client: set up bidirectional streaming RPC session. +2026/01/16 16:08:56 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled === RUN TestTLSConfigStoreClient/static_-_non-nil_tokenManager -2024/12/14 09:42:04 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2024/12/14 09:42:04 Client: connected to: [::]:43639 -2024/12/14 09:42:04 Client: set up bidirectional streaming RPC session. -2024/12/14 09:42:04 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2026/01/16 16:08:56 Client: connected to: [::]:40391 +2026/01/16 16:08:56 Client: set up bidirectional streaming RPC session. +2026/01/16 16:08:56 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_-_non-nil_tokenManager (0.00s) === RUN TestTLSConfigStoreClientWithoutCredentials -2024/12/14 09:42:04 Server: started gRPC fake S2Av2 Server on address: [::]:45011 -2024/12/14 09:42:04 Client: connected to: [::]:45011 -2024/12/14 09:42:04 Client: set up bidirectional streaming RPC session. -2024/12/14 09:42:04 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled ---- PASS: TestTLSConfigStoreClientWithoutCredentials (0.01s) +2026/01/16 16:08:56 Server: started gRPC fake S2Av2 Server on address: [::]:39407 +2026/01/16 16:08:56 Client: connected to: [::]:39407 +2026/01/16 16:08:56 Client: set up bidirectional streaming RPC session. +--- PASS: TestTLSConfigStoreClientWithoutCredentials (0.00s) === RUN TestTLSConfigStoreServer -2024/12/14 09:42:04 Server: started gRPC fake S2Av2 Server on address: [::]:35791 +2026/01/16 16:08:56 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2026/01/16 16:08:56 Server: started gRPC fake S2Av2 Server on address: [::]:37615 === RUN TestTLSConfigStoreServer/static_-_nil_tokenManager -2024/12/14 09:42:04 Client: connected to: [::]:35791 -2024/12/14 09:42:04 Client: set up bidirectional streaming RPC session. +2026/01/16 16:08:56 Client: connected to: [::]:37615 +2026/01/16 16:08:56 Client: set up bidirectional streaming RPC session. +2026/01/16 16:08:56 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled === RUN TestTLSConfigStoreServer/static_-_non-nil_tokenManager -2024/12/14 09:42:04 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2024/12/14 09:42:04 Client: connected to: [::]:35791 -2024/12/14 09:42:04 Client: set up bidirectional streaming RPC session. ---- PASS: TestTLSConfigStoreServer (0.01s) +2026/01/16 16:08:56 Client: connected to: [::]:37615 +2026/01/16 16:08:56 Client: set up bidirectional streaming RPC session. +2026/01/16 16:08:56 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) --- PASS: TestTLSConfigStoreServer/static_-_non-nil_tokenManager (0.00s) -2024/12/14 09:42:04 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled === RUN TestGetTLSMinMaxVersionsClient --- PASS: TestGetTLSMinMaxVersionsClient (0.00s) === RUN TestGetTLSMinMaxVersionsServer @@ -2720,29 +2757,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 -2024/12/14 09:42:04 Server: started gRPC fake S2Av2 Server on address: [::]:40457 +2026/01/16 16:08:56 Server: started gRPC fake S2Av2 Server on address: [::]:35363 === RUN TestGetServerConfigFromS2Av2/empty_accessToken_and_empty_localIdentities -2024/12/14 09:42:04 Client: connected to: [::]:40457 -2024/12/14 09:42:04 Client: set up bidirectional streaming RPC session. -2024/12/14 09:42:04 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token +2026/01/16 16:08:56 Client: connected to: [::]:35363 +2026/01/16 16:08:56 Client: set up bidirectional streaming RPC session. +2026/01/16 16:08:56 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token === RUN TestGetServerConfigFromS2Av2/invalid_accessToken -2024/12/14 09:42:04 Client: connected to: [::]:40457 -2024/12/14 09:42:04 Client: set up bidirectional streaming RPC session. -2024/12/14 09:42:04 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token +2026/01/16 16:08:56 Client: connected to: [::]:35363 +2026/01/16 16:08:56 Client: set up bidirectional streaming RPC session. +2026/01/16 16:08:56 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token === RUN TestGetServerConfigFromS2Av2/correct_accessToken_and_non_-_empty_localIdentities -2024/12/14 09:42:04 Client: connected to: [::]:40457 -2024/12/14 09:42:04 Client: set up bidirectional streaming RPC session. -2024/12/14 09:42:04 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled ---- PASS: TestGetServerConfigFromS2Av2 (0.02s) +2026/01/16 16:08:56 Client: connected to: [::]:35363 +2026/01/16 16:08:56 Client: set up bidirectional streaming RPC session. +2026/01/16 16:08:56 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +--- PASS: TestGetServerConfigFromS2Av2 (0.00s) --- PASS: TestGetServerConfigFromS2Av2/empty_accessToken_and_empty_localIdentities (0.00s) - --- PASS: TestGetServerConfigFromS2Av2/invalid_accessToken (0.01s) - --- PASS: TestGetServerConfigFromS2Av2/correct_accessToken_and_non_-_empty_localIdentities (0.01s) + --- PASS: TestGetServerConfigFromS2Av2/invalid_accessToken (0.00s) + --- PASS: TestGetServerConfigFromS2Av2/correct_accessToken_and_non_-_empty_localIdentities (0.00s) === RUN TestGetClientConfig -2024/12/14 09:42:04 Server: started gRPC fake S2Av2 Server on address: [::]:41681 +2026/01/16 16:08:56 Server: started gRPC fake S2Av2 Server on address: [::]:42919 === RUN TestGetClientConfig/static -2024/12/14 09:42:04 Client: connected to: [::]:41681 -2024/12/14 09:42:04 Client: set up bidirectional streaming RPC session. -2024/12/14 09:42:04 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2026/01/16 16:08:56 Client: connected to: [::]:42919 +2026/01/16 16:08:56 Client: set up bidirectional streaming RPC session. +2026/01/16 16:08:56 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 @@ -2788,7 +2825,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.085s +ok github.com/google/s2a-go/internal/v2/tlsconfigstore 0.028s === RUN TestS2ARetryer === RUN TestS2ARetryer/retry_on_err === RUN TestS2ARetryer/don't_retry_if_err_is_nil @@ -2800,9 +2837,9 @@ === RUN TestDefaultBackoff --- PASS: TestDefaultBackoff (0.00s) === RUN TestSuccessAfterRetry ---- PASS: TestSuccessAfterRetry (0.04s) +--- PASS: TestSuccessAfterRetry (0.09s) PASS -ok github.com/google/s2a-go/retry 0.068s +ok github.com/google/s2a-go/retry 0.188s create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang dh_prep -O--builddirectory=_build -O--buildsystem=golang @@ -2831,12 +2868,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/2178150/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2178150/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/746657 and its subdirectories -I: Current time: Fri Dec 13 21:42:34 -12 2024 -I: pbuilder-time-stamp: 1734169354 +I: removing directory /srv/workspace/pbuilder/2178150 and its subdirectories +I: Current time: Sat Jan 17 06:09:19 +14 2026 +I: pbuilder-time-stamp: 1768579759