Diff of the two buildlogs: -- --- b1/build.log 2024-04-18 12:36:05.192881925 +0000 +++ b2/build.log 2024-04-18 12:47:13.004503533 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Apr 18 00:31:28 -12 2024 -I: pbuilder-time-stamp: 1713443488 +I: Current time: Fri Apr 19 02:36:17 +14 2024 +I: pbuilder-time-stamp: 1713443777 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/experimental-reproducible-base.tgz] I: copying local configuration @@ -29,52 +29,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/32407/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/387/tmp/hooks/D01_modify_environment starting +debug: Running on cbxi4pro0. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Apr 18 12:36 /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/387/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/387/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='experimental' - HOME='/root' - HOST_ARCH='armhf' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="21" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=experimental + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='ae0aff6a510d41518324da50d290983e' - 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='32407' - PS1='# ' - PS2='> ' + INVOCATION_ID=a50046fe260e4b1faee4c20c474ce1fa + 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=387 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.Qns8Eu1w/pbuilderrc_pbCj --distribution experimental --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/experimental-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.Qns8Eu1w/b1 --logfile b1/build.log golang-github-google-s2a-go_0.1.7-2.dsc' - SUDO_GID='114' - SUDO_UID='108' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.Qns8Eu1w/pbuilderrc_YJLE --distribution experimental --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/experimental-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.Qns8Eu1w/b2 --logfile b2/build.log golang-github-google-s2a-go_0.1.7-2.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 virt64a 6.1.0-20-arm64 #1 SMP Debian 6.1.85-1 (2024-04-11) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-20-armmp #1 SMP Debian 6.1.85-1 (2024-04-11) armv7l GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Apr 14 07:34 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/32407/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Apr 15 07:37 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/387/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -259,7 +291,7 @@ Get: 81 http://deb.debian.org/debian unstable/main armhf protobuf-compiler armhf 3.21.12-8.2 [84.2 kB] Get: 82 http://deb.debian.org/debian unstable/main armhf protoc-gen-go armhf 1.33.0-1 [1240 kB] Get: 83 http://deb.debian.org/debian unstable/main armhf protoc-gen-go-grpc armhf 1.38.0+really1.33.3-1+b3 [1625 kB] -Fetched 88.2 MB in 19s (4568 kB/s) +Fetched 88.2 MB in 6s (14.7 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19442 files and directories currently installed.) @@ -606,7 +638,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.7/ && 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.7-2_source.changes +I: user script /srv/workspace/pbuilder/387/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for experimental +I: user script /srv/workspace/pbuilder/387/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.7/ && 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.7-2_source.changes dpkg-buildpackage: info: source package golang-github-google-s2a-go dpkg-buildpackage: info: source version 0.1.7-2 dpkg-buildpackage: info: source distribution experimental @@ -627,20 +663,20 @@ make[1]: Entering directory '/build/reproducible-path/golang-github-google-s2a-go-0.1.7' /build/reproducible-path/golang-github-google-s2a-go-0.1.7/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/s2a_context_go_proto github.com/google/s2a-go/internal/proto/s2a_go_proto github.com/google/s2a-go/internal/proto/v2/common_go_proto github.com/google/s2a-go/internal/proto/v2/s2a_context_go_proto github.com/google/s2a-go/internal/proto/v2/s2a_go_proto github.com/google/s2a-go/internal/record github.com/google/s2a-go/internal/record/internal/aeadcrypter github.com/google/s2a-go/internal/record/internal/aeadcrypter/testutil github.com/google/s2a-go/internal/record/internal/halfconn github.com/google/s2a-go/internal/tokenmanager github.com/google/s2a-go/internal/v2 github.com/google/s2a-go/internal/v2/certverifier github.com/google/s2a-go/internal/v2/fakes2av2 github.com/google/s2a-go/internal/v2/remotesigner github.com/google/s2a-go/internal/v2/tlsconfigstore github.com/google/s2a-go/retry github.com/google/s2a-go/stream + cd _build && go 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/s2a_context_go_proto github.com/google/s2a-go/internal/proto/s2a_go_proto github.com/google/s2a-go/internal/proto/v2/common_go_proto github.com/google/s2a-go/internal/proto/v2/s2a_context_go_proto github.com/google/s2a-go/internal/proto/v2/s2a_go_proto github.com/google/s2a-go/internal/record github.com/google/s2a-go/internal/record/internal/aeadcrypter github.com/google/s2a-go/internal/record/internal/aeadcrypter/testutil github.com/google/s2a-go/internal/record/internal/halfconn github.com/google/s2a-go/internal/tokenmanager github.com/google/s2a-go/internal/v2 github.com/google/s2a-go/internal/v2/certverifier github.com/google/s2a-go/internal/v2/fakes2av2 github.com/google/s2a-go/internal/v2/remotesigner github.com/google/s2a-go/internal/v2/tlsconfigstore github.com/google/s2a-go/retry github.com/google/s2a-go/stream internal/unsafeheader -internal/goarch -internal/cpu internal/coverage/rtcov -internal/abi -internal/chacha8rand -internal/bytealg +internal/cpu +internal/goarch internal/godebugs internal/goexperiment +internal/abi +internal/chacha8rand internal/goos -runtime/internal/atomic runtime/internal/math runtime/internal/sys +internal/bytealg +runtime/internal/atomic runtime/internal/syscall internal/race sync/atomic @@ -649,19 +685,19 @@ unicode/utf8 container/list math/bits -runtime -math crypto/internal/alias crypto/internal/boring/sig cmp -slices unicode/utf16 +math +slices vendor/golang.org/x/crypto/cryptobyte/asn1 internal/nettrace vendor/golang.org/x/crypto/internal/alias encoding google.golang.org/protobuf/internal/flags google.golang.org/protobuf/internal/set +runtime log/internal google.golang.org/grpc/serviceconfig golang.org/x/crypto/internal/alias @@ -670,240 +706,240 @@ internal/reflectlite sync internal/testlog -internal/bisect internal/singleflight +internal/bisect +google.golang.org/protobuf/internal/pragma runtime/cgo internal/godebug errors +sort internal/oserror io syscall +strconv bytes hash -strconv +crypto/internal/nistec/fiat crypto reflect time -crypto/internal/nistec/fiat -context crypto/internal/randutil -sort internal/syscall/unix +internal/safefilepath +internal/syscall/execenv +path +math/rand +context internal/poll +io/fs encoding/binary +crypto/internal/nistec internal/fmtsort -internal/safefilepath -internal/syscall/execenv +strings +os crypto/cipher -crypto/internal/edwards25519/field -path crypto/internal/boring crypto/aes crypto/des -io/fs -math/rand -crypto/internal/nistec -os -strings +crypto/internal/edwards25519/field crypto/sha512 -crypto/ecdh -crypto/internal/edwards25519 crypto/hmac -fmt crypto/md5 +crypto/ecdh +crypto/internal/edwards25519 crypto/rc4 crypto/sha1 crypto/sha256 +fmt encoding/base64 vendor/golang.org/x/net/dns/dnsmessage -encoding/pem internal/intern +encoding/pem net/netip -math/big -encoding/hex -net/url -net path/filepath vendor/golang.org/x/crypto/chacha20 vendor/golang.org/x/crypto/internal/poly1305 -vendor/golang.org/x/crypto/chacha20poly1305 vendor/golang.org/x/crypto/hkdf +math/big +encoding/hex +net +net/url +vendor/golang.org/x/crypto/chacha20poly1305 bufio -crypto/elliptic -crypto/internal/bigmod -crypto/internal/boring/bbig -encoding/asn1 -crypto/rand -crypto/ed25519 -crypto/rsa -vendor/golang.org/x/crypto/cryptobyte -crypto/dsa -crypto/x509/pkix -compress/flate -crypto/ecdsa hash/crc32 encoding/json +compress/flate compress/gzip 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 -go/token +crypto/elliptic +crypto/internal/bigmod +crypto/internal/boring/bbig +crypto/rand +encoding/asn1 +crypto/ed25519 +crypto/rsa +crypto/dsa google.golang.org/protobuf/internal/encoding/messageset -google.golang.org/protobuf/internal/strs +go/token +vendor/golang.org/x/crypto/cryptobyte google.golang.org/protobuf/internal/genid -google.golang.org/protobuf/internal/encoding/text +crypto/x509/pkix +google.golang.org/protobuf/internal/strs google.golang.org/protobuf/internal/order +google.golang.org/protobuf/internal/encoding/text google.golang.org/protobuf/reflect/protoregistry +crypto/ecdsa google.golang.org/protobuf/runtime/protoiface -embed google.golang.org/protobuf/proto +embed google.golang.org/protobuf/internal/editiondefaults google.golang.org/protobuf/internal/encoding/defval google.golang.org/protobuf/internal/descfmt google.golang.org/protobuf/internal/descopts io/ioutil google.golang.org/protobuf/internal/version -google.golang.org/protobuf/encoding/prototext -google.golang.org/protobuf/internal/filedesc google.golang.org/grpc/attributes google.golang.org/grpc/internal/grpclog log +google.golang.org/protobuf/encoding/prototext +google.golang.org/protobuf/internal/filedesc google.golang.org/grpc/grpclog golang.org/x/net/internal/timeseries -google.golang.org/protobuf/internal/encoding/tag -crypto/x509 html -google.golang.org/protobuf/internal/impl regexp/syntax -regexp -crypto/tls text/template/parse +google.golang.org/protobuf/internal/encoding/tag +regexp +google.golang.org/protobuf/internal/impl text/template -html/template -google.golang.org/protobuf/internal/filetype -google.golang.org/protobuf/runtime/protoimpl -google.golang.org/protobuf/types/descriptorpb -github.com/google/s2a-go/internal/proto/common_go_proto -google.golang.org/grpc/internal/credentials vendor/golang.org/x/text/transform -github.com/google/s2a-go/internal/proto/s2a_context_go_proto +crypto/x509 vendor/golang.org/x/text/unicode/bidi -vendor/golang.org/x/text/unicode/norm +html/template vendor/golang.org/x/text/secure/bidirule +vendor/golang.org/x/text/unicode/norm net/textproto -google.golang.org/protobuf/types/gofeaturespb +crypto/tls vendor/golang.org/x/net/http2/hpack -google.golang.org/protobuf/reflect/protodesc vendor/golang.org/x/net/idna mime mime/quotedprintable +mime/multipart vendor/golang.org/x/net/http/httpguts vendor/golang.org/x/net/http/httpproxy -mime/multipart -github.com/golang/protobuf/proto -net/http/httptrace net/http/internal net/http/internal/ascii text/tabwriter -net/http google.golang.org/grpc/backoff -golang.org/x/sys/unix -google.golang.org/grpc/credentials -github.com/google/s2a-go/fallback google.golang.org/grpc/connectivity -google.golang.org/grpc/resolver +golang.org/x/sys/unix google.golang.org/grpc/metadata google.golang.org/grpc/internal/grpcrand -google.golang.org/grpc/credentials/insecure google.golang.org/grpc/internal/envconfig google.golang.org/grpc/internal/grpcutil google.golang.org/grpc/encoding -google.golang.org/grpc/encoding/proto google.golang.org/grpc/internal/backoff google.golang.org/grpc/internal/balancerload +google.golang.org/grpc/internal/buffer +google.golang.org/grpc/internal/grpcsync +google.golang.org/protobuf/internal/filetype +google.golang.org/grpc/internal/idle +google.golang.org/protobuf/internal/encoding/json +google.golang.org/protobuf/runtime/protoimpl +google.golang.org/protobuf/types/descriptorpb +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/types/known/anypb github.com/golang/protobuf/ptypes/any +google.golang.org/grpc/internal/credentials +net/http/httptrace google.golang.org/protobuf/types/known/durationpb +net/http github.com/golang/protobuf/ptypes/duration google.golang.org/protobuf/types/known/timestamppb +google.golang.org/protobuf/types/gofeaturespb github.com/golang/protobuf/ptypes/timestamp +google.golang.org/grpc/binarylog/grpc_binarylog_v1 +google.golang.org/protobuf/reflect/protodesc +google.golang.org/protobuf/encoding/protojson +golang.org/x/text/transform +golang.org/x/text/unicode/bidi +github.com/golang/protobuf/proto +golang.org/x/text/unicode/norm +golang.org/x/text/secure/bidirule +golang.org/x/net/http2/hpack +google.golang.org/grpc/internal/syscall +google.golang.org/grpc/keepalive +google.golang.org/grpc/stats +google.golang.org/grpc/tap +google.golang.org/grpc/internal/resolver/dns/internal +google.golang.org/grpc/credentials +google.golang.org/grpc/encoding/proto github.com/golang/protobuf/ptypes +github.com/google/s2a-go/fallback +google.golang.org/grpc/resolver +google.golang.org/grpc/credentials/insecure +google.golang.org/genproto/googleapis/rpc/status google.golang.org/grpc/internal -google.golang.org/grpc/binarylog/grpc_binarylog_v1 +google.golang.org/grpc/internal/metadata +github.com/golang/protobuf/jsonpb +google.golang.org/grpc/internal/resolver/passthrough +google.golang.org/grpc/internal/transport/networktype google.golang.org/grpc/internal/channelz google.golang.org/grpc/codes -google.golang.org/genproto/googleapis/rpc/status google.golang.org/grpc/internal/status +google.golang.org/grpc/status +google.golang.org/grpc/internal/binarylog google.golang.org/grpc/channelz +google.golang.org/grpc/internal/pretty google.golang.org/grpc/balancer -google.golang.org/grpc/status +google.golang.org/grpc/internal/resolver/unix +golang.org/x/net/idna google.golang.org/grpc/balancer/base -google.golang.org/grpc/internal/binarylog +google.golang.org/grpc/internal/serviceconfig google.golang.org/grpc/balancer/roundrobin google.golang.org/grpc/internal/balancer/gracefulswitch -google.golang.org/grpc/internal/buffer -google.golang.org/grpc/internal/idle -google.golang.org/grpc/internal/grpcsync -google.golang.org/grpc/internal/metadata -google.golang.org/protobuf/internal/encoding/json -google.golang.org/grpc/internal/serviceconfig google.golang.org/grpc/internal/resolver -google.golang.org/grpc/internal/resolver/passthrough -google.golang.org/grpc/internal/transport/networktype -google.golang.org/grpc/internal/resolver/unix -golang.org/x/text/transform -google.golang.org/protobuf/encoding/protojson -golang.org/x/text/unicode/bidi -golang.org/x/text/secure/bidirule -github.com/golang/protobuf/jsonpb -golang.org/x/text/unicode/norm -google.golang.org/grpc/internal/pretty -golang.org/x/net/http2/hpack -golang.org/x/net/trace -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 -net/http/httputil google.golang.org/grpc/balancer/grpclb/state -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 +google.golang.org/grpc/internal/resolver/dns golang.org/x/crypto/internal/poly1305 -golang.org/x/crypto/cryptobyte +google.golang.org/grpc/resolver/dns golang.org/x/net/http/httpguts -golang.org/x/net/http2 golang.org/x/crypto/chacha20poly1305 -github.com/google/s2a-go/internal/record/internal/aeadcrypter +golang.org/x/crypto/cryptobyte golang.org/x/crypto/hkdf github.com/google/s2a-go/internal/tokenmanager -github.com/google/s2a-go/internal/record/internal/halfconn +github.com/google/s2a-go/internal/record/internal/aeadcrypter 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/retry flag internal/sysinfo +github.com/google/s2a-go/internal/record/internal/halfconn runtime/debug runtime/trace testing +golang.org/x/net/trace +net/http/httputil +golang.org/x/net/http2 github.com/google/s2a-go/internal/record/internal/aeadcrypter/testutil 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/fakehandshaker/service github.com/google/s2a-go/internal/authinfo github.com/google/s2a-go/internal/record -github.com/google/s2a-go/internal/fakehandshaker/service +github.com/google/s2a-go/internal/handshaker github.com/google/s2a-go/stream github.com/google/s2a-go/internal/v2/fakes2av2 -github.com/google/s2a-go/internal/handshaker github.com/google/s2a-go/internal/v2/certverifier github.com/google/s2a-go/internal/v2/remotesigner github.com/google/s2a-go/internal/v2/tlsconfigstore @@ -911,13 +947,13 @@ github.com/google/s2a-go make[1]: Leaving directory '/build/reproducible-path/golang-github-google-s2a-go-0.1.7' 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/s2a_context_go_proto github.com/google/s2a-go/internal/proto/s2a_go_proto github.com/google/s2a-go/internal/proto/v2/common_go_proto github.com/google/s2a-go/internal/proto/v2/s2a_context_go_proto github.com/google/s2a-go/internal/proto/v2/s2a_go_proto github.com/google/s2a-go/internal/record github.com/google/s2a-go/internal/record/internal/aeadcrypter github.com/google/s2a-go/internal/record/internal/aeadcrypter/testutil github.com/google/s2a-go/internal/record/internal/halfconn github.com/google/s2a-go/internal/tokenmanager github.com/google/s2a-go/internal/v2 github.com/google/s2a-go/internal/v2/certverifier github.com/google/s2a-go/internal/v2/fakes2av2 github.com/google/s2a-go/internal/v2/remotesigner github.com/google/s2a-go/internal/v2/tlsconfigstore github.com/google/s2a-go/retry github.com/google/s2a-go/stream + cd _build && go test -vet=off -v -p 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/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 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 (0.01s) --- PASS: TestToProtoIdentity/spiffe_id:"test_spiffe_id" (0.00s) --- PASS: TestToProtoIdentity/hostname:"test_hostname" (0.00s) --- PASS: TestToProtoIdentity/uid:"test_uid" (0.00s) @@ -927,7 +963,7 @@ === RUN TestNewClientCreds/only_spiffe_IDs === RUN TestNewClientCreds/only_UIDs === RUN TestNewClientCreds/mixed_identities ---- PASS: TestNewClientCreds (0.00s) +--- PASS: TestNewClientCreds (0.01s) --- PASS: TestNewClientCreds/only_hostnames (0.00s) --- PASS: TestNewClientCreds/only_spiffe_IDs (0.00s) --- PASS: TestNewClientCreds/only_UIDs (0.00s) @@ -937,7 +973,7 @@ === RUN TestNewServerCreds/only_spiffe_IDs === RUN TestNewServerCreds/only_UIDs === RUN TestNewServerCreds/mixed_identities ---- PASS: TestNewServerCreds (0.00s) +--- PASS: TestNewServerCreds (0.01s) --- PASS: TestNewServerCreds/only_hostnames (0.00s) --- PASS: TestNewServerCreds/only_spiffe_IDs (0.00s) --- PASS: TestNewServerCreds/only_UIDs (0.00s) @@ -947,9 +983,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 --- PASS: TestOverrideServerName (0.00s) === RUN TestGetVerificationMode @@ -965,13 +1001,13 @@ === RUN TestAuthInfoFromPeer --- PASS: TestAuthInfoFromPeer (0.00s) PASS -ok github.com/google/s2a-go 0.033s +ok github.com/google/s2a-go 0.097s === RUN TestDefaultFallbackClientHandshakeFunc --- PASS: TestDefaultFallbackClientHandshakeFunc (0.00s) === RUN TestDefaultFallbackDialerAndAddress --- PASS: TestDefaultFallbackDialerAndAddress (0.00s) PASS -ok github.com/google/s2a-go/fallback 0.010s +ok github.com/google/s2a-go/fallback 0.033s === RUN TestS2AAuthInfo === RUN TestS2AAuthInfo/basic_1 === RUN TestS2AAuthInfo/basic_2 @@ -983,7 +1019,7 @@ --- PASS: TestS2AAuthInfo/nil_identities_and_fingerprints (0.00s) --- PASS: TestS2AAuthInfo/nil_session_result (0.00s) PASS -ok github.com/google/s2a-go/internal/authinfo 0.014s +ok github.com/google/s2a-go/internal/authinfo 0.041s === RUN TestSetupSession === RUN TestSetupSession/client_failure_no_app_protocols === RUN TestSetupSession/client_failure_non_initial_state @@ -992,13 +1028,13 @@ === RUN TestSetupSession/server_failure_non_initial_state === RUN TestSetupSession/server_test === RUN TestSetupSession/resumption_ticket_test ---- PASS: TestSetupSession (0.01s) +--- PASS: TestSetupSession (0.03s) --- 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_test (0.01s) --- 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_test (0.01s) --- PASS: TestSetupSession/resumption_ticket_test (0.00s) === RUN TestAuthenticateRequest === RUN TestAuthenticateRequest/access_token_env_variable_is_not_set @@ -1011,13 +1047,13 @@ --- 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.023s +ok github.com/google/s2a-go/internal/fakehandshaker/service 0.076s ? github.com/google/s2a-go/internal/proto/common_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/proto/s2a_go_proto [no test files] === RUN TestNewClientHandshaker --- PASS: TestNewClientHandshaker (0.00s) === RUN TestNewServerHandshaker @@ -1028,22 +1064,22 @@ === 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.05s) + --- PASS: TestServerHandshakeSuccess/full_server_options (0.01s) + --- PASS: TestServerHandshakeSuccess/full_server_options_with_no_local_identities (0.01s) + --- PASS: TestServerHandshakeSuccess/full_server_options,_sending_tokens (0.02s) + --- PASS: TestServerHandshakeSuccess/full_server_options_with_no_local_identity,_sending_tokens (0.01s) === RUN TestS2ARejectsTokenFromClient --- PASS: TestS2ARejectsTokenFromClient (0.00s) === RUN TestS2ARejectsTokenFromServer @@ -1053,18 +1089,18 @@ === RUN TestPeerNotResponding --- PASS: TestPeerNotResponding (0.00s) === RUN TestLocalIdentityNotSet ---- PASS: TestLocalIdentityNotSet (0.00s) +--- PASS: TestLocalIdentityNotSet (0.01s) === 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.02s) --- PASS: TestGetAuthMechanismsForClient/token_manager_is_nil (0.00s) --- PASS: TestGetAuthMechanismsForClient/token_manager_expects_empty_identity (0.00s) --- PASS: TestGetAuthMechanismsForClient/token_manager_does_not_expect_empty_identity (0.00s) - --- PASS: TestGetAuthMechanismsForClient/token_manager_expects_SPIFFE_ID (0.00s) + --- PASS: TestGetAuthMechanismsForClient/token_manager_expects_SPIFFE_ID (0.01s) --- PASS: TestGetAuthMechanismsForClient/token_manager_does_not_expect_hostname (0.00s) === RUN TestGetAuthMechanismsForServer === RUN TestGetAuthMechanismsForServer/token_manager_is_nil @@ -1072,18 +1108,18 @@ === RUN TestGetAuthMechanismsForServer/token_manager_does_not_expect_empty_identity === RUN TestGetAuthMechanismsForServer/token_manager_expects_2_SPIFFE_IDs === RUN TestGetAuthMechanismsForServer/token_manager_expects_a_SPIFFE_ID_but_does_not_expect_hostname ---- PASS: TestGetAuthMechanismsForServer (0.00s) +--- PASS: TestGetAuthMechanismsForServer (0.02s) --- PASS: TestGetAuthMechanismsForServer/token_manager_is_nil (0.00s) --- PASS: TestGetAuthMechanismsForServer/token_manager_expects_empty_identity (0.00s) --- PASS: TestGetAuthMechanismsForServer/token_manager_does_not_expect_empty_identity (0.00s) - --- PASS: TestGetAuthMechanismsForServer/token_manager_expects_2_SPIFFE_IDs (0.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.01s) + --- PASS: TestGetAuthMechanismsForServer/token_manager_expects_a_SPIFFE_ID_but_does_not_expect_hostname (0.01s) PASS -ok github.com/google/s2a-go/internal/handshaker 0.058s +ok github.com/google/s2a-go/internal/handshaker 0.244s === RUN TestDial ---- PASS: TestDial (0.00s) +--- PASS: TestDial (0.01s) PASS -ok github.com/google/s2a-go/internal/handshaker/service 0.020s +ok github.com/google/s2a-go/internal/handshaker/service 0.079s ? github.com/google/s2a-go/internal/record/internal/aeadcrypter/testutil [no test files] === RUN TestNewS2ARecordConn === RUN TestNewS2ARecordConn/nil_conn_options @@ -1094,12 +1130,12 @@ === RUN TestNewS2ARecordConn/basic_with_AES-256-GCM-SHA384 === RUN TestNewS2ARecordConn/basic_with_CHACHA20-POLY1305-SHA256 === RUN TestNewS2ARecordConn/basic_with_unusedBytes ---- PASS: TestNewS2ARecordConn (0.01s) +--- PASS: TestNewS2ARecordConn (0.03s) --- PASS: TestNewS2ARecordConn/nil_conn_options (0.00s) --- PASS: TestNewS2ARecordConn/invalid_input_traffic_secret_size (0.00s) --- PASS: TestNewS2ARecordConn/invalid_output_traffic_secret_size (0.00s) --- PASS: TestNewS2ARecordConn/invalid_tls_version (0.00s) - --- PASS: TestNewS2ARecordConn/basic_with_AES-128-GCM-SHA256 (0.00s) + --- PASS: TestNewS2ARecordConn/basic_with_AES-128-GCM-SHA256 (0.01s) --- PASS: TestNewS2ARecordConn/basic_with_AES-256-GCM-SHA384 (0.00s) --- PASS: TestNewS2ARecordConn/basic_with_CHACHA20-POLY1305-SHA256 (0.00s) --- PASS: TestNewS2ARecordConn/basic_with_unusedBytes (0.00s) @@ -1154,7 +1190,7 @@ === RUN TestSplitAndValidateHeader/invalid_legacy_record_version === RUN TestSplitAndValidateHeader/basic_with_no_ciphertext === RUN TestSplitAndValidateHeader/basic_with_ciphertext ---- PASS: TestSplitAndValidateHeader (0.00s) +--- PASS: TestSplitAndValidateHeader (0.01s) --- PASS: TestSplitAndValidateHeader/invalid_header_type (0.00s) --- PASS: TestSplitAndValidateHeader/invalid_legacy_record_version (0.00s) --- PASS: TestSplitAndValidateHeader/basic_with_no_ciphertext (0.00s) @@ -1184,17 +1220,17 @@ === 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.02s) +--- PASS: TestConnReadApplicationData (0.09s) --- PASS: TestConnReadApplicationData/AES-128-GCM-SHA256_with_no_padding (0.00s) --- PASS: TestConnReadApplicationData/AES-128-GCM-SHA256_with_padding (0.00s) --- PASS: TestConnReadApplicationData/AES-128-GCM-SHA256_empty (0.00s) --- PASS: TestConnReadApplicationData/AES-256-GCM-SHA384_with_no_padding (0.00s) - --- PASS: TestConnReadApplicationData/AES-256-GCM-SHA384_with_padding (0.00s) + --- PASS: TestConnReadApplicationData/AES-256-GCM-SHA384_with_padding (0.01s) --- PASS: TestConnReadApplicationData/AES-256-GCM-SHA384_empty (0.00s) --- PASS: TestConnReadApplicationData/CHACHA20-POLY1305-SHA256_with_no_padding (0.01s) --- PASS: TestConnReadApplicationData/CHACHA20-POLY1305-SHA256_with_padding (0.00s) --- PASS: TestConnReadApplicationData/CHACHA20-POLY1305-SHA256_empty (0.00s) - --- PASS: TestConnReadApplicationData/AES-128-GCM-SHA256_split_in_first_record (0.00s) + --- PASS: TestConnReadApplicationData/AES-128-GCM-SHA256_split_in_first_record (0.01s) --- 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-128-GCM-SHA256_split_in_first_record_header (0.00s) @@ -1202,7 +1238,7 @@ --- 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/CHACHA20-POLY1305-SHA256_split_in_second_record (0.00s) + --- PASS: TestConnReadApplicationData/CHACHA20-POLY1305-SHA256_split_in_second_record (0.01s) --- PASS: TestConnReadApplicationData/AES-128-GCM-SHA256_split_in_second_record_header (0.00s) --- PASS: TestConnReadApplicationData/AES-256-GCM-SHA384_split_in_second_record_header (0.00s) --- PASS: TestConnReadApplicationData/CHACHA20-POLY1305-SHA256_split_in_second_record_header (0.00s) @@ -1222,7 +1258,7 @@ === RUN TestConnReadAlert/AES-128-GCM-SHA256_invalid === RUN TestConnReadAlert/AES-256-GCM-SHA384_invalid === RUN TestConnReadAlert/CHACHA20-POLY1305-SHA256_invalid ---- PASS: TestConnReadAlert (0.01s) +--- PASS: TestConnReadAlert (0.05s) --- 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) @@ -1232,9 +1268,9 @@ --- PASS: TestConnReadAlert/AES-128-GCM-SHA256_other_alert (0.00s) --- PASS: TestConnReadAlert/AES-256-GCM-SHA384_other_alert (0.00s) --- PASS: TestConnReadAlert/CHACHA20-POLY1305-SHA256_other_alert (0.00s) - --- PASS: TestConnReadAlert/AES-128-GCM-SHA256_invalid (0.00s) + --- PASS: TestConnReadAlert/AES-128-GCM-SHA256_invalid (0.01s) --- PASS: TestConnReadAlert/AES-256-GCM-SHA384_invalid (0.00s) - --- PASS: TestConnReadAlert/CHACHA20-POLY1305-SHA256_invalid (0.00s) + --- PASS: TestConnReadAlert/CHACHA20-POLY1305-SHA256_invalid (0.01s) === RUN TestConnReadKeyUpdate === RUN TestConnReadKeyUpdate/AES-128-GCM-SHA256 === RUN TestConnReadKeyUpdate/AES-256-GCM-SHA384 @@ -1242,13 +1278,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 (0.06s) --- 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/AES-256-GCM-SHA384 (0.01s) + --- PASS: TestConnReadKeyUpdate/CHACHA20-POLY1305-SHA256 (0.02s) + --- PASS: TestConnReadKeyUpdate/AES-128-GCM-SHA256_send_key_update_request (0.01s) + --- PASS: TestConnReadKeyUpdate/AES-256-GCM-SHA384_send_key_update_request (0.01s) + --- PASS: TestConnReadKeyUpdate/CHACHA20-POLY1305-SHA256_send_key_update_request (0.01s) === RUN TestConnNewSessionTicket === RUN TestConnNewSessionTicket/AES-128-GCM-SHA256_new_session_ticket === RUN TestConnNewSessionTicket/AES-256-GCM-SHA384_new_session_ticket @@ -1259,14 +1295,14 @@ === RUN TestConnNewSessionTicket/AES-128-GCM-SHA256_ticket,_application_data,_then_another_ticket === RUN TestConnNewSessionTicket/AES-256-GCM-SHA384_ticket,_application_data,_then_another_ticket === RUN TestConnNewSessionTicket/CHACHA20-POLY1305-SHA256_ticket,_application_data,_then_another_ticket ---- PASS: TestConnNewSessionTicket (0.01s) +--- PASS: TestConnNewSessionTicket (0.04s) --- PASS: TestConnNewSessionTicket/AES-128-GCM-SHA256_new_session_ticket (0.00s) --- PASS: TestConnNewSessionTicket/AES-256-GCM-SHA384_new_session_ticket (0.00s) - --- PASS: TestConnNewSessionTicket/CHACHA20-POLY1305-SHA256_new_session_ticket (0.00s) + --- PASS: TestConnNewSessionTicket/CHACHA20-POLY1305-SHA256_new_session_ticket (0.01s) --- PASS: TestConnNewSessionTicket/AES-128-GCM-SHA256_new_session_ticket_followed_by_application_data (0.00s) --- PASS: TestConnNewSessionTicket/AES-256-GCM-SHA384_new_session_ticket_followed_by_application_data (0.00s) --- PASS: TestConnNewSessionTicket/CHACHA20-POLY1305-SHA256_new_session_ticket_followed_by_application_data (0.00s) - --- PASS: TestConnNewSessionTicket/AES-128-GCM-SHA256_ticket,_application_data,_then_another_ticket (0.00s) + --- PASS: TestConnNewSessionTicket/AES-128-GCM-SHA256_ticket,_application_data,_then_another_ticket (0.01s) --- PASS: TestConnNewSessionTicket/AES-256-GCM-SHA384_ticket,_application_data,_then_another_ticket (0.00s) --- PASS: TestConnNewSessionTicket/CHACHA20-POLY1305-SHA256_ticket,_application_data,_then_another_ticket (0.00s) === RUN TestConnHandshakeWithHandshakeBuilder @@ -1303,28 +1339,28 @@ === RUN TestConnHandshakeWithHandshakeBuilder/AES-128-GCM-SHA256_key_update_between_session_tickets_in_a_single_record === RUN TestConnHandshakeWithHandshakeBuilder/AES-256-GCM-SHA384_key_update_between_session_tickets_in_a_single_record === RUN TestConnHandshakeWithHandshakeBuilder/CHACHA20-POLY1305-SHA256_key_update_between_session_tickets_in_a_single_record ---- PASS: TestConnHandshakeWithHandshakeBuilder (2.16s) +--- PASS: TestConnHandshakeWithHandshakeBuilder (6.21s) --- PASS: TestConnHandshakeWithHandshakeBuilder/AES-128-GCM-SHA256_consecutive_tickets (0.00s) --- PASS: TestConnHandshakeWithHandshakeBuilder/AES-256-GCM-SHA384_consecutive_tickets (0.00s) --- PASS: TestConnHandshakeWithHandshakeBuilder/CHACHA20-POLY1305-SHA256_consecutive_tickets (0.00s) --- PASS: TestConnHandshakeWithHandshakeBuilder/AES-128-GCM-SHA256_multiple_tickets_in_one_record (0.00s) - --- PASS: TestConnHandshakeWithHandshakeBuilder/AES-256-GCM-SHA384_multiple_tickets_in_one_record (0.00s) + --- PASS: TestConnHandshakeWithHandshakeBuilder/AES-256-GCM-SHA384_multiple_tickets_in_one_record (0.01s) --- PASS: TestConnHandshakeWithHandshakeBuilder/CHACHA20-POLY1305-SHA256_multiple_tickets_in_one_record (0.00s) - --- PASS: TestConnHandshakeWithHandshakeBuilder/AES-128-GCM-SHA256_fragmented_tickets (0.35s) - --- PASS: TestConnHandshakeWithHandshakeBuilder/AES-256-GCM-SHA384_fragmented_tickets (0.31s) - --- PASS: TestConnHandshakeWithHandshakeBuilder/CHACHA20-POLY1305-SHA256_fragmented_tickets (0.33s) - --- PASS: TestConnHandshakeWithHandshakeBuilder/AES-128-GCM-SHA256_large_ticket (0.41s) - --- PASS: TestConnHandshakeWithHandshakeBuilder/AES-256-GCM-SHA384_large_ticket (0.42s) - --- PASS: TestConnHandshakeWithHandshakeBuilder/CHACHA20-POLY1305-SHA256_large_ticket (0.29s) + --- PASS: TestConnHandshakeWithHandshakeBuilder/AES-128-GCM-SHA256_fragmented_tickets (0.90s) + --- PASS: TestConnHandshakeWithHandshakeBuilder/AES-256-GCM-SHA384_fragmented_tickets (0.98s) + --- PASS: TestConnHandshakeWithHandshakeBuilder/CHACHA20-POLY1305-SHA256_fragmented_tickets (0.93s) + --- PASS: TestConnHandshakeWithHandshakeBuilder/AES-128-GCM-SHA256_large_ticket (1.12s) + --- PASS: TestConnHandshakeWithHandshakeBuilder/AES-256-GCM-SHA384_large_ticket (1.02s) + --- PASS: TestConnHandshakeWithHandshakeBuilder/CHACHA20-POLY1305-SHA256_large_ticket (1.14s) --- PASS: TestConnHandshakeWithHandshakeBuilder/AES-128-GCM-SHA256_split_in_header (0.00s) --- PASS: TestConnHandshakeWithHandshakeBuilder/AES-256-GCM-SHA384_split_in_header (0.00s) --- PASS: TestConnHandshakeWithHandshakeBuilder/CHACHA20-POLY1305-SHA256_split_in_header (0.00s) - --- PASS: TestConnHandshakeWithHandshakeBuilder/AES-128-GCM-SHA256_past_max_limit (0.00s) - --- PASS: TestConnHandshakeWithHandshakeBuilder/AES-256-GCM-SHA384_past_max_limit (0.00s) + --- PASS: TestConnHandshakeWithHandshakeBuilder/AES-128-GCM-SHA256_past_max_limit (0.01s) + --- PASS: TestConnHandshakeWithHandshakeBuilder/AES-256-GCM-SHA384_past_max_limit (0.01s) --- PASS: TestConnHandshakeWithHandshakeBuilder/CHACHA20-POLY1305-SHA256_past_max_limit (0.00s) --- PASS: TestConnHandshakeWithHandshakeBuilder/AES-128-GCM-SHA256_consecutive_key_updates (0.00s) --- PASS: TestConnHandshakeWithHandshakeBuilder/AES-256-GCM-SHA384_consecutive_key_updates (0.00s) - --- PASS: TestConnHandshakeWithHandshakeBuilder/CHACHA20-POLY1305-SHA256_consecutive_key_updates (0.03s) + --- PASS: TestConnHandshakeWithHandshakeBuilder/CHACHA20-POLY1305-SHA256_consecutive_key_updates (0.00s) --- PASS: TestConnHandshakeWithHandshakeBuilder/AES-128-GCM-SHA256_consecutive_key_updates_in_single_record (0.00s) --- PASS: TestConnHandshakeWithHandshakeBuilder/AES-256-GCM-SHA384_consecutive_key_updates_in_single_record (0.00s) --- PASS: TestConnHandshakeWithHandshakeBuilder/CHACHA20-POLY1305-SHA256_consecutive_key_updates_in_single_record (0.00s) @@ -1335,7 +1371,7 @@ --- PASS: TestConnHandshakeWithHandshakeBuilder/AES-256-GCM-SHA384_key_update_between_session_tickets (0.00s) --- PASS: TestConnHandshakeWithHandshakeBuilder/CHACHA20-POLY1305-SHA256_key_update_between_session_tickets (0.00s) --- PASS: TestConnHandshakeWithHandshakeBuilder/AES-128-GCM-SHA256_key_update_between_session_tickets_in_a_single_record (0.00s) - --- PASS: TestConnHandshakeWithHandshakeBuilder/AES-256-GCM-SHA384_key_update_between_session_tickets_in_a_single_record (0.01s) + --- PASS: TestConnHandshakeWithHandshakeBuilder/AES-256-GCM-SHA384_key_update_between_session_tickets_in_a_single_record (0.00s) --- PASS: TestConnHandshakeWithHandshakeBuilder/CHACHA20-POLY1305-SHA256_key_update_between_session_tickets_in_a_single_record (0.00s) === RUN TestWrite === RUN TestWrite/AES-128-GCM-SHA256 @@ -1344,7 +1380,7 @@ === RUN TestWrite/AES-256-GCM-SHA384_empty === RUN TestWrite/CHACHA20-POLY1305-SHA256 === RUN TestWrite/CHACHA20-POLY1305-SHA256_empty ---- PASS: TestWrite (0.00s) +--- PASS: TestWrite (0.02s) --- PASS: TestWrite/AES-128-GCM-SHA256 (0.00s) --- PASS: TestWrite/AES-128-GCM-SHA256_empty (0.00s) --- PASS: TestWrite/AES-256-GCM-SHA384 (0.00s) @@ -1355,18 +1391,18 @@ === RUN TestWriteTwoRecords/AES-128-GCM-SHA256 === RUN TestWriteTwoRecords/AES-256-GCM-SHA384 === RUN TestWriteTwoRecords/CHACHA20-POLY1305-SHA256 ---- PASS: TestWriteTwoRecords (0.01s) +--- PASS: TestWriteTwoRecords (0.02s) --- PASS: TestWriteTwoRecords/AES-128-GCM-SHA256 (0.00s) - --- PASS: TestWriteTwoRecords/AES-256-GCM-SHA384 (0.00s) + --- PASS: TestWriteTwoRecords/AES-256-GCM-SHA384 (0.01s) --- 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.08s) - --- PASS: TestExceedBufferSize/AES-128-GCM-SHA256 (0.02s) - --- PASS: TestExceedBufferSize/AES-256-GCM-SHA384 (0.03s) - --- PASS: TestExceedBufferSize/CHACHA20-POLY1305-SHA256 (0.01s) +--- PASS: TestExceedBufferSize (0.17s) + --- PASS: TestExceedBufferSize/AES-128-GCM-SHA256 (0.06s) + --- PASS: TestExceedBufferSize/AES-256-GCM-SHA384 (0.09s) + --- PASS: TestExceedBufferSize/CHACHA20-POLY1305-SHA256 (0.02s) === RUN TestRoundtrip === RUN TestRoundtrip/AES-128-GCM-SHA256 === RUN TestRoundtrip/AES-128-GCM-SHA256_different_traffic_secrets @@ -1383,22 +1419,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.43s) +--- PASS: TestRoundtrip (1.21s) --- PASS: TestRoundtrip/AES-128-GCM-SHA256 (0.00s) --- PASS: TestRoundtrip/AES-128-GCM-SHA256_different_traffic_secrets (0.00s) - --- PASS: TestRoundtrip/AES-128-GCM-SHA256_empty (0.01s) - --- PASS: TestRoundtrip/AES-128-GCM-SHA256_max_buffer_size (0.08s) - --- PASS: TestRoundtrip/AES-128-GCM-SHA256_exceed_buffer_size (0.08s) + --- PASS: TestRoundtrip/AES-128-GCM-SHA256_empty (0.00s) + --- PASS: TestRoundtrip/AES-128-GCM-SHA256_max_buffer_size (0.23s) + --- PASS: TestRoundtrip/AES-128-GCM-SHA256_exceed_buffer_size (0.23s) --- PASS: TestRoundtrip/AES-256-GCM-SHA384 (0.00s) --- PASS: TestRoundtrip/AES-256-GCM-SHA384_different_traffic_secrets (0.00s) --- PASS: TestRoundtrip/AES-256-GCM-SHA384_empty (0.00s) - --- PASS: TestRoundtrip/AES-256-GCM-SHA384_max_buffer_size (0.12s) - --- PASS: TestRoundtrip/AES-256-GCM-SHA384_exceed_buffer_size (0.06s) + --- PASS: TestRoundtrip/AES-256-GCM-SHA384_max_buffer_size (0.25s) + --- PASS: TestRoundtrip/AES-256-GCM-SHA384_exceed_buffer_size (0.25s) --- PASS: TestRoundtrip/CHACHA20-POLY1305-SHA256 (0.00s) --- PASS: TestRoundtrip/CHACHA20-POLY1305-SHA256_different_traffic_secrets (0.00s) - --- PASS: TestRoundtrip/CHACHA20-POLY1305-SHA256_empty (0.00s) - --- PASS: TestRoundtrip/CHACHA20-POLY1305-SHA256_max_buffer_size (0.02s) - --- PASS: TestRoundtrip/CHACHA20-POLY1305-SHA256_max_buffer_size#01 (0.02s) + --- PASS: TestRoundtrip/CHACHA20-POLY1305-SHA256_empty (0.01s) + --- PASS: TestRoundtrip/CHACHA20-POLY1305-SHA256_max_buffer_size (0.09s) + --- PASS: TestRoundtrip/CHACHA20-POLY1305-SHA256_max_buffer_size#01 (0.09s) === RUN TestWriteTicketsToStream --- PASS: TestWriteTicketsToStream (0.00s) === RUN TestGetAuthMechanism @@ -1407,14 +1443,14 @@ === RUN TestGetAuthMechanism/token_manager_does_not_expect_empty_identity === RUN TestGetAuthMechanism/token_manager_expects_SPIFFE_ID === RUN TestGetAuthMechanism/token_manager_does_not_expect_hostname ---- PASS: TestGetAuthMechanism (0.00s) +--- PASS: TestGetAuthMechanism (0.01s) --- PASS: TestGetAuthMechanism/token_manager_is_nil (0.00s) --- PASS: TestGetAuthMechanism/token_manager_expects_empty_identity (0.00s) --- PASS: TestGetAuthMechanism/token_manager_does_not_expect_empty_identity (0.00s) --- PASS: TestGetAuthMechanism/token_manager_expects_SPIFFE_ID (0.00s) --- PASS: TestGetAuthMechanism/token_manager_does_not_expect_hostname (0.00s) PASS -ok github.com/google/s2a-go/internal/record 2.782s +ok github.com/google/s2a-go/internal/record 8.139s === RUN TestAESGCMInvalidKeySize --- PASS: TestAESGCMInvalidKeySize (0.00s) === RUN TestAESGCMEncryptRoundtrip @@ -1539,7 +1575,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.03s) +--- PASS: TestWycheProofTestVectors (0.09s) --- PASS: TestWycheProofTestVectors/1/ (0.00s) --- PASS: TestWycheProofTestVectors/2/ (0.00s) --- PASS: TestWycheProofTestVectors/3/ (0.00s) @@ -1658,7 +1694,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.01s) --- PASS: TestAESGCMNISTAndIEEE/NIST_test_vector_1 (0.00s) --- PASS: TestAESGCMNISTAndIEEE/NIST_test_vector_2 (0.00s) --- PASS: TestAESGCMNISTAndIEEE/NIST_test_vector_3 (0.00s) @@ -1981,7 +2017,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.06s) +--- PASS: TestWycheProofTestVectorsChachaPoly (0.20s) --- PASS: TestWycheProofTestVectorsChachaPoly/1/RFC_7539 (0.00s) --- PASS: TestWycheProofTestVectorsChachaPoly/2/ (0.00s) --- PASS: TestWycheProofTestVectorsChachaPoly/3/ (0.00s) @@ -2010,7 +2046,7 @@ --- PASS: TestWycheProofTestVectorsChachaPoly/26/ (0.00s) --- PASS: TestWycheProofTestVectorsChachaPoly/27/ (0.00s) --- PASS: TestWycheProofTestVectorsChachaPoly/28/ (0.00s) - --- PASS: TestWycheProofTestVectorsChachaPoly/29/ (0.01s) + --- PASS: TestWycheProofTestVectorsChachaPoly/29/ (0.00s) --- PASS: TestWycheProofTestVectorsChachaPoly/30/ (0.00s) --- PASS: TestWycheProofTestVectorsChachaPoly/31/ (0.00s) --- PASS: TestWycheProofTestVectorsChachaPoly/32/ (0.00s) @@ -2298,7 +2334,7 @@ === RUN TestDecrypt --- PASS: TestDecrypt (0.00s) PASS -ok github.com/google/s2a-go/internal/record/internal/aeadcrypter 0.108s +ok github.com/google/s2a-go/internal/record/internal/aeadcrypter 0.345s === RUN TestCiphersuites === RUN TestCiphersuites/AES_128_GCM_SHA256 === RUN TestCiphersuites/AES_256_GCM_SHA384 @@ -2400,7 +2436,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.014s +ok github.com/google/s2a-go/internal/record/internal/halfconn 0.064s === RUN TestNewSingleTokenAccessTokenManagerFailure --- PASS: TestNewSingleTokenAccessTokenManagerFailure (0.00s) === RUN TestNewSingleTokenAccessTokenManagerDefaultTokenSuccess @@ -2408,45 +2444,45 @@ === RUN TestNewSingleTokenAccessTokenManagerTokenSuccess --- PASS: TestNewSingleTokenAccessTokenManagerTokenSuccess (0.00s) PASS -ok github.com/google/s2a-go/internal/tokenmanager 0.011s +ok github.com/google/s2a-go/internal/tokenmanager 0.033s === RUN TestEndToEndUsingFakeS2AOverTCP -2024/04/18 12:35:24 Fake S2A Service: failed to receive SessionReq: EOF -2024/04/18 12:35:24 Fake S2A Service: failed to receive SessionReq: EOF ---- PASS: TestEndToEndUsingFakeS2AOverTCP (0.18s) +2024/04/18 12:46:13 Fake S2A Service: failed to receive SessionReq: EOF +2024/04/18 12:46:13 Fake S2A Service: failed to receive SessionReq: EOF +--- PASS: TestEndToEndUsingFakeS2AOverTCP (0.42s) === RUN TestEndToEndUsingFakeS2AOverTCPEmptyId -2024/04/18 12:35:24 Fake S2A Service: failed to receive SessionReq: EOF -2024/04/18 12:35:24 Fake S2A Service: failed to receive SessionReq: EOF ---- PASS: TestEndToEndUsingFakeS2AOverTCPEmptyId (0.09s) +2024/04/18 12:46:14 Fake S2A Service: failed to receive SessionReq: EOF +2024/04/18 12:46:14 Fake S2A Service: failed to receive SessionReq: EOF +--- PASS: TestEndToEndUsingFakeS2AOverTCPEmptyId (0.28s) === RUN TestEndToEndUsingFakeS2AOnUDS -2024/04/18 12:35:25 Fake S2A Service: failed to receive SessionReq: EOF -2024/04/18 12:35:25 Fake S2A Service: failed to receive SessionReq: EOF ---- PASS: TestEndToEndUsingFakeS2AOnUDS (0.18s) +2024/04/18 12:46:14 Fake S2A Service: failed to receive SessionReq: EOF +2024/04/18 12:46:14 Fake S2A Service: failed to receive SessionReq: EOF +--- PASS: TestEndToEndUsingFakeS2AOnUDS (0.30s) === RUN TestEndToEndUsingFakeS2AOnUDSEmptyId -2024/04/18 12:35:25 Fake S2A Service: failed to receive SessionReq: EOF -2024/04/18 12:35:25 Fake S2A Service: failed to receive SessionReq: EOF ---- PASS: TestEndToEndUsingFakeS2AOnUDSEmptyId (0.08s) +2024/04/18 12:46:14 Fake S2A Service: failed to receive SessionReq: EOF +2024/04/18 12:46:14 Fake S2A Service: failed to receive SessionReq: EOF +--- PASS: TestEndToEndUsingFakeS2AOnUDSEmptyId (0.30s) === RUN TestGRPCFallbackEndToEndUsingFakeS2AOverTCP - s2av2_e2e_test.go:318: Fake handshaker for server running at address: [::]:33663 - s2av2_e2e_test.go:330: server running at address: [::]:35097 - s2av2_e2e_test.go:331: fallback server running at address: [::]:40585 -2024/04/18 12:35:26 Fake S2A Service: failed to receive SessionReq: EOF ---- PASS: TestGRPCFallbackEndToEndUsingFakeS2AOverTCP (1.34s) + s2av2_e2e_test.go:318: Fake handshaker for server running at address: [::]:33431 + s2av2_e2e_test.go:330: server running at address: [::]:44427 + s2av2_e2e_test.go:331: fallback server running at address: [::]:44639 +2024/04/18 12:46:17 Fake S2A Service: failed to receive SessionReq: EOF +--- PASS: TestGRPCFallbackEndToEndUsingFakeS2AOverTCP (2.31s) === RUN TestGRPCRetryAndFallbackEndToEndUsingFakeS2AOverTCP - s2av2_e2e_test.go:387: server running at address: [::]:33759 - s2av2_e2e_test.go:388: fallback server running at address: [::]:37005 -2024/04/18 12:35:26 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token ---- PASS: TestGRPCRetryAndFallbackEndToEndUsingFakeS2AOverTCP (0.99s) + s2av2_e2e_test.go:387: server running at address: [::]:44121 + s2av2_e2e_test.go:388: fallback server running at address: [::]:40139 +2024/04/18 12:46:17 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token +2024/04/18 12:46:19 Fake S2A Service: failed to receive SessionReq: EOF +--- PASS: TestGRPCRetryAndFallbackEndToEndUsingFakeS2AOverTCP (1.91s) === RUN TestNewClientTlsConfigWithTokenManager ---- PASS: TestNewClientTlsConfigWithTokenManager (0.00s) +--- PASS: TestNewClientTlsConfigWithTokenManager (0.01s) === RUN TestNewClientTlsConfigWithoutTokenManager -2024/04/18 12:35:27 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled ---- PASS: TestNewClientTlsConfigWithoutTokenManager (0.00s) +2024/04/18 12:46:19 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +--- PASS: TestNewClientTlsConfigWithoutTokenManager (0.01s) === RUN TestNewClientCreds === RUN TestNewClientCreds/static -2024/04/18 12:35:27 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2024/04/18 12:35:27 Fake S2A Service: failed to receive SessionReq: EOF --- PASS: TestNewClientCreds (0.00s) --- PASS: TestNewClientCreds/static (0.00s) +2024/04/18 12:46:19 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled === RUN TestNewServerCreds === RUN TestNewServerCreds/static --- PASS: TestNewServerCreds (0.00s) @@ -2478,183 +2514,184 @@ === RUN TestGetS2ATimeout --- PASS: TestGetS2ATimeout (0.00s) PASS -ok github.com/google/s2a-go/internal/v2 2.899s +ok github.com/google/s2a-go/internal/v2 5.716s === RUN TestVerifyClientCertChain -2024/04/18 12:35:24 Server: started gRPC fake S2Av2 Server on address: [::]:36045 +2024/04/18 12:46:13 Server: started gRPC fake S2Av2 Server on address: [::]:41743 === RUN TestVerifyClientCertChain/empty_chain -2024/04/18 12:35:24 Client: connected to: [::]:36045 -2024/04/18 12:35:24 Client: set up bidirectional streaming RPC session. +2024/04/18 12:46:13 Client: connected to: [::]:41743 +2024/04/18 12:46:13 Client: set up bidirectional streaming RPC session. === RUN TestVerifyClientCertChain/chain_of_length_1 -2024/04/18 12:35:24 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2024/04/18 12:35:24 Client: connected to: [::]:36045 -2024/04/18 12:35:24 Client: set up bidirectional streaming RPC session. +2024/04/18 12:46:13 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2024/04/18 12:46:13 Client: connected to: [::]:41743 +2024/04/18 12:46:13 Client: set up bidirectional streaming RPC session. === RUN TestVerifyClientCertChain/chain_of_length_2_correct -2024/04/18 12:35:24 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2024/04/18 12:35:24 Client: connected to: [::]:36045 -2024/04/18 12:35:24 Client: set up bidirectional streaming RPC session. +2024/04/18 12:46:13 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2024/04/18 12:46:13 Client: connected to: [::]:41743 +2024/04/18 12:46:13 Client: set up bidirectional streaming RPC session. === RUN TestVerifyClientCertChain/chain_of_length_2_error:_missing_intermediate -2024/04/18 12:35:24 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2024/04/18 12:35:24 Client: connected to: [::]:36045 -2024/04/18 12:35:24 Client: set up bidirectional streaming RPC session. -2024/04/18 12:35:24 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled ---- PASS: TestVerifyClientCertChain (0.03s) - --- 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/04/18 12:46:13 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2024/04/18 12:46:13 Client: connected to: [::]:41743 +2024/04/18 12:46:13 Client: set up bidirectional streaming RPC session. +2024/04/18 12:46:13 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +--- PASS: TestVerifyClientCertChain (0.21s) + --- PASS: TestVerifyClientCertChain/empty_chain (0.06s) + --- PASS: TestVerifyClientCertChain/chain_of_length_1 (0.03s) + --- PASS: TestVerifyClientCertChain/chain_of_length_2_correct (0.04s) + --- PASS: TestVerifyClientCertChain/chain_of_length_2_error:_missing_intermediate (0.06s) === RUN TestVerifyServerCertChainWithServerAuthorizationPolicy -2024/04/18 12:35:24 Server: started gRPC fake S2Av2 Server on address: [::]:33043 +2024/04/18 12:46:13 Server: started gRPC fake S2Av2 Server on address: [::]:44393 === RUN TestVerifyServerCertChainWithServerAuthorizationPolicy/empty_chain -2024/04/18 12:35:24 Client: connected to: [::]:33043 -2024/04/18 12:35:24 Client: set up bidirectional streaming RPC session. +2024/04/18 12:46:13 Client: connected to: [::]:44393 +2024/04/18 12:46:13 Client: set up bidirectional streaming RPC session. === RUN TestVerifyServerCertChainWithServerAuthorizationPolicy/invalid_server_authorization_policy -2024/04/18 12:35:24 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2024/04/18 12:35:24 Client: connected to: [::]:33043 -2024/04/18 12:35:24 Client: set up bidirectional streaming RPC session. -2024/04/18 12:35:24 Fake S2A Service: failed to build SessionResp with ValidatePeerCertificateChainResp: server peer verification failed: invalid server authorization policy, expected: fake server authorization policy, got: +2024/04/18 12:46:13 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2024/04/18 12:46:13 Client: connected to: [::]:44393 +2024/04/18 12:46:13 Client: set up bidirectional streaming RPC session. +2024/04/18 12:46:13 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/04/18 12:35:24 Client: connected to: [::]:33043 -2024/04/18 12:35:24 Client: set up bidirectional streaming RPC session. +2024/04/18 12:46:13 Client: connected to: [::]:44393 +2024/04/18 12:46:13 Client: set up bidirectional streaming RPC session. === RUN TestVerifyServerCertChainWithServerAuthorizationPolicy/chain_of_length_2_correct -2024/04/18 12:35:24 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2024/04/18 12:35:24 Client: connected to: [::]:33043 -2024/04/18 12:35:24 Client: set up bidirectional streaming RPC session. -2024/04/18 12:35:24 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/04/18 12:46:13 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2024/04/18 12:46:13 Client: connected to: [::]:44393 +2024/04/18 12:46:13 Client: set up bidirectional streaming RPC session. +--- PASS: TestVerifyServerCertChainWithServerAuthorizationPolicy (0.09s) + --- PASS: TestVerifyServerCertChainWithServerAuthorizationPolicy/empty_chain (0.02s) + --- PASS: TestVerifyServerCertChainWithServerAuthorizationPolicy/invalid_server_authorization_policy (0.02s) + --- PASS: TestVerifyServerCertChainWithServerAuthorizationPolicy/chain_of_length_1 (0.01s) + --- PASS: TestVerifyServerCertChainWithServerAuthorizationPolicy/chain_of_length_2_correct (0.03s) === RUN TestVerifyServerCertChainWithoutServerAuthorizationPolicy -2024/04/18 12:35:24 Server: started gRPC fake S2Av2 Server on address: [::]:37615 +2024/04/18 12:46:13 Server: started gRPC fake S2Av2 Server on address: [::]:34519 +2024/04/18 12:46:13 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled === RUN TestVerifyServerCertChainWithoutServerAuthorizationPolicy/empty_chain -2024/04/18 12:35:24 Client: connected to: [::]:37615 -2024/04/18 12:35:24 Client: set up bidirectional streaming RPC session. +2024/04/18 12:46:13 Client: connected to: [::]:34519 +2024/04/18 12:46:13 Client: set up bidirectional streaming RPC session. === RUN TestVerifyServerCertChainWithoutServerAuthorizationPolicy/chain_of_length_1 -2024/04/18 12:35:24 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2024/04/18 12:35:24 Client: connected to: [::]:37615 -2024/04/18 12:35:24 Client: set up bidirectional streaming RPC session. +2024/04/18 12:46:13 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2024/04/18 12:46:13 Client: connected to: [::]:34519 +2024/04/18 12:46:13 Client: set up bidirectional streaming RPC session. === RUN TestVerifyServerCertChainWithoutServerAuthorizationPolicy/chain_of_length_2_correct -2024/04/18 12:35:24 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2024/04/18 12:35:24 Client: connected to: [::]:37615 -2024/04/18 12:35:24 Client: set up bidirectional streaming RPC session. ---- PASS: TestVerifyServerCertChainWithoutServerAuthorizationPolicy (0.02s) - --- PASS: TestVerifyServerCertChainWithoutServerAuthorizationPolicy/empty_chain (0.00s) +2024/04/18 12:46:13 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2024/04/18 12:46:13 Client: connected to: [::]:34519 +2024/04/18 12:46:13 Client: set up bidirectional streaming RPC session. +--- PASS: TestVerifyServerCertChainWithoutServerAuthorizationPolicy (0.07s) + --- PASS: TestVerifyServerCertChainWithoutServerAuthorizationPolicy/empty_chain (0.01s) --- PASS: TestVerifyServerCertChainWithoutServerAuthorizationPolicy/chain_of_length_1 (0.01s) - --- PASS: TestVerifyServerCertChainWithoutServerAuthorizationPolicy/chain_of_length_2_correct (0.01s) + --- PASS: TestVerifyServerCertChainWithoutServerAuthorizationPolicy/chain_of_length_2_correct (0.05s) +2024/04/18 12:46:13 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled PASS -ok github.com/google/s2a-go/internal/v2/certverifier 0.087s +ok github.com/google/s2a-go/internal/v2/certverifier 0.436s === RUN TestSetUpSession -2024/04/18 12:35:24 Server: started gRPC Fake S2Av2 Server on address: [::]:39409 +2024/04/18 12:46:14 Server: started gRPC Fake S2Av2 Server on address: [::]:43597 === RUN TestSetUpSession/Get_TLS_config_for_client. -2024/04/18 12:35:24 Client: connected to: [::]:39409 -2024/04/18 12:35:24 Client: set up bidirectional streaming RPC session. -2024/04/18 12:35:24 Client: sent SessionReq -2024/04/18 12:35:24 Client: received SessionResp -2024/04/18 12:35:24 resp matches tc.expectedResponse +2024/04/18 12:46:14 Client: connected to: [::]:43597 +2024/04/18 12:46:14 Client: set up bidirectional streaming RPC session. +2024/04/18 12:46:14 Client: sent SessionReq +2024/04/18 12:46:14 Client: received SessionResp +2024/04/18 12:46:14 resp matches tc.expectedResponse === RUN TestSetUpSession/Get_TLS_config_for_server. -2024/04/18 12:35:24 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2024/04/18 12:35:24 Client: connected to: [::]:39409 -2024/04/18 12:35:24 Client: set up bidirectional streaming RPC session. -2024/04/18 12:35:24 Client: sent SessionReq -2024/04/18 12:35:24 Client: received SessionResp -2024/04/18 12:35:24 resp matches tc.expectedResponse +2024/04/18 12:46:14 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2024/04/18 12:46:14 Client: connected to: [::]:43597 +2024/04/18 12:46:14 Client: set up bidirectional streaming RPC session. +2024/04/18 12:46:14 Client: sent SessionReq +2024/04/18 12:46:14 Client: received SessionResp +2024/04/18 12:46:14 resp matches tc.expectedResponse === RUN TestSetUpSession/Get_TLS_config_error_--_invalid_connection_side -2024/04/18 12:35:24 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2024/04/18 12:35:24 Client: connected to: [::]:39409 -2024/04/18 12:35:24 Client: set up bidirectional streaming RPC session. -2024/04/18 12:35:24 Client: sent SessionReq -2024/04/18 12:35:24 Client: received SessionResp -2024/04/18 12:35:24 resp matches tc.expectedResponse +2024/04/18 12:46:14 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2024/04/18 12:46:14 Client: connected to: [::]:43597 +2024/04/18 12:46:14 Client: set up bidirectional streaming RPC session. +2024/04/18 12:46:14 Client: sent SessionReq +2024/04/18 12:46:14 Client: received SessionResp +2024/04/18 12:46:14 resp matches tc.expectedResponse === RUN TestSetUpSession/Get_TLS_config_error_--_invalid_token -2024/04/18 12:35:24 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2024/04/18 12:35:24 Client: connected to: [::]:39409 -2024/04/18 12:35:24 Client: set up bidirectional streaming RPC session. -2024/04/18 12:35:24 Client: sent SessionReq -2024/04/18 12:35:24 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token -2024/04/18 12:35:24 Client: received SessionResp -2024/04/18 12:35:24 resp matches tc.expectedResponse +2024/04/18 12:46:14 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2024/04/18 12:46:14 Client: connected to: [::]:43597 +2024/04/18 12:46:14 Client: set up bidirectional streaming RPC session. +2024/04/18 12:46:14 Client: sent SessionReq +2024/04/18 12:46:14 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token +2024/04/18 12:46:14 Client: received SessionResp +2024/04/18 12:46:14 resp matches tc.expectedResponse === RUN TestSetUpSession/Get_server_TLS_config_--_empty_authmechanisms_(S2A_ACCESS_TOKEN_env_var_not_set) -2024/04/18 12:35:24 Client: connected to: [::]:39409 -2024/04/18 12:35:24 Client: set up bidirectional streaming RPC session. -2024/04/18 12:35:24 Client: sent SessionReq -2024/04/18 12:35:24 Client: received SessionResp -2024/04/18 12:35:24 resp matches tc.expectedResponse +2024/04/18 12:46:15 Client: connected to: [::]:43597 +2024/04/18 12:46:15 Client: set up bidirectional streaming RPC session. +2024/04/18 12:46:15 Client: sent SessionReq +2024/04/18 12:46:15 Client: received SessionResp +2024/04/18 12:46:15 resp matches tc.expectedResponse === RUN TestSetUpSession/Client_Peer_Verification -2024/04/18 12:35:24 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2024/04/18 12:35:24 Client: connected to: [::]:39409 -2024/04/18 12:35:24 Client: set up bidirectional streaming RPC session. -2024/04/18 12:35:24 Client: sent SessionReq -2024/04/18 12:35:24 Client: received SessionResp -2024/04/18 12:35:24 resp matches tc.expectedResponse +2024/04/18 12:46:15 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2024/04/18 12:46:15 Client: connected to: [::]:43597 +2024/04/18 12:46:15 Client: set up bidirectional streaming RPC session. +2024/04/18 12:46:15 Client: sent SessionReq +2024/04/18 12:46:15 Client: received SessionResp +2024/04/18 12:46:15 resp matches tc.expectedResponse === RUN TestSetUpSession/Client_Peer_Verification_--_failure -2024/04/18 12:35:24 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2024/04/18 12:35:24 Client: connected to: [::]:39409 -2024/04/18 12:35:24 Client: set up bidirectional streaming RPC session. -2024/04/18 12:35:24 Client: sent SessionReq -2024/04/18 12:35:24 Client: received SessionResp -2024/04/18 12:35:24 resp matches tc.expectedResponse +2024/04/18 12:46:15 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2024/04/18 12:46:15 Client: connected to: [::]:43597 +2024/04/18 12:46:15 Client: set up bidirectional streaming RPC session. +2024/04/18 12:46:15 Client: sent SessionReq +2024/04/18 12:46:15 Client: received SessionResp +2024/04/18 12:46:15 resp matches tc.expectedResponse === RUN TestSetUpSession/Server_Peer_Verification -2024/04/18 12:35:24 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2024/04/18 12:35:24 Client: connected to: [::]:39409 -2024/04/18 12:35:24 Client: set up bidirectional streaming RPC session. -2024/04/18 12:35:24 Client: sent SessionReq -2024/04/18 12:35:24 Client: received SessionResp -2024/04/18 12:35:24 resp matches tc.expectedResponse -2024/04/18 12:35:24 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled ---- PASS: TestSetUpSession (0.06s) - --- PASS: TestSetUpSession/Get_TLS_config_for_client. (0.01s) +2024/04/18 12:46:15 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2024/04/18 12:46:15 Client: connected to: [::]:43597 +2024/04/18 12:46:15 Client: set up bidirectional streaming RPC session. +2024/04/18 12:46:15 Client: sent SessionReq +2024/04/18 12:46:15 Client: received SessionResp +2024/04/18 12:46:15 resp matches tc.expectedResponse +2024/04/18 12:46:15 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +--- PASS: TestSetUpSession (0.16s) + --- PASS: TestSetUpSession/Get_TLS_config_for_client. (0.02s) --- PASS: TestSetUpSession/Get_TLS_config_for_server. (0.01s) - --- 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.01s) - --- PASS: TestSetUpSession/Client_Peer_Verification (0.01s) - --- PASS: TestSetUpSession/Client_Peer_Verification_--_failure (0.01s) - --- PASS: TestSetUpSession/Server_Peer_Verification (0.01s) + --- PASS: TestSetUpSession/Get_TLS_config_error_--_invalid_connection_side (0.01s) + --- PASS: TestSetUpSession/Get_TLS_config_error_--_invalid_token (0.01s) + --- PASS: TestSetUpSession/Get_server_TLS_config_--_empty_authmechanisms_(S2A_ACCESS_TOKEN_env_var_not_set) (0.02s) + --- PASS: TestSetUpSession/Client_Peer_Verification (0.03s) + --- PASS: TestSetUpSession/Client_Peer_Verification_--_failure (0.03s) + --- PASS: TestSetUpSession/Server_Peer_Verification (0.03s) === RUN TestSetUpSessionPrivateKeyOperation -2024/04/18 12:35:24 Server: started gRPC Fake S2Av2 Server on address: [::]:39859 +2024/04/18 12:46:15 Server: started gRPC Fake S2Av2 Server on address: [::]:37617 === RUN TestSetUpSessionPrivateKeyOperation/client_side_private_key_operation -2024/04/18 12:35:24 Client: connected to: [::]:39859 -2024/04/18 12:35:24 Client: set up bidirectional streaming RPC session. -2024/04/18 12:35:24 Client: sent SessionReq -2024/04/18 12:35:24 Client: received SessionResp -2024/04/18 12:35:24 resp matches tc.expectedResponse +2024/04/18 12:46:15 Client: connected to: [::]:37617 +2024/04/18 12:46:15 Client: set up bidirectional streaming RPC session. +2024/04/18 12:46:15 Client: sent SessionReq +2024/04/18 12:46:15 Client: received SessionResp +2024/04/18 12:46:15 resp matches tc.expectedResponse === RUN TestSetUpSessionPrivateKeyOperation/server_side_private_key_operation -2024/04/18 12:35:24 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2024/04/18 12:35:24 Client: connected to: [::]:39859 -2024/04/18 12:35:24 Client: set up bidirectional streaming RPC session. -2024/04/18 12:35:24 Client: sent SessionReq -2024/04/18 12:35:24 Client: received SessionResp -2024/04/18 12:35:24 resp matches tc.expectedResponse +2024/04/18 12:46:15 Client: connected to: [::]:37617 +2024/04/18 12:46:15 Client: set up bidirectional streaming RPC session. +2024/04/18 12:46:15 Client: sent SessionReq +2024/04/18 12:46:15 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2024/04/18 12:46:15 Client: received SessionResp +2024/04/18 12:46:15 resp matches tc.expectedResponse +2024/04/18 12:46:15 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/04/18 12:35:24 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2024/04/18 12:35:24 Client: connected to: [::]:39859 -2024/04/18 12:35:24 Client: set up bidirectional streaming RPC session. -2024/04/18 12:35:24 Client: sent SessionReq -2024/04/18 12:35:24 Client: received SessionResp -2024/04/18 12:35:24 resp matches tc.expectedResponse -2024/04/18 12:35:24 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled ---- PASS: TestSetUpSessionPrivateKeyOperation (0.24s) - --- PASS: TestSetUpSessionPrivateKeyOperation/client_side_private_key_operation (0.10s) - --- PASS: TestSetUpSessionPrivateKeyOperation/server_side_private_key_operation (0.04s) - --- PASS: TestSetUpSessionPrivateKeyOperation/client_side_private_key_operation_--_invalid_signature_algorithm (0.01s) +2024/04/18 12:46:15 Client: connected to: [::]:37617 +2024/04/18 12:46:15 Client: set up bidirectional streaming RPC session. +2024/04/18 12:46:15 Client: sent SessionReq +2024/04/18 12:46:15 Client: received SessionResp +2024/04/18 12:46:15 resp matches tc.expectedResponse +2024/04/18 12:46:15 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +--- PASS: TestSetUpSessionPrivateKeyOperation (0.51s) + --- PASS: TestSetUpSessionPrivateKeyOperation/client_side_private_key_operation (0.15s) + --- PASS: TestSetUpSessionPrivateKeyOperation/server_side_private_key_operation (0.12s) + --- PASS: TestSetUpSessionPrivateKeyOperation/client_side_private_key_operation_--_invalid_signature_algorithm (0.02s) PASS -ok github.com/google/s2a-go/internal/v2/fakes2av2 0.364s +ok github.com/google/s2a-go/internal/v2/fakes2av2 0.741s === RUN TestSign -2024/04/18 12:35:27 Server: started gRPC fake S2Av2 Server on address: [::]:43529 +2024/04/18 12:46:20 Server: started gRPC fake S2Av2 Server on address: [::]:44661 === RUN TestSign/Sign_with_client_key -2024/04/18 12:35:27 Client: connected to: [::]:43529 -2024/04/18 12:35:27 Client: set up bidirectional streaming RPC session. +2024/04/18 12:46:20 Client: connected to: [::]:44661 +2024/04/18 12:46:20 Client: set up bidirectional streaming RPC session. +2024/04/18 12:46:20 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled === RUN TestSign/Sign_with_server_key -2024/04/18 12:35:27 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2024/04/18 12:35:27 Client: connected to: [::]:43529 -2024/04/18 12:35:27 Client: set up bidirectional streaming RPC session. -2024/04/18 12:35:27 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled ---- PASS: TestSign (0.23s) - --- PASS: TestSign/Sign_with_client_key (0.14s) - --- PASS: TestSign/Sign_with_server_key (0.10s) +2024/04/18 12:46:20 Client: connected to: [::]:44661 +2024/04/18 12:46:20 Client: set up bidirectional streaming RPC session. +--- PASS: TestSign (0.56s) + --- PASS: TestSign/Sign_with_client_key (0.28s) + --- PASS: TestSign/Sign_with_server_key (0.27s) === RUN TestNew --- PASS: TestNew (0.00s) +2024/04/18 12:46:20 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled === RUN TestGetSignatureAlgorithm === RUN TestGetSignatureAlgorithm/Leaf_certificate_is_nil === RUN TestGetSignatureAlgorithm/Signer_options_are_nil @@ -2718,38 +2755,40 @@ --- PASS: TestGetSignReq/ECDSA_SHA512 (0.00s) --- PASS: TestGetSignReq/ED25519 (0.00s) PASS -ok github.com/google/s2a-go/internal/v2/remotesigner 0.279s +ok github.com/google/s2a-go/internal/v2/remotesigner 0.623s +? github.com/google/s2a-go/stream [no test files] === RUN TestTLSConfigStoreClient -2024/04/18 12:35:27 Server: started gRPC fake S2Av2 Server on address: [::]:39433 +2024/04/18 12:46:20 Server: started gRPC fake S2Av2 Server on address: [::]:42831 === RUN TestTLSConfigStoreClient/static_-_nil_tokenManager -2024/04/18 12:35:27 Client: connected to: [::]:39433 -2024/04/18 12:35:27 Client: set up bidirectional streaming RPC session. +2024/04/18 12:46:20 Client: connected to: [::]:42831 +2024/04/18 12:46:20 Client: set up bidirectional streaming RPC session. +2024/04/18 12:46:20 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled === RUN TestTLSConfigStoreClient/static_-_non-nil_tokenManager -2024/04/18 12:35:27 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2024/04/18 12:35:27 Client: connected to: [::]:39433 -2024/04/18 12:35:27 Client: set up bidirectional streaming RPC session. -2024/04/18 12:35:27 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled ---- PASS: TestTLSConfigStoreClient (0.02s) - --- PASS: TestTLSConfigStoreClient/static_-_nil_tokenManager (0.01s) +2024/04/18 12:46:20 Client: connected to: [::]:42831 +2024/04/18 12:46:20 Client: set up bidirectional streaming RPC session. +2024/04/18 12:46:20 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +--- PASS: TestTLSConfigStoreClient (0.03s) + --- PASS: TestTLSConfigStoreClient/static_-_nil_tokenManager (0.02s) --- PASS: TestTLSConfigStoreClient/static_-_non-nil_tokenManager (0.01s) === RUN TestTLSConfigStoreClientWithoutCredentials -2024/04/18 12:35:27 Server: started gRPC fake S2Av2 Server on address: [::]:33023 -2024/04/18 12:35:27 Client: connected to: [::]:33023 -2024/04/18 12:35:27 Client: set up bidirectional streaming RPC session. -2024/04/18 12:35:27 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled ---- PASS: TestTLSConfigStoreClientWithoutCredentials (0.00s) +2024/04/18 12:46:20 Server: started gRPC fake S2Av2 Server on address: [::]:38357 +2024/04/18 12:46:20 Client: connected to: [::]:38357 +2024/04/18 12:46:20 Client: set up bidirectional streaming RPC session. +--- PASS: TestTLSConfigStoreClientWithoutCredentials (0.01s) === RUN TestTLSConfigStoreServer -2024/04/18 12:35:27 Server: started gRPC fake S2Av2 Server on address: [::]:44251 +2024/04/18 12:46:20 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2024/04/18 12:46:20 Server: started gRPC fake S2Av2 Server on address: [::]:34233 === RUN TestTLSConfigStoreServer/static_-_nil_tokenManager -2024/04/18 12:35:27 Client: connected to: [::]:44251 -2024/04/18 12:35:27 Client: set up bidirectional streaming RPC session. +2024/04/18 12:46:20 Client: connected to: [::]:34233 +2024/04/18 12:46:20 Client: set up bidirectional streaming RPC session. +2024/04/18 12:46:20 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled === RUN TestTLSConfigStoreServer/static_-_non-nil_tokenManager -2024/04/18 12:35:27 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2024/04/18 12:35:27 Client: connected to: [::]:44251 -2024/04/18 12:35:27 Client: set up bidirectional streaming RPC session. ---- PASS: TestTLSConfigStoreServer (0.01s) +2024/04/18 12:46:20 Client: connected to: [::]:34233 +2024/04/18 12:46:20 Client: set up bidirectional streaming RPC session. +2024/04/18 12:46:20 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +--- PASS: TestTLSConfigStoreServer (0.02s) --- PASS: TestTLSConfigStoreServer/static_-_nil_tokenManager (0.01s) - --- PASS: TestTLSConfigStoreServer/static_-_non-nil_tokenManager (0.00s) + --- PASS: TestTLSConfigStoreServer/static_-_non-nil_tokenManager (0.01s) === RUN TestGetTLSMinMaxVersionsClient --- PASS: TestGetTLSMinMaxVersionsClient (0.00s) === RUN TestGetTLSMinMaxVersionsServer @@ -2763,30 +2802,29 @@ --- PASS: TestGetAuthMechanisms/fake_token_manager_allows_empty_identity (0.00s) --- PASS: TestGetAuthMechanisms/fake_token_manager_does_not_allow_empty_identity (0.00s) === RUN TestGetServerConfigFromS2Av2 -2024/04/18 12:35:27 Server: started gRPC fake S2Av2 Server on address: [::]:43229 +2024/04/18 12:46:20 Server: started gRPC fake S2Av2 Server on address: [::]:39797 === RUN TestGetServerConfigFromS2Av2/empty_accessToken_and_empty_localIdentities -2024/04/18 12:35:27 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2024/04/18 12:35:27 Client: connected to: [::]:43229 -2024/04/18 12:35:27 Client: set up bidirectional streaming RPC session. -2024/04/18 12:35:27 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token +2024/04/18 12:46:20 Client: connected to: [::]:39797 +2024/04/18 12:46:20 Client: set up bidirectional streaming RPC session. +2024/04/18 12:46:20 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token === RUN TestGetServerConfigFromS2Av2/invalid_accessToken -2024/04/18 12:35:27 Client: connected to: [::]:43229 -2024/04/18 12:35:27 Client: set up bidirectional streaming RPC session. -2024/04/18 12:35:27 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token +2024/04/18 12:46:20 Client: connected to: [::]:39797 +2024/04/18 12:46:20 Client: set up bidirectional streaming RPC session. +2024/04/18 12:46:20 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token === RUN TestGetServerConfigFromS2Av2/correct_accessToken_and_non_-_empty_localIdentities -2024/04/18 12:35:27 Client: connected to: [::]:43229 -2024/04/18 12:35:27 Client: set up bidirectional streaming RPC session. -2024/04/18 12:35:27 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/04/18 12:46:20 Client: connected to: [::]:39797 +2024/04/18 12:46:20 Client: set up bidirectional streaming RPC session. +2024/04/18 12:46:20 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +--- PASS: TestGetServerConfigFromS2Av2 (0.03s) + --- PASS: TestGetServerConfigFromS2Av2/empty_accessToken_and_empty_localIdentities (0.01s) + --- PASS: TestGetServerConfigFromS2Av2/invalid_accessToken (0.01s) + --- PASS: TestGetServerConfigFromS2Av2/correct_accessToken_and_non_-_empty_localIdentities (0.01s) === RUN TestGetClientConfig -2024/04/18 12:35:27 Server: started gRPC fake S2Av2 Server on address: [::]:33109 +2024/04/18 12:46:20 Server: started gRPC fake S2Av2 Server on address: [::]:46063 === RUN TestGetClientConfig/static -2024/04/18 12:35:27 Client: connected to: [::]:33109 -2024/04/18 12:35:27 Client: set up bidirectional streaming RPC session. -2024/04/18 12:35:27 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2024/04/18 12:46:20 Client: connected to: [::]:46063 +2024/04/18 12:46:20 Client: set up bidirectional streaming RPC session. +2024/04/18 12:46:20 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled --- PASS: TestGetClientConfig (0.01s) --- PASS: TestGetClientConfig/static (0.01s) === RUN TestGetTLSClientAuthType @@ -2832,8 +2870,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.081s -? github.com/google/s2a-go/stream [no test files] +ok github.com/google/s2a-go/internal/v2/tlsconfigstore 0.163s === RUN TestS2ARetryer === RUN TestS2ARetryer/retry_on_err === RUN TestS2ARetryer/don't_retry_if_err_is_nil @@ -2845,9 +2882,9 @@ === RUN TestDefaultBackoff --- PASS: TestDefaultBackoff (0.00s) === RUN TestSuccessAfterRetry ---- PASS: TestSuccessAfterRetry (0.08s) +--- PASS: TestSuccessAfterRetry (0.00s) PASS -ok github.com/google/s2a-go/retry 0.091s +ok github.com/google/s2a-go/retry 0.020s create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang dh_prep -O--builddirectory=_build -O--buildsystem=golang @@ -2876,12 +2913,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/387/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/387/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/32407 and its subdirectories -I: Current time: Thu Apr 18 00:35:47 -12 2024 -I: pbuilder-time-stamp: 1713443747 +I: removing directory /srv/workspace/pbuilder/387 and its subdirectories +I: Current time: Fri Apr 19 02:47:08 +14 2024 +I: pbuilder-time-stamp: 1713444428