Diff of the two buildlogs: -- --- b1/build.log 2024-07-29 22:25:19.674764608 +0000 +++ b2/build.log 2024-07-29 22:43:52.451421815 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Jul 29 10:13:18 -12 2024 -I: pbuilder-time-stamp: 1722291198 +I: Current time: Tue Jul 30 12:25:32 +14 2024 +I: pbuilder-time-stamp: 1722291932 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-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/11388/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/16707/tmp/hooks/D01_modify_environment starting +debug: Running on ff64a. +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 Jul 29 22:26 /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/16707/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/16707/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='armhf' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="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=6 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='6555926f1fcb4ac086d6a8eacabc0cc6' - 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='11388' - PS1='# ' - PS2='> ' + INVOCATION_ID=416c895b60f9471e9ba8b016a282b88f + 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=16707 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.9ifuWInJ/pbuilderrc_8gsV --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.9ifuWInJ/b1 --logfile b1/build.log golang-github-google-s2a-go_0.1.7-3.dsc' - SUDO_GID='113' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.9ifuWInJ/pbuilderrc_Wfuc --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.9ifuWInJ/b2 --logfile b2/build.log golang-github-google-s2a-go_0.1.7-3.dsc' + SUDO_GID=114 + SUDO_UID=109 + 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 cbxi4a 6.1.0-23-armmp #1 SMP Debian 6.1.99-1 (2024-07-15) armv7l GNU/Linux + Linux i-capture-the-hostname 6.1.0-23-arm64 #1 SMP Debian 6.1.99-1 (2024-07-15) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Jun 5 22:35 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/11388/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/16707/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -212,7 +244,7 @@ Get: 80 http://deb.debian.org/debian unstable/main armhf protobuf-compiler armhf 3.21.12-9 [84.3 kB] Get: 81 http://deb.debian.org/debian unstable/main armhf protoc-gen-go armhf 1.33.0-1 [1240 kB] Get: 82 http://deb.debian.org/debian unstable/main armhf protoc-gen-go-grpc armhf 1.64.0-3 [1202 kB] -Fetched 89.4 MB in 6s (14.9 MB/s) +Fetched 89.4 MB in 5s (18.9 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 ... 19508 files and directories currently installed.) @@ -555,7 +587,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-3_source.changes +I: user script /srv/workspace/pbuilder/16707/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/16707/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-3_source.changes dpkg-buildpackage: info: source package golang-github-google-s2a-go dpkg-buildpackage: info: source version 0.1.7-3 dpkg-buildpackage: info: source distribution unstable @@ -576,35 +612,34 @@ 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 -internal/unsafeheader + cd _build && go install -trimpath -v -p 6 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/goarch -internal/cpu -internal/coverage/rtcov -internal/abi -internal/chacha8rand -internal/bytealg internal/godebugs +internal/coverage/rtcov +internal/unsafeheader internal/goexperiment +internal/cpu internal/goos -runtime/internal/atomic +internal/chacha8rand +internal/abi runtime/internal/math -runtime/internal/sys runtime/internal/syscall +runtime/internal/sys internal/race sync/atomic +internal/bytealg +runtime/internal/atomic internal/itoa unicode unicode/utf8 container/list math/bits -runtime -math crypto/internal/alias crypto/internal/boring/sig cmp slices unicode/utf16 +math vendor/golang.org/x/crypto/cryptobyte/asn1 internal/nettrace vendor/golang.org/x/crypto/internal/alias @@ -615,94 +650,104 @@ google.golang.org/grpc/serviceconfig golang.org/x/crypto/internal/alias golang.org/x/crypto/cryptobyte/asn1 +runtime crypto/subtle internal/reflectlite sync internal/bisect +google.golang.org/protobuf/internal/pragma internal/testlog internal/singleflight runtime/cgo errors -internal/oserror +internal/godebug sort -syscall +internal/oserror io +strconv +syscall +crypto/internal/nistec/fiat +internal/safefilepath bytes hash -strconv -time +crypto/internal/randutil +path +math/rand +strings +vendor/golang.org/x/net/dns/dnsmessage crypto reflect -crypto/internal/nistec/fiat -context -crypto/internal/randutil +crypto/rc4 +internal/intern +net/netip +time internal/syscall/unix -internal/poll -internal/safefilepath internal/syscall/execenv -path +bufio +hash/crc32 +hash/fnv +html +regexp/syntax +vendor/golang.org/x/text/transform +net/http/internal/ascii +text/tabwriter +google.golang.org/grpc/internal/grpcrand +google.golang.org/grpc/internal/buffer +golang.org/x/text/transform +crypto/internal/nistec +regexp +context io/fs -os +internal/poll +embed +google.golang.org/grpc/backoff encoding/binary -crypto/internal/nistec +internal/fmtsort +google.golang.org/grpc/internal/backoff +google.golang.org/grpc/internal/grpcsync +google.golang.org/protobuf/internal/editiondefaults +google.golang.org/grpc/keepalive +os +crypto/md5 crypto/cipher +crypto/internal/edwards25519/field +encoding/base64 +vendor/golang.org/x/crypto/internal/poly1305 +golang.org/x/crypto/internal/poly1305 +encoding/pem +golang.org/x/sys/unix +crypto/internal/edwards25519 crypto/internal/boring -crypto/aes crypto/des -crypto/internal/edwards25519/field -internal/fmtsort -internal/godebug +vendor/golang.org/x/crypto/chacha20 +crypto/aes crypto/ecdh -fmt -math/rand -strings crypto/sha512 -crypto/internal/edwards25519 crypto/hmac -crypto/md5 -crypto/rc4 -math/big crypto/sha1 crypto/sha256 -encoding/hex -encoding/base64 -vendor/golang.org/x/net/dns/dnsmessage -encoding/pem -internal/intern -net/netip -net/url -net -path/filepath -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 -vendor/golang.org/x/crypto/chacha20 -crypto/ecdsa -vendor/golang.org/x/crypto/internal/poly1305 vendor/golang.org/x/crypto/chacha20poly1305 vendor/golang.org/x/crypto/hkdf -bufio -hash/crc32 -encoding/json -compress/flate -compress/gzip -hash/fnv +golang.org/x/crypto/chacha20 +golang.org/x/crypto/hkdf google.golang.org/protobuf/internal/detrand +path/filepath +fmt +net +io/ioutil +google.golang.org/grpc/internal/envconfig +golang.org/x/crypto/chacha20poly1305 +internal/sysinfo +encoding/hex +net/url +compress/flate +math/big +encoding/json google.golang.org/protobuf/internal/errors google.golang.org/protobuf/encoding/protowire -google.golang.org/protobuf/internal/pragma -go/token google.golang.org/protobuf/reflect/protoreflect -embed -google.golang.org/protobuf/internal/editiondefaults -io/ioutil +compress/gzip +go/token google.golang.org/protobuf/internal/version google.golang.org/grpc/attributes google.golang.org/grpc/internal/grpclog @@ -714,169 +759,160 @@ google.golang.org/protobuf/internal/order google.golang.org/protobuf/reflect/protoregistry google.golang.org/protobuf/runtime/protoiface -google.golang.org/protobuf/internal/encoding/defval -google.golang.org/protobuf/proto google.golang.org/protobuf/internal/descfmt google.golang.org/protobuf/internal/descopts google.golang.org/grpc/grpclog -google.golang.org/protobuf/encoding/prototext -google.golang.org/protobuf/internal/filedesc -crypto/x509 +google.golang.org/protobuf/internal/encoding/defval +google.golang.org/protobuf/proto golang.org/x/net/internal/timeseries -html -regexp/syntax -google.golang.org/protobuf/internal/encoding/tag -google.golang.org/protobuf/internal/impl -regexp -crypto/tls text/template/parse -text/template -html/template -vendor/golang.org/x/text/transform +crypto/elliptic +crypto/internal/bigmod +crypto/internal/boring/bbig +encoding/asn1 +crypto/rand +crypto/ed25519 +crypto/rsa +crypto/dsa +google.golang.org/protobuf/encoding/prototext +google.golang.org/protobuf/internal/filedesc vendor/golang.org/x/text/unicode/bidi -google.golang.org/grpc/internal/credentials -google.golang.org/grpc/credentials -github.com/google/s2a-go/fallback +vendor/golang.org/x/crypto/cryptobyte +crypto/x509/pkix +text/template vendor/golang.org/x/text/unicode/norm +crypto/ecdsa vendor/golang.org/x/text/secure/bidirule -net/textproto -google.golang.org/protobuf/internal/filetype vendor/golang.org/x/net/http2/hpack -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 mime -vendor/golang.org/x/net/idna mime/quotedprintable -mime/multipart -vendor/golang.org/x/net/http/httpguts -vendor/golang.org/x/net/http/httpproxy -google.golang.org/protobuf/types/gofeaturespb -net/http/httptrace net/http/internal -google.golang.org/protobuf/reflect/protodesc -net/http/internal/ascii -text/tabwriter -net/http -google.golang.org/grpc/backoff -golang.org/x/sys/unix -github.com/golang/protobuf/proto google.golang.org/grpc/connectivity -google.golang.org/grpc/internal/grpcrand -google.golang.org/grpc/credentials/insecure -google.golang.org/protobuf/protoadapt -google.golang.org/grpc/internal/backoff -google.golang.org/protobuf/types/known/durationpb -github.com/golang/protobuf/ptypes/duration -google.golang.org/protobuf/types/known/timestamppb -github.com/golang/protobuf/ptypes/timestamp -google.golang.org/grpc/binarylog/grpc_binarylog_v1 +google.golang.org/grpc/internal/idle +html/template +google.golang.org/protobuf/internal/encoding/json +google.golang.org/protobuf/internal/encoding/tag +golang.org/x/text/unicode/bidi +google.golang.org/protobuf/internal/impl +vendor/golang.org/x/net/idna +google.golang.org/protobuf/encoding/protojson +golang.org/x/text/secure/bidirule +golang.org/x/text/unicode/norm +golang.org/x/net/http2/hpack +github.com/google/s2a-go/internal/record/internal/aeadcrypter +golang.org/x/crypto/cryptobyte +github.com/google/s2a-go/retry +flag +runtime/debug +crypto/x509 +net/textproto +vendor/golang.org/x/net/http/httpproxy google.golang.org/grpc/internal -google.golang.org/grpc/internal/channelz +google.golang.org/grpc/internal/syscall +vendor/golang.org/x/net/http/httpguts +mime/multipart +golang.org/x/net/idna google.golang.org/grpc/metadata -google.golang.org/grpc/resolver google.golang.org/grpc/codes -google.golang.org/grpc/channelz -google.golang.org/grpc/balancer +google.golang.org/grpc/internal/resolver/dns/internal google.golang.org/grpc/internal/grpcutil +google.golang.org/grpc/internal/balancerload +google.golang.org/grpc/stats google.golang.org/grpc/encoding -google.golang.org/grpc/balancer/base +google.golang.org/grpc/tap +runtime/trace +testing +golang.org/x/net/http/httpguts +crypto/tls +github.com/google/s2a-go/internal/record/internal/aeadcrypter/testutil +google.golang.org/protobuf/internal/filetype +google.golang.org/protobuf/runtime/protoimpl +google.golang.org/protobuf/protoadapt +google.golang.org/protobuf/types/known/timestamppb +google.golang.org/protobuf/types/known/durationpb +github.com/google/s2a-go/internal/proto/common_go_proto +google.golang.org/protobuf/types/descriptorpb google.golang.org/grpc/encoding/proto -google.golang.org/grpc/internal/balancerload +github.com/golang/protobuf/ptypes/duration +github.com/golang/protobuf/ptypes/timestamp google.golang.org/protobuf/types/known/anypb -google.golang.org/grpc/balancer/roundrobin -google.golang.org/grpc/internal/balancer/gracefulswitch +google.golang.org/grpc/internal/pretty +github.com/google/s2a-go/internal/proto/s2a_context_go_proto +google.golang.org/grpc/binarylog/grpc_binarylog_v1 +github.com/google/s2a-go/internal/record/internal/halfconn google.golang.org/genproto/googleapis/rpc/status -google.golang.org/grpc/internal/buffer +github.com/google/s2a-go/internal/tokenmanager +github.com/google/s2a-go/internal/proto/v2/common_go_proto +github.com/google/s2a-go/internal/proto/v2/s2a_context_go_proto google.golang.org/grpc/internal/status -google.golang.org/grpc/internal/grpcsync -google.golang.org/grpc/internal/idle google.golang.org/grpc/status -google.golang.org/grpc/internal/metadata google.golang.org/grpc/internal/binarylog -google.golang.org/protobuf/internal/encoding/json -google.golang.org/grpc/internal/serviceconfig -google.golang.org/protobuf/encoding/protojson -google.golang.org/grpc/internal/resolver -google.golang.org/grpc/internal/resolver/passthrough +google.golang.org/protobuf/types/gofeaturespb +google.golang.org/protobuf/reflect/protodesc +google.golang.org/grpc/internal/credentials +net/http/httptrace +google.golang.org/grpc/credentials +net/http +google.golang.org/grpc/resolver +google.golang.org/grpc/credentials/insecure +github.com/google/s2a-go/fallback +google.golang.org/grpc/internal/channelz +google.golang.org/grpc/peer +google.golang.org/grpc/internal/metadata google.golang.org/grpc/internal/transport/networktype +google.golang.org/grpc/internal/resolver/passthrough google.golang.org/grpc/internal/resolver/unix -golang.org/x/text/transform -golang.org/x/text/unicode/bidi -google.golang.org/grpc/internal/pretty -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/peer -google.golang.org/grpc/stats -golang.org/x/net/trace -google.golang.org/grpc/tap -net/http/httputil -golang.org/x/net/idna google.golang.org/grpc/balancer/grpclb/state -google.golang.org/grpc/internal/envconfig -google.golang.org/grpc/internal/resolver/dns/internal -golang.org/x/crypto/chacha20 google.golang.org/grpc/internal/resolver/dns -golang.org/x/crypto/internal/poly1305 google.golang.org/grpc/resolver/dns -golang.org/x/crypto/cryptobyte -golang.org/x/crypto/chacha20poly1305 -github.com/google/s2a-go/internal/record/internal/aeadcrypter -golang.org/x/crypto/hkdf -github.com/google/s2a-go/internal/tokenmanager -golang.org/x/net/http/httpguts -github.com/google/s2a-go/internal/proto/v2/common_go_proto +github.com/golang/protobuf/proto +google.golang.org/grpc/channelz +google.golang.org/grpc/balancer +google.golang.org/grpc/internal/serviceconfig +google.golang.org/grpc/balancer/base +google.golang.org/grpc/internal/resolver +google.golang.org/grpc/balancer/roundrobin +google.golang.org/grpc/internal/balancer/gracefulswitch +golang.org/x/net/trace +net/http/httputil golang.org/x/net/http2 -github.com/google/s2a-go/internal/record/internal/halfconn -github.com/google/s2a-go/internal/proto/v2/s2a_context_go_proto -github.com/google/s2a-go/retry -flag -internal/sysinfo -runtime/debug -runtime/trace -testing -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/authinfo -github.com/google/s2a-go/internal/record github.com/google/s2a-go/internal/fakehandshaker/service +github.com/google/s2a-go/internal/record +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/v2/certverifier -github.com/google/s2a-go/internal/handshaker github.com/google/s2a-go/internal/v2/remotesigner github.com/google/s2a-go/internal/v2/tlsconfigstore github.com/google/s2a-go/internal/v2 github.com/google/s2a-go make[1]: Leaving directory '/build/reproducible-path/golang-github-google-s2a-go-0.1.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 6 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.01s) +--- PASS: TestToProtoIdentity (0.02s) --- PASS: TestToProtoIdentity/spiffe_id:"test_spiffe_id" (0.00s) --- PASS: TestToProtoIdentity/hostname:"test_hostname" (0.00s) --- PASS: TestToProtoIdentity/uid:"test_uid" (0.00s) - --- PASS: TestToProtoIdentity/ (0.00s) + --- PASS: TestToProtoIdentity/ (0.01s) === RUN TestNewClientCreds === RUN TestNewClientCreds/only_hostnames === RUN TestNewClientCreds/only_spiffe_IDs === RUN TestNewClientCreds/only_UIDs === RUN TestNewClientCreds/mixed_identities ---- PASS: TestNewClientCreds (0.01s) +--- PASS: TestNewClientCreds (0.02s) --- PASS: TestNewClientCreds/only_hostnames (0.00s) - --- PASS: TestNewClientCreds/only_spiffe_IDs (0.00s) + --- PASS: TestNewClientCreds/only_spiffe_IDs (0.01s) --- PASS: TestNewClientCreds/only_UIDs (0.00s) --- PASS: TestNewClientCreds/mixed_identities (0.00s) === RUN TestNewServerCreds @@ -884,9 +920,9 @@ === RUN TestNewServerCreds/only_spiffe_IDs === RUN TestNewServerCreds/only_UIDs === RUN TestNewServerCreds/mixed_identities ---- PASS: TestNewServerCreds (0.01s) +--- PASS: TestNewServerCreds (0.02s) --- PASS: TestNewServerCreds/only_hostnames (0.00s) - --- PASS: TestNewServerCreds/only_spiffe_IDs (0.00s) + --- PASS: TestNewServerCreds/only_spiffe_IDs (0.01s) --- PASS: TestNewServerCreds/only_UIDs (0.00s) --- PASS: TestNewServerCreds/mixed_identities (0.00s) === RUN TestHandshakeFail @@ -894,9 +930,9 @@ === RUN TestInfo --- PASS: TestInfo (0.00s) === RUN TestCloneClient ---- PASS: TestCloneClient (0.00s) +--- PASS: TestCloneClient (0.02s) === RUN TestCloneServer ---- PASS: TestCloneServer (0.00s) +--- PASS: TestCloneServer (0.01s) === RUN TestOverrideServerName --- PASS: TestOverrideServerName (0.00s) === RUN TestGetVerificationMode @@ -912,13 +948,13 @@ === RUN TestAuthInfoFromPeer --- PASS: TestAuthInfoFromPeer (0.00s) PASS -ok github.com/google/s2a-go 0.100s +ok github.com/google/s2a-go 0.279s === RUN TestDefaultFallbackClientHandshakeFunc --- PASS: TestDefaultFallbackClientHandshakeFunc (0.00s) === RUN TestDefaultFallbackDialerAndAddress --- PASS: TestDefaultFallbackDialerAndAddress (0.00s) PASS -ok github.com/google/s2a-go/fallback 0.029s +ok github.com/google/s2a-go/fallback 0.109s === RUN TestS2AAuthInfo === RUN TestS2AAuthInfo/basic_1 === RUN TestS2AAuthInfo/basic_2 @@ -930,7 +966,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.040s +ok github.com/google/s2a-go/internal/authinfo 0.077s === RUN TestSetupSession === RUN TestSetupSession/client_failure_no_app_protocols === RUN TestSetupSession/client_failure_non_initial_state @@ -939,10 +975,10 @@ === RUN TestSetupSession/server_failure_non_initial_state === RUN TestSetupSession/server_test === RUN TestSetupSession/resumption_ticket_test ---- PASS: TestSetupSession (0.03s) +--- PASS: TestSetupSession (0.06s) --- PASS: TestSetupSession/client_failure_no_app_protocols (0.00s) - --- PASS: TestSetupSession/client_failure_non_initial_state (0.00s) - --- PASS: TestSetupSession/client_test (0.01s) + --- PASS: TestSetupSession/client_failure_non_initial_state (0.01s) + --- PASS: TestSetupSession/client_test (0.02s) --- PASS: TestSetupSession/server_failure_no_app_protocols (0.00s) --- PASS: TestSetupSession/server_failure_non_initial_state (0.00s) --- PASS: TestSetupSession/server_test (0.01s) @@ -958,13 +994,7 @@ --- PASS: TestAuthenticateRequest/request_contains_invalid_token (0.00s) --- PASS: TestAuthenticateRequest/request_contains_valid_and_invalid_tokens (0.00s) PASS -ok github.com/google/s2a-go/internal/fakehandshaker/service 0.074s -? 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] +ok github.com/google/s2a-go/internal/fakehandshaker/service 0.176s === RUN TestNewClientHandshaker --- PASS: TestNewClientHandshaker (0.00s) === RUN TestNewServerHandshaker @@ -975,8 +1005,8 @@ === 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.04s) - --- PASS: TestClientHandshakeSuccess/full_client_options (0.01s) +--- 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) @@ -986,13 +1016,13 @@ === 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.04s) +--- PASS: TestServerHandshakeSuccess (0.08s) --- 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.01s) - --- PASS: TestServerHandshakeSuccess/full_server_options_with_no_local_identity,_sending_tokens (0.01s) + --- PASS: TestServerHandshakeSuccess/full_server_options,_sending_tokens (0.02s) + --- PASS: TestServerHandshakeSuccess/full_server_options_with_no_local_identity,_sending_tokens (0.02s) === RUN TestS2ARejectsTokenFromClient ---- PASS: TestS2ARejectsTokenFromClient (0.00s) +--- PASS: TestS2ARejectsTokenFromClient (0.04s) === RUN TestS2ARejectsTokenFromServer --- PASS: TestS2ARejectsTokenFromServer (0.01s) === RUN TestInvalidHandshaker @@ -1000,18 +1030,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.01s) +--- 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 @@ -1019,18 +1049,24 @@ === 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.02s) +--- PASS: TestGetAuthMechanismsForServer (0.04s) --- PASS: TestGetAuthMechanismsForServer/token_manager_is_nil (0.00s) - --- PASS: TestGetAuthMechanismsForServer/token_manager_expects_empty_identity (0.00s) + --- PASS: TestGetAuthMechanismsForServer/token_manager_expects_empty_identity (0.01s) --- PASS: TestGetAuthMechanismsForServer/token_manager_does_not_expect_empty_identity (0.00s) - --- PASS: TestGetAuthMechanismsForServer/token_manager_expects_2_SPIFFE_IDs (0.01s) + --- PASS: TestGetAuthMechanismsForServer/token_manager_expects_2_SPIFFE_IDs (0.02s) --- 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.201s +ok github.com/google/s2a-go/internal/handshaker 0.354s +? github.com/google/s2a-go/internal/proto/common_go_proto [no test files] +? github.com/google/s2a-go/internal/proto/s2a_go_proto [no test files] +? github.com/google/s2a-go/internal/proto/v2/common_go_proto [no test files] +? github.com/google/s2a-go/internal/proto/v2/s2a_context_go_proto [no test files] +? github.com/google/s2a-go/internal/proto/v2/s2a_go_proto [no test files] +? github.com/google/s2a-go/internal/proto/s2a_context_go_proto [no test files] === RUN TestDial --- PASS: TestDial (0.01s) PASS -ok github.com/google/s2a-go/internal/handshaker/service 0.062s +ok github.com/google/s2a-go/internal/handshaker/service 0.099s ? github.com/google/s2a-go/internal/record/internal/aeadcrypter/testutil [no test files] === RUN TestNewS2ARecordConn === RUN TestNewS2ARecordConn/nil_conn_options @@ -1041,12 +1077,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.02s) --- 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) @@ -1056,7 +1092,7 @@ === RUN TestStripPaddingAndType/multi_padding === RUN TestStripPaddingAndType/app_data_with_no_padding === RUN TestStripPaddingAndType/app_data_with_padding ---- PASS: TestStripPaddingAndType (0.00s) +--- PASS: TestStripPaddingAndType (0.01s) --- PASS: TestStripPaddingAndType/no_padding (0.00s) --- PASS: TestStripPaddingAndType/single_padding (0.00s) --- PASS: TestStripPaddingAndType/multi_padding (0.00s) @@ -1085,7 +1121,7 @@ === RUN TestReadCompletedRecord/two_complete_records_split_in_ciphertext === RUN TestReadCompletedRecord/two_complete_records_split_in_second_ciphertext === RUN TestReadCompletedRecord/complete_record_split_by_each_byte ---- PASS: TestReadCompletedRecord (0.00s) +--- PASS: TestReadCompletedRecord (0.01s) --- PASS: TestReadCompletedRecord/invalid_record_header_size (0.00s) --- PASS: TestReadCompletedRecord/complete_record_in_single_read (0.00s) --- PASS: TestReadCompletedRecord/complete_record_in_single_read_from_leftover_buffer (0.00s) @@ -1131,31 +1167,31 @@ === 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.06s) +--- PASS: TestConnReadApplicationData (0.08s) --- 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_no_padding (0.01s) --- PASS: TestConnReadApplicationData/AES-256-GCM-SHA384_with_padding (0.00s) --- PASS: TestConnReadApplicationData/AES-256-GCM-SHA384_empty (0.00s) --- PASS: TestConnReadApplicationData/CHACHA20-POLY1305-SHA256_with_no_padding (0.01s) --- PASS: TestConnReadApplicationData/CHACHA20-POLY1305-SHA256_with_padding (0.00s) --- PASS: TestConnReadApplicationData/CHACHA20-POLY1305-SHA256_empty (0.00s) --- PASS: TestConnReadApplicationData/AES-128-GCM-SHA256_split_in_first_record (0.00s) - --- PASS: TestConnReadApplicationData/AES-256-GCM-SHA384_split_in_first_record (0.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) --- PASS: TestConnReadApplicationData/AES-256-GCM-SHA384_split_in_first_record_header (0.00s) --- PASS: TestConnReadApplicationData/CHACHA20-POLY1305-SHA256_split_in_first_record_header (0.00s) --- PASS: TestConnReadApplicationData/AES-128-GCM-SHA256_split_in_second_record (0.00s) - --- PASS: TestConnReadApplicationData/AES-256-GCM-SHA384_split_in_second_record (0.00s) + --- PASS: TestConnReadApplicationData/AES-256-GCM-SHA384_split_in_second_record (0.01s) --- PASS: TestConnReadApplicationData/CHACHA20-POLY1305-SHA256_split_in_second_record (0.00s) - --- PASS: TestConnReadApplicationData/AES-128-GCM-SHA256_split_in_second_record_header (0.00s) + --- PASS: TestConnReadApplicationData/AES-128-GCM-SHA256_split_in_second_record_header (0.01s) --- PASS: TestConnReadApplicationData/AES-256-GCM-SHA384_split_in_second_record_header (0.00s) --- PASS: TestConnReadApplicationData/CHACHA20-POLY1305-SHA256_split_in_second_record_header (0.00s) --- PASS: TestConnReadApplicationData/AES-128-GCM-SHA256_split_randomly (0.00s) --- PASS: TestConnReadApplicationData/AES-256-GCM-SHA384_split_randomly (0.00s) - --- PASS: TestConnReadApplicationData/CHACHA20-POLY1305-SHA256_split_randomly (0.00s) + --- PASS: TestConnReadApplicationData/CHACHA20-POLY1305-SHA256_split_randomly (0.02s) === RUN TestConnReadAlert === RUN TestConnReadAlert/AES-128-GCM-SHA256_with_no_padding === RUN TestConnReadAlert/AES-128-GCM-SHA256_with_padding @@ -1169,18 +1205,18 @@ === RUN TestConnReadAlert/AES-128-GCM-SHA256_invalid === RUN TestConnReadAlert/AES-256-GCM-SHA384_invalid === RUN TestConnReadAlert/CHACHA20-POLY1305-SHA256_invalid ---- PASS: TestConnReadAlert (0.03s) +--- PASS: TestConnReadAlert (0.06s) --- PASS: TestConnReadAlert/AES-128-GCM-SHA256_with_no_padding (0.00s) --- PASS: TestConnReadAlert/AES-128-GCM-SHA256_with_padding (0.00s) --- PASS: TestConnReadAlert/AES-256-GCM-SHA384_with_no_padding (0.00s) --- PASS: TestConnReadAlert/AES-256-GCM-SHA384_with_padding (0.00s) --- PASS: TestConnReadAlert/CHACHA20-POLY1305-SHA256_with_no_padding (0.00s) --- PASS: TestConnReadAlert/CHACHA20-POLY1305-SHA256_with_padding (0.00s) - --- PASS: TestConnReadAlert/AES-128-GCM-SHA256_other_alert (0.00s) + --- PASS: TestConnReadAlert/AES-128-GCM-SHA256_other_alert (0.01s) --- PASS: TestConnReadAlert/AES-256-GCM-SHA384_other_alert (0.00s) --- PASS: TestConnReadAlert/CHACHA20-POLY1305-SHA256_other_alert (0.00s) --- PASS: TestConnReadAlert/AES-128-GCM-SHA256_invalid (0.00s) - --- PASS: TestConnReadAlert/AES-256-GCM-SHA384_invalid (0.00s) + --- PASS: TestConnReadAlert/AES-256-GCM-SHA384_invalid (0.01s) --- PASS: TestConnReadAlert/CHACHA20-POLY1305-SHA256_invalid (0.00s) === RUN TestConnReadKeyUpdate === RUN TestConnReadKeyUpdate/AES-128-GCM-SHA256 @@ -1189,13 +1225,13 @@ === RUN TestConnReadKeyUpdate/AES-128-GCM-SHA256_send_key_update_request === RUN TestConnReadKeyUpdate/AES-256-GCM-SHA384_send_key_update_request === RUN TestConnReadKeyUpdate/CHACHA20-POLY1305-SHA256_send_key_update_request ---- PASS: TestConnReadKeyUpdate (0.03s) - --- PASS: TestConnReadKeyUpdate/AES-128-GCM-SHA256 (0.00s) +--- PASS: TestConnReadKeyUpdate (0.07s) + --- PASS: TestConnReadKeyUpdate/AES-128-GCM-SHA256 (0.01s) --- 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.01s) - --- PASS: TestConnReadKeyUpdate/AES-256-GCM-SHA384_send_key_update_request (0.01s) - --- PASS: TestConnReadKeyUpdate/CHACHA20-POLY1305-SHA256_send_key_update_request (0.01s) + --- PASS: TestConnReadKeyUpdate/AES-128-GCM-SHA256_send_key_update_request (0.03s) + --- PASS: TestConnReadKeyUpdate/AES-256-GCM-SHA384_send_key_update_request (0.00s) + --- PASS: TestConnReadKeyUpdate/CHACHA20-POLY1305-SHA256_send_key_update_request (0.02s) === RUN TestConnNewSessionTicket === RUN TestConnNewSessionTicket/AES-128-GCM-SHA256_new_session_ticket === RUN TestConnNewSessionTicket/AES-256-GCM-SHA384_new_session_ticket @@ -1211,7 +1247,7 @@ --- PASS: TestConnNewSessionTicket/AES-256-GCM-SHA384_new_session_ticket (0.00s) --- PASS: TestConnNewSessionTicket/CHACHA20-POLY1305-SHA256_new_session_ticket (0.00s) --- 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/AES-256-GCM-SHA384_new_session_ticket_followed_by_application_data (0.01s) --- 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-256-GCM-SHA384_ticket,_application_data,_then_another_ticket (0.00s) @@ -1250,38 +1286,38 @@ === 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 (5.63s) +--- PASS: TestConnHandshakeWithHandshakeBuilder (13.14s) --- 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-128-GCM-SHA256_multiple_tickets_in_one_record (0.01s) + --- PASS: TestConnHandshakeWithHandshakeBuilder/AES-256-GCM-SHA384_multiple_tickets_in_one_record (0.02s) --- PASS: TestConnHandshakeWithHandshakeBuilder/CHACHA20-POLY1305-SHA256_multiple_tickets_in_one_record (0.00s) - --- PASS: TestConnHandshakeWithHandshakeBuilder/AES-128-GCM-SHA256_fragmented_tickets (0.89s) - --- PASS: TestConnHandshakeWithHandshakeBuilder/AES-256-GCM-SHA384_fragmented_tickets (0.70s) - --- PASS: TestConnHandshakeWithHandshakeBuilder/CHACHA20-POLY1305-SHA256_fragmented_tickets (0.71s) - --- PASS: TestConnHandshakeWithHandshakeBuilder/AES-128-GCM-SHA256_large_ticket (0.98s) - --- PASS: TestConnHandshakeWithHandshakeBuilder/AES-256-GCM-SHA384_large_ticket (1.09s) - --- PASS: TestConnHandshakeWithHandshakeBuilder/CHACHA20-POLY1305-SHA256_large_ticket (1.13s) - --- PASS: TestConnHandshakeWithHandshakeBuilder/AES-128-GCM-SHA256_split_in_header (0.00s) + --- PASS: TestConnHandshakeWithHandshakeBuilder/AES-128-GCM-SHA256_fragmented_tickets (1.42s) + --- PASS: TestConnHandshakeWithHandshakeBuilder/AES-256-GCM-SHA384_fragmented_tickets (2.69s) + --- PASS: TestConnHandshakeWithHandshakeBuilder/CHACHA20-POLY1305-SHA256_fragmented_tickets (0.84s) + --- PASS: TestConnHandshakeWithHandshakeBuilder/AES-128-GCM-SHA256_large_ticket (1.68s) + --- PASS: TestConnHandshakeWithHandshakeBuilder/AES-256-GCM-SHA384_large_ticket (3.63s) + --- PASS: TestConnHandshakeWithHandshakeBuilder/CHACHA20-POLY1305-SHA256_large_ticket (2.58s) + --- PASS: TestConnHandshakeWithHandshakeBuilder/AES-128-GCM-SHA256_split_in_header (0.01s) --- 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.01s) - --- PASS: TestConnHandshakeWithHandshakeBuilder/AES-256-GCM-SHA384_past_max_limit (0.01s) - --- PASS: TestConnHandshakeWithHandshakeBuilder/CHACHA20-POLY1305-SHA256_past_max_limit (0.01s) - --- PASS: TestConnHandshakeWithHandshakeBuilder/AES-128-GCM-SHA256_consecutive_key_updates (0.00s) + --- PASS: TestConnHandshakeWithHandshakeBuilder/AES-256-GCM-SHA384_past_max_limit (0.00s) + --- PASS: TestConnHandshakeWithHandshakeBuilder/CHACHA20-POLY1305-SHA256_past_max_limit (0.00s) + --- PASS: TestConnHandshakeWithHandshakeBuilder/AES-128-GCM-SHA256_consecutive_key_updates (0.01s) --- PASS: TestConnHandshakeWithHandshakeBuilder/AES-256-GCM-SHA384_consecutive_key_updates (0.01s) --- 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.02s) - --- PASS: TestConnHandshakeWithHandshakeBuilder/CHACHA20-POLY1305-SHA256_consecutive_key_updates_in_single_record (0.01s) + --- PASS: TestConnHandshakeWithHandshakeBuilder/AES-256-GCM-SHA384_consecutive_key_updates_in_single_record (0.01s) + --- PASS: TestConnHandshakeWithHandshakeBuilder/CHACHA20-POLY1305-SHA256_consecutive_key_updates_in_single_record (0.00s) --- PASS: TestConnHandshakeWithHandshakeBuilder/AES-128-GCM-SHA256_fragmented_key_update (0.00s) --- PASS: TestConnHandshakeWithHandshakeBuilder/AES-256-GCM-SHA384_fragmented_key_update (0.00s) - --- PASS: TestConnHandshakeWithHandshakeBuilder/CHACHA20-POLY1305-SHA256_fragmented_key_update (0.00s) + --- PASS: TestConnHandshakeWithHandshakeBuilder/CHACHA20-POLY1305-SHA256_fragmented_key_update (0.02s) --- PASS: TestConnHandshakeWithHandshakeBuilder/AES-128-GCM-SHA256_key_update_between_session_tickets (0.00s) - --- PASS: TestConnHandshakeWithHandshakeBuilder/AES-256-GCM-SHA384_key_update_between_session_tickets (0.00s) + --- PASS: TestConnHandshakeWithHandshakeBuilder/AES-256-GCM-SHA384_key_update_between_session_tickets (0.02s) --- 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-128-GCM-SHA256_key_update_between_session_tickets_in_a_single_record (0.03s) --- 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 @@ -1291,29 +1327,29 @@ === RUN TestWrite/AES-256-GCM-SHA384_empty === RUN TestWrite/CHACHA20-POLY1305-SHA256 === RUN TestWrite/CHACHA20-POLY1305-SHA256_empty ---- PASS: TestWrite (0.02s) +--- PASS: TestWrite (0.08s) --- PASS: TestWrite/AES-128-GCM-SHA256 (0.00s) - --- PASS: TestWrite/AES-128-GCM-SHA256_empty (0.01s) + --- PASS: TestWrite/AES-128-GCM-SHA256_empty (0.05s) --- PASS: TestWrite/AES-256-GCM-SHA384 (0.00s) --- PASS: TestWrite/AES-256-GCM-SHA384_empty (0.00s) - --- PASS: TestWrite/CHACHA20-POLY1305-SHA256 (0.00s) + --- PASS: TestWrite/CHACHA20-POLY1305-SHA256 (0.03s) --- PASS: TestWrite/CHACHA20-POLY1305-SHA256_empty (0.00s) === RUN TestWriteTwoRecords === RUN TestWriteTwoRecords/AES-128-GCM-SHA256 === RUN TestWriteTwoRecords/AES-256-GCM-SHA384 === RUN TestWriteTwoRecords/CHACHA20-POLY1305-SHA256 ---- PASS: TestWriteTwoRecords (0.02s) - --- PASS: TestWriteTwoRecords/AES-128-GCM-SHA256 (0.01s) - --- PASS: TestWriteTwoRecords/AES-256-GCM-SHA384 (0.01s) - --- PASS: TestWriteTwoRecords/CHACHA20-POLY1305-SHA256 (0.00s) +--- PASS: TestWriteTwoRecords (0.07s) + --- PASS: TestWriteTwoRecords/AES-128-GCM-SHA256 (0.00s) + --- PASS: TestWriteTwoRecords/AES-256-GCM-SHA384 (0.05s) + --- PASS: TestWriteTwoRecords/CHACHA20-POLY1305-SHA256 (0.01s) === RUN TestExceedBufferSize === RUN TestExceedBufferSize/AES-128-GCM-SHA256 === RUN TestExceedBufferSize/AES-256-GCM-SHA384 === RUN TestExceedBufferSize/CHACHA20-POLY1305-SHA256 ---- PASS: TestExceedBufferSize (0.16s) - --- PASS: TestExceedBufferSize/AES-128-GCM-SHA256 (0.07s) - --- PASS: TestExceedBufferSize/AES-256-GCM-SHA384 (0.06s) - --- PASS: TestExceedBufferSize/CHACHA20-POLY1305-SHA256 (0.02s) +--- PASS: TestExceedBufferSize (0.42s) + --- PASS: TestExceedBufferSize/AES-128-GCM-SHA256 (0.21s) + --- PASS: TestExceedBufferSize/AES-256-GCM-SHA384 (0.13s) + --- PASS: TestExceedBufferSize/CHACHA20-POLY1305-SHA256 (0.03s) === RUN TestRoundtrip === RUN TestRoundtrip/AES-128-GCM-SHA256 === RUN TestRoundtrip/AES-128-GCM-SHA256_different_traffic_secrets @@ -1330,22 +1366,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 (1.22s) +--- PASS: TestRoundtrip (2.94s) --- PASS: TestRoundtrip/AES-128-GCM-SHA256 (0.00s) --- PASS: TestRoundtrip/AES-128-GCM-SHA256_different_traffic_secrets (0.00s) --- PASS: TestRoundtrip/AES-128-GCM-SHA256_empty (0.00s) - --- PASS: TestRoundtrip/AES-128-GCM-SHA256_max_buffer_size (0.24s) - --- PASS: TestRoundtrip/AES-128-GCM-SHA256_exceed_buffer_size (0.23s) + --- PASS: TestRoundtrip/AES-128-GCM-SHA256_max_buffer_size (0.58s) + --- PASS: TestRoundtrip/AES-128-GCM-SHA256_exceed_buffer_size (0.28s) --- 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.02s) - --- PASS: TestRoundtrip/AES-256-GCM-SHA384_max_buffer_size (0.27s) - --- PASS: TestRoundtrip/AES-256-GCM-SHA384_exceed_buffer_size (0.26s) - --- PASS: TestRoundtrip/CHACHA20-POLY1305-SHA256 (0.00s) + --- PASS: TestRoundtrip/AES-256-GCM-SHA384_empty (0.01s) + --- PASS: TestRoundtrip/AES-256-GCM-SHA384_max_buffer_size (0.71s) + --- PASS: TestRoundtrip/AES-256-GCM-SHA384_exceed_buffer_size (1.07s) + --- PASS: TestRoundtrip/CHACHA20-POLY1305-SHA256 (0.01s) --- 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.09s) - --- PASS: TestRoundtrip/CHACHA20-POLY1305-SHA256_max_buffer_size#01 (0.09s) + --- PASS: TestRoundtrip/CHACHA20-POLY1305-SHA256_max_buffer_size (0.13s) + --- PASS: TestRoundtrip/CHACHA20-POLY1305-SHA256_max_buffer_size#01 (0.10s) === RUN TestWriteTicketsToStream --- PASS: TestWriteTicketsToStream (0.00s) === RUN TestGetAuthMechanism @@ -1361,7 +1397,7 @@ --- 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 7.304s +ok github.com/google/s2a-go/internal/record 17.038s === RUN TestAESGCMInvalidKeySize --- PASS: TestAESGCMInvalidKeySize (0.00s) === RUN TestAESGCMEncryptRoundtrip @@ -1379,7 +1415,7 @@ === RUN TestAESGCMEncrypt/basic_dst_allocation_1 === RUN TestAESGCMEncrypt/basic_dst_allocation_2 === RUN TestAESGCMEncrypt/basic_dst_allocation_3 ---- PASS: TestAESGCMEncrypt (0.00s) +--- PASS: TestAESGCMEncrypt (0.01s) --- PASS: TestAESGCMEncrypt/nil_plaintext_and_ciphertext (0.00s) --- PASS: TestAESGCMEncrypt/invalid_nonce_size (0.00s) --- PASS: TestAESGCMEncrypt/nil_plaintext_and_ciphertext_with_dst_allocation (0.00s) @@ -1486,7 +1522,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.10s) +--- PASS: TestWycheProofTestVectors (0.11s) --- PASS: TestWycheProofTestVectors/1/ (0.00s) --- PASS: TestWycheProofTestVectors/2/ (0.00s) --- PASS: TestWycheProofTestVectors/3/ (0.00s) @@ -1605,7 +1641,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.01s) +--- PASS: TestAESGCMNISTAndIEEE (0.06s) --- PASS: TestAESGCMNISTAndIEEE/NIST_test_vector_1 (0.00s) --- PASS: TestAESGCMNISTAndIEEE/NIST_test_vector_2 (0.00s) --- PASS: TestAESGCMNISTAndIEEE/NIST_test_vector_3 (0.00s) @@ -1928,7 +1964,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.14s) +--- PASS: TestWycheProofTestVectorsChachaPoly (0.23s) --- PASS: TestWycheProofTestVectorsChachaPoly/1/RFC_7539 (0.00s) --- PASS: TestWycheProofTestVectorsChachaPoly/2/ (0.00s) --- PASS: TestWycheProofTestVectorsChachaPoly/3/ (0.00s) @@ -2074,7 +2110,7 @@ --- PASS: TestWycheProofTestVectorsChachaPoly/143/Flipped_bit_0_in_tag_expected_tag:29914007a6119dd3f109bba21ce9a7d6 (0.00s) --- PASS: TestWycheProofTestVectorsChachaPoly/144/Flipped_bit_1_in_tag_expected_tag:29914007a6119dd3f109bba21ce9a7d6 (0.00s) --- PASS: TestWycheProofTestVectorsChachaPoly/145/Flipped_bit_7_in_tag_expected_tag:29914007a6119dd3f109bba21ce9a7d6 (0.00s) - --- PASS: TestWycheProofTestVectorsChachaPoly/146/Flipped_bit_8_in_tag_expected_tag:29914007a6119dd3f109bba21ce9a7d6 (0.00s) + --- PASS: TestWycheProofTestVectorsChachaPoly/146/Flipped_bit_8_in_tag_expected_tag:29914007a6119dd3f109bba21ce9a7d6 (0.01s) --- PASS: TestWycheProofTestVectorsChachaPoly/147/Flipped_bit_31_in_tag_expected_tag:29914007a6119dd3f109bba21ce9a7d6 (0.00s) --- PASS: TestWycheProofTestVectorsChachaPoly/148/Flipped_bit_32_in_tag_expected_tag:29914007a6119dd3f109bba21ce9a7d6 (0.00s) --- PASS: TestWycheProofTestVectorsChachaPoly/149/Flipped_bit_33_in_tag_expected_tag:29914007a6119dd3f109bba21ce9a7d6 (0.00s) @@ -2245,7 +2281,7 @@ === RUN TestDecrypt --- PASS: TestDecrypt (0.00s) PASS -ok github.com/google/s2a-go/internal/record/internal/aeadcrypter 0.288s +ok github.com/google/s2a-go/internal/record/internal/aeadcrypter 1.626s === RUN TestCiphersuites === RUN TestCiphersuites/AES_128_GCM_SHA256 === RUN TestCiphersuites/AES_256_GCM_SHA384 @@ -2271,7 +2307,7 @@ === RUN TestCounterReset/zero_no_overflow === RUN TestCounterReset/non-zero_has_overflow === RUN TestCounterReset/zero_has_overflow ---- PASS: TestCounterReset (0.00s) +--- PASS: TestCounterReset (0.01s) --- PASS: TestCounterReset/non-zero_no_overflow (0.00s) --- PASS: TestCounterReset/zero_no_overflow (0.00s) --- PASS: TestCounterReset/non-zero_has_overflow (0.00s) @@ -2301,7 +2337,7 @@ === RUN TestMaskedNonce/max_nonce_and_max_sequence === RUN TestMaskedNonce/non-zero_nonce_and_non-zero_sequence === RUN TestMaskedNonce/cancel_out ---- PASS: TestMaskedNonce (0.00s) +--- PASS: TestMaskedNonce (0.01s) --- PASS: TestMaskedNonce/zero_nonce_and_zero_sequence (0.00s) --- PASS: TestMaskedNonce/max_nonce_and_zero_sequence (0.00s) --- PASS: TestMaskedNonce/zero_nonce_and_max_sequence (0.00s) @@ -2326,7 +2362,7 @@ === RUN TestS2AHalfConnectionRoundtrip/AES_128_GCM_SHA256 === RUN TestS2AHalfConnectionRoundtrip/AES_256_GCM_SHA384 === RUN TestS2AHalfConnectionRoundtrip/CHACHA20_POLY1305_SHA256 ---- PASS: TestS2AHalfConnectionRoundtrip (0.00s) +--- PASS: TestS2AHalfConnectionRoundtrip (0.01s) --- PASS: TestS2AHalfConnectionRoundtrip/AES_128_GCM_SHA256 (0.00s) --- PASS: TestS2AHalfConnectionRoundtrip/AES_256_GCM_SHA384 (0.00s) --- PASS: TestS2AHalfConnectionRoundtrip/CHACHA20_POLY1305_SHA256 (0.00s) @@ -2334,7 +2370,7 @@ === RUN TestS2AHalfConnectionUpdateKey/AES_128_GCM_SHA256 === RUN TestS2AHalfConnectionUpdateKey/AES_256_GCM_SHA384 === RUN TestS2AHalfConnectionUpdateKey/CHACHA20_POLY1305_SHA256 ---- PASS: TestS2AHalfConnectionUpdateKey (0.00s) +--- PASS: TestS2AHalfConnectionUpdateKey (0.01s) --- PASS: TestS2AHalfConnectionUpdateKey/AES_128_GCM_SHA256 (0.00s) --- PASS: TestS2AHalfConnectionUpdateKey/AES_256_GCM_SHA384 (0.00s) --- PASS: TestS2AHalfConnectionUpdateKey/CHACHA20_POLY1305_SHA256 (0.00s) @@ -2347,7 +2383,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.040s +ok github.com/google/s2a-go/internal/record/internal/halfconn 0.100s === RUN TestNewSingleTokenAccessTokenManagerFailure --- PASS: TestNewSingleTokenAccessTokenManagerFailure (0.00s) === RUN TestNewSingleTokenAccessTokenManagerDefaultTokenSuccess @@ -2355,46 +2391,45 @@ === RUN TestNewSingleTokenAccessTokenManagerTokenSuccess --- PASS: TestNewSingleTokenAccessTokenManagerTokenSuccess (0.00s) PASS -ok github.com/google/s2a-go/internal/tokenmanager 0.022s +ok github.com/google/s2a-go/internal/tokenmanager 0.054s === RUN TestEndToEndUsingFakeS2AOverTCP -2024/07/29 22:24:19 Fake S2A Service: failed to receive SessionReq: EOF -2024/07/29 22:24:19 Fake S2A Service: failed to receive SessionReq: EOF ---- PASS: TestEndToEndUsingFakeS2AOverTCP (0.27s) +2024/07/29 22:41:49 Fake S2A Service: failed to receive SessionReq: EOF +2024/07/29 22:41:49 Fake S2A Service: failed to receive SessionReq: EOF +--- PASS: TestEndToEndUsingFakeS2AOverTCP (0.73s) === RUN TestEndToEndUsingFakeS2AOverTCPEmptyId -2024/07/29 22:24:20 Fake S2A Service: failed to receive SessionReq: EOF -2024/07/29 22:24:20 Fake S2A Service: failed to receive SessionReq: EOF ---- PASS: TestEndToEndUsingFakeS2AOverTCPEmptyId (0.23s) +2024/07/29 22:41:49 Fake S2A Service: failed to receive SessionReq: EOF +2024/07/29 22:41:49 Fake S2A Service: failed to receive SessionReq: EOF +--- PASS: TestEndToEndUsingFakeS2AOverTCPEmptyId (0.41s) === RUN TestEndToEndUsingFakeS2AOnUDS -2024/07/29 22:24:20 Fake S2A Service: failed to receive SessionReq: EOF -2024/07/29 22:24:20 Fake S2A Service: failed to receive SessionReq: EOF ---- PASS: TestEndToEndUsingFakeS2AOnUDS (0.28s) +2024/07/29 22:41:50 Fake S2A Service: failed to receive SessionReq: EOF +2024/07/29 22:41:50 Fake S2A Service: failed to receive SessionReq: EOF +--- PASS: TestEndToEndUsingFakeS2AOnUDS (0.58s) === RUN TestEndToEndUsingFakeS2AOnUDSEmptyId -2024/07/29 22:24:20 Fake S2A Service: failed to receive SessionReq: EOF -2024/07/29 22:24:20 Fake S2A Service: failed to receive SessionReq: EOF ---- PASS: TestEndToEndUsingFakeS2AOnUDSEmptyId (0.32s) +2024/07/29 22:41:50 Fake S2A Service: failed to receive SessionReq: EOF +2024/07/29 22:41:50 Fake S2A Service: failed to receive SessionReq: EOF +--- PASS: TestEndToEndUsingFakeS2AOnUDSEmptyId (0.72s) === RUN TestGRPCFallbackEndToEndUsingFakeS2AOverTCP - s2av2_e2e_test.go:318: Fake handshaker for server running at address: [::]:42491 - s2av2_e2e_test.go:330: server running at address: [::]:42933 - s2av2_e2e_test.go:331: fallback server running at address: [::]:37401 -2024/07/29 22:24:22 Fake S2A Service: failed to receive SessionReq: EOF ---- PASS: TestGRPCFallbackEndToEndUsingFakeS2AOverTCP (1.64s) + s2av2_e2e_test.go:318: Fake handshaker for server running at address: [::]:34253 + s2av2_e2e_test.go:330: server running at address: [::]:35065 + s2av2_e2e_test.go:331: fallback server running at address: [::]:33829 +2024/07/29 22:41:52 Fake S2A Service: failed to receive SessionReq: EOF +--- PASS: TestGRPCFallbackEndToEndUsingFakeS2AOverTCP (1.92s) === RUN TestGRPCRetryAndFallbackEndToEndUsingFakeS2AOverTCP - s2av2_e2e_test.go:387: server running at address: [::]:34771 - s2av2_e2e_test.go:388: fallback server running at address: [::]:34815 -2024/07/29 22:24:22 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token -2024/07/29 22:24:23 Fake S2A Service: failed to receive SessionReq: EOF ---- PASS: TestGRPCRetryAndFallbackEndToEndUsingFakeS2AOverTCP (1.53s) + s2av2_e2e_test.go:387: server running at address: [::]:32913 + s2av2_e2e_test.go:388: fallback server running at address: [::]:44621 +2024/07/29 22:41:52 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token +2024/07/29 22:41:55 Fake S2A Service: failed to receive SessionReq: EOF +--- PASS: TestGRPCRetryAndFallbackEndToEndUsingFakeS2AOverTCP (2.16s) === RUN TestNewClientTlsConfigWithTokenManager ---- PASS: TestNewClientTlsConfigWithTokenManager (0.01s) +--- PASS: TestNewClientTlsConfigWithTokenManager (0.02s) === RUN TestNewClientTlsConfigWithoutTokenManager -2024/07/29 22:24:23 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled ---- PASS: TestNewClientTlsConfigWithoutTokenManager (0.01s) +2024/07/29 22:41:55 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +--- PASS: TestNewClientTlsConfigWithoutTokenManager (0.10s) === RUN TestNewClientCreds === RUN TestNewClientCreds/static --- PASS: TestNewClientCreds (0.00s) --- PASS: TestNewClientCreds/static (0.00s) === RUN TestNewServerCreds -2024/07/29 22:24:23 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled === RUN TestNewServerCreds/static --- PASS: TestNewServerCreds (0.00s) --- PASS: TestNewServerCreds/static (0.00s) @@ -2405,7 +2440,8 @@ === RUN TestInfo --- PASS: TestInfo (0.00s) === RUN TestCloneClient ---- PASS: TestCloneClient (0.00s) +2024/07/29 22:41:55 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +--- PASS: TestCloneClient (0.01s) === RUN TestCloneServer --- PASS: TestCloneServer (0.00s) === RUN TestOverrideServerName @@ -2425,182 +2461,180 @@ === RUN TestGetS2ATimeout --- PASS: TestGetS2ATimeout (0.00s) PASS -ok github.com/google/s2a-go/internal/v2 4.374s +ok github.com/google/s2a-go/internal/v2 6.874s === RUN TestVerifyClientCertChain -2024/07/29 22:24:19 Server: started gRPC fake S2Av2 Server on address: [::]:35671 +2024/07/29 22:41:48 Server: started gRPC fake S2Av2 Server on address: [::]:44423 === RUN TestVerifyClientCertChain/empty_chain -2024/07/29 22:24:19 Client: connected to: [::]:35671 -2024/07/29 22:24:19 Client: set up bidirectional streaming RPC session. +2024/07/29 22:41:48 Client: connected to: [::]:44423 +2024/07/29 22:41:48 Client: set up bidirectional streaming RPC session. +2024/07/29 22:41:48 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled === RUN TestVerifyClientCertChain/chain_of_length_1 -2024/07/29 22:24:19 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2024/07/29 22:24:19 Client: connected to: [::]:35671 -2024/07/29 22:24:19 Client: set up bidirectional streaming RPC session. +2024/07/29 22:41:48 Client: connected to: [::]:44423 +2024/07/29 22:41:48 Client: set up bidirectional streaming RPC session. +2024/07/29 22:41:48 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled === RUN TestVerifyClientCertChain/chain_of_length_2_correct -2024/07/29 22:24:19 Client: connected to: [::]:35671 -2024/07/29 22:24:19 Client: set up bidirectional streaming RPC session. -2024/07/29 22:24:19 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2024/07/29 22:24:19 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2024/07/29 22:41:48 Client: connected to: [::]:44423 +2024/07/29 22:41:48 Client: set up bidirectional streaming RPC session. === RUN TestVerifyClientCertChain/chain_of_length_2_error:_missing_intermediate -2024/07/29 22:24:19 Client: connected to: [::]:35671 -2024/07/29 22:24:19 Client: set up bidirectional streaming RPC session. -2024/07/29 22:24:19 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled ---- PASS: TestVerifyClientCertChain (0.07s) - --- PASS: TestVerifyClientCertChain/empty_chain (0.02s) - --- PASS: TestVerifyClientCertChain/chain_of_length_1 (0.01s) - --- PASS: TestVerifyClientCertChain/chain_of_length_2_correct (0.02s) - --- PASS: TestVerifyClientCertChain/chain_of_length_2_error:_missing_intermediate (0.01s) +2024/07/29 22:41:48 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2024/07/29 22:41:48 Client: connected to: [::]:44423 +2024/07/29 22:41:48 Client: set up bidirectional streaming RPC session. +2024/07/29 22:41:48 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +--- PASS: TestVerifyClientCertChain (0.22s) + --- PASS: TestVerifyClientCertChain/empty_chain (0.04s) + --- PASS: TestVerifyClientCertChain/chain_of_length_1 (0.03s) + --- PASS: TestVerifyClientCertChain/chain_of_length_2_correct (0.07s) + --- PASS: TestVerifyClientCertChain/chain_of_length_2_error:_missing_intermediate (0.06s) === RUN TestVerifyServerCertChainWithServerAuthorizationPolicy -2024/07/29 22:24:19 Server: started gRPC fake S2Av2 Server on address: [::]:39353 +2024/07/29 22:41:48 Server: started gRPC fake S2Av2 Server on address: [::]:36629 === RUN TestVerifyServerCertChainWithServerAuthorizationPolicy/empty_chain -2024/07/29 22:24:19 Client: connected to: [::]:39353 -2024/07/29 22:24:19 Client: set up bidirectional streaming RPC session. -2024/07/29 22:24:19 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2024/07/29 22:41:48 Client: connected to: [::]:36629 +2024/07/29 22:41:48 Client: set up bidirectional streaming RPC session. === RUN TestVerifyServerCertChainWithServerAuthorizationPolicy/invalid_server_authorization_policy -2024/07/29 22:24:19 Client: connected to: [::]:39353 -2024/07/29 22:24:19 Client: set up bidirectional streaming RPC session. -2024/07/29 22:24:19 Fake S2A Service: failed to build SessionResp with ValidatePeerCertificateChainResp: server peer verification failed: invalid server authorization policy, expected: fake server authorization policy, got: +2024/07/29 22:41:48 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2024/07/29 22:41:48 Client: connected to: [::]:36629 +2024/07/29 22:41:48 Client: set up bidirectional streaming RPC session. +2024/07/29 22:41:48 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/07/29 22:24:19 Client: connected to: [::]:39353 -2024/07/29 22:24:19 Client: set up bidirectional streaming RPC session. -2024/07/29 22:24:19 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2024/07/29 22:41:48 Client: connected to: [::]:36629 +2024/07/29 22:41:48 Client: set up bidirectional streaming RPC session. === RUN TestVerifyServerCertChainWithServerAuthorizationPolicy/chain_of_length_2_correct -2024/07/29 22:24:19 Client: connected to: [::]:39353 -2024/07/29 22:24:19 Client: set up bidirectional streaming RPC session. -2024/07/29 22:24:19 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled ---- PASS: TestVerifyServerCertChainWithServerAuthorizationPolicy (0.04s) - --- PASS: TestVerifyServerCertChainWithServerAuthorizationPolicy/empty_chain (0.01s) - --- PASS: TestVerifyServerCertChainWithServerAuthorizationPolicy/invalid_server_authorization_policy (0.01s) - --- PASS: TestVerifyServerCertChainWithServerAuthorizationPolicy/chain_of_length_1 (0.01s) - --- PASS: TestVerifyServerCertChainWithServerAuthorizationPolicy/chain_of_length_2_correct (0.02s) +2024/07/29 22:41:48 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2024/07/29 22:41:48 Client: connected to: [::]:36629 +2024/07/29 22:41:48 Client: set up bidirectional streaming RPC session. +2024/07/29 22:41:48 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +--- PASS: TestVerifyServerCertChainWithServerAuthorizationPolicy (0.17s) + --- PASS: TestVerifyServerCertChainWithServerAuthorizationPolicy/empty_chain (0.02s) + --- PASS: TestVerifyServerCertChainWithServerAuthorizationPolicy/invalid_server_authorization_policy (0.03s) + --- PASS: TestVerifyServerCertChainWithServerAuthorizationPolicy/chain_of_length_1 (0.03s) + --- PASS: TestVerifyServerCertChainWithServerAuthorizationPolicy/chain_of_length_2_correct (0.08s) === RUN TestVerifyServerCertChainWithoutServerAuthorizationPolicy -2024/07/29 22:24:19 Server: started gRPC fake S2Av2 Server on address: [::]:44915 +2024/07/29 22:41:48 Server: started gRPC fake S2Av2 Server on address: [::]:40165 === RUN TestVerifyServerCertChainWithoutServerAuthorizationPolicy/empty_chain -2024/07/29 22:24:19 Client: connected to: [::]:44915 -2024/07/29 22:24:19 Client: set up bidirectional streaming RPC session. -2024/07/29 22:24:19 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2024/07/29 22:41:48 Client: connected to: [::]:40165 +2024/07/29 22:41:48 Client: set up bidirectional streaming RPC session. +2024/07/29 22:41:48 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled === RUN TestVerifyServerCertChainWithoutServerAuthorizationPolicy/chain_of_length_1 -2024/07/29 22:24:19 Client: connected to: [::]:44915 -2024/07/29 22:24:19 Client: set up bidirectional streaming RPC session. -2024/07/29 22:24:19 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2024/07/29 22:41:48 Client: connected to: [::]:40165 +2024/07/29 22:41:48 Client: set up bidirectional streaming RPC session. === RUN TestVerifyServerCertChainWithoutServerAuthorizationPolicy/chain_of_length_2_correct -2024/07/29 22:24:19 Client: connected to: [::]:44915 -2024/07/29 22:24:19 Client: set up bidirectional streaming RPC session. -2024/07/29 22:24:19 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled ---- PASS: TestVerifyServerCertChainWithoutServerAuthorizationPolicy (0.03s) - --- PASS: TestVerifyServerCertChainWithoutServerAuthorizationPolicy/empty_chain (0.01s) - --- PASS: TestVerifyServerCertChainWithoutServerAuthorizationPolicy/chain_of_length_1 (0.01s) - --- PASS: TestVerifyServerCertChainWithoutServerAuthorizationPolicy/chain_of_length_2_correct (0.02s) +2024/07/29 22:41:48 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2024/07/29 22:41:48 Client: connected to: [::]:40165 +2024/07/29 22:41:48 Client: set up bidirectional streaming RPC session. +--- PASS: TestVerifyServerCertChainWithoutServerAuthorizationPolicy (0.15s) + --- PASS: TestVerifyServerCertChainWithoutServerAuthorizationPolicy/empty_chain (0.03s) + --- PASS: TestVerifyServerCertChainWithoutServerAuthorizationPolicy/chain_of_length_1 (0.02s) + --- PASS: TestVerifyServerCertChainWithoutServerAuthorizationPolicy/chain_of_length_2_correct (0.08s) PASS -ok github.com/google/s2a-go/internal/v2/certverifier 0.194s +ok github.com/google/s2a-go/internal/v2/certverifier 0.644s === RUN TestSetUpSession -2024/07/29 22:24:20 Server: started gRPC Fake S2Av2 Server on address: [::]:45005 +2024/07/29 22:41:48 Server: started gRPC Fake S2Av2 Server on address: [::]:38089 === RUN TestSetUpSession/Get_TLS_config_for_client. -2024/07/29 22:24:20 Client: connected to: [::]:45005 -2024/07/29 22:24:20 Client: set up bidirectional streaming RPC session. -2024/07/29 22:24:20 Client: sent SessionReq -2024/07/29 22:24:20 Client: received SessionResp -2024/07/29 22:24:20 resp matches tc.expectedResponse -2024/07/29 22:24:20 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2024/07/29 22:41:48 Client: connected to: [::]:38089 +2024/07/29 22:41:48 Client: set up bidirectional streaming RPC session. +2024/07/29 22:41:48 Client: sent SessionReq +2024/07/29 22:41:48 Client: received SessionResp +2024/07/29 22:41:48 resp matches tc.expectedResponse +2024/07/29 22:41:48 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled === RUN TestSetUpSession/Get_TLS_config_for_server. -2024/07/29 22:24:20 Client: connected to: [::]:45005 -2024/07/29 22:24:20 Client: set up bidirectional streaming RPC session. -2024/07/29 22:24:20 Client: sent SessionReq -2024/07/29 22:24:20 Client: received SessionResp -2024/07/29 22:24:20 resp matches tc.expectedResponse -2024/07/29 22:24:20 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2024/07/29 22:41:48 Client: connected to: [::]:38089 +2024/07/29 22:41:48 Client: set up bidirectional streaming RPC session. +2024/07/29 22:41:48 Client: sent SessionReq +2024/07/29 22:41:48 Client: received SessionResp +2024/07/29 22:41:48 resp matches tc.expectedResponse +2024/07/29 22:41:48 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled === RUN TestSetUpSession/Get_TLS_config_error_--_invalid_connection_side -2024/07/29 22:24:20 Client: connected to: [::]:45005 -2024/07/29 22:24:20 Client: set up bidirectional streaming RPC session. -2024/07/29 22:24:20 Client: sent SessionReq -2024/07/29 22:24:20 Client: received SessionResp -2024/07/29 22:24:20 resp matches tc.expectedResponse -2024/07/29 22:24:20 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2024/07/29 22:41:48 Client: connected to: [::]:38089 +2024/07/29 22:41:48 Client: set up bidirectional streaming RPC session. +2024/07/29 22:41:48 Client: sent SessionReq +2024/07/29 22:41:48 Client: received SessionResp +2024/07/29 22:41:48 resp matches tc.expectedResponse === RUN TestSetUpSession/Get_TLS_config_error_--_invalid_token -2024/07/29 22:24:20 Client: connected to: [::]:45005 -2024/07/29 22:24:20 Client: set up bidirectional streaming RPC session. -2024/07/29 22:24:20 Client: sent SessionReq -2024/07/29 22:24:20 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token -2024/07/29 22:24:20 Client: received SessionResp -2024/07/29 22:24:20 resp matches tc.expectedResponse +2024/07/29 22:41:48 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2024/07/29 22:41:48 Client: connected to: [::]:38089 +2024/07/29 22:41:48 Client: set up bidirectional streaming RPC session. +2024/07/29 22:41:48 Client: sent SessionReq +2024/07/29 22:41:48 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token +2024/07/29 22:41:48 Client: received SessionResp +2024/07/29 22:41:48 resp matches tc.expectedResponse === RUN TestSetUpSession/Get_server_TLS_config_--_empty_authmechanisms_(S2A_ACCESS_TOKEN_env_var_not_set) -2024/07/29 22:24:20 Client: connected to: [::]:45005 -2024/07/29 22:24:20 Client: set up bidirectional streaming RPC session. -2024/07/29 22:24:20 Client: sent SessionReq -2024/07/29 22:24:20 Client: received SessionResp -2024/07/29 22:24:20 resp matches tc.expectedResponse +2024/07/29 22:41:48 Client: connected to: [::]:38089 +2024/07/29 22:41:48 Client: set up bidirectional streaming RPC session. +2024/07/29 22:41:48 Client: sent SessionReq +2024/07/29 22:41:48 Client: received SessionResp +2024/07/29 22:41:48 resp matches tc.expectedResponse === RUN TestSetUpSession/Client_Peer_Verification -2024/07/29 22:24:20 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2024/07/29 22:24:20 Client: connected to: [::]:45005 -2024/07/29 22:24:20 Client: set up bidirectional streaming RPC session. -2024/07/29 22:24:20 Client: sent SessionReq -2024/07/29 22:24:20 Client: received SessionResp -2024/07/29 22:24:20 resp matches tc.expectedResponse -2024/07/29 22:24:20 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2024/07/29 22:41:48 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2024/07/29 22:41:48 Client: connected to: [::]:38089 +2024/07/29 22:41:48 Client: set up bidirectional streaming RPC session. +2024/07/29 22:41:48 Client: sent SessionReq +2024/07/29 22:41:48 Client: received SessionResp +2024/07/29 22:41:48 resp matches tc.expectedResponse === RUN TestSetUpSession/Client_Peer_Verification_--_failure -2024/07/29 22:24:20 Client: connected to: [::]:45005 -2024/07/29 22:24:20 Client: set up bidirectional streaming RPC session. -2024/07/29 22:24:20 Client: sent SessionReq -2024/07/29 22:24:20 Client: received SessionResp -2024/07/29 22:24:20 resp matches tc.expectedResponse -2024/07/29 22:24:20 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2024/07/29 22:41:48 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2024/07/29 22:41:48 Client: connected to: [::]:38089 +2024/07/29 22:41:48 Client: set up bidirectional streaming RPC session. +2024/07/29 22:41:48 Client: sent SessionReq +2024/07/29 22:41:48 Client: received SessionResp +2024/07/29 22:41:48 resp matches tc.expectedResponse +2024/07/29 22:41:48 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled === RUN TestSetUpSession/Server_Peer_Verification -2024/07/29 22:24:20 Client: connected to: [::]:45005 -2024/07/29 22:24:20 Client: set up bidirectional streaming RPC session. -2024/07/29 22:24:20 Client: sent SessionReq -2024/07/29 22:24:20 Client: received SessionResp -2024/07/29 22:24:20 resp matches tc.expectedResponse -2024/07/29 22:24:20 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled ---- PASS: TestSetUpSession (0.11s) - --- 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.01s) - --- PASS: TestSetUpSession/Get_TLS_config_error_--_invalid_token (0.01s) +2024/07/29 22:41:48 Client: connected to: [::]:38089 +2024/07/29 22:41:48 Client: set up bidirectional streaming RPC session. +2024/07/29 22:41:48 Client: sent SessionReq +2024/07/29 22:41:48 Client: received SessionResp +2024/07/29 22:41:48 resp matches tc.expectedResponse +2024/07/29 22:41:48 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +--- PASS: TestSetUpSession (0.26s) + --- PASS: TestSetUpSession/Get_TLS_config_for_client. (0.07s) + --- PASS: TestSetUpSession/Get_TLS_config_for_server. (0.05s) + --- PASS: TestSetUpSession/Get_TLS_config_error_--_invalid_connection_side (0.03s) + --- PASS: TestSetUpSession/Get_TLS_config_error_--_invalid_token (0.02s) --- PASS: TestSetUpSession/Get_server_TLS_config_--_empty_authmechanisms_(S2A_ACCESS_TOKEN_env_var_not_set) (0.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/Client_Peer_Verification (0.02s) + --- PASS: TestSetUpSession/Client_Peer_Verification_--_failure (0.03s) + --- PASS: TestSetUpSession/Server_Peer_Verification (0.02s) === RUN TestSetUpSessionPrivateKeyOperation -2024/07/29 22:24:20 Server: started gRPC Fake S2Av2 Server on address: [::]:35991 +2024/07/29 22:41:48 Server: started gRPC Fake S2Av2 Server on address: [::]:45905 === RUN TestSetUpSessionPrivateKeyOperation/client_side_private_key_operation -2024/07/29 22:24:20 Client: connected to: [::]:35991 -2024/07/29 22:24:20 Client: set up bidirectional streaming RPC session. -2024/07/29 22:24:20 Client: sent SessionReq -2024/07/29 22:24:20 Client: received SessionResp -2024/07/29 22:24:20 resp matches tc.expectedResponse +2024/07/29 22:41:49 Client: connected to: [::]:45905 +2024/07/29 22:41:49 Client: set up bidirectional streaming RPC session. +2024/07/29 22:41:49 Client: sent SessionReq +2024/07/29 22:41:49 Client: received SessionResp +2024/07/29 22:41:49 resp matches tc.expectedResponse +2024/07/29 22:41:49 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled === RUN TestSetUpSessionPrivateKeyOperation/server_side_private_key_operation -2024/07/29 22:24:20 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2024/07/29 22:24:20 Client: connected to: [::]:35991 -2024/07/29 22:24:20 Client: set up bidirectional streaming RPC session. -2024/07/29 22:24:20 Client: sent SessionReq -2024/07/29 22:24:20 Client: received SessionResp -2024/07/29 22:24:20 resp matches tc.expectedResponse +2024/07/29 22:41:49 Client: connected to: [::]:45905 +2024/07/29 22:41:49 Client: set up bidirectional streaming RPC session. +2024/07/29 22:41:49 Client: sent SessionReq +2024/07/29 22:41:50 Client: received SessionResp +2024/07/29 22:41:50 resp matches tc.expectedResponse === RUN TestSetUpSessionPrivateKeyOperation/client_side_private_key_operation_--_invalid_signature_algorithm -2024/07/29 22:24:20 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2024/07/29 22:24:20 Client: connected to: [::]:35991 -2024/07/29 22:24:20 Client: set up bidirectional streaming RPC session. -2024/07/29 22:24:20 Client: sent SessionReq -2024/07/29 22:24:20 Client: received SessionResp -2024/07/29 22:24:20 resp matches tc.expectedResponse -2024/07/29 22:24:20 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled ---- PASS: TestSetUpSessionPrivateKeyOperation (0.46s) - --- PASS: TestSetUpSessionPrivateKeyOperation/client_side_private_key_operation (0.14s) - --- PASS: TestSetUpSessionPrivateKeyOperation/server_side_private_key_operation (0.13s) - --- PASS: TestSetUpSessionPrivateKeyOperation/client_side_private_key_operation_--_invalid_signature_algorithm (0.02s) +2024/07/29 22:41:50 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2024/07/29 22:41:50 Client: connected to: [::]:45905 +2024/07/29 22:41:50 Client: set up bidirectional streaming RPC session. +2024/07/29 22:41:50 Client: sent SessionReq +2024/07/29 22:41:50 Client: received SessionResp +2024/07/29 22:41:50 resp matches tc.expectedResponse +2024/07/29 22:41:50 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +--- PASS: TestSetUpSessionPrivateKeyOperation (1.75s) + --- PASS: TestSetUpSessionPrivateKeyOperation/client_side_private_key_operation (0.37s) + --- PASS: TestSetUpSessionPrivateKeyOperation/server_side_private_key_operation (0.61s) + --- PASS: TestSetUpSessionPrivateKeyOperation/client_side_private_key_operation_--_invalid_signature_algorithm (0.03s) PASS -ok github.com/google/s2a-go/internal/v2/fakes2av2 0.640s +ok github.com/google/s2a-go/internal/v2/fakes2av2 2.159s === RUN TestSign -2024/07/29 22:24:25 Server: started gRPC fake S2Av2 Server on address: [::]:34527 +2024/07/29 22:41:58 Server: started gRPC fake S2Av2 Server on address: [::]:41931 === RUN TestSign/Sign_with_client_key -2024/07/29 22:24:25 Client: connected to: [::]:34527 -2024/07/29 22:24:25 Client: set up bidirectional streaming RPC session. +2024/07/29 22:41:58 Client: connected to: [::]:41931 +2024/07/29 22:41:58 Client: set up bidirectional streaming RPC session. === RUN TestSign/Sign_with_server_key -2024/07/29 22:24:26 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2024/07/29 22:24:26 Client: connected to: [::]:34527 -2024/07/29 22:24:26 Client: set up bidirectional streaming RPC session. -2024/07/29 22:24:26 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled ---- PASS: TestSign (0.67s) - --- PASS: TestSign/Sign_with_client_key (0.29s) - --- PASS: TestSign/Sign_with_server_key (0.38s) +2024/07/29 22:41:59 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2024/07/29 22:41:59 Client: connected to: [::]:41931 +2024/07/29 22:41:59 Client: set up bidirectional streaming RPC session. +--- PASS: TestSign (1.17s) + --- PASS: TestSign/Sign_with_client_key (0.62s) + --- PASS: TestSign/Sign_with_server_key (0.49s) === RUN TestNew --- PASS: TestNew (0.00s) === RUN TestGetSignatureAlgorithm @@ -2622,6 +2656,7 @@ === RUN TestGetSignatureAlgorithm/DSA === RUN TestGetSignatureAlgorithm/Unknown_public_key_algorithm === RUN TestGetSignatureAlgorithm/No_public_key_algorithm +2024/07/29 22:41:59 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled --- PASS: TestGetSignatureAlgorithm (0.00s) --- PASS: TestGetSignatureAlgorithm/Leaf_certificate_is_nil (0.00s) --- PASS: TestGetSignatureAlgorithm/Signer_options_are_nil (0.00s) @@ -2653,7 +2688,7 @@ === RUN TestGetSignReq/RSA_PSS_SHA512 === RUN TestGetSignReq/ECDSA_SHA512 === RUN TestGetSignReq/ED25519 ---- PASS: TestGetSignReq (0.02s) +--- PASS: TestGetSignReq (0.01s) --- PASS: TestGetSignReq/Unspecified (0.00s) --- PASS: TestGetSignReq/RSA_PKCS1_SHA256 (0.00s) --- PASS: TestGetSignReq/RSA_PSS_SHA256 (0.00s) @@ -2666,40 +2701,40 @@ --- PASS: TestGetSignReq/ECDSA_SHA512 (0.00s) --- PASS: TestGetSignReq/ED25519 (0.00s) PASS -ok github.com/google/s2a-go/internal/v2/remotesigner 0.748s +ok github.com/google/s2a-go/internal/v2/remotesigner 1.488s ? github.com/google/s2a-go/stream [no test files] === RUN TestTLSConfigStoreClient -2024/07/29 22:24:27 Server: started gRPC fake S2Av2 Server on address: [::]:43969 +2024/07/29 22:42:04 Server: started gRPC fake S2Av2 Server on address: [::]:35677 === RUN TestTLSConfigStoreClient/static_-_nil_tokenManager -2024/07/29 22:24:27 Client: connected to: [::]:43969 -2024/07/29 22:24:27 Client: set up bidirectional streaming RPC session. +2024/07/29 22:42:04 Client: connected to: [::]:35677 +2024/07/29 22:42:04 Client: set up bidirectional streaming RPC session. === RUN TestTLSConfigStoreClient/static_-_non-nil_tokenManager -2024/07/29 22:24:27 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2024/07/29 22:24:27 Client: connected to: [::]:43969 -2024/07/29 22:24:27 Client: set up bidirectional streaming RPC session. -2024/07/29 22:24:27 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) +2024/07/29 22:42:04 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2024/07/29 22:42:04 Client: connected to: [::]:35677 +2024/07/29 22:42:04 Client: set up bidirectional streaming RPC session. +--- PASS: TestTLSConfigStoreClient (0.05s) + --- PASS: TestTLSConfigStoreClient/static_-_nil_tokenManager (0.03s) --- PASS: TestTLSConfigStoreClient/static_-_non-nil_tokenManager (0.01s) === RUN TestTLSConfigStoreClientWithoutCredentials -2024/07/29 22:24:27 Server: started gRPC fake S2Av2 Server on address: [::]:46125 -2024/07/29 22:24:27 Client: connected to: [::]:46125 -2024/07/29 22:24:27 Client: set up bidirectional streaming RPC session. +2024/07/29 22:42:04 Server: started gRPC fake S2Av2 Server on address: [::]:37271 +2024/07/29 22:42:04 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2024/07/29 22:42:04 Client: connected to: [::]:37271 +2024/07/29 22:42:04 Client: set up bidirectional streaming RPC session. +2024/07/29 22:42:04 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled --- PASS: TestTLSConfigStoreClientWithoutCredentials (0.01s) === RUN TestTLSConfigStoreServer -2024/07/29 22:24:27 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled -2024/07/29 22:24:27 Server: started gRPC fake S2Av2 Server on address: [::]:33689 +2024/07/29 22:42:04 Server: started gRPC fake S2Av2 Server on address: [::]:36033 === RUN TestTLSConfigStoreServer/static_-_nil_tokenManager -2024/07/29 22:24:27 Client: connected to: [::]:33689 -2024/07/29 22:24:27 Client: set up bidirectional streaming RPC session. -2024/07/29 22:24:27 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2024/07/29 22:42:04 Client: connected to: [::]:36033 +2024/07/29 22:42:04 Client: set up bidirectional streaming RPC session. === RUN TestTLSConfigStoreServer/static_-_non-nil_tokenManager -2024/07/29 22:24:27 Client: connected to: [::]:33689 -2024/07/29 22:24:27 Client: set up bidirectional streaming RPC session. -2024/07/29 22:24:27 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.01s) +2024/07/29 22:42:04 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2024/07/29 22:42:04 Client: connected to: [::]:36033 +2024/07/29 22:42:04 Client: set up bidirectional streaming RPC session. +2024/07/29 22:42:04 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +--- PASS: TestTLSConfigStoreServer (0.07s) + --- PASS: TestTLSConfigStoreServer/static_-_nil_tokenManager (0.02s) + --- PASS: TestTLSConfigStoreServer/static_-_non-nil_tokenManager (0.03s) === RUN TestGetTLSMinMaxVersionsClient --- PASS: TestGetTLSMinMaxVersionsClient (0.00s) === RUN TestGetTLSMinMaxVersionsServer @@ -2708,34 +2743,34 @@ === RUN TestGetAuthMechanisms/fake_token_manager_is_nil === RUN TestGetAuthMechanisms/fake_token_manager_allows_empty_identity === RUN TestGetAuthMechanisms/fake_token_manager_does_not_allow_empty_identity ---- PASS: TestGetAuthMechanisms (0.00s) +--- PASS: TestGetAuthMechanisms (0.02s) --- PASS: TestGetAuthMechanisms/fake_token_manager_is_nil (0.00s) - --- PASS: TestGetAuthMechanisms/fake_token_manager_allows_empty_identity (0.00s) + --- PASS: TestGetAuthMechanisms/fake_token_manager_allows_empty_identity (0.02s) --- PASS: TestGetAuthMechanisms/fake_token_manager_does_not_allow_empty_identity (0.00s) === RUN TestGetServerConfigFromS2Av2 -2024/07/29 22:24:27 Server: started gRPC fake S2Av2 Server on address: [::]:39075 +2024/07/29 22:42:04 Server: started gRPC fake S2Av2 Server on address: [::]:35641 === RUN TestGetServerConfigFromS2Av2/empty_accessToken_and_empty_localIdentities -2024/07/29 22:24:27 Client: connected to: [::]:39075 -2024/07/29 22:24:27 Client: set up bidirectional streaming RPC session. -2024/07/29 22:24:27 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token +2024/07/29 22:42:04 Client: connected to: [::]:35641 +2024/07/29 22:42:04 Client: set up bidirectional streaming RPC session. +2024/07/29 22:42:04 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token === RUN TestGetServerConfigFromS2Av2/invalid_accessToken -2024/07/29 22:24:27 Client: connected to: [::]:39075 -2024/07/29 22:24:27 Client: set up bidirectional streaming RPC session. -2024/07/29 22:24:27 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token +2024/07/29 22:42:04 Client: connected to: [::]:35641 +2024/07/29 22:42:04 Client: set up bidirectional streaming RPC session. +2024/07/29 22:42:04 Fake S2A Service: authentication error: SessionReq has no AuthenticationMechanism with a valid token === RUN TestGetServerConfigFromS2Av2/correct_accessToken_and_non_-_empty_localIdentities -2024/07/29 22:24:27 Client: connected to: [::]:39075 -2024/07/29 22:24:27 Client: set up bidirectional streaming RPC session. -2024/07/29 22:24:27 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) +2024/07/29 22:42:04 Client: connected to: [::]:35641 +2024/07/29 22:42:04 Client: set up bidirectional streaming RPC session. +--- PASS: TestGetServerConfigFromS2Av2 (0.06s) + --- PASS: TestGetServerConfigFromS2Av2/empty_accessToken_and_empty_localIdentities (0.02s) + --- PASS: TestGetServerConfigFromS2Av2/invalid_accessToken (0.02s) + --- PASS: TestGetServerConfigFromS2Av2/correct_accessToken_and_non_-_empty_localIdentities (0.02s) === RUN TestGetClientConfig -2024/07/29 22:24:27 Server: started gRPC fake S2Av2 Server on address: [::]:43117 +2024/07/29 22:42:04 Server: started gRPC fake S2Av2 Server on address: [::]:44409 === RUN TestGetClientConfig/static -2024/07/29 22:24:27 Client: connected to: [::]:43117 -2024/07/29 22:24:27 Client: set up bidirectional streaming RPC session. -2024/07/29 22:24:27 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2024/07/29 22:42:04 Fake S2A Service: failed to receive SessionReq: rpc error: code = Canceled desc = context canceled +2024/07/29 22:42:04 Client: connected to: [::]:44409 +2024/07/29 22:42:04 Client: set up bidirectional streaming RPC session. +2024/07/29 22:42:04 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 @@ -2774,14 +2809,14 @@ === RUN TestGetCipherSuites/non_-_empty_input_array_of_size_2 === RUN TestGetCipherSuites/unspecified_array_of_size_1 === RUN TestGetCipherSuites/unspecified_array_of_size_2 ---- PASS: TestGetCipherSuites (0.00s) +--- PASS: TestGetCipherSuites (0.02s) --- PASS: TestGetCipherSuites/empty_input (0.00s) --- PASS: TestGetCipherSuites/non_-_empty_input_array_of_size_1 (0.00s) --- PASS: TestGetCipherSuites/non_-_empty_input_array_of_size_2 (0.00s) --- 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.163s +ok github.com/google/s2a-go/internal/v2/tlsconfigstore 0.331s === RUN TestS2ARetryer === RUN TestS2ARetryer/retry_on_err === RUN TestS2ARetryer/don't_retry_if_err_is_nil @@ -2793,9 +2828,9 @@ === RUN TestDefaultBackoff --- PASS: TestDefaultBackoff (0.00s) === RUN TestSuccessAfterRetry ---- PASS: TestSuccessAfterRetry (0.05s) +--- PASS: TestSuccessAfterRetry (0.09s) PASS -ok github.com/google/s2a-go/retry 0.072s +ok github.com/google/s2a-go/retry 0.203s create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang dh_prep -O--builddirectory=_build -O--buildsystem=golang @@ -2824,12 +2859,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/16707/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/16707/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/11388 and its subdirectories -I: Current time: Mon Jul 29 10:25:15 -12 2024 -I: pbuilder-time-stamp: 1722291915 +I: removing directory /srv/workspace/pbuilder/16707 and its subdirectories +I: Current time: Tue Jul 30 12:43:45 +14 2024 +I: pbuilder-time-stamp: 1722293025