Diff of the two buildlogs: -- --- b1/build.log 2024-12-14 05:28:22.174390759 +0000 +++ b2/build.log 2024-12-14 05:54:58.793829831 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Dec 13 17:24:38 -12 2024 -I: pbuilder-time-stamp: 1734153878 +I: Current time: Sat Dec 14 19:28:39 +14 2024 +I: pbuilder-time-stamp: 1734154119 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/26110/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/9189/tmp/hooks/D01_modify_environment starting +debug: Running on cbxi4a. +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 Dec 14 05:30 /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/9189/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/9189/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='armhf' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='cf934b6722b34280bd1b28fb84a1e8bf' - 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='26110' - PS1='# ' - PS2='> ' + INVOCATION_ID=a52bae2970854f448fe9cb76f3b0c263 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=9189 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.yQaXLwGZ/pbuilderrc_ZKGm --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.yQaXLwGZ/b1 --logfile b1/build.log golang-github-google-s2a-go_0.1.8-1.dsc' - SUDO_GID='113' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.yQaXLwGZ/pbuilderrc_UyC5 --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.yQaXLwGZ/b2 --logfile b2/build.log golang-github-google-s2a-go_0.1.8-1.dsc' + SUDO_GID=113 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux virt64b 6.1.0-28-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-23-armmp #1 SMP Debian 6.1.99-1 (2024-07-15) armv7l GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/26110/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/9189/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 armhf protobuf-compiler armhf 3.21.12-10+b1 [84.6 kB] Get: 81 http://deb.debian.org/debian unstable/main armhf protoc-gen-go armhf 1.33.0-1 [1240 kB] Get: 82 http://deb.debian.org/debian unstable/main armhf protoc-gen-go-grpc armhf 1.64.0-6+b1 [1202 kB] -Fetched 92.0 MB in 2s (38.3 MB/s) +Fetched 92.0 MB in 26s (3498 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 ... 19680 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/9189/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/9189/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,40 +611,39 @@ 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 3 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/goarch + cd _build && go install -trimpath -v -p 4 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/unsafeheader +internal/goarch internal/cpu -internal/byteorder +internal/coverage/rtcov internal/abi internal/chacha8rand -internal/bytealg -internal/coverage/rtcov internal/godebugs internal/goexperiment internal/goos +internal/bytealg internal/profilerecord internal/runtime/atomic internal/runtime/syscall -internal/stringslite runtime/internal/math +internal/stringslite runtime/internal/sys -internal/runtime/exithook internal/race sync/atomic internal/asan +internal/runtime/exithook internal/itoa internal/msan unicode unicode/utf8 -runtime container/list math/bits -math crypto/internal/alias crypto/internal/boring/sig cmp unicode/utf16 +math vendor/golang.org/x/crypto/cryptobyte/asn1 vendor/golang.org/x/crypto/internal/alias internal/nettrace @@ -618,146 +653,143 @@ google.golang.org/protobuf/internal/set google.golang.org/grpc/serviceconfig golang.org/x/crypto/internal/alias +runtime golang.org/x/crypto/cryptobyte/asn1 +iter crypto/subtle internal/reflectlite sync -iter slices internal/weak maps internal/testlog internal/bisect internal/singleflight +google.golang.org/protobuf/internal/pragma +runtime/cgo errors sort internal/godebug internal/oserror -syscall io +strconv +syscall bytes hash -strconv crypto/cipher crypto crypto/internal/edwards25519/field crypto/internal/boring -crypto/aes crypto/des -time -crypto/internal/randutil +crypto/aes crypto/internal/nistec/fiat +crypto/internal/randutil reflect -context +time path -io/fs -internal/filepathlite internal/syscall/unix -internal/poll -internal/fmtsort internal/syscall/execenv -os -crypto/internal/nistec math/rand strings -crypto/ecdh +context +io/fs +internal/poll +internal/filepathlite crypto/sha512 crypto/internal/edwards25519 +crypto/internal/nistec +internal/fmtsort +os crypto/hmac encoding/binary -fmt vendor/golang.org/x/crypto/hkdf -vendor/golang.org/x/crypto/chacha20 -vendor/golang.org/x/crypto/internal/poly1305 -vendor/golang.org/x/sys/cpu -vendor/golang.org/x/crypto/chacha20poly1305 crypto/md5 -vendor/golang.org/x/crypto/sha3 -math/big crypto/rc4 crypto/sha1 +crypto/ecdh crypto/sha256 -encoding/hex +vendor/golang.org/x/crypto/chacha20 +vendor/golang.org/x/crypto/internal/poly1305 encoding/base64 vendor/golang.org/x/net/dns/dnsmessage +vendor/golang.org/x/crypto/chacha20poly1305 encoding/pem math/rand/v2 +hash/fnv +fmt +vendor/golang.org/x/sys/cpu internal/concurrent unique +vendor/golang.org/x/crypto/sha3 net/netip -runtime/cgo -crypto/elliptic -crypto/internal/bigmod -crypto/internal/boring/bbig -encoding/asn1 -crypto/rand -crypto/ed25519 -crypto/internal/hpke -crypto/internal/mlkem768 -vendor/golang.org/x/crypto/cryptobyte -crypto/rsa -crypto/dsa -crypto/ecdsa -crypto/x509/pkix -net/url path/filepath +google.golang.org/protobuf/internal/detrand +embed +google.golang.org/protobuf/internal/editiondefaults +bufio +hash/crc32 +io/ioutil +math/big +encoding/hex +net/url google.golang.org/grpc/attributes encoding/json +net google.golang.org/grpc/internal/grpclog log -hash/fnv -google.golang.org/protobuf/internal/detrand google.golang.org/protobuf/internal/errors google.golang.org/protobuf/encoding/protowire -google.golang.org/protobuf/internal/pragma google.golang.org/protobuf/reflect/protoreflect -net google.golang.org/grpc/grpclog -go/token -embed +crypto/elliptic +crypto/internal/bigmod +crypto/internal/boring/bbig +encoding/asn1 +crypto/rand +crypto/dsa +crypto/ed25519 +crypto/internal/hpke +crypto/internal/mlkem768 +crypto/rsa google.golang.org/protobuf/internal/encoding/messageset +vendor/golang.org/x/crypto/cryptobyte +crypto/x509/pkix google.golang.org/protobuf/internal/genid google.golang.org/protobuf/internal/order -google.golang.org/protobuf/internal/strs +go/token google.golang.org/protobuf/reflect/protoregistry +crypto/ecdsa +google.golang.org/protobuf/internal/strs google.golang.org/protobuf/runtime/protoiface google.golang.org/protobuf/internal/descfmt google.golang.org/protobuf/proto google.golang.org/protobuf/internal/descopts -google.golang.org/protobuf/internal/editiondefaults google.golang.org/protobuf/internal/encoding/text -google.golang.org/protobuf/internal/encoding/defval -bufio -google.golang.org/protobuf/internal/filedesc compress/flate -hash/crc32 -compress/gzip -google.golang.org/protobuf/encoding/prototext -google.golang.org/protobuf/internal/encoding/tag -io/ioutil google.golang.org/protobuf/internal/version golang.org/x/net/internal/timeseries -google.golang.org/protobuf/internal/impl +google.golang.org/protobuf/internal/encoding/defval +google.golang.org/protobuf/encoding/prototext +compress/gzip +google.golang.org/protobuf/internal/filedesc html regexp/syntax -regexp text/template/parse -crypto/x509 +regexp text/template -html/template -crypto/tls -google.golang.org/protobuf/internal/filetype -google.golang.org/protobuf/runtime/protoimpl -github.com/google/s2a-go/internal/proto/common_go_proto +google.golang.org/protobuf/internal/encoding/tag +google.golang.org/protobuf/internal/impl vendor/golang.org/x/text/transform -github.com/google/s2a-go/internal/proto/s2a_context_go_proto vendor/golang.org/x/text/unicode/bidi -vendor/golang.org/x/text/unicode/norm +html/template +crypto/x509 vendor/golang.org/x/text/secure/bidirule +vendor/golang.org/x/text/unicode/norm net/textproto vendor/golang.org/x/net/http2/hpack -mime vendor/golang.org/x/net/idna +mime +crypto/tls mime/quotedprintable mime/multipart vendor/golang.org/x/net/http/httpguts @@ -768,206 +800,202 @@ google.golang.org/grpc/backoff golang.org/x/sys/unix google.golang.org/grpc/connectivity -google.golang.org/grpc/internal/credentials -net/http/httptrace -google.golang.org/grpc/credentials -net/http -github.com/google/s2a-go/fallback google.golang.org/grpc/internal/grpcrand -google.golang.org/grpc/credentials/insecure -google.golang.org/protobuf/protoadapt google.golang.org/grpc/internal/backoff +google.golang.org/grpc/internal/buffer +google.golang.org/grpc/internal/grpcsync +google.golang.org/grpc/internal/idle +google.golang.org/protobuf/internal/encoding/json +google.golang.org/protobuf/encoding/protojson +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/s2a_context_go_proto +google.golang.org/protobuf/protoadapt google.golang.org/protobuf/types/known/durationpb -github.com/golang/protobuf/ptypes/duration google.golang.org/protobuf/types/known/timestamppb +github.com/golang/protobuf/ptypes/duration github.com/golang/protobuf/ptypes/timestamp -google.golang.org/grpc/binarylog/grpc_binarylog_v1 google.golang.org/protobuf/types/known/anypb +google.golang.org/grpc/binarylog/grpc_binarylog_v1 google.golang.org/genproto/googleapis/rpc/status -google.golang.org/grpc/internal/buffer -google.golang.org/grpc/internal/grpcsync -google.golang.org/grpc/internal/idle -google.golang.org/protobuf/internal/encoding/json +google.golang.org/grpc/internal/pretty +golang.org/x/text/transform google.golang.org/grpc/internal -google.golang.org/protobuf/encoding/protojson -google.golang.org/grpc/internal/channelz -google.golang.org/grpc/channelz +golang.org/x/text/unicode/bidi +golang.org/x/text/unicode/norm google.golang.org/grpc/metadata -google.golang.org/grpc/resolver google.golang.org/grpc/codes +google.golang.org/grpc/internal/credentials +net/http/httptrace +google.golang.org/grpc/credentials +net/http google.golang.org/grpc/internal/grpcutil -google.golang.org/grpc/balancer google.golang.org/grpc/encoding google.golang.org/grpc/encoding/proto -google.golang.org/grpc/balancer/base +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/internal/balancerload google.golang.org/grpc/internal/status -google.golang.org/grpc/balancer/roundrobin -google.golang.org/grpc/internal/balancer/gracefulswitch -google.golang.org/grpc/status +google.golang.org/grpc/channelz +google.golang.org/grpc/balancer google.golang.org/grpc/internal/metadata -google.golang.org/grpc/internal/binarylog -google.golang.org/grpc/internal/pretty +google.golang.org/grpc/status +google.golang.org/grpc/internal/resolver/passthrough +google.golang.org/grpc/balancer/base google.golang.org/grpc/internal/serviceconfig +google.golang.org/grpc/internal/binarylog +google.golang.org/grpc/balancer/roundrobin +google.golang.org/grpc/internal/balancer/gracefulswitch google.golang.org/grpc/internal/resolver -google.golang.org/grpc/internal/resolver/passthrough google.golang.org/grpc/internal/transport/networktype -golang.org/x/text/transform -google.golang.org/grpc/internal/resolver/unix -golang.org/x/text/unicode/bidi -golang.org/x/text/unicode/norm golang.org/x/text/secure/bidirule +google.golang.org/grpc/internal/resolver/unix +golang.org/x/net/idna golang.org/x/net/http2/hpack google.golang.org/grpc/internal/syscall google.golang.org/grpc/keepalive -golang.org/x/net/idna google.golang.org/grpc/peer google.golang.org/grpc/stats google.golang.org/grpc/tap google.golang.org/grpc/balancer/grpclb/state google.golang.org/grpc/internal/envconfig google.golang.org/grpc/internal/resolver/dns/internal -google.golang.org/grpc/internal/resolver/dns -google.golang.org/grpc/resolver/dns golang.org/x/crypto/chacha20 -golang.org/x/net/trace -golang.org/x/net/http/httpguts -net/http/httputil -golang.org/x/net/http2 +google.golang.org/grpc/internal/resolver/dns golang.org/x/crypto/internal/poly1305 +golang.org/x/net/http/httpguts +google.golang.org/grpc/resolver/dns golang.org/x/crypto/cryptobyte -golang.org/x/crypto/chacha20poly1305 -github.com/google/s2a-go/internal/record/internal/aeadcrypter golang.org/x/crypto/hkdf +golang.org/x/crypto/chacha20poly1305 github.com/google/s2a-go/internal/proto/v2/common_go_proto -github.com/google/s2a-go/internal/record/internal/halfconn +github.com/google/s2a-go/internal/record/internal/aeadcrypter github.com/google/s2a-go/retry +flag github.com/google/s2a-go/internal/tokenmanager github.com/google/s2a-go/internal/proto/v2/s2a_context_go_proto -flag +github.com/google/s2a-go/internal/record/internal/halfconn internal/sysinfo runtime/debug runtime/trace testing -google.golang.org/grpc/internal/transport github.com/google/s2a-go/internal/record/internal/aeadcrypter/testutil +golang.org/x/net/trace +net/http/httputil +golang.org/x/net/http2 +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/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/record +github.com/google/s2a-go/internal/proto/v2/s2a_go_proto github.com/google/s2a-go/internal/fakehandshaker/service +github.com/google/s2a-go/internal/record +github.com/google/s2a-go/internal/authinfo github.com/google/s2a-go/stream github.com/google/s2a-go/internal/v2/fakes2av2 -github.com/google/s2a-go/internal/v2/certverifier github.com/google/s2a-go/internal/handshaker github.com/google/s2a-go/internal/v2/remotesigner +github.com/google/s2a-go/internal/v2/certverifier 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 3 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] -? github.com/google/s2a-go/internal/proto/s2a_go_proto [no test files] -? github.com/google/s2a-go/internal/proto/v2/common_go_proto [no test files] -? github.com/google/s2a-go/internal/proto/v2/s2a_context_go_proto [no test files] -? github.com/google/s2a-go/internal/proto/v2/s2a_go_proto [no test files] -? github.com/google/s2a-go/internal/record/internal/aeadcrypter/testutil [no test files] + cd _build && go test -vet=off -v -p 4 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.01s) +--- PASS: TestV1EndToEndUsingFakeS2AOverTCP (0.14s) === RUN TestV2EndToEndUsingFakeS2AOverTCP -2024/12/14 05:27:46 Fake S2A Service: failed to receive SessionReq: EOF -2024/12/14 05:27:46 Fake S2A Service: failed to receive SessionReq: EOF ---- PASS: TestV2EndToEndUsingFakeS2AOverTCP (0.08s) +2024/12/14 05:51:39 Fake S2A Service: failed to receive SessionReq: EOF +2024/12/14 05:51:39 Fake S2A Service: failed to receive SessionReq: EOF +--- PASS: TestV2EndToEndUsingFakeS2AOverTCP (0.39s) === RUN TestV2EndToEndUsingFakeMTLSS2AOverTCP -2024/12/14 05:27:47 Fake S2A Service: failed to receive SessionReq: EOF -2024/12/14 05:27:47 Fake S2A Service: failed to receive SessionReq: EOF ---- PASS: TestV2EndToEndUsingFakeMTLSS2AOverTCP (0.15s) +2024/12/14 05:51:40 Fake S2A Service: failed to receive SessionReq: EOF +2024/12/14 05:51:40 Fake S2A Service: failed to receive SessionReq: EOF +--- PASS: TestV2EndToEndUsingFakeMTLSS2AOverTCP (1.20s) === RUN TestV2EndToEndUsingFakeMTLSS2AOverTCP_SelfSignedClientTransportCreds - s2a_e2e_test.go:353: server running at address: [::]:43119 - s2a_e2e_test.go:354: fallback server running at address: [::]:45699 -2024/12/14 05:27:48 Fake S2A Service: failed to receive SessionReq: EOF ---- PASS: TestV2EndToEndUsingFakeMTLSS2AOverTCP_SelfSignedClientTransportCreds (1.25s) + s2a_e2e_test.go:353: server running at address: [::]:39873 + s2a_e2e_test.go:354: fallback server running at address: [::]:42299 +2024/12/14 05:51:42 Fake S2A Service: failed to receive SessionReq: EOF +--- PASS: TestV2EndToEndUsingFakeMTLSS2AOverTCP_SelfSignedClientTransportCreds (2.09s) === RUN TestV2GRPCFallbackEndToEndUsingFakeS2AOverTCP - s2a_e2e_test.go:456: server running at address: [::]:38449 - s2a_e2e_test.go:457: fallback server running at address: [::]:38549 -2024/12/14 05:27:49 Fake S2A Service: failed to receive SessionReq: EOF ---- PASS: TestV2GRPCFallbackEndToEndUsingFakeS2AOverTCP (1.55s) + s2a_e2e_test.go:456: server running at address: [::]:37797 + s2a_e2e_test.go:457: fallback server running at address: [::]:33501 +2024/12/14 05:51:44 Fake S2A Service: failed to receive SessionReq: EOF +--- PASS: TestV2GRPCFallbackEndToEndUsingFakeS2AOverTCP (1.71s) === RUN TestV2GRPCRetryAndFallbackEndToEndUsingFakeS2AOverTCP - s2a_e2e_test.go:500: server running at address: [::]:42245 - s2a_e2e_test.go:501: fallback server running at address: [::]:34719 -2024/12/14 05:27:49 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token -2024/12/14 05:27:51 Fake S2A Service: failed to receive SessionReq: EOF ---- PASS: TestV2GRPCRetryAndFallbackEndToEndUsingFakeS2AOverTCP (1.21s) + s2a_e2e_test.go:500: server running at address: [::]:37371 + s2a_e2e_test.go:501: fallback server running at address: [::]:35649 +2024/12/14 05:51:44 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token +2024/12/14 05:51:45 Fake S2A Service: failed to receive SessionReq: EOF +--- PASS: TestV2GRPCRetryAndFallbackEndToEndUsingFakeS2AOverTCP (1.97s) === RUN TestV1EndToEndUsingTokens ---- PASS: TestV1EndToEndUsingTokens (0.01s) +--- PASS: TestV1EndToEndUsingTokens (0.09s) === RUN TestV2EndToEndUsingTokens -2024/12/14 05:27:51 Fake S2A Service: failed to receive SessionReq: EOF -2024/12/14 05:27:51 Fake S2A Service: failed to receive SessionReq: EOF ---- PASS: TestV2EndToEndUsingTokens (0.09s) +2024/12/14 05:51:46 Fake S2A Service: failed to receive SessionReq: EOF +2024/12/14 05:51:46 Fake S2A Service: failed to receive SessionReq: EOF +--- PASS: TestV2EndToEndUsingTokens (0.59s) === RUN TestV2EndToEndEmptyToken -2024/12/14 05:27:51 Fake S2A Service: failed to receive SessionReq: EOF -2024/12/14 05:27:51 Fake S2A Service: failed to receive SessionReq: EOF ---- PASS: TestV2EndToEndEmptyToken (0.10s) +2024/12/14 05:51:47 Fake S2A Service: failed to receive SessionReq: EOF +2024/12/14 05:51:47 Fake S2A Service: failed to receive SessionReq: EOF +--- PASS: TestV2EndToEndEmptyToken (0.37s) === RUN TestV1EndToEndUsingFakeS2AOnUDS ---- PASS: TestV1EndToEndUsingFakeS2AOnUDS (0.01s) +--- PASS: TestV1EndToEndUsingFakeS2AOnUDS (0.11s) === RUN TestV2EndToEndUsingFakeS2AOnUDS -2024/12/14 05:27:51 Fake S2A Service: failed to receive SessionReq: EOF -2024/12/14 05:27:51 Fake S2A Service: failed to receive SessionReq: EOF ---- PASS: TestV2EndToEndUsingFakeS2AOnUDS (0.09s) +2024/12/14 05:51:47 Fake S2A Service: failed to receive SessionReq: EOF +2024/12/14 05:51:47 Fake S2A Service: failed to receive SessionReq: EOF +--- PASS: TestV2EndToEndUsingFakeS2AOnUDS (0.53s) === RUN TestNewTLSClientConfigFactoryWithTokenManager ---- PASS: TestNewTLSClientConfigFactoryWithTokenManager (0.00s) +--- PASS: TestNewTLSClientConfigFactoryWithTokenManager (0.02s) === RUN TestNewTLSClientConfigFactoryWithoutTokenManager -2024/12/14 05:27:51 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled ---- PASS: TestNewTLSClientConfigFactoryWithoutTokenManager (0.00s) +2024/12/14 05:51:47 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +--- PASS: TestNewTLSClientConfigFactoryWithoutTokenManager (0.02s) === RUN TestHTTPEndToEndUsingFakeS2AOverTCP - s2a_e2e_test.go:739: fake handshaker for client running at address: [::]:45261 - s2a_e2e_test.go:743: HTTP server running at address: [::]:34077 - s2a_e2e_test.go:713: reqURL is set to: https://[::]:34077/hello -2024/12/14 05:27:51 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2024/12/14 05:27:51 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled ---- PASS: TestHTTPEndToEndUsingFakeS2AOverTCP (0.04s) + s2a_e2e_test.go:739: fake handshaker for client running at address: [::]:43283 +2024/12/14 05:51:47 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled + s2a_e2e_test.go:743: HTTP server running at address: [::]:37911 + s2a_e2e_test.go:713: reqURL is set to: https://[::]:37911/hello +2024/12/14 05:51:48 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +--- PASS: TestHTTPEndToEndUsingFakeS2AOverTCP (0.33s) === RUN TestHTTPEndToEndSUsingFakeMTLSS2AOverTCP - s2a_e2e_test.go:768: fake handshaker for client running at address: [::]:38739 - s2a_e2e_test.go:772: HTTP server running at address: [::]:36621 - s2a_e2e_test.go:713: reqURL is set to: https://[::]:36621/hello -2024/12/14 05:27:51 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled ---- PASS: TestHTTPEndToEndSUsingFakeMTLSS2AOverTCP (0.11s) + s2a_e2e_test.go:768: fake handshaker for client running at address: [::]:35255 + s2a_e2e_test.go:772: HTTP server running at address: [::]:43903 + s2a_e2e_test.go:713: reqURL is set to: https://[::]:43903/hello +2024/12/14 05:51:48 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +--- PASS: TestHTTPEndToEndSUsingFakeMTLSS2AOverTCP (0.77s) === RUN TestHTTPEndToEndSUsingFakeMTLSS2AOverTCP_SelfSignedClientTransportCreds - s2a_e2e_test.go:799: fake handshaker for client running at address: [::]:37311 - s2a_e2e_test.go:802: HTTP server running at address: [::]:42173 - s2a_e2e_test.go:805: fallback HTTP server running at address: [::]:36557 - s2a_e2e_test.go:713: reqURL is set to: https://[::]:42173/hello ---- PASS: TestHTTPEndToEndSUsingFakeMTLSS2AOverTCP_SelfSignedClientTransportCreds (1.53s) + s2a_e2e_test.go:799: fake handshaker for client running at address: [::]:42417 + s2a_e2e_test.go:802: HTTP server running at address: [::]:44183 + s2a_e2e_test.go:805: fallback HTTP server running at address: [::]:33177 + s2a_e2e_test.go:713: reqURL is set to: https://[::]:44183/hello +--- PASS: TestHTTPEndToEndSUsingFakeMTLSS2AOverTCP_SelfSignedClientTransportCreds (1.73s) === RUN TestHTTPFallbackEndToEndUsingFakeS2AOverTCP - s2a_e2e_test.go:844: HTTP server running at address: [::]:37893 - s2a_e2e_test.go:847: fallback HTTP server running at address: [::]:36275 - s2a_e2e_test.go:713: reqURL is set to: https://[::]:37893/hello ---- PASS: TestHTTPFallbackEndToEndUsingFakeS2AOverTCP (2.18s) + s2a_e2e_test.go:844: HTTP server running at address: [::]:43639 + s2a_e2e_test.go:847: fallback HTTP server running at address: [::]:35983 + s2a_e2e_test.go:713: reqURL is set to: https://[::]:43639/hello +--- PASS: TestHTTPFallbackEndToEndUsingFakeS2AOverTCP (0.67s) === RUN TestHTTPRetryAndFallbackEndToEndUsingFakeS2AOverTCP - s2a_e2e_test.go:886: fake handshaker for client running at address: [::]:42615 - s2a_e2e_test.go:889: HTTP server running at address: [::]:38767 - s2a_e2e_test.go:892: fallback HTTP server running at address: [::]:44851 - s2a_e2e_test.go:713: reqURL is set to: https://[::]:38767/hello -2024/12/14 05:27:55 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token -2024/12/14 05:27:55 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token -2024/12/14 05:27:55 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token -2024/12/14 05:27:55 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token -2024/12/14 05:27:56 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token -2024/12/14 05:27:56 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token ---- PASS: TestHTTPRetryAndFallbackEndToEndUsingFakeS2AOverTCP (1.43s) + s2a_e2e_test.go:886: fake handshaker for client running at address: [::]:34757 + s2a_e2e_test.go:889: HTTP server running at address: [::]:40869 + s2a_e2e_test.go:892: fallback HTTP server running at address: [::]:44085 + s2a_e2e_test.go:713: reqURL is set to: https://[::]:40869/hello +2024/12/14 05:51:51 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token +2024/12/14 05:51:51 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token +2024/12/14 05:51:51 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token +2024/12/14 05:51:51 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token +2024/12/14 05:51:52 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token +2024/12/14 05:51:52 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token +--- PASS: TestHTTPRetryAndFallbackEndToEndUsingFakeS2AOverTCP (1.89s) === RUN TestToProtoIdentity === RUN TestToProtoIdentity/spiffe_id:"test_spiffe_id" === RUN TestToProtoIdentity/hostname:"test_hostname" === RUN TestToProtoIdentity/uid:"test_uid" === RUN TestToProtoIdentity/ ---- PASS: TestToProtoIdentity (0.00s) - --- PASS: TestToProtoIdentity/spiffe_id:"test_spiffe_id" (0.00s) +--- PASS: TestToProtoIdentity (0.02s) + --- PASS: TestToProtoIdentity/spiffe_id:"test_spiffe_id" (0.01s) --- PASS: TestToProtoIdentity/hostname:"test_hostname" (0.00s) --- PASS: TestToProtoIdentity/uid:"test_uid" (0.00s) --- PASS: TestToProtoIdentity/ (0.00s) @@ -976,27 +1004,27 @@ === RUN TestNewClientCreds/only_spiffe_IDs === RUN TestNewClientCreds/only_UIDs === RUN TestNewClientCreds/mixed_identities ---- PASS: TestNewClientCreds (0.00s) - --- PASS: TestNewClientCreds/only_hostnames (0.00s) +--- PASS: TestNewClientCreds (0.03s) + --- PASS: TestNewClientCreds/only_hostnames (0.01s) --- PASS: TestNewClientCreds/only_spiffe_IDs (0.00s) - --- PASS: TestNewClientCreds/only_UIDs (0.00s) - --- PASS: TestNewClientCreds/mixed_identities (0.00s) + --- PASS: TestNewClientCreds/only_UIDs (0.01s) + --- PASS: TestNewClientCreds/mixed_identities (0.01s) === RUN TestNewServerCreds === RUN TestNewServerCreds/only_hostnames === RUN TestNewServerCreds/only_spiffe_IDs === RUN TestNewServerCreds/only_UIDs === RUN TestNewServerCreds/mixed_identities ---- PASS: TestNewServerCreds (0.00s) +--- PASS: TestNewServerCreds (0.02s) --- PASS: TestNewServerCreds/only_hostnames (0.00s) - --- PASS: TestNewServerCreds/only_spiffe_IDs (0.00s) + --- PASS: TestNewServerCreds/only_spiffe_IDs (0.01s) --- PASS: TestNewServerCreds/only_UIDs (0.00s) - --- PASS: TestNewServerCreds/mixed_identities (0.00s) + --- PASS: TestNewServerCreds/mixed_identities (0.01s) === RUN TestHandshakeFail --- PASS: TestHandshakeFail (0.00s) === RUN TestInfo --- PASS: TestInfo (0.00s) === RUN TestCloneClient ---- PASS: TestCloneClient (0.00s) +--- PASS: TestCloneClient (0.01s) === RUN TestCloneServer --- PASS: TestCloneServer (0.01s) === RUN TestOverrideServerName @@ -1005,7 +1033,7 @@ === RUN TestGetVerificationMode/connect_to_google === RUN TestGetVerificationMode/spiffe === RUN TestGetVerificationMode/unspecified ---- PASS: TestGetVerificationMode (0.00s) +--- PASS: TestGetVerificationMode (0.01s) --- PASS: TestGetVerificationMode/connect_to_google (0.00s) --- PASS: TestGetVerificationMode/spiffe (0.00s) --- PASS: TestGetVerificationMode/unspecified (0.00s) @@ -1014,25 +1042,25 @@ === RUN TestAuthInfoFromPeer --- PASS: TestAuthInfoFromPeer (0.00s) PASS -ok github.com/google/s2a-go 9.883s +ok github.com/google/s2a-go 15.009s === RUN TestDefaultFallbackClientHandshakeFunc --- PASS: TestDefaultFallbackClientHandshakeFunc (0.00s) === RUN TestDefaultFallbackDialerAndAddress --- PASS: TestDefaultFallbackDialerAndAddress (0.00s) PASS -ok github.com/google/s2a-go/fallback 0.007s +ok github.com/google/s2a-go/fallback 0.109s === RUN TestS2AAuthInfo === RUN TestS2AAuthInfo/basic_1 === RUN TestS2AAuthInfo/basic_2 === RUN TestS2AAuthInfo/nil_identities_and_fingerprints === RUN TestS2AAuthInfo/nil_session_result ---- PASS: TestS2AAuthInfo (0.00s) +--- PASS: TestS2AAuthInfo (0.01s) --- PASS: TestS2AAuthInfo/basic_1 (0.00s) --- PASS: TestS2AAuthInfo/basic_2 (0.00s) --- 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.011s +ok github.com/google/s2a-go/internal/authinfo 0.095s === RUN TestSetupSession === RUN TestSetupSession/client_failure_no_app_protocols === RUN TestSetupSession/client_failure_non_initial_state @@ -1041,13 +1069,13 @@ === RUN TestSetupSession/server_failure_non_initial_state === RUN TestSetupSession/server_test === RUN TestSetupSession/resumption_ticket_test ---- PASS: TestSetupSession (0.01s) +--- PASS: TestSetupSession (0.08s) --- PASS: TestSetupSession/client_failure_no_app_protocols (0.00s) - --- PASS: TestSetupSession/client_failure_non_initial_state (0.00s) - --- PASS: TestSetupSession/client_test (0.00s) + --- PASS: TestSetupSession/client_failure_non_initial_state (0.01s) + --- PASS: TestSetupSession/client_test (0.03s) --- PASS: TestSetupSession/server_failure_no_app_protocols (0.00s) - --- PASS: TestSetupSession/server_failure_non_initial_state (0.00s) - --- PASS: TestSetupSession/server_test (0.00s) + --- PASS: TestSetupSession/server_failure_non_initial_state (0.01s) + --- PASS: TestSetupSession/server_test (0.02s) --- PASS: TestSetupSession/resumption_ticket_test (0.00s) === RUN TestAuthenticateRequest === RUN TestAuthenticateRequest/access_token_env_variable_is_not_set @@ -1060,7 +1088,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.022s +ok github.com/google/s2a-go/internal/fakehandshaker/service 0.285s === RUN TestNewClientHandshaker --- PASS: TestNewClientHandshaker (0.00s) === RUN TestNewServerHandshaker @@ -1071,62 +1099,70 @@ === RUN TestClientHandshakeSuccess/full_client_options_with_no_local_identity === RUN TestClientHandshakeSuccess/full_client_options,_sending_tokens === RUN TestClientHandshakeSuccess/full_client_options_with_no_local_identity,_sending_tokens ---- PASS: TestClientHandshakeSuccess (0.01s) - --- PASS: TestClientHandshakeSuccess/full_client_options (0.00s) - --- PASS: TestClientHandshakeSuccess/full_client_options_with_no_port_in_target_name (0.00s) - --- PASS: TestClientHandshakeSuccess/full_client_options_with_no_local_identity (0.00s) - --- PASS: TestClientHandshakeSuccess/full_client_options,_sending_tokens (0.00s) - --- PASS: TestClientHandshakeSuccess/full_client_options_with_no_local_identity,_sending_tokens (0.00s) +--- PASS: TestClientHandshakeSuccess (0.06s) + --- PASS: TestClientHandshakeSuccess/full_client_options (0.02s) + --- PASS: TestClientHandshakeSuccess/full_client_options_with_no_port_in_target_name (0.01s) + --- PASS: TestClientHandshakeSuccess/full_client_options_with_no_local_identity (0.01s) + --- PASS: TestClientHandshakeSuccess/full_client_options,_sending_tokens (0.01s) + --- PASS: TestClientHandshakeSuccess/full_client_options_with_no_local_identity,_sending_tokens (0.01s) === RUN TestServerHandshakeSuccess === RUN TestServerHandshakeSuccess/full_server_options === 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.01s) - --- 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 (0.09s) + --- PASS: TestServerHandshakeSuccess/full_server_options (0.02s) + --- PASS: TestServerHandshakeSuccess/full_server_options_with_no_local_identities (0.02s) + --- PASS: TestServerHandshakeSuccess/full_server_options,_sending_tokens (0.02s) + --- PASS: TestServerHandshakeSuccess/full_server_options_with_no_local_identity,_sending_tokens (0.03s) === RUN TestS2ARejectsTokenFromClient --- PASS: TestS2ARejectsTokenFromClient (0.00s) === RUN TestS2ARejectsTokenFromServer ---- PASS: TestS2ARejectsTokenFromServer (0.00s) +--- PASS: TestS2ARejectsTokenFromServer (0.02s) === RUN TestInvalidHandshaker --- PASS: TestInvalidHandshaker (0.00s) === RUN TestPeerNotResponding --- PASS: TestPeerNotResponding (0.00s) === RUN TestLocalIdentityNotSet ---- PASS: TestLocalIdentityNotSet (0.00s) +--- PASS: TestLocalIdentityNotSet (0.02s) === RUN TestGetAuthMechanismsForClient === RUN TestGetAuthMechanismsForClient/token_manager_is_nil === RUN TestGetAuthMechanismsForClient/token_manager_expects_empty_identity === RUN TestGetAuthMechanismsForClient/token_manager_does_not_expect_empty_identity === RUN TestGetAuthMechanismsForClient/token_manager_expects_SPIFFE_ID === RUN TestGetAuthMechanismsForClient/token_manager_does_not_expect_hostname ---- PASS: TestGetAuthMechanismsForClient (0.00s) +--- PASS: TestGetAuthMechanismsForClient (0.05s) --- PASS: TestGetAuthMechanismsForClient/token_manager_is_nil (0.00s) - --- PASS: TestGetAuthMechanismsForClient/token_manager_expects_empty_identity (0.00s) + --- PASS: TestGetAuthMechanismsForClient/token_manager_expects_empty_identity (0.01s) --- PASS: TestGetAuthMechanismsForClient/token_manager_does_not_expect_empty_identity (0.00s) - --- PASS: TestGetAuthMechanismsForClient/token_manager_expects_SPIFFE_ID (0.00s) - --- PASS: TestGetAuthMechanismsForClient/token_manager_does_not_expect_hostname (0.00s) + --- PASS: TestGetAuthMechanismsForClient/token_manager_expects_SPIFFE_ID (0.01s) + --- PASS: TestGetAuthMechanismsForClient/token_manager_does_not_expect_hostname (0.01s) === RUN TestGetAuthMechanismsForServer === RUN TestGetAuthMechanismsForServer/token_manager_is_nil === RUN TestGetAuthMechanismsForServer/token_manager_expects_empty_identity === 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.00s) +--- PASS: TestGetAuthMechanismsForServer (0.06s) --- PASS: TestGetAuthMechanismsForServer/token_manager_is_nil (0.00s) - --- PASS: TestGetAuthMechanismsForServer/token_manager_expects_empty_identity (0.00s) + --- PASS: TestGetAuthMechanismsForServer/token_manager_expects_empty_identity (0.02s) --- PASS: TestGetAuthMechanismsForServer/token_manager_does_not_expect_empty_identity (0.00s) - --- 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: TestGetAuthMechanismsForServer/token_manager_expects_2_SPIFFE_IDs (0.02s) + --- PASS: TestGetAuthMechanismsForServer/token_manager_expects_a_SPIFFE_ID_but_does_not_expect_hostname (0.02s) PASS -ok github.com/google/s2a-go/internal/handshaker 0.045s +ok github.com/google/s2a-go/internal/handshaker 0.639s +? github.com/google/s2a-go/internal/proto/common_go_proto [no test files] +? github.com/google/s2a-go/internal/proto/s2a_go_proto [no test files] +? github.com/google/s2a-go/internal/proto/v2/common_go_proto [no test files] +? github.com/google/s2a-go/internal/proto/v2/s2a_context_go_proto [no test files] +? github.com/google/s2a-go/internal/proto/v2/s2a_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] === RUN TestDial ---- PASS: TestDial (0.00s) +--- PASS: TestDial (0.05s) PASS -ok github.com/google/s2a-go/internal/handshaker/service 0.018s +ok github.com/google/s2a-go/internal/handshaker/service 0.235s +? github.com/google/s2a-go/internal/record/internal/aeadcrypter/testutil [no test files] === RUN TestNewS2ARecordConn === RUN TestNewS2ARecordConn/nil_conn_options === RUN TestNewS2ARecordConn/invalid_input_traffic_secret_size @@ -1136,15 +1172,15 @@ === RUN TestNewS2ARecordConn/basic_with_AES-256-GCM-SHA384 === RUN TestNewS2ARecordConn/basic_with_CHACHA20-POLY1305-SHA256 === RUN TestNewS2ARecordConn/basic_with_unusedBytes ---- PASS: TestNewS2ARecordConn (0.00s) +--- PASS: TestNewS2ARecordConn (0.04s) --- PASS: TestNewS2ARecordConn/nil_conn_options (0.00s) - --- PASS: TestNewS2ARecordConn/invalid_input_traffic_secret_size (0.00s) + --- PASS: TestNewS2ARecordConn/invalid_input_traffic_secret_size (0.01s) --- PASS: TestNewS2ARecordConn/invalid_output_traffic_secret_size (0.00s) --- PASS: TestNewS2ARecordConn/invalid_tls_version (0.00s) - --- PASS: TestNewS2ARecordConn/basic_with_AES-128-GCM-SHA256 (0.00s) - --- PASS: TestNewS2ARecordConn/basic_with_AES-256-GCM-SHA384 (0.00s) + --- PASS: TestNewS2ARecordConn/basic_with_AES-128-GCM-SHA256 (0.01s) + --- PASS: TestNewS2ARecordConn/basic_with_AES-256-GCM-SHA384 (0.01s) --- PASS: TestNewS2ARecordConn/basic_with_CHACHA20-POLY1305-SHA256 (0.00s) - --- PASS: TestNewS2ARecordConn/basic_with_unusedBytes (0.00s) + --- PASS: TestNewS2ARecordConn/basic_with_unusedBytes (0.01s) === RUN TestStripPaddingAndType === RUN TestStripPaddingAndType/no_padding === RUN TestStripPaddingAndType/single_padding @@ -1180,7 +1216,7 @@ === RUN TestReadCompletedRecord/two_complete_records_split_in_ciphertext === RUN TestReadCompletedRecord/two_complete_records_split_in_second_ciphertext === RUN TestReadCompletedRecord/complete_record_split_by_each_byte ---- PASS: TestReadCompletedRecord (0.00s) +--- PASS: TestReadCompletedRecord (0.01s) --- PASS: TestReadCompletedRecord/invalid_record_header_size (0.00s) --- PASS: TestReadCompletedRecord/complete_record_in_single_read (0.00s) --- PASS: TestReadCompletedRecord/complete_record_in_single_read_from_leftover_buffer (0.00s) @@ -1196,8 +1232,8 @@ === RUN TestSplitAndValidateHeader/invalid_legacy_record_version === RUN TestSplitAndValidateHeader/basic_with_no_ciphertext === RUN TestSplitAndValidateHeader/basic_with_ciphertext ---- PASS: TestSplitAndValidateHeader (0.00s) - --- PASS: TestSplitAndValidateHeader/invalid_header_type (0.00s) +--- PASS: TestSplitAndValidateHeader (0.01s) + --- PASS: TestSplitAndValidateHeader/invalid_header_type (0.01s) --- PASS: TestSplitAndValidateHeader/invalid_legacy_record_version (0.00s) --- PASS: TestSplitAndValidateHeader/basic_with_no_ciphertext (0.00s) --- PASS: TestSplitAndValidateHeader/basic_with_ciphertext (0.00s) @@ -1226,7 +1262,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.01s) +--- PASS: TestConnReadApplicationData (0.17s) --- 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) @@ -1234,23 +1270,23 @@ --- 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.00s) - --- PASS: TestConnReadApplicationData/CHACHA20-POLY1305-SHA256_empty (0.00s) + --- PASS: TestConnReadApplicationData/CHACHA20-POLY1305-SHA256_with_padding (0.01s) + --- PASS: TestConnReadApplicationData/CHACHA20-POLY1305-SHA256_empty (0.01s) --- PASS: TestConnReadApplicationData/AES-128-GCM-SHA256_split_in_first_record (0.00s) - --- PASS: TestConnReadApplicationData/AES-256-GCM-SHA384_split_in_first_record (0.00s) - --- PASS: TestConnReadApplicationData/CHACHA20-POLY1305-SHA256_split_in_first_record (0.00s) + --- PASS: TestConnReadApplicationData/AES-256-GCM-SHA384_split_in_first_record (0.01s) + --- PASS: TestConnReadApplicationData/CHACHA20-POLY1305-SHA256_split_in_first_record (0.01s) --- PASS: TestConnReadApplicationData/AES-128-GCM-SHA256_split_in_first_record_header (0.00s) - --- PASS: TestConnReadApplicationData/AES-256-GCM-SHA384_split_in_first_record_header (0.00s) + --- PASS: TestConnReadApplicationData/AES-256-GCM-SHA384_split_in_first_record_header (0.01s) --- 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.00s) + --- PASS: TestConnReadApplicationData/AES-128-GCM-SHA256_split_in_second_record (0.01s) + --- PASS: TestConnReadApplicationData/AES-256-GCM-SHA384_split_in_second_record (0.02s) --- 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-128-GCM-SHA256_split_in_second_record_header (0.01s) --- PASS: TestConnReadApplicationData/AES-256-GCM-SHA384_split_in_second_record_header (0.00s) --- 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-128-GCM-SHA256_split_randomly (0.03s) --- PASS: TestConnReadApplicationData/AES-256-GCM-SHA384_split_randomly (0.00s) - --- PASS: TestConnReadApplicationData/CHACHA20-POLY1305-SHA256_split_randomly (0.00s) + --- PASS: TestConnReadApplicationData/CHACHA20-POLY1305-SHA256_split_randomly (0.01s) === RUN TestConnReadAlert === RUN TestConnReadAlert/AES-128-GCM-SHA256_with_no_padding === RUN TestConnReadAlert/AES-128-GCM-SHA256_with_padding @@ -1264,19 +1300,19 @@ === 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.08s) --- 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) + --- PASS: TestConnReadAlert/AES-256-GCM-SHA384_with_no_padding (0.01s) --- 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_no_padding (0.01s) --- 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.00s) + --- PASS: TestConnReadAlert/AES-256-GCM-SHA384_other_alert (0.01s) --- 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) - --- PASS: TestConnReadAlert/CHACHA20-POLY1305-SHA256_invalid (0.00s) + --- PASS: TestConnReadAlert/AES-256-GCM-SHA384_invalid (0.01s) + --- PASS: TestConnReadAlert/CHACHA20-POLY1305-SHA256_invalid (0.01s) === RUN TestConnReadKeyUpdate === RUN TestConnReadKeyUpdate/AES-128-GCM-SHA256 === RUN TestConnReadKeyUpdate/AES-256-GCM-SHA384 @@ -1284,13 +1320,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.01s) - --- 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 (0.12s) + --- PASS: TestConnReadKeyUpdate/AES-128-GCM-SHA256 (0.01s) + --- PASS: TestConnReadKeyUpdate/AES-256-GCM-SHA384 (0.01s) + --- PASS: TestConnReadKeyUpdate/CHACHA20-POLY1305-SHA256 (0.02s) + --- PASS: TestConnReadKeyUpdate/AES-128-GCM-SHA256_send_key_update_request (0.02s) + --- PASS: TestConnReadKeyUpdate/AES-256-GCM-SHA384_send_key_update_request (0.02s) + --- PASS: TestConnReadKeyUpdate/CHACHA20-POLY1305-SHA256_send_key_update_request (0.02s) === RUN TestWrite === RUN TestWrite/AES-128-GCM-SHA256 === RUN TestWrite/AES-128-GCM-SHA256_empty @@ -1298,29 +1334,29 @@ === RUN TestWrite/AES-256-GCM-SHA384_empty === RUN TestWrite/CHACHA20-POLY1305-SHA256 === RUN TestWrite/CHACHA20-POLY1305-SHA256_empty ---- PASS: TestWrite (0.00s) - --- PASS: TestWrite/AES-128-GCM-SHA256 (0.00s) - --- PASS: TestWrite/AES-128-GCM-SHA256_empty (0.00s) +--- PASS: TestWrite (0.04s) + --- PASS: TestWrite/AES-128-GCM-SHA256 (0.02s) + --- PASS: TestWrite/AES-128-GCM-SHA256_empty (0.01s) --- PASS: TestWrite/AES-256-GCM-SHA384 (0.00s) - --- PASS: TestWrite/AES-256-GCM-SHA384_empty (0.00s) + --- PASS: TestWrite/AES-256-GCM-SHA384_empty (0.01s) --- PASS: TestWrite/CHACHA20-POLY1305-SHA256 (0.00s) --- PASS: TestWrite/CHACHA20-POLY1305-SHA256_empty (0.00s) === RUN TestWriteTwoRecords === RUN TestWriteTwoRecords/AES-128-GCM-SHA256 === RUN TestWriteTwoRecords/AES-256-GCM-SHA384 === RUN TestWriteTwoRecords/CHACHA20-POLY1305-SHA256 ---- PASS: TestWriteTwoRecords (0.00s) - --- PASS: TestWriteTwoRecords/AES-128-GCM-SHA256 (0.00s) - --- PASS: TestWriteTwoRecords/AES-256-GCM-SHA384 (0.00s) +--- PASS: TestWriteTwoRecords (0.05s) + --- PASS: TestWriteTwoRecords/AES-128-GCM-SHA256 (0.01s) + --- PASS: TestWriteTwoRecords/AES-256-GCM-SHA384 (0.03s) --- PASS: TestWriteTwoRecords/CHACHA20-POLY1305-SHA256 (0.00s) === RUN TestExceedBufferSize === RUN TestExceedBufferSize/AES-128-GCM-SHA256 === RUN TestExceedBufferSize/AES-256-GCM-SHA384 === RUN TestExceedBufferSize/CHACHA20-POLY1305-SHA256 ---- PASS: TestExceedBufferSize (0.04s) - --- PASS: TestExceedBufferSize/AES-128-GCM-SHA256 (0.01s) - --- PASS: TestExceedBufferSize/AES-256-GCM-SHA384 (0.02s) - --- PASS: TestExceedBufferSize/CHACHA20-POLY1305-SHA256 (0.01s) +--- PASS: TestExceedBufferSize (0.32s) + --- PASS: TestExceedBufferSize/AES-128-GCM-SHA256 (0.18s) + --- PASS: TestExceedBufferSize/AES-256-GCM-SHA384 (0.08s) + --- PASS: TestExceedBufferSize/CHACHA20-POLY1305-SHA256 (0.03s) === RUN TestRoundtrip === RUN TestRoundtrip/AES-128-GCM-SHA256 === RUN TestRoundtrip/AES-128-GCM-SHA256_different_traffic_secrets @@ -1337,22 +1373,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.36s) - --- PASS: TestRoundtrip/AES-128-GCM-SHA256 (0.00s) - --- PASS: TestRoundtrip/AES-128-GCM-SHA256_different_traffic_secrets (0.00s) +--- PASS: TestRoundtrip (3.03s) + --- PASS: TestRoundtrip/AES-128-GCM-SHA256 (0.01s) + --- 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.06s) - --- PASS: TestRoundtrip/AES-128-GCM-SHA256_exceed_buffer_size (0.06s) - --- PASS: TestRoundtrip/AES-256-GCM-SHA384 (0.00s) - --- PASS: TestRoundtrip/AES-256-GCM-SHA384_different_traffic_secrets (0.00s) + --- PASS: TestRoundtrip/AES-128-GCM-SHA256_max_buffer_size (0.69s) + --- PASS: TestRoundtrip/AES-128-GCM-SHA256_exceed_buffer_size (0.47s) + --- PASS: TestRoundtrip/AES-256-GCM-SHA384 (0.01s) + --- PASS: TestRoundtrip/AES-256-GCM-SHA384_different_traffic_secrets (0.02s) --- PASS: TestRoundtrip/AES-256-GCM-SHA384_empty (0.00s) - --- PASS: TestRoundtrip/AES-256-GCM-SHA384_max_buffer_size (0.09s) - --- PASS: TestRoundtrip/AES-256-GCM-SHA384_exceed_buffer_size (0.08s) - --- 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.03s) - --- PASS: TestRoundtrip/CHACHA20-POLY1305-SHA256_max_buffer_size#01 (0.03s) + --- PASS: TestRoundtrip/AES-256-GCM-SHA384_max_buffer_size (0.49s) + --- PASS: TestRoundtrip/AES-256-GCM-SHA384_exceed_buffer_size (0.66s) + --- PASS: TestRoundtrip/CHACHA20-POLY1305-SHA256 (0.04s) + --- PASS: TestRoundtrip/CHACHA20-POLY1305-SHA256_different_traffic_secrets (0.01s) + --- PASS: TestRoundtrip/CHACHA20-POLY1305-SHA256_empty (0.01s) + --- PASS: TestRoundtrip/CHACHA20-POLY1305-SHA256_max_buffer_size (0.27s) + --- PASS: TestRoundtrip/CHACHA20-POLY1305-SHA256_max_buffer_size#01 (0.26s) === RUN TestWriteTicketsToStream --- PASS: TestWriteTicketsToStream (0.00s) === RUN TestGetAuthMechanism @@ -1361,14 +1397,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.04s) --- PASS: TestGetAuthMechanism/token_manager_is_nil (0.00s) - --- PASS: TestGetAuthMechanism/token_manager_expects_empty_identity (0.00s) + --- PASS: TestGetAuthMechanism/token_manager_expects_empty_identity (0.01s) --- PASS: TestGetAuthMechanism/token_manager_does_not_expect_empty_identity (0.00s) - --- PASS: TestGetAuthMechanism/token_manager_expects_SPIFFE_ID (0.00s) + --- PASS: TestGetAuthMechanism/token_manager_expects_SPIFFE_ID (0.01s) --- PASS: TestGetAuthMechanism/token_manager_does_not_expect_hostname (0.00s) PASS -ok github.com/google/s2a-go/internal/record 0.458s +ok github.com/google/s2a-go/internal/record 4.169s === RUN TestAESGCMInvalidKeySize --- PASS: TestAESGCMInvalidKeySize (0.00s) === RUN TestAESGCMEncryptRoundtrip @@ -1386,7 +1422,7 @@ === RUN TestAESGCMEncrypt/basic_dst_allocation_1 === RUN TestAESGCMEncrypt/basic_dst_allocation_2 === RUN TestAESGCMEncrypt/basic_dst_allocation_3 ---- PASS: TestAESGCMEncrypt (0.00s) +--- PASS: TestAESGCMEncrypt (0.01s) --- PASS: TestAESGCMEncrypt/nil_plaintext_and_ciphertext (0.00s) --- PASS: TestAESGCMEncrypt/invalid_nonce_size (0.00s) --- PASS: TestAESGCMEncrypt/nil_plaintext_and_ciphertext_with_dst_allocation (0.00s) @@ -1493,7 +1529,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.02s) +--- PASS: TestWycheProofTestVectors (0.20s) --- PASS: TestWycheProofTestVectors/1/ (0.00s) --- PASS: TestWycheProofTestVectors/2/ (0.00s) --- PASS: TestWycheProofTestVectors/3/ (0.00s) @@ -1533,7 +1569,7 @@ --- PASS: TestWycheProofTestVectors/37/Flipped_bit_103_in_tag (0.00s) --- PASS: TestWycheProofTestVectors/38/Flipped_bit_120_in_tag (0.00s) --- PASS: TestWycheProofTestVectors/39/Flipped_bit_121_in_tag (0.00s) - --- PASS: TestWycheProofTestVectors/40/Flipped_bit_126_in_tag (0.00s) + --- PASS: TestWycheProofTestVectors/40/Flipped_bit_126_in_tag (0.01s) --- PASS: TestWycheProofTestVectors/41/Flipped_bit_127_in_tag (0.00s) --- PASS: TestWycheProofTestVectors/42/Flipped_bits_0_and_64_in_tag (0.00s) --- PASS: TestWycheProofTestVectors/43/Flipped_bits_31_and_63_in_tag (0.00s) @@ -1612,7 +1648,7 @@ === RUN TestAESGCMNISTAndIEEE/IEEE_2.7.2_79-byte_crypt === RUN TestAESGCMNISTAndIEEE/IEEE_2.8.1_61-byte_crypt === RUN TestAESGCMNISTAndIEEE/IEEE_2.8.2_61-byte_crypt ---- PASS: TestAESGCMNISTAndIEEE (0.00s) +--- PASS: TestAESGCMNISTAndIEEE (0.02s) --- PASS: TestAESGCMNISTAndIEEE/NIST_test_vector_1 (0.00s) --- PASS: TestAESGCMNISTAndIEEE/NIST_test_vector_2 (0.00s) --- PASS: TestAESGCMNISTAndIEEE/NIST_test_vector_3 (0.00s) @@ -1935,7 +1971,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.03s) +--- PASS: TestWycheProofTestVectorsChachaPoly (0.17s) --- PASS: TestWycheProofTestVectorsChachaPoly/1/RFC_7539 (0.00s) --- PASS: TestWycheProofTestVectorsChachaPoly/2/ (0.00s) --- PASS: TestWycheProofTestVectorsChachaPoly/3/ (0.00s) @@ -2252,7 +2288,7 @@ === RUN TestDecrypt --- PASS: TestDecrypt (0.00s) PASS -ok github.com/google/s2a-go/internal/record/internal/aeadcrypter 0.055s +ok github.com/google/s2a-go/internal/record/internal/aeadcrypter 0.439s === RUN TestCiphersuites === RUN TestCiphersuites/AES_128_GCM_SHA256 === RUN TestCiphersuites/AES_256_GCM_SHA384 @@ -2354,7 +2390,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.011s +ok github.com/google/s2a-go/internal/record/internal/halfconn 0.080s === RUN TestNewSingleTokenAccessTokenManagerFailure --- PASS: TestNewSingleTokenAccessTokenManagerFailure (0.00s) === RUN TestNewSingleTokenAccessTokenManagerDefaultTokenSuccess @@ -2362,48 +2398,47 @@ === RUN TestNewSingleTokenAccessTokenManagerTokenSuccess --- PASS: TestNewSingleTokenAccessTokenManagerTokenSuccess (0.00s) PASS -ok github.com/google/s2a-go/internal/tokenmanager 0.005s -? github.com/google/s2a-go/stream [no test files] +ok github.com/google/s2a-go/internal/tokenmanager 0.087s === RUN TestEndToEndUsingFakeS2AOverTCP -2024/12/14 05:27:59 Fake S2A Service: failed to receive SessionReq: EOF -2024/12/14 05:27:59 Fake S2A Service: failed to receive SessionReq: EOF ---- PASS: TestEndToEndUsingFakeS2AOverTCP (0.09s) +2024/12/14 05:52:49 Fake S2A Service: failed to receive SessionReq: EOF +2024/12/14 05:52:49 Fake S2A Service: failed to receive SessionReq: EOF +--- PASS: TestEndToEndUsingFakeS2AOverTCP (0.95s) === RUN TestEndToEndUsingFakeS2AOverTCPEmptyId -2024/12/14 05:27:59 Fake S2A Service: failed to receive SessionReq: EOF -2024/12/14 05:27:59 Fake S2A Service: failed to receive SessionReq: EOF ---- PASS: TestEndToEndUsingFakeS2AOverTCPEmptyId (0.12s) +2024/12/14 05:52:50 Fake S2A Service: failed to receive SessionReq: EOF +2024/12/14 05:52:50 Fake S2A Service: failed to receive SessionReq: EOF +--- PASS: TestEndToEndUsingFakeS2AOverTCPEmptyId (0.86s) === RUN TestEndToEndUsingFakeS2AOnUDS -2024/12/14 05:27:59 Fake S2A Service: failed to receive SessionReq: EOF -2024/12/14 05:27:59 Fake S2A Service: failed to receive SessionReq: EOF ---- PASS: TestEndToEndUsingFakeS2AOnUDS (0.08s) +2024/12/14 05:52:51 Fake S2A Service: failed to receive SessionReq: EOF +2024/12/14 05:52:51 Fake S2A Service: failed to receive SessionReq: EOF +--- PASS: TestEndToEndUsingFakeS2AOnUDS (0.74s) === RUN TestEndToEndUsingFakeS2AOnUDSEmptyId -2024/12/14 05:27:59 Fake S2A Service: failed to receive SessionReq: EOF -2024/12/14 05:27:59 Fake S2A Service: failed to receive SessionReq: EOF ---- PASS: TestEndToEndUsingFakeS2AOnUDSEmptyId (0.08s) +2024/12/14 05:52:52 Fake S2A Service: failed to receive SessionReq: EOF +2024/12/14 05:52:52 Fake S2A Service: failed to receive SessionReq: EOF +--- PASS: TestEndToEndUsingFakeS2AOnUDSEmptyId (0.68s) === RUN TestGRPCFallbackEndToEndUsingFakeS2AOverTCP - s2av2_e2e_test.go:318: Fake handshaker for server running at address: [::]:41823 - s2av2_e2e_test.go:330: server running at address: [::]:36903 - s2av2_e2e_test.go:331: fallback server running at address: [::]:34173 -2024/12/14 05:28:00 Fake S2A Service: failed to receive SessionReq: EOF ---- PASS: TestGRPCFallbackEndToEndUsingFakeS2AOverTCP (0.95s) + s2av2_e2e_test.go:318: Fake handshaker for server running at address: [::]:36087 + s2av2_e2e_test.go:330: server running at address: [::]:44029 + s2av2_e2e_test.go:331: fallback server running at address: [::]:38645 +2024/12/14 05:52:53 Fake S2A Service: failed to receive SessionReq: EOF +--- PASS: TestGRPCFallbackEndToEndUsingFakeS2AOverTCP (1.33s) === RUN TestGRPCRetryAndFallbackEndToEndUsingFakeS2AOverTCP - s2av2_e2e_test.go:387: server running at address: [::]:44125 - s2av2_e2e_test.go:388: fallback server running at address: [::]:43453 -2024/12/14 05:28:00 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token -2024/12/14 05:28:02 Fake S2A Service: failed to receive SessionReq: EOF ---- PASS: TestGRPCRetryAndFallbackEndToEndUsingFakeS2AOverTCP (1.87s) + s2av2_e2e_test.go:387: server running at address: [::]:39261 + s2av2_e2e_test.go:388: fallback server running at address: [::]:46589 +2024/12/14 05:52:53 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token +2024/12/14 05:52:54 Fake S2A Service: failed to receive SessionReq: EOF +--- PASS: TestGRPCRetryAndFallbackEndToEndUsingFakeS2AOverTCP (1.36s) === RUN TestNewClientTlsConfigWithTokenManager ---- PASS: TestNewClientTlsConfigWithTokenManager (0.00s) +--- PASS: TestNewClientTlsConfigWithTokenManager (0.02s) === RUN TestNewClientTlsConfigWithoutTokenManager -2024/12/14 05:28:02 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled ---- PASS: TestNewClientTlsConfigWithoutTokenManager (0.00s) +2024/12/14 05:52:54 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +--- PASS: TestNewClientTlsConfigWithoutTokenManager (0.02s) === RUN TestNewClientCreds === RUN TestNewClientCreds/static --- PASS: TestNewClientCreds (0.00s) --- PASS: TestNewClientCreds/static (0.00s) === RUN TestNewServerCreds -2024/12/14 05:28:02 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled === RUN TestNewServerCreds/static +2024/12/14 05:52:54 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled --- PASS: TestNewServerCreds (0.00s) --- PASS: TestNewServerCreds/static (0.00s) === RUN TestClientHandshakeFail @@ -2413,9 +2448,9 @@ === RUN TestInfo --- PASS: TestInfo (0.00s) === RUN TestCloneClient ---- PASS: TestCloneClient (0.00s) +--- PASS: TestCloneClient (0.01s) === RUN TestCloneServer ---- PASS: TestCloneServer (0.00s) +--- PASS: TestCloneServer (0.01s) === RUN TestOverrideServerName === RUN TestOverrideServerName/empty_string === RUN TestOverrideServerName/host_only @@ -2433,182 +2468,181 @@ === RUN TestGetS2ATimeout --- PASS: TestGetS2ATimeout (0.00s) PASS -ok github.com/google/s2a-go/internal/v2 3.210s +ok github.com/google/s2a-go/internal/v2 6.109s === RUN TestVerifyClientCertChain -2024/12/14 05:27:59 Server: started gRPC fake S2Av2 Server on address: [::]:37745 +2024/12/14 05:52:49 Server: started gRPC fake S2Av2 Server on address: [::]:45929 === RUN TestVerifyClientCertChain/empty_chain -2024/12/14 05:27:59 Client: connected to: [::]:37745 -2024/12/14 05:27:59 Client: set up bidirectional streaming RPC session. +2024/12/14 05:52:49 Client: connected to: [::]:45929 +2024/12/14 05:52:49 Client: set up bidirectional streaming RPC session. === RUN TestVerifyClientCertChain/chain_of_length_1 -2024/12/14 05:27:59 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2024/12/14 05:27:59 Client: connected to: [::]:37745 -2024/12/14 05:27:59 Client: set up bidirectional streaming RPC session. +2024/12/14 05:52:49 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2024/12/14 05:52:49 Client: connected to: [::]:45929 +2024/12/14 05:52:49 Client: set up bidirectional streaming RPC session. +2024/12/14 05:52:49 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled === RUN TestVerifyClientCertChain/chain_of_length_2_correct -2024/12/14 05:27:59 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2024/12/14 05:27:59 Client: connected to: [::]:37745 -2024/12/14 05:27:59 Client: set up bidirectional streaming RPC session. +2024/12/14 05:52:49 Client: connected to: [::]:45929 +2024/12/14 05:52:49 Client: set up bidirectional streaming RPC session. === RUN TestVerifyClientCertChain/chain_of_length_2_error:_missing_intermediate -2024/12/14 05:27:59 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2024/12/14 05:27:59 Client: connected to: [::]:37745 -2024/12/14 05:27:59 Client: set up bidirectional streaming RPC session. -2024/12/14 05:27:59 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled ---- PASS: TestVerifyClientCertChain (0.02s) - --- PASS: TestVerifyClientCertChain/empty_chain (0.01s) - --- PASS: TestVerifyClientCertChain/chain_of_length_1 (0.00s) - --- PASS: TestVerifyClientCertChain/chain_of_length_2_correct (0.01s) - --- PASS: TestVerifyClientCertChain/chain_of_length_2_error:_missing_intermediate (0.01s) +2024/12/14 05:52:49 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2024/12/14 05:52:49 Client: connected to: [::]:45929 +2024/12/14 05:52:49 Client: set up bidirectional streaming RPC session. +2024/12/14 05:52:49 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +--- PASS: TestVerifyClientCertChain (0.22s) + --- PASS: TestVerifyClientCertChain/empty_chain (0.04s) + --- PASS: TestVerifyClientCertChain/chain_of_length_1 (0.05s) + --- PASS: TestVerifyClientCertChain/chain_of_length_2_correct (0.05s) + --- PASS: TestVerifyClientCertChain/chain_of_length_2_error:_missing_intermediate (0.07s) === RUN TestVerifyServerCertChainWithServerAuthorizationPolicy -2024/12/14 05:27:59 Server: started gRPC fake S2Av2 Server on address: [::]:39701 +2024/12/14 05:52:49 Server: started gRPC fake S2Av2 Server on address: [::]:37199 === RUN TestVerifyServerCertChainWithServerAuthorizationPolicy/empty_chain -2024/12/14 05:27:59 Client: connected to: [::]:39701 -2024/12/14 05:27:59 Client: set up bidirectional streaming RPC session. +2024/12/14 05:52:49 Client: connected to: [::]:37199 +2024/12/14 05:52:49 Client: set up bidirectional streaming RPC session. +2024/12/14 05:52:49 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled === RUN TestVerifyServerCertChainWithServerAuthorizationPolicy/invalid_server_authorization_policy -2024/12/14 05:27:59 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2024/12/14 05:27:59 Client: connected to: [::]:39701 -2024/12/14 05:27:59 Client: set up bidirectional streaming RPC session. -2024/12/14 05:27:59 Fake S2A Service: failed to build SessionResp with ValidatePeerCertificateChainResp: server peer verification failed: invalid server authorization policy, expected: fake server authorization policy, got: +2024/12/14 05:52:49 Client: connected to: [::]:37199 +2024/12/14 05:52:49 Client: set up bidirectional streaming RPC session. +2024/12/14 05:52:49 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 05:27:59 Client: connected to: [::]:39701 -2024/12/14 05:27:59 Client: set up bidirectional streaming RPC session. +2024/12/14 05:52:49 Client: connected to: [::]:37199 +2024/12/14 05:52:49 Client: set up bidirectional streaming RPC session. === RUN TestVerifyServerCertChainWithServerAuthorizationPolicy/chain_of_length_2_correct -2024/12/14 05:27:59 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2024/12/14 05:27:59 Client: connected to: [::]:39701 -2024/12/14 05:27:59 Client: set up bidirectional streaming RPC session. -2024/12/14 05:27:59 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled ---- PASS: TestVerifyServerCertChainWithServerAuthorizationPolicy (0.02s) - --- 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.01s) +2024/12/14 05:52:49 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2024/12/14 05:52:49 Client: connected to: [::]:37199 +2024/12/14 05:52:49 Client: set up bidirectional streaming RPC session. +2024/12/14 05:52:49 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +--- PASS: TestVerifyServerCertChainWithServerAuthorizationPolicy (0.18s) + --- PASS: TestVerifyServerCertChainWithServerAuthorizationPolicy/empty_chain (0.04s) + --- PASS: TestVerifyServerCertChainWithServerAuthorizationPolicy/invalid_server_authorization_policy (0.04s) + --- PASS: TestVerifyServerCertChainWithServerAuthorizationPolicy/chain_of_length_1 (0.04s) + --- PASS: TestVerifyServerCertChainWithServerAuthorizationPolicy/chain_of_length_2_correct (0.07s) === RUN TestVerifyServerCertChainWithoutServerAuthorizationPolicy -2024/12/14 05:27:59 Server: started gRPC fake S2Av2 Server on address: [::]:43033 +2024/12/14 05:52:49 Server: started gRPC fake S2Av2 Server on address: [::]:45077 === RUN TestVerifyServerCertChainWithoutServerAuthorizationPolicy/empty_chain -2024/12/14 05:27:59 Client: connected to: [::]:43033 -2024/12/14 05:27:59 Client: set up bidirectional streaming RPC session. +2024/12/14 05:52:49 Client: connected to: [::]:45077 +2024/12/14 05:52:49 Client: set up bidirectional streaming RPC session. === RUN TestVerifyServerCertChainWithoutServerAuthorizationPolicy/chain_of_length_1 -2024/12/14 05:27:59 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2024/12/14 05:27:59 Client: connected to: [::]:43033 -2024/12/14 05:27:59 Client: set up bidirectional streaming RPC session. +2024/12/14 05:52:49 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2024/12/14 05:52:49 Client: connected to: [::]:45077 +2024/12/14 05:52:49 Client: set up bidirectional streaming RPC session. +2024/12/14 05:52:49 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled === RUN TestVerifyServerCertChainWithoutServerAuthorizationPolicy/chain_of_length_2_correct -2024/12/14 05:27:59 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2024/12/14 05:27:59 Client: connected to: [::]:43033 -2024/12/14 05:27:59 Client: set up bidirectional streaming RPC session. -2024/12/14 05:27:59 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled ---- PASS: TestVerifyServerCertChainWithoutServerAuthorizationPolicy (0.01s) - --- PASS: TestVerifyServerCertChainWithoutServerAuthorizationPolicy/empty_chain (0.00s) - --- PASS: TestVerifyServerCertChainWithoutServerAuthorizationPolicy/chain_of_length_1 (0.00s) - --- PASS: TestVerifyServerCertChainWithoutServerAuthorizationPolicy/chain_of_length_2_correct (0.01s) +2024/12/14 05:52:49 Client: connected to: [::]:45077 +2024/12/14 05:52:49 Client: set up bidirectional streaming RPC session. +--- PASS: TestVerifyServerCertChainWithoutServerAuthorizationPolicy (0.13s) + --- PASS: TestVerifyServerCertChainWithoutServerAuthorizationPolicy/empty_chain (0.05s) + --- PASS: TestVerifyServerCertChainWithoutServerAuthorizationPolicy/chain_of_length_1 (0.02s) + --- PASS: TestVerifyServerCertChainWithoutServerAuthorizationPolicy/chain_of_length_2_correct (0.06s) PASS -ok github.com/google/s2a-go/internal/v2/certverifier 0.076s +ok github.com/google/s2a-go/internal/v2/certverifier 0.652s === RUN TestSetUpSession -2024/12/14 05:27:59 Server: started gRPC Fake S2Av2 Server on address: [::]:36593 +2024/12/14 05:52:57 Server: started gRPC Fake S2Av2 Server on address: [::]:42891 === RUN TestSetUpSession/Get_TLS_config_for_client. -2024/12/14 05:27:59 Client: connected to: [::]:36593 -2024/12/14 05:27:59 Client: set up bidirectional streaming RPC session. -2024/12/14 05:27:59 Client: sent SessionReq -2024/12/14 05:27:59 Client: received SessionResp -2024/12/14 05:27:59 resp matches tc.expectedResponse +2024/12/14 05:52:57 Client: connected to: [::]:42891 +2024/12/14 05:52:57 Client: set up bidirectional streaming RPC session. +2024/12/14 05:52:57 Client: sent SessionReq +2024/12/14 05:52:57 Client: received SessionResp +2024/12/14 05:52:57 resp matches tc.expectedResponse +2024/12/14 05:52:57 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled === RUN TestSetUpSession/Get_TLS_config_for_server. -2024/12/14 05:27:59 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2024/12/14 05:27:59 Client: connected to: [::]:36593 -2024/12/14 05:27:59 Client: set up bidirectional streaming RPC session. -2024/12/14 05:27:59 Client: sent SessionReq -2024/12/14 05:27:59 Client: received SessionResp -2024/12/14 05:27:59 resp matches tc.expectedResponse +2024/12/14 05:52:57 Client: connected to: [::]:42891 +2024/12/14 05:52:57 Client: set up bidirectional streaming RPC session. +2024/12/14 05:52:57 Client: sent SessionReq +2024/12/14 05:52:57 Client: received SessionResp +2024/12/14 05:52:57 resp matches tc.expectedResponse === RUN TestSetUpSession/Get_TLS_config_error_--_invalid_connection_side -2024/12/14 05:27:59 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2024/12/14 05:27:59 Client: connected to: [::]:36593 -2024/12/14 05:27:59 Client: set up bidirectional streaming RPC session. -2024/12/14 05:27:59 Client: sent SessionReq -2024/12/14 05:27:59 Client: received SessionResp -2024/12/14 05:27:59 resp matches tc.expectedResponse -2024/12/14 05:27:59 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2024/12/14 05:52:57 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2024/12/14 05:52:57 Client: connected to: [::]:42891 +2024/12/14 05:52:57 Client: set up bidirectional streaming RPC session. +2024/12/14 05:52:57 Client: sent SessionReq +2024/12/14 05:52:57 Client: received SessionResp +2024/12/14 05:52:57 resp matches tc.expectedResponse === RUN TestSetUpSession/Get_TLS_config_error_--_invalid_token -2024/12/14 05:27:59 Client: connected to: [::]:36593 -2024/12/14 05:27:59 Client: set up bidirectional streaming RPC session. -2024/12/14 05:27:59 Client: sent SessionReq -2024/12/14 05:27:59 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token -2024/12/14 05:27:59 Client: received SessionResp -2024/12/14 05:27:59 resp matches tc.expectedResponse +2024/12/14 05:52:57 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2024/12/14 05:52:57 Client: connected to: [::]:42891 +2024/12/14 05:52:57 Client: set up bidirectional streaming RPC session. +2024/12/14 05:52:57 Client: sent SessionReq +2024/12/14 05:52:57 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token +2024/12/14 05:52:57 Client: received SessionResp +2024/12/14 05:52:57 resp matches tc.expectedResponse === RUN TestSetUpSession/Get_server_TLS_config_--_empty_authmechanisms_(S2A_ACCESS_TOKEN_env_var_not_set) -2024/12/14 05:27:59 Client: connected to: [::]:36593 -2024/12/14 05:27:59 Client: set up bidirectional streaming RPC session. -2024/12/14 05:27:59 Client: sent SessionReq -2024/12/14 05:27:59 Client: received SessionResp -2024/12/14 05:27:59 resp matches tc.expectedResponse -2024/12/14 05:27:59 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2024/12/14 05:52:57 Client: connected to: [::]:42891 +2024/12/14 05:52:57 Client: set up bidirectional streaming RPC session. +2024/12/14 05:52:57 Client: sent SessionReq +2024/12/14 05:52:57 Client: received SessionResp +2024/12/14 05:52:57 resp matches tc.expectedResponse === RUN TestSetUpSession/Client_Peer_Verification -2024/12/14 05:27:59 Client: connected to: [::]:36593 -2024/12/14 05:27:59 Client: set up bidirectional streaming RPC session. -2024/12/14 05:27:59 Client: sent SessionReq -2024/12/14 05:27:59 Client: received SessionResp -2024/12/14 05:27:59 resp matches tc.expectedResponse +2024/12/14 05:52:57 Client: connected to: [::]:42891 +2024/12/14 05:52:57 Client: set up bidirectional streaming RPC session. +2024/12/14 05:52:57 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2024/12/14 05:52:57 Client: sent SessionReq +2024/12/14 05:52:57 Client: received SessionResp +2024/12/14 05:52:57 resp matches tc.expectedResponse +2024/12/14 05:52:57 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled === RUN TestSetUpSession/Client_Peer_Verification_--_failure -2024/12/14 05:27:59 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2024/12/14 05:27:59 Client: connected to: [::]:36593 -2024/12/14 05:27:59 Client: set up bidirectional streaming RPC session. -2024/12/14 05:27:59 Client: sent SessionReq -2024/12/14 05:27:59 Client: received SessionResp -2024/12/14 05:27:59 resp matches tc.expectedResponse +2024/12/14 05:52:57 Client: connected to: [::]:42891 +2024/12/14 05:52:57 Client: set up bidirectional streaming RPC session. +2024/12/14 05:52:57 Client: sent SessionReq +2024/12/14 05:52:57 Client: received SessionResp +2024/12/14 05:52:57 resp matches tc.expectedResponse === RUN TestSetUpSession/Server_Peer_Verification -2024/12/14 05:27:59 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2024/12/14 05:27:59 Client: connected to: [::]:36593 -2024/12/14 05:27:59 Client: set up bidirectional streaming RPC session. -2024/12/14 05:27:59 Client: sent SessionReq -2024/12/14 05:27:59 Client: received SessionResp -2024/12/14 05:27:59 resp matches tc.expectedResponse -2024/12/14 05:27:59 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.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) +2024/12/14 05:52:57 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2024/12/14 05:52:57 Client: connected to: [::]:42891 +2024/12/14 05:52:57 Client: set up bidirectional streaming RPC session. +2024/12/14 05:52:57 Client: sent SessionReq +2024/12/14 05:52:57 Client: received SessionResp +2024/12/14 05:52:57 resp matches tc.expectedResponse +--- PASS: TestSetUpSession (0.28s) + --- PASS: TestSetUpSession/Get_TLS_config_for_client. (0.04s) + --- PASS: TestSetUpSession/Get_TLS_config_for_server. (0.03s) + --- PASS: TestSetUpSession/Get_TLS_config_error_--_invalid_connection_side (0.03s) + --- PASS: TestSetUpSession/Get_TLS_config_error_--_invalid_token (0.02s) + --- PASS: TestSetUpSession/Get_server_TLS_config_--_empty_authmechanisms_(S2A_ACCESS_TOKEN_env_var_not_set) (0.02s) + --- PASS: TestSetUpSession/Client_Peer_Verification (0.03s) + --- PASS: TestSetUpSession/Client_Peer_Verification_--_failure (0.04s) + --- PASS: TestSetUpSession/Server_Peer_Verification (0.04s) === RUN TestSetUpSessionPrivateKeyOperation -2024/12/14 05:27:59 Server: started gRPC Fake S2Av2 Server on address: [::]:43901 +2024/12/14 05:52:57 Server: started gRPC Fake S2Av2 Server on address: [::]:46405 +2024/12/14 05:52:57 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled === RUN TestSetUpSessionPrivateKeyOperation/client_side_private_key_operation -2024/12/14 05:27:59 Client: connected to: [::]:43901 -2024/12/14 05:27:59 Client: set up bidirectional streaming RPC session. -2024/12/14 05:27:59 Client: sent SessionReq -2024/12/14 05:27:59 Client: received SessionResp -2024/12/14 05:27:59 resp matches tc.expectedResponse +2024/12/14 05:52:58 Client: connected to: [::]:46405 +2024/12/14 05:52:58 Client: set up bidirectional streaming RPC session. +2024/12/14 05:52:58 Client: sent SessionReq +2024/12/14 05:52:58 Client: received SessionResp +2024/12/14 05:52:58 resp matches tc.expectedResponse +2024/12/14 05:52:58 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled === RUN TestSetUpSessionPrivateKeyOperation/server_side_private_key_operation -2024/12/14 05:27:59 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2024/12/14 05:27:59 Client: connected to: [::]:43901 -2024/12/14 05:27:59 Client: set up bidirectional streaming RPC session. -2024/12/14 05:27:59 Client: sent SessionReq -2024/12/14 05:27:59 Client: received SessionResp -2024/12/14 05:27:59 resp matches tc.expectedResponse +2024/12/14 05:52:58 Client: connected to: [::]:46405 +2024/12/14 05:52:58 Client: set up bidirectional streaming RPC session. +2024/12/14 05:52:58 Client: sent SessionReq +2024/12/14 05:52:58 Client: received SessionResp +2024/12/14 05:52:58 resp matches tc.expectedResponse +2024/12/14 05:52:58 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 05:27:59 Client: connected to: [::]:43901 -2024/12/14 05:27:59 Client: set up bidirectional streaming RPC session. -2024/12/14 05:27:59 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2024/12/14 05:27:59 Client: sent SessionReq -2024/12/14 05:27:59 Client: received SessionResp -2024/12/14 05:27:59 resp matches tc.expectedResponse -2024/12/14 05:27:59 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled ---- PASS: TestSetUpSessionPrivateKeyOperation (0.16s) - --- PASS: TestSetUpSessionPrivateKeyOperation/client_side_private_key_operation (0.04s) - --- PASS: TestSetUpSessionPrivateKeyOperation/server_side_private_key_operation (0.03s) - --- PASS: TestSetUpSessionPrivateKeyOperation/client_side_private_key_operation_--_invalid_signature_algorithm (0.04s) +2024/12/14 05:52:58 Client: connected to: [::]:46405 +2024/12/14 05:52:58 Client: set up bidirectional streaming RPC session. +2024/12/14 05:52:58 Client: sent SessionReq +2024/12/14 05:52:58 Client: received SessionResp +2024/12/14 05:52:58 resp matches tc.expectedResponse +2024/12/14 05:52:58 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +--- PASS: TestSetUpSessionPrivateKeyOperation (1.35s) + --- PASS: TestSetUpSessionPrivateKeyOperation/client_side_private_key_operation (0.38s) + --- PASS: TestSetUpSessionPrivateKeyOperation/server_side_private_key_operation (0.30s) + --- PASS: TestSetUpSessionPrivateKeyOperation/client_side_private_key_operation_--_invalid_signature_algorithm (0.05s) PASS -ok github.com/google/s2a-go/internal/v2/fakes2av2 0.208s +ok github.com/google/s2a-go/internal/v2/fakes2av2 1.768s === RUN TestSign -2024/12/14 05:28:01 Server: started gRPC fake S2Av2 Server on address: [::]:43403 +2024/12/14 05:52:58 Server: started gRPC fake S2Av2 Server on address: [::]:42499 === RUN TestSign/Sign_with_client_key -2024/12/14 05:28:01 Client: connected to: [::]:43403 -2024/12/14 05:28:01 Client: set up bidirectional streaming RPC session. -2024/12/14 05:28:01 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2024/12/14 05:52:58 Client: connected to: [::]:42499 +2024/12/14 05:52:58 Client: set up bidirectional streaming RPC session. +2024/12/14 05:52:59 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled === RUN TestSign/Sign_with_server_key -2024/12/14 05:28:01 Client: connected to: [::]:43403 -2024/12/14 05:28:01 Client: set up bidirectional streaming RPC session. -2024/12/14 05:28:01 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled ---- PASS: TestSign (0.19s) - --- PASS: TestSign/Sign_with_client_key (0.10s) - --- PASS: TestSign/Sign_with_server_key (0.09s) +2024/12/14 05:52:59 Client: connected to: [::]:42499 +2024/12/14 05:52:59 Client: set up bidirectional streaming RPC session. +2024/12/14 05:53:00 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +--- PASS: TestSign (1.34s) + --- PASS: TestSign/Sign_with_client_key (0.63s) + --- PASS: TestSign/Sign_with_server_key (0.71s) === RUN TestNew --- PASS: TestNew (0.00s) === RUN TestGetSignatureAlgorithm @@ -2630,7 +2664,7 @@ === RUN TestGetSignatureAlgorithm/DSA === RUN TestGetSignatureAlgorithm/Unknown_public_key_algorithm === RUN TestGetSignatureAlgorithm/No_public_key_algorithm ---- PASS: TestGetSignatureAlgorithm (0.00s) +--- PASS: TestGetSignatureAlgorithm (0.01s) --- PASS: TestGetSignatureAlgorithm/Leaf_certificate_is_nil (0.00s) --- PASS: TestGetSignatureAlgorithm/Signer_options_are_nil (0.00s) --- PASS: TestGetSignatureAlgorithm/RSA_PSS_SHA256 (0.00s) @@ -2661,52 +2695,53 @@ === RUN TestGetSignReq/RSA_PSS_SHA512 === RUN TestGetSignReq/ECDSA_SHA512 === RUN TestGetSignReq/ED25519 ---- PASS: TestGetSignReq (0.00s) +--- PASS: TestGetSignReq (0.04s) --- PASS: TestGetSignReq/Unspecified (0.00s) --- PASS: TestGetSignReq/RSA_PKCS1_SHA256 (0.00s) --- PASS: TestGetSignReq/RSA_PSS_SHA256 (0.00s) --- PASS: TestGetSignReq/ECDSA_SHA256 (0.00s) - --- PASS: TestGetSignReq/RSA_PKCS1_SHA384 (0.00s) + --- PASS: TestGetSignReq/RSA_PKCS1_SHA384 (0.01s) --- PASS: TestGetSignReq/RSA_PSS_SHA384 (0.00s) - --- PASS: TestGetSignReq/ECDSA_SHA384 (0.00s) + --- PASS: TestGetSignReq/ECDSA_SHA384 (0.01s) --- PASS: TestGetSignReq/RSA_PKCS1_SHA512 (0.00s) --- PASS: TestGetSignReq/RSA_PSS_SHA512 (0.00s) --- PASS: TestGetSignReq/ECDSA_SHA512 (0.00s) --- PASS: TestGetSignReq/ED25519 (0.00s) PASS -ok github.com/google/s2a-go/internal/v2/remotesigner 0.220s +ok github.com/google/s2a-go/internal/v2/remotesigner 1.528s +? github.com/google/s2a-go/stream [no test files] === RUN TestTLSConfigStoreClient -2024/12/14 05:28:02 Server: started gRPC fake S2Av2 Server on address: [::]:42827 +2024/12/14 05:53:06 Server: started gRPC fake S2Av2 Server on address: [::]:45765 === RUN TestTLSConfigStoreClient/static_-_nil_tokenManager -2024/12/14 05:28:02 Client: connected to: [::]:42827 -2024/12/14 05:28:02 Client: set up bidirectional streaming RPC session. +2024/12/14 05:53:06 Client: connected to: [::]:45765 +2024/12/14 05:53:06 Client: set up bidirectional streaming RPC session. +2024/12/14 05:53:06 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled === RUN TestTLSConfigStoreClient/static_-_non-nil_tokenManager -2024/12/14 05:28:02 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2024/12/14 05:28:02 Client: connected to: [::]:42827 -2024/12/14 05:28:02 Client: set up bidirectional streaming RPC session. -2024/12/14 05:28:02 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled ---- PASS: TestTLSConfigStoreClient (0.01s) - --- PASS: TestTLSConfigStoreClient/static_-_nil_tokenManager (0.01s) - --- PASS: TestTLSConfigStoreClient/static_-_non-nil_tokenManager (0.00s) +2024/12/14 05:53:06 Client: connected to: [::]:45765 +2024/12/14 05:53:06 Client: set up bidirectional streaming RPC session. +2024/12/14 05:53:06 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +--- PASS: TestTLSConfigStoreClient (0.06s) + --- PASS: TestTLSConfigStoreClient/static_-_nil_tokenManager (0.03s) + --- PASS: TestTLSConfigStoreClient/static_-_non-nil_tokenManager (0.02s) === RUN TestTLSConfigStoreClientWithoutCredentials -2024/12/14 05:28:02 Server: started gRPC fake S2Av2 Server on address: [::]:39837 -2024/12/14 05:28:02 Client: connected to: [::]:39837 -2024/12/14 05:28:02 Client: set up bidirectional streaming RPC session. ---- PASS: TestTLSConfigStoreClientWithoutCredentials (0.00s) +2024/12/14 05:53:06 Server: started gRPC fake S2Av2 Server on address: [::]:43583 +2024/12/14 05:53:06 Client: connected to: [::]:43583 +2024/12/14 05:53:06 Client: set up bidirectional streaming RPC session. +2024/12/14 05:53:06 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +--- PASS: TestTLSConfigStoreClientWithoutCredentials (0.02s) === RUN TestTLSConfigStoreServer -2024/12/14 05:28:02 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2024/12/14 05:28:02 Server: started gRPC fake S2Av2 Server on address: [::]:36449 +2024/12/14 05:53:06 Server: started gRPC fake S2Av2 Server on address: [::]:43733 === RUN TestTLSConfigStoreServer/static_-_nil_tokenManager -2024/12/14 05:28:02 Client: connected to: [::]:36449 -2024/12/14 05:28:02 Client: set up bidirectional streaming RPC session. -2024/12/14 05:28:02 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2024/12/14 05:53:06 Client: connected to: [::]:43733 +2024/12/14 05:53:06 Client: set up bidirectional streaming RPC session. +2024/12/14 05:53:06 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled === RUN TestTLSConfigStoreServer/static_-_non-nil_tokenManager -2024/12/14 05:28:02 Client: connected to: [::]:36449 -2024/12/14 05:28:02 Client: set up bidirectional streaming RPC session. -2024/12/14 05:28:02 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled ---- PASS: TestTLSConfigStoreServer (0.01s) - --- PASS: TestTLSConfigStoreServer/static_-_nil_tokenManager (0.00s) - --- PASS: TestTLSConfigStoreServer/static_-_non-nil_tokenManager (0.00s) +2024/12/14 05:53:06 Client: connected to: [::]:43733 +2024/12/14 05:53:06 Client: set up bidirectional streaming RPC session. +2024/12/14 05:53:06 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +--- PASS: TestTLSConfigStoreServer (0.05s) + --- PASS: TestTLSConfigStoreServer/static_-_nil_tokenManager (0.02s) + --- PASS: TestTLSConfigStoreServer/static_-_non-nil_tokenManager (0.02s) === RUN TestGetTLSMinMaxVersionsClient --- PASS: TestGetTLSMinMaxVersionsClient (0.00s) === RUN TestGetTLSMinMaxVersionsServer @@ -2720,31 +2755,31 @@ --- 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 05:28:02 Server: started gRPC fake S2Av2 Server on address: [::]:43419 +2024/12/14 05:53:06 Server: started gRPC fake S2Av2 Server on address: [::]:46217 === RUN TestGetServerConfigFromS2Av2/empty_accessToken_and_empty_localIdentities -2024/12/14 05:28:02 Client: connected to: [::]:43419 -2024/12/14 05:28:02 Client: set up bidirectional streaming RPC session. -2024/12/14 05:28:02 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token +2024/12/14 05:53:06 Client: connected to: [::]:46217 +2024/12/14 05:53:06 Client: set up bidirectional streaming RPC session. +2024/12/14 05:53:06 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token === RUN TestGetServerConfigFromS2Av2/invalid_accessToken -2024/12/14 05:28:02 Client: connected to: [::]:43419 -2024/12/14 05:28:02 Client: set up bidirectional streaming RPC session. -2024/12/14 05:28:02 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token +2024/12/14 05:53:06 Client: connected to: [::]:46217 +2024/12/14 05:53:06 Client: set up bidirectional streaming RPC session. +2024/12/14 05:53:06 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token === RUN TestGetServerConfigFromS2Av2/correct_accessToken_and_non_-_empty_localIdentities -2024/12/14 05:28:02 Client: connected to: [::]:43419 -2024/12/14 05:28:02 Client: set up bidirectional streaming RPC session. -2024/12/14 05:28:02 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/invalid_accessToken (0.00s) - --- PASS: TestGetServerConfigFromS2Av2/correct_accessToken_and_non_-_empty_localIdentities (0.00s) +2024/12/14 05:53:06 Client: connected to: [::]:46217 +2024/12/14 05:53:06 Client: set up bidirectional streaming RPC session. +2024/12/14 05:53:06 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +--- PASS: TestGetServerConfigFromS2Av2 (0.05s) + --- PASS: TestGetServerConfigFromS2Av2/empty_accessToken_and_empty_localIdentities (0.01s) + --- PASS: TestGetServerConfigFromS2Av2/invalid_accessToken (0.02s) + --- PASS: TestGetServerConfigFromS2Av2/correct_accessToken_and_non_-_empty_localIdentities (0.02s) === RUN TestGetClientConfig -2024/12/14 05:28:02 Server: started gRPC fake S2Av2 Server on address: [::]:43151 +2024/12/14 05:53:06 Server: started gRPC fake S2Av2 Server on address: [::]:42105 === RUN TestGetClientConfig/static -2024/12/14 05:28:02 Client: connected to: [::]:43151 -2024/12/14 05:28:02 Client: set up bidirectional streaming RPC session. -2024/12/14 05:28:02 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled ---- PASS: TestGetClientConfig (0.00s) - --- PASS: TestGetClientConfig/static (0.00s) +2024/12/14 05:53:06 Client: connected to: [::]:42105 +2024/12/14 05:53:06 Client: set up bidirectional streaming RPC session. +2024/12/14 05:53:06 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +--- PASS: TestGetClientConfig (0.02s) + --- PASS: TestGetClientConfig/static (0.01s) === RUN TestGetTLSClientAuthType === RUN TestGetTLSClientAuthType/Don't_request_client_cert === RUN TestGetTLSClientAuthType/Request_client_cert,_but_don't_verify @@ -2788,7 +2823,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.053s +ok github.com/google/s2a-go/internal/v2/tlsconfigstore 0.294s === RUN TestS2ARetryer === RUN TestS2ARetryer/retry_on_err === RUN TestS2ARetryer/don't_retry_if_err_is_nil @@ -2800,9 +2835,9 @@ === RUN TestDefaultBackoff --- PASS: TestDefaultBackoff (0.00s) === RUN TestSuccessAfterRetry ---- PASS: TestSuccessAfterRetry (0.10s) +--- PASS: TestSuccessAfterRetry (0.04s) PASS -ok github.com/google/s2a-go/retry 0.100s +ok github.com/google/s2a-go/retry 0.096s create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang dh_prep -O--builddirectory=_build -O--buildsystem=golang @@ -2831,12 +2866,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/9189/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/9189/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/26110 and its subdirectories -I: Current time: Fri Dec 13 17:28:17 -12 2024 -I: pbuilder-time-stamp: 1734154097 +I: removing directory /srv/workspace/pbuilder/9189 and its subdirectories +I: Current time: Sat Dec 14 19:54:53 +14 2024 +I: pbuilder-time-stamp: 1734155693