Diff of the two buildlogs: -- --- b1/build.log 2025-01-20 06:14:37.110087430 +0000 +++ b2/build.log 2025-01-20 06:28:08.465496491 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Jan 19 18:09:03 -12 2025 -I: pbuilder-time-stamp: 1737353343 +I: Current time: Mon Jan 20 20:14:50 +14 2025 +I: pbuilder-time-stamp: 1737353690 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -22,52 +22,84 @@ dpkg-source: info: unpacking golang-github-spiffe-go-spiffe_2.4.0-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/17265/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/10291/tmp/hooks/D01_modify_environment starting +debug: Running on wbq0. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jan 20 06:15 /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/10291/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/10291/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='trixie' - HOME='/root' - HOST_ARCH='armhf' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='b95eafd3e045426491d5ba003200a56e' - 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='17265' - PS1='# ' - PS2='> ' + INVOCATION_ID=3c9ae395974741b6b8fbeaf6d98aaf64 + 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=10291 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.ntIKaf1V/pbuilderrc_7hol --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.ntIKaf1V/b1 --logfile b1/build.log golang-github-spiffe-go-spiffe_2.4.0-1.dsc' - SUDO_GID='113' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.ntIKaf1V/pbuilderrc_bauO --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.ntIKaf1V/b2 --logfile b2/build.log golang-github-spiffe-go-spiffe_2.4.0-1.dsc' + SUDO_GID=113 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux virt64c 6.1.0-30-arm64 #1 SMP Debian 6.1.124-1 (2025-01-12) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-30-armmp #1 SMP Debian 6.1.124-1 (2025-01-12) armv7l GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/17265/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/10291/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -206,7 +238,7 @@ Get: 83 http://deb.debian.org/debian trixie/main armhf protobuf-compiler armhf 3.21.12-10+b3 [84.8 kB] Get: 84 http://deb.debian.org/debian trixie/main armhf protoc-gen-go-1-3 armhf 1.3.5-4+b10 [1007 kB] Get: 85 http://deb.debian.org/debian trixie/main armhf protoc-gen-go-grpc armhf 1.64.0-6+b1 [1202 kB] -Fetched 92.6 MB in 12s (7761 kB/s) +Fetched 92.6 MB in 10s (9378 kB/s) Preconfiguring packages ... Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19569 files and directories currently installed.) @@ -561,7 +593,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/golang-github-spiffe-go-spiffe-2.4.0/ && 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-spiffe-go-spiffe_2.4.0-1_source.changes +I: user script /srv/workspace/pbuilder/10291/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/10291/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/golang-github-spiffe-go-spiffe-2.4.0/ && 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-spiffe-go-spiffe_2.4.0-1_source.changes dpkg-buildpackage: info: source package golang-github-spiffe-go-spiffe dpkg-buildpackage: info: source version 2.4.0-1 dpkg-buildpackage: info: source distribution unstable @@ -590,17 +626,17 @@ make[1]: Leaving directory '/build/reproducible-path/golang-github-spiffe-go-spiffe-2.4.0' dh_auto_configure -O--builddirectory=_build -O--buildsystem=golang dh_auto_build -O--builddirectory=_build -O--buildsystem=golang - cd _build && go install -trimpath -v -p 3 github.com/spiffe/go-spiffe/v2/bundle/jwtbundle github.com/spiffe/go-spiffe/v2/bundle/spiffebundle github.com/spiffe/go-spiffe/v2/bundle/x509bundle github.com/spiffe/go-spiffe/v2/federation github.com/spiffe/go-spiffe/v2/internal/cryptoutil github.com/spiffe/go-spiffe/v2/internal/jwtutil github.com/spiffe/go-spiffe/v2/internal/pemutil github.com/spiffe/go-spiffe/v2/internal/test github.com/spiffe/go-spiffe/v2/internal/test/errstrings github.com/spiffe/go-spiffe/v2/internal/test/fakebundleendpoint github.com/spiffe/go-spiffe/v2/internal/test/fakeworkloadapi github.com/spiffe/go-spiffe/v2/internal/x509util github.com/spiffe/go-spiffe/v2/logger github.com/spiffe/go-spiffe/v2/proto/spiffe/workload github.com/spiffe/go-spiffe/v2/spiffegrpc/grpccredentials github.com/spiffe/go-spiffe/v2/spiffeid github.com/spiffe/go-spiffe/v2/spiffetls github.com/spiffe/go-spiffe/v2/spiffetls/tlsconfig github.com/spiffe/go-spiffe/v2/svid/jwtsvid github.com/spiffe/go-spiffe/v2/svid/x509svid github.com/spiffe/go-spiffe/v2/workloadapi + cd _build && go install -trimpath -v -p 4 github.com/spiffe/go-spiffe/v2/bundle/jwtbundle github.com/spiffe/go-spiffe/v2/bundle/spiffebundle github.com/spiffe/go-spiffe/v2/bundle/x509bundle github.com/spiffe/go-spiffe/v2/federation github.com/spiffe/go-spiffe/v2/internal/cryptoutil github.com/spiffe/go-spiffe/v2/internal/jwtutil github.com/spiffe/go-spiffe/v2/internal/pemutil github.com/spiffe/go-spiffe/v2/internal/test github.com/spiffe/go-spiffe/v2/internal/test/errstrings github.com/spiffe/go-spiffe/v2/internal/test/fakebundleendpoint github.com/spiffe/go-spiffe/v2/internal/test/fakeworkloadapi github.com/spiffe/go-spiffe/v2/internal/x509util github.com/spiffe/go-spiffe/v2/logger github.com/spiffe/go-spiffe/v2/proto/spiffe/workload github.com/spiffe/go-spiffe/v2/spiffegrpc/grpccredentials github.com/spiffe/go-spiffe/v2/spiffeid github.com/spiffe/go-spiffe/v2/spiffetls github.com/spiffe/go-spiffe/v2/spiffetls/tlsconfig github.com/spiffe/go-spiffe/v2/svid/jwtsvid github.com/spiffe/go-spiffe/v2/svid/x509svid github.com/spiffe/go-spiffe/v2/workloadapi internal/unsafeheader internal/goarch -internal/cpu internal/byteorder +internal/coverage/rtcov +internal/cpu internal/abi internal/chacha8rand -internal/bytealg -internal/coverage/rtcov internal/godebugs internal/goexperiment +internal/bytealg internal/goos internal/profilerecord internal/runtime/atomic @@ -609,12 +645,11 @@ runtime/internal/math runtime/internal/sys internal/race -internal/runtime/exithook sync/atomic math/bits -math +internal/runtime/exithook unicode/utf8 -runtime +math unicode cmp encoding @@ -632,248 +667,241 @@ github.com/spiffe/go-spiffe/v2/internal/test/errstrings google.golang.org/protobuf/internal/flags google.golang.org/protobuf/internal/set +runtime google.golang.org/grpc/serviceconfig iter internal/reflectlite +crypto/subtle sync slices -crypto/subtle internal/weak maps +internal/singleflight internal/testlog internal/bisect +google.golang.org/protobuf/internal/pragma +runtime/cgo errors sort io +internal/oserror strconv hash -bytes -internal/oserror path +bytes internal/godebug -crypto -reflect syscall strings +crypto +reflect bufio crypto/cipher crypto/internal/boring crypto/aes +crypto/internal/edwards25519/field time internal/syscall/unix internal/syscall/execenv -crypto/internal/edwards25519/field crypto/internal/nistec/fiat -encoding/binary -internal/fmtsort -io/fs -encoding/base64 -internal/poll -internal/filepathlite crypto/internal/randutil math/rand -os crypto/sha512 crypto/internal/edwards25519 -crypto/internal/nistec crypto/hmac +io/fs +internal/poll +encoding/binary +internal/fmtsort +internal/filepathlite crypto/sha1 +os +encoding/base64 crypto/sha256 -fmt crypto/des crypto/md5 encoding/pem -crypto/ecdh context vendor/golang.org/x/net/dns/dnsmessage -internal/singleflight -encoding/json -compress/flate -math/big -encoding/hex math/rand/v2 +crypto/internal/nistec internal/concurrent unique -runtime/cgo +fmt net/netip -crypto/elliptic -crypto/internal/bigmod -crypto/internal/boring/bbig -encoding/asn1 -crypto/rand -crypto/ed25519 -crypto/rsa -crypto/dsa -vendor/golang.org/x/crypto/cryptobyte -crypto/x509/pkix -net/url -crypto/ecdsa path/filepath -github.com/go-jose/go-jose/cipher -github.com/go-jose/go-jose/json +crypto/ecdh golang.org/x/crypto/pbkdf2 -github.com/spiffe/go-spiffe/v2/internal/cryptoutil -github.com/spiffe/go-spiffe/v2/internal/jwtutil -github.com/spiffe/go-spiffe/v2/spiffeid -github.com/zeebo/errs vendor/golang.org/x/crypto/chacha20 vendor/golang.org/x/crypto/internal/poly1305 -vendor/golang.org/x/crypto/chacha20poly1305 vendor/golang.org/x/crypto/hkdf vendor/golang.org/x/sys/cpu -crypto/internal/hpke -net +vendor/golang.org/x/crypto/chacha20poly1305 crypto/rc4 +hash/crc32 vendor/golang.org/x/crypto/sha3 +vendor/golang.org/x/text/transform +net +net/http/internal/ascii +regexp/syntax +encoding/json +compress/flate +math/big +encoding/hex +net/url +github.com/go-jose/go-jose/json +github.com/spiffe/go-spiffe/v2/spiffeid +github.com/zeebo/errs log -crypto/internal/mlkem768 github.com/spiffe/go-spiffe/v2/logger -hash/crc32 compress/gzip -vendor/golang.org/x/text/transform +crypto/elliptic +crypto/internal/bigmod +crypto/internal/boring/bbig +encoding/asn1 +crypto/rand +crypto/dsa +crypto/ed25519 +crypto/rsa +crypto/internal/hpke +crypto/internal/mlkem768 vendor/golang.org/x/text/unicode/bidi +vendor/golang.org/x/crypto/cryptobyte +crypto/x509/pkix vendor/golang.org/x/text/unicode/norm +crypto/ecdsa vendor/golang.org/x/text/secure/bidirule vendor/golang.org/x/net/http2/hpack -vendor/golang.org/x/net/idna +github.com/go-jose/go-jose/cipher +github.com/spiffe/go-spiffe/v2/internal/cryptoutil +github.com/spiffe/go-spiffe/v2/internal/jwtutil mime mime/quotedprintable net/http/internal -net/http/internal/ascii -regexp/syntax +regexp github.com/pmezard/go-difflib/difflib +vendor/golang.org/x/net/idna flag +github.com/davecgh/go-spew/spew +gopkg.in/yaml.v3 net/http/internal/testcert runtime/debug -regexp internal/sysinfo runtime/trace -testing -github.com/davecgh/go-spew/spew -gopkg.in/yaml.v3 hash/fnv google.golang.org/protobuf/internal/detrand google.golang.org/protobuf/internal/errors +testing google.golang.org/protobuf/encoding/protowire -google.golang.org/protobuf/internal/pragma google.golang.org/protobuf/reflect/protoreflect crypto/x509 net/textproto -vendor/golang.org/x/net/http/httpproxy -github.com/go-jose/go-jose vendor/golang.org/x/net/http/httpguts +vendor/golang.org/x/net/http/httpproxy mime/multipart -github.com/spiffe/go-spiffe/v2/internal/pemutil -github.com/spiffe/go-spiffe/v2/internal/x509util -github.com/spiffe/go-spiffe/v2/bundle/x509bundle -crypto/tls -github.com/spiffe/go-spiffe/v2/svid/x509svid google.golang.org/protobuf/internal/encoding/messageset go/token -google.golang.org/protobuf/internal/strs -google.golang.org/protobuf/internal/encoding/text -github.com/spiffe/go-spiffe/v2/bundle/jwtbundle -github.com/spiffe/go-spiffe/v2/bundle/spiffebundle -github.com/go-jose/go-jose/cryptosigner -github.com/go-jose/go-jose/jwt google.golang.org/protobuf/internal/genid google.golang.org/protobuf/internal/order -github.com/spiffe/go-spiffe/v2/svid/jwtsvid google.golang.org/protobuf/reflect/protoregistry +google.golang.org/protobuf/internal/strs google.golang.org/protobuf/runtime/protoiface embed +google.golang.org/protobuf/internal/encoding/text google.golang.org/protobuf/internal/editiondefaults +google.golang.org/protobuf/internal/descfmt google.golang.org/protobuf/proto +github.com/go-jose/go-jose +github.com/spiffe/go-spiffe/v2/internal/pemutil +github.com/spiffe/go-spiffe/v2/internal/x509util +github.com/spiffe/go-spiffe/v2/bundle/x509bundle +crypto/tls +github.com/spiffe/go-spiffe/v2/svid/x509svid +google.golang.org/protobuf/encoding/prototext google.golang.org/protobuf/internal/encoding/defval -google.golang.org/protobuf/internal/descfmt google.golang.org/protobuf/internal/descopts +google.golang.org/protobuf/internal/filedesc io/ioutil google.golang.org/protobuf/internal/version +github.com/spiffe/go-spiffe/v2/bundle/jwtbundle +github.com/go-jose/go-jose/cryptosigner +github.com/spiffe/go-spiffe/v2/bundle/spiffebundle +github.com/go-jose/go-jose/jwt golang.org/x/net/internal/timeseries -google.golang.org/protobuf/encoding/prototext -google.golang.org/protobuf/internal/filedesc +github.com/spiffe/go-spiffe/v2/svid/jwtsvid html text/template/parse +text/tabwriter +google.golang.org/grpc/backoff google.golang.org/protobuf/internal/encoding/tag -github.com/spiffe/go-spiffe/v2/spiffetls/tlsconfig -net/http/httptrace +golang.org/x/sys/unix google.golang.org/protobuf/internal/impl -net/http text/template html/template -text/tabwriter -google.golang.org/grpc/backoff -golang.org/x/sys/unix -google.golang.org/protobuf/internal/filetype -google.golang.org/protobuf/runtime/protoimpl -google.golang.org/protobuf/types/descriptorpb +github.com/spiffe/go-spiffe/v2/spiffetls/tlsconfig +net/http/httptrace +net/http google.golang.org/grpc/internal/grpclog google.golang.org/grpc/grpclog -google.golang.org/protobuf/types/gofeaturespb google.golang.org/grpc/connectivity google.golang.org/grpc/attributes google.golang.org/grpc/internal/credentials -google.golang.org/protobuf/reflect/protodesc -github.com/spiffe/go-spiffe/v2/federation -net/http/httptest -golang.org/x/net/trace -github.com/stretchr/testify/assert -github.com/golang/protobuf/proto -google.golang.org/grpc/credentials google.golang.org/grpc/internal -google.golang.org/grpc/internal/channelz +google.golang.org/grpc/credentials google.golang.org/grpc/metadata -google.golang.org/grpc/channelz +google.golang.org/grpc/internal/channelz google.golang.org/grpc/resolver google.golang.org/grpc/internal/grpcrand google.golang.org/grpc/codes -github.com/stretchr/testify/require google.golang.org/grpc/credentials/insecure google.golang.org/grpc/internal/grpcutil -google.golang.org/grpc/balancer google.golang.org/grpc/encoding -google.golang.org/protobuf/protoadapt -google.golang.org/grpc/balancer/base -google.golang.org/grpc/encoding/proto -google.golang.org/grpc/balancer/roundrobin google.golang.org/grpc/internal/backoff -google.golang.org/grpc/internal/balancer/gracefulswitch +google.golang.org/grpc/channelz google.golang.org/grpc/internal/balancerload -google.golang.org/protobuf/types/known/durationpb -google.golang.org/protobuf/types/known/timestamppb -github.com/spiffe/go-spiffe/v2/internal/test -github.com/golang/protobuf/ptypes/duration -github.com/golang/protobuf/ptypes/timestamp -google.golang.org/protobuf/types/known/anypb -google.golang.org/grpc/binarylog/grpc_binarylog_v1 -github.com/spiffe/go-spiffe/v2/internal/test/fakebundleendpoint -google.golang.org/genproto/googleapis/rpc/status -google.golang.org/grpc/internal/status +google.golang.org/grpc/balancer google.golang.org/grpc/internal/buffer -google.golang.org/grpc/internal/idle google.golang.org/grpc/internal/grpcsync -google.golang.org/grpc/status +google.golang.org/grpc/balancer/base +google.golang.org/grpc/internal/idle google.golang.org/grpc/internal/metadata +google.golang.org/grpc/balancer/roundrobin +google.golang.org/grpc/internal/balancer/gracefulswitch google.golang.org/protobuf/internal/encoding/json google.golang.org/grpc/internal/serviceconfig -google.golang.org/grpc/internal/binarylog google.golang.org/grpc/internal/resolver google.golang.org/grpc/internal/resolver/passthrough +google.golang.org/protobuf/internal/filetype google.golang.org/protobuf/encoding/protojson google.golang.org/grpc/internal/transport/networktype google.golang.org/grpc/internal/resolver/unix golang.org/x/text/transform +google.golang.org/protobuf/runtime/protoimpl golang.org/x/text/unicode/bidi -golang.org/x/text/unicode/norm +google.golang.org/protobuf/types/descriptorpb +google.golang.org/protobuf/protoadapt +google.golang.org/grpc/encoding/proto +google.golang.org/protobuf/types/known/durationpb +google.golang.org/protobuf/types/known/timestamppb +github.com/golang/protobuf/ptypes/timestamp +github.com/golang/protobuf/ptypes/duration +google.golang.org/protobuf/types/known/anypb +google.golang.org/grpc/binarylog/grpc_binarylog_v1 +google.golang.org/genproto/googleapis/rpc/status +google.golang.org/grpc/internal/status +google.golang.org/grpc/internal/pretty +google.golang.org/protobuf/types/gofeaturespb golang.org/x/text/secure/bidirule +google.golang.org/grpc/status +golang.org/x/text/unicode/norm +google.golang.org/protobuf/reflect/protodesc +google.golang.org/grpc/internal/binarylog golang.org/x/net/http2/hpack -google.golang.org/grpc/internal/pretty google.golang.org/grpc/internal/syscall google.golang.org/grpc/keepalive +github.com/golang/protobuf/proto google.golang.org/grpc/peer google.golang.org/grpc/stats google.golang.org/grpc/tap -net/http/httputil google.golang.org/grpc/balancer/grpclb/state google.golang.org/grpc/internal/envconfig google.golang.org/grpc/internal/resolver/dns/internal @@ -882,8 +910,16 @@ google.golang.org/grpc/resolver/dns google.golang.org/protobuf/types/known/structpb github.com/spiffe/go-spiffe/v2/spiffegrpc/grpccredentials +github.com/spiffe/go-spiffe/v2/federation +net/http/httptest +golang.org/x/net/trace golang.org/x/net/http/httpguts +net/http/httputil golang.org/x/net/http2 +github.com/stretchr/testify/assert +github.com/stretchr/testify/require +github.com/spiffe/go-spiffe/v2/internal/test +github.com/spiffe/go-spiffe/v2/internal/test/fakebundleendpoint google.golang.org/grpc/internal/transport google.golang.org/grpc github.com/spiffe/go-spiffe/v2/proto/spiffe/workload @@ -897,7 +933,7 @@ rm -fv _build/src/github.com/spiffe/go-spiffe/v2/workloadapi/client_test.go removed '_build/src/github.com/spiffe/go-spiffe/v2/workloadapi/client_test.go' dh_auto_test - cd _build && go test -vet=off -v -p 3 github.com/spiffe/go-spiffe/v2/bundle/jwtbundle github.com/spiffe/go-spiffe/v2/bundle/spiffebundle github.com/spiffe/go-spiffe/v2/bundle/x509bundle github.com/spiffe/go-spiffe/v2/federation github.com/spiffe/go-spiffe/v2/internal/cryptoutil github.com/spiffe/go-spiffe/v2/internal/jwtutil github.com/spiffe/go-spiffe/v2/internal/pemutil github.com/spiffe/go-spiffe/v2/internal/test github.com/spiffe/go-spiffe/v2/internal/test/errstrings github.com/spiffe/go-spiffe/v2/internal/test/fakebundleendpoint github.com/spiffe/go-spiffe/v2/internal/test/fakeworkloadapi github.com/spiffe/go-spiffe/v2/internal/x509util github.com/spiffe/go-spiffe/v2/logger github.com/spiffe/go-spiffe/v2/proto/spiffe/workload github.com/spiffe/go-spiffe/v2/spiffegrpc/grpccredentials github.com/spiffe/go-spiffe/v2/spiffeid github.com/spiffe/go-spiffe/v2/spiffetls github.com/spiffe/go-spiffe/v2/spiffetls/tlsconfig github.com/spiffe/go-spiffe/v2/svid/jwtsvid github.com/spiffe/go-spiffe/v2/svid/x509svid github.com/spiffe/go-spiffe/v2/workloadapi + cd _build && go test -vet=off -v -p 4 github.com/spiffe/go-spiffe/v2/bundle/jwtbundle github.com/spiffe/go-spiffe/v2/bundle/spiffebundle github.com/spiffe/go-spiffe/v2/bundle/x509bundle github.com/spiffe/go-spiffe/v2/federation github.com/spiffe/go-spiffe/v2/internal/cryptoutil github.com/spiffe/go-spiffe/v2/internal/jwtutil github.com/spiffe/go-spiffe/v2/internal/pemutil github.com/spiffe/go-spiffe/v2/internal/test github.com/spiffe/go-spiffe/v2/internal/test/errstrings github.com/spiffe/go-spiffe/v2/internal/test/fakebundleendpoint github.com/spiffe/go-spiffe/v2/internal/test/fakeworkloadapi github.com/spiffe/go-spiffe/v2/internal/x509util github.com/spiffe/go-spiffe/v2/logger github.com/spiffe/go-spiffe/v2/proto/spiffe/workload github.com/spiffe/go-spiffe/v2/spiffegrpc/grpccredentials github.com/spiffe/go-spiffe/v2/spiffeid github.com/spiffe/go-spiffe/v2/spiffetls github.com/spiffe/go-spiffe/v2/spiffetls/tlsconfig github.com/spiffe/go-spiffe/v2/svid/jwtsvid github.com/spiffe/go-spiffe/v2/svid/x509svid github.com/spiffe/go-spiffe/v2/workloadapi === RUN TestNew --- PASS: TestNew (0.00s) === RUN TestFromJWTAuthorities @@ -909,9 +945,9 @@ === RUN TestLoad/testdata/jwks_missing_kid.json --- PASS: TestLoad (0.01s) --- PASS: TestLoad/testdata/jwks_valid_1.json (0.00s) - --- PASS: TestLoad/testdata/jwks_valid_2.json (0.01s) + --- PASS: TestLoad/testdata/jwks_valid_2.json (0.00s) --- PASS: TestLoad/testdata/does-not-exist.json (0.00s) - --- PASS: TestLoad/testdata/jwks_missing_kid.json (0.00s) + --- PASS: TestLoad/testdata/jwks_missing_kid.json (0.01s) === RUN TestRead === RUN TestRead/testdata/jwks_valid_1.json === RUN TestRead/testdata/jwks_valid_2.json @@ -946,7 +982,7 @@ === RUN TestEqual/JWT_authorities_equal === RUN TestEqual/JWT_authorities_empty_and_not_empty === RUN TestEqual/JWT_authorities_not_empty_but_not_equal ---- PASS: TestEqual (0.03s) +--- PASS: TestEqual (0.11s) --- PASS: TestEqual/empty_equal (0.00s) --- PASS: TestEqual/different_trust_domains (0.00s) --- PASS: TestEqual/JWT_authorities_equal (0.00s) @@ -965,7 +1001,7 @@ === RUN TestSetGetJWTBundleForTrustDomain --- PASS: TestSetGetJWTBundleForTrustDomain (0.00s) PASS -ok github.com/spiffe/go-spiffe/v2/bundle/jwtbundle 0.057s +ok github.com/spiffe/go-spiffe/v2/bundle/jwtbundle 0.169s === RUN TestNew --- PASS: TestNew (0.00s) === RUN TestLoad @@ -975,7 +1011,7 @@ === RUN TestLoad/testdata/spiffebundle_missing_kid.json === RUN TestLoad/testdata/spiffebundle_no_keys.json === RUN TestLoad/testdata/spiffebundle_multiple_x509.json ---- PASS: TestLoad (0.01s) +--- PASS: TestLoad (0.02s) --- PASS: TestLoad/testdata/does-not-exist.json (0.00s) --- PASS: TestLoad/testdata/spiffebundle_valid_1.json (0.00s) --- PASS: TestLoad/testdata/spiffebundle_valid_2.json (0.00s) @@ -989,7 +1025,7 @@ === RUN TestRead/testdata/spiffebundle_missing_kid.json === RUN TestRead/testdata/spiffebundle_no_keys.json === RUN TestRead/testdata/spiffebundle_multiple_x509.json ---- PASS: TestRead (0.00s) +--- PASS: TestRead (0.01s) --- PASS: TestRead/testdata/does-not-exist.json (0.00s) --- PASS: TestRead/testdata/spiffebundle_valid_1.json (0.00s) --- PASS: TestRead/testdata/spiffebundle_valid_2.json (0.00s) @@ -1003,7 +1039,7 @@ === RUN TestParse/testdata/spiffebundle_missing_kid.json === RUN TestParse/testdata/spiffebundle_no_keys.json === RUN TestParse/testdata/spiffebundle_multiple_x509.json ---- PASS: TestParse (0.00s) +--- PASS: TestParse (0.01s) --- PASS: TestParse/testdata/does-not-exist.json (0.00s) --- PASS: TestParse/testdata/spiffebundle_valid_1.json (0.00s) --- PASS: TestParse/testdata/spiffebundle_valid_2.json (0.00s) @@ -1029,7 +1065,7 @@ === RUN TestSequenceNumber --- PASS: TestSequenceNumber (0.00s) === RUN TestMarshal ---- PASS: TestMarshal (0.00s) +--- PASS: TestMarshal (0.01s) === RUN TestX509Bundle --- PASS: TestX509Bundle (0.00s) === RUN TestJWTBundle @@ -1055,7 +1091,7 @@ === RUN TestEqual/JWT_authorities_equal === RUN TestEqual/JWT_authorities_empty_and_not_empty === RUN TestEqual/JWT_authorities_not_empty_but_not_equal ---- PASS: TestEqual (0.04s) +--- PASS: TestEqual (0.11s) --- PASS: TestEqual/empty_equal (0.00s) --- PASS: TestEqual/different_trust_domains (0.00s) --- PASS: TestEqual/refresh_hint_equal (0.00s) @@ -1087,7 +1123,7 @@ === RUN TestSetGetJWTBundleForTrustDomain --- PASS: TestSetGetJWTBundleForTrustDomain (0.00s) PASS -ok github.com/spiffe/go-spiffe/v2/bundle/spiffebundle 0.073s +ok github.com/spiffe/go-spiffe/v2/bundle/spiffebundle 0.202s === RUN TestNew --- PASS: TestNew (0.00s) === RUN TestFromX509Authorities @@ -1134,7 +1170,7 @@ === RUN TestEqual/X509_authorities_equal === RUN TestEqual/X509_authorities_empty_and_not_empty === RUN TestEqual/X509_authorities_not_empty_but_not_equal ---- PASS: TestEqual (0.03s) +--- PASS: TestEqual (0.10s) --- PASS: TestEqual/empty_equal (0.00s) --- PASS: TestEqual/different_trust_domains (0.00s) --- PASS: TestEqual/X509_authorities_equal (0.00s) @@ -1153,7 +1189,7 @@ === RUN TestSetGetX509BundleForTrustDomain --- PASS: TestSetGetX509BundleForTrustDomain (0.00s) PASS -ok github.com/spiffe/go-spiffe/v2/bundle/x509bundle 0.054s +ok github.com/spiffe/go-spiffe/v2/bundle/x509bundle 0.162s ? github.com/spiffe/go-spiffe/v2/internal/cryptoutil [no test files] ? github.com/spiffe/go-spiffe/v2/internal/jwtutil [no test files] ? github.com/spiffe/go-spiffe/v2/internal/test [no test files] @@ -1164,12 +1200,12 @@ ? github.com/spiffe/go-spiffe/v2/proto/spiffe/workload [no test files] ? github.com/spiffe/go-spiffe/v2/spiffegrpc/grpccredentials [no test files] === RUN TestFetchBundle_WebPKIRoots ---- PASS: TestFetchBundle_WebPKIRoots (1.13s) +--- PASS: TestFetchBundle_WebPKIRoots (1.31s) === RUN TestFetchBundle_SPIFFEAuth ---- PASS: TestFetchBundle_SPIFFEAuth (1.15s) +--- PASS: TestFetchBundle_SPIFFEAuth (1.25s) === RUN TestFetchBundle_SPIFFEAuth_UnexpectedID -2025/01/20 06:14:01 http: TLS handshake error from 127.0.0.1:33670: remote error: tls: bad certificate ---- PASS: TestFetchBundle_SPIFFEAuth_UnexpectedID (0.09s) +2025/01/20 06:26:49 http: TLS handshake error from 127.0.0.1:36042: remote error: tls: bad certificate +--- PASS: TestFetchBundle_SPIFFEAuth_UnexpectedID (0.15s) === RUN TestFetchBundle_SPIFFEAuthAndWebPKIRoots --- PASS: TestFetchBundle_SPIFFEAuthAndWebPKIRoots (0.00s) === RUN TestFetchBundle_WebPKIRootsAndSPIFFEAuth @@ -1177,29 +1213,29 @@ === RUN TestFetchBundle_ErrorCreatingRequest --- PASS: TestFetchBundle_ErrorCreatingRequest (0.00s) === RUN TestFetchBundle_ErrorGettingBundle ---- PASS: TestFetchBundle_ErrorGettingBundle (0.02s) +--- PASS: TestFetchBundle_ErrorGettingBundle (0.05s) === RUN TestFetchBundle_ErrorReadingBundleBody ---- PASS: TestFetchBundle_ErrorReadingBundleBody (1.13s) +--- PASS: TestFetchBundle_ErrorReadingBundleBody (1.20s) === RUN TestHandler === RUN TestHandler/success_x509_bundle === RUN TestHandler/invalid_method === RUN TestHandler/bundle_not_found === RUN TestHandler/marshaling_error ---- PASS: TestHandler (0.01s) - --- PASS: TestHandler/success_x509_bundle (0.00s) +--- PASS: TestHandler (0.02s) + --- PASS: TestHandler/success_x509_bundle (0.01s) --- PASS: TestHandler/invalid_method (0.00s) --- PASS: TestHandler/bundle_not_found (0.00s) --- PASS: TestHandler/marshaling_error (0.00s) === RUN TestWatchBundle_OnUpdate ---- PASS: TestWatchBundle_OnUpdate (2.15s) +--- PASS: TestWatchBundle_OnUpdate (2.33s) === RUN TestWatchBundle_OnError --- PASS: TestWatchBundle_OnError (0.00s) === RUN TestWatchBundle_NilWatcher --- PASS: TestWatchBundle_NilWatcher (0.00s) === RUN TestWatchBundle_FetchBundleCanceled ---- PASS: TestWatchBundle_FetchBundleCanceled (0.02s) +--- PASS: TestWatchBundle_FetchBundleCanceled (0.06s) PASS -ok github.com/spiffe/go-spiffe/v2/federation 5.724s +ok github.com/spiffe/go-spiffe/v2/federation 6.426s === RUN TestEncodeCertificates --- PASS: TestEncodeCertificates (0.00s) === RUN TestEncodePKCSPrivateKey @@ -1225,7 +1261,7 @@ === RUN TestParsePrivateKey/with_filler === RUN TestParsePrivateKey/before_certificate === RUN TestParsePrivateKey/after_certificate ---- PASS: TestParsePrivateKey (0.01s) +--- PASS: TestParsePrivateKey (0.02s) --- PASS: TestParsePrivateKey/empty (0.00s) --- PASS: TestParsePrivateKey/only_filler (0.00s) --- PASS: TestParsePrivateKey/without_filler (0.00s) @@ -1233,13 +1269,13 @@ --- PASS: TestParsePrivateKey/before_certificate (0.00s) --- PASS: TestParsePrivateKey/after_certificate (0.00s) PASS -ok github.com/spiffe/go-spiffe/v2/internal/pemutil 0.031s +ok github.com/spiffe/go-spiffe/v2/internal/pemutil 0.112s === RUN TestStd --- PASS: TestStd (0.00s) === RUN TestWriter --- PASS: TestWriter (0.00s) PASS -ok github.com/spiffe/go-spiffe/v2/logger 0.010s +ok github.com/spiffe/go-spiffe/v2/logger 0.037s === RUN TestJoinPathSegments === RUN TestJoinPathSegments/empty === RUN TestJoinPathSegments/single_dot @@ -1784,7 +1820,7 @@ === RUN TestFromString/reject_empty_segments === RUN TestFromString/reject_dot_segments === RUN TestFromString/reject_percent_encoding ---- PASS: TestFromString (0.21s) +--- PASS: TestFromString (0.76s) --- PASS: TestFromString/reject_empty (0.00s) --- PASS: TestFromString/path_is_optional (0.00s) --- PASS: TestFromString/reject_bad_trustdomain_char_0 (0.00s) @@ -2143,7 +2179,7 @@ --- PASS: TestFromString/reject_bad_path_char_B1 (0.00s) --- PASS: TestFromString/reject_bad_trustdomain_char_B2 (0.00s) --- PASS: TestFromString/reject_bad_path_char_B2 (0.00s) - --- PASS: TestFromString/reject_bad_trustdomain_char_B3 (0.00s) + --- PASS: TestFromString/reject_bad_trustdomain_char_B3 (0.01s) --- PASS: TestFromString/reject_bad_path_char_B3 (0.00s) --- PASS: TestFromString/reject_bad_trustdomain_char_B4 (0.00s) --- PASS: TestFromString/reject_bad_path_char_B4 (0.00s) @@ -2298,10 +2334,10 @@ --- PASS: TestFromString/reject_bad_trustdomain_char_FF (0.00s) --- PASS: TestFromString/reject_bad_path_char_FF (0.00s) --- PASS: TestFromString/reject_bad_scheme (0.00s) - --- PASS: TestFromString/reject_missing_trust_domain (0.00s) - --- PASS: TestFromString/reject_empty_segments (0.00s) - --- PASS: TestFromString/reject_dot_segments (0.00s) - --- PASS: TestFromString/reject_percent_encoding (0.00s) + --- PASS: TestFromString/reject_missing_trust_domain (0.01s) + --- PASS: TestFromString/reject_empty_segments (0.01s) + --- PASS: TestFromString/reject_dot_segments (0.02s) + --- PASS: TestFromString/reject_percent_encoding (0.01s) === RUN TestFromURI --- PASS: TestFromURI (0.00s) === RUN TestFromSegments @@ -2331,7 +2367,7 @@ === RUN TestIDTextMarshaler --- PASS: TestIDTextMarshaler (0.00s) === RUN TestIDTextUnmarshaler ---- PASS: TestIDTextUnmarshaler (0.00s) +--- PASS: TestIDTextUnmarshaler (0.01s) === RUN TestMatchAny --- PASS: TestMatchAny (0.00s) === RUN TestMatchID_AgainstIDWithPath @@ -2627,11 +2663,11 @@ === RUN TestTrustDomainFromString/reject_bad_trustdomain_char_FD === RUN TestTrustDomainFromString/reject_bad_trustdomain_char_FE === RUN TestTrustDomainFromString/reject_bad_trustdomain_char_FF ---- PASS: TestTrustDomainFromString (0.09s) +--- PASS: TestTrustDomainFromString (0.33s) --- PASS: TestTrustDomainFromString/reject_empty (0.00s) --- PASS: TestTrustDomainFromString/allow_id_without_path (0.00s) --- PASS: TestTrustDomainFromString/allow_id_with_path (0.00s) - --- PASS: TestTrustDomainFromString/reject_bad_ids (0.00s) + --- PASS: TestTrustDomainFromString/reject_bad_ids (0.01s) --- PASS: TestTrustDomainFromString/reject_bad_trustdomain_char_0 (0.00s) --- PASS: TestTrustDomainFromString/reject_bad_trustdomain_char_1 (0.00s) --- PASS: TestTrustDomainFromString/reject_bad_trustdomain_char_2 (0.00s) @@ -2755,9 +2791,9 @@ --- PASS: TestTrustDomainFromString/allow_good_trustdomain_char_78 (0.00s) --- PASS: TestTrustDomainFromString/allow_good_trustdomain_char_79 (0.00s) --- PASS: TestTrustDomainFromString/allow_good_trustdomain_char_7A (0.00s) - --- PASS: TestTrustDomainFromString/reject_bad_trustdomain_char_7B (0.00s) + --- PASS: TestTrustDomainFromString/reject_bad_trustdomain_char_7B (0.01s) --- PASS: TestTrustDomainFromString/reject_bad_trustdomain_char_7C (0.00s) - --- PASS: TestTrustDomainFromString/reject_bad_trustdomain_char_7D (0.00s) + --- PASS: TestTrustDomainFromString/reject_bad_trustdomain_char_7D (0.01s) --- PASS: TestTrustDomainFromString/reject_bad_trustdomain_char_7E (0.00s) --- PASS: TestTrustDomainFromString/reject_bad_trustdomain_char_7F (0.00s) --- PASS: TestTrustDomainFromString/reject_bad_trustdomain_char_80 (0.00s) @@ -2903,10 +2939,10 @@ === RUN TestTrustDomainTextUnmarshaler --- PASS: TestTrustDomainTextUnmarshaler (0.00s) PASS -ok github.com/spiffe/go-spiffe/v2/spiffeid 0.312s +ok github.com/spiffe/go-spiffe/v2/spiffeid 1.164s === RUN TestListenAndDial - workload_api.go:66: WorkloadAPI address: tcp://127.0.0.1:37435 - workload_api.go:66: WorkloadAPI address: tcp://127.0.0.1:45641 + workload_api.go:66: WorkloadAPI address: tcp://127.0.0.1:35723 + workload_api.go:66: WorkloadAPI address: tcp://127.0.0.1:46353 === RUN TestListenAndDial/No_server_listening === RUN TestListenAndDial/Invalid_server_protocol === RUN TestListenAndDial/Missing_server_port @@ -2928,34 +2964,34 @@ === RUN TestListenAndDial/MTLSClientWithRawConfig_/_MTLSServerWithRawConfig_succeeds === RUN TestListenAndDial/MTLSWebClientWithRawConfig_/_MTLSWebServerWithRawConfig_succeeds === RUN TestListenAndDial/Wrong_workload_API_server_socket ---- PASS: TestListenAndDial (0.61s) - --- PASS: TestListenAndDial/No_server_listening (0.01s) +--- PASS: TestListenAndDial (1.98s) + --- PASS: TestListenAndDial/No_server_listening (0.03s) --- PASS: TestListenAndDial/Invalid_server_protocol (0.00s) --- PASS: TestListenAndDial/Missing_server_port (0.00s) --- PASS: TestListenAndDial/Invalid_server_source (0.00s) - --- PASS: TestListenAndDial/TLSClient_dials_using_TLS_base_config (0.03s) - --- PASS: TestListenAndDial/TLSClient_dials_using_external_dialer (0.03s) - --- PASS: TestListenAndDial/TLSServer_with_ListenOption (0.02s) - --- PASS: TestListenAndDial/TLSClient_succeeds (0.03s) - --- PASS: TestListenAndDial/TLSClient_succeeds_with_Dial (0.03s) - --- PASS: TestListenAndDial/MTLSClient_succeeds (0.04s) - --- PASS: TestListenAndDial/MTLSWebClient_/_MTLSWebServer_succeeds (0.04s) - --- PASS: TestListenAndDial/TLSClientWithSource_/_TLSServerWithSource_succeeds (0.02s) - --- PASS: TestListenAndDial/MTLSClientWithSource_/_MTLSServerWithSource_succeeds (0.03s) - --- PASS: TestListenAndDial/MTLSWebClientWithSource_/_MTLSWebServerWithSource_succeeds (0.03s) - --- PASS: TestListenAndDial/TLSClientWithSourceOptions_/_TLSServerWithSourceOptions_succeeds (0.03s) - --- PASS: TestListenAndDial/MTLSClientWithSourceOptions_/_MTLSServerWithSourceOptions_succeeds (0.04s) - --- PASS: TestListenAndDial/MTLSWebClientWithSourceOptions_/_MTLSWebServerWithSourceOptions_succeeds (0.05s) - --- PASS: TestListenAndDial/TLSClientWithRawConfig_/_TLSServerWithRawConfig_succeeds (0.02s) - --- PASS: TestListenAndDial/MTLSClientWithRawConfig_/_MTLSServerWithRawConfig_succeeds (0.03s) - --- PASS: TestListenAndDial/MTLSWebClientWithRawConfig_/_MTLSWebServerWithRawConfig_succeeds (0.03s) + --- PASS: TestListenAndDial/TLSClient_dials_using_TLS_base_config (0.08s) + --- PASS: TestListenAndDial/TLSClient_dials_using_external_dialer (0.08s) + --- PASS: TestListenAndDial/TLSServer_with_ListenOption (0.08s) + --- PASS: TestListenAndDial/TLSClient_succeeds (0.15s) + --- PASS: TestListenAndDial/TLSClient_succeeds_with_Dial (0.08s) + --- PASS: TestListenAndDial/MTLSClient_succeeds (0.12s) + --- PASS: TestListenAndDial/MTLSWebClient_/_MTLSWebServer_succeeds (0.13s) + --- PASS: TestListenAndDial/TLSClientWithSource_/_TLSServerWithSource_succeeds (0.07s) + --- PASS: TestListenAndDial/MTLSClientWithSource_/_MTLSServerWithSource_succeeds (0.10s) + --- PASS: TestListenAndDial/MTLSWebClientWithSource_/_MTLSWebServerWithSource_succeeds (0.10s) + --- PASS: TestListenAndDial/TLSClientWithSourceOptions_/_TLSServerWithSourceOptions_succeeds (0.09s) + --- PASS: TestListenAndDial/MTLSClientWithSourceOptions_/_MTLSServerWithSourceOptions_succeeds (0.13s) + --- PASS: TestListenAndDial/MTLSWebClientWithSourceOptions_/_MTLSWebServerWithSourceOptions_succeeds (0.15s) + --- PASS: TestListenAndDial/TLSClientWithRawConfig_/_TLSServerWithRawConfig_succeeds (0.10s) + --- PASS: TestListenAndDial/MTLSClientWithRawConfig_/_MTLSServerWithRawConfig_succeeds (0.12s) + --- PASS: TestListenAndDial/MTLSWebClientWithRawConfig_/_MTLSWebServerWithRawConfig_succeeds (0.12s) --- PASS: TestListenAndDial/Wrong_workload_API_server_socket (0.00s) === RUN TestClose - workload_api.go:66: WorkloadAPI address: tcp://127.0.0.1:38079 - workload_api.go:66: WorkloadAPI address: tcp://127.0.0.1:38537 ---- PASS: TestClose (0.07s) + workload_api.go:66: WorkloadAPI address: tcp://127.0.0.1:45241 + workload_api.go:66: WorkloadAPI address: tcp://127.0.0.1:39397 +--- PASS: TestClose (0.19s) PASS -ok github.com/spiffe/go-spiffe/v2/spiffetls 0.699s +ok github.com/spiffe/go-spiffe/v2/spiffetls 2.240s === RUN TestTLSClientConfig --- PASS: TestTLSClientConfig (0.00s) === RUN TestHookTLSClientConfig @@ -2996,30 +3032,30 @@ === RUN TestVerifyPeerCertificate/success === RUN TestVerifyPeerCertificate/parse_and_validation_fails === RUN TestVerifyPeerCertificate/authorizer_fails ---- PASS: TestVerifyPeerCertificate (0.05s) - --- PASS: TestVerifyPeerCertificate/success (0.01s) +--- PASS: TestVerifyPeerCertificate (0.17s) + --- PASS: TestVerifyPeerCertificate/success (0.02s) --- PASS: TestVerifyPeerCertificate/parse_and_validation_fails (0.00s) - --- PASS: TestVerifyPeerCertificate/authorizer_fails (0.01s) + --- PASS: TestVerifyPeerCertificate/authorizer_fails (0.02s) === RUN TestWrapVerifyPeerCertificate === RUN TestWrapVerifyPeerCertificate/no_wrapped === RUN TestWrapVerifyPeerCertificate/parse_and_validation_fails === RUN TestWrapVerifyPeerCertificate/authorizer_fails === RUN TestWrapVerifyPeerCertificate/wrapped_is_called ---- PASS: TestWrapVerifyPeerCertificate (0.04s) - --- PASS: TestWrapVerifyPeerCertificate/no_wrapped (0.01s) +--- PASS: TestWrapVerifyPeerCertificate (0.14s) + --- PASS: TestWrapVerifyPeerCertificate/no_wrapped (0.02s) --- PASS: TestWrapVerifyPeerCertificate/parse_and_validation_fails (0.00s) - --- PASS: TestWrapVerifyPeerCertificate/authorizer_fails (0.01s) - --- PASS: TestWrapVerifyPeerCertificate/wrapped_is_called (0.01s) + --- PASS: TestWrapVerifyPeerCertificate/authorizer_fails (0.02s) + --- PASS: TestWrapVerifyPeerCertificate/wrapped_is_called (0.02s) === RUN TestTLSHandshake === RUN TestTLSHandshake/success === RUN TestTLSHandshake/authentication_fails === RUN TestTLSHandshake/handshake_fails === RUN TestTLSHandshake/unknown_authority ---- PASS: TestTLSHandshake (0.11s) - --- PASS: TestTLSHandshake/success (0.04s) - --- PASS: TestTLSHandshake/authentication_fails (0.02s) - --- PASS: TestTLSHandshake/handshake_fails (0.01s) - --- PASS: TestTLSHandshake/unknown_authority (0.01s) +--- PASS: TestTLSHandshake (0.29s) + --- PASS: TestTLSHandshake/success (0.07s) + --- PASS: TestTLSHandshake/authentication_fails (0.05s) + --- PASS: TestTLSHandshake/handshake_fails (0.03s) + --- PASS: TestTLSHandshake/unknown_authority (0.03s) === RUN TestMTLSHandshake === RUN TestMTLSHandshake/success === RUN TestMTLSHandshake/client_authentication_fails @@ -3027,27 +3063,27 @@ === RUN TestMTLSHandshake/server_authentication === RUN TestMTLSHandshake/server_handshake_fails === RUN TestMTLSHandshake/unknown_authority ---- PASS: TestMTLSHandshake (0.18s) - --- PASS: TestMTLSHandshake/success (0.03s) - --- PASS: TestMTLSHandshake/client_authentication_fails (0.01s) - --- PASS: TestMTLSHandshake/client_handshake_fails (0.01s) - --- PASS: TestMTLSHandshake/server_authentication (0.03s) - --- PASS: TestMTLSHandshake/server_handshake_fails (0.02s) - --- PASS: TestMTLSHandshake/unknown_authority (0.01s) +--- PASS: TestMTLSHandshake (0.55s) + --- PASS: TestMTLSHandshake/success (0.10s) + --- PASS: TestMTLSHandshake/client_authentication_fails (0.05s) + --- PASS: TestMTLSHandshake/client_handshake_fails (0.03s) + --- PASS: TestMTLSHandshake/server_authentication (0.09s) + --- PASS: TestMTLSHandshake/server_handshake_fails (0.07s) + --- PASS: TestMTLSHandshake/unknown_authority (0.03s) === RUN TestMTLSWebHandshake === RUN TestMTLSWebHandshake/success === RUN TestMTLSWebHandshake/server_authentication_fails === RUN TestMTLSWebHandshake/server_handshake_fails === RUN TestMTLSWebHandshake/client_no_valid_certificate === RUN TestMTLSWebHandshake/unknown_authority ---- PASS: TestMTLSWebHandshake (0.20s) - --- PASS: TestMTLSWebHandshake/success (0.04s) - --- PASS: TestMTLSWebHandshake/server_authentication_fails (0.03s) - --- PASS: TestMTLSWebHandshake/server_handshake_fails (0.02s) - --- PASS: TestMTLSWebHandshake/client_no_valid_certificate (0.01s) - --- PASS: TestMTLSWebHandshake/unknown_authority (0.02s) +--- PASS: TestMTLSWebHandshake (0.64s) + --- PASS: TestMTLSWebHandshake/success (0.12s) + --- PASS: TestMTLSWebHandshake/server_authentication_fails (0.09s) + --- PASS: TestMTLSWebHandshake/server_handshake_fails (0.07s) + --- PASS: TestMTLSWebHandshake/client_no_valid_certificate (0.03s) + --- PASS: TestMTLSWebHandshake/unknown_authority (0.10s) PASS -ok github.com/spiffe/go-spiffe/v2/spiffetls/tlsconfig 0.624s +ok github.com/spiffe/go-spiffe/v2/spiffetls/tlsconfig 1.880s === RUN TestParseAndValidate === RUN TestParseAndValidate/success === RUN TestParseAndValidate/malformed @@ -3061,19 +3097,19 @@ === RUN TestParseAndValidate/no_bundle_for_trust_domain === RUN TestParseAndValidate/no_bundle_for_authority === RUN TestParseAndValidate/mismatched_JWT_authority ---- PASS: TestParseAndValidate (0.13s) - --- PASS: TestParseAndValidate/success (0.02s) +--- PASS: TestParseAndValidate (0.42s) + --- PASS: TestParseAndValidate/success (0.08s) --- PASS: TestParseAndValidate/malformed (0.00s) --- PASS: TestParseAndValidate/unsupported_algorithm (0.00s) - --- PASS: TestParseAndValidate/missing_subject (0.01s) - --- PASS: TestParseAndValidate/missing_expiration_claim (0.01s) - --- PASS: TestParseAndValidate/expired (0.02s) - --- PASS: TestParseAndValidate/unexpected_audience (0.02s) - --- PASS: TestParseAndValidate/invalid_subject_claim (0.01s) - --- PASS: TestParseAndValidate/missing_key (0.01s) - --- PASS: TestParseAndValidate/no_bundle_for_trust_domain (0.01s) - --- PASS: TestParseAndValidate/no_bundle_for_authority (0.01s) - --- PASS: TestParseAndValidate/mismatched_JWT_authority (0.03s) + --- PASS: TestParseAndValidate/missing_subject (0.02s) + --- PASS: TestParseAndValidate/missing_expiration_claim (0.02s) + --- PASS: TestParseAndValidate/expired (0.07s) + --- PASS: TestParseAndValidate/unexpected_audience (0.08s) + --- PASS: TestParseAndValidate/invalid_subject_claim (0.02s) + --- PASS: TestParseAndValidate/missing_key (0.02s) + --- PASS: TestParseAndValidate/no_bundle_for_trust_domain (0.02s) + --- PASS: TestParseAndValidate/no_bundle_for_authority (0.02s) + --- PASS: TestParseAndValidate/mismatched_JWT_authority (0.08s) === RUN TestParseInsecure === RUN TestParseInsecure/success === RUN TestParseInsecure/malformed @@ -3083,21 +3119,21 @@ === RUN TestParseInsecure/expired === RUN TestParseInsecure/unexpected_audience === RUN TestParseInsecure/invalid_subject_claim ---- PASS: TestParseInsecure (0.03s) - --- PASS: TestParseInsecure/success (0.01s) +--- PASS: TestParseInsecure (0.10s) + --- PASS: TestParseInsecure/success (0.02s) --- PASS: TestParseInsecure/malformed (0.00s) --- PASS: TestParseInsecure/invalid_algorithm (0.00s) - --- PASS: TestParseInsecure/missing_subject_claim (0.01s) - --- PASS: TestParseInsecure/missing_expiration_claim (0.01s) - --- PASS: TestParseInsecure/expired (0.01s) - --- PASS: TestParseInsecure/unexpected_audience (0.01s) - --- PASS: TestParseInsecure/invalid_subject_claim (0.01s) + --- PASS: TestParseInsecure/missing_subject_claim (0.02s) + --- PASS: TestParseInsecure/missing_expiration_claim (0.02s) + --- PASS: TestParseInsecure/expired (0.02s) + --- PASS: TestParseInsecure/unexpected_audience (0.02s) + --- PASS: TestParseInsecure/invalid_subject_claim (0.02s) === RUN TestMarshal ---- PASS: TestMarshal (0.01s) +--- PASS: TestMarshal (0.02s) PASS -ok github.com/spiffe/go-spiffe/v2/svid/jwtsvid 4.949s +ok github.com/spiffe/go-spiffe/v2/svid/jwtsvid 12.164s === RUN TestLoad_Succeeds ---- PASS: TestLoad_Succeeds (0.00s) +--- PASS: TestLoad_Succeeds (0.01s) === RUN TestLoad_FailsCannotReadCertFile --- PASS: TestLoad_FailsCannotReadCertFile (0.00s) === RUN TestLoad_FailsCannotReadKeyFile @@ -3121,10 +3157,10 @@ === RUN TestParse/Leaf_certificate_with_cRLSign_as_key_usage === RUN TestParse/Signing_certificate_without_CA_flag === RUN TestParse/Signing_certificate_without_'keyCertSign'_usage ---- PASS: TestParse (0.05s) +--- PASS: TestParse (0.13s) --- PASS: TestParse/Single_certificate_and_key (0.00s) - --- PASS: TestParse/Certificate_with_intermediate_and_key (0.02s) - --- PASS: TestParse/Key_and_certificate_in_the_same_byte_array (0.00s) + --- PASS: TestParse/Certificate_with_intermediate_and_key (0.05s) + --- PASS: TestParse/Key_and_certificate_in_the_same_byte_array (0.01s) --- PASS: TestParse/Certificate_and_Key_in_the_same_byte_array (0.00s) --- PASS: TestParse/Missing_certificate (0.00s) --- PASS: TestParse/Missing_private_key (0.00s) @@ -3136,8 +3172,8 @@ --- PASS: TestParse/Certificate_without_SPIFFE_ID (0.00s) --- PASS: TestParse/Leaf_certificate_with_CA_flag_set_to_true (0.00s) --- PASS: TestParse/Leaf_certificate_without_digitalSignature_as_key_usage (0.00s) - --- PASS: TestParse/Leaf_certificate_with_certSign_as_key_usage (0.00s) - --- PASS: TestParse/Leaf_certificate_with_cRLSign_as_key_usage (0.00s) + --- PASS: TestParse/Leaf_certificate_with_certSign_as_key_usage (0.01s) + --- PASS: TestParse/Leaf_certificate_with_cRLSign_as_key_usage (0.01s) --- PASS: TestParse/Signing_certificate_without_CA_flag (0.00s) --- PASS: TestParse/Signing_certificate_without_'keyCertSign'_usage (0.00s) === RUN TestGetX509SVID @@ -3147,9 +3183,9 @@ === RUN TestMarshal/Multiple_certificates_and_key === RUN TestMarshal/Fails_to_encode_private_key === RUN TestMarshal/Fails_to_marshal_certificates ---- PASS: TestMarshal (0.01s) +--- PASS: TestMarshal (0.02s) --- PASS: TestMarshal/Single_certificate_and_key (0.00s) - --- PASS: TestMarshal/Multiple_certificates_and_key (0.00s) + --- PASS: TestMarshal/Multiple_certificates_and_key (0.01s) --- PASS: TestMarshal/Fails_to_encode_private_key (0.00s) --- PASS: TestMarshal/Fails_to_marshal_certificates (0.00s) === RUN TestMarshalRaw @@ -3157,9 +3193,9 @@ === RUN TestMarshalRaw/Multiple_certificates_and_key === RUN TestMarshalRaw/Fails_to_marshal_private_key === RUN TestMarshalRaw/Fails_to_marshal_certificates ---- PASS: TestMarshalRaw (0.01s) - --- PASS: TestMarshalRaw/Single_certificate_and_key (0.00s) - --- PASS: TestMarshalRaw/Multiple_certificates_and_key (0.00s) +--- PASS: TestMarshalRaw (0.02s) + --- PASS: TestMarshalRaw/Single_certificate_and_key (0.01s) + --- PASS: TestMarshalRaw/Multiple_certificates_and_key (0.01s) --- PASS: TestMarshalRaw/Fails_to_marshal_private_key (0.00s) --- PASS: TestMarshalRaw/Fails_to_marshal_certificates (0.00s) === RUN TestParseRaw @@ -3167,9 +3203,9 @@ === RUN TestParseRaw/Multiple_certificates_and_key === RUN TestParseRaw/Certificate_bytes_are_not_DER_encoded === RUN TestParseRaw/Key_bytes_are_not_DER_encoded ---- PASS: TestParseRaw (0.01s) - --- PASS: TestParseRaw/Single_certificate_and_key (0.00s) - --- PASS: TestParseRaw/Multiple_certificates_and_key (0.00s) +--- PASS: TestParseRaw (0.03s) + --- PASS: TestParseRaw/Single_certificate_and_key (0.01s) + --- PASS: TestParseRaw/Multiple_certificates_and_key (0.01s) --- PASS: TestParseRaw/Certificate_bytes_are_not_DER_encoded (0.00s) --- PASS: TestParseRaw/Key_bytes_are_not_DER_encoded (0.00s) === RUN TestVerify @@ -3187,7 +3223,7 @@ === RUN TestVerify/leaf_has_KeyUsageCRLSign === RUN TestVerify/with_time === RUN TestVerify/success ---- PASS: TestVerify (0.04s) +--- PASS: TestVerify (0.14s) --- PASS: TestVerify/empty_chain (0.00s) --- PASS: TestVerify/empty_bundle (0.00s) --- PASS: TestVerify/nil_bundle (0.00s) @@ -3201,11 +3237,11 @@ --- PASS: TestVerify/leaf_has_KeyUsageCertSign (0.00s) --- PASS: TestVerify/leaf_has_KeyUsageCRLSign (0.00s) --- PASS: TestVerify/with_time (0.00s) - --- PASS: TestVerify/success (0.01s) + --- PASS: TestVerify/success (0.02s) === RUN TestParseAndVerify ---- PASS: TestParseAndVerify (0.02s) +--- PASS: TestParseAndVerify (0.07s) PASS -ok github.com/spiffe/go-spiffe/v2/svid/x509svid 0.174s +ok github.com/spiffe/go-spiffe/v2/svid/x509svid 0.450s === RUN TestGetDefaultAddress --- PASS: TestGetDefaultAddress (0.00s) === RUN TestValidateAddress @@ -3218,46 +3254,46 @@ === CONT TestLinearBackoff/test_max === CONT TestLinearBackoff/test_reset --- PASS: TestLinearBackoff (0.00s) - --- PASS: TestLinearBackoff/test_reset (0.00s) --- PASS: TestLinearBackoff/test_max (0.00s) + --- PASS: TestLinearBackoff/test_reset (0.00s) === RUN TestBundleSourceDoesNotReturnUntilInitialUpdate - workload_api.go:66: WorkloadAPI address: tcp://127.0.0.1:46453 ---- PASS: TestBundleSourceDoesNotReturnUntilInitialUpdate (0.50s) + workload_api.go:66: WorkloadAPI address: tcp://127.0.0.1:40215 +--- PASS: TestBundleSourceDoesNotReturnUntilInitialUpdate (0.51s) === RUN TestBundleSourceFailsCallsIfClosed - workload_api.go:66: WorkloadAPI address: tcp://127.0.0.1:35039 ---- PASS: TestBundleSourceFailsCallsIfClosed (0.04s) + workload_api.go:66: WorkloadAPI address: tcp://127.0.0.1:38941 +--- PASS: TestBundleSourceFailsCallsIfClosed (0.11s) === RUN TestBundleSourceGetsUpdates - workload_api.go:66: WorkloadAPI address: tcp://127.0.0.1:39719 ---- PASS: TestBundleSourceGetsUpdates (0.03s) + workload_api.go:66: WorkloadAPI address: tcp://127.0.0.1:43503 +--- PASS: TestBundleSourceGetsUpdates (0.10s) === RUN TestBundleSourceDoesNotReturnX509BundleIfMissingFromX509Response - workload_api.go:66: WorkloadAPI address: tcp://127.0.0.1:39577 ---- PASS: TestBundleSourceDoesNotReturnX509BundleIfMissingFromX509Response (0.03s) + workload_api.go:66: WorkloadAPI address: tcp://127.0.0.1:39853 +--- PASS: TestBundleSourceDoesNotReturnX509BundleIfMissingFromX509Response (0.10s) === RUN TestBundleSourceDoesNotReturnJWTBundleIfMissingFromJWTBundlesResponse - workload_api.go:66: WorkloadAPI address: tcp://127.0.0.1:41841 ---- PASS: TestBundleSourceDoesNotReturnJWTBundleIfMissingFromJWTBundlesResponse (0.03s) + workload_api.go:66: WorkloadAPI address: tcp://127.0.0.1:41783 +--- PASS: TestBundleSourceDoesNotReturnJWTBundleIfMissingFromJWTBundlesResponse (0.07s) === RUN TestJWTSourceDoesNotReturnUntilInitialUpdate - workload_api.go:66: WorkloadAPI address: tcp://127.0.0.1:34015 + workload_api.go:66: WorkloadAPI address: tcp://127.0.0.1:41655 --- PASS: TestJWTSourceDoesNotReturnUntilInitialUpdate (0.50s) === RUN TestJWTSourceFailsCallsIfClosed - workload_api.go:66: WorkloadAPI address: tcp://127.0.0.1:34619 ---- PASS: TestJWTSourceFailsCallsIfClosed (0.01s) + workload_api.go:66: WorkloadAPI address: tcp://127.0.0.1:42889 +--- PASS: TestJWTSourceFailsCallsIfClosed (0.04s) === RUN TestJWTSourceGetsUpdates - workload_api.go:66: WorkloadAPI address: tcp://127.0.0.1:38243 ---- PASS: TestJWTSourceGetsUpdates (0.02s) + workload_api.go:66: WorkloadAPI address: tcp://127.0.0.1:40351 +--- PASS: TestJWTSourceGetsUpdates (0.08s) === RUN TestX509SourceDoesNotReturnUntilInitialUpdate - workload_api.go:66: WorkloadAPI address: tcp://127.0.0.1:39659 + workload_api.go:66: WorkloadAPI address: tcp://127.0.0.1:33967 --- PASS: TestX509SourceDoesNotReturnUntilInitialUpdate (0.50s) === RUN TestX509SourceFailsCallsIfClosed - workload_api.go:66: WorkloadAPI address: tcp://127.0.0.1:42411 ---- PASS: TestX509SourceFailsCallsIfClosed (0.02s) + workload_api.go:66: WorkloadAPI address: tcp://127.0.0.1:41109 +--- PASS: TestX509SourceFailsCallsIfClosed (0.07s) === RUN TestX509SourceGetsUpdates - workload_api.go:66: WorkloadAPI address: tcp://127.0.0.1:42167 ---- PASS: TestX509SourceGetsUpdates (0.04s) + workload_api.go:66: WorkloadAPI address: tcp://127.0.0.1:41389 +--- PASS: TestX509SourceGetsUpdates (0.12s) === RUN TestX509SourceX509SVIDPicker - workload_api.go:66: WorkloadAPI address: tcp://127.0.0.1:44831 ---- PASS: TestX509SourceX509SVIDPicker (0.04s) + workload_api.go:66: WorkloadAPI address: tcp://127.0.0.1:45065 +--- PASS: TestX509SourceX509SVIDPicker (0.12s) PASS -ok github.com/spiffe/go-spiffe/v2/workloadapi 1.800s +ok github.com/spiffe/go-spiffe/v2/workloadapi 2.375s make[1]: Leaving directory '/build/reproducible-path/golang-github-spiffe-go-spiffe-2.4.0' create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang @@ -3286,12 +3322,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/10291/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/10291/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/17265 and its subdirectories -I: Current time: Sun Jan 19 18:14:31 -12 2025 -I: pbuilder-time-stamp: 1737353671 +I: removing directory /srv/workspace/pbuilder/10291 and its subdirectories +I: Current time: Mon Jan 20 20:28:03 +14 2025 +I: pbuilder-time-stamp: 1737354483