Diff of the two buildlogs: -- --- b1/build.log 2024-04-27 08:54:36.562124008 +0000 +++ b2/build.log 2024-04-27 09:04:44.496256852 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri May 30 03:12:47 -12 2025 -I: pbuilder-time-stamp: 1748617967 +I: Current time: Sat Apr 27 22:54:40 +14 2024 +I: pbuilder-time-stamp: 1714208080 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -31,52 +31,84 @@ dpkg-source: info: applying 0004-Use-github.com-golang-protobuf-ptypes-empty.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/240945/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2308453/tmp/hooks/D01_modify_environment starting +debug: Running on ionos1-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Apr 27 08:54 /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/2308453/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2308453/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="21" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + 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=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='956923c234d948dcb2708c5fa0a3d995' - 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='240945' - PS1='# ' - PS2='> ' + INVOCATION_ID=caa37d69317340a0a0d53fbc76be5263 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=2308453 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.nHLnwdMG/pbuilderrc_VQzy --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.nHLnwdMG/b1 --logfile b1/build.log notary_0.7.0+ds1-2.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.nHLnwdMG/pbuilderrc_sZtl --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.nHLnwdMG/b2 --logfile b2/build.log notary_0.7.0+ds1-2.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos5-amd64 6.6.13+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.6.13-1~bpo12+1 (2024-02-15) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-20-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 30 14:05 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/240945/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Apr 27 07:43 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2308453/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -355,7 +387,7 @@ Get: 187 http://deb.debian.org/debian unstable/main amd64 golang-goprotobuf-dev amd64 1.3.5-4+b6 [3444 B] Get: 188 http://deb.debian.org/debian unstable/main amd64 golang-gopkg-rethinkdb-rethinkdb-go.v6-dev all 6.2.1-2 [106 kB] Get: 189 http://deb.debian.org/debian unstable/main amd64 openssl amd64 3.2.1-3 [1360 kB] -Fetched 109 MB in 3s (38.5 MB/s) +Fetched 109 MB in 10s (11.3 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package golang-golang-x-sys-dev. (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 ... 19694 files and directories currently installed.) @@ -1126,7 +1158,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/notary-0.7.0+ds1/ && 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 > ../notary_0.7.0+ds1-2_source.changes +I: user script /srv/workspace/pbuilder/2308453/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/2308453/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/notary-0.7.0+ds1/ && 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 > ../notary_0.7.0+ds1-2_source.changes dpkg-buildpackage: info: source package notary dpkg-buildpackage: info: source version 0.7.0+ds1-2 dpkg-buildpackage: info: source distribution unstable @@ -1405,400 +1441,400 @@ src/github.com/theupdateframework/notary/utils/http.go src/github.com/theupdateframework/notary/utils/http_test.go src/github.com/theupdateframework/notary/version/version.go - cd _build && go install -trimpath -v -p 42 -tags pkcs11 github.com/theupdateframework/notary github.com/theupdateframework/notary/client github.com/theupdateframework/notary/client/changelist github.com/theupdateframework/notary/cmd/escrow github.com/theupdateframework/notary/cmd/notary github.com/theupdateframework/notary/cmd/notary-server github.com/theupdateframework/notary/cmd/notary-signer github.com/theupdateframework/notary/cryptoservice github.com/theupdateframework/notary/passphrase github.com/theupdateframework/notary/proto github.com/theupdateframework/notary/server github.com/theupdateframework/notary/server/errors github.com/theupdateframework/notary/server/handlers github.com/theupdateframework/notary/server/snapshot github.com/theupdateframework/notary/server/storage github.com/theupdateframework/notary/server/timestamp github.com/theupdateframework/notary/signer github.com/theupdateframework/notary/signer/api github.com/theupdateframework/notary/signer/client github.com/theupdateframework/notary/signer/keydbstore github.com/theupdateframework/notary/storage github.com/theupdateframework/notary/storage/rethinkdb github.com/theupdateframework/notary/trustmanager github.com/theupdateframework/notary/trustmanager/remoteks github.com/theupdateframework/notary/trustmanager/yubikey github.com/theupdateframework/notary/trustpinning github.com/theupdateframework/notary/tuf github.com/theupdateframework/notary/tuf/data github.com/theupdateframework/notary/tuf/signed github.com/theupdateframework/notary/tuf/testutils github.com/theupdateframework/notary/tuf/testutils/interfaces github.com/theupdateframework/notary/tuf/testutils/keys github.com/theupdateframework/notary/tuf/utils github.com/theupdateframework/notary/tuf/validation github.com/theupdateframework/notary/utils github.com/theupdateframework/notary/version -internal/goos -github.com/lib/pq/oid -google.golang.org/protobuf/internal/flags -github.com/theupdateframework/notary/version + cd _build && go install -trimpath -v -p 20 -tags pkcs11 github.com/theupdateframework/notary github.com/theupdateframework/notary/client github.com/theupdateframework/notary/client/changelist github.com/theupdateframework/notary/cmd/escrow github.com/theupdateframework/notary/cmd/notary github.com/theupdateframework/notary/cmd/notary-server github.com/theupdateframework/notary/cmd/notary-signer github.com/theupdateframework/notary/cryptoservice github.com/theupdateframework/notary/passphrase github.com/theupdateframework/notary/proto github.com/theupdateframework/notary/server github.com/theupdateframework/notary/server/errors github.com/theupdateframework/notary/server/handlers github.com/theupdateframework/notary/server/snapshot github.com/theupdateframework/notary/server/storage github.com/theupdateframework/notary/server/timestamp github.com/theupdateframework/notary/signer github.com/theupdateframework/notary/signer/api github.com/theupdateframework/notary/signer/client github.com/theupdateframework/notary/signer/keydbstore github.com/theupdateframework/notary/storage github.com/theupdateframework/notary/storage/rethinkdb github.com/theupdateframework/notary/trustmanager github.com/theupdateframework/notary/trustmanager/remoteks github.com/theupdateframework/notary/trustmanager/yubikey github.com/theupdateframework/notary/trustpinning github.com/theupdateframework/notary/tuf github.com/theupdateframework/notary/tuf/data github.com/theupdateframework/notary/tuf/signed github.com/theupdateframework/notary/tuf/testutils github.com/theupdateframework/notary/tuf/testutils/interfaces github.com/theupdateframework/notary/tuf/testutils/keys github.com/theupdateframework/notary/tuf/utils github.com/theupdateframework/notary/tuf/validation github.com/theupdateframework/notary/utils github.com/theupdateframework/notary/version internal/unsafeheader +unicode/utf16 +log/internal internal/goarch +encoding +crypto/internal/alias +unicode internal/coverage/rtcov internal/goexperiment -google.golang.org/grpc/serviceconfig -unicode/utf16 internal/godebugs -encoding +internal/goos +internal/cpu cmp -unicode -math/bits -vendor/golang.org/x/crypto/cryptobyte/asn1 -container/list -log/internal -internal/race internal/itoa -crypto/internal/boring/sig -internal/cpu +unicode/utf8 runtime/internal/atomic -crypto/subtle -sync/atomic +internal/race +math/bits runtime/internal/syscall -crypto/internal/alias -vendor/golang.org/x/crypto/internal/alias -unicode/utf8 -internal/nettrace +crypto/subtle runtime/internal/math -internal/chacha8rand internal/abi +sync/atomic +crypto/internal/boring/sig +vendor/golang.org/x/crypto/cryptobyte/asn1 runtime/internal/sys -google.golang.org/protobuf/internal/set -slices +internal/nettrace +container/list +vendor/golang.org/x/crypto/internal/alias +internal/chacha8rand +google.golang.org/grpc/serviceconfig +google.golang.org/protobuf/internal/flags +github.com/theupdateframework/notary/version +github.com/lib/pq/oid github.com/pelletier/go-toml/v2/internal/characters -math +slices +google.golang.org/protobuf/internal/set internal/bytealg +math runtime internal/reflectlite sync runtime/metrics -internal/singleflight +internal/testlog internal/bisect +internal/singleflight google.golang.org/grpc/internal/buffer github.com/spf13/viper/internal/encoding -google.golang.org/grpc/internal/grpcsync google.golang.org/protobuf/internal/pragma -internal/testlog +google.golang.org/grpc/internal/grpcsync runtime/cgo internal/godebug errors -internal/intern -io sort -math/rand +io internal/oserror -strconv internal/safefilepath +internal/intern +math/rand +strconv path -crypto/internal/nistec/fiat -github.com/hashicorp/hcl/hcl/strconv vendor/golang.org/x/net/dns/dnsmessage +github.com/hashicorp/hcl/hcl/strconv +crypto/internal/nistec/fiat syscall hash bytes +strings crypto/internal/randutil text/tabwriter -strings -hash/fnv hash/crc32 +hash/fnv github.com/beorn7/perks/quantile -golang.org/x/text/transform -github.com/dvsekhvalnov/jose2go/padding -vendor/golang.org/x/text/transform crypto -net/netip +encoding/base32 +golang.org/x/crypto/blowfish reflect +net/netip crypto/rc4 -golang.org/x/crypto/blowfish -encoding/base32 -golang.org/x/text/runes -net/http/internal/ascii -html +vendor/golang.org/x/text/transform +golang.org/x/text/transform +github.com/dvsekhvalnov/jose2go/padding +bufio google.golang.org/grpc/encoding github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg regexp/syntax net/http/internal/testcert -bufio +net/http/internal/ascii +html +golang.org/x/text/runes regexp -internal/syscall/execenv internal/syscall/unix +internal/syscall/execenv time github.com/jinzhu/inflection encoding/binary internal/fmtsort +io/fs +context google.golang.org/grpc/backoff +google.golang.org/grpc/internal/grpcrand google.golang.org/grpc/keepalive -context -io/fs github.com/bugsnag/bugsnag-go/headers internal/poll -google.golang.org/grpc/internal/grpcrand google.golang.org/grpc/internal/backoff -encoding/base64 crypto/md5 -vendor/golang.org/x/crypto/internal/poly1305 -github.com/cespare/xxhash crypto/cipher crypto/internal/edwards25519/field +vendor/golang.org/x/crypto/internal/poly1305 +encoding/base64 +github.com/cespare/xxhash golang.org/x/sys/unix -github.com/spf13/afero/internal/common +gopkg.in/rethinkdb/rethinkdb-go.v6/vendor/gopkg.in/cenkalti/backoff.v2 embed +github.com/spf13/afero/internal/common golang.org/x/net/context google.golang.org/grpc/tap -gopkg.in/rethinkdb/rethinkdb-go.v6/vendor/gopkg.in/cenkalti/backoff.v2 -encoding/pem -github.com/dvsekhvalnov/jose2go/base64url -google.golang.org/protobuf/internal/editiondefaults -crypto/internal/nistec -github.com/dvsekhvalnov/jose2go/compact +crypto/internal/boring crypto/des vendor/golang.org/x/crypto/chacha20 -crypto/internal/boring +crypto/internal/nistec +google.golang.org/protobuf/internal/editiondefaults +encoding/pem +github.com/dvsekhvalnov/jose2go/base64url crypto/internal/edwards25519 -os -crypto/aes +github.com/dvsekhvalnov/jose2go/compact crypto/sha512 +crypto/sha256 crypto/sha1 crypto/hmac -crypto/sha256 +crypto/aes golang.org/x/crypto/pbkdf2 vendor/golang.org/x/crypto/hkdf +os crypto/ecdh github.com/theupdateframework/notary -google.golang.org/grpc/internal/envconfig -path/filepath +io/ioutil vendor/golang.org/x/sys/cpu -net -github.com/bugsnag/bugsnag-go/device google.golang.org/protobuf/internal/detrand -io/ioutil -fmt +os/signal +github.com/prometheus/procfs/internal/util internal/lazyregexp internal/sysinfo -github.com/prometheus/procfs/internal/util -os/signal -os/exec -github.com/spf13/afero/mem +google.golang.org/grpc/internal/envconfig +github.com/bugsnag/bugsnag-go/device +path/filepath +fmt +net vendor/golang.org/x/crypto/chacha20poly1305 +github.com/spf13/afero/mem +os/exec github.com/bugsnag/panicwrap -log +vendor/golang.org/x/net/http2/hpack +encoding/json encoding/hex -net/url +github.com/docker/go/canonical/json mime/quotedprintable -mime -math/big +log +flag +text/template/parse +net/url +vendor/golang.org/x/text/unicode/norm compress/flate -encoding/json -vendor/golang.org/x/net/http2/hpack net/http/internal -text/template/parse github.com/miekg/pkcs11 +encoding/csv +math/big +mime golang.org/x/text/unicode/norm -flag github.com/subosito/gotenv -vendor/golang.org/x/text/unicode/norm -github.com/pelletier/go-toml/v2/internal/danger -google.golang.org/grpc/attributes -google.golang.org/grpc/internal/grpclog -github.com/docker/go/canonical/json -encoding/csv -gopkg.in/ini.v1 -google.golang.org/grpc/metadata -google.golang.org/grpc/codes -github.com/pkg/errors -google.golang.org/protobuf/internal/errors -github.com/opencontainers/image-spec/specs-go -database/sql/driver -golang.org/x/net/http2/hpack github.com/hashicorp/hcl/hcl/token -go/token +gopkg.in/ini.v1 +github.com/pelletier/go-toml/v2/internal/danger gopkg.in/yaml.v3 -github.com/opencontainers/go-digest -google.golang.org/protobuf/internal/version -runtime/debug -github.com/prometheus/procfs/internal/fs -os/user -github.com/opentracing/opentracing-go/log -gopkg.in/rethinkdb/rethinkdb-go.v6/encoding -gopkg.in/rethinkdb/rethinkdb-go.v6/types -runtime/trace -github.com/pmezard/go-difflib/difflib -google.golang.org/protobuf/encoding/protowire +google.golang.org/grpc/internal/grpclog github.com/pelletier/go-toml/v2/unstable -google.golang.org/grpc/internal/balancerload -github.com/davecgh/go-spew/spew +google.golang.org/grpc/attributes +vendor/golang.org/x/text/unicode/bidi +github.com/spf13/jwalterweatherman github.com/hashicorp/hcl/hcl/ast github.com/hashicorp/hcl/hcl/scanner github.com/hashicorp/hcl/json/token github.com/hashicorp/hcl/json/scanner -github.com/opencontainers/image-spec/specs-go/v1 -github.com/docker/distribution/digestset -github.com/bugsnag/bugsnag-go/errors -google.golang.org/protobuf/reflect/protoreflect -go/scanner -github.com/hashicorp/hcl/hcl/parser -github.com/spf13/jwalterweatherman -vendor/golang.org/x/text/unicode/bidi golang.org/x/net/internal/timeseries google.golang.org/grpc/grpclog -golang.org/x/text/unicode/bidi -github.com/hailocab/go-hostpool -database/sql +github.com/fsnotify/fsnotify +google.golang.org/grpc/metadata +google.golang.org/grpc/codes github.com/hashicorp/hcl/json/parser -github.com/docker/distribution/reference -testing +github.com/hashicorp/hcl/hcl/parser github.com/pelletier/go-toml/v2/internal/tracker +google.golang.org/grpc/internal/balancerload compress/gzip -github.com/hashicorp/hcl/hcl/printer -github.com/hashicorp/hcl +golang.org/x/text/unicode/bidi +golang.org/x/net/http2/hpack google.golang.org/grpc/connectivity -go/ast -internal/profile -runtime/pprof +github.com/pkg/errors +database/sql/driver google.golang.org/grpc/internal -golang.org/x/text/secure/bidirule -google.golang.org/protobuf/internal/descfmt -google.golang.org/protobuf/internal/descopts -google.golang.org/protobuf/internal/strs -google.golang.org/protobuf/internal/encoding/messageset -google.golang.org/protobuf/internal/genid -google.golang.org/protobuf/runtime/protoiface -google.golang.org/protobuf/internal/order +github.com/opencontainers/go-digest +github.com/opencontainers/image-spec/specs-go +google.golang.org/protobuf/internal/errors +go/token +github.com/hashicorp/hcl +github.com/hashicorp/hcl/hcl/printer +google.golang.org/protobuf/encoding/protowire +database/sql +google.golang.org/protobuf/internal/version +github.com/bugsnag/bugsnag-go/errors +github.com/docker/distribution/digestset +github.com/opencontainers/image-spec/specs-go/v1 vendor/golang.org/x/text/secure/bidirule +google.golang.org/protobuf/reflect/protoreflect +github.com/prometheus/procfs/internal/fs +golang.org/x/term +runtime/debug text/template -google.golang.org/protobuf/internal/encoding/text -google.golang.org/protobuf/reflect/protoregistry +go/scanner +os/user +github.com/hailocab/go-hostpool +github.com/opentracing/opentracing-go/log vendor/golang.org/x/net/idna -github.com/spf13/viper/internal/encoding/hcl +golang.org/x/text/secure/bidirule +github.com/docker/distribution/reference +gopkg.in/rethinkdb/rethinkdb-go.v6/encoding +github.com/sirupsen/logrus +gopkg.in/rethinkdb/rethinkdb-go.v6/types +github.com/theupdateframework/notary/tuf/validation github.com/spf13/viper/internal/encoding/json +github.com/spf13/viper/internal/encoding/hcl github.com/pelletier/go-toml/v2 +internal/profile +runtime/pprof github.com/golang/protobuf/proto -golang.org/x/net/idna -github.com/theupdateframework/notary/tuf/validation -github.com/fsnotify/fsnotify -github.com/sirupsen/logrus -golang.org/x/term -github.com/jinzhu/gorm -google.golang.org/protobuf/proto -google.golang.org/protobuf/internal/encoding/defval -github.com/theupdateframework/notary/passphrase +crypto/rand crypto/elliptic crypto/internal/boring/bbig crypto/internal/bigmod -crypto/dsa encoding/asn1 -crypto/rand -google.golang.org/protobuf/encoding/protodelim -google.golang.org/protobuf/encoding/prototext -google.golang.org/protobuf/internal/filedesc -html/template +crypto/dsa +golang.org/x/net/idna github.com/docker/distribution/uuid -golang.org/x/crypto/bcrypt crypto/ed25519 +github.com/theupdateframework/notary/passphrase +google.golang.org/protobuf/internal/descfmt +golang.org/x/crypto/ed25519 +google.golang.org/protobuf/internal/descopts +crypto/rsa +google.golang.org/protobuf/internal/strs +google.golang.org/protobuf/internal/encoding/messageset +google.golang.org/protobuf/internal/genid +google.golang.org/protobuf/internal/order +google.golang.org/protobuf/runtime/protoiface +google.golang.org/protobuf/internal/encoding/text +google.golang.org/protobuf/reflect/protoregistry +golang.org/x/crypto/bcrypt github.com/lib/pq/scram +go/ast +runtime/trace github.com/dvsekhvalnov/jose2go/arrays -github.com/spf13/viper/internal/encoding/yaml +github.com/davecgh/go-spew/spew +github.com/pmezard/go-difflib/difflib +crypto/x509/pkix +vendor/golang.org/x/crypto/cryptobyte github.com/dvsekhvalnov/jose2go/aes github.com/dvsekhvalnov/jose2go/kdf -crypto/rsa -golang.org/x/crypto/ed25519 +testing +google.golang.org/protobuf/internal/encoding/defval +html/template +google.golang.org/protobuf/proto github.com/spf13/viper/internal/encoding/toml -crypto/x509/pkix -vendor/golang.org/x/crypto/cryptobyte -github.com/spf13/cast +github.com/spf13/viper/internal/encoding/yaml crypto/ecdsa +github.com/jinzhu/gorm +google.golang.org/protobuf/encoding/prototext +google.golang.org/protobuf/encoding/protodelim +google.golang.org/protobuf/internal/filedesc +github.com/spf13/cast github.com/spf13/viper/internal/encoding/dotenv github.com/spf13/viper/internal/encoding/ini -google.golang.org/protobuf/internal/encoding/tag -google.golang.org/protobuf/internal/impl -github.com/golang/protobuf/ptypes/empty google.golang.org/grpc/encoding/proto -github.com/golang/protobuf/ptypes/any github.com/golang/protobuf/ptypes/duration -github.com/golang/protobuf/ptypes/timestamp gopkg.in/rethinkdb/rethinkdb-go.v6/ql2 -google.golang.org/genproto/googleapis/rpc/status -github.com/golang/protobuf/ptypes +github.com/golang/protobuf/ptypes/empty +github.com/golang/protobuf/ptypes/timestamp +github.com/golang/protobuf/ptypes/any google.golang.org/grpc/binarylog/grpc_binarylog_v1 +github.com/golang/protobuf/ptypes +google.golang.org/genproto/googleapis/rpc/status +google.golang.org/protobuf/internal/encoding/tag google.golang.org/grpc/internal/status google.golang.org/grpc/status -vendor/golang.org/x/net/http/httpproxy +google.golang.org/protobuf/internal/impl net/textproto -google.golang.org/grpc/internal/syscall +github.com/mitchellh/mapstructure +crypto/x509 google.golang.org/grpc/stats +google.golang.org/grpc/internal/syscall github.com/google/uuid +vendor/golang.org/x/net/http/httpproxy github.com/spf13/pflag -crypto/x509 -github.com/mitchellh/mapstructure github.com/prometheus/procfs mime/multipart -vendor/golang.org/x/net/http/httpguts golang.org/x/net/http/httpguts -google.golang.org/protobuf/internal/filetype -google.golang.org/protobuf/runtime/protoimpl -google.golang.org/protobuf/types/known/timestamppb -github.com/prometheus/client_model/go +vendor/golang.org/x/net/http/httpguts +github.com/spf13/cobra +github.com/theupdateframework/notary/tuf/data github.com/dvsekhvalnov/jose2go/keys/ecc crypto/tls -github.com/theupdateframework/notary/tuf/data -github.com/prometheus/common/model github.com/dvsekhvalnov/jose2go -github.com/spf13/cobra +google.golang.org/protobuf/internal/filetype github.com/theupdateframework/notary/client/changelist github.com/theupdateframework/notary/tuf/utils +google.golang.org/protobuf/runtime/protoimpl +google.golang.org/protobuf/types/known/timestamppb +github.com/prometheus/client_model/go +github.com/prometheus/common/model github.com/prometheus/client_golang/prometheus/internal -google.golang.org/grpc/internal/credentials +net/http/httptrace github.com/docker/libtrust -github.com/docker/go-connections/tlsconfig +google.golang.org/grpc/internal/credentials github.com/lib/pq -net/http/httptrace +github.com/docker/go-connections/tlsconfig github.com/go-sql-driver/mysql -google.golang.org/grpc/credentials net/http +google.golang.org/grpc/credentials +google.golang.org/grpc/resolver google.golang.org/grpc/peer google.golang.org/grpc/internal/channelz -google.golang.org/grpc/resolver -google.golang.org/grpc/internal/grpcutil google.golang.org/grpc/balancer/grpclb/state google.golang.org/grpc/internal/resolver/passthrough +google.golang.org/grpc/internal/grpcutil google.golang.org/grpc/balancer google.golang.org/grpc/internal/resolver/dns google.golang.org/grpc/internal/binarylog -google.golang.org/grpc/internal/serviceconfig google.golang.org/grpc/balancer/base +google.golang.org/grpc/internal/serviceconfig google.golang.org/grpc/balancer/roundrobin github.com/theupdateframework/notary/storage golang.org/x/net/trace -github.com/spf13/afero github.com/bugsnag/bugsnag-go/sessions +github.com/magiconair/properties +net/http/httputil github.com/docker/distribution/registry/api/errcode github.com/docker/distribution/registry/auth github.com/gorilla/mux -golang.org/x/net/http2 -github.com/docker/distribution/registry/client/auth/challenge -github.com/docker/distribution/registry/client/transport -github.com/magiconair/properties github.com/docker/distribution +github.com/docker/distribution/registry/client/transport +expvar +github.com/docker/distribution/registry/client/auth/challenge net/http/pprof net/http/httptest -github.com/opentracing/opentracing-go -expvar -net/http/httputil github.com/prometheus/common/expfmt -github.com/bugsnag/bugsnag-go +github.com/opentracing/opentracing-go +github.com/spf13/afero +golang.org/x/net/http2 github.com/theupdateframework/notary/server/errors github.com/opentracing/opentracing-go/ext +github.com/bugsnag/bugsnag-go +gopkg.in/rethinkdb/rethinkdb-go.v6 +github.com/stretchr/testify/assert github.com/docker/distribution/context github.com/docker/distribution/registry/api/v2 github.com/theupdateframework/notary/trustmanager -github.com/stretchr/testify/assert -gopkg.in/rethinkdb/rethinkdb-go.v6 github.com/spf13/viper/internal/encoding/javaproperties -github.com/theupdateframework/notary/tuf/signed github.com/theupdateframework/notary/cryptoservice -github.com/prometheus/client_golang/prometheus +github.com/theupdateframework/notary/tuf/signed github.com/theupdateframework/notary/vendor/github.com/prometheus/client_golang/prometheus +github.com/prometheus/client_golang/prometheus github.com/docker/distribution/health -github.com/docker/distribution/registry/auth/htpasswd github.com/docker/distribution/registry/auth/token -github.com/Shopify/logrus-bugsnag -github.com/spf13/viper -github.com/theupdateframework/notary/tuf/testutils/keys -github.com/theupdateframework/notary/trustpinning +github.com/docker/distribution/registry/auth/htpasswd github.com/theupdateframework/notary/trustmanager/yubikey +github.com/theupdateframework/notary/trustpinning +github.com/theupdateframework/notary/tuf/testutils/keys +github.com/Shopify/logrus-bugsnag github.com/theupdateframework/notary/tuf -github.com/stretchr/testify/require -github.com/theupdateframework/notary/utils +github.com/spf13/viper github.com/theupdateframework/notary/client github.com/theupdateframework/notary/tuf/testutils +github.com/stretchr/testify/require +github.com/theupdateframework/notary/utils github.com/theupdateframework/notary/storage/rethinkdb +github.com/theupdateframework/notary/tuf/testutils/interfaces github.com/theupdateframework/notary/server/storage github.com/theupdateframework/notary/signer/keydbstore -github.com/theupdateframework/notary/tuf/testutils/interfaces github.com/prometheus/client_golang/prometheus/promhttp -google.golang.org/grpc/internal/transport github.com/theupdateframework/notary/server/snapshot +google.golang.org/grpc/internal/transport github.com/theupdateframework/notary/server/timestamp github.com/theupdateframework/notary/server/handlers -github.com/docker/go-metrics github.com/theupdateframework/notary/server +github.com/docker/go-metrics github.com/docker/distribution/metrics github.com/docker/distribution/registry/storage/cache github.com/docker/distribution/registry/storage/cache/memory @@ -1806,11 +1842,11 @@ google.golang.org/grpc github.com/docker/distribution/registry/client/auth github.com/theupdateframework/notary/cmd/notary -google.golang.org/grpc/health/grpc_health_v1 -github.com/theupdateframework/notary/proto github.com/theupdateframework/notary/trustmanager/remoteks -github.com/theupdateframework/notary/cmd/escrow +github.com/theupdateframework/notary/proto +google.golang.org/grpc/health/grpc_health_v1 google.golang.org/grpc/health +github.com/theupdateframework/notary/cmd/escrow github.com/theupdateframework/notary/signer/client github.com/theupdateframework/notary/signer github.com/theupdateframework/notary/signer/api @@ -1818,7 +1854,7 @@ github.com/theupdateframework/notary/cmd/notary-server make[1]: Leaving directory '/build/reproducible-path/notary-0.7.0+ds1' dh_auto_test -O--builddirectory=/build/reproducible-path/notary-0.7.0\+ds1/_build -O--buildsystem=golang - cd _build && go test -vet=off -v -p 42 github.com/theupdateframework/notary github.com/theupdateframework/notary/client github.com/theupdateframework/notary/client/changelist github.com/theupdateframework/notary/cmd/escrow github.com/theupdateframework/notary/cmd/notary github.com/theupdateframework/notary/cmd/notary-server github.com/theupdateframework/notary/cmd/notary-signer github.com/theupdateframework/notary/cryptoservice github.com/theupdateframework/notary/passphrase github.com/theupdateframework/notary/proto github.com/theupdateframework/notary/server github.com/theupdateframework/notary/server/errors github.com/theupdateframework/notary/server/handlers github.com/theupdateframework/notary/server/snapshot github.com/theupdateframework/notary/server/storage github.com/theupdateframework/notary/server/timestamp github.com/theupdateframework/notary/signer github.com/theupdateframework/notary/signer/api github.com/theupdateframework/notary/signer/client github.com/theupdateframework/notary/signer/keydbstore github.com/theupdateframework/notary/storage github.com/theupdateframework/notary/storage/rethinkdb github.com/theupdateframework/notary/trustmanager github.com/theupdateframework/notary/trustmanager/remoteks github.com/theupdateframework/notary/trustmanager/yubikey github.com/theupdateframework/notary/trustpinning github.com/theupdateframework/notary/tuf github.com/theupdateframework/notary/tuf/data github.com/theupdateframework/notary/tuf/signed github.com/theupdateframework/notary/tuf/testutils github.com/theupdateframework/notary/tuf/testutils/interfaces github.com/theupdateframework/notary/tuf/testutils/keys github.com/theupdateframework/notary/tuf/utils github.com/theupdateframework/notary/tuf/validation github.com/theupdateframework/notary/utils github.com/theupdateframework/notary/version + cd _build && go test -vet=off -v -p 20 github.com/theupdateframework/notary github.com/theupdateframework/notary/client github.com/theupdateframework/notary/client/changelist github.com/theupdateframework/notary/cmd/escrow github.com/theupdateframework/notary/cmd/notary github.com/theupdateframework/notary/cmd/notary-server github.com/theupdateframework/notary/cmd/notary-signer github.com/theupdateframework/notary/cryptoservice github.com/theupdateframework/notary/passphrase github.com/theupdateframework/notary/proto github.com/theupdateframework/notary/server github.com/theupdateframework/notary/server/errors github.com/theupdateframework/notary/server/handlers github.com/theupdateframework/notary/server/snapshot github.com/theupdateframework/notary/server/storage github.com/theupdateframework/notary/server/timestamp github.com/theupdateframework/notary/signer github.com/theupdateframework/notary/signer/api github.com/theupdateframework/notary/signer/client github.com/theupdateframework/notary/signer/keydbstore github.com/theupdateframework/notary/storage github.com/theupdateframework/notary/storage/rethinkdb github.com/theupdateframework/notary/trustmanager github.com/theupdateframework/notary/trustmanager/remoteks github.com/theupdateframework/notary/trustmanager/yubikey github.com/theupdateframework/notary/trustpinning github.com/theupdateframework/notary/tuf github.com/theupdateframework/notary/tuf/data github.com/theupdateframework/notary/tuf/signed github.com/theupdateframework/notary/tuf/testutils github.com/theupdateframework/notary/tuf/testutils/interfaces github.com/theupdateframework/notary/tuf/testutils/keys github.com/theupdateframework/notary/tuf/utils github.com/theupdateframework/notary/tuf/validation github.com/theupdateframework/notary/utils github.com/theupdateframework/notary/version ? github.com/theupdateframework/notary [no test files] ? github.com/theupdateframework/notary/proto [no test files] ? github.com/theupdateframework/notary/server/errors [no test files] @@ -1830,147 +1866,147 @@ ? github.com/theupdateframework/notary/tuf/testutils/keys [no test files] ? github.com/theupdateframework/notary/version [no test files] === RUN Test0Dot1Migration ---- PASS: Test0Dot1Migration (0.14s) +--- PASS: Test0Dot1Migration (2.44s) === RUN Test0Dot3Migration ---- PASS: Test0Dot3Migration (0.07s) +--- PASS: Test0Dot3Migration (0.16s) === RUN Test0Dot1RepoFormat -time="2025-05-30T15:15:57Z" level=warning msg="Error while downloading remote metadata, using cached timestamp - this might not be the latest version available remotely" ---- PASS: Test0Dot1RepoFormat (0.22s) +time="2024-04-27T09:02:03Z" level=warning msg="Error while downloading remote metadata, using cached timestamp - this might not be the latest version available remotely" +--- PASS: Test0Dot1RepoFormat (0.58s) === RUN Test0Dot3RepoFormat -time="2025-05-30T15:15:57Z" level=warning msg="Error while downloading remote metadata, using cached timestamp - this might not be the latest version available remotely" ---- PASS: Test0Dot3RepoFormat (0.31s) +time="2024-04-27T09:02:03Z" level=warning msg="Error while downloading remote metadata, using cached timestamp - this might not be the latest version available remotely" +--- PASS: Test0Dot3RepoFormat (0.66s) === RUN TestDownloading0Dot1RepoFormat --- PASS: TestDownloading0Dot1RepoFormat (0.02s) === RUN TestDownloading0Dot3RepoFormat ---- PASS: TestDownloading0Dot3RepoFormat (0.01s) +--- PASS: TestDownloading0Dot3RepoFormat (0.02s) === RUN TestInitRepositoryManagedRolesIncludingRoot ---- PASS: TestInitRepositoryManagedRolesIncludingRoot (0.00s) +--- PASS: TestInitRepositoryManagedRolesIncludingRoot (0.01s) === RUN TestInitRepositoryManagedRolesInvalidRole --- PASS: TestInitRepositoryManagedRolesInvalidRole (0.01s) === RUN TestInitRepositoryManagedRolesIncludingTargets --- PASS: TestInitRepositoryManagedRolesIncludingTargets (0.01s) === RUN TestInitRepositoryManagedRolesIncludingTimestamp ---- PASS: TestInitRepositoryManagedRolesIncludingTimestamp (0.03s) +--- PASS: TestInitRepositoryManagedRolesIncludingTimestamp (0.05s) === RUN TestInitRepositoryWithCerts ---- PASS: TestInitRepositoryWithCerts (0.03s) +--- PASS: TestInitRepositoryWithCerts (0.06s) === RUN TestMatchKeyIDsWithPublicKeys ---- PASS: TestMatchKeyIDsWithPublicKeys (0.02s) +--- PASS: TestMatchKeyIDsWithPublicKeys (0.03s) === RUN TestInitRepositoryNeedsRemoteTimestampKey ---- PASS: TestInitRepositoryNeedsRemoteTimestampKey (0.02s) +--- PASS: TestInitRepositoryNeedsRemoteTimestampKey (0.03s) === RUN TestInitRepositoryNeedsRemoteSnapshotKey ---- PASS: TestInitRepositoryNeedsRemoteSnapshotKey (0.03s) +--- PASS: TestInitRepositoryNeedsRemoteSnapshotKey (0.04s) === RUN TestInitRepoServerOnlyManagesTimestampKey ---- PASS: TestInitRepoServerOnlyManagesTimestampKey (0.14s) +--- PASS: TestInitRepoServerOnlyManagesTimestampKey (0.25s) === RUN TestInitRepoServerManagesTimestampAndSnapshotKeys ---- PASS: TestInitRepoServerManagesTimestampAndSnapshotKeys (0.12s) +--- PASS: TestInitRepoServerManagesTimestampAndSnapshotKeys (0.34s) === RUN TestInitRepoAttemptsExceeded ---- PASS: TestInitRepoAttemptsExceeded (0.10s) +--- PASS: TestInitRepoAttemptsExceeded (0.31s) === RUN TestInitRepoPasswordInvalid ---- PASS: TestInitRepoPasswordInvalid (0.01s) +--- PASS: TestInitRepoPasswordInvalid (0.02s) === RUN TestAddTargetToTargetRoleByDefault ---- PASS: TestAddTargetToTargetRoleByDefault (0.05s) +--- PASS: TestAddTargetToTargetRoleByDefault (0.23s) === RUN TestAddTargetToSpecifiedValidRoles ---- PASS: TestAddTargetToSpecifiedValidRoles (0.05s) +--- PASS: TestAddTargetToSpecifiedValidRoles (0.06s) === RUN TestAddTargetToSpecifiedInvalidRoles ---- PASS: TestAddTargetToSpecifiedInvalidRoles (0.06s) +--- PASS: TestAddTargetToSpecifiedInvalidRoles (0.10s) === RUN TestAddTargetWithInvalidTarget ---- PASS: TestAddTargetWithInvalidTarget (0.02s) +--- PASS: TestAddTargetWithInvalidTarget (0.03s) === RUN TestAddTargetErrorWritingChanges ---- PASS: TestAddTargetErrorWritingChanges (0.03s) +--- PASS: TestAddTargetErrorWritingChanges (0.02s) === RUN TestRemoveTargetToTargetRoleByDefault ---- PASS: TestRemoveTargetToTargetRoleByDefault (0.06s) +--- PASS: TestRemoveTargetToTargetRoleByDefault (0.08s) === RUN TestRemoveTargetFromSpecifiedValidRoles ---- PASS: TestRemoveTargetFromSpecifiedValidRoles (0.04s) +--- PASS: TestRemoveTargetFromSpecifiedValidRoles (0.08s) === RUN TestRemoveTargetToSpecifiedInvalidRoles ---- PASS: TestRemoveTargetToSpecifiedInvalidRoles (0.05s) +--- PASS: TestRemoveTargetToSpecifiedInvalidRoles (0.07s) === RUN TestRemoveTargetErrorWritingChanges ---- PASS: TestRemoveTargetErrorWritingChanges (0.02s) +--- PASS: TestRemoveTargetErrorWritingChanges (0.04s) === RUN TestListTarget ---- PASS: TestListTarget (0.45s) +--- PASS: TestListTarget (0.65s) === RUN TestListTargetRestrictsDelegationPaths ---- PASS: TestListTargetRestrictsDelegationPaths (0.08s) +--- PASS: TestListTargetRestrictsDelegationPaths (0.09s) === RUN TestValidateRootKey --- PASS: TestValidateRootKey (0.07s) === RUN TestGetChangelist ---- PASS: TestGetChangelist (0.06s) +--- PASS: TestGetChangelist (0.07s) === RUN TestPublishBareRepo ---- PASS: TestPublishBareRepo (0.52s) +--- PASS: TestPublishBareRepo (0.68s) === RUN TestPublishUninitializedRepo -time="2025-05-30T15:16:00Z" level=info msg="No TUF data found locally or remotely - initializing repository docker.com/notary for the first time" ---- PASS: TestPublishUninitializedRepo (0.06s) +time="2024-04-27T09:02:07Z" level=info msg="No TUF data found locally or remotely - initializing repository docker.com/notary for the first time" +--- PASS: TestPublishUninitializedRepo (0.05s) === RUN TestPublishClientHasSnapshotKey ---- PASS: TestPublishClientHasSnapshotKey (0.44s) +--- PASS: TestPublishClientHasSnapshotKey (0.61s) === RUN TestPublishAfterInitServerHasSnapshotKey ---- PASS: TestPublishAfterInitServerHasSnapshotKey (0.53s) +--- PASS: TestPublishAfterInitServerHasSnapshotKey (0.54s) === RUN TestPublishAfterPullServerHasSnapshotKey ---- PASS: TestPublishAfterPullServerHasSnapshotKey (0.17s) +--- PASS: TestPublishAfterPullServerHasSnapshotKey (0.20s) === RUN TestPublishNoOneHasSnapshotKey ---- PASS: TestPublishNoOneHasSnapshotKey (0.13s) +--- PASS: TestPublishNoOneHasSnapshotKey (0.12s) === RUN TestPublishSnapshotCorrupt ---- PASS: TestPublishSnapshotCorrupt (0.24s) +--- PASS: TestPublishSnapshotCorrupt (0.28s) === RUN TestPublishTargetsCorrupt ---- PASS: TestPublishTargetsCorrupt (0.10s) +--- PASS: TestPublishTargetsCorrupt (0.21s) === RUN TestPublishRootCorrupt -time="2025-05-30T15:16:01Z" level=error msg="Could not publish Repository since we could not update: invalid character 'h' in literal true (expecting 'r')" -time="2025-05-30T15:16:01Z" level=error msg="Could not publish Repository since we could not update: invalid character 'h' in literal true (expecting 'r')" ---- PASS: TestPublishRootCorrupt (0.07s) +time="2024-04-27T09:02:09Z" level=error msg="Could not publish Repository since we could not update: invalid character 'h' in literal true (expecting 'r')" +time="2024-04-27T09:02:09Z" level=error msg="Could not publish Repository since we could not update: invalid character 'h' in literal true (expecting 'r')" +--- PASS: TestPublishRootCorrupt (0.12s) === RUN TestPublishSnapshotLocalKeysCreatedFirst --- PASS: TestPublishSnapshotLocalKeysCreatedFirst (0.01s) === RUN TestPublishDelegations ---- PASS: TestPublishDelegations (0.22s) +--- PASS: TestPublishDelegations (0.24s) === RUN TestPublishDelegationsX509 --- PASS: TestPublishDelegationsX509 (0.20s) === RUN TestPublishTargetsDelegationScopeFailIfNoKeys -time="2025-05-30T15:16:02Z" level=error msg="couldn't add target to targets/a/b: tuf: invalid role targets/a/b. delegation does not exist" -time="2025-05-30T15:16:02Z" level=error msg="couldn't add target to targets/a/b: tuf: invalid role targets/a/b. delegation does not exist" ---- PASS: TestPublishTargetsDelegationScopeFailIfNoKeys (0.14s) +time="2024-04-27T09:02:10Z" level=error msg="couldn't add target to targets/a/b: tuf: invalid role targets/a/b. delegation does not exist" +time="2024-04-27T09:02:10Z" level=error msg="couldn't add target to targets/a/b: tuf: invalid role targets/a/b. delegation does not exist" +--- PASS: TestPublishTargetsDelegationScopeFailIfNoKeys (0.15s) === RUN TestPublishTargetsDelegationSuccessLocallyHasRoles ---- PASS: TestPublishTargetsDelegationSuccessLocallyHasRoles (0.13s) +--- PASS: TestPublishTargetsDelegationSuccessLocallyHasRoles (0.18s) === RUN TestPublishTargetsDelegationNoTargetsKeyNeeded ---- PASS: TestPublishTargetsDelegationNoTargetsKeyNeeded (0.16s) +--- PASS: TestPublishTargetsDelegationNoTargetsKeyNeeded (0.21s) === RUN TestPublishTargetsDelegationSuccessNeedsToDownloadRoles ---- PASS: TestPublishTargetsDelegationSuccessNeedsToDownloadRoles (0.15s) +--- PASS: TestPublishTargetsDelegationSuccessNeedsToDownloadRoles (0.22s) === RUN TestPublishTargetsDelegationFromTwoRepos ---- PASS: TestPublishTargetsDelegationFromTwoRepos (0.27s) +--- PASS: TestPublishTargetsDelegationFromTwoRepos (0.16s) === RUN TestPublishRemoveDelegationKeyFromDelegationRole -time="2025-05-30T15:16:03Z" level=warning msg="Error getting targets/a: valid signatures did not meet threshold for targets/a" -time="2025-05-30T15:16:03Z" level=error msg="couldn't add target to targets/a: could not find necessary signing keys, at least one of these keys must be available: 24f379ee70721e5e8ed75854cf7f0536682ee7e732c8d62458a3b06776bf9940" ---- PASS: TestPublishRemoveDelegationKeyFromDelegationRole (0.13s) +time="2024-04-27T09:02:11Z" level=warning msg="Error getting targets/a: valid signatures did not meet threshold for targets/a" +time="2024-04-27T09:02:11Z" level=error msg="couldn't add target to targets/a: could not find necessary signing keys, at least one of these keys must be available: 6f50e964352fa4dc1437641a6be3adb118cae49af840debba6c47469de465452" +--- PASS: TestPublishRemoveDelegationKeyFromDelegationRole (0.11s) === RUN TestPublishRemoveDelegation -time="2025-05-30T15:16:03Z" level=warning msg="role targets/a has fewer keys than its threshold of 1; it will not be usable until keys are added to it" -time="2025-05-30T15:16:03Z" level=warning msg="role targets/a has fewer keys than its threshold of 1; it will not be usable until keys are added to it" -time="2025-05-30T15:16:03Z" level=warning msg="Error getting targets/a: valid signatures did not meet threshold for targets/a" -time="2025-05-30T15:16:03Z" level=error msg="couldn't add target to targets/a: could not find necessary signing keys, at least one of these keys must be available: " ---- PASS: TestPublishRemoveDelegation (0.11s) +time="2024-04-27T09:02:11Z" level=warning msg="role targets/a has fewer keys than its threshold of 1; it will not be usable until keys are added to it" +time="2024-04-27T09:02:11Z" level=warning msg="role targets/a has fewer keys than its threshold of 1; it will not be usable until keys are added to it" +time="2024-04-27T09:02:11Z" level=warning msg="Error getting targets/a: valid signatures did not meet threshold for targets/a" +time="2024-04-27T09:02:11Z" level=error msg="couldn't add target to targets/a: could not find necessary signing keys, at least one of these keys must be available: " +--- PASS: TestPublishRemoveDelegation (0.10s) === RUN TestPublishSucceedsDespiteDelegationCorrupt ---- PASS: TestPublishSucceedsDespiteDelegationCorrupt (0.28s) +--- PASS: TestPublishSucceedsDespiteDelegationCorrupt (0.13s) === RUN TestRotateKeyInvalidRole ---- PASS: TestRotateKeyInvalidRole (0.07s) +--- PASS: TestRotateKeyInvalidRole (0.05s) === RUN TestRemoteRotationError --- PASS: TestRemoteRotationError (0.02s) === RUN TestRemoteRotationEndpointError ---- PASS: TestRemoteRotationEndpointError (0.04s) +--- PASS: TestRemoteRotationEndpointError (0.05s) === RUN TestRemoteRotationNoRootKey ---- PASS: TestRemoteRotationNoRootKey (0.09s) +--- PASS: TestRemoteRotationNoRootKey (0.06s) === RUN TestRemoteRotationNoInit -time="2025-05-30T15:16:03Z" level=info msg="No TUF data found locally or remotely - initializing repository docker.com/notary for the first time" ---- PASS: TestRemoteRotationNoInit (0.07s) +time="2024-04-27T09:02:11Z" level=info msg="No TUF data found locally or remotely - initializing repository docker.com/notary for the first time" +--- PASS: TestRemoteRotationNoInit (0.06s) === RUN TestRotateBeforePublishFromRemoteKeyToLocalKey ---- PASS: TestRotateBeforePublishFromRemoteKeyToLocalKey (0.17s) +--- PASS: TestRotateBeforePublishFromRemoteKeyToLocalKey (0.18s) === RUN TestRotateKeyAfterPublishNoServerManagementChange ---- PASS: TestRotateKeyAfterPublishNoServerManagementChange (0.47s) +--- PASS: TestRotateKeyAfterPublishNoServerManagementChange (0.63s) === RUN TestRotateKeyAfterPublishServerManagementChange ---- PASS: TestRotateKeyAfterPublishServerManagementChange (0.54s) +--- PASS: TestRotateKeyAfterPublishServerManagementChange (0.51s) === RUN TestRotateRootKey --- PASS: TestRotateRootKey (0.17s) === RUN TestRotateRootMultiple ---- PASS: TestRotateRootMultiple (0.19s) +--- PASS: TestRotateRootMultiple (0.26s) === RUN TestRotateRootKeyProvided --- PASS: TestRotateRootKeyProvided (0.17s) === RUN TestRotateRootKeyLegacySupport ---- PASS: TestRotateRootKeyLegacySupport (0.20s) +--- PASS: TestRotateRootKeyLegacySupport (0.25s) === RUN TestRemoteServerUnavailableNoLocalCache -time="2025-05-30T15:16:05Z" level=error msg="Could not publish Repository since we could not update: unable to reach trust server at this time: 500." +time="2024-04-27T09:02:13Z" level=error msg="Could not publish Repository since we could not update: unable to reach trust server at this time: 500." --- PASS: TestRemoteServerUnavailableNoLocalCache (0.00s) === RUN TestAddDelegationChangefileValid --- PASS: TestAddDelegationChangefileValid (0.02s) @@ -1981,185 +2017,185 @@ === RUN TestRemoveDelegationChangefileValid --- PASS: TestRemoveDelegationChangefileValid (0.02s) === RUN TestRemoveDelegationChangefileApplicable -time="2025-05-30T15:16:05Z" level=warning msg="role targets/a has fewer keys than its threshold of 1; it will not be usable until keys are added to it" -time="2025-05-30T15:16:05Z" level=warning msg="role targets/a has fewer keys than its threshold of 1; it will not be usable until keys are added to it" +time="2024-04-27T09:02:14Z" level=warning msg="role targets/a has fewer keys than its threshold of 1; it will not be usable until keys are added to it" +time="2024-04-27T09:02:14Z" level=warning msg="role targets/a has fewer keys than its threshold of 1; it will not be usable until keys are added to it" --- PASS: TestRemoveDelegationChangefileApplicable (0.02s) === RUN TestClearAllPathsDelegationChangefileApplicable --- PASS: TestClearAllPathsDelegationChangefileApplicable (0.02s) === RUN TestFullAddDelegationChangefileApplicable ---- PASS: TestFullAddDelegationChangefileApplicable (0.04s) +--- PASS: TestFullAddDelegationChangefileApplicable (0.03s) === RUN TestFullRemoveDelegationChangefileApplicable ---- PASS: TestFullRemoveDelegationChangefileApplicable (0.02s) +--- PASS: TestFullRemoveDelegationChangefileApplicable (0.04s) === RUN TestRemoveDelegationErrorWritingChanges ---- PASS: TestRemoveDelegationErrorWritingChanges (0.02s) +--- PASS: TestRemoveDelegationErrorWritingChanges (0.03s) === RUN TestClientInvalidURL --- PASS: TestClientInvalidURL (0.00s) === RUN TestPublishTargetsDelegationCanUseUserKeyWithArbitraryRole ---- PASS: TestPublishTargetsDelegationCanUseUserKeyWithArbitraryRole (0.34s) +--- PASS: TestPublishTargetsDelegationCanUseUserKeyWithArbitraryRole (0.49s) === RUN TestDeleteRepo ---- PASS: TestDeleteRepo (0.08s) +--- PASS: TestDeleteRepo (0.06s) === RUN TestDeleteRemoteRepo ---- PASS: TestDeleteRemoteRepo (0.18s) +--- PASS: TestDeleteRemoteRepo (0.14s) === RUN TestListRoles ---- PASS: TestListRoles (0.24s) +--- PASS: TestListRoles (0.26s) === RUN TestGetAllTargetInfo ---- PASS: TestGetAllTargetInfo (0.15s) +--- PASS: TestGetAllTargetInfo (0.13s) === RUN TestUpdateSucceedsEvenIfCannotWriteNewRepo -time="2025-05-30T15:16:07Z" level=error msg="could not save root to cache: Non-writable" ---- PASS: TestUpdateSucceedsEvenIfCannotWriteNewRepo (0.09s) +time="2024-04-27T09:02:15Z" level=error msg="could not save root to cache: Non-writable" +--- PASS: TestUpdateSucceedsEvenIfCannotWriteNewRepo (0.14s) === RUN TestUpdateSucceedsEvenIfCannotWriteExistingRepo ---- PASS: TestUpdateSucceedsEvenIfCannotWriteExistingRepo (0.43s) +--- PASS: TestUpdateSucceedsEvenIfCannotWriteExistingRepo (0.52s) === RUN TestUpdateInOfflineMode -time="2025-05-30T15:16:07Z" level=warning msg="Error while downloading remote metadata, using cached timestamp - this might not be the latest version available remotely" -time="2025-05-30T15:16:07Z" level=warning msg="Error while downloading remote metadata, using cached timestamp - this might not be the latest version available remotely" +time="2024-04-27T09:02:15Z" level=warning msg="Error while downloading remote metadata, using cached timestamp - this might not be the latest version available remotely" +time="2024-04-27T09:02:15Z" level=warning msg="Error while downloading remote metadata, using cached timestamp - this might not be the latest version available remotely" --- PASS: TestUpdateInOfflineMode (0.04s) === RUN TestUpdateReplacesCorruptOrMissingMetadata -time="2025-05-30T15:16:08Z" level=error msg="Metadata for root expired" -time="2025-05-30T15:16:08Z" level=error msg="Metadata for root expired" ---- PASS: TestUpdateReplacesCorruptOrMissingMetadata (0.85s) +time="2024-04-27T09:02:16Z" level=error msg="Metadata for root expired" +time="2024-04-27T09:02:16Z" level=error msg="Metadata for root expired" +--- PASS: TestUpdateReplacesCorruptOrMissingMetadata (1.04s) === RUN TestUpdateFailsIfServerRootKeyChangedWithoutMultiSign -time="2025-05-30T15:16:08Z" level=error msg="Metadata for root expired" -time="2025-05-30T15:16:08Z" level=error msg="Metadata for root expired" ---- PASS: TestUpdateFailsIfServerRootKeyChangedWithoutMultiSign (0.06s) +time="2024-04-27T09:02:17Z" level=error msg="Metadata for root expired" +time="2024-04-27T09:02:17Z" level=error msg="Metadata for root expired" +--- PASS: TestUpdateFailsIfServerRootKeyChangedWithoutMultiSign (0.10s) === RUN TestUpdateRemoteRootNotExistNoLocalCache ---- PASS: TestUpdateRemoteRootNotExistNoLocalCache (0.03s) +--- PASS: TestUpdateRemoteRootNotExistNoLocalCache (0.02s) === RUN TestUpdateRemoteRootNotExistCanUseLocalCache ---- PASS: TestUpdateRemoteRootNotExistCanUseLocalCache (0.05s) +--- PASS: TestUpdateRemoteRootNotExistCanUseLocalCache (0.10s) === RUN TestUpdateRemoteRootNotExistCannotUseLocalCache ---- PASS: TestUpdateRemoteRootNotExistCannotUseLocalCache (0.06s) +--- PASS: TestUpdateRemoteRootNotExistCannotUseLocalCache (0.08s) === RUN TestUpdateRemoteRoot50XNoLocalCache --- PASS: TestUpdateRemoteRoot50XNoLocalCache (0.02s) === RUN TestUpdateRemoteRoot50XCanUseLocalCache --- PASS: TestUpdateRemoteRoot50XCanUseLocalCache (0.07s) === RUN TestUpdateRemoteRoot50XCannotUseLocalCache ---- PASS: TestUpdateRemoteRoot50XCannotUseLocalCache (0.06s) +--- PASS: TestUpdateRemoteRoot50XCannotUseLocalCache (0.10s) === RUN TestUpdateNonRootRemoteMissingMetadataNoLocalCache ---- PASS: TestUpdateNonRootRemoteMissingMetadataNoLocalCache (0.11s) +--- PASS: TestUpdateNonRootRemoteMissingMetadataNoLocalCache (0.15s) === RUN TestUpdateNonRootRemoteMissingMetadataCanUseLocalCache -time="2025-05-30T15:16:09Z" level=warning msg="Error while downloading remote metadata, using cached timestamp - this might not be the latest version available remotely" ---- PASS: TestUpdateNonRootRemoteMissingMetadataCanUseLocalCache (0.16s) +time="2024-04-27T09:02:17Z" level=warning msg="Error while downloading remote metadata, using cached timestamp - this might not be the latest version available remotely" +--- PASS: TestUpdateNonRootRemoteMissingMetadataCanUseLocalCache (0.26s) === RUN TestUpdateNonRootRemoteMissingMetadataCannotUseLocalCache -time="2025-05-30T15:16:09Z" level=warning msg="Error while downloading remote metadata, using cached timestamp - this might not be the latest version available remotely" ---- PASS: TestUpdateNonRootRemoteMissingMetadataCannotUseLocalCache (0.20s) +time="2024-04-27T09:02:17Z" level=warning msg="Error while downloading remote metadata, using cached timestamp - this might not be the latest version available remotely" +--- PASS: TestUpdateNonRootRemoteMissingMetadataCannotUseLocalCache (0.28s) === RUN TestUpdateNonRootRemote50XNoLocalCache ---- PASS: TestUpdateNonRootRemote50XNoLocalCache (0.12s) +--- PASS: TestUpdateNonRootRemote50XNoLocalCache (0.17s) === RUN TestUpdateNonRootRemote50XCanUseLocalCache -time="2025-05-30T15:16:09Z" level=warning msg="Error while downloading remote metadata, using cached timestamp - this might not be the latest version available remotely" ---- PASS: TestUpdateNonRootRemote50XCanUseLocalCache (0.16s) +time="2024-04-27T09:02:18Z" level=warning msg="Error while downloading remote metadata, using cached timestamp - this might not be the latest version available remotely" +--- PASS: TestUpdateNonRootRemote50XCanUseLocalCache (0.23s) === RUN TestUpdateNonRootRemote50XCannotUseLocalCache -time="2025-05-30T15:16:09Z" level=warning msg="Error while downloading remote metadata, using cached timestamp - this might not be the latest version available remotely" ---- PASS: TestUpdateNonRootRemote50XCannotUseLocalCache (0.20s) +time="2024-04-27T09:02:18Z" level=warning msg="Error while downloading remote metadata, using cached timestamp - this might not be the latest version available remotely" +--- PASS: TestUpdateNonRootRemote50XCannotUseLocalCache (0.32s) === RUN TestUpdateRemoteChecksumWrongNoLocalCache ---- PASS: TestUpdateRemoteChecksumWrongNoLocalCache (0.19s) +--- PASS: TestUpdateRemoteChecksumWrongNoLocalCache (0.32s) === RUN TestUpdateRemoteChecksumWrongCanUseLocalCache ---- PASS: TestUpdateRemoteChecksumWrongCanUseLocalCache (0.21s) +--- PASS: TestUpdateRemoteChecksumWrongCanUseLocalCache (0.37s) === RUN TestUpdateRemoteChecksumWrongCannotUseLocalCache ---- PASS: TestUpdateRemoteChecksumWrongCannotUseLocalCache (0.28s) +--- PASS: TestUpdateRemoteChecksumWrongCannotUseLocalCache (0.58s) === RUN TestUpdateRootRemoteCorruptedNoLocalCache -time="2025-05-30T15:16:10Z" level=error msg="Metadata for root expired" -time="2025-05-30T15:16:10Z" level=error msg="Metadata for root expired" ---- PASS: TestUpdateRootRemoteCorruptedNoLocalCache (0.53s) +time="2024-04-27T09:02:20Z" level=error msg="Metadata for root expired" +time="2024-04-27T09:02:20Z" level=error msg="Metadata for root expired" +--- PASS: TestUpdateRootRemoteCorruptedNoLocalCache (0.74s) === RUN TestUpdateRootRemoteCorruptedCanUseLocalCache ---- PASS: TestUpdateRootRemoteCorruptedCanUseLocalCache (1.00s) +--- PASS: TestUpdateRootRemoteCorruptedCanUseLocalCache (1.30s) === RUN TestUpdateRootRemoteCorruptedCannotUseLocalCache -time="2025-05-30T15:16:12Z" level=error msg="Metadata for root expired" -time="2025-05-30T15:16:12Z" level=error msg="Metadata for root expired" ---- PASS: TestUpdateRootRemoteCorruptedCannotUseLocalCache (1.69s) +time="2024-04-27T09:02:22Z" level=error msg="Metadata for root expired" +time="2024-04-27T09:02:22Z" level=error msg="Metadata for root expired" +--- PASS: TestUpdateRootRemoteCorruptedCannotUseLocalCache (2.04s) === RUN TestUpdateNonRootRemoteCorruptedNoLocalCache -time="2025-05-30T15:16:13Z" level=error msg="Metadata for targets expired" -time="2025-05-30T15:16:13Z" level=error msg="Metadata for targets expired" -time="2025-05-30T15:16:14Z" level=error msg="Metadata for snapshot expired" -time="2025-05-30T15:16:14Z" level=error msg="Metadata for snapshot expired" -time="2025-05-30T15:16:14Z" level=error msg="Metadata for timestamp expired" -time="2025-05-30T15:16:14Z" level=error msg="Metadata for timestamp expired" -time="2025-05-30T15:16:14Z" level=warning msg="Error getting targets/a: valid signatures did not meet threshold for targets/a" -time="2025-05-30T15:16:14Z" level=warning msg="Error getting targets/a: valid signatures did not meet threshold for targets/a" -time="2025-05-30T15:16:14Z" level=warning msg="Error getting targets/a: valid signatures did not meet threshold for targets/a" -time="2025-05-30T15:16:14Z" level=error msg="Metadata for targets/a expired" -time="2025-05-30T15:16:14Z" level=warning msg="Error getting targets/a: targets/a expired at Mon Apr 29 15:16:14 UTC 2024" -time="2025-05-30T15:16:14Z" level=warning msg="Error getting targets/a/b: valid signatures did not meet threshold for targets/a/b" -time="2025-05-30T15:16:14Z" level=warning msg="Error getting targets/a/b: valid signatures did not meet threshold for targets/a/b" -time="2025-05-30T15:16:14Z" level=warning msg="Error getting targets/a/b: valid signatures did not meet threshold for targets/a/b" -time="2025-05-30T15:16:14Z" level=error msg="Metadata for targets/a/b expired" -time="2025-05-30T15:16:14Z" level=warning msg="Error getting targets/a/b: targets/a/b expired at Mon Apr 29 15:16:14 UTC 2024" -time="2025-05-30T15:16:15Z" level=warning msg="Error getting targets/b: valid signatures did not meet threshold for targets/b" -time="2025-05-30T15:16:15Z" level=warning msg="Error getting targets/b: valid signatures did not meet threshold for targets/b" -time="2025-05-30T15:16:15Z" level=warning msg="Error getting targets/b: valid signatures did not meet threshold for targets/b" -time="2025-05-30T15:16:15Z" level=error msg="Metadata for targets/b expired" -time="2025-05-30T15:16:15Z" level=warning msg="Error getting targets/b: targets/b expired at Mon Apr 29 15:16:15 UTC 2024" ---- PASS: TestUpdateNonRootRemoteCorruptedNoLocalCache (1.67s) +time="2024-04-27T09:02:24Z" level=error msg="Metadata for targets expired" +time="2024-04-27T09:02:24Z" level=error msg="Metadata for targets expired" +time="2024-04-27T09:02:24Z" level=error msg="Metadata for snapshot expired" +time="2024-04-27T09:02:24Z" level=error msg="Metadata for snapshot expired" +time="2024-04-27T09:02:24Z" level=error msg="Metadata for timestamp expired" +time="2024-04-27T09:02:24Z" level=error msg="Metadata for timestamp expired" +time="2024-04-27T09:02:25Z" level=warning msg="Error getting targets/a: valid signatures did not meet threshold for targets/a" +time="2024-04-27T09:02:25Z" level=warning msg="Error getting targets/a: valid signatures did not meet threshold for targets/a" +time="2024-04-27T09:02:25Z" level=warning msg="Error getting targets/a: valid signatures did not meet threshold for targets/a" +time="2024-04-27T09:02:25Z" level=error msg="Metadata for targets/a expired" +time="2024-04-27T09:02:25Z" level=warning msg="Error getting targets/a: targets/a expired at Sun Mar 26 09:02:25 UTC 2023" +time="2024-04-27T09:02:25Z" level=warning msg="Error getting targets/a/b: valid signatures did not meet threshold for targets/a/b" +time="2024-04-27T09:02:25Z" level=warning msg="Error getting targets/a/b: valid signatures did not meet threshold for targets/a/b" +time="2024-04-27T09:02:25Z" level=warning msg="Error getting targets/a/b: valid signatures did not meet threshold for targets/a/b" +time="2024-04-27T09:02:25Z" level=error msg="Metadata for targets/a/b expired" +time="2024-04-27T09:02:25Z" level=warning msg="Error getting targets/a/b: targets/a/b expired at Sun Mar 26 09:02:25 UTC 2023" +time="2024-04-27T09:02:25Z" level=warning msg="Error getting targets/b: valid signatures did not meet threshold for targets/b" +time="2024-04-27T09:02:25Z" level=warning msg="Error getting targets/b: valid signatures did not meet threshold for targets/b" +time="2024-04-27T09:02:25Z" level=warning msg="Error getting targets/b: valid signatures did not meet threshold for targets/b" +time="2024-04-27T09:02:25Z" level=error msg="Metadata for targets/b expired" +time="2024-04-27T09:02:25Z" level=warning msg="Error getting targets/b: targets/b expired at Sun Mar 26 09:02:25 UTC 2023" +--- PASS: TestUpdateNonRootRemoteCorruptedNoLocalCache (1.74s) === RUN TestUpdateNonRootRemoteCorruptedCanUseLocalCache -time="2025-05-30T15:16:16Z" level=error msg="Metadata for timestamp expired" -time="2025-05-30T15:16:16Z" level=error msg="Metadata for timestamp expired" ---- PASS: TestUpdateNonRootRemoteCorruptedCanUseLocalCache (1.91s) +time="2024-04-27T09:02:27Z" level=error msg="Metadata for timestamp expired" +time="2024-04-27T09:02:27Z" level=error msg="Metadata for timestamp expired" +--- PASS: TestUpdateNonRootRemoteCorruptedCanUseLocalCache (2.61s) === RUN TestUpdateNonRootRemoteCorruptedCannotUseLocalCache -time="2025-05-30T15:16:17Z" level=error msg="Metadata for targets expired" -time="2025-05-30T15:16:18Z" level=error msg="Metadata for snapshot expired" -time="2025-05-30T15:16:18Z" level=error msg="Metadata for snapshot expired" -time="2025-05-30T15:16:18Z" level=error msg="Metadata for timestamp expired" -time="2025-05-30T15:16:18Z" level=error msg="Metadata for timestamp expired" -time="2025-05-30T15:16:19Z" level=warning msg="Error getting targets/a: valid signatures did not meet threshold for targets/a" -time="2025-05-30T15:16:19Z" level=warning msg="Error getting targets/a: valid signatures did not meet threshold for targets/a" -time="2025-05-30T15:16:19Z" level=warning msg="Error getting targets/a: valid signatures did not meet threshold for targets/a" -time="2025-05-30T15:16:19Z" level=error msg="Metadata for targets/a expired" -time="2025-05-30T15:16:19Z" level=warning msg="Error getting targets/a: targets/a expired at Mon Apr 29 15:16:19 UTC 2024" -time="2025-05-30T15:16:19Z" level=warning msg="Error getting targets/a/b: valid signatures did not meet threshold for targets/a/b" -time="2025-05-30T15:16:19Z" level=warning msg="Error getting targets/a/b: valid signatures did not meet threshold for targets/a/b" -time="2025-05-30T15:16:19Z" level=warning msg="Error getting targets/a/b: valid signatures did not meet threshold for targets/a/b" -time="2025-05-30T15:16:19Z" level=error msg="Metadata for targets/a/b expired" -time="2025-05-30T15:16:19Z" level=warning msg="Error getting targets/a/b: targets/a/b expired at Mon Apr 29 15:16:19 UTC 2024" -time="2025-05-30T15:16:20Z" level=warning msg="Error getting targets/b: valid signatures did not meet threshold for targets/b" -time="2025-05-30T15:16:20Z" level=warning msg="Error getting targets/b: valid signatures did not meet threshold for targets/b" -time="2025-05-30T15:16:20Z" level=warning msg="Error getting targets/b: valid signatures did not meet threshold for targets/b" -time="2025-05-30T15:16:20Z" level=error msg="Metadata for targets/b expired" -time="2025-05-30T15:16:20Z" level=warning msg="Error getting targets/b: targets/b expired at Mon Apr 29 15:16:20 UTC 2024" ---- PASS: TestUpdateNonRootRemoteCorruptedCannotUseLocalCache (3.89s) +time="2024-04-27T09:02:29Z" level=error msg="Metadata for targets expired" +time="2024-04-27T09:02:29Z" level=error msg="Metadata for snapshot expired" +time="2024-04-27T09:02:29Z" level=error msg="Metadata for snapshot expired" +time="2024-04-27T09:02:30Z" level=error msg="Metadata for timestamp expired" +time="2024-04-27T09:02:30Z" level=error msg="Metadata for timestamp expired" +time="2024-04-27T09:02:30Z" level=warning msg="Error getting targets/a: valid signatures did not meet threshold for targets/a" +time="2024-04-27T09:02:30Z" level=warning msg="Error getting targets/a: valid signatures did not meet threshold for targets/a" +time="2024-04-27T09:02:30Z" level=warning msg="Error getting targets/a: valid signatures did not meet threshold for targets/a" +time="2024-04-27T09:02:31Z" level=error msg="Metadata for targets/a expired" +time="2024-04-27T09:02:31Z" level=warning msg="Error getting targets/a: targets/a expired at Sun Mar 26 09:02:30 UTC 2023" +time="2024-04-27T09:02:31Z" level=warning msg="Error getting targets/a/b: valid signatures did not meet threshold for targets/a/b" +time="2024-04-27T09:02:31Z" level=warning msg="Error getting targets/a/b: valid signatures did not meet threshold for targets/a/b" +time="2024-04-27T09:02:31Z" level=warning msg="Error getting targets/a/b: valid signatures did not meet threshold for targets/a/b" +time="2024-04-27T09:02:31Z" level=error msg="Metadata for targets/a/b expired" +time="2024-04-27T09:02:31Z" level=warning msg="Error getting targets/a/b: targets/a/b expired at Sun Mar 26 09:02:31 UTC 2023" +time="2024-04-27T09:02:32Z" level=warning msg="Error getting targets/b: valid signatures did not meet threshold for targets/b" +time="2024-04-27T09:02:32Z" level=warning msg="Error getting targets/b: valid signatures did not meet threshold for targets/b" +time="2024-04-27T09:02:32Z" level=warning msg="Error getting targets/b: valid signatures did not meet threshold for targets/b" +time="2024-04-27T09:02:32Z" level=error msg="Metadata for targets/b expired" +time="2024-04-27T09:02:32Z" level=warning msg="Error getting targets/b: targets/b expired at Sun Mar 26 09:02:32 UTC 2023" +--- PASS: TestUpdateNonRootRemoteCorruptedCannotUseLocalCache (3.98s) === RUN TestUpdateLocalAndRemoteRootCorrupt -time="2025-05-30T15:16:23Z" level=error msg="Metadata for root expired" -time="2025-05-30T15:16:23Z" level=error msg="Metadata for root expired" -time="2025-05-30T15:16:24Z" level=error msg="Metadata for root expired" -time="2025-05-30T15:16:24Z" level=error msg="Metadata for root expired" -time="2025-05-30T15:16:24Z" level=error msg="Metadata for root expired" -time="2025-05-30T15:16:24Z" level=error msg="Metadata for root expired" -time="2025-05-30T15:16:24Z" level=error msg="Metadata for root expired" -time="2025-05-30T15:16:24Z" level=error msg="Metadata for root expired" -time="2025-05-30T15:16:25Z" level=error msg="Metadata for root expired" -time="2025-05-30T15:16:25Z" level=error msg="Metadata for root expired" -time="2025-05-30T15:16:25Z" level=error msg="Metadata for root expired" -time="2025-05-30T15:16:25Z" level=error msg="Metadata for root expired" -time="2025-05-30T15:16:25Z" level=error msg="Metadata for root expired" -time="2025-05-30T15:16:25Z" level=error msg="Metadata for root expired" -time="2025-05-30T15:16:25Z" level=error msg="Metadata for root expired" -time="2025-05-30T15:16:25Z" level=error msg="Metadata for root expired" -time="2025-05-30T15:16:25Z" level=error msg="Metadata for root expired" -time="2025-05-30T15:16:25Z" level=error msg="Metadata for root expired" -time="2025-05-30T15:16:25Z" level=error msg="Metadata for root expired" -time="2025-05-30T15:16:25Z" level=error msg="Metadata for root expired" -time="2025-05-30T15:16:25Z" level=error msg="Metadata for root expired" -time="2025-05-30T15:16:25Z" level=error msg="Metadata for root expired" ---- PASS: TestUpdateLocalAndRemoteRootCorrupt (4.31s) +time="2024-04-27T09:02:35Z" level=error msg="Metadata for root expired" +time="2024-04-27T09:02:35Z" level=error msg="Metadata for root expired" +time="2024-04-27T09:02:36Z" level=error msg="Metadata for root expired" +time="2024-04-27T09:02:36Z" level=error msg="Metadata for root expired" +time="2024-04-27T09:02:36Z" level=error msg="Metadata for root expired" +time="2024-04-27T09:02:36Z" level=error msg="Metadata for root expired" +time="2024-04-27T09:02:36Z" level=error msg="Metadata for root expired" +time="2024-04-27T09:02:36Z" level=error msg="Metadata for root expired" +time="2024-04-27T09:02:36Z" level=error msg="Metadata for root expired" +time="2024-04-27T09:02:37Z" level=error msg="Metadata for root expired" +time="2024-04-27T09:02:37Z" level=error msg="Metadata for root expired" +time="2024-04-27T09:02:37Z" level=error msg="Metadata for root expired" +time="2024-04-27T09:02:37Z" level=error msg="Metadata for root expired" +time="2024-04-27T09:02:37Z" level=error msg="Metadata for root expired" +time="2024-04-27T09:02:37Z" level=error msg="Metadata for root expired" +time="2024-04-27T09:02:37Z" level=error msg="Metadata for root expired" +time="2024-04-27T09:02:37Z" level=error msg="Metadata for root expired" +time="2024-04-27T09:02:37Z" level=error msg="Metadata for root expired" +time="2024-04-27T09:02:37Z" level=error msg="Metadata for root expired" +time="2024-04-27T09:02:37Z" level=error msg="Metadata for root expired" +time="2024-04-27T09:02:37Z" level=error msg="Metadata for root expired" +time="2024-04-27T09:02:37Z" level=error msg="Metadata for root expired" +--- PASS: TestUpdateLocalAndRemoteRootCorrupt (5.41s) === RUN TestUpdateRemoteKeyRotated -time="2025-05-30T15:16:25Z" level=warning msg="Error getting targets/a: valid signatures did not meet threshold for targets/a" -time="2025-05-30T15:16:25Z" level=warning msg="Error getting targets/a/b: valid signatures did not meet threshold for targets/a/b" -time="2025-05-30T15:16:25Z" level=warning msg="Error getting targets/b: valid signatures did not meet threshold for targets/b" ---- PASS: TestUpdateRemoteKeyRotated (0.25s) +time="2024-04-27T09:02:38Z" level=warning msg="Error getting targets/a: valid signatures did not meet threshold for targets/a" +time="2024-04-27T09:02:38Z" level=warning msg="Error getting targets/a/b: valid signatures did not meet threshold for targets/a/b" +time="2024-04-27T09:02:38Z" level=warning msg="Error getting targets/b: valid signatures did not meet threshold for targets/b" +--- PASS: TestUpdateRemoteKeyRotated (0.77s) === RUN TestValidateRootRotationWithOldRole ---- PASS: TestValidateRootRotationWithOldRole (0.14s) +--- PASS: TestValidateRootRotationWithOldRole (0.28s) === RUN TestRootRoleInvariant ---- PASS: TestRootRoleInvariant (0.16s) +--- PASS: TestRootRoleInvariant (0.32s) === RUN TestBadIntermediateTransitions ---- PASS: TestBadIntermediateTransitions (0.06s) +--- PASS: TestBadIntermediateTransitions (0.13s) === RUN TestExpiredIntermediateTransitions -time="2025-05-30T15:16:26Z" level=warning msg="root is nearing expiry, you should re-sign the role metadata" ---- PASS: TestExpiredIntermediateTransitions (0.07s) +time="2024-04-27T09:02:39Z" level=warning msg="root is nearing expiry, you should re-sign the role metadata" +--- PASS: TestExpiredIntermediateTransitions (0.15s) === RUN TestDownloadTargetsLarge ---- PASS: TestDownloadTargetsLarge (5.84s) +--- PASS: TestDownloadTargetsLarge (7.07s) === RUN TestDownloadTargetsDeep ---- PASS: TestDownloadTargetsDeep (0.02s) +--- PASS: TestDownloadTargetsDeep (0.03s) === RUN TestDownloadSnapshotLargeDelegationsMany ---- PASS: TestDownloadSnapshotLargeDelegationsMany (4.52s) +--- PASS: TestDownloadSnapshotLargeDelegationsMany (4.27s) === RUN TestRootOnDiskTrustPinning ---- PASS: TestRootOnDiskTrustPinning (0.03s) +--- PASS: TestRootOnDiskTrustPinning (0.02s) === RUN TestLoadTUFRepoBadURL --- PASS: TestLoadTUFRepoBadURL (0.00s) === RUN TestApplyTargetsChange @@ -2183,7 +2219,7 @@ === RUN TestApplyTargetsDelegationAlreadyExistingMergePaths --- PASS: TestApplyTargetsDelegationAlreadyExistingMergePaths (0.00s) === RUN TestApplyTargetsDelegationInvalidRole ---- PASS: TestApplyTargetsDelegationInvalidRole (0.00s) +--- PASS: TestApplyTargetsDelegationInvalidRole (0.01s) === RUN TestApplyTargetsDelegationInvalidJSONContent --- PASS: TestApplyTargetsDelegationInvalidJSONContent (0.00s) === RUN TestApplyTargetsDelegationInvalidAction @@ -2199,14 +2235,14 @@ === RUN TestApplyChangelistTargetsToMultipleRoles --- PASS: TestApplyChangelistTargetsToMultipleRoles (0.00s) === RUN TestApplyChangelistTargetsFailsNonexistentRole -time="2025-05-30T15:16:36Z" level=error msg="couldn't add target to targets/level1/level2/level3/level4: tuf: invalid role targets/level1/level2/level3/level4. delegation does not exist" -time="2025-05-30T15:16:36Z" level=error msg="couldn't remove target from targets/level1/level2/level3/level4: tuf: invalid role targets/level1/level2/level3/level4. delegation does not exist" +time="2024-04-27T09:02:51Z" level=error msg="couldn't add target to targets/level1/level2/level3/level4: tuf: invalid role targets/level1/level2/level3/level4. delegation does not exist" +time="2024-04-27T09:02:51Z" level=error msg="couldn't remove target from targets/level1/level2/level3/level4: tuf: invalid role targets/level1/level2/level3/level4. delegation does not exist" --- PASS: TestApplyChangelistTargetsFailsNonexistentRole (0.00s) === RUN TestChangeTargetMetaFailsInvalidRole -time="2025-05-30T15:16:36Z" level=error msg="couldn't add target to ruhroh: tuf: invalid role ruhroh. does not exist" +time="2024-04-27T09:02:51Z" level=error msg="couldn't add target to ruhroh: tuf: invalid role ruhroh. does not exist" --- PASS: TestChangeTargetMetaFailsInvalidRole (0.00s) === RUN TestChangeTargetMetaFailsIfPrefixError -time="2025-05-30T15:16:36Z" level=error msg="couldn't add target to targets/level1: Could not add all targets" +time="2024-04-27T09:02:51Z" level=error msg="couldn't add target to targets/level1: Could not add all targets" --- PASS: TestChangeTargetMetaFailsIfPrefixError (0.00s) === RUN TestAllNearExpiry --- PASS: TestAllNearExpiry (0.00s) @@ -2215,7 +2251,7 @@ === RUN TestRotateRemoteKeyOffline --- PASS: TestRotateRemoteKeyOffline (0.00s) PASS -ok github.com/theupdateframework/notary/client 39.392s +ok github.com/theupdateframework/notary/client 50.894s === RUN TestTUFDelegation --- PASS: TestTUFDelegation (0.00s) === RUN TestMemChangelist @@ -2225,16 +2261,16 @@ === RUN TestMemChangelistRemove --- PASS: TestMemChangelistRemove (0.00s) === RUN TestAdd ---- PASS: TestAdd (0.01s) +--- PASS: TestAdd (0.00s) === RUN TestErrorConditions -time="2025-05-30T15:15:57Z" level=warning msg="invalid character '\\x05' looking for beginning of value" +time="2024-04-27T09:02:00Z" level=warning msg="invalid character '\\x05' looking for beginning of value" --- PASS: TestErrorConditions (0.00s) === RUN TestListOrder ---- PASS: TestListOrder (0.04s) +--- PASS: TestListOrder (0.00s) === RUN TestFileChangeIterator ---- PASS: TestFileChangeIterator (0.00s) +--- PASS: TestFileChangeIterator (0.01s) PASS -ok github.com/theupdateframework/notary/client/changelist 0.083s +ok github.com/theupdateframework/notary/client/changelist 0.039s === RUN TestParseConfigError --- PASS: TestParseConfigError (0.00s) === RUN TestSetupGRPCServer @@ -2244,7 +2280,7 @@ === RUN TestSetupNetListener --- PASS: TestSetupNetListener (0.00s) PASS -ok github.com/theupdateframework/notary/cmd/escrow 0.021s +ok github.com/theupdateframework/notary/cmd/escrow 0.052s === RUN TestPurgeDelegationKeys Usage: delegation [command] @@ -2268,13 +2304,13 @@ Use "delegation [command] --help" for more information about a command. Removal of the following keys from all delegations in gun staged for next publish: - abc ---- PASS: TestPurgeDelegationKeys (0.04s) +--- PASS: TestPurgeDelegationKeys (0.00s) === RUN TestAddInvalidDelegationName ---- PASS: TestAddInvalidDelegationName (0.02s) +--- PASS: TestAddInvalidDelegationName (0.00s) === RUN TestAddInvalidDelegationCert ---- PASS: TestAddInvalidDelegationCert (0.03s) +--- PASS: TestAddInvalidDelegationCert (0.02s) === RUN TestAddInvalidShortPubkeyCert ---- PASS: TestAddInvalidShortPubkeyCert (0.00s) +--- PASS: TestAddInvalidShortPubkeyCert (0.01s) === RUN TestRemoveInvalidDelegationName --- PASS: TestRemoveInvalidDelegationName (0.00s) === RUN TestRemoveAllInvalidDelegationName @@ -2290,7 +2326,7 @@ remove Remove KeyID(s) from the specified Role delegation. Use "delegation [command] --help" for more information about a command. ---- PASS: TestAddInvalidNumArgs (0.01s) +--- PASS: TestAddInvalidNumArgs (0.00s) === RUN TestListInvalidNumArgs Usage: delegation [command] @@ -2302,7 +2338,7 @@ remove Remove KeyID(s) from the specified Role delegation. Use "delegation [command] --help" for more information about a command. ---- PASS: TestListInvalidNumArgs (0.01s) +--- PASS: TestListInvalidNumArgs (0.00s) === RUN TestRemoveInvalidNumArgs Usage: delegation [command] @@ -2316,81 +2352,81 @@ Use "delegation [command] --help" for more information about a command. --- PASS: TestRemoveInvalidNumArgs (0.00s) === RUN TestInitWithRootKey ---- PASS: TestInitWithRootKey (0.21s) +--- PASS: TestInitWithRootKey (0.39s) === RUN TestInitWithRootCert ---- PASS: TestInitWithRootCert (0.14s) +--- PASS: TestInitWithRootCert (0.24s) === RUN TestClientTUFInteraction ---- PASS: TestClientTUFInteraction (0.29s) +--- PASS: TestClientTUFInteraction (0.79s) === RUN TestClientDeleteTUFInteraction -time="2025-05-30T15:15:58Z" level=error msg="could not reach https://invalid-server: Get \"https://invalid-server/v2/\": dial tcp: lookup invalid-server on [::1]:53: read udp [::1]:48785->[::1]:53: read: connection refused" ---- PASS: TestClientDeleteTUFInteraction (0.31s) +time="2024-04-27T09:02:02Z" level=error msg="could not reach https://invalid-server: Get \"https://invalid-server/v2/\": dial tcp: lookup invalid-server on [::1]:53: read udp [::1]:59674->[::1]:53: read: connection refused" +--- PASS: TestClientDeleteTUFInteraction (1.25s) === RUN TestClientTUFAddByHashInteraction ---- PASS: TestClientTUFAddByHashInteraction (0.34s) +--- PASS: TestClientTUFAddByHashInteraction (1.08s) === RUN TestClientDelegationsInteraction -time="2025-05-30T15:15:58Z" level=warning msg="role targets/delegation has fewer keys than its threshold of 1; it will not be usable until keys are added to it" -time="2025-05-30T15:15:58Z" level=warning msg="role targets/delegation has fewer keys than its threshold of 1; it will not be usable until keys are added to it" ---- PASS: TestClientDelegationsInteraction (0.88s) +time="2024-04-27T09:02:04Z" level=warning msg="role targets/delegation has fewer keys than its threshold of 1; it will not be usable until keys are added to it" +time="2024-04-27T09:02:04Z" level=warning msg="role targets/delegation has fewer keys than its threshold of 1; it will not be usable until keys are added to it" +--- PASS: TestClientDelegationsInteraction (2.00s) === RUN TestClientDelegationsPublishing ---- PASS: TestClientDelegationsPublishing (0.85s) +--- PASS: TestClientDelegationsPublishing (0.93s) === RUN TestClientKeyGenerationRotation ---- PASS: TestClientKeyGenerationRotation (1.11s) +--- PASS: TestClientKeyGenerationRotation (1.28s) === RUN TestKeyRotation ---- PASS: TestKeyRotation (0.16s) +--- PASS: TestKeyRotation (0.23s) === RUN TestKeyRotationNonRoot ---- PASS: TestKeyRotationNonRoot (0.21s) +--- PASS: TestKeyRotationNonRoot (0.24s) === RUN TestDefaultRootKeyGeneration --- PASS: TestDefaultRootKeyGeneration (0.01s) === RUN TestLogLevelFlags --- PASS: TestLogLevelFlags (0.00s) === RUN TestClientKeyPassphraseChange ---- PASS: TestClientKeyPassphraseChange (0.18s) +--- PASS: TestClientKeyPassphraseChange (0.22s) === RUN TestPurgeSingleKey Removal of the following keys from all delegations in gun staged for next publish: - - c4058fdc944da313fa7dfa738ae6a42673dfb823668a522b242c72e385edd385 ---- PASS: TestPurgeSingleKey (0.17s) + - 23240e5d3902ade5eecf8937100e25145140b79e6e64328adb8db0fa9aa3fe6d +--- PASS: TestPurgeSingleKey (0.23s) === RUN TestWitness -time="2025-05-30T15:16:02Z" level=warning msg="Error getting targets/delegation: valid signatures did not meet threshold for targets/delegation" -time="2025-05-30T15:16:02Z" level=warning msg="Error getting targets/delegation: valid signatures did not meet threshold for targets/delegation" -time="2025-05-30T15:16:02Z" level=warning msg="Error getting targets/delegation: valid signatures did not meet threshold for targets/delegation" -time="2025-05-30T15:16:02Z" level=warning msg="Error getting targets/delegation: valid signatures did not meet threshold for targets/delegation" -time="2025-05-30T15:16:02Z" level=warning msg="role targets/delegation has fewer keys than its threshold of 1; it will not be usable until keys are added to it" -time="2025-05-30T15:16:02Z" level=warning msg="role targets/delegation has fewer keys than its threshold of 1; it will not be usable until keys are added to it" -time="2025-05-30T15:16:02Z" level=warning msg="Error getting targets/delegation: valid signatures did not meet threshold for targets/delegation" ---- PASS: TestWitness (0.51s) +time="2024-04-27T09:02:09Z" level=warning msg="Error getting targets/delegation: valid signatures did not meet threshold for targets/delegation" +time="2024-04-27T09:02:09Z" level=warning msg="Error getting targets/delegation: valid signatures did not meet threshold for targets/delegation" +time="2024-04-27T09:02:09Z" level=warning msg="Error getting targets/delegation: valid signatures did not meet threshold for targets/delegation" +time="2024-04-27T09:02:09Z" level=warning msg="Error getting targets/delegation: valid signatures did not meet threshold for targets/delegation" +time="2024-04-27T09:02:09Z" level=warning msg="role targets/delegation has fewer keys than its threshold of 1; it will not be usable until keys are added to it" +time="2024-04-27T09:02:09Z" level=warning msg="role targets/delegation has fewer keys than its threshold of 1; it will not be usable until keys are added to it" +time="2024-04-27T09:02:09Z" level=warning msg="Error getting targets/delegation: valid signatures did not meet threshold for targets/delegation" +--- PASS: TestWitness (0.72s) === RUN TestClientTUFInitWithAutoPublish -time="2025-05-30T15:16:02Z" level=error msg="could not reach https://notary-server-on-the-moon:12306: Get \"https://notary-server-on-the-moon:12306/v2/\": dial tcp: lookup notary-server-on-the-moon on [::1]:53: read udp [::1]:59820->[::1]:53: read: connection refused" ---- PASS: TestClientTUFInitWithAutoPublish (0.10s) +time="2024-04-27T09:02:09Z" level=error msg="could not reach https://notary-server-on-the-moon:12306: Get \"https://notary-server-on-the-moon:12306/v2/\": dial tcp: lookup notary-server-on-the-moon on [::1]:53: read udp [::1]:60353->[::1]:53: read: connection refused" +--- PASS: TestClientTUFInitWithAutoPublish (0.15s) === RUN TestClientTUFAddWithAutoPublish -time="2025-05-30T15:16:03Z" level=error msg="could not reach https://notary-server:4443: Get \"https://notary-server:4443/v2/\": dial tcp: lookup notary-server on [::1]:53: read udp [::1]:54788->[::1]:53: read: connection refused" -time="2025-05-30T15:16:03Z" level=error msg="Could not publish Repository since we could not update: client is offline" -time="2025-05-30T15:16:03Z" level=error msg="could not reach https://notary-server-on-the-moon:12306: Get \"https://notary-server-on-the-moon:12306/v2/\": dial tcp: lookup notary-server-on-the-moon on [::1]:53: read udp [::1]:35990->[::1]:53: read: connection refused" -time="2025-05-30T15:16:03Z" level=error msg="Could not publish Repository since we could not update: client is offline" ---- PASS: TestClientTUFAddWithAutoPublish (0.26s) +time="2024-04-27T09:02:10Z" level=error msg="could not reach https://notary-server:4443: Get \"https://notary-server:4443/v2/\": dial tcp: lookup notary-server on [::1]:53: read udp [::1]:50129->[::1]:53: read: connection refused" +time="2024-04-27T09:02:10Z" level=error msg="Could not publish Repository since we could not update: client is offline" +time="2024-04-27T09:02:10Z" level=error msg="could not reach https://notary-server-on-the-moon:12306: Get \"https://notary-server-on-the-moon:12306/v2/\": dial tcp: lookup notary-server-on-the-moon on [::1]:53: read udp [::1]:37759->[::1]:53: read: connection refused" +time="2024-04-27T09:02:10Z" level=error msg="Could not publish Repository since we could not update: client is offline" +--- PASS: TestClientTUFAddWithAutoPublish (0.20s) === RUN TestClientTUFRemoveWithAutoPublish ---- PASS: TestClientTUFRemoveWithAutoPublish (0.30s) +--- PASS: TestClientTUFRemoveWithAutoPublish (0.34s) === RUN TestClientDelegationAddWithAutoPublish ---- PASS: TestClientDelegationAddWithAutoPublish (0.26s) +--- PASS: TestClientDelegationAddWithAutoPublish (0.17s) === RUN TestClientDelegationRemoveWithAutoPublish -time="2025-05-30T15:16:03Z" level=warning msg="role targets/delegation has fewer keys than its threshold of 1; it will not be usable until keys are added to it" -time="2025-05-30T15:16:03Z" level=warning msg="role targets/delegation has fewer keys than its threshold of 1; it will not be usable until keys are added to it" ---- PASS: TestClientDelegationRemoveWithAutoPublish (0.24s) +time="2024-04-27T09:02:11Z" level=warning msg="role targets/delegation has fewer keys than its threshold of 1; it will not be usable until keys are added to it" +time="2024-04-27T09:02:11Z" level=warning msg="role targets/delegation has fewer keys than its threshold of 1; it will not be usable until keys are added to it" +--- PASS: TestClientDelegationRemoveWithAutoPublish (0.28s) === RUN TestClientTUFAddByHashWithAutoPublish ---- PASS: TestClientTUFAddByHashWithAutoPublish (0.13s) +--- PASS: TestClientTUFAddByHashWithAutoPublish (0.14s) === RUN TestClientKeyImport -time="2025-05-30T15:16:04Z" level=warning msg="failed to import key to store: Invalid key generated, key may be encrypted and does not contain path header" -time="2025-05-30T15:16:04Z" level=warning msg="failed to import key () to store: Cannot have canonical role key without a gun, don't know what gun it belongs to" ---- PASS: TestClientKeyImport (0.05s) +time="2024-04-27T09:02:11Z" level=warning msg="failed to import key to store: Invalid key generated, key may be encrypted and does not contain path header" +time="2024-04-27T09:02:11Z" level=warning msg="failed to import key () to store: Cannot have canonical role key without a gun, don't know what gun it belongs to" +--- PASS: TestClientKeyImport (0.06s) === RUN TestAddDelImportKeyPublishFlow -time="2025-05-30T15:16:04Z" level=error msg="couldn't add target to targets/releases: could not find necessary signing keys, at least one of these keys must be available: 0570f9fdca00bdaf62f3f79bf84e70748ba2c8bff926f20dd996bac49e6164fc" ---- PASS: TestAddDelImportKeyPublishFlow (0.27s) +time="2024-04-27T09:02:11Z" level=error msg="couldn't add target to targets/releases: could not find necessary signing keys, at least one of these keys must be available: 0570f9fdca00bdaf62f3f79bf84e70748ba2c8bff926f20dd996bac49e6164fc" +--- PASS: TestAddDelImportKeyPublishFlow (0.31s) === RUN TestExportImportFlow ---- PASS: TestExportImportFlow (0.12s) +--- PASS: TestExportImportFlow (0.11s) === RUN TestDelegationKeyImportExport ---- PASS: TestDelegationKeyImportExport (0.02s) +--- PASS: TestDelegationKeyImportExport (0.01s) === RUN TestImportKeysNoYubikey ---- PASS: TestImportKeysNoYubikey (0.02s) +--- PASS: TestImportKeysNoYubikey (0.01s) === RUN TestExportImportKeysNoYubikey ---- PASS: TestExportImportKeysNoYubikey (0.02s) +--- PASS: TestExportImportKeysNoYubikey (0.01s) === RUN TestRemoveIfNoKey --- PASS: TestRemoveIfNoKey (0.00s) === RUN TestRemoveOneKeyAbort @@ -2404,16 +2440,16 @@ === RUN TestRemoveMultikeysRemoveOnlyChosenKey --- PASS: TestRemoveMultikeysRemoveOnlyChosenKey (0.01s) === RUN TestRotateKeyInvalidRoles -time="2025-05-30T15:16:04Z" level=error msg="could not reach https://notary-server:4443: Get \"https://notary-server:4443/v2/\": dial tcp: lookup notary-server on [::1]:53: read udp [::1]:44618->[::1]:53: read: connection refused" -time="2025-05-30T15:16:04Z" level=error msg="could not reach https://notary-server:4443: Get \"https://notary-server:4443/v2/\": dial tcp: lookup notary-server on [::1]:53: read udp [::1]:42424->[::1]:53: read: connection refused" -time="2025-05-30T15:16:04Z" level=error msg="could not reach https://notary-server:4443: Get \"https://notary-server:4443/v2/\": dial tcp: lookup notary-server on [::1]:53: read udp [::1]:36920->[::1]:53: read: connection refused" -time="2025-05-30T15:16:04Z" level=error msg="could not reach https://notary-server:4443: Get \"https://notary-server:4443/v2/\": dial tcp: lookup notary-server on [::1]:53: read udp [::1]:46916->[::1]:53: read: connection refused" ---- PASS: TestRotateKeyInvalidRoles (0.01s) +time="2024-04-27T09:02:11Z" level=error msg="could not reach https://notary-server:4443: Get \"https://notary-server:4443/v2/\": dial tcp: lookup notary-server on [::1]:53: read udp [::1]:51944->[::1]:53: read: connection refused" +time="2024-04-27T09:02:11Z" level=error msg="could not reach https://notary-server:4443: Get \"https://notary-server:4443/v2/\": dial tcp: lookup notary-server on [::1]:53: read udp [::1]:49804->[::1]:53: read: connection refused" +time="2024-04-27T09:02:11Z" level=error msg="could not reach https://notary-server:4443: Get \"https://notary-server:4443/v2/\": dial tcp: lookup notary-server on [::1]:53: read udp [::1]:53321->[::1]:53: read: connection refused" +time="2024-04-27T09:02:11Z" level=error msg="could not reach https://notary-server:4443: Get \"https://notary-server:4443/v2/\": dial tcp: lookup notary-server on [::1]:53: read udp [::1]:52392->[::1]:53: read: connection refused" +--- PASS: TestRotateKeyInvalidRoles (0.00s) === RUN TestRotateKeyTargetCannotBeServerManaged -time="2025-05-30T15:16:04Z" level=error msg="could not reach https://notary-server:4443: Get \"https://notary-server:4443/v2/\": dial tcp: lookup notary-server on [::1]:53: read udp [::1]:42988->[::1]:53: read: connection refused" +time="2024-04-27T09:02:11Z" level=error msg="could not reach https://notary-server:4443: Get \"https://notary-server:4443/v2/\": dial tcp: lookup notary-server on [::1]:53: read udp [::1]:46806->[::1]:53: read: connection refused" --- PASS: TestRotateKeyTargetCannotBeServerManaged (0.00s) === RUN TestRotateKeyTimestampCannotBeLocallyManaged -time="2025-05-30T15:16:04Z" level=error msg="could not reach https://notary-server:4443: Get \"https://notary-server:4443/v2/\": dial tcp: lookup notary-server on [::1]:53: read udp [::1]:43514->[::1]:53: read: connection refused" +time="2024-04-27T09:02:11Z" level=error msg="could not reach https://notary-server:4443: Get \"https://notary-server:4443/v2/\": dial tcp: lookup notary-server on [::1]:53: read udp [::1]:43203->[::1]:53: read: connection refused" --- PASS: TestRotateKeyTimestampCannotBeLocallyManaged (0.00s) === RUN TestRotateKeyNoGUN Usage: @@ -2421,13 +2457,13 @@ === RUN TestRotateKeyRemoteServerManagesKey Successfully rotated snapshot key for repository docker.com/notary Successfully rotated timestamp key for repository docker.com/notary ---- PASS: TestRotateKeyRemoteServerManagesKey (0.17s) +--- PASS: TestRotateKeyRemoteServerManagesKey (0.15s) === RUN TestRotateKeyBothKeys Successfully rotated targets key for repository docker.com/notary Successfully rotated snapshot key for repository docker.com/notary ---- PASS: TestRotateKeyBothKeys (0.10s) +--- PASS: TestRotateKeyBothKeys (0.12s) === RUN TestRotateKeyRootIsInteractive ---- PASS: TestRotateKeyRootIsInteractive (0.04s) +--- PASS: TestRotateKeyRootIsInteractive (0.05s) === RUN TestChangeKeyPassphraseInvalidID --- PASS: TestChangeKeyPassphraseInvalidID (0.00s) === RUN TestChangeKeyPassphraseInvalidNumArgs @@ -2436,7 +2472,7 @@ === RUN TestChangeKeyPassphraseNonexistentID --- PASS: TestChangeKeyPassphraseNonexistentID (0.00s) === RUN TestExportKeys ---- PASS: TestExportKeys (0.01s) +--- PASS: TestExportKeys (0.00s) === RUN TestExportKeysByGUN --- PASS: TestExportKeysByGUN (0.00s) === RUN TestExportKeysByID @@ -2446,7 +2482,7 @@ === RUN TestImportKeysNonexistentFile --- PASS: TestImportKeysNonexistentFile (0.00s) === RUN TestKeyGeneration -time="2025-05-30T15:16:04Z" level=warning msg="failed to import key () to store: Cannot have canonical role key without a gun, don't know what gun it belongs to" +time="2024-04-27T09:02:12Z" level=warning msg="failed to import key () to store: Cannot have canonical role key without a gun, don't know what gun it belongs to" --- PASS: TestKeyGeneration (0.02s) === RUN TestNotaryConfigFileDefault --- PASS: TestNotaryConfigFileDefault (0.00s) @@ -2457,19 +2493,19 @@ === RUN TestRemoteServerCommandLineFlagOverridesConfig --- PASS: TestRemoteServerCommandLineFlagOverridesConfig (0.00s) === RUN TestInvalidAddHashCommands ---- PASS: TestInvalidAddHashCommands (0.00s) +--- PASS: TestInvalidAddHashCommands (0.01s) === RUN TestConfigParsingErrorsPropagatedByCommands --- PASS: TestConfigParsingErrorsPropagatedByCommands (0.01s) === RUN TestInsufficientArgumentsReturnsErrorAndPrintsUsage --- PASS: TestInsufficientArgumentsReturnsErrorAndPrintsUsage (0.02s) === RUN TestBareCommandPrintsUsageAndNoError ---- PASS: TestBareCommandPrintsUsageAndNoError (0.00s) +--- PASS: TestBareCommandPrintsUsageAndNoError (0.01s) === RUN TestConfigFileTLSCannotBeRelativeToCWD --- PASS: TestConfigFileTLSCannotBeRelativeToCWD (0.01s) === RUN TestConfigFileTLSCanBeRelativeToConfigOrAbsolute --- PASS: TestConfigFileTLSCanBeRelativeToConfigOrAbsolute (0.04s) === RUN TestConfigFileOverridenByCmdLineFlags ---- PASS: TestConfigFileOverridenByCmdLineFlags (0.04s) +--- PASS: TestConfigFileOverridenByCmdLineFlags (0.06s) === RUN TestConfigFileTrustPinning --- PASS: TestConfigFileTrustPinning (0.00s) === RUN TestPassphraseRetrieverCaching @@ -2495,10 +2531,10 @@ === RUN TestImportRootCert --- PASS: TestImportRootCert (0.00s) === RUN TestTokenAuth -time="2025-05-30T15:16:05Z" level=error msg="could not reach https://localhost:9999: Get \"https://localhost:9999/v2/\": dial tcp 127.0.0.1:9999: connect: connection refused" ---- PASS: TestTokenAuth (0.00s) +time="2024-04-27T09:02:12Z" level=error msg="could not reach https://localhost:9999: Get \"https://localhost:9999/v2/\": dial tcp 127.0.0.1:9999: connect: connection refused" +--- PASS: TestTokenAuth (0.01s) === RUN TestAdminTokenAuth -time="2025-05-30T15:16:05Z" level=error msg="could not reach https://localhost:9999: Get \"https://localhost:9999/v2/\": dial tcp 127.0.0.1:9999: connect: connection refused" +time="2024-04-27T09:02:12Z" level=error msg="could not reach https://localhost:9999: Get \"https://localhost:9999/v2/\": dial tcp 127.0.0.1:9999: connect: connection refused" --- PASS: TestAdminTokenAuth (0.00s) === RUN TestTokenAuth200Status --- PASS: TestTokenAuth200Status (0.00s) @@ -2509,19 +2545,19 @@ === RUN TestAdminTokenAuth401Status --- PASS: TestAdminTokenAuth401Status (0.00s) === RUN TestTokenAuthNon200Non401Status -time="2025-05-30T15:16:05Z" level=error msg="could not reach http://127.0.0.1:33635: 404" +time="2024-04-27T09:02:12Z" level=error msg="could not reach http://127.0.0.1:37051: 404" --- PASS: TestTokenAuthNon200Non401Status (0.00s) === RUN TestAdminTokenAuthNon200Non401Status -time="2025-05-30T15:16:05Z" level=error msg="could not reach http://127.0.0.1:42361: 404" +time="2024-04-27T09:02:12Z" level=error msg="could not reach http://127.0.0.1:42923: 404" --- PASS: TestAdminTokenAuthNon200Non401Status (0.00s) === RUN TestConfigureRepo ---- PASS: TestConfigureRepo (0.00s) +--- PASS: TestConfigureRepo (0.01s) === RUN TestConfigureRepoRW -Enter username: time="2025-05-30T15:16:05Z" level=error msg="error processing username input: EOF" ---- PASS: TestConfigureRepoRW (0.00s) +Enter username: time="2024-04-27T09:02:12Z" level=error msg="error processing username input: EOF" +--- PASS: TestConfigureRepoRW (0.01s) === RUN TestConfigureRepoAdmin -Enter username: time="2025-05-30T15:16:05Z" level=error msg="error processing username input: EOF" ---- PASS: TestConfigureRepoAdmin (0.01s) +Enter username: time="2024-04-27T09:02:12Z" level=error msg="error processing username input: EOF" +--- PASS: TestConfigureRepoAdmin (0.00s) === RUN TestStatusUnstageAndReset Successfully reset specified changes for repository gun Addition of target "test1" by sha256 hash to repository "gun" staged for next publish. @@ -2533,11 +2569,11 @@ Pushing changes to gun --- PASS: TestGetTrustPinningErrors (0.00s) === RUN TestPasswordStore -Enter username: time="2025-05-30T15:16:05Z" level=error msg="error processing username input: EOF" +Enter username: time="2024-04-27T09:02:12Z" level=error msg="error processing username input: EOF" --- PASS: TestPasswordStore (0.00s) === RUN TestPasswordStoreWithEnvvar -time="2025-05-30T15:16:05Z" level=error msg="Authentication string with zero-length username" -time="2025-05-30T15:16:05Z" level=error msg="Could not base64-decode authentication string" +time="2024-04-27T09:02:12Z" level=error msg="Authentication string with zero-length username" +time="2024-04-27T09:02:12Z" level=error msg="Could not base64-decode authentication string" --- PASS: TestPasswordStoreWithEnvvar (0.00s) === RUN TestGetPayload --- PASS: TestGetPayload (0.00s) @@ -2546,7 +2582,7 @@ === RUN TestHomeExpand --- PASS: TestHomeExpand (0.00s) PASS -ok github.com/theupdateframework/notary/cmd/notary 7.931s +ok github.com/theupdateframework/notary/cmd/notary 12.103s === RUN TestBootstrap --- PASS: TestBootstrap (0.00s) === RUN TestGetAddrAndTLSConfigInvalidTLS @@ -2562,57 +2598,57 @@ === RUN TestGetInvalidTrustService --- PASS: TestGetInvalidTrustService (0.00s) === RUN TestGetLocalTrustService -time="2025-05-30T15:15:57Z" level=info msg="Using local signing service, which requires ED25519. Ignoring all other trust_service parameters, including keyAlgorithm" +time="2024-04-27T09:02:00Z" level=info msg="Using local signing service, which requires ED25519. Ignoring all other trust_service parameters, including keyAlgorithm" --- PASS: TestGetLocalTrustService (0.00s) === RUN TestGetTrustServiceInvalidKeyAlgorithm --- PASS: TestGetTrustServiceInvalidKeyAlgorithm (0.00s) === RUN TestGetTrustServiceTLSMissingCertOrKey --- PASS: TestGetTrustServiceTLSMissingCertOrKey (0.00s) === RUN TestGetTrustServiceNoTLSConfig -time="2025-05-30T15:15:57Z" level=info msg="Using remote signing service" +time="2024-04-27T09:02:00Z" level=info msg="Using remote signing service" --- PASS: TestGetTrustServiceNoTLSConfig (0.00s) === RUN TestGetTrustServiceTLSSuccess -time="2025-05-30T15:15:57Z" level=info msg="Using remote signing service" +time="2024-04-27T09:02:00Z" level=info msg="Using remote signing service" --- PASS: TestGetTrustServiceTLSSuccess (0.00s) === RUN TestGetTrustServiceTLSFailure --- PASS: TestGetTrustServiceTLSFailure (0.00s) === RUN TestGetStoreInvalid -time="2025-05-30T15:15:57Z" level=info msg="Using asdf backend" +time="2024-04-27T09:02:00Z" level=info msg="Using asdf backend" --- PASS: TestGetStoreInvalid (0.00s) === RUN TestGetStoreDBStore -time="2025-05-30T15:15:57Z" level=info msg="Using sqlite3 backend" +time="2024-04-27T09:02:00Z" level=info msg="Using sqlite3 backend" --- PASS: TestGetStoreDBStore (0.02s) === RUN TestGetStoreRethinkDBStoreConnectionFails -time="2025-05-30T15:15:57Z" level=info msg="Using rethinkdb backend" +time="2024-04-27T09:02:00Z" level=info msg="Using rethinkdb backend" --- PASS: TestGetStoreRethinkDBStoreConnectionFails (0.00s) === RUN TestGetMemoryStore -time="2025-05-30T15:15:57Z" level=info msg="Using memory backend" +time="2024-04-27T09:02:00Z" level=info msg="Using memory backend" --- PASS: TestGetMemoryStore (0.00s) === RUN TestGetCacheConfig --- PASS: TestGetCacheConfig (0.00s) === RUN TestGetGUNPRefixes --- PASS: TestGetGUNPRefixes (0.00s) === RUN TestSampleConfig -time="2025-05-30T15:15:57Z" level=info msg="Using remote signing service" -time="2025-05-30T15:15:57Z" level=info msg="Using sqlite3 backend" +time="2024-04-27T09:02:00Z" level=info msg="Using remote signing service" +time="2024-04-27T09:02:00Z" level=info msg="Using sqlite3 backend" --- PASS: TestSampleConfig (0.01s) PASS -ok github.com/theupdateframework/notary/cmd/notary-server 0.088s +ok github.com/theupdateframework/notary/cmd/notary-server 0.103s === RUN TestGetAddrAndTLSConfigInvalidTLS --- PASS: TestGetAddrAndTLSConfigInvalidTLS (0.00s) === RUN TestGetAddrAndTLSConfigNoGRPCAddr ---- PASS: TestGetAddrAndTLSConfigNoGRPCAddr (0.00s) +--- PASS: TestGetAddrAndTLSConfigNoGRPCAddr (0.01s) === RUN TestGetAddrAndTLSConfigSuccess --- PASS: TestGetAddrAndTLSConfigSuccess (0.00s) === RUN TestSetupCryptoServicesDBStoreNoDefaultAlias ---- PASS: TestSetupCryptoServicesDBStoreNoDefaultAlias (0.03s) +--- PASS: TestSetupCryptoServicesDBStoreNoDefaultAlias (0.01s) === RUN TestSetupCryptoServicesRethinkDBStoreNoDefaultAlias --- PASS: TestSetupCryptoServicesRethinkDBStoreNoDefaultAlias (0.00s) === RUN TestSetupCryptoServicesRethinkDBStoreConnectionFails main_test.go:121: DM - skipping malfunctioning test, fails on sbuild --- SKIP: TestSetupCryptoServicesRethinkDBStoreConnectionFails (0.00s) === RUN TestSetupCryptoServicesDBStoreSuccess ---- PASS: TestSetupCryptoServicesDBStoreSuccess (0.10s) +--- PASS: TestSetupCryptoServicesDBStoreSuccess (2.48s) === RUN TestSetupCryptoServicesMemoryStore --- PASS: TestSetupCryptoServicesMemoryStore (0.01s) === RUN TestSetupCryptoServicesInvalidStore @@ -2620,7 +2656,7 @@ === RUN TestSetupGRPCServerInvalidAddress --- PASS: TestSetupGRPCServerInvalidAddress (0.00s) === RUN TestSetupGRPCServerSuccess ---- PASS: TestSetupGRPCServerSuccess (0.00s) +--- PASS: TestSetupGRPCServerSuccess (0.01s) === RUN TestBootstrap --- PASS: TestBootstrap (0.00s) === RUN TestGetEnv @@ -2630,17 +2666,17 @@ === RUN TestSampleConfig --- PASS: TestSampleConfig (0.00s) PASS -ok github.com/theupdateframework/notary/cmd/notary-signer 0.191s +ok github.com/theupdateframework/notary/cmd/notary-signer 2.581s === RUN TestGenerateCertificate ---- PASS: TestGenerateCertificate (0.01s) +--- PASS: TestGenerateCertificate (0.00s) === RUN TestCryptoServiceWithNonEmptyGUN ---- PASS: TestCryptoServiceWithNonEmptyGUN (0.93s) +--- PASS: TestCryptoServiceWithNonEmptyGUN (1.66s) === RUN TestCryptoServiceWithEmptyGUN ---- PASS: TestCryptoServiceWithEmptyGUN (0.68s) +--- PASS: TestCryptoServiceWithEmptyGUN (1.70s) === RUN TestCryptoSignerInterfaceBehavior --- PASS: TestCryptoSignerInterfaceBehavior (0.00s) PASS -ok github.com/theupdateframework/notary/cryptoservice 1.664s +ok github.com/theupdateframework/notary/cryptoservice 3.416s === RUN TestGetPassphraseForUsingDelegationKey --- PASS: TestGetPassphraseForUsingDelegationKey (0.00s) === RUN TestGetPassphraseLimitsShortPassphrases @@ -2656,142 +2692,142 @@ === RUN TestGetPassphrase --- PASS: TestGetPassphrase (0.00s) PASS -ok github.com/theupdateframework/notary/passphrase 0.020s +ok github.com/theupdateframework/notary/passphrase 0.039s === RUN TestValidationErrorFormat -time="2025-05-30T15:15:57Z" level=info msg="invalid update: Update sent by the client is invalid.: &{ErrBadHierarchy Metadata hierarchy is incomplete: no snapshot was included in update and server does not hold current snapshot key for repository}" go.version=go1.22.2 http.request.contenttype="multipart/form-data; boundary=876f6539f84cc367f65c48507a50f2d0a891ae9a7dabfe1aae4f8fc383ec" http.request.host="127.0.0.1:43997" http.request.id=80f5dbb7-df87-48ca-be17-c7b1f46b251a http.request.method=POST http.request.remoteaddr="127.0.0.1:35872" http.request.uri=/v2/docker.com/notary/_trust/tuf/ http.request.useragent=Go-http-client/1.1 -time="2025-05-30T15:15:57Z" level=info msg="response completed" go.version=go1.22.2 http.request.contenttype="multipart/form-data; boundary=876f6539f84cc367f65c48507a50f2d0a891ae9a7dabfe1aae4f8fc383ec" http.request.host="127.0.0.1:43997" http.request.id=80f5dbb7-df87-48ca-be17-c7b1f46b251a http.request.method=POST http.request.remoteaddr="127.0.0.1:35872" http.request.uri=/v2/docker.com/notary/_trust/tuf/ http.request.useragent=Go-http-client/1.1 http.response.contenttype="application/json; charset=utf-8" http.response.duration=5.000935ms http.response.status=400 http.response.written=260 ---- PASS: TestValidationErrorFormat (0.03s) +time="2024-04-27T09:02:00Z" level=info msg="invalid update: Update sent by the client is invalid.: &{ErrBadHierarchy Metadata hierarchy is incomplete: no snapshot was included in update and server does not hold current snapshot key for repository}" go.version=go1.22.2 http.request.contenttype="multipart/form-data; boundary=22207bda484aa01452fd024befceb98837797843c148ca9f961fc41797dc" http.request.host="127.0.0.1:37675" http.request.id=b2bb5f5e-10b5-4b0a-849d-9406ab1230f4 http.request.method=POST http.request.remoteaddr="127.0.0.1:42776" http.request.uri=/v2/docker.com/notary/_trust/tuf/ http.request.useragent=Go-http-client/1.1 +time="2024-04-27T09:02:00Z" level=info msg="response completed" go.version=go1.22.2 http.request.contenttype="multipart/form-data; boundary=22207bda484aa01452fd024befceb98837797843c148ca9f961fc41797dc" http.request.host="127.0.0.1:37675" http.request.id=b2bb5f5e-10b5-4b0a-849d-9406ab1230f4 http.request.method=POST http.request.remoteaddr="127.0.0.1:42776" http.request.uri=/v2/docker.com/notary/_trust/tuf/ http.request.useragent=Go-http-client/1.1 http.response.contenttype="application/json; charset=utf-8" http.response.duration=4.047013ms http.response.status=400 http.response.written=260 +--- PASS: TestValidationErrorFormat (0.07s) === RUN TestRunBadAddr --- PASS: TestRunBadAddr (0.00s) === RUN TestRunReservedPort --- PASS: TestRunReservedPort (0.00s) === RUN TestRepoPrefixMatches -time="2025-05-30T15:15:57Z" level=info msg="updated docker.io/notary to timestamp version 1, checksum f4e220b7ccf9391366d0288aada701384ec287f29fa684c85317aa7a0f8decee" docker.io/notary=gun go.version=go1.22.2 http.request.contenttype="multipart/form-data; boundary=2e3dc86d53345678f45142ea832d747200ccfe81289f3ba5dd2e7e66005b" http.request.host="127.0.0.1:46123" http.request.id=6c9cbdf1-f7a2-4138-a57c-a74a31b53fab http.request.method=POST http.request.remoteaddr="127.0.0.1:47114" http.request.uri=/v2/docker.io/notary/_trust/tuf/ http.request.useragent=Go-http-client/1.1 -time="2025-05-30T15:15:57Z" level=info msg="response completed" go.version=go1.22.2 http.request.contenttype="multipart/form-data; boundary=2e3dc86d53345678f45142ea832d747200ccfe81289f3ba5dd2e7e66005b" http.request.host="127.0.0.1:46123" http.request.id=6c9cbdf1-f7a2-4138-a57c-a74a31b53fab http.request.method=POST http.request.remoteaddr="127.0.0.1:47114" http.request.uri=/v2/docker.io/notary/_trust/tuf/ http.request.useragent=Go-http-client/1.1 http.response.duration=4.917195ms http.response.status=0 http.response.written=0 -time="2025-05-30T15:15:57Z" level=info msg="response completed" go.version=go1.22.2 http.request.host="127.0.0.1:46123" http.request.id=dc618033-1836-4685-afa4-2a35e00eced4 http.request.method=GET http.request.remoteaddr="127.0.0.1:47114" http.request.uri=/v2/docker.io/notary/_trust/tuf/snapshot.json http.request.useragent=Go-http-client/1.1 http.response.duration=1.048663ms http.response.status=200 http.response.written=683 -time="2025-05-30T15:15:57Z" level=info msg="response completed" go.version=go1.22.2 http.request.host="127.0.0.1:46123" http.request.id=c20669fd-5d2d-497c-9a87-4589c7e1e12e http.request.method=GET http.request.remoteaddr="127.0.0.1:47114" http.request.uri=/v2/docker.io/notary/_trust/tuf/snapshot.63266370e3e3b240727a64b7f5e907ad67016c07470c33fa960e32cc2104bd73.json http.request.useragent=Go-http-client/1.1 http.response.duration="67.702µs" http.response.status=200 http.response.written=683 -time="2025-05-30T15:15:57Z" level=info msg="response completed" go.version=go1.22.2 http.request.host="127.0.0.1:46123" http.request.id=5285490b-14da-4be2-b3cf-d45978dcffb1 http.request.method=GET http.request.remoteaddr="127.0.0.1:47114" http.request.uri=/v2/docker.io/notary/_trust/tuf/timestamp.key http.request.useragent=Go-http-client/1.1 http.response.duration="714.135µs" http.response.status=200 http.response.written=181 -time="2025-05-30T15:15:57Z" level=info msg="trust data deleted for docker.io/notary" docker.io/notary=gun go.version=go1.22.2 http.request.host="127.0.0.1:46123" http.request.id=6a08fb12-988f-4673-bd8b-26cd31d60fa7 http.request.method=DELETE http.request.remoteaddr="127.0.0.1:47114" http.request.uri=/v2/docker.io/notary/_trust/tuf/ http.request.useragent=Go-http-client/1.1 -time="2025-05-30T15:15:57Z" level=info msg="response completed" go.version=go1.22.2 http.request.host="127.0.0.1:46123" http.request.id=6a08fb12-988f-4673-bd8b-26cd31d60fa7 http.request.method=DELETE http.request.remoteaddr="127.0.0.1:47114" http.request.uri=/v2/docker.io/notary/_trust/tuf/ http.request.useragent=Go-http-client/1.1 http.response.duration="129.345µs" http.response.status=0 http.response.written=0 ---- PASS: TestRepoPrefixMatches (0.03s) +time="2024-04-27T09:02:00Z" level=info msg="updated docker.io/notary to timestamp version 1, checksum 9297436bd1dfaea10e9b5b9e8224a18e50853aaa5b09e06fdb84337a6b7c858d" docker.io/notary=gun go.version=go1.22.2 http.request.contenttype="multipart/form-data; boundary=a0daafc081e3e51e9c971577a6ec6c8d13cd4eaaa91408f66ceaa0e9c104" http.request.host="127.0.0.1:39987" http.request.id=be2576ae-3581-4b70-bfb3-5d43c26d5ed0 http.request.method=POST http.request.remoteaddr="127.0.0.1:49812" http.request.uri=/v2/docker.io/notary/_trust/tuf/ http.request.useragent=Go-http-client/1.1 +time="2024-04-27T09:02:00Z" level=info msg="response completed" go.version=go1.22.2 http.request.contenttype="multipart/form-data; boundary=a0daafc081e3e51e9c971577a6ec6c8d13cd4eaaa91408f66ceaa0e9c104" http.request.host="127.0.0.1:39987" http.request.id=be2576ae-3581-4b70-bfb3-5d43c26d5ed0 http.request.method=POST http.request.remoteaddr="127.0.0.1:49812" http.request.uri=/v2/docker.io/notary/_trust/tuf/ http.request.useragent=Go-http-client/1.1 http.response.duration=4.892019ms http.response.status=0 http.response.written=0 +time="2024-04-27T09:02:00Z" level=info msg="response completed" go.version=go1.22.2 http.request.host="127.0.0.1:39987" http.request.id=ed03e103-1179-4f4c-a624-211bc7f798f6 http.request.method=GET http.request.remoteaddr="127.0.0.1:49812" http.request.uri=/v2/docker.io/notary/_trust/tuf/snapshot.json http.request.useragent=Go-http-client/1.1 http.response.duration="531.768µs" http.response.status=200 http.response.written=683 +time="2024-04-27T09:02:00Z" level=info msg="response completed" go.version=go1.22.2 http.request.host="127.0.0.1:39987" http.request.id=a3a3fd8f-f2ff-4beb-8f71-02940105398b http.request.method=GET http.request.remoteaddr="127.0.0.1:49812" http.request.uri=/v2/docker.io/notary/_trust/tuf/snapshot.a1d1b768abb0cd33212484b78817708c4573ab564e8d6dd39b49806d9d32faf8.json http.request.useragent=Go-http-client/1.1 http.response.duration="80.017µs" http.response.status=200 http.response.written=683 +time="2024-04-27T09:02:00Z" level=info msg="response completed" go.version=go1.22.2 http.request.host="127.0.0.1:39987" http.request.id=e2444394-994d-471f-bb0e-9f89dcc5e2a1 http.request.method=GET http.request.remoteaddr="127.0.0.1:49812" http.request.uri=/v2/docker.io/notary/_trust/tuf/timestamp.key http.request.useragent=Go-http-client/1.1 http.response.duration="644.679µs" http.response.status=200 http.response.written=181 +time="2024-04-27T09:02:00Z" level=info msg="trust data deleted for docker.io/notary" docker.io/notary=gun go.version=go1.22.2 http.request.host="127.0.0.1:39987" http.request.id=32c81261-af30-4687-be8c-9c13dfd9b394 http.request.method=DELETE http.request.remoteaddr="127.0.0.1:49812" http.request.uri=/v2/docker.io/notary/_trust/tuf/ http.request.useragent=Go-http-client/1.1 +time="2024-04-27T09:02:00Z" level=info msg="response completed" go.version=go1.22.2 http.request.host="127.0.0.1:39987" http.request.id=32c81261-af30-4687-be8c-9c13dfd9b394 http.request.method=DELETE http.request.remoteaddr="127.0.0.1:49812" http.request.uri=/v2/docker.io/notary/_trust/tuf/ http.request.useragent=Go-http-client/1.1 http.response.duration="80.87µs" http.response.status=0 http.response.written=0 +--- PASS: TestRepoPrefixMatches (0.02s) === RUN TestRepoPrefixDoesNotMatch ---- PASS: TestRepoPrefixDoesNotMatch (0.02s) +--- PASS: TestRepoPrefixDoesNotMatch (0.01s) === RUN TestMetricsEndpoint --- PASS: TestMetricsEndpoint (0.02s) === RUN TestGetKeysEndpoint -time="2025-05-30T15:15:57Z" level=info msg="metadata not found: You have requested metadata that does not exist.: " go.version=go1.22.2 http.request.host="127.0.0.1:33599" http.request.id=cd06372e-153b-4ff9-a23d-3958602cd7ff http.request.method=GET http.request.remoteaddr="127.0.0.1:54296" http.request.uri=/v2/gun/_trust/tuf/somerandomrole.key http.request.useragent=Go-http-client/1.1 -time="2025-05-30T15:15:57Z" level=info msg="response completed" go.version=go1.22.2 http.request.host="127.0.0.1:33599" http.request.id=cd06372e-153b-4ff9-a23d-3958602cd7ff http.request.method=GET http.request.remoteaddr="127.0.0.1:54296" http.request.uri=/v2/gun/_trust/tuf/somerandomrole.key http.request.useragent=Go-http-client/1.1 http.response.contenttype="application/json; charset=utf-8" http.response.duration="171.764µs" http.response.status=404 http.response.written=104 -time="2025-05-30T15:15:57Z" level=info msg="response completed" go.version=go1.22.2 http.request.host="127.0.0.1:33599" http.request.id=36b593e2-11b8-474a-ae4e-5dfeff937ea5 http.request.method=GET http.request.remoteaddr="127.0.0.1:54308" http.request.uri=/v2/gun/_trust/tuf/timestamp.key http.request.useragent=Go-http-client/1.1 http.response.duration=2.572688ms http.response.status=200 http.response.written=103 -time="2025-05-30T15:15:57Z" level=info msg="response completed" go.version=go1.22.2 http.request.host="127.0.0.1:33599" http.request.id=6c671ad7-8a6a-48bc-83a8-2aa9ba5fedbd http.request.method=GET http.request.remoteaddr="127.0.0.1:54318" http.request.uri=/v2/gun/_trust/tuf/snapshot.key http.request.useragent=Go-http-client/1.1 http.response.duration="154.952µs" http.response.status=200 http.response.written=103 -time="2025-05-30T15:15:57Z" level=info msg="metadata not found: You have requested metadata that does not exist.: " go.version=go1.22.2 http.request.host="127.0.0.1:33599" http.request.id=482626c8-4b6e-49c8-80e4-898e680d733a http.request.method=GET http.request.remoteaddr="127.0.0.1:54322" http.request.uri=/v2/gun/_trust/tuf/targets.key http.request.useragent=Go-http-client/1.1 -time="2025-05-30T15:15:57Z" level=info msg="response completed" go.version=go1.22.2 http.request.host="127.0.0.1:33599" http.request.id=482626c8-4b6e-49c8-80e4-898e680d733a http.request.method=GET http.request.remoteaddr="127.0.0.1:54322" http.request.uri=/v2/gun/_trust/tuf/targets.key http.request.useragent=Go-http-client/1.1 http.response.contenttype="application/json; charset=utf-8" http.response.duration="128.185µs" http.response.status=404 http.response.written=104 -time="2025-05-30T15:15:57Z" level=info msg="metadata not found: You have requested metadata that does not exist.: " go.version=go1.22.2 http.request.host="127.0.0.1:33599" http.request.id=6328db9b-5bc5-479a-8fe7-11326cdffd77 http.request.method=GET http.request.remoteaddr="127.0.0.1:54324" http.request.uri=/v2/gun/_trust/tuf/root.key http.request.useragent=Go-http-client/1.1 -time="2025-05-30T15:15:57Z" level=info msg="response completed" go.version=go1.22.2 http.request.host="127.0.0.1:33599" http.request.id=6328db9b-5bc5-479a-8fe7-11326cdffd77 http.request.method=GET http.request.remoteaddr="127.0.0.1:54324" http.request.uri=/v2/gun/_trust/tuf/root.key http.request.useragent=Go-http-client/1.1 http.response.contenttype="application/json; charset=utf-8" http.response.duration="82.022µs" http.response.status=404 http.response.written=104 ---- PASS: TestGetKeysEndpoint (0.01s) +time="2024-04-27T09:02:00Z" level=info msg="metadata not found: You have requested metadata that does not exist.: " go.version=go1.22.2 http.request.host="127.0.0.1:35035" http.request.id=04f44fad-3bf3-4c84-b4ee-8f74674ae7c0 http.request.method=GET http.request.remoteaddr="127.0.0.1:36126" http.request.uri=/v2/gun/_trust/tuf/somerandomrole.key http.request.useragent=Go-http-client/1.1 +time="2024-04-27T09:02:00Z" level=info msg="response completed" go.version=go1.22.2 http.request.host="127.0.0.1:35035" http.request.id=04f44fad-3bf3-4c84-b4ee-8f74674ae7c0 http.request.method=GET http.request.remoteaddr="127.0.0.1:36126" http.request.uri=/v2/gun/_trust/tuf/somerandomrole.key http.request.useragent=Go-http-client/1.1 http.response.contenttype="application/json; charset=utf-8" http.response.duration="361.993µs" http.response.status=404 http.response.written=104 +time="2024-04-27T09:02:00Z" level=info msg="response completed" go.version=go1.22.2 http.request.host="127.0.0.1:35035" http.request.id=64149d3d-cab3-4b25-9828-02d01fa3a8bf http.request.method=GET http.request.remoteaddr="127.0.0.1:36130" http.request.uri=/v2/gun/_trust/tuf/timestamp.key http.request.useragent=Go-http-client/1.1 http.response.duration=5.100946ms http.response.status=200 http.response.written=103 +time="2024-04-27T09:02:00Z" level=info msg="response completed" go.version=go1.22.2 http.request.host="127.0.0.1:35035" http.request.id=a14488bf-c610-4cea-9799-23eb8ce21843 http.request.method=GET http.request.remoteaddr="127.0.0.1:36138" http.request.uri=/v2/gun/_trust/tuf/snapshot.key http.request.useragent=Go-http-client/1.1 http.response.duration="191.24µs" http.response.status=200 http.response.written=103 +time="2024-04-27T09:02:00Z" level=info msg="metadata not found: You have requested metadata that does not exist.: " go.version=go1.22.2 http.request.host="127.0.0.1:35035" http.request.id=da8903b1-ca2e-45d0-bff0-5b9752fb7041 http.request.method=GET http.request.remoteaddr="127.0.0.1:36148" http.request.uri=/v2/gun/_trust/tuf/targets.key http.request.useragent=Go-http-client/1.1 +time="2024-04-27T09:02:00Z" level=info msg="response completed" go.version=go1.22.2 http.request.host="127.0.0.1:35035" http.request.id=da8903b1-ca2e-45d0-bff0-5b9752fb7041 http.request.method=GET http.request.remoteaddr="127.0.0.1:36148" http.request.uri=/v2/gun/_trust/tuf/targets.key http.request.useragent=Go-http-client/1.1 http.response.contenttype="application/json; charset=utf-8" http.response.duration="114.188µs" http.response.status=404 http.response.written=104 +time="2024-04-27T09:02:00Z" level=info msg="metadata not found: You have requested metadata that does not exist.: " go.version=go1.22.2 http.request.host="127.0.0.1:35035" http.request.id=03d5a793-02a4-4980-acd9-14e4e6a3e081 http.request.method=GET http.request.remoteaddr="127.0.0.1:36158" http.request.uri=/v2/gun/_trust/tuf/root.key http.request.useragent=Go-http-client/1.1 +time="2024-04-27T09:02:00Z" level=info msg="response completed" go.version=go1.22.2 http.request.host="127.0.0.1:35035" http.request.id=03d5a793-02a4-4980-acd9-14e4e6a3e081 http.request.method=GET http.request.remoteaddr="127.0.0.1:36158" http.request.uri=/v2/gun/_trust/tuf/root.key http.request.useragent=Go-http-client/1.1 http.response.contenttype="application/json; charset=utf-8" http.response.duration="92.651µs" http.response.status=404 http.response.written=104 +--- PASS: TestGetKeysEndpoint (0.02s) === RUN TestGetRoleByHash -time="2025-05-30T15:15:57Z" level=info msg="response completed" go.version=go1.22.2 http.request.host="127.0.0.1:41251" http.request.id=778ff432-16cb-4423-add6-93e2fd29623d http.request.method=GET http.request.remoteaddr="127.0.0.1:54602" http.request.uri=/v2/gun/_trust/tuf/timestamp.5f0e6d1e352c7ddbd8686120cd9d614f5907dc69451a91fcc03907d93a924d9c.json http.request.useragent=Go-http-client/1.1 http.response.duration="107.451µs" http.response.status=200 http.response.written=115 ---- PASS: TestGetRoleByHash (0.01s) +time="2024-04-27T09:02:00Z" level=info msg="response completed" go.version=go1.22.2 http.request.host="127.0.0.1:37187" http.request.id=1a9830bf-fd94-4eaa-a26a-8285486e6b74 http.request.method=GET http.request.remoteaddr="127.0.0.1:47632" http.request.uri=/v2/gun/_trust/tuf/timestamp.4de7395414c4a26bbd205eeeb9630b403783baf299081aca05fb82e158401d2c.json http.request.useragent=Go-http-client/1.1 http.response.duration="114.534µs" http.response.status=200 http.response.written=115 +--- PASS: TestGetRoleByHash (0.00s) === RUN TestGetRoleByVersion -time="2025-05-30T15:15:57Z" level=info msg="response completed" go.version=go1.22.2 http.request.host="127.0.0.1:43149" http.request.id=f10794bf-c9cb-4ff4-86de-3ee897ed5e7e http.request.method=GET http.request.remoteaddr="127.0.0.1:52454" http.request.uri=/v2/gun/_trust/tuf/1.timestamp.json http.request.useragent=Go-http-client/1.1 http.response.duration="309.339µs" http.response.status=200 http.response.written=115 ---- PASS: TestGetRoleByVersion (0.02s) +time="2024-04-27T09:02:00Z" level=info msg="response completed" go.version=go1.22.2 http.request.host="127.0.0.1:39469" http.request.id=e13f9fd5-fb05-428e-9be7-3263a14e4e8d http.request.method=GET http.request.remoteaddr="127.0.0.1:49390" http.request.uri=/v2/gun/_trust/tuf/1.timestamp.json http.request.useragent=Go-http-client/1.1 http.response.duration="114.995µs" http.response.status=200 http.response.written=114 +--- PASS: TestGetRoleByVersion (0.01s) === RUN TestGetCurrentRole -time="2025-05-30T15:15:57Z" level=info msg="response completed" go.version=go1.22.2 http.request.host="127.0.0.1:35385" http.request.id=85cffe0e-5578-409e-8c73-48cbeccf245e http.request.method=GET http.request.remoteaddr="127.0.0.1:33918" http.request.uri=/v2/gun/_trust/tuf/timestamp.json http.request.useragent=Go-http-client/1.1 http.response.duration="591.191µs" http.response.status=200 http.response.written=495 +time="2024-04-27T09:02:00Z" level=info msg="response completed" go.version=go1.22.2 http.request.host="127.0.0.1:37957" http.request.id=3e354b1c-ad26-42dd-a3d5-08326f8c987c http.request.method=GET http.request.remoteaddr="127.0.0.1:33014" http.request.uri=/v2/gun/_trust/tuf/timestamp.json http.request.useragent=Go-http-client/1.1 http.response.duration="868.603µs" http.response.status=200 http.response.written=495 --- PASS: TestGetCurrentRole (0.02s) === RUN TestRotateKeyEndpoint -time="2025-05-30T15:15:57Z" level=info msg="metadata not found: You have requested metadata that does not exist.: " go.version=go1.22.2 http.request.contenttype=text/plain http.request.host="127.0.0.1:40041" http.request.id=e8c518aa-e4af-4d66-96d9-5665b76c345d http.request.method=POST http.request.remoteaddr="127.0.0.1:51744" http.request.uri=/v2/gun/_trust/tuf/targets/delegation.key http.request.useragent=Go-http-client/1.1 -time="2025-05-30T15:15:57Z" level=info msg="response completed" go.version=go1.22.2 http.request.contenttype=text/plain http.request.host="127.0.0.1:40041" http.request.id=e8c518aa-e4af-4d66-96d9-5665b76c345d http.request.method=POST http.request.remoteaddr="127.0.0.1:51744" http.request.uri=/v2/gun/_trust/tuf/targets/delegation.key http.request.useragent=Go-http-client/1.1 http.response.contenttype="application/json; charset=utf-8" http.response.duration="177.074µs" http.response.status=404 http.response.written=104 -time="2025-05-30T15:15:57Z" level=info msg="metadata not found: You have requested metadata that does not exist.: " go.version=go1.22.2 http.request.contenttype=text/plain http.request.host="127.0.0.1:40041" http.request.id=93cbeaf6-f60d-4e64-95fb-36b5553352e7 http.request.method=POST http.request.remoteaddr="127.0.0.1:51754" http.request.uri=/v2/gun/_trust/tuf/somerandomrole.key http.request.useragent=Go-http-client/1.1 -time="2025-05-30T15:15:57Z" level=info msg="response completed" go.version=go1.22.2 http.request.contenttype=text/plain http.request.host="127.0.0.1:40041" http.request.id=93cbeaf6-f60d-4e64-95fb-36b5553352e7 http.request.method=POST http.request.remoteaddr="127.0.0.1:51754" http.request.uri=/v2/gun/_trust/tuf/somerandomrole.key http.request.useragent=Go-http-client/1.1 http.response.contenttype="application/json; charset=utf-8" http.response.duration="108.538µs" http.response.status=404 http.response.written=104 -time="2025-05-30T15:15:57Z" level=info msg="response completed" go.version=go1.22.2 http.request.contenttype=text/plain http.request.host="127.0.0.1:40041" http.request.id=4967bc07-11c0-40b8-a4ef-6842e5755e65 http.request.method=POST http.request.remoteaddr="127.0.0.1:51766" http.request.uri=/v2/gun/_trust/tuf/timestamp.key http.request.useragent=Go-http-client/1.1 http.response.duration="172.213µs" http.response.status=200 http.response.written=103 -time="2025-05-30T15:15:57Z" level=info msg="response completed" go.version=go1.22.2 http.request.contenttype=text/plain http.request.host="127.0.0.1:40041" http.request.id=2137e36c-32d6-4698-9fcc-5fc9a1a820f0 http.request.method=POST http.request.remoteaddr="127.0.0.1:51772" http.request.uri=/v2/gun/_trust/tuf/snapshot.key http.request.useragent=Go-http-client/1.1 http.response.duration="137.268µs" http.response.status=200 http.response.written=103 -time="2025-05-30T15:15:57Z" level=info msg="metadata not found: You have requested metadata that does not exist.: " go.version=go1.22.2 http.request.contenttype=text/plain http.request.host="127.0.0.1:40041" http.request.id=b8b9bef7-35d2-4ade-af98-9f2e2c34d66a http.request.method=POST http.request.remoteaddr="127.0.0.1:51782" http.request.uri=/v2/gun/_trust/tuf/targets.key http.request.useragent=Go-http-client/1.1 -time="2025-05-30T15:15:57Z" level=info msg="response completed" go.version=go1.22.2 http.request.contenttype=text/plain http.request.host="127.0.0.1:40041" http.request.id=b8b9bef7-35d2-4ade-af98-9f2e2c34d66a http.request.method=POST http.request.remoteaddr="127.0.0.1:51782" http.request.uri=/v2/gun/_trust/tuf/targets.key http.request.useragent=Go-http-client/1.1 http.response.contenttype="application/json; charset=utf-8" http.response.duration="127.366µs" http.response.status=404 http.response.written=104 -time="2025-05-30T15:15:57Z" level=info msg="metadata not found: You have requested metadata that does not exist.: " go.version=go1.22.2 http.request.contenttype=text/plain http.request.host="127.0.0.1:40041" http.request.id=7f9f9ef2-971f-443a-92d6-963c42b5ecd7 http.request.method=POST http.request.remoteaddr="127.0.0.1:51798" http.request.uri=/v2/gun/_trust/tuf/root.key http.request.useragent=Go-http-client/1.1 -time="2025-05-30T15:15:57Z" level=info msg="response completed" go.version=go1.22.2 http.request.contenttype=text/plain http.request.host="127.0.0.1:40041" http.request.id=7f9f9ef2-971f-443a-92d6-963c42b5ecd7 http.request.method=POST http.request.remoteaddr="127.0.0.1:51798" http.request.uri=/v2/gun/_trust/tuf/root.key http.request.useragent=Go-http-client/1.1 http.response.contenttype="application/json; charset=utf-8" http.response.duration="91.981µs" http.response.status=404 http.response.written=104 ---- PASS: TestRotateKeyEndpoint (0.02s) +time="2024-04-27T09:02:00Z" level=info msg="metadata not found: You have requested metadata that does not exist.: " go.version=go1.22.2 http.request.contenttype=text/plain http.request.host="127.0.0.1:46637" http.request.id=76565942-e056-4637-b9cd-4e1900018ba1 http.request.method=POST http.request.remoteaddr="127.0.0.1:48778" http.request.uri=/v2/gun/_trust/tuf/targets/delegation.key http.request.useragent=Go-http-client/1.1 +time="2024-04-27T09:02:00Z" level=info msg="response completed" go.version=go1.22.2 http.request.contenttype=text/plain http.request.host="127.0.0.1:46637" http.request.id=76565942-e056-4637-b9cd-4e1900018ba1 http.request.method=POST http.request.remoteaddr="127.0.0.1:48778" http.request.uri=/v2/gun/_trust/tuf/targets/delegation.key http.request.useragent=Go-http-client/1.1 http.response.contenttype="application/json; charset=utf-8" http.response.duration="231.26µs" http.response.status=404 http.response.written=104 +time="2024-04-27T09:02:00Z" level=info msg="metadata not found: You have requested metadata that does not exist.: " go.version=go1.22.2 http.request.contenttype=text/plain http.request.host="127.0.0.1:46637" http.request.id=82abe22f-4b23-4187-ba0f-402accadf73b http.request.method=POST http.request.remoteaddr="127.0.0.1:48786" http.request.uri=/v2/gun/_trust/tuf/somerandomrole.key http.request.useragent=Go-http-client/1.1 +time="2024-04-27T09:02:00Z" level=info msg="response completed" go.version=go1.22.2 http.request.contenttype=text/plain http.request.host="127.0.0.1:46637" http.request.id=82abe22f-4b23-4187-ba0f-402accadf73b http.request.method=POST http.request.remoteaddr="127.0.0.1:48786" http.request.uri=/v2/gun/_trust/tuf/somerandomrole.key http.request.useragent=Go-http-client/1.1 http.response.contenttype="application/json; charset=utf-8" http.response.duration="157.244µs" http.response.status=404 http.response.written=104 +time="2024-04-27T09:02:00Z" level=info msg="response completed" go.version=go1.22.2 http.request.contenttype=text/plain http.request.host="127.0.0.1:46637" http.request.id=48c80f4d-8a70-4882-b79d-551470113777 http.request.method=POST http.request.remoteaddr="127.0.0.1:48794" http.request.uri=/v2/gun/_trust/tuf/timestamp.key http.request.useragent=Go-http-client/1.1 http.response.duration="407.941µs" http.response.status=200 http.response.written=103 +time="2024-04-27T09:02:00Z" level=info msg="response completed" go.version=go1.22.2 http.request.contenttype=text/plain http.request.host="127.0.0.1:46637" http.request.id=fc8ae661-632c-4d5c-96a7-df94a77e8d63 http.request.method=POST http.request.remoteaddr="127.0.0.1:48802" http.request.uri=/v2/gun/_trust/tuf/snapshot.key http.request.useragent=Go-http-client/1.1 http.response.duration="157.472µs" http.response.status=200 http.response.written=103 +time="2024-04-27T09:02:00Z" level=info msg="metadata not found: You have requested metadata that does not exist.: " go.version=go1.22.2 http.request.contenttype=text/plain http.request.host="127.0.0.1:46637" http.request.id=971ea35d-3466-43f5-be56-0d365ef585d1 http.request.method=POST http.request.remoteaddr="127.0.0.1:48810" http.request.uri=/v2/gun/_trust/tuf/targets.key http.request.useragent=Go-http-client/1.1 +time="2024-04-27T09:02:00Z" level=info msg="response completed" go.version=go1.22.2 http.request.contenttype=text/plain http.request.host="127.0.0.1:46637" http.request.id=971ea35d-3466-43f5-be56-0d365ef585d1 http.request.method=POST http.request.remoteaddr="127.0.0.1:48810" http.request.uri=/v2/gun/_trust/tuf/targets.key http.request.useragent=Go-http-client/1.1 http.response.contenttype="application/json; charset=utf-8" http.response.duration="188.857µs" http.response.status=404 http.response.written=104 +time="2024-04-27T09:02:00Z" level=info msg="metadata not found: You have requested metadata that does not exist.: " go.version=go1.22.2 http.request.contenttype=text/plain http.request.host="127.0.0.1:46637" http.request.id=e2394500-738b-48d4-9b6f-7ed7bfe4c67d http.request.method=POST http.request.remoteaddr="127.0.0.1:48816" http.request.uri=/v2/gun/_trust/tuf/root.key http.request.useragent=Go-http-client/1.1 +time="2024-04-27T09:02:00Z" level=info msg="response completed" go.version=go1.22.2 http.request.contenttype=text/plain http.request.host="127.0.0.1:46637" http.request.id=e2394500-738b-48d4-9b6f-7ed7bfe4c67d http.request.method=POST http.request.remoteaddr="127.0.0.1:48816" http.request.uri=/v2/gun/_trust/tuf/root.key http.request.useragent=Go-http-client/1.1 http.response.contenttype="application/json; charset=utf-8" http.response.duration="180.918µs" http.response.status=404 http.response.written=104 +--- PASS: TestRotateKeyEndpoint (0.01s) PASS -ok github.com/theupdateframework/notary/server 0.208s +ok github.com/theupdateframework/notary/server 0.348s === RUN Test_changefeed --- PASS: Test_changefeed (0.00s) === RUN Test_checkChangefeedInputs -time="2025-05-30T15:15:57Z" level=error msg="500 GET unable to retrieve storage" -time="2025-05-30T15:15:57Z" level=error msg="400 GET invalid pageSize: not_a_number" +time="2024-04-27T09:02:00Z" level=error msg="500 GET unable to retrieve storage" +time="2024-04-27T09:02:00Z" level=error msg="400 GET invalid pageSize: not_a_number" --- PASS: Test_checkChangefeedInputs (0.00s) === RUN TestMainHandlerGet -time="2025-05-30T15:15:57Z" level=info msg="response completed" go.version=go1.22.2 http.request.host="127.0.0.1:44141" http.request.id=1ce2d54b-ad53-411a-bd50-278d2cb8208e http.request.method=GET http.request.remoteaddr="127.0.0.1:43260" http.request.uri=/ http.request.useragent=Go-http-client/1.1 http.response.duration="68.448µs" http.response.status=200 http.response.written=2 ---- PASS: TestMainHandlerGet (0.01s) +time="2024-04-27T09:02:00Z" level=info msg="response completed" go.version=go1.22.2 http.request.host="127.0.0.1:40677" http.request.id=c3199739-babd-4bec-bb31-1c72db50f057 http.request.method=GET http.request.remoteaddr="127.0.0.1:57096" http.request.uri=/ http.request.useragent=Go-http-client/1.1 http.response.duration="46.115µs" http.response.status=200 http.response.written=2 +--- PASS: TestMainHandlerGet (0.00s) === RUN TestMainHandlerNotGet -time="2025-05-30T15:15:57Z" level=info msg="generic not found: You have requested a resource that does not exist.: " go.version=go1.22.2 http.request.host="127.0.0.1:40989" http.request.id=20e9b6e8-f7d0-4b20-b8ff-92f14bfe653d http.request.method=HEAD http.request.remoteaddr="127.0.0.1:56342" http.request.uri=/ http.request.useragent=Go-http-client/1.1 -time="2025-05-30T15:15:57Z" level=info msg="response completed" go.version=go1.22.2 http.request.host="127.0.0.1:40989" http.request.id=20e9b6e8-f7d0-4b20-b8ff-92f14bfe653d http.request.method=HEAD http.request.remoteaddr="127.0.0.1:56342" http.request.uri=/ http.request.useragent=Go-http-client/1.1 http.response.contenttype="application/json; charset=utf-8" http.response.duration="253.546µs" http.response.status=404 http.response.written=105 +time="2024-04-27T09:02:00Z" level=info msg="generic not found: You have requested a resource that does not exist.: " go.version=go1.22.2 http.request.host="127.0.0.1:42833" http.request.id=a9bf9eea-801c-44a5-9351-62de68d5aa41 http.request.method=HEAD http.request.remoteaddr="127.0.0.1:32824" http.request.uri=/ http.request.useragent=Go-http-client/1.1 +time="2024-04-27T09:02:00Z" level=info msg="response completed" go.version=go1.22.2 http.request.host="127.0.0.1:42833" http.request.id=a9bf9eea-801c-44a5-9351-62de68d5aa41 http.request.method=HEAD http.request.remoteaddr="127.0.0.1:32824" http.request.uri=/ http.request.useragent=Go-http-client/1.1 http.response.contenttype="application/json; charset=utf-8" http.response.duration="564.7µs" http.response.status=404 http.response.written=105 --- PASS: TestMainHandlerNotGet (0.00s) === RUN TestKeyHandlersInvalidConfiguration -time="2025-05-30T15:15:57Z" level=error msg="500 GET storage not configured" go.version=go1.22.2 gun=gun -time="2025-05-30T15:15:57Z" level=error msg="500 GET storage not configured" go.version=go1.22.2 gun=gun -time="2025-05-30T15:15:57Z" level=error msg="500 GET crypto service not configured" go.version=go1.22.2 gun=gun -time="2025-05-30T15:15:57Z" level=error msg="500 GET crypto service not configured" go.version=go1.22.2 gun=gun -time="2025-05-30T15:15:57Z" level=error msg="500 GET key algorithm not configured" go.version=go1.22.2 gun=gun -time="2025-05-30T15:15:57Z" level=error msg="500 GET key algorithm not configured" go.version=go1.22.2 gun=gun -time="2025-05-30T15:15:57Z" level=error msg="500 POST crypto service not configured" go.version=go1.22.2 gun=gun -time="2025-05-30T15:15:57Z" level=error msg="500 POST crypto service not configured" go.version=go1.22.2 gun=gun -time="2025-05-30T15:15:57Z" level=error msg="500 POST key algorithm not configured" go.version=go1.22.2 gun=gun -time="2025-05-30T15:15:57Z" level=error msg="500 POST key algorithm not configured" go.version=go1.22.2 gun=gun -time="2025-05-30T15:15:57Z" level=error msg="500 POST storage not configured" go.version=go1.22.2 gun=gun -time="2025-05-30T15:15:57Z" level=error msg="500 POST storage not configured" go.version=go1.22.2 gun=gun +time="2024-04-27T09:02:00Z" level=error msg="500 GET storage not configured" go.version=go1.22.2 gun=gun +time="2024-04-27T09:02:00Z" level=error msg="500 GET storage not configured" go.version=go1.22.2 gun=gun +time="2024-04-27T09:02:00Z" level=error msg="500 GET crypto service not configured" go.version=go1.22.2 gun=gun +time="2024-04-27T09:02:00Z" level=error msg="500 GET crypto service not configured" go.version=go1.22.2 gun=gun +time="2024-04-27T09:02:00Z" level=error msg="500 GET key algorithm not configured" go.version=go1.22.2 gun=gun +time="2024-04-27T09:02:00Z" level=error msg="500 GET key algorithm not configured" go.version=go1.22.2 gun=gun +time="2024-04-27T09:02:00Z" level=error msg="500 POST storage not configured" go.version=go1.22.2 gun=gun +time="2024-04-27T09:02:00Z" level=error msg="500 POST storage not configured" go.version=go1.22.2 gun=gun +time="2024-04-27T09:02:00Z" level=error msg="500 POST crypto service not configured" go.version=go1.22.2 gun=gun +time="2024-04-27T09:02:00Z" level=error msg="500 POST crypto service not configured" go.version=go1.22.2 gun=gun +time="2024-04-27T09:02:00Z" level=error msg="500 POST key algorithm not configured" go.version=go1.22.2 gun=gun +time="2024-04-27T09:02:00Z" level=error msg="500 POST key algorithm not configured" go.version=go1.22.2 gun=gun --- PASS: TestKeyHandlersInvalidConfiguration (0.00s) === RUN TestKeyHandlersNoRoleOrRepo -time="2025-05-30T15:15:57Z" level=info msg="400 GET no gun in request" =gun go.version=go1.22.2 -time="2025-05-30T15:15:57Z" level=info msg="400 GET no gun in request" =gun go.version=go1.22.2 -time="2025-05-30T15:15:57Z" level=info msg="400 GET no role in request" go.version=go1.22.2 gun=gun -time="2025-05-30T15:15:57Z" level=info msg="400 GET no role in request" go.version=go1.22.2 gun=gun -time="2025-05-30T15:15:57Z" level=info msg="400 POST no gun in request" =gun go.version=go1.22.2 -time="2025-05-30T15:15:57Z" level=info msg="400 POST no gun in request" =gun go.version=go1.22.2 -time="2025-05-30T15:15:57Z" level=info msg="400 POST no role in request" go.version=go1.22.2 gun=gun -time="2025-05-30T15:15:57Z" level=info msg="400 POST no role in request" go.version=go1.22.2 gun=gun +time="2024-04-27T09:02:00Z" level=info msg="400 GET no gun in request" =gun go.version=go1.22.2 +time="2024-04-27T09:02:00Z" level=info msg="400 GET no gun in request" =gun go.version=go1.22.2 +time="2024-04-27T09:02:00Z" level=info msg="400 GET no role in request" go.version=go1.22.2 gun=gun +time="2024-04-27T09:02:00Z" level=info msg="400 GET no role in request" go.version=go1.22.2 gun=gun +time="2024-04-27T09:02:00Z" level=info msg="400 POST no gun in request" =gun go.version=go1.22.2 +time="2024-04-27T09:02:00Z" level=info msg="400 POST no gun in request" =gun go.version=go1.22.2 +time="2024-04-27T09:02:00Z" level=info msg="400 POST no role in request" go.version=go1.22.2 gun=gun +time="2024-04-27T09:02:00Z" level=info msg="400 POST no role in request" go.version=go1.22.2 gun=gun --- PASS: TestKeyHandlersNoRoleOrRepo (0.00s) === RUN TestKeyHandlersInvalidRole -time="2025-05-30T15:15:57Z" level=info msg="400 GET root key: " go.version=go1.22.2 gun=gun -time="2025-05-30T15:15:57Z" level=info msg="400 GET targets key: " go.version=go1.22.2 gun=gun -time="2025-05-30T15:15:57Z" level=info msg="400 GET targets/a key: " go.version=go1.22.2 gun=gun -time="2025-05-30T15:15:57Z" level=info msg="400 GET invalidrole key: " go.version=go1.22.2 gun=gun -time="2025-05-30T15:15:57Z" level=info msg="400 POST root key: " go.version=go1.22.2 gun=gun -time="2025-05-30T15:15:57Z" level=info msg="400 POST targets key: " go.version=go1.22.2 gun=gun -time="2025-05-30T15:15:57Z" level=info msg="400 POST targets/a key: " go.version=go1.22.2 gun=gun -time="2025-05-30T15:15:57Z" level=info msg="400 POST invalidrole key: " go.version=go1.22.2 gun=gun +time="2024-04-27T09:02:00Z" level=info msg="400 GET root key: " go.version=go1.22.2 gun=gun +time="2024-04-27T09:02:00Z" level=info msg="400 GET targets key: " go.version=go1.22.2 gun=gun +time="2024-04-27T09:02:00Z" level=info msg="400 GET targets/a key: " go.version=go1.22.2 gun=gun +time="2024-04-27T09:02:00Z" level=info msg="400 GET invalidrole key: " go.version=go1.22.2 gun=gun +time="2024-04-27T09:02:00Z" level=info msg="400 POST root key: " go.version=go1.22.2 gun=gun +time="2024-04-27T09:02:00Z" level=info msg="400 POST targets key: " go.version=go1.22.2 gun=gun +time="2024-04-27T09:02:00Z" level=info msg="400 POST targets/a key: " go.version=go1.22.2 gun=gun +time="2024-04-27T09:02:00Z" level=info msg="400 POST invalidrole key: " go.version=go1.22.2 gun=gun --- PASS: TestKeyHandlersInvalidRole (0.00s) === RUN TestGetKeyHandlerCreatesOnce ---- PASS: TestGetKeyHandlerCreatesOnce (0.00s) +--- PASS: TestGetKeyHandlerCreatesOnce (0.01s) === RUN TestKeyHandlersInvalidKeyAlgo -time="2025-05-30T15:15:57Z" level=error msg="500 GET timestamp key: only ED25519 supported by this cryptoservice" go.version=go1.22.2 gun=gun -time="2025-05-30T15:15:57Z" level=error msg="500 GET snapshot key: only ED25519 supported by this cryptoservice" go.version=go1.22.2 gun=gun -time="2025-05-30T15:15:57Z" level=error msg="500 POST timestamp key: only ED25519 supported by this cryptoservice" go.version=go1.22.2 gun=gun -time="2025-05-30T15:15:57Z" level=error msg="500 POST snapshot key: only ED25519 supported by this cryptoservice" go.version=go1.22.2 gun=gun +time="2024-04-27T09:02:00Z" level=error msg="500 GET timestamp key: only ED25519 supported by this cryptoservice" go.version=go1.22.2 gun=gun +time="2024-04-27T09:02:00Z" level=error msg="500 GET snapshot key: only ED25519 supported by this cryptoservice" go.version=go1.22.2 gun=gun +time="2024-04-27T09:02:00Z" level=error msg="500 POST timestamp key: only ED25519 supported by this cryptoservice" go.version=go1.22.2 gun=gun +time="2024-04-27T09:02:00Z" level=error msg="500 POST snapshot key: only ED25519 supported by this cryptoservice" go.version=go1.22.2 gun=gun --- PASS: TestKeyHandlersInvalidKeyAlgo (0.00s) === RUN TestRotateKeyHandlerSuccessfulRotation --- PASS: TestRotateKeyHandlerSuccessfulRotation (0.00s) === RUN TestGetHandlerRoot -time="2025-05-30T15:15:57Z" level=info msg="404 GET root role" go.version=go1.22.2 gun=gun ---- PASS: TestGetHandlerRoot (0.01s) +time="2024-04-27T09:02:00Z" level=info msg="404 GET root role" go.version=go1.22.2 gun=gun +--- PASS: TestGetHandlerRoot (0.00s) === RUN TestGetHandlerTimestamp ---- PASS: TestGetHandlerTimestamp (0.01s) +--- PASS: TestGetHandlerTimestamp (0.00s) === RUN TestGetHandlerSnapshot ---- PASS: TestGetHandlerSnapshot (0.01s) +--- PASS: TestGetHandlerSnapshot (0.00s) === RUN TestGetHandler404 -time="2025-05-30T15:15:57Z" level=info msg="404 GET root role" go.version=go1.22.2 gun=gun +time="2024-04-27T09:02:00Z" level=info msg="404 GET root role" go.version=go1.22.2 gun=gun --- PASS: TestGetHandler404 (0.00s) === RUN TestGetHandlerNilData -time="2025-05-30T15:15:57Z" level=info msg="404 GET root role" go.version=go1.22.2 gun=gun +time="2024-04-27T09:02:00Z" level=info msg="404 GET root role" go.version=go1.22.2 gun=gun --- PASS: TestGetHandlerNilData (0.00s) === RUN TestGetHandlerNoStorage -time="2025-05-30T15:15:57Z" level=error msg="500 GET: no storage exists" =gun go.version=go1.22.2 +time="2024-04-27T09:02:00Z" level=error msg="500 GET: no storage exists" =gun go.version=go1.22.2 --- PASS: TestGetHandlerNoStorage (0.00s) === RUN TestAtomicUpdateValidationFailurePropagated --- PASS: TestAtomicUpdateValidationFailurePropagated (0.01s) === RUN TestAtomicUpdateNonValidationFailureNotPropagated -time="2025-05-30T15:15:57Z" level=info msg="400 POST error validating update" go.version=go1.22.2 testGUN=gun ---- PASS: TestAtomicUpdateNonValidationFailureNotPropagated (0.03s) +time="2024-04-27T09:02:00Z" level=info msg="400 POST error validating update" go.version=go1.22.2 testGUN=gun +--- PASS: TestAtomicUpdateNonValidationFailureNotPropagated (0.01s) === RUN TestAtomicUpdateVersionErrorPropagated -time="2025-05-30T15:15:57Z" level=info msg="400 POST old version error" go.version=go1.22.2 testGUN=gun ---- PASS: TestAtomicUpdateVersionErrorPropagated (0.02s) +time="2024-04-27T09:02:00Z" level=info msg="400 POST old version error" go.version=go1.22.2 testGUN=gun +--- PASS: TestAtomicUpdateVersionErrorPropagated (0.03s) === RUN TestGetMaybeServerSignedNoCrypto --- PASS: TestGetMaybeServerSignedNoCrypto (0.00s) === RUN TestGetMaybeServerSignedNoKey @@ -2799,18 +2835,18 @@ === RUN TestValidateEmptyNew --- PASS: TestValidateEmptyNew (0.02s) === RUN TestValidateRootCanContainOnlyx509KeysWithRightGun ---- PASS: TestValidateRootCanContainOnlyx509KeysWithRightGun (0.02s) +--- PASS: TestValidateRootCanContainOnlyx509KeysWithRightGun (0.01s) === RUN TestValidatePrevTimestamp ---- PASS: TestValidatePrevTimestamp (0.02s) +--- PASS: TestValidatePrevTimestamp (0.01s) === RUN TestValidatePreviousTimestampCorrupt -time="2025-05-30T15:15:57Z" level=error msg="Failed to unmarshal existing timestamp for GUN docker.com/notary" +time="2024-04-27T09:02:00Z" level=error msg="Failed to unmarshal existing timestamp for GUN docker.com/notary" --- PASS: TestValidatePreviousTimestampCorrupt (0.01s) === RUN TestValidateGetCurrentTimestampBroken ---- PASS: TestValidateGetCurrentTimestampBroken (0.02s) +--- PASS: TestValidateGetCurrentTimestampBroken (0.01s) === RUN TestValidateNoNewRoot --- PASS: TestValidateNoNewRoot (0.01s) === RUN TestValidateNoNewTargets ---- PASS: TestValidateNoNewTargets (0.02s) +--- PASS: TestValidateNoNewTargets (0.01s) === RUN TestValidateOnlySnapshot --- PASS: TestValidateOnlySnapshot (0.01s) === RUN TestValidateOldRoot @@ -2818,34 +2854,34 @@ === RUN TestValidateOldRootCorrupt --- PASS: TestValidateOldRootCorrupt (0.01s) === RUN TestValidateOldRootCorruptRootRole ---- PASS: TestValidateOldRootCorruptRootRole (0.02s) +--- PASS: TestValidateOldRootCorruptRootRole (0.01s) === RUN TestValidateRootGetCurrentRootBroken --- PASS: TestValidateRootGetCurrentRootBroken (0.01s) === RUN TestValidateRootRotationWithOldSigs --- PASS: TestValidateRootRotationWithOldSigs (0.04s) === RUN TestValidateRootRotationMultipleKeysThreshold1 ---- PASS: TestValidateRootRotationMultipleKeysThreshold1 (0.03s) +--- PASS: TestValidateRootRotationMultipleKeysThreshold1 (0.02s) === RUN TestRootRotationNotSignedWithOldKeysForOldRole --- PASS: TestRootRotationNotSignedWithOldKeysForOldRole (0.04s) === RUN TestRootRotationVersionIncrement ---- PASS: TestRootRotationVersionIncrement (0.03s) +--- PASS: TestRootRotationVersionIncrement (0.02s) === RUN TestValidateNoRoot ---- PASS: TestValidateNoRoot (0.01s) +--- PASS: TestValidateNoRoot (0.02s) === RUN TestValidateSnapshotMissingNoSnapshotKey ---- PASS: TestValidateSnapshotMissingNoSnapshotKey (0.01s) +--- PASS: TestValidateSnapshotMissingNoSnapshotKey (0.02s) === RUN TestValidateSnapshotGenerateNoPrev ---- PASS: TestValidateSnapshotGenerateNoPrev (0.02s) +--- PASS: TestValidateSnapshotGenerateNoPrev (0.01s) === RUN TestValidateSnapshotGenerateWithPrev ---- PASS: TestValidateSnapshotGenerateWithPrev (0.02s) +--- PASS: TestValidateSnapshotGenerateWithPrev (0.03s) === RUN TestValidateSnapshotGeneratePrevCorrupt -time="2025-05-30T15:15:57Z" level=error msg="Failed to unmarshal existing snapshot for GUN docker.com/notary" ---- PASS: TestValidateSnapshotGeneratePrevCorrupt (0.02s) +time="2024-04-27T09:02:00Z" level=error msg="Failed to unmarshal existing snapshot for GUN docker.com/notary" +--- PASS: TestValidateSnapshotGeneratePrevCorrupt (0.01s) === RUN TestValidateSnapshotGenerateStoreGetCurrentSnapshotBroken ---- PASS: TestValidateSnapshotGenerateStoreGetCurrentSnapshotBroken (0.02s) +--- PASS: TestValidateSnapshotGenerateStoreGetCurrentSnapshotBroken (0.01s) === RUN TestValidateSnapshotGenerateNoTargets --- PASS: TestValidateSnapshotGenerateNoTargets (0.01s) === RUN TestValidateSnapshotGenerate ---- PASS: TestValidateSnapshotGenerate (0.02s) +--- PASS: TestValidateSnapshotGenerate (0.01s) === RUN TestValidateRootNoTimestampKey --- PASS: TestValidateRootNoTimestampKey (0.01s) === RUN TestValidateRootInvalidTimestampKey @@ -2853,24 +2889,24 @@ === RUN TestValidateRootInvalidTimestampThreshold --- PASS: TestValidateRootInvalidTimestampThreshold (0.02s) === RUN TestValidateRootInvalidZeroThreshold ---- PASS: TestValidateRootInvalidZeroThreshold (0.05s) +--- PASS: TestValidateRootInvalidZeroThreshold (0.08s) === RUN TestValidateRootRoleMissing ---- PASS: TestValidateRootRoleMissing (0.01s) +--- PASS: TestValidateRootRoleMissing (0.02s) === RUN TestValidateTargetsRoleMissing --- PASS: TestValidateTargetsRoleMissing (0.02s) === RUN TestValidateSnapshotRoleMissing ---- PASS: TestValidateSnapshotRoleMissing (0.02s) +--- PASS: TestValidateSnapshotRoleMissing (0.01s) === RUN TestValidateRootSigMissing --- PASS: TestValidateRootSigMissing (0.01s) === RUN TestValidateTargetsSigMissing -time="2025-05-30T15:15:58Z" level=error msg="ErrBadTargets: tuf: data has no signatures" ---- PASS: TestValidateTargetsSigMissing (0.02s) +time="2024-04-27T09:02:00Z" level=error msg="ErrBadTargets: tuf: data has no signatures" +--- PASS: TestValidateTargetsSigMissing (0.01s) === RUN TestValidateSnapshotSigMissing --- PASS: TestValidateSnapshotSigMissing (0.01s) === RUN TestValidateRootCorrupt --- PASS: TestValidateRootCorrupt (0.01s) === RUN TestValidateTargetsCorrupt -time="2025-05-30T15:15:58Z" level=error msg="ErrBadTargets: invalid character '\\u0084' looking for beginning of value" +time="2024-04-27T09:02:00Z" level=error msg="ErrBadTargets: invalid character '\\u0084' looking for beginning of value" --- PASS: TestValidateTargetsCorrupt (0.01s) === RUN TestValidateSnapshotCorrupt --- PASS: TestValidateSnapshotCorrupt (0.01s) @@ -2879,9 +2915,9 @@ === RUN TestValidateTargetsModifiedSize --- PASS: TestValidateTargetsModifiedSize (0.02s) === RUN TestValidateRootModifiedHash ---- PASS: TestValidateRootModifiedHash (0.01s) +--- PASS: TestValidateRootModifiedHash (0.02s) === RUN TestValidateTargetsModifiedHash ---- PASS: TestValidateTargetsModifiedHash (0.02s) +--- PASS: TestValidateTargetsModifiedHash (0.01s) === RUN TestGenerateSnapshotRootNotLoaded --- PASS: TestGenerateSnapshotRootNotLoaded (0.00s) === RUN TestGenerateSnapshotNoKey @@ -2889,47 +2925,47 @@ === RUN TestLoadTargetsLoadsNothingIfNoUpdates --- PASS: TestLoadTargetsLoadsNothingIfNoUpdates (0.01s) === RUN TestValidateTargetsRequiresStoredParent -time="2025-05-30T15:15:58Z" level=error msg="ErrBadTargets: targets must be loaded first" +time="2024-04-27T09:02:01Z" level=error msg="ErrBadTargets: targets must be loaded first" --- PASS: TestValidateTargetsRequiresStoredParent (0.01s) === RUN TestValidateTargetsParentInUpdate -time="2025-05-30T15:15:58Z" level=error msg="ErrBadTargets: invalid character 'I' looking for beginning of value" ---- PASS: TestValidateTargetsParentInUpdate (0.01s) +time="2024-04-27T09:02:01Z" level=error msg="ErrBadTargets: invalid character 'I' looking for beginning of value" +--- PASS: TestValidateTargetsParentInUpdate (0.02s) === RUN TestValidateTargetsRoleNotInParent -time="2025-05-30T15:15:58Z" level=error msg="ErrBadTargets: tuf: invalid role targets/level1. delegation does not exist" -time="2025-05-30T15:15:58Z" level=error msg="ErrBadTargets: targets has already been loaded" -time="2025-05-30T15:15:58Z" level=error msg="ErrBadTargets: tuf: invalid role targets/level1. delegation does not exist" +time="2024-04-27T09:02:01Z" level=error msg="ErrBadTargets: tuf: invalid role targets/level1. delegation does not exist" +time="2024-04-27T09:02:01Z" level=error msg="ErrBadTargets: targets has already been loaded" +time="2024-04-27T09:02:01Z" level=error msg="ErrBadTargets: tuf: invalid role targets/level1. delegation does not exist" --- PASS: TestValidateTargetsRoleNotInParent (0.01s) PASS -ok github.com/theupdateframework/notary/server/handlers 0.951s +ok github.com/theupdateframework/notary/server/handlers 0.815s === RUN TestSnapshotExpired --- PASS: TestSnapshotExpired (0.00s) === RUN TestSnapshotNotExpired --- PASS: TestSnapshotNotExpired (0.00s) === RUN TestGetSnapshotKeyCreate ---- PASS: TestGetSnapshotKeyCreate (0.00s) +--- PASS: TestGetSnapshotKeyCreate (0.01s) === RUN TestGetSnapshotKeyCreateWithFailingStore -time="2025-05-30T15:15:57Z" level=error msg="Error when retrieving root role for GUN gun: failing store failed" +time="2024-04-27T09:02:00Z" level=error msg="Error when retrieving root role for GUN gun: failing store failed" --- PASS: TestGetSnapshotKeyCreateWithFailingStore (0.00s) === RUN TestGetSnapshotKeyCreateWithCorruptedStore -time="2025-05-30T15:15:57Z" level=error msg="Failed to unmarshal existing root for GUN gun to retrieve snapshot key ID" +time="2024-04-27T09:02:00Z" level=error msg="Failed to unmarshal existing root for GUN gun to retrieve snapshot key ID" --- PASS: TestGetSnapshotKeyCreateWithCorruptedStore (0.00s) === RUN TestGetSnapshotKeyCreateWithInvalidAlgo --- PASS: TestGetSnapshotKeyCreateWithInvalidAlgo (0.00s) === RUN TestGetSnapshotKeyExistingMetadata --- PASS: TestGetSnapshotKeyExistingMetadata (0.01s) === RUN TestGetSnapshotNoPreviousSnapshot -time="2025-05-30T15:15:57Z" level=error msg="Failed to unmarshal existing snapshot for GUN gun" +time="2024-04-27T09:02:00Z" level=error msg="Failed to unmarshal existing snapshot for GUN gun" --- PASS: TestGetSnapshotNoPreviousSnapshot (0.00s) === RUN TestGetSnapshotReturnsPreviousSnapshotIfUnexpired ---- PASS: TestGetSnapshotReturnsPreviousSnapshotIfUnexpired (0.01s) +--- PASS: TestGetSnapshotReturnsPreviousSnapshotIfUnexpired (0.00s) === RUN TestGetSnapshotOldSnapshotExpired --- PASS: TestGetSnapshotOldSnapshotExpired (0.01s) === RUN TestCannotMakeNewSnapshotIfNoRoot --- PASS: TestCannotMakeNewSnapshotIfNoRoot (0.00s) === RUN TestCreateSnapshotNoKeyInCrypto ---- PASS: TestCreateSnapshotNoKeyInCrypto (0.01s) +--- PASS: TestCreateSnapshotNoKeyInCrypto (0.00s) PASS -ok github.com/theupdateframework/notary/server/snapshot 0.074s +ok github.com/theupdateframework/notary/server/snapshot 0.066s === RUN TestMemoryUpdateCurrentEmpty --- PASS: TestMemoryUpdateCurrentEmpty (0.00s) === RUN TestMemoryUpdateCurrentVersionCheckOldVersionExists @@ -2955,67 +2991,67 @@ === RUN TestRDBTUFFileJSONUnmarshallingFailure --- PASS: TestRDBTUFFileJSONUnmarshallingFailure (0.00s) === RUN TestSQLUpdateCurrentEmpty ---- PASS: TestSQLUpdateCurrentEmpty (0.19s) +--- PASS: TestSQLUpdateCurrentEmpty (2.66s) === RUN TestSQLUpdateCurrentVersionCheckOldVersionExists ---- PASS: TestSQLUpdateCurrentVersionCheckOldVersionExists (0.06s) +--- PASS: TestSQLUpdateCurrentVersionCheckOldVersionExists (0.17s) === RUN TestSQLUpdateCurrentVersionCheckOldVersionNotExist ---- PASS: TestSQLUpdateCurrentVersionCheckOldVersionNotExist (0.05s) +--- PASS: TestSQLUpdateCurrentVersionCheckOldVersionNotExist (0.19s) === RUN TestSQLUpdateManyNoConflicts ---- PASS: TestSQLUpdateManyNoConflicts (0.11s) +--- PASS: TestSQLUpdateManyNoConflicts (0.20s) === RUN TestSQLUpdateManyConflictRollback ---- PASS: TestSQLUpdateManyConflictRollback (0.07s) +--- PASS: TestSQLUpdateManyConflictRollback (0.14s) === RUN TestSQLDelete ---- PASS: TestSQLDelete (0.12s) +--- PASS: TestSQLDelete (0.30s) === RUN TestSQLDBCheckHealthTableMissing ---- PASS: TestSQLDBCheckHealthTableMissing (0.04s) +--- PASS: TestSQLDBCheckHealthTableMissing (0.12s) === RUN TestSQLDBCheckHealthDBConnectionFail ---- PASS: TestSQLDBCheckHealthDBConnectionFail (0.03s) +--- PASS: TestSQLDBCheckHealthDBConnectionFail (0.11s) === RUN TestSQLDBCheckHealthSucceeds ---- PASS: TestSQLDBCheckHealthSucceeds (0.04s) +--- PASS: TestSQLDBCheckHealthSucceeds (0.08s) === RUN TestSQLDBGetChecksum ---- PASS: TestSQLDBGetChecksum (0.07s) +--- PASS: TestSQLDBGetChecksum (0.12s) === RUN TestSQLDBGetChecksumNotFound ---- PASS: TestSQLDBGetChecksumNotFound (0.03s) +--- PASS: TestSQLDBGetChecksumNotFound (0.11s) === RUN TestSQLTUFMetaStoreGetCurrent ---- PASS: TestSQLTUFMetaStoreGetCurrent (0.12s) +--- PASS: TestSQLTUFMetaStoreGetCurrent (0.35s) === RUN TestSQLGetChanges ---- PASS: TestSQLGetChanges (0.13s) +--- PASS: TestSQLGetChanges (0.88s) === RUN TestSQLDBGetVersion ---- PASS: TestSQLDBGetVersion (0.07s) +--- PASS: TestSQLDBGetVersion (0.09s) PASS -ok github.com/theupdateframework/notary/server/storage 1.170s +ok github.com/theupdateframework/notary/server/storage 5.568s === RUN TestTimestampExpired --- PASS: TestTimestampExpired (0.00s) === RUN TestTimestampNotExpired --- PASS: TestTimestampNotExpired (0.00s) === RUN TestGetTimestampKey ---- PASS: TestGetTimestampKey (0.00s) +--- PASS: TestGetTimestampKey (0.01s) === RUN TestGetTimestampNoPreviousTimestamp -time="2025-05-30T15:15:57Z" level=error msg="Failed to unmarshal existing timestamp" +time="2024-04-27T09:02:00Z" level=error msg="Failed to unmarshal existing timestamp" --- PASS: TestGetTimestampNoPreviousTimestamp (0.01s) === RUN TestGetTimestampReturnsPreviousTimestampIfUnexpired --- PASS: TestGetTimestampReturnsPreviousTimestampIfUnexpired (0.01s) === RUN TestGetTimestampOldTimestampExpired --- PASS: TestGetTimestampOldTimestampExpired (0.01s) === RUN TestCannotMakeNewTimestampIfNoRootOrSnapshot -time="2025-05-30T15:15:57Z" level=error msg="Failed to create a new timestamp" -time="2025-05-30T15:15:57Z" level=error msg="Failed to create a new timestamp" +time="2024-04-27T09:02:00Z" level=error msg="Failed to create a new timestamp" +time="2024-04-27T09:02:00Z" level=error msg="Failed to create a new timestamp" --- PASS: TestCannotMakeNewTimestampIfNoRootOrSnapshot (0.01s) === RUN TestCreateTimestampNoKeyInCrypto -time="2025-05-30T15:15:57Z" level=error msg="Failed to create a new timestamp" ---- PASS: TestCreateTimestampNoKeyInCrypto (0.02s) +time="2024-04-27T09:02:00Z" level=error msg="Failed to create a new timestamp" +--- PASS: TestCreateTimestampNoKeyInCrypto (0.01s) === RUN TestGetTimestampKeyCreateWithFailingStore -time="2025-05-30T15:15:57Z" level=error msg="Error when retrieving root role for GUN gun: failing store failed" +time="2024-04-27T09:02:00Z" level=error msg="Error when retrieving root role for GUN gun: failing store failed" --- PASS: TestGetTimestampKeyCreateWithFailingStore (0.00s) === RUN TestGetTimestampKeyCreateWithCorruptedStore -time="2025-05-30T15:15:57Z" level=error msg="Failed to unmarshal existing root for GUN gun to retrieve timestamp key ID" +time="2024-04-27T09:02:00Z" level=error msg="Failed to unmarshal existing root for GUN gun to retrieve timestamp key ID" --- PASS: TestGetTimestampKeyCreateWithCorruptedStore (0.00s) === RUN TestGetTimestampKeyCreateWithInvalidAlgo --- PASS: TestGetTimestampKeyCreateWithInvalidAlgo (0.00s) === RUN TestGetTimestampKeyExistingMetadata ---- PASS: TestGetTimestampKeyExistingMetadata (0.01s) +--- PASS: TestGetTimestampKeyExistingMetadata (0.02s) PASS -ok github.com/theupdateframework/notary/server/timestamp 0.096s +ok github.com/theupdateframework/notary/server/timestamp 0.107s === RUN TestHealthCheckKMUnhealthy --- PASS: TestHealthCheckKMUnhealthy (0.01s) === RUN TestHealthCheckSignerUnhealthy @@ -3025,7 +3061,7 @@ === RUN TestHealthCheckSignerTimeout --- PASS: TestHealthCheckSignerTimeout (0.00s) === RUN TestHealthCheckKMHealthy ---- PASS: TestHealthCheckKMHealthy (0.01s) +--- PASS: TestHealthCheckKMHealthy (0.02s) === RUN TestHealthCheckSignerHealthy --- PASS: TestHealthCheckSignerHealthy (0.00s) === RUN TestHealthCheckKMConnectionDied @@ -3033,31 +3069,31 @@ === RUN TestHealthCheckSignerConnectionDied --- PASS: TestHealthCheckSignerConnectionDied (0.00s) === RUN TestHealthCheckForOverallStatus ---- PASS: TestHealthCheckForOverallStatus (0.00s) +--- PASS: TestHealthCheckForOverallStatus (0.01s) === RUN TestHealthCheckNonexistentService --- PASS: TestHealthCheckNonexistentService (0.00s) === RUN TestGetPrivateKeyAndSignWithExistingKey -time="2025-05-30T15:15:57Z" level=info msg="Sign: Signed message! with KeyID 1d92e56f3cad31e42d4c23926e81a557a446bba23726b0b42bc6f2dac286005c" go.version=go1.22.2 +time="2024-04-27T09:02:04Z" level=info msg="Sign: Signed message! with KeyID 94c28a6895d7ebca25f3d588906aa4e65fc46973cd3541aeae67e27921ed26ba" go.version=go1.22.2 --- PASS: TestGetPrivateKeyAndSignWithExistingKey (0.02s) === RUN TestCannotSignWithKeyThatDoesntExist -time="2025-05-30T15:15:57Z" level=error msg="Sign: key daaf5afb4da6080b74a45597b15f40b704d71cd04d155313eb0c9454233d9617 not found" go.version=go1.22.2 +time="2024-04-27T09:02:04Z" level=error msg="Sign: key eed0fbc7f7ebf6b5d23286e0c3fd46a68d2d55b1364c9037d8d371cb0839555a not found" go.version=go1.22.2 --- PASS: TestCannotSignWithKeyThatDoesntExist (0.02s) === RUN TestCryptoSignerInterfaceBehavior -time="2025-05-30T15:15:57Z" level=error msg="GetKeyInfo: key nonexistent not found" go.version=go1.22.2 -time="2025-05-30T15:15:57Z" level=error msg="GetKeyInfo: key nonexistent not found" go.version=go1.22.2 -time="2025-05-30T15:15:57Z" level=info msg="CreateKey: Created KeyID 94f02a82da971c1459e9ea915e394bd78ea74a7c5f7cacecb8822a3a55862d25" go.version=go1.22.2 -time="2025-05-30T15:15:57Z" level=info msg="CreateKey: Created KeyID 859c61bf27c8d7029ddb7bdfc1192a0e91edd198461b12a92ad5afb7bd42c10c" go.version=go1.22.2 -time="2025-05-30T15:15:57Z" level=error msg="GetKeyInfo: key 859c61bf27c8d7029ddb7bdfc1192a0e91edd198461b12a92ad5afb7bd42c10c not found" go.version=go1.22.2 -time="2025-05-30T15:15:57Z" level=error msg="GetKeyInfo: key 94f02a82da971c1459e9ea915e394bd78ea74a7c5f7cacecb8822a3a55862d25 not found" go.version=go1.22.2 ---- PASS: TestCryptoSignerInterfaceBehavior (0.02s) +time="2024-04-27T09:02:04Z" level=error msg="GetKeyInfo: key nonexistent not found" go.version=go1.22.2 +time="2024-04-27T09:02:04Z" level=error msg="GetKeyInfo: key nonexistent not found" go.version=go1.22.2 +time="2024-04-27T09:02:04Z" level=info msg="CreateKey: Created KeyID 5c87d11ddfa511c9c95432785242a67a8476932b46b0af1661706d8b52981987" go.version=go1.22.2 +time="2024-04-27T09:02:04Z" level=info msg="CreateKey: Created KeyID 3718e5e51a4ae1561d7cb048faa5ae74f686027225509885793ea0f3f0337d2e" go.version=go1.22.2 +time="2024-04-27T09:02:04Z" level=error msg="GetKeyInfo: key 5c87d11ddfa511c9c95432785242a67a8476932b46b0af1661706d8b52981987 not found" go.version=go1.22.2 +time="2024-04-27T09:02:04Z" level=error msg="GetKeyInfo: key 3718e5e51a4ae1561d7cb048faa5ae74f686027225509885793ea0f3f0337d2e not found" go.version=go1.22.2 +--- PASS: TestCryptoSignerInterfaceBehavior (0.07s) PASS -ok github.com/theupdateframework/notary/signer 0.123s +ok github.com/theupdateframework/notary/signer 0.213s === RUN TestGetSuccessPopulatesCache --- PASS: TestGetSuccessPopulatesCache (0.01s) === RUN TestAddKeyPopulatesCacheIfSuccessful --- PASS: TestAddKeyPopulatesCacheIfSuccessful (0.01s) === RUN TestDeleteKeyRemovesKeyFromCache ---- PASS: TestDeleteKeyRemovesKeyFromCache (0.01s) +--- PASS: TestDeleteKeyRemovesKeyFromCache (0.03s) === RUN TestRDBPrivateKeyJSONUnmarshalling --- PASS: TestRDBPrivateKeyJSONUnmarshalling (0.00s) === RUN TestRDBPrivateKeyJSONUnmarshallingFailure @@ -3066,32 +3102,32 @@ `nodb` is not officially supported, running under compatibility mode. --- PASS: TestNewSQLKeyDBStorePropagatesDBError (0.00s) === RUN TestSQLDBHealthCheckMissingTable ---- PASS: TestSQLDBHealthCheckMissingTable (0.09s) +--- PASS: TestSQLDBHealthCheckMissingTable (0.10s) === RUN TestSQLDBHealthCheckNoConnection ---- PASS: TestSQLDBHealthCheckNoConnection (0.03s) +--- PASS: TestSQLDBHealthCheckNoConnection (0.07s) === RUN TestSQLKeyCanOnlyBeAddedOnce (/build/reproducible-path/notary-0.7.0+ds1/_build/src/github.com/theupdateframework/notary/signer/keydbstore/sql_keydbstore.go:98) -[2025-05-30 15:15:57]  UNIQUE constraint failed: private_keys.key_id  ---- PASS: TestSQLKeyCanOnlyBeAddedOnce (0.15s) +[2024-04-27 09:02:04]  UNIQUE constraint failed: private_keys.key_id  +--- PASS: TestSQLKeyCanOnlyBeAddedOnce (0.32s) === RUN TestSQLCreateDelete ---- PASS: TestSQLCreateDelete (0.14s) +--- PASS: TestSQLCreateDelete (0.30s) === RUN TestSQLKeyRotation ---- PASS: TestSQLKeyRotation (0.17s) +--- PASS: TestSQLKeyRotation (0.74s) === RUN TestSQLSigningMarksKeyActive -time="2025-05-30T15:15:58Z" level=error msg="Key 29b0f6bb95911d0da9635c4b74c7f453562852e3370237eba3183042c8fc9199 was just used to sign hash successful, db closed, error when trying to mark key as active: sql: database is closed" +time="2024-04-27T09:02:06Z" level=error msg="Key 952732314fc10a5c337d16478bf95b9d482df827eb73d963cee1e9eea9019815 was just used to sign hash successful, db closed, error when trying to mark key as active: sql: database is closed" (/build/reproducible-path/notary-0.7.0+ds1/_build/src/github.com/theupdateframework/notary/signer/keydbstore/sql_keydbstore.go:197) -[2025-05-30 15:15:58]  sql: database is closed  ---- PASS: TestSQLSigningMarksKeyActive (0.28s) +[2024-04-27 09:02:06]  sql: database is closed  +--- PASS: TestSQLSigningMarksKeyActive (0.27s) === RUN TestSQLCreateKey ---- PASS: TestSQLCreateKey (0.21s) +--- PASS: TestSQLCreateKey (0.30s) === RUN TestSQLUnimplementedInterfaceBehavior ---- PASS: TestSQLUnimplementedInterfaceBehavior (0.08s) +--- PASS: TestSQLUnimplementedInterfaceBehavior (0.10s) PASS -ok github.com/theupdateframework/notary/signer/keydbstore 1.205s +ok github.com/theupdateframework/notary/signer/keydbstore 2.350s === RUN TestSet ---- PASS: TestSet (0.01s) +--- PASS: TestSet (0.00s) === RUN TestSetWithNoParentDirectory --- PASS: TestSetWithNoParentDirectory (0.00s) === RUN TestSetRemovesExistingFileBeforeWriting @@ -3099,17 +3135,17 @@ === RUN TestGetSized --- PASS: TestGetSized (0.00s) === RUN TestGetSizedSet ---- PASS: TestGetSizedSet (0.04s) +--- PASS: TestGetSizedSet (0.00s) === RUN TestRemove ---- PASS: TestRemove (0.01s) +--- PASS: TestRemove (0.00s) === RUN TestRemoveAll --- PASS: TestRemoveAll (0.00s) === RUN TestAddFile ---- PASS: TestAddFile (0.02s) +--- PASS: TestAddFile (0.01s) === RUN TestRemoveFile --- PASS: TestRemoveFile (0.00s) === RUN TestListFiles ---- PASS: TestListFiles (0.04s) +--- PASS: TestListFiles (0.00s) === RUN TestGetPath --- PASS: TestGetPath (0.00s) === RUN TestGetPathProtection @@ -3117,21 +3153,21 @@ === RUN TestGetData --- PASS: TestGetData (0.00s) === RUN TestCreateDirectory ---- PASS: TestCreateDirectory (0.02s) +--- PASS: TestCreateDirectory (0.00s) === RUN TestCreatePrivateDirectory ---- PASS: TestCreatePrivateDirectory (0.00s) +--- PASS: TestCreatePrivateDirectory (0.01s) === RUN TestFileStoreConsistency ---- PASS: TestFileStoreConsistency (0.00s) +--- PASS: TestFileStoreConsistency (0.02s) === RUN TestHTTPStoreGetSized --- PASS: TestHTTPStoreGetSized (0.00s) === RUN TestHTTPStoreGetAllMeta --- PASS: TestHTTPStoreGetAllMeta (0.00s) === RUN TestSetSingleAndSetMultiMeta ---- PASS: TestSetSingleAndSetMultiMeta (0.00s) +--- PASS: TestSetSingleAndSetMultiMeta (0.01s) === RUN Test404Error ---- PASS: Test404Error (0.00s) +--- PASS: Test404Error (0.01s) === RUN Test50XErrors ---- PASS: Test50XErrors (0.01s) +--- PASS: Test50XErrors (0.02s) === RUN Test400Error --- PASS: Test400Error (0.00s) === RUN TestTranslateErrorsParse400Errors @@ -3143,11 +3179,11 @@ === RUN TestHTTPStoreRemoveAll --- PASS: TestHTTPStoreRemoveAll (0.00s) === RUN TestHTTPStoreRotateKey ---- PASS: TestHTTPStoreRotateKey (0.00s) +--- PASS: TestHTTPStoreRotateKey (0.01s) === RUN TestHTTPStoreGetKey --- PASS: TestHTTPStoreGetKey (0.00s) === RUN TestHTTPStoreGetRotateKeySizeLimited ---- PASS: TestHTTPStoreGetRotateKeySizeLimited (0.02s) +--- PASS: TestHTTPStoreGetRotateKeySizeLimited (0.04s) === RUN TestHTTPOffline --- PASS: TestHTTPOffline (0.00s) === RUN TestErrServerUnavailable @@ -3168,7 +3204,7 @@ === RUN TestMemoryStoreMetadata --- PASS: TestMemoryStoreMetadata (0.00s) PASS -ok github.com/theupdateframework/notary/storage 0.195s +ok github.com/theupdateframework/notary/storage 0.188s === RUN TestExportKeys --- PASS: TestExportKeys (0.00s) === RUN TestExportKeysByGUN @@ -3184,123 +3220,123 @@ === RUN TestNonRootPathInference --- PASS: TestNonRootPathInference (0.01s) === RUN TestBlockHeaderPrecedenceRoleAndGun ---- PASS: TestBlockHeaderPrecedenceRoleAndGun (0.00s) +--- PASS: TestBlockHeaderPrecedenceRoleAndGun (0.01s) === RUN TestBlockHeaderPrecedenceGunFromPath ---- PASS: TestBlockHeaderPrecedenceGunFromPath (0.00s) +--- PASS: TestBlockHeaderPrecedenceGunFromPath (0.01s) === RUN TestImportKeys2InOneFile --- PASS: TestImportKeys2InOneFile (0.00s) === RUN TestImportKeys2InOneFileNoPath ---- PASS: TestImportKeys2InOneFileNoPath (0.01s) +--- PASS: TestImportKeys2InOneFileNoPath (0.02s) === RUN TestEncryptedKeyImportFail -time="2025-05-30T15:15:57Z" level=warning msg="failed to import key to store: Invalid key generated, key may be encrypted and does not contain path header" ---- PASS: TestEncryptedKeyImportFail (0.00s) +time="2024-04-27T09:02:04Z" level=warning msg="failed to import key to store: Invalid key generated, key may be encrypted and does not contain path header" +--- PASS: TestEncryptedKeyImportFail (0.01s) === RUN TestEncryptedKeyImportSuccess ---- PASS: TestEncryptedKeyImportSuccess (0.01s) +--- PASS: TestEncryptedKeyImportSuccess (0.02s) === RUN TestEncryption ---- PASS: TestEncryption (0.01s) +--- PASS: TestEncryption (0.03s) === RUN TestAddKey ---- PASS: TestAddKey (0.11s) +--- PASS: TestAddKey (0.07s) === RUN TestKeyStoreInternalState ---- PASS: TestKeyStoreInternalState (0.02s) +--- PASS: TestKeyStoreInternalState (0.05s) === RUN TestGet ---- PASS: TestGet (0.03s) +--- PASS: TestGet (0.10s) === RUN TestGetLegacyKey ---- PASS: TestGetLegacyKey (0.01s) +--- PASS: TestGetLegacyKey (0.00s) === RUN TestListKeys ---- PASS: TestListKeys (0.03s) +--- PASS: TestListKeys (0.07s) === RUN TestAddGetKeyMemStore --- PASS: TestAddGetKeyMemStore (0.00s) === RUN TestAddGetKeyInfoMemStore ---- PASS: TestAddGetKeyInfoMemStore (0.02s) +--- PASS: TestAddGetKeyInfoMemStore (0.03s) === RUN TestGetDecryptedWithTamperedCipherText -time="2025-05-30T15:15:57Z" level=error msg="PEM block is empty" ---- PASS: TestGetDecryptedWithTamperedCipherText (0.01s) +time="2024-04-27T09:02:04Z" level=error msg="PEM block is empty" +--- PASS: TestGetDecryptedWithTamperedCipherText (0.02s) === RUN TestGetDecryptedWithInvalidPassphrase ---- PASS: TestGetDecryptedWithInvalidPassphrase (0.04s) +--- PASS: TestGetDecryptedWithInvalidPassphrase (0.07s) === RUN TestGetDecryptedWithConsistentlyInvalidPassphrase ---- PASS: TestGetDecryptedWithConsistentlyInvalidPassphrase (0.08s) +--- PASS: TestGetDecryptedWithConsistentlyInvalidPassphrase (0.13s) === RUN TestRemoveKey ---- PASS: TestRemoveKey (0.05s) +--- PASS: TestRemoveKey (0.12s) === RUN TestKeysAreCached --- PASS: TestKeysAreCached (0.03s) PASS -ok github.com/theupdateframework/notary/trustmanager 0.502s +ok github.com/theupdateframework/notary/trustmanager 0.888s === RUN TestRemoteStore -time="2025-05-30T15:15:57Z" level=info msg="listing files from localhost:9888" -time="2025-05-30T15:15:57Z" level=info msg="listing files from localhost:9888" ---- PASS: TestRemoteStore (0.06s) +time="2024-04-27T09:02:04Z" level=info msg="listing files from localhost:9888" +time="2024-04-27T09:02:04Z" level=info msg="listing files from localhost:9888" +--- PASS: TestRemoteStore (0.09s) === RUN TestErrors -time="2025-05-30T15:15:57Z" level=error msg="failed to store: test error" ---- PASS: TestErrors (0.06s) +time="2024-04-27T09:02:04Z" level=error msg="failed to store: test error" +--- PASS: TestErrors (0.17s) === RUN TestNewGRPCStorage --- PASS: TestNewGRPCStorage (0.00s) === RUN TestGRPCStorage --- PASS: TestGRPCStorage (0.00s) PASS -ok github.com/theupdateframework/notary/trustmanager/remoteks 0.145s +ok github.com/theupdateframework/notary/trustmanager/remoteks 0.296s === RUN TestWildcardMatch --- PASS: TestWildcardMatch (0.00s) === RUN TestValidateRoot -2025/05/30 15:15:57 [INFO] generate received request -2025/05/30 15:15:57 [INFO] received CSR -2025/05/30 15:15:57 [INFO] generating key: ecdsa-256 -2025/05/30 15:15:57 [INFO] encoded CSR -2025/05/30 15:15:57 [INFO] signed certificate with serial number 518782170178405825205518083306003081920811854145 -2025/05/30 15:15:57 [INFO] received CSR -2025/05/30 15:15:57 [INFO] generating key: ecdsa-256 -2025/05/30 15:15:57 [INFO] encoded CSR -2025/05/30 15:15:57 [INFO] signed certificate with serial number 690798965278787514471871444783724195767220653582 -2025/05/30 15:15:57 [INFO] received CSR -2025/05/30 15:15:57 [INFO] generating key: ecdsa-256 -2025/05/30 15:15:57 [INFO] encoded CSR -2025/05/30 15:15:57 [INFO] signed certificate with serial number 75673243785739333823424051657875842418153351554 ---- PASS: TestValidateRoot (0.03s) +2024/04/27 09:02:04 [INFO] generate received request +2024/04/27 09:02:04 [INFO] received CSR +2024/04/27 09:02:04 [INFO] generating key: ecdsa-256 +2024/04/27 09:02:04 [INFO] encoded CSR +2024/04/27 09:02:04 [INFO] signed certificate with serial number 704695065288605708618724620149496356419412261649 +2024/04/27 09:02:04 [INFO] received CSR +2024/04/27 09:02:04 [INFO] generating key: ecdsa-256 +2024/04/27 09:02:04 [INFO] encoded CSR +2024/04/27 09:02:04 [INFO] signed certificate with serial number 611190582001348838168618267161466631039006599013 +2024/04/27 09:02:04 [INFO] received CSR +2024/04/27 09:02:04 [INFO] generating key: ecdsa-256 +2024/04/27 09:02:04 [INFO] encoded CSR +2024/04/27 09:02:04 [INFO] signed certificate with serial number 294492934018989857751077442658413115584636614556 +--- PASS: TestValidateRoot (0.04s) === RUN TestValidateRootWithoutTOFUS --- PASS: TestValidateRootWithoutTOFUS (0.00s) === RUN TestValidateRootWithPinnedCert ---- PASS: TestValidateRootWithPinnedCert (0.00s) +--- PASS: TestValidateRootWithPinnedCert (0.01s) === RUN TestValidateRootWithPinnedCertAndIntermediates ---- PASS: TestValidateRootWithPinnedCertAndIntermediates (0.04s) +--- PASS: TestValidateRootWithPinnedCertAndIntermediates (0.05s) === RUN TestValidateRootFailuresWithPinnedCert ---- PASS: TestValidateRootFailuresWithPinnedCert (0.01s) +--- PASS: TestValidateRootFailuresWithPinnedCert (0.00s) === RUN TestValidateRootWithPinnedCA ---- PASS: TestValidateRootWithPinnedCA (0.10s) +--- PASS: TestValidateRootWithPinnedCA (0.26s) === RUN TestValidateSuccessfulRootRotation ---- PASS: TestValidateSuccessfulRootRotation (0.06s) +--- PASS: TestValidateSuccessfulRootRotation (0.09s) === RUN TestValidateRootRotationMissingOrigSig ---- PASS: TestValidateRootRotationMissingOrigSig (0.04s) +--- PASS: TestValidateRootRotationMissingOrigSig (0.09s) === RUN TestValidateRootRotationMissingNewSig ---- PASS: TestValidateRootRotationMissingNewSig (0.04s) +--- PASS: TestValidateRootRotationMissingNewSig (0.08s) === RUN TestValidateRootRotationTrustPinning ---- PASS: TestValidateRootRotationTrustPinning (0.03s) +--- PASS: TestValidateRootRotationTrustPinning (0.08s) === RUN TestValidateRootRotationTrustPinningInvalidCA ---- PASS: TestValidateRootRotationTrustPinningInvalidCA (0.03s) +--- PASS: TestValidateRootRotationTrustPinningInvalidCA (0.10s) === RUN TestParsePEMPublicKey -time="2025-05-30T15:15:57Z" level=warning msg="certificate with CN notary is near expiry" +time="2024-04-27T09:02:05Z" level=warning msg="certificate with CN notary is near expiry" --- PASS: TestParsePEMPublicKey (0.01s) === RUN TestCheckingCertExpiry -time="2025-05-30T15:15:57Z" level=warning msg="certificate with CN notary is near expiry" ---- PASS: TestCheckingCertExpiry (0.01s) +time="2024-04-27T09:02:05Z" level=warning msg="certificate with CN notary is near expiry" +--- PASS: TestCheckingCertExpiry (0.02s) === RUN TestValidateRootWithExpiredIntermediate ---- PASS: TestValidateRootWithExpiredIntermediate (0.02s) +--- PASS: TestValidateRootWithExpiredIntermediate (0.04s) === RUN TestCheckingWildcardCert ---- PASS: TestCheckingWildcardCert (0.02s) +--- PASS: TestCheckingWildcardCert (0.01s) === RUN TestWildcardMatching --- PASS: TestWildcardMatching (0.00s) PASS -ok github.com/theupdateframework/notary/trustpinning 0.497s +ok github.com/theupdateframework/notary/trustpinning 0.938s === RUN TestInitSnapshotNoTargets ---- PASS: TestInitSnapshotNoTargets (0.01s) +--- PASS: TestInitSnapshotNoTargets (0.02s) === RUN TestInitRepo ---- PASS: TestInitRepo (0.02s) +--- PASS: TestInitRepo (0.03s) === RUN TestUpdateDelegations --- PASS: TestUpdateDelegations (0.00s) === RUN TestPurgeDelegationsKeyFromTop -time="2025-05-30T15:15:57Z" level=warning msg="role targets/sybil has fewer keys than its threshold of 1; it will not be usable until keys are added to it" -time="2025-05-30T15:15:57Z" level=warning msg="role targets/vimes/carrot has fewer keys than its threshold of 1; it will not be usable until keys are added to it" ---- PASS: TestPurgeDelegationsKeyFromTop (0.00s) +time="2024-04-27T09:02:04Z" level=warning msg="role targets/sybil has fewer keys than its threshold of 1; it will not be usable until keys are added to it" +time="2024-04-27T09:02:04Z" level=warning msg="role targets/vimes/carrot has fewer keys than its threshold of 1; it will not be usable until keys are added to it" +--- PASS: TestPurgeDelegationsKeyFromTop (0.01s) === RUN TestPurgeDelegationsKeyFromDeep -time="2025-05-30T15:15:57Z" level=warning msg="role targets/vimes/carrot has fewer keys than its threshold of 1; it will not be usable until keys are added to it" +time="2024-04-27T09:02:04Z" level=warning msg="role targets/vimes/carrot has fewer keys than its threshold of 1; it will not be usable until keys are added to it" --- PASS: TestPurgeDelegationsKeyFromDeep (0.00s) === RUN TestPurgeDelegationsKeyBadWildRole --- PASS: TestPurgeDelegationsKeyBadWildRole (0.00s) @@ -3313,7 +3349,7 @@ === RUN TestUpdateDelegationsRoleThatIsMissingDelegationKey --- PASS: TestUpdateDelegationsRoleThatIsMissingDelegationKey (0.00s) === RUN TestUpdateDelegationsNotEnoughKeys -time="2025-05-30T15:15:57Z" level=warning msg="role targets/role has fewer keys than its threshold of 2; it will not be usable until keys are added to it" +time="2024-04-27T09:02:04Z" level=warning msg="role targets/role has fewer keys than its threshold of 2; it will not be usable until keys are added to it" --- PASS: TestUpdateDelegationsNotEnoughKeys (0.00s) === RUN TestUpdateDelegationsAddKeyToRole --- PASS: TestUpdateDelegationsAddKeyToRole (0.00s) @@ -3342,7 +3378,7 @@ === RUN TestAddTargetsRoleAndMetadataExist --- PASS: TestAddTargetsRoleAndMetadataExist (0.00s) === RUN TestAddTargetsRoleExistsAndMetadataDoesntExist ---- PASS: TestAddTargetsRoleExistsAndMetadataDoesntExist (0.01s) +--- PASS: TestAddTargetsRoleExistsAndMetadataDoesntExist (0.00s) === RUN TestAddTargetsRoleDoesntExist --- PASS: TestAddTargetsRoleDoesntExist (0.00s) === RUN TestAddTargetsNoSigningKeys @@ -3382,15 +3418,15 @@ === RUN TestSignRootOldKeyCertExists --- PASS: TestSignRootOldKeyCertExists (0.03s) === RUN TestSignRootOldKeyCertMissing ---- PASS: TestSignRootOldKeyCertMissing (0.04s) +--- PASS: TestSignRootOldKeyCertMissing (0.03s) === RUN TestRootKeyRotation ---- PASS: TestRootKeyRotation (0.10s) +--- PASS: TestRootKeyRotation (0.09s) === RUN TestBuilderLoadsValidRolesOnly --- PASS: TestBuilderLoadsValidRolesOnly (0.01s) === RUN TestBuilderOnlyAcceptsRootFirstWhenLoading --- PASS: TestBuilderOnlyAcceptsRootFirstWhenLoading (0.00s) === RUN TestBuilderOnlyAcceptsDelegationsAfterParent ---- PASS: TestBuilderOnlyAcceptsDelegationsAfterParent (0.00s) +--- PASS: TestBuilderOnlyAcceptsDelegationsAfterParent (0.01s) === RUN TestMarkingIsValid --- PASS: TestMarkingIsValid (0.01s) === RUN TestBuilderLoadInvalidDelegations @@ -3400,21 +3436,21 @@ === RUN TestBuilderAcceptRoleOnce --- PASS: TestBuilderAcceptRoleOnce (0.00s) === RUN TestBuilderStopsAcceptingOrProducingDataOnceDone ---- PASS: TestBuilderStopsAcceptingOrProducingDataOnceDone (0.01s) +--- PASS: TestBuilderStopsAcceptingOrProducingDataOnceDone (0.00s) === RUN TestGenerateSnapshotInvalidOperations ---- PASS: TestGenerateSnapshotInvalidOperations (0.07s) +--- PASS: TestGenerateSnapshotInvalidOperations (0.06s) === RUN TestGenerateTimestampInvalidOperations ---- PASS: TestGenerateTimestampInvalidOperations (0.05s) +--- PASS: TestGenerateTimestampInvalidOperations (0.06s) === RUN TestGetConsistentInfo --- PASS: TestGetConsistentInfo (0.01s) === RUN TestTimestampPreAndPostChecksumming ---- PASS: TestTimestampPreAndPostChecksumming (0.01s) +--- PASS: TestTimestampPreAndPostChecksumming (0.03s) === RUN TestSnapshotLoadedFirstChecksumsOthers ---- PASS: TestSnapshotLoadedFirstChecksumsOthers (0.01s) +--- PASS: TestSnapshotLoadedFirstChecksumsOthers (0.03s) === RUN TestSnapshotLoadedAfterChecksumsOthersRetroactively ---- PASS: TestSnapshotLoadedAfterChecksumsOthersRetroactively (0.04s) +--- PASS: TestSnapshotLoadedAfterChecksumsOthersRetroactively (0.03s) PASS -ok github.com/theupdateframework/notary/tuf 0.524s +ok github.com/theupdateframework/notary/tuf 0.564s === RUN TestMergeStrSlicesExclusive --- PASS: TestMergeStrSlicesExclusive (0.00s) === RUN TestMergeStrSlicesOverlap @@ -3462,7 +3498,7 @@ === RUN TestRootFromSignedCopiesSignatures --- PASS: TestRootFromSignedCopiesSignatures (0.00s) === RUN TestRootFromSignedValidatesRoleData ---- PASS: TestRootFromSignedValidatesRoleData (0.02s) +--- PASS: TestRootFromSignedValidatesRoleData (0.01s) === RUN TestRootFromSignedValidatesRoleType --- PASS: TestRootFromSignedValidatesRoleType (0.01s) === RUN TestRootFromSignedValidatesVersion @@ -3506,7 +3542,7 @@ === RUN TestTargetsFromSignedValidatesDelegations --- PASS: TestTargetsFromSignedValidatesDelegations (0.00s) === RUN TestTargetsFromSignedValidatesRoleType ---- PASS: TestTargetsFromSignedValidatesRoleType (0.00s) +--- PASS: TestTargetsFromSignedValidatesRoleType (0.01s) === RUN TestTargetsFromSignedValidatesRoleName --- PASS: TestTargetsFromSignedValidatesRoleName (0.00s) === RUN TestTargetsFromSignedValidatesVersion @@ -3548,9 +3584,9 @@ === RUN TestFileMetaEquals --- PASS: TestFileMetaEquals (0.00s) PASS -ok github.com/theupdateframework/notary/tuf/data 0.087s +ok github.com/theupdateframework/notary/tuf/data 0.096s === RUN TestListKeys ---- PASS: TestListKeys (0.00s) +--- PASS: TestListKeys (0.02s) === RUN TestGetKeys --- PASS: TestGetKeys (0.00s) === RUN TestBasicSign @@ -3558,7 +3594,7 @@ === RUN TestReSign --- PASS: TestReSign (0.00s) === RUN TestMultiSign ---- PASS: TestMultiSign (0.02s) +--- PASS: TestMultiSign (0.01s) === RUN TestSignReturnsNoSigs --- PASS: TestSignReturnsNoSigs (0.00s) === RUN TestSignWithX509 @@ -3584,9 +3620,9 @@ === RUN TestRSAPSSVerifierWithInvalidKey --- PASS: TestRSAPSSVerifierWithInvalidKey (0.00s) === RUN TestRSAPSSVerifierWithInvalidSignature ---- PASS: TestRSAPSSVerifierWithInvalidSignature (0.00s) +--- PASS: TestRSAPSSVerifierWithInvalidSignature (0.01s) === RUN TestRSAPKCS1v15Verifier ---- PASS: TestRSAPKCS1v15Verifier (0.00s) +--- PASS: TestRSAPKCS1v15Verifier (0.01s) === RUN TestRSAPKCS1v15x509Verifier --- PASS: TestRSAPKCS1v15x509Verifier (0.00s) === RUN TestRSAPKCS1v15VerifierWithInvalidKeyType @@ -3594,12 +3630,12 @@ === RUN TestRSAPKCS1v15VerifierWithInvalidKey --- PASS: TestRSAPKCS1v15VerifierWithInvalidKey (0.00s) === RUN TestRSAPKCS1v15VerifierWithInvalidSignature -time="2025-05-30T15:15:57Z" level=error msg="Failed verification: crypto/rsa: verification error" ---- PASS: TestRSAPKCS1v15VerifierWithInvalidSignature (0.00s) +time="2024-04-27T09:02:05Z" level=error msg="Failed verification: crypto/rsa: verification error" +--- PASS: TestRSAPKCS1v15VerifierWithInvalidSignature (0.01s) === RUN TestECDSAVerifier --- PASS: TestECDSAVerifier (0.00s) === RUN TestECDSAVerifierOtherCurves ---- PASS: TestECDSAVerifierOtherCurves (0.04s) +--- PASS: TestECDSAVerifierOtherCurves (0.05s) === RUN TestECDSAx509Verifier --- PASS: TestECDSAx509Verifier (0.00s) === RUN TestECDSAVerifierWithInvalidKeyType @@ -3637,24 +3673,24 @@ === RUN TestVerifyVersion --- PASS: TestVerifyVersion (0.00s) === RUN TestVerifyExpiry -time="2025-05-30T15:15:57Z" level=error msg="Metadata for root expired" +time="2024-04-27T09:02:05Z" level=error msg="Metadata for root expired" --- PASS: TestVerifyExpiry (0.00s) === RUN TestVerifyPublicKeyMatchesPrivateKeyHappyCase --- PASS: TestVerifyPublicKeyMatchesPrivateKeyHappyCase (0.00s) === RUN TestVerifyPublicKeyMatchesPrivateKeyFails --- PASS: TestVerifyPublicKeyMatchesPrivateKeyFails (0.00s) PASS -ok github.com/theupdateframework/notary/tuf/signed 0.212s +ok github.com/theupdateframework/notary/tuf/signed 0.253s === RUN TestNewSwizzler ---- PASS: TestNewSwizzler (0.02s) +--- PASS: TestNewSwizzler (0.01s) === RUN TestSwizzlerSetInvalidJSON --- PASS: TestSwizzlerSetInvalidJSON (0.01s) === RUN TestSwizzlerAddExtraSpace --- PASS: TestSwizzlerAddExtraSpace (0.01s) === RUN TestSwizzlerSetInvalidSigned ---- PASS: TestSwizzlerSetInvalidSigned (0.02s) +--- PASS: TestSwizzlerSetInvalidSigned (0.01s) === RUN TestSwizzlerSetInvalidSignedMeta ---- PASS: TestSwizzlerSetInvalidSignedMeta (0.02s) +--- PASS: TestSwizzlerSetInvalidSignedMeta (0.01s) === RUN TestSwizzlerSetInvalidMetadataType --- PASS: TestSwizzlerSetInvalidMetadataType (0.01s) === RUN TestSwizzlerInvalidateMetadataSignatures @@ -3662,23 +3698,23 @@ === RUN TestSwizzlerRemoveMetadata --- PASS: TestSwizzlerRemoveMetadata (0.01s) === RUN TestSwizzlerSignMetadataWithInvalidKey ---- PASS: TestSwizzlerSignMetadataWithInvalidKey (0.03s) +--- PASS: TestSwizzlerSignMetadataWithInvalidKey (0.05s) === RUN TestSwizzlerOffsetMetadataVersion ---- PASS: TestSwizzlerOffsetMetadataVersion (0.01s) +--- PASS: TestSwizzlerOffsetMetadataVersion (0.02s) === RUN TestSwizzlerExpireMetadata --- PASS: TestSwizzlerExpireMetadata (0.01s) === RUN TestSwizzlerSetThresholdBaseRole ---- PASS: TestSwizzlerSetThresholdBaseRole (0.01s) +--- PASS: TestSwizzlerSetThresholdBaseRole (0.02s) === RUN TestSwizzlerSetThresholdDelegatedRole ---- PASS: TestSwizzlerSetThresholdDelegatedRole (0.01s) +--- PASS: TestSwizzlerSetThresholdDelegatedRole (0.02s) === RUN TestSwizzlerChangeRootKey --- PASS: TestSwizzlerChangeRootKey (0.01s) === RUN TestSwizzlerUpdateSnapshotHashesSpecifiedRoles ---- PASS: TestSwizzlerUpdateSnapshotHashesSpecifiedRoles (0.02s) +--- PASS: TestSwizzlerUpdateSnapshotHashesSpecifiedRoles (0.01s) === RUN TestSwizzlerUpdateSnapshotHashesNoSpecifiedRoles --- PASS: TestSwizzlerUpdateSnapshotHashesNoSpecifiedRoles (0.01s) === RUN TestSwizzlerUpdateTimestamp ---- PASS: TestSwizzlerUpdateTimestamp (0.01s) +--- PASS: TestSwizzlerUpdateTimestamp (0.02s) === RUN TestMissingSigningKey --- PASS: TestMissingSigningKey (0.01s) === RUN TestSwizzlerMutateRoot @@ -3694,13 +3730,13 @@ === RUN TestSwizzlerRotateKeyDelegationRole --- PASS: TestSwizzlerRotateKeyDelegationRole (0.01s) PASS -ok github.com/theupdateframework/notary/tuf/testutils 0.320s +ok github.com/theupdateframework/notary/tuf/testutils 0.308s === RUN TestConvertTUFKeyToPKCS8 --- PASS: TestConvertTUFKeyToPKCS8 (0.04s) === RUN TestParsePKCS8ToTufKey ---- PASS: TestParsePKCS8ToTufKey (0.12s) +--- PASS: TestParsePKCS8ToTufKey (0.09s) === RUN TestPEMtoPEM ---- PASS: TestPEMtoPEM (0.00s) +--- PASS: TestPEMtoPEM (0.01s) === RUN TestRoleListLen --- PASS: TestRoleListLen (0.00s) === RUN TestRoleListLess @@ -3740,11 +3776,11 @@ === RUN TestRoleNameSliceRemove --- PASS: TestRoleNameSliceRemove (0.00s) === RUN TestCertsToKeys ---- PASS: TestCertsToKeys (0.01s) +--- PASS: TestCertsToKeys (0.00s) === RUN TestNewCertificate --- PASS: TestNewCertificate (0.00s) === RUN TestKeyOperations ---- PASS: TestKeyOperations (0.06s) +--- PASS: TestKeyOperations (0.04s) === RUN TestRSAX509PublickeyID --- PASS: TestRSAX509PublickeyID (0.00s) === RUN TestECDSAX509PublickeyID @@ -3760,9 +3796,9 @@ === RUN TestValidateCertificateWithInvalidExpiry --- PASS: TestValidateCertificateWithInvalidExpiry (0.00s) === RUN TestValidateCertificateWithShortKey ---- PASS: TestValidateCertificateWithShortKey (0.04s) +--- PASS: TestValidateCertificateWithShortKey (0.12s) PASS -ok github.com/theupdateframework/notary/tuf/utils 0.295s +ok github.com/theupdateframework/notary/tuf/utils 0.346s === RUN TestNewSerializableErrorNonValidationError --- PASS: TestNewSerializableErrorNonValidationError (0.00s) === RUN TestNewSerializableErrorValidationError @@ -3778,7 +3814,7 @@ === RUN TestUnmarshalInvalidJSON --- PASS: TestUnmarshalInvalidJSON (0.00s) PASS -ok github.com/theupdateframework/notary/tuf/validation 0.019s +ok github.com/theupdateframework/notary/tuf/validation 0.032s === RUN TestSetSignalTrap --- PASS: TestSetSignalTrap (0.00s) === RUN TestLogLevelSignalHandle @@ -3840,7 +3876,7 @@ === RUN TestParseTLSNoTLSNotRequired --- PASS: TestParseTLSNoTLSNotRequired (0.00s) === RUN TestParseTLSWithTLS ---- PASS: TestParseTLSWithTLS (0.01s) +--- PASS: TestParseTLSWithTLS (0.00s) === RUN TestParseTLSWithTLSRelativeToConfigFile --- PASS: TestParseTLSWithTLSRelativeToConfigFile (0.00s) === RUN TestParseTLSWithEnvironmentVariables @@ -3878,7 +3914,7 @@ === RUN TestDoAuthWildcardImage --- PASS: TestDoAuthWildcardImage (0.00s) PASS -ok github.com/theupdateframework/notary/utils 0.047s +ok github.com/theupdateframework/notary/utils 0.057s create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=/build/reproducible-path/notary-0.7.0\+ds1/_build -O--buildsystem=golang dh_prep -O--builddirectory=/build/reproducible-path/notary-0.7.0\+ds1/_build -O--buildsystem=golang @@ -3925,12 +3961,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/2308453/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2308453/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/240945 and its subdirectories -I: Current time: Fri May 30 03:17:34 -12 2025 -I: pbuilder-time-stamp: 1748618254 +I: removing directory /srv/workspace/pbuilder/2308453 and its subdirectories +I: Current time: Sat Apr 27 23:04:43 +14 2024 +I: pbuilder-time-stamp: 1714208683