Diff of the two buildlogs: -- --- b1/build.log 2024-01-06 16:31:38.627410149 +0000 +++ b2/build.log 2024-01-06 16:41:33.345323858 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Jan 6 04:19:49 -12 2024 -I: pbuilder-time-stamp: 1704557989 +I: Current time: Sun Jan 7 06:32:20 +14 2024 +I: pbuilder-time-stamp: 1704558740 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -17,7 +17,7 @@ I: copying [./notary_0.6.1~ds2-6.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.sXhOPyy8/trustedkeys.kbx': General error +gpgv: keyblock resource '/tmp/dpkg-verify-sig.xr68h5Sy/trustedkeys.kbx': General error gpgv: Signature made Sat Apr 18 01:51:52 2020 gpgv: using RSA key 50BC7CF939D20C272A6B065652B6BBD953968D1B gpgv: Can't check signature: No public key @@ -34,49 +34,80 @@ dpkg-source: info: applying remove-use-of-distributions-old-wrapped-context.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/15942/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/10952/tmp/hooks/D01_modify_environment starting +debug: Running on virt64b. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jan 6 16:32 /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/10952/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/10952/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=3 ' - DISTRIBUTION='bullseye' - HOME='/root' - HOST_ARCH='armhf' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="1" [2]="4" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.1.4(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=4 ' + DIRSTACK=() + DISTRIBUTION=bullseye + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='3e9a4ed83db04fb4b360b772d34c9d50' - 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='15942' - PS1='# ' - PS2='> ' + INVOCATION_ID=48589c8a47e94957a09648d5ff7fbf72 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=10952 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.r12MaPrc/pbuilderrc_XZ7Y --distribution bullseye --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.r12MaPrc/b1 --logfile b1/build.log notary_0.6.1~ds2-6.dsc' - SUDO_GID='112' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.r12MaPrc/pbuilderrc_eKB3 --distribution bullseye --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.r12MaPrc/b2 --logfile b2/build.log notary_0.6.1~ds2-6.dsc' + SUDO_GID=113 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux virt32b 6.1.0-17-armmp-lpae #1 SMP Debian 6.1.69-1 (2023-12-30) armv7l GNU/Linux + Linux i-capture-the-hostname 6.1.0-17-arm64 #1 SMP Debian 6.1.69-1 (2023-12-30) aarch64 GNU/Linux I: ls -l /bin total 3580 -rwxr-xr-x 1 root root 816764 Mar 27 2022 bash @@ -136,7 +167,7 @@ -rwxr-xr-x 1 root root 30732 Sep 22 2020 rmdir -rwxr-xr-x 1 root root 14144 Sep 27 2020 run-parts -rwxr-xr-x 1 root root 76012 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Dec 7 09:27 sh -> dash + lrwxrwxrwx 1 root root 9 Jan 6 16:32 sh -> /bin/bash -rwxr-xr-x 1 root root 22532 Sep 22 2020 sleep -rwxr-xr-x 1 root root 55360 Sep 22 2020 stty -rwsr-xr-x 1 root root 46704 Jan 20 2022 su @@ -162,7 +193,7 @@ -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew -I: user script /srv/workspace/pbuilder/15942/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/10952/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -455,7 +486,7 @@ Get: 203 http://deb.debian.org/debian bullseye/main armhf golang-gopkg-fatih-pool.v2-dev all 0.0~git20171010.010e0b7-3 [5612 B] Get: 204 http://deb.debian.org/debian bullseye/main armhf golang-gopkg-gorethink-gorethink.v3-dev all 3.0.5-1.1 [113 kB] Get: 205 http://deb.debian.org/debian bullseye/main armhf openssl armhf 1.1.1w-0+deb11u1 [835 kB] -Fetched 110 MB in 53s (2061 kB/s) +Fetched 110 MB in 22s (4908 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (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 ... 17486 files and directories currently installed.) @@ -1297,7 +1328,11 @@ fakeroot is already the newest version (1.25.3-1.1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/notary-0.6.1~ds2/ && 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.6.1~ds2-6_source.changes +I: user script /srv/workspace/pbuilder/10952/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for bullseye +I: user script /srv/workspace/pbuilder/10952/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/notary-0.6.1~ds2/ && 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.6.1~ds2-6_source.changes dpkg-buildpackage: info: source package notary dpkg-buildpackage: info: source version 0.6.1~ds2-6 dpkg-buildpackage: info: source distribution unstable @@ -1325,15 +1360,15 @@ sed -i '/command -v cfssljson/i exit 0' ./fixtures/regenerateTestingCerts.sh cd fixtures && ./regenerateTestingCerts.sh Generating RSA private key, 4096 bit long modulus (2 primes) -.....................................................................................++++ -.....................................................................................++++ +............................++++ +..................................................................++++ e is 65537 (0x010001) Signature ok subject=C = US, ST = CA, L = San Francisco, O = Docker, CN = Notary Testing CA Getting Private key Generating RSA private key, 4096 bit long modulus (2 primes) -.........................................++++ -......................................................................................................................................................................................................................................................++++ +................................................................................................................................................................++++ +........................................................................................................................................++++ e is 65537 (0x010001) Signature ok subject=C = US, ST = CA, L = San Francisco, O = Docker, CN = Notary Intermediate Testing CA @@ -1361,25 +1396,25 @@ debian/rules override_dh_auto_build make[1]: Entering directory '/build/reproducible-path/notary-0.6.1~ds2' dh_auto_build -- -tags "pkcs11" - cd _build && go install -trimpath -v -p 3 -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/cpu + cd _build && go install -trimpath -v -p 4 -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 runtime/internal/sys +internal/cpu internal/race -runtime/internal/math +math/bits sync/atomic runtime/internal/atomic internal/bytealg -math/bits -math +runtime/internal/math unicode/utf8 +math unicode internal/testlog -runtime encoding unicode/utf16 golang.org/x/sys/internal/unsafeheader crypto/internal/subtle +runtime crypto/subtle vendor/golang.org/x/crypto/cryptobyte/asn1 internal/nettrace @@ -1389,10 +1424,10 @@ google.golang.org/grpc/serviceconfig github.com/theupdateframework/notary/version github.com/lib/pq/oid -sync internal/reflectlite -internal/singleflight +sync math/rand +internal/singleflight google.golang.org/grpc/internal/buffer google.golang.org/grpc/internal/grpcsync errors @@ -1406,164 +1441,164 @@ crypto reflect strings +crypto/internal/randutil +vendor/golang.org/x/net/dns/dnsmessage bufio internal/syscall/unix time internal/syscall/execenv -crypto/internal/randutil -vendor/golang.org/x/net/dns/dnsmessage +path +regexp/syntax +crypto/hmac +golang.org/x/crypto/pbkdf2 +hash/crc32 +crypto/rc4 internal/poll context +regexp encoding/binary internal/fmtsort -crypto/md5 os +vendor/golang.org/x/crypto/hkdf +vendor/golang.org/x/text/transform +crypto/md5 encoding/base64 golang.org/x/sys/unix crypto/cipher -crypto/aes -github.com/theupdateframework/notary fmt +crypto/aes crypto/sha512 +github.com/theupdateframework/notary crypto/sha256 crypto/des crypto/ed25519/internal/edwards25519 +crypto/sha1 encoding/json github.com/docker/go/canonical/json log math/big -github.com/sirupsen/logrus -crypto/sha1 encoding/hex encoding/pem path/filepath +github.com/sirupsen/logrus net +io/ioutil +net/url +github.com/theupdateframework/notary/tuf/validation +mime crypto/rand crypto/elliptic github.com/docker/distribution/uuid encoding/asn1 crypto/rsa crypto/dsa -vendor/golang.org/x/crypto/cryptobyte crypto/ed25519 -crypto/x509/pkix -io/ioutil -crypto/ecdsa -net/url -golang.org/x/crypto/ed25519 -path -regexp/syntax -crypto/hmac -golang.org/x/crypto/pbkdf2 -github.com/theupdateframework/notary/tuf/validation -mime mime/quotedprintable -regexp +golang.org/x/crypto/ed25519 compress/flate -hash/crc32 -crypto/rc4 +vendor/golang.org/x/crypto/cryptobyte +crypto/x509/pkix vendor/golang.org/x/crypto/chacha20 -compress/gzip vendor/golang.org/x/crypto/poly1305 -vendor/golang.org/x/crypto/curve25519 +compress/gzip +crypto/ecdsa vendor/golang.org/x/crypto/chacha20poly1305 -vendor/golang.org/x/crypto/hkdf -vendor/golang.org/x/text/transform +vendor/golang.org/x/crypto/curve25519 vendor/golang.org/x/text/unicode/bidi vendor/golang.org/x/text/unicode/norm -vendor/golang.org/x/text/secure/bidirule vendor/golang.org/x/net/http2/hpack +vendor/golang.org/x/text/secure/bidirule net/http/internal github.com/miekg/pkcs11 -vendor/golang.org/x/net/idna -crypto/x509 -net/textproto -mime/multipart -vendor/golang.org/x/net/http/httpguts -crypto/tls -github.com/theupdateframework/notary/tuf/data -github.com/theupdateframework/notary/client/changelist -github.com/theupdateframework/notary/tuf/utils -vendor/golang.org/x/net/http/httpproxy flag +vendor/golang.org/x/net/idna encoding/csv -net/http/httptrace github.com/fsnotify/fsnotify -net/http github.com/hashicorp/hcl/hcl/strconv github.com/hashicorp/hcl/hcl/token +text/tabwriter github.com/hashicorp/hcl/hcl/ast github.com/hashicorp/hcl/hcl/scanner -github.com/hashicorp/hcl/hcl/parser github.com/hashicorp/hcl/json/token +github.com/hashicorp/hcl/hcl/parser github.com/hashicorp/hcl/json/scanner -github.com/hashicorp/hcl/json/parser -github.com/hashicorp/hcl -text/tabwriter github.com/hashicorp/hcl/hcl/printer -github.com/mitchellh/mapstructure +github.com/hashicorp/hcl/json/parser github.com/pelletier/go-toml -github.com/theupdateframework/notary/storage -github.com/magiconair/properties -github.com/theupdateframework/notary/trustmanager +github.com/hashicorp/hcl github.com/spf13/afero/mem -github.com/theupdateframework/notary/cryptoservice -github.com/theupdateframework/notary/tuf/signed golang.org/x/text/transform golang.org/x/text/unicode/norm -github.com/theupdateframework/notary/trustpinning -github.com/theupdateframework/notary/tuf -github.com/spf13/afero +crypto/x509 +net/textproto +vendor/golang.org/x/net/http/httpproxy +github.com/mitchellh/mapstructure +mime/multipart +github.com/theupdateframework/notary/tuf/data +crypto/tls +vendor/golang.org/x/net/http/httpguts html text/template/parse +github.com/theupdateframework/notary/client/changelist +github.com/theupdateframework/notary/tuf/utils +text/template github.com/spf13/jwalterweatherman github.com/spf13/pflag -text/template +net/http/httptrace +net/http html/template github.com/subosito/gotenv -gopkg.in/ini.v1 -github.com/theupdateframework/notary/trustmanager/yubikey github.com/spf13/cast +gopkg.in/ini.v1 gopkg.in/yaml.v2 -github.com/theupdateframework/notary/client github.com/golang/protobuf/proto golang.org/x/net/context golang.org/x/net/internal/timeseries -golang.org/x/net/trace -github.com/spf13/viper google.golang.org/grpc/backoff google.golang.org/grpc/grpclog +github.com/theupdateframework/notary/storage +github.com/magiconair/properties +github.com/spf13/afero +github.com/golang/protobuf/ptypes/empty +github.com/theupdateframework/notary/trustmanager +golang.org/x/net/trace +github.com/theupdateframework/notary/cryptoservice +github.com/theupdateframework/notary/tuf/signed +github.com/spf13/viper google.golang.org/grpc/connectivity google.golang.org/grpc/credentials/internal +github.com/theupdateframework/notary/trustpinning google.golang.org/grpc/internal +google.golang.org/grpc/credentials +github.com/theupdateframework/notary/tuf +github.com/theupdateframework/notary/trustmanager/yubikey google.golang.org/grpc/metadata google.golang.org/grpc/attributes -github.com/golang/protobuf/ptypes/empty -google.golang.org/grpc/credentials google.golang.org/grpc/internal/grpcrand google.golang.org/grpc/codes +google.golang.org/grpc/resolver google.golang.org/grpc/encoding +google.golang.org/grpc/balancer +google.golang.org/grpc/balancer/base google.golang.org/grpc/internal/backoff google.golang.org/grpc/encoding/proto google.golang.org/grpc/internal/balancerload -google.golang.org/grpc/resolver github.com/golang/protobuf/ptypes/any github.com/golang/protobuf/ptypes/duration -google.golang.org/grpc/balancer +github.com/theupdateframework/notary/client +google.golang.org/grpc/balancer/roundrobin github.com/golang/protobuf/ptypes/timestamp +google.golang.org/grpc/internal/channelz google.golang.org/genproto/googleapis/rpc/status github.com/golang/protobuf/ptypes -google.golang.org/grpc/balancer/base google.golang.org/grpc/binarylog/grpc_binarylog_v1 -google.golang.org/grpc/balancer/roundrobin google.golang.org/grpc/status -google.golang.org/grpc/internal/channelz google.golang.org/grpc/internal/envconfig -google.golang.org/grpc/internal/binarylog google.golang.org/grpc/internal/resolver/dns +google.golang.org/grpc/internal/binarylog google.golang.org/grpc/internal/resolver/passthrough -golang.org/x/net/http2/hpack golang.org/x/text/unicode/bidi +golang.org/x/net/http2/hpack google.golang.org/grpc/internal/syscall google.golang.org/grpc/keepalive google.golang.org/grpc/peer @@ -1571,40 +1606,37 @@ google.golang.org/grpc/tap google.golang.org/grpc/naming net/http/httputil -golang.org/x/text/secure/bidirule github.com/bugsnag/bugsnag-go/device github.com/pkg/errors -golang.org/x/net/idna -github.com/bugsnag/bugsnag-go/errors github.com/bugsnag/bugsnag-go/headers +golang.org/x/text/secure/bidirule os/exec +github.com/bugsnag/bugsnag-go/errors +golang.org/x/net/idna os/signal database/sql/driver -golang.org/x/net/http/httpguts +github.com/gorilla/mux github.com/bugsnag/panicwrap -golang.org/x/net/http2 +golang.org/x/net/http/httpguts github.com/gofrs/uuid -github.com/gorilla/mux -github.com/bugsnag/bugsnag-go/sessions -github.com/bugsnag/bugsnag-go -github.com/docker/distribution/context -github.com/Shopify/logrus-bugsnag github.com/docker/distribution/registry/api/errcode +golang.org/x/net/http2 +github.com/bugsnag/bugsnag-go/sessions github.com/docker/distribution/registry/auth +github.com/docker/distribution/context github.com/docker/go-connections/tlsconfig +github.com/bugsnag/bugsnag-go database/sql github.com/opencontainers/go-digest github.com/docker/distribution/digestset github.com/docker/distribution/reference +github.com/Shopify/logrus-bugsnag github.com/opencontainers/image-spec/specs-go -google.golang.org/grpc/internal/transport -github.com/go-sql-driver/mysql github.com/opencontainers/image-spec/specs-go/v1 -github.com/docker/distribution github.com/docker/distribution/registry/api/v2 -google.golang.org/grpc +github.com/docker/distribution +github.com/go-sql-driver/mysql github.com/docker/distribution/registry/client/auth/challenge -github.com/theupdateframework/notary/utils github.com/docker/distribution/registry/client/transport expvar github.com/beorn7/perks/quantile @@ -1613,44 +1645,47 @@ github.com/matttproud/golang_protobuf_extensions/pbutil github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg github.com/prometheus/common/model +google.golang.org/grpc/internal/transport github.com/prometheus/client_golang/prometheus/internal github.com/prometheus/procfs/internal/fs github.com/prometheus/procfs/internal/util -github.com/prometheus/common/expfmt +github.com/theupdateframework/notary/utils github.com/prometheus/procfs +github.com/prometheus/common/expfmt runtime/debug github.com/spf13/cobra golang.org/x/term +google.golang.org/grpc golang.org/x/crypto/ssh/terminal -github.com/theupdateframework/notary/trustmanager/remoteks github.com/theupdateframework/notary/passphrase github.com/docker/distribution/health -github.com/prometheus/client_golang/prometheus -github.com/theupdateframework/notary/cmd/escrow golang.org/x/crypto/blowfish +github.com/prometheus/client_golang/prometheus +github.com/theupdateframework/notary/trustmanager/remoteks golang.org/x/crypto/bcrypt -github.com/docker/distribution/registry/auth/htpasswd encoding/base32 +github.com/docker/distribution/registry/auth/htpasswd github.com/docker/libtrust -github.com/prometheus/client_golang/prometheus/promhttp -github.com/docker/distribution/registry/auth/token +github.com/theupdateframework/notary/cmd/escrow github.com/lib/pq/scram os/user -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 -github.com/docker/distribution/registry/client -github.com/docker/distribution/registry/client/auth +github.com/docker/distribution/registry/auth/token +github.com/prometheus/client_golang/prometheus/promhttp hash/fnv github.com/theupdateframework/notary/vendor/github.com/prometheus/client_golang/prometheus -github.com/theupdateframework/notary/cmd/notary +github.com/docker/go-metrics +github.com/docker/distribution/metrics github.com/theupdateframework/notary/server/errors +github.com/docker/distribution/registry/storage/cache github.com/jinzhu/inflection +github.com/docker/distribution/registry/storage/cache/memory go/token +github.com/docker/distribution/registry/client go/scanner go/ast +github.com/docker/distribution/registry/client/auth github.com/lib/pq +github.com/theupdateframework/notary/cmd/notary github.com/jinzhu/gorm github.com/cenkalti/backoff github.com/hailocab/go-hostpool @@ -1658,379 +1693,379 @@ gopkg.in/gorethink/gorethink.v3/encoding gopkg.in/gorethink/gorethink.v3/ql2 gopkg.in/gorethink/gorethink.v3/types -github.com/theupdateframework/notary/proto gopkg.in/dancannon/gorethink.v3 +github.com/theupdateframework/notary/proto google.golang.org/grpc/health/grpc_health_v1 github.com/theupdateframework/notary/signer/client internal/profile -github.com/theupdateframework/notary/storage/rethinkdb runtime/pprof -github.com/theupdateframework/notary/server/storage -runtime/trace -net/http/pprof github.com/theupdateframework/notary/signer +runtime/trace +github.com/theupdateframework/notary/storage/rethinkdb github.com/theupdateframework/notary/signer/api +net/http/pprof github.com/dvsekhvalnov/jose2go/base64url -github.com/dvsekhvalnov/jose2go/keys/ecc github.com/dvsekhvalnov/jose2go/arrays -github.com/dvsekhvalnov/jose2go/compact github.com/dvsekhvalnov/jose2go/aes +github.com/dvsekhvalnov/jose2go/compact github.com/dvsekhvalnov/jose2go/kdf -github.com/theupdateframework/notary/server/snapshot +github.com/dvsekhvalnov/jose2go/keys/ecc github.com/dvsekhvalnov/jose2go/padding -google.golang.org/grpc/health github.com/dvsekhvalnov/jose2go -github.com/theupdateframework/notary/server/timestamp +github.com/theupdateframework/notary/server/storage +google.golang.org/grpc/health +github.com/theupdateframework/notary/signer/keydbstore github.com/davecgh/go-spew/spew -github.com/theupdateframework/notary/server/handlers github.com/pmezard/go-difflib/difflib -github.com/theupdateframework/notary/server -github.com/theupdateframework/notary/signer/keydbstore +github.com/theupdateframework/notary/cmd/notary-signer +github.com/theupdateframework/notary/server/snapshot gopkg.in/yaml.v3 +github.com/theupdateframework/notary/server/timestamp +github.com/theupdateframework/notary/server/handlers +github.com/theupdateframework/notary/server github.com/theupdateframework/notary/cmd/notary-server -github.com/theupdateframework/notary/cmd/notary-signer +github.com/theupdateframework/notary/tuf/testutils/keys net/http/httptest +testing github.com/stretchr/testify/assert github.com/stretchr/testify/require -github.com/theupdateframework/notary/tuf/testutils/keys -testing -github.com/theupdateframework/notary/tuf/testutils github.com/theupdateframework/notary/tuf/testutils/interfaces +github.com/theupdateframework/notary/tuf/testutils make[1]: Leaving directory '/build/reproducible-path/notary-0.6.1~ds2' dh_auto_test -O--builddirectory=/build/reproducible-path/notary-0.6.1\~ds2/_build -O--buildsystem=golang - cd _build && go test -vet=off -v -p 3 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 4 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] === RUN Test0Dot1Migration ---- PASS: Test0Dot1Migration (0.43s) +--- PASS: Test0Dot1Migration (2.36s) === RUN Test0Dot3Migration ---- PASS: Test0Dot3Migration (0.44s) +--- PASS: Test0Dot3Migration (0.33s) === RUN Test0Dot1RepoFormat -time="2024-01-06T16:27:32Z" level=warning msg="Error while downloading remote metadata, using cached timestamp - this might not be the latest version available remotely" ---- PASS: Test0Dot1RepoFormat (1.52s) +time="2024-01-06T16:37:27Z" level=warning msg="Error while downloading remote metadata, using cached timestamp - this might not be the latest version available remotely" +--- PASS: Test0Dot1RepoFormat (1.19s) === RUN Test0Dot3RepoFormat -time="2024-01-06T16:27:34Z" level=warning msg="Error while downloading remote metadata, using cached timestamp - this might not be the latest version available remotely" ---- PASS: Test0Dot3RepoFormat (2.60s) +time="2024-01-06T16:37:28Z" level=warning msg="Error while downloading remote metadata, using cached timestamp - this might not be the latest version available remotely" +--- PASS: Test0Dot3RepoFormat (1.97s) === RUN TestDownloading0Dot1RepoFormat ---- PASS: TestDownloading0Dot1RepoFormat (0.04s) +--- PASS: TestDownloading0Dot1RepoFormat (0.09s) === RUN TestDownloading0Dot3RepoFormat ---- PASS: TestDownloading0Dot3RepoFormat (0.06s) +--- PASS: TestDownloading0Dot3RepoFormat (0.10s) === RUN TestInitRepositoryManagedRolesIncludingRoot ---- PASS: TestInitRepositoryManagedRolesIncludingRoot (0.01s) +--- PASS: TestInitRepositoryManagedRolesIncludingRoot (0.04s) === RUN TestInitRepositoryManagedRolesInvalidRole ---- PASS: TestInitRepositoryManagedRolesInvalidRole (0.01s) +--- PASS: TestInitRepositoryManagedRolesInvalidRole (0.04s) === RUN TestInitRepositoryManagedRolesIncludingTargets ---- PASS: TestInitRepositoryManagedRolesIncludingTargets (0.01s) +--- PASS: TestInitRepositoryManagedRolesIncludingTargets (0.05s) === RUN TestInitRepositoryManagedRolesIncludingTimestamp ---- PASS: TestInitRepositoryManagedRolesIncludingTimestamp (0.07s) +--- PASS: TestInitRepositoryManagedRolesIncludingTimestamp (0.12s) === RUN TestInitRepositoryWithCerts ---- PASS: TestInitRepositoryWithCerts (0.09s) +--- PASS: TestInitRepositoryWithCerts (0.14s) === RUN TestMatchKeyIDsWithPublicKeys ---- PASS: TestMatchKeyIDsWithPublicKeys (0.03s) +--- PASS: TestMatchKeyIDsWithPublicKeys (0.04s) === RUN TestInitRepositoryNeedsRemoteTimestampKey ---- PASS: TestInitRepositoryNeedsRemoteTimestampKey (0.04s) +--- PASS: TestInitRepositoryNeedsRemoteTimestampKey (0.08s) === RUN TestInitRepositoryNeedsRemoteSnapshotKey ---- PASS: TestInitRepositoryNeedsRemoteSnapshotKey (0.03s) +--- PASS: TestInitRepositoryNeedsRemoteSnapshotKey (0.07s) === RUN TestInitRepoServerOnlyManagesTimestampKey ---- PASS: TestInitRepoServerOnlyManagesTimestampKey (0.46s) +--- PASS: TestInitRepoServerOnlyManagesTimestampKey (0.73s) === RUN TestInitRepoServerManagesTimestampAndSnapshotKeys ---- PASS: TestInitRepoServerManagesTimestampAndSnapshotKeys (0.51s) +--- PASS: TestInitRepoServerManagesTimestampAndSnapshotKeys (0.75s) === RUN TestInitRepoAttemptsExceeded ---- PASS: TestInitRepoAttemptsExceeded (0.20s) +--- PASS: TestInitRepoAttemptsExceeded (0.38s) === RUN TestInitRepoPasswordInvalid --- PASS: TestInitRepoPasswordInvalid (0.04s) === RUN TestAddTargetToTargetRoleByDefault ---- PASS: TestAddTargetToTargetRoleByDefault (0.14s) +--- PASS: TestAddTargetToTargetRoleByDefault (0.63s) === RUN TestAddTargetToSpecifiedValidRoles ---- PASS: TestAddTargetToSpecifiedValidRoles (0.14s) +--- PASS: TestAddTargetToSpecifiedValidRoles (0.13s) === RUN TestAddTargetToSpecifiedInvalidRoles ---- PASS: TestAddTargetToSpecifiedInvalidRoles (0.17s) +--- PASS: TestAddTargetToSpecifiedInvalidRoles (0.16s) === RUN TestAddTargetWithInvalidTarget ---- PASS: TestAddTargetWithInvalidTarget (0.07s) +--- PASS: TestAddTargetWithInvalidTarget (0.21s) === RUN TestAddTargetErrorWritingChanges ---- PASS: TestAddTargetErrorWritingChanges (0.07s) +--- PASS: TestAddTargetErrorWritingChanges (0.08s) === RUN TestRemoveTargetToTargetRoleByDefault ---- PASS: TestRemoveTargetToTargetRoleByDefault (0.14s) +--- PASS: TestRemoveTargetToTargetRoleByDefault (0.29s) === RUN TestRemoveTargetFromSpecifiedValidRoles ---- PASS: TestRemoveTargetFromSpecifiedValidRoles (0.15s) +--- PASS: TestRemoveTargetFromSpecifiedValidRoles (0.20s) === RUN TestRemoveTargetToSpecifiedInvalidRoles ---- PASS: TestRemoveTargetToSpecifiedInvalidRoles (0.16s) +--- PASS: TestRemoveTargetToSpecifiedInvalidRoles (0.15s) === RUN TestRemoveTargetErrorWritingChanges ---- PASS: TestRemoveTargetErrorWritingChanges (0.06s) +--- PASS: TestRemoveTargetErrorWritingChanges (0.07s) === RUN TestListTarget ---- PASS: TestListTarget (2.22s) +--- PASS: TestListTarget (3.45s) === RUN TestListTargetRestrictsDelegationPaths ---- PASS: TestListTargetRestrictsDelegationPaths (0.33s) +--- PASS: TestListTargetRestrictsDelegationPaths (0.43s) === RUN TestValidateRootKey --- PASS: TestValidateRootKey (0.20s) === RUN TestGetChangelist ---- PASS: TestGetChangelist (0.21s) +--- PASS: TestGetChangelist (0.27s) === RUN TestPublishBareRepo ---- PASS: TestPublishBareRepo (1.81s) +--- PASS: TestPublishBareRepo (2.72s) === RUN TestPublishUninitializedRepo -time="2024-01-06T16:27:43Z" level=info msg="No TUF data found locally or remotely - initializing repository docker.com/notary for the first time" ---- PASS: TestPublishUninitializedRepo (0.12s) +time="2024-01-06T16:37:41Z" level=info msg="No TUF data found locally or remotely - initializing repository docker.com/notary for the first time" +--- PASS: TestPublishUninitializedRepo (0.16s) === RUN TestPublishClientHasSnapshotKey ---- PASS: TestPublishClientHasSnapshotKey (1.76s) +--- PASS: TestPublishClientHasSnapshotKey (2.30s) === RUN TestPublishAfterInitServerHasSnapshotKey ---- PASS: TestPublishAfterInitServerHasSnapshotKey (1.81s) +--- PASS: TestPublishAfterInitServerHasSnapshotKey (2.09s) === RUN TestPublishAfterPullServerHasSnapshotKey ---- PASS: TestPublishAfterPullServerHasSnapshotKey (0.61s) +--- PASS: TestPublishAfterPullServerHasSnapshotKey (0.92s) === RUN TestPublishNoOneHasSnapshotKey ---- PASS: TestPublishNoOneHasSnapshotKey (0.33s) +--- PASS: TestPublishNoOneHasSnapshotKey (0.70s) === RUN TestPublishSnapshotCorrupt ---- PASS: TestPublishSnapshotCorrupt (0.86s) +--- PASS: TestPublishSnapshotCorrupt (1.61s) === RUN TestPublishTargetsCorrupt ---- PASS: TestPublishTargetsCorrupt (0.48s) +--- PASS: TestPublishTargetsCorrupt (0.78s) === RUN TestPublishRootCorrupt -time="2024-01-06T16:27:49Z" level=error msg="Could not publish Repository since we could not update: invalid character 'h' in literal true (expecting 'r')" -time="2024-01-06T16:27:49Z" level=error msg="Could not publish Repository since we could not update: invalid character 'h' in literal true (expecting 'r')" ---- PASS: TestPublishRootCorrupt (0.35s) +time="2024-01-06T16:37:50Z" level=error msg="Could not publish Repository since we could not update: invalid character 'h' in literal true (expecting 'r')" +time="2024-01-06T16:37:50Z" level=error msg="Could not publish Repository since we could not update: invalid character 'h' in literal true (expecting 'r')" +--- PASS: TestPublishRootCorrupt (0.50s) === RUN TestPublishSnapshotLocalKeysCreatedFirst ---- PASS: TestPublishSnapshotLocalKeysCreatedFirst (0.02s) +--- PASS: TestPublishSnapshotLocalKeysCreatedFirst (0.03s) === RUN TestPublishDelegations ---- PASS: TestPublishDelegations (0.67s) +--- PASS: TestPublishDelegations (1.00s) === RUN TestPublishDelegationsX509 ---- PASS: TestPublishDelegationsX509 (0.81s) +--- PASS: TestPublishDelegationsX509 (0.80s) === RUN TestPublishTargetsDelegationScopeFailIfNoKeys -time="2024-01-06T16:27:51Z" level=error msg="couldn't add target to targets/a/b: tuf: invalid role targets/a/b. delegation does not exist" -time="2024-01-06T16:27:51Z" level=error msg="couldn't add target to targets/a/b: tuf: invalid role targets/a/b. delegation does not exist" ---- PASS: TestPublishTargetsDelegationScopeFailIfNoKeys (0.60s) +time="2024-01-06T16:37:53Z" level=error msg="couldn't add target to targets/a/b: tuf: invalid role targets/a/b. delegation does not exist" +time="2024-01-06T16:37:53Z" level=error msg="couldn't add target to targets/a/b: tuf: invalid role targets/a/b. delegation does not exist" +--- PASS: TestPublishTargetsDelegationScopeFailIfNoKeys (0.91s) === RUN TestPublishTargetsDelegationSuccessLocallyHasRoles ---- PASS: TestPublishTargetsDelegationSuccessLocallyHasRoles (0.69s) +--- PASS: TestPublishTargetsDelegationSuccessLocallyHasRoles (0.86s) === RUN TestPublishTargetsDelegationNoTargetsKeyNeeded ---- PASS: TestPublishTargetsDelegationNoTargetsKeyNeeded (0.81s) +--- PASS: TestPublishTargetsDelegationNoTargetsKeyNeeded (0.91s) === RUN TestPublishTargetsDelegationSuccessNeedsToDownloadRoles ---- PASS: TestPublishTargetsDelegationSuccessNeedsToDownloadRoles (0.72s) +--- PASS: TestPublishTargetsDelegationSuccessNeedsToDownloadRoles (0.84s) === RUN TestPublishTargetsDelegationFromTwoRepos ---- PASS: TestPublishTargetsDelegationFromTwoRepos (0.62s) +--- PASS: TestPublishTargetsDelegationFromTwoRepos (0.81s) === RUN TestPublishRemoveDelegationKeyFromDelegationRole -time="2024-01-06T16:27:54Z" level=warning msg="Error getting targets/a: valid signatures did not meet threshold for targets/a" -time="2024-01-06T16:27:54Z" 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: 2c149ca3462b4ac6baddce056f9110dcd3e37c7c854a02cff96a16d00b55363a" ---- PASS: TestPublishRemoveDelegationKeyFromDelegationRole (0.45s) +time="2024-01-06T16:37:57Z" level=warning msg="Error getting targets/a: valid signatures did not meet threshold for targets/a" +time="2024-01-06T16:37:57Z" 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: 75fa3a0b9b7faa59a354db98e848befcb276ce1df15ef4105502bd5b3e12c180" +--- PASS: TestPublishRemoveDelegationKeyFromDelegationRole (0.52s) === RUN TestPublishRemoveDelegation -time="2024-01-06T16:27:55Z" 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-01-06T16:27:55Z" 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-01-06T16:27:55Z" level=warning msg="Error getting targets/a: valid signatures did not meet threshold for targets/a" -time="2024-01-06T16:27:55Z" 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.39s) +time="2024-01-06T16:37:57Z" 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-01-06T16:37:57Z" 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-01-06T16:37:57Z" level=warning msg="Error getting targets/a: valid signatures did not meet threshold for targets/a" +time="2024-01-06T16:37:57Z" 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.43s) === RUN TestPublishSucceedsDespiteDelegationCorrupt ---- PASS: TestPublishSucceedsDespiteDelegationCorrupt (0.48s) +--- PASS: TestPublishSucceedsDespiteDelegationCorrupt (0.60s) === RUN TestRotateKeyInvalidRole ---- PASS: TestRotateKeyInvalidRole (0.26s) +--- PASS: TestRotateKeyInvalidRole (0.27s) === RUN TestRemoteRotationError ---- PASS: TestRemoteRotationError (0.05s) +--- PASS: TestRemoteRotationError (0.13s) === RUN TestRemoteRotationEndpointError ---- PASS: TestRemoteRotationEndpointError (0.14s) +--- PASS: TestRemoteRotationEndpointError (0.41s) === RUN TestRemoteRotationNoRootKey ---- PASS: TestRemoteRotationNoRootKey (0.25s) +--- PASS: TestRemoteRotationNoRootKey (0.37s) === RUN TestRemoteRotationNoInit -time="2024-01-06T16:27:56Z" level=info msg="No TUF data found locally or remotely - initializing repository docker.com/notary for the first time" ---- PASS: TestRemoteRotationNoInit (0.18s) +time="2024-01-06T16:37:59Z" level=info msg="No TUF data found locally or remotely - initializing repository docker.com/notary for the first time" +--- PASS: TestRemoteRotationNoInit (0.29s) === RUN TestRotateBeforePublishFromRemoteKeyToLocalKey ---- PASS: TestRotateBeforePublishFromRemoteKeyToLocalKey (0.85s) +--- PASS: TestRotateBeforePublishFromRemoteKeyToLocalKey (1.23s) === RUN TestRotateKeyAfterPublishNoServerManagementChange ---- PASS: TestRotateKeyAfterPublishNoServerManagementChange (2.20s) +--- PASS: TestRotateKeyAfterPublishNoServerManagementChange (3.01s) === RUN TestRotateKeyAfterPublishServerManagementChange ---- PASS: TestRotateKeyAfterPublishServerManagementChange (3.11s) +--- PASS: TestRotateKeyAfterPublishServerManagementChange (3.28s) === RUN TestRotateRootKey ---- PASS: TestRotateRootKey (0.80s) +--- PASS: TestRotateRootKey (1.22s) === RUN TestRotateRootMultiple ---- PASS: TestRotateRootMultiple (0.94s) +--- PASS: TestRotateRootMultiple (2.15s) === RUN TestRotateRootKeyProvided ---- PASS: TestRotateRootKeyProvided (0.73s) +--- PASS: TestRotateRootKeyProvided (0.97s) === RUN TestRotateRootKeyLegacySupport ---- PASS: TestRotateRootKeyLegacySupport (0.97s) +--- PASS: TestRotateRootKeyLegacySupport (1.28s) === RUN TestRemoteServerUnavailableNoLocalCache -time="2024-01-06T16:28:06Z" level=error msg="Could not publish Repository since we could not update: unable to reach trust server at this time: 500." +time="2024-01-06T16:38: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.01s) === RUN TestAddDelegationChangefileValid --- PASS: TestAddDelegationChangefileValid (0.09s) === RUN TestAddDelegationChangefileApplicable --- PASS: TestAddDelegationChangefileApplicable (0.07s) === RUN TestAddDelegationErrorWritingChanges ---- PASS: TestAddDelegationErrorWritingChanges (0.06s) +--- PASS: TestAddDelegationErrorWritingChanges (0.08s) === RUN TestRemoveDelegationChangefileValid ---- PASS: TestRemoveDelegationChangefileValid (0.07s) +--- PASS: TestRemoveDelegationChangefileValid (0.08s) === RUN TestRemoveDelegationChangefileApplicable -time="2024-01-06T16:28:06Z" 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-01-06T16:28:06Z" 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-01-06T16:38:13Z" 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-01-06T16:38:13Z" 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.08s) === RUN TestClearAllPathsDelegationChangefileApplicable ---- PASS: TestClearAllPathsDelegationChangefileApplicable (0.08s) +--- PASS: TestClearAllPathsDelegationChangefileApplicable (0.07s) === RUN TestFullAddDelegationChangefileApplicable ---- PASS: TestFullAddDelegationChangefileApplicable (0.17s) +--- PASS: TestFullAddDelegationChangefileApplicable (0.07s) === RUN TestFullRemoveDelegationChangefileApplicable ---- PASS: TestFullRemoveDelegationChangefileApplicable (0.12s) +--- PASS: TestFullRemoveDelegationChangefileApplicable (0.08s) === RUN TestRemoveDelegationErrorWritingChanges ---- PASS: TestRemoveDelegationErrorWritingChanges (0.08s) +--- PASS: TestRemoveDelegationErrorWritingChanges (0.07s) === RUN TestBootstrapClientBadURL --- PASS: TestBootstrapClientBadURL (0.00s) === RUN TestClientInvalidURL --- PASS: TestClientInvalidURL (0.00s) === RUN TestPublishTargetsDelegationCanUseUserKeyWithArbitraryRole ---- PASS: TestPublishTargetsDelegationCanUseUserKeyWithArbitraryRole (1.41s) +--- PASS: TestPublishTargetsDelegationCanUseUserKeyWithArbitraryRole (1.83s) === RUN TestDeleteRepo ---- PASS: TestDeleteRepo (0.16s) +--- PASS: TestDeleteRepo (0.19s) === RUN TestDeleteRemoteRepo ---- PASS: TestDeleteRemoteRepo (0.57s) +--- PASS: TestDeleteRemoteRepo (0.58s) === RUN TestListRoles ---- PASS: TestListRoles (1.03s) +--- PASS: TestListRoles (1.61s) === RUN TestGetAllTargetInfo ---- PASS: TestGetAllTargetInfo (0.68s) +--- PASS: TestGetAllTargetInfo (0.67s) === RUN TestUpdateSucceedsEvenIfCannotWriteNewRepo -time="2024-01-06T16:28:11Z" level=error msg="could not save root to cache: Non-writable" ---- PASS: TestUpdateSucceedsEvenIfCannotWriteNewRepo (0.61s) +time="2024-01-06T16:38:19Z" level=error msg="could not save root to cache: Non-writable" +--- PASS: TestUpdateSucceedsEvenIfCannotWriteNewRepo (0.47s) === RUN TestUpdateSucceedsEvenIfCannotWriteExistingRepo ---- PASS: TestUpdateSucceedsEvenIfCannotWriteExistingRepo (2.66s) +--- PASS: TestUpdateSucceedsEvenIfCannotWriteExistingRepo (2.74s) === RUN TestUpdateInOfflineMode -time="2024-01-06T16:28:14Z" level=warning msg="Error while downloading remote metadata, using cached timestamp - this might not be the latest version available remotely" -time="2024-01-06T16:28:14Z" level=warning msg="Error while downloading remote metadata, using cached timestamp - this might not be the latest version available remotely" ---- PASS: TestUpdateInOfflineMode (0.16s) +time="2024-01-06T16:38:22Z" level=warning msg="Error while downloading remote metadata, using cached timestamp - this might not be the latest version available remotely" +time="2024-01-06T16:38:22Z" level=warning msg="Error while downloading remote metadata, using cached timestamp - this might not be the latest version available remotely" +--- PASS: TestUpdateInOfflineMode (0.27s) === RUN TestUpdateReplacesCorruptOrMissingMetadata -time="2024-01-06T16:28:17Z" level=error msg="Metadata for root expired" -time="2024-01-06T16:28:17Z" level=error msg="Metadata for root expired" ---- PASS: TestUpdateReplacesCorruptOrMissingMetadata (6.52s) +time="2024-01-06T16:38:23Z" level=error msg="Metadata for root expired" +time="2024-01-06T16:38:23Z" level=error msg="Metadata for root expired" +--- PASS: TestUpdateReplacesCorruptOrMissingMetadata (3.70s) === RUN TestUpdateFailsIfServerRootKeyChangedWithoutMultiSign -time="2024-01-06T16:28:21Z" level=error msg="Metadata for root expired" -time="2024-01-06T16:28:21Z" level=error msg="Metadata for root expired" ---- PASS: TestUpdateFailsIfServerRootKeyChangedWithoutMultiSign (1.17s) +time="2024-01-06T16:38:26Z" level=error msg="Metadata for root expired" +time="2024-01-06T16:38:26Z" level=error msg="Metadata for root expired" +--- PASS: TestUpdateFailsIfServerRootKeyChangedWithoutMultiSign (0.29s) === RUN TestUpdateRemoteRootNotExistNoLocalCache ---- PASS: TestUpdateRemoteRootNotExistNoLocalCache (0.17s) +--- PASS: TestUpdateRemoteRootNotExistNoLocalCache (0.15s) === RUN TestUpdateRemoteRootNotExistCanUseLocalCache ---- PASS: TestUpdateRemoteRootNotExistCanUseLocalCache (0.33s) +--- PASS: TestUpdateRemoteRootNotExistCanUseLocalCache (0.29s) === RUN TestUpdateRemoteRootNotExistCannotUseLocalCache ---- PASS: TestUpdateRemoteRootNotExistCannotUseLocalCache (0.32s) +--- PASS: TestUpdateRemoteRootNotExistCannotUseLocalCache (0.38s) === RUN TestUpdateRemoteRoot50XNoLocalCache ---- PASS: TestUpdateRemoteRoot50XNoLocalCache (0.19s) +--- PASS: TestUpdateRemoteRoot50XNoLocalCache (0.15s) === RUN TestUpdateRemoteRoot50XCanUseLocalCache ---- PASS: TestUpdateRemoteRoot50XCanUseLocalCache (1.08s) +--- PASS: TestUpdateRemoteRoot50XCanUseLocalCache (0.29s) === RUN TestUpdateRemoteRoot50XCannotUseLocalCache ---- PASS: TestUpdateRemoteRoot50XCannotUseLocalCache (0.35s) +--- PASS: TestUpdateRemoteRoot50XCannotUseLocalCache (0.31s) === RUN TestUpdateNonRootRemoteMissingMetadataNoLocalCache ---- PASS: TestUpdateNonRootRemoteMissingMetadataNoLocalCache (0.74s) +--- PASS: TestUpdateNonRootRemoteMissingMetadataNoLocalCache (0.73s) === RUN TestUpdateNonRootRemoteMissingMetadataCanUseLocalCache -time="2024-01-06T16:28:25Z" level=warning msg="Error while downloading remote metadata, using cached timestamp - this might not be the latest version available remotely" ---- PASS: TestUpdateNonRootRemoteMissingMetadataCanUseLocalCache (1.04s) +time="2024-01-06T16:38:28Z" level=warning msg="Error while downloading remote metadata, using cached timestamp - this might not be the latest version available remotely" +--- PASS: TestUpdateNonRootRemoteMissingMetadataCanUseLocalCache (1.00s) === RUN TestUpdateNonRootRemoteMissingMetadataCannotUseLocalCache -time="2024-01-06T16:28:26Z" level=warning msg="Error while downloading remote metadata, using cached timestamp - this might not be the latest version available remotely" ---- PASS: TestUpdateNonRootRemoteMissingMetadataCannotUseLocalCache (1.16s) +time="2024-01-06T16:38:30Z" level=warning msg="Error while downloading remote metadata, using cached timestamp - this might not be the latest version available remotely" +--- PASS: TestUpdateNonRootRemoteMissingMetadataCannotUseLocalCache (1.23s) === RUN TestUpdateNonRootRemote50XNoLocalCache ---- PASS: TestUpdateNonRootRemote50XNoLocalCache (0.90s) +--- PASS: TestUpdateNonRootRemote50XNoLocalCache (0.78s) === RUN TestUpdateNonRootRemote50XCanUseLocalCache -time="2024-01-06T16:28:28Z" level=warning msg="Error while downloading remote metadata, using cached timestamp - this might not be the latest version available remotely" ---- PASS: TestUpdateNonRootRemote50XCanUseLocalCache (3.17s) +time="2024-01-06T16:38:31Z" level=warning msg="Error while downloading remote metadata, using cached timestamp - this might not be the latest version available remotely" +--- PASS: TestUpdateNonRootRemote50XCanUseLocalCache (1.01s) === RUN TestUpdateNonRootRemote50XCannotUseLocalCache -time="2024-01-06T16:28:32Z" level=warning msg="Error while downloading remote metadata, using cached timestamp - this might not be the latest version available remotely" ---- PASS: TestUpdateNonRootRemote50XCannotUseLocalCache (1.64s) +time="2024-01-06T16:38:33Z" level=warning msg="Error while downloading remote metadata, using cached timestamp - this might not be the latest version available remotely" +--- PASS: TestUpdateNonRootRemote50XCannotUseLocalCache (1.24s) === RUN TestUpdateRemoteChecksumWrongNoLocalCache ---- PASS: TestUpdateRemoteChecksumWrongNoLocalCache (0.95s) +--- PASS: TestUpdateRemoteChecksumWrongNoLocalCache (0.98s) === RUN TestUpdateRemoteChecksumWrongCanUseLocalCache ---- PASS: TestUpdateRemoteChecksumWrongCanUseLocalCache (1.43s) +--- PASS: TestUpdateRemoteChecksumWrongCanUseLocalCache (1.50s) === RUN TestUpdateRemoteChecksumWrongCannotUseLocalCache ---- PASS: TestUpdateRemoteChecksumWrongCannotUseLocalCache (2.67s) +--- PASS: TestUpdateRemoteChecksumWrongCannotUseLocalCache (1.69s) === RUN TestUpdateRootRemoteCorruptedNoLocalCache -time="2024-01-06T16:28:39Z" level=error msg="Metadata for root expired" -time="2024-01-06T16:28:39Z" level=error msg="Metadata for root expired" ---- PASS: TestUpdateRootRemoteCorruptedNoLocalCache (3.72s) +time="2024-01-06T16:38:39Z" level=error msg="Metadata for root expired" +time="2024-01-06T16:38:39Z" level=error msg="Metadata for root expired" +--- PASS: TestUpdateRootRemoteCorruptedNoLocalCache (3.26s) === RUN TestUpdateRootRemoteCorruptedCanUseLocalCache ---- PASS: TestUpdateRootRemoteCorruptedCanUseLocalCache (6.55s) +--- PASS: TestUpdateRootRemoteCorruptedCanUseLocalCache (5.81s) === RUN TestUpdateRootRemoteCorruptedCannotUseLocalCache -time="2024-01-06T16:28:52Z" level=error msg="Metadata for root expired" -time="2024-01-06T16:28:52Z" level=error msg="Metadata for root expired" ---- PASS: TestUpdateRootRemoteCorruptedCannotUseLocalCache (7.99s) +time="2024-01-06T16:38:50Z" level=error msg="Metadata for root expired" +time="2024-01-06T16:38:50Z" level=error msg="Metadata for root expired" +--- PASS: TestUpdateRootRemoteCorruptedCannotUseLocalCache (6.64s) === RUN TestUpdateNonRootRemoteCorruptedNoLocalCache -time="2024-01-06T16:28:57Z" level=error msg="Metadata for targets expired" -time="2024-01-06T16:28:57Z" level=error msg="Metadata for targets expired" -time="2024-01-06T16:28:59Z" level=error msg="Metadata for snapshot expired" -time="2024-01-06T16:28:59Z" level=error msg="Metadata for snapshot expired" -time="2024-01-06T16:29:01Z" level=error msg="Metadata for timestamp expired" -time="2024-01-06T16:29:01Z" level=error msg="Metadata for timestamp expired" -time="2024-01-06T16:29:02Z" level=warning msg="Error getting targets/a: valid signatures did not meet threshold for targets/a" -time="2024-01-06T16:29:02Z" level=warning msg="Error getting targets/a: valid signatures did not meet threshold for targets/a" -time="2024-01-06T16:29:02Z" level=warning msg="Error getting targets/a: valid signatures did not meet threshold for targets/a" -time="2024-01-06T16:29:03Z" level=error msg="Metadata for targets/a expired" -time="2024-01-06T16:29:03Z" level=warning msg="Error getting targets/a: targets/a expired at Mon Dec 5 16:29:03 UTC 2022" -time="2024-01-06T16:29:04Z" level=warning msg="Error getting targets/a/b: valid signatures did not meet threshold for targets/a/b" -time="2024-01-06T16:29:04Z" level=warning msg="Error getting targets/a/b: valid signatures did not meet threshold for targets/a/b" -time="2024-01-06T16:29:04Z" level=warning msg="Error getting targets/a/b: valid signatures did not meet threshold for targets/a/b" -time="2024-01-06T16:29:04Z" level=error msg="Metadata for targets/a/b expired" -time="2024-01-06T16:29:04Z" level=warning msg="Error getting targets/a/b: targets/a/b expired at Mon Dec 5 16:29:04 UTC 2022" -time="2024-01-06T16:29:06Z" level=warning msg="Error getting targets/b: valid signatures did not meet threshold for targets/b" -time="2024-01-06T16:29:06Z" level=warning msg="Error getting targets/b: valid signatures did not meet threshold for targets/b" -time="2024-01-06T16:29:06Z" level=warning msg="Error getting targets/b: valid signatures did not meet threshold for targets/b" -time="2024-01-06T16:29:06Z" level=error msg="Metadata for targets/b expired" -time="2024-01-06T16:29:06Z" level=warning msg="Error getting targets/b: targets/b expired at Mon Dec 5 16:29:06 UTC 2022" ---- PASS: TestUpdateNonRootRemoteCorruptedNoLocalCache (11.65s) +time="2024-01-06T16:38:54Z" level=error msg="Metadata for targets expired" +time="2024-01-06T16:38:54Z" level=error msg="Metadata for targets expired" +time="2024-01-06T16:38:56Z" level=error msg="Metadata for snapshot expired" +time="2024-01-06T16:38:56Z" level=error msg="Metadata for snapshot expired" +time="2024-01-06T16:38:57Z" level=error msg="Metadata for timestamp expired" +time="2024-01-06T16:38:57Z" level=error msg="Metadata for timestamp expired" +time="2024-01-06T16:38:57Z" level=warning msg="Error getting targets/a: valid signatures did not meet threshold for targets/a" +time="2024-01-06T16:38:58Z" level=warning msg="Error getting targets/a: valid signatures did not meet threshold for targets/a" +time="2024-01-06T16:38:58Z" level=warning msg="Error getting targets/a: valid signatures did not meet threshold for targets/a" +time="2024-01-06T16:38:58Z" level=error msg="Metadata for targets/a expired" +time="2024-01-06T16:38:58Z" level=warning msg="Error getting targets/a: targets/a expired at Mon Dec 5 16:38:58 UTC 2022" +time="2024-01-06T16:38:59Z" level=warning msg="Error getting targets/a/b: valid signatures did not meet threshold for targets/a/b" +time="2024-01-06T16:38:59Z" level=warning msg="Error getting targets/a/b: valid signatures did not meet threshold for targets/a/b" +time="2024-01-06T16:38:59Z" level=warning msg="Error getting targets/a/b: valid signatures did not meet threshold for targets/a/b" +time="2024-01-06T16:38:59Z" level=error msg="Metadata for targets/a/b expired" +time="2024-01-06T16:38:59Z" level=warning msg="Error getting targets/a/b: targets/a/b expired at Mon Dec 5 16:38:59 UTC 2022" +time="2024-01-06T16:39:00Z" level=warning msg="Error getting targets/b: valid signatures did not meet threshold for targets/b" +time="2024-01-06T16:39:00Z" level=warning msg="Error getting targets/b: valid signatures did not meet threshold for targets/b" +time="2024-01-06T16:39:00Z" level=warning msg="Error getting targets/b: valid signatures did not meet threshold for targets/b" +time="2024-01-06T16:39:00Z" level=error msg="Metadata for targets/b expired" +time="2024-01-06T16:39:00Z" level=warning msg="Error getting targets/b: targets/b expired at Mon Dec 5 16:39:00 UTC 2022" +--- PASS: TestUpdateNonRootRemoteCorruptedNoLocalCache (7.91s) === RUN TestUpdateNonRootRemoteCorruptedCanUseLocalCache -time="2024-01-06T16:29:13Z" level=error msg="Metadata for timestamp expired" -time="2024-01-06T16:29:13Z" level=error msg="Metadata for timestamp expired" ---- PASS: TestUpdateNonRootRemoteCorruptedCanUseLocalCache (12.34s) +time="2024-01-06T16:39:06Z" level=error msg="Metadata for timestamp expired" +time="2024-01-06T16:39:06Z" level=error msg="Metadata for timestamp expired" +--- PASS: TestUpdateNonRootRemoteCorruptedCanUseLocalCache (10.69s) === RUN TestUpdateNonRootRemoteCorruptedCannotUseLocalCache -time="2024-01-06T16:29:22Z" level=error msg="Metadata for targets expired" -time="2024-01-06T16:29:24Z" level=error msg="Metadata for snapshot expired" -time="2024-01-06T16:29:24Z" level=error msg="Metadata for snapshot expired" -time="2024-01-06T16:29:25Z" level=error msg="Metadata for timestamp expired" -time="2024-01-06T16:29:25Z" level=error msg="Metadata for timestamp expired" -time="2024-01-06T16:29:27Z" level=warning msg="Error getting targets/a: valid signatures did not meet threshold for targets/a" -time="2024-01-06T16:29:27Z" level=warning msg="Error getting targets/a: valid signatures did not meet threshold for targets/a" -time="2024-01-06T16:29:27Z" level=warning msg="Error getting targets/a: valid signatures did not meet threshold for targets/a" -time="2024-01-06T16:29:28Z" level=error msg="Metadata for targets/a expired" -time="2024-01-06T16:29:28Z" level=warning msg="Error getting targets/a: targets/a expired at Mon Dec 5 16:29:28 UTC 2022" -time="2024-01-06T16:29:29Z" level=warning msg="Error getting targets/a/b: valid signatures did not meet threshold for targets/a/b" -time="2024-01-06T16:29:29Z" level=warning msg="Error getting targets/a/b: valid signatures did not meet threshold for targets/a/b" -time="2024-01-06T16:29:30Z" level=warning msg="Error getting targets/a/b: valid signatures did not meet threshold for targets/a/b" -time="2024-01-06T16:29:30Z" level=error msg="Metadata for targets/a/b expired" -time="2024-01-06T16:29:30Z" level=warning msg="Error getting targets/a/b: targets/a/b expired at Mon Dec 5 16:29:30 UTC 2022" -time="2024-01-06T16:29:31Z" level=warning msg="Error getting targets/b: valid signatures did not meet threshold for targets/b" -time="2024-01-06T16:29:31Z" level=warning msg="Error getting targets/b: valid signatures did not meet threshold for targets/b" -time="2024-01-06T16:29:32Z" level=warning msg="Error getting targets/b: valid signatures did not meet threshold for targets/b" -time="2024-01-06T16:29:32Z" level=error msg="Metadata for targets/b expired" -time="2024-01-06T16:29:32Z" level=warning msg="Error getting targets/b: targets/b expired at Mon Dec 5 16:29:32 UTC 2022" ---- PASS: TestUpdateNonRootRemoteCorruptedCannotUseLocalCache (13.27s) +time="2024-01-06T16:39:14Z" level=error msg="Metadata for targets expired" +time="2024-01-06T16:39:16Z" level=error msg="Metadata for snapshot expired" +time="2024-01-06T16:39:16Z" level=error msg="Metadata for snapshot expired" +time="2024-01-06T16:39:17Z" level=error msg="Metadata for timestamp expired" +time="2024-01-06T16:39:17Z" level=error msg="Metadata for timestamp expired" +time="2024-01-06T16:39:19Z" level=warning msg="Error getting targets/a: valid signatures did not meet threshold for targets/a" +time="2024-01-06T16:39:19Z" level=warning msg="Error getting targets/a: valid signatures did not meet threshold for targets/a" +time="2024-01-06T16:39:19Z" level=warning msg="Error getting targets/a: valid signatures did not meet threshold for targets/a" +time="2024-01-06T16:39:19Z" level=error msg="Metadata for targets/a expired" +time="2024-01-06T16:39:19Z" level=warning msg="Error getting targets/a: targets/a expired at Mon Dec 5 16:39:19 UTC 2022" +time="2024-01-06T16:39:21Z" level=warning msg="Error getting targets/a/b: valid signatures did not meet threshold for targets/a/b" +time="2024-01-06T16:39:21Z" level=warning msg="Error getting targets/a/b: valid signatures did not meet threshold for targets/a/b" +time="2024-01-06T16:39:22Z" level=warning msg="Error getting targets/a/b: valid signatures did not meet threshold for targets/a/b" +time="2024-01-06T16:39:22Z" level=error msg="Metadata for targets/a/b expired" +time="2024-01-06T16:39:22Z" level=warning msg="Error getting targets/a/b: targets/a/b expired at Mon Dec 5 16:39:22 UTC 2022" +time="2024-01-06T16:39:24Z" level=warning msg="Error getting targets/b: valid signatures did not meet threshold for targets/b" +time="2024-01-06T16:39:24Z" level=warning msg="Error getting targets/b: valid signatures did not meet threshold for targets/b" +time="2024-01-06T16:39:24Z" level=warning msg="Error getting targets/b: valid signatures did not meet threshold for targets/b" +time="2024-01-06T16:39:24Z" level=error msg="Metadata for targets/b expired" +time="2024-01-06T16:39:24Z" level=warning msg="Error getting targets/b: targets/b expired at Mon Dec 5 16:39:24 UTC 2022" +--- PASS: TestUpdateNonRootRemoteCorruptedCannotUseLocalCache (13.59s) === RUN TestUpdateLocalAndRemoteRootCorrupt -time="2024-01-06T16:29:39Z" level=error msg="Metadata for root expired" -time="2024-01-06T16:29:39Z" level=error msg="Metadata for root expired" -time="2024-01-06T16:29:45Z" level=error msg="Metadata for root expired" -time="2024-01-06T16:29:45Z" level=error msg="Metadata for root expired" -time="2024-01-06T16:29:46Z" level=error msg="Metadata for root expired" -time="2024-01-06T16:29:46Z" level=error msg="Metadata for root expired" -time="2024-01-06T16:29:46Z" level=error msg="Metadata for root expired" -time="2024-01-06T16:29:46Z" level=error msg="Metadata for root expired" -time="2024-01-06T16:29:46Z" level=error msg="Metadata for root expired" -time="2024-01-06T16:29:46Z" level=error msg="Metadata for root expired" -time="2024-01-06T16:29:47Z" level=error msg="Metadata for root expired" -time="2024-01-06T16:29:47Z" level=error msg="Metadata for root expired" -time="2024-01-06T16:29:47Z" level=error msg="Metadata for root expired" -time="2024-01-06T16:29:47Z" level=error msg="Metadata for root expired" -time="2024-01-06T16:29:47Z" level=error msg="Metadata for root expired" -time="2024-01-06T16:29:48Z" level=error msg="Metadata for root expired" -time="2024-01-06T16:29:48Z" level=error msg="Metadata for root expired" -time="2024-01-06T16:29:48Z" level=error msg="Metadata for root expired" -time="2024-01-06T16:29:48Z" level=error msg="Metadata for root expired" -time="2024-01-06T16:29:48Z" level=error msg="Metadata for root expired" -time="2024-01-06T16:29:48Z" level=error msg="Metadata for root expired" -time="2024-01-06T16:29:48Z" level=error msg="Metadata for root expired" ---- PASS: TestUpdateLocalAndRemoteRootCorrupt (15.13s) +time="2024-01-06T16:39:31Z" level=error msg="Metadata for root expired" +time="2024-01-06T16:39:31Z" level=error msg="Metadata for root expired" +time="2024-01-06T16:39:37Z" level=error msg="Metadata for root expired" +time="2024-01-06T16:39:37Z" level=error msg="Metadata for root expired" +time="2024-01-06T16:39:37Z" level=error msg="Metadata for root expired" +time="2024-01-06T16:39:38Z" level=error msg="Metadata for root expired" +time="2024-01-06T16:39:38Z" level=error msg="Metadata for root expired" +time="2024-01-06T16:39:38Z" level=error msg="Metadata for root expired" +time="2024-01-06T16:39:38Z" level=error msg="Metadata for root expired" +time="2024-01-06T16:39:38Z" level=error msg="Metadata for root expired" +time="2024-01-06T16:39:38Z" level=error msg="Metadata for root expired" +time="2024-01-06T16:39:39Z" level=error msg="Metadata for root expired" +time="2024-01-06T16:39:39Z" level=error msg="Metadata for root expired" +time="2024-01-06T16:39:39Z" level=error msg="Metadata for root expired" +time="2024-01-06T16:39:39Z" level=error msg="Metadata for root expired" +time="2024-01-06T16:39:39Z" level=error msg="Metadata for root expired" +time="2024-01-06T16:39:39Z" level=error msg="Metadata for root expired" +time="2024-01-06T16:39:40Z" level=error msg="Metadata for root expired" +time="2024-01-06T16:39:40Z" level=error msg="Metadata for root expired" +time="2024-01-06T16:39:40Z" level=error msg="Metadata for root expired" +time="2024-01-06T16:39:40Z" level=error msg="Metadata for root expired" +time="2024-01-06T16:39:40Z" level=error msg="Metadata for root expired" +--- PASS: TestUpdateLocalAndRemoteRootCorrupt (14.65s) === RUN TestUpdateRemoteKeyRotated -time="2024-01-06T16:29:49Z" level=warning msg="Error getting targets/a: valid signatures did not meet threshold for targets/a" -time="2024-01-06T16:29:49Z" level=warning msg="Error getting targets/a/b: valid signatures did not meet threshold for targets/a/b" -time="2024-01-06T16:29:50Z" level=warning msg="Error getting targets/b: valid signatures did not meet threshold for targets/b" ---- PASS: TestUpdateRemoteKeyRotated (1.34s) +time="2024-01-06T16:39:41Z" level=warning msg="Error getting targets/a: valid signatures did not meet threshold for targets/a" +time="2024-01-06T16:39:41Z" level=warning msg="Error getting targets/a/b: valid signatures did not meet threshold for targets/a/b" +time="2024-01-06T16:39:41Z" level=warning msg="Error getting targets/b: valid signatures did not meet threshold for targets/b" +--- PASS: TestUpdateRemoteKeyRotated (1.26s) === RUN TestValidateRootRotationWithOldRole ---- PASS: TestValidateRootRotationWithOldRole (0.64s) +--- PASS: TestValidateRootRotationWithOldRole (0.74s) === RUN TestRootRoleInvariant ---- PASS: TestRootRoleInvariant (0.53s) +--- PASS: TestRootRoleInvariant (0.59s) === RUN TestBadIntermediateTransitions ---- PASS: TestBadIntermediateTransitions (0.20s) +--- PASS: TestBadIntermediateTransitions (0.21s) === RUN TestExpiredIntermediateTransitions -time="2024-01-06T16:29:51Z" level=warning msg="root is nearing expiry, you should re-sign the role metadata" +time="2024-01-06T16:39:43Z" level=warning msg="root is nearing expiry, you should re-sign the role metadata" --- PASS: TestExpiredIntermediateTransitions (0.25s) === RUN TestDownloadTargetsLarge ---- PASS: TestDownloadTargetsLarge (9.64s) +--- PASS: TestDownloadTargetsLarge (10.12s) === RUN TestDownloadTargetsDeep ---- PASS: TestDownloadTargetsDeep (0.18s) +--- PASS: TestDownloadTargetsDeep (0.17s) === RUN TestDownloadSnapshotLargeDelegationsMany ---- PASS: TestDownloadSnapshotLargeDelegationsMany (8.74s) +--- PASS: TestDownloadSnapshotLargeDelegationsMany (8.19s) === RUN TestRootOnDiskTrustPinning --- PASS: TestRootOnDiskTrustPinning (0.13s) === RUN TestApplyTargetsChange @@ -2070,14 +2105,14 @@ === RUN TestApplyChangelistTargetsToMultipleRoles --- PASS: TestApplyChangelistTargetsToMultipleRoles (0.02s) === RUN TestApplyChangelistTargetsFailsNonexistentRole -time="2024-01-06T16:30:10Z" 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-01-06T16:30:10Z" 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.01s) +time="2024-01-06T16:40:02Z" 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-01-06T16:40:02Z" 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.02s) === RUN TestChangeTargetMetaFailsInvalidRole -time="2024-01-06T16:30:10Z" level=error msg="couldn't add target to ruhroh: tuf: invalid role ruhroh. does not exist" +time="2024-01-06T16:40:02Z" level=error msg="couldn't add target to ruhroh: tuf: invalid role ruhroh. does not exist" --- PASS: TestChangeTargetMetaFailsInvalidRole (0.02s) === RUN TestChangeTargetMetaFailsIfPrefixError -time="2024-01-06T16:30:10Z" level=error msg="couldn't add target to targets/level1: Could not add all targets" +time="2024-01-06T16:40:02Z" level=error msg="couldn't add target to targets/level1: Could not add all targets" --- PASS: TestChangeTargetMetaFailsIfPrefixError (0.02s) === RUN TestAllNearExpiry --- PASS: TestAllNearExpiry (0.02s) @@ -2086,7 +2121,7 @@ === RUN TestRotateRemoteKeyOffline --- PASS: TestRotateRemoteKeyOffline (0.00s) PASS -ok github.com/theupdateframework/notary/client 160.277s +ok github.com/theupdateframework/notary/client 158.401s === RUN TestTUFDelegation --- PASS: TestTUFDelegation (0.00s) === RUN TestMemChangelist @@ -2098,14 +2133,14 @@ === RUN TestAdd --- PASS: TestAdd (0.00s) === RUN TestErrorConditions -time="2024-01-06T16:27:23Z" level=warning msg="invalid character '\\x05' looking for beginning of value" ---- PASS: TestErrorConditions (0.00s) +time="2024-01-06T16:37:17Z" level=warning msg="invalid character '\\x05' looking for beginning of value" +--- PASS: TestErrorConditions (0.02s) === RUN TestListOrder --- PASS: TestListOrder (0.00s) === RUN TestFileChangeIterator --- PASS: TestFileChangeIterator (0.00s) PASS -ok github.com/theupdateframework/notary/client/changelist 0.037s +ok github.com/theupdateframework/notary/client/changelist 0.077s === RUN TestParseConfigError --- PASS: TestParseConfigError (0.00s) === RUN TestSetupGRPCServer @@ -2115,7 +2150,7 @@ === RUN TestSetupNetListener --- PASS: TestSetupNetListener (0.00s) PASS -ok github.com/theupdateframework/notary/cmd/escrow 0.024s +ok github.com/theupdateframework/notary/cmd/escrow 0.388s === RUN TestPurgeDelegationKeys Usage: delegation [command] @@ -2187,81 +2222,81 @@ Use "delegation [command] --help" for more information about a command. --- PASS: TestRemoveInvalidNumArgs (0.00s) === RUN TestInitWithRootKey ---- PASS: TestInitWithRootKey (0.40s) +--- PASS: TestInitWithRootKey (0.35s) === RUN TestInitWithRootCert ---- PASS: TestInitWithRootCert (0.30s) +--- PASS: TestInitWithRootCert (0.69s) === RUN TestClientTUFInteraction ---- PASS: TestClientTUFInteraction (0.77s) +--- PASS: TestClientTUFInteraction (0.67s) === RUN TestClientDeleteTUFInteraction -time="2024-01-06T16:27:36Z" 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]:47801->[::1]:53: read: connection refused" ---- PASS: TestClientDeleteTUFInteraction (0.94s) +time="2024-01-06T16:37:26Z" 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]:37646->[::1]:53: read: connection refused" +--- PASS: TestClientDeleteTUFInteraction (0.91s) === RUN TestClientTUFAddByHashInteraction ---- PASS: TestClientTUFAddByHashInteraction (1.37s) +--- PASS: TestClientTUFAddByHashInteraction (2.28s) === RUN TestClientDelegationsInteraction -time="2024-01-06T16:27:39Z" 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-01-06T16:27:39Z" 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 (3.43s) +time="2024-01-06T16:37:30Z" 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-01-06T16:37:30Z" 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 (4.12s) === RUN TestClientDelegationsPublishing ---- PASS: TestClientDelegationsPublishing (3.58s) +--- PASS: TestClientDelegationsPublishing (3.96s) === RUN TestClientKeyGenerationRotation ---- PASS: TestClientKeyGenerationRotation (4.05s) +--- PASS: TestClientKeyGenerationRotation (5.01s) === RUN TestKeyRotation ---- PASS: TestKeyRotation (0.64s) +--- PASS: TestKeyRotation (0.94s) === RUN TestKeyRotationNonRoot ---- PASS: TestKeyRotationNonRoot (0.99s) +--- PASS: TestKeyRotationNonRoot (1.19s) === RUN TestDefaultRootKeyGeneration ---- PASS: TestDefaultRootKeyGeneration (0.03s) +--- PASS: TestDefaultRootKeyGeneration (0.05s) === RUN TestLogLevelFlags --- PASS: TestLogLevelFlags (0.00s) === RUN TestClientKeyPassphraseChange ---- PASS: TestClientKeyPassphraseChange (0.54s) +--- PASS: TestClientKeyPassphraseChange (1.03s) === RUN TestPurgeSingleKey Removal of the following keys from all delegations in gun staged for next publish: - - 3c33d274cfd1b1cc1f3449cde805f79bd320cfcc593723151cf1220f1947163b ---- PASS: TestPurgeSingleKey (0.63s) + - 6f8a85f1d106773dd0fd482fd4ce2c01e573496e3d5b1f7077c667c3f58e745b +--- PASS: TestPurgeSingleKey (0.84s) === RUN TestWitness -time="2024-01-06T16:27:53Z" level=warning msg="Error getting targets/delegation: valid signatures did not meet threshold for targets/delegation" -time="2024-01-06T16:27:53Z" level=warning msg="Error getting targets/delegation: valid signatures did not meet threshold for targets/delegation" -time="2024-01-06T16:27:53Z" level=warning msg="Error getting targets/delegation: valid signatures did not meet threshold for targets/delegation" -time="2024-01-06T16:27:53Z" level=warning msg="Error getting targets/delegation: valid signatures did not meet threshold for targets/delegation" -time="2024-01-06T16:27:54Z" 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-01-06T16:27:54Z" 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-01-06T16:27:54Z" level=warning msg="Error getting targets/delegation: valid signatures did not meet threshold for targets/delegation" ---- PASS: TestWitness (1.98s) +time="2024-01-06T16:37:47Z" level=warning msg="Error getting targets/delegation: valid signatures did not meet threshold for targets/delegation" +time="2024-01-06T16:37:47Z" level=warning msg="Error getting targets/delegation: valid signatures did not meet threshold for targets/delegation" +time="2024-01-06T16:37:48Z" level=warning msg="Error getting targets/delegation: valid signatures did not meet threshold for targets/delegation" +time="2024-01-06T16:37:48Z" level=warning msg="Error getting targets/delegation: valid signatures did not meet threshold for targets/delegation" +time="2024-01-06T16:37:48Z" 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-01-06T16:37:48Z" 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-01-06T16:37:48Z" level=warning msg="Error getting targets/delegation: valid signatures did not meet threshold for targets/delegation" +--- PASS: TestWitness (2.47s) === RUN TestClientTUFInitWithAutoPublish -time="2024-01-06T16:27:54Z" 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]:35261->[::1]:53: read: connection refused" ---- PASS: TestClientTUFInitWithAutoPublish (0.41s) +time="2024-01-06T16:37:48Z" 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]:51955->[::1]:53: read: connection refused" +--- PASS: TestClientTUFInitWithAutoPublish (0.47s) === RUN TestClientTUFAddWithAutoPublish -time="2024-01-06T16:27:54Z" 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]:38766->[::1]:53: read: connection refused" -time="2024-01-06T16:27:54Z" level=error msg="Could not publish Repository since we could not update: client is offline" -time="2024-01-06T16:27:54Z" 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]:50088->[::1]:53: read: connection refused" -time="2024-01-06T16:27:54Z" level=error msg="Could not publish Repository since we could not update: client is offline" ---- PASS: TestClientTUFAddWithAutoPublish (0.56s) +time="2024-01-06T16:37:49Z" 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]:36954->[::1]:53: read: connection refused" +time="2024-01-06T16:37:49Z" level=error msg="Could not publish Repository since we could not update: client is offline" +time="2024-01-06T16:37:49Z" 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]:52928->[::1]:53: read: connection refused" +time="2024-01-06T16:37:49Z" level=error msg="Could not publish Repository since we could not update: client is offline" +--- PASS: TestClientTUFAddWithAutoPublish (0.61s) === RUN TestClientTUFRemoveWithAutoPublish ---- PASS: TestClientTUFRemoveWithAutoPublish (0.93s) +--- PASS: TestClientTUFRemoveWithAutoPublish (1.34s) === RUN TestClientDelegationAddWithAutoPublish ---- PASS: TestClientDelegationAddWithAutoPublish (0.41s) +--- PASS: TestClientDelegationAddWithAutoPublish (0.55s) === RUN TestClientDelegationRemoveWithAutoPublish -time="2024-01-06T16:27:57Z" 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-01-06T16:27:57Z" 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 (1.06s) +time="2024-01-06T16:37:52Z" 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-01-06T16:37:52Z" 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 (1.15s) === RUN TestClientTUFAddByHashWithAutoPublish ---- PASS: TestClientTUFAddByHashWithAutoPublish (0.47s) +--- PASS: TestClientTUFAddByHashWithAutoPublish (0.62s) === RUN TestClientKeyImport -time="2024-01-06T16:27:58Z" level=warning msg="failed to import key to store: Invalid key generated, key may be encrypted and does not contain path header" -time="2024-01-06T16:27:58Z" 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.16s) +time="2024-01-06T16:37:53Z" level=warning msg="failed to import key to store: Invalid key generated, key may be encrypted and does not contain path header" +time="2024-01-06T16:37:53Z" 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.20s) === RUN TestAddDelImportKeyPublishFlow -time="2024-01-06T16:27:59Z" 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 (1.14s) +time="2024-01-06T16:37:54Z" 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 (1.39s) === RUN TestExportImportFlow ---- PASS: TestExportImportFlow (0.28s) +--- PASS: TestExportImportFlow (0.25s) === RUN TestDelegationKeyImportExport --- PASS: TestDelegationKeyImportExport (0.02s) === RUN TestImportKeysNoYubikey --- PASS: TestImportKeysNoYubikey (0.03s) === RUN TestExportImportKeysNoYubikey ---- PASS: TestExportImportKeysNoYubikey (0.03s) +--- PASS: TestExportImportKeysNoYubikey (0.02s) === RUN TestRemoveIfNoKey --- PASS: TestRemoveIfNoKey (0.00s) === RUN TestRemoveOneKeyAbort @@ -2271,34 +2306,34 @@ === RUN TestRemoveMultikeysInvalidInput --- PASS: TestRemoveMultikeysInvalidInput (0.02s) === RUN TestRemoveMultikeysAbortChoice ---- PASS: TestRemoveMultikeysAbortChoice (0.02s) +--- PASS: TestRemoveMultikeysAbortChoice (0.03s) === RUN TestRemoveMultikeysRemoveOnlyChosenKey --- PASS: TestRemoveMultikeysRemoveOnlyChosenKey (0.03s) === RUN TestRotateKeyInvalidRoles -time="2024-01-06T16:27:59Z" 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]:53326->[::1]:53: read: connection refused" -time="2024-01-06T16:27:59Z" 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]:60844->[::1]:53: read: connection refused" -time="2024-01-06T16:27:59Z" 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]:49982->[::1]:53: read: connection refused" -time="2024-01-06T16:27:59Z" 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]:55966->[::1]:53: read: connection refused" +time="2024-01-06T16:37:55Z" 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]:45035->[::1]:53: read: connection refused" +time="2024-01-06T16:37:55Z" 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]:34872->[::1]:53: read: connection refused" +time="2024-01-06T16:37:55Z" 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]:42168->[::1]:53: read: connection refused" +time="2024-01-06T16:37:55Z" 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]:33566->[::1]:53: read: connection refused" --- PASS: TestRotateKeyInvalidRoles (0.01s) === RUN TestRotateKeyTargetCannotBeServerManaged -time="2024-01-06T16:27:59Z" 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]:48272->[::1]:53: read: connection refused" ---- PASS: TestRotateKeyTargetCannotBeServerManaged (0.01s) +time="2024-01-06T16:37:55Z" 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]:58809->[::1]:53: read: connection refused" +--- PASS: TestRotateKeyTargetCannotBeServerManaged (0.00s) === RUN TestRotateKeyTimestampCannotBeLocallyManaged -time="2024-01-06T16:27:59Z" 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]:37356->[::1]:53: read: connection refused" +time="2024-01-06T16:37:55Z" 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]:58065->[::1]:53: read: connection refused" --- PASS: TestRotateKeyTimestampCannotBeLocallyManaged (0.00s) === RUN TestRotateKeyNoGUN Usage: ---- PASS: TestRotateKeyNoGUN (0.01s) +--- PASS: TestRotateKeyNoGUN (0.00s) === RUN TestRotateKeyRemoteServerManagesKey Successfully rotated snapshot key for repository docker.com/notary Successfully rotated timestamp key for repository docker.com/notary ---- PASS: TestRotateKeyRemoteServerManagesKey (0.64s) +--- PASS: TestRotateKeyRemoteServerManagesKey (0.61s) === RUN TestRotateKeyBothKeys Successfully rotated targets key for repository docker.com/notary Successfully rotated snapshot key for repository docker.com/notary ---- PASS: TestRotateKeyBothKeys (0.53s) +--- PASS: TestRotateKeyBothKeys (0.47s) === RUN TestRotateKeyRootIsInteractive ---- PASS: TestRotateKeyRootIsInteractive (0.09s) +--- PASS: TestRotateKeyRootIsInteractive (0.20s) === RUN TestChangeKeyPassphraseInvalidID --- PASS: TestChangeKeyPassphraseInvalidID (0.00s) === RUN TestChangeKeyPassphraseInvalidNumArgs @@ -2307,18 +2342,18 @@ === RUN TestChangeKeyPassphraseNonexistentID --- PASS: TestChangeKeyPassphraseNonexistentID (0.00s) === RUN TestExportKeys ---- PASS: TestExportKeys (0.00s) +--- PASS: TestExportKeys (0.01s) === RUN TestExportKeysByGUN ---- PASS: TestExportKeysByGUN (0.01s) +--- PASS: TestExportKeysByGUN (0.00s) === RUN TestExportKeysByID ---- PASS: TestExportKeysByID (0.01s) +--- PASS: TestExportKeysByID (0.00s) === RUN TestExportKeysBadFlagCombo --- PASS: TestExportKeysBadFlagCombo (0.00s) === RUN TestImportKeysNonexistentFile --- PASS: TestImportKeysNonexistentFile (0.00s) === RUN TestKeyGeneration -time="2024-01-06T16:28:01Z" 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.06s) +time="2024-01-06T16:37:56Z" 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.07s) === RUN TestNotaryConfigFileDefault --- PASS: TestNotaryConfigFileDefault (0.00s) === RUN TestRemoteServerDefault @@ -2330,19 +2365,19 @@ === RUN TestInvalidAddHashCommands --- PASS: TestInvalidAddHashCommands (0.01s) === RUN TestConfigParsingErrorsPropagatedByCommands ---- PASS: TestConfigParsingErrorsPropagatedByCommands (0.01s) +--- PASS: TestConfigParsingErrorsPropagatedByCommands (0.02s) === RUN TestInsufficientArgumentsReturnsErrorAndPrintsUsage ---- PASS: TestInsufficientArgumentsReturnsErrorAndPrintsUsage (0.05s) +--- PASS: TestInsufficientArgumentsReturnsErrorAndPrintsUsage (0.06s) === RUN TestBareCommandPrintsUsageAndNoError ---- PASS: TestBareCommandPrintsUsageAndNoError (0.01s) +--- PASS: TestBareCommandPrintsUsageAndNoError (0.02s) === RUN TestConfigFileTLSCannotBeRelativeToCWD --- PASS: TestConfigFileTLSCannotBeRelativeToCWD (0.02s) === RUN TestConfigFileTLSCanBeRelativeToConfigOrAbsolute ---- PASS: TestConfigFileTLSCanBeRelativeToConfigOrAbsolute (0.21s) +--- PASS: TestConfigFileTLSCanBeRelativeToConfigOrAbsolute (0.31s) === RUN TestConfigFileOverridenByCmdLineFlags ---- PASS: TestConfigFileOverridenByCmdLineFlags (0.24s) +--- PASS: TestConfigFileOverridenByCmdLineFlags (0.26s) === RUN TestConfigFileTrustPinning ---- PASS: TestConfigFileTrustPinning (0.01s) +--- PASS: TestConfigFileTrustPinning (0.00s) === RUN TestPassphraseRetrieverCaching --- PASS: TestPassphraseRetrieverCaching (0.00s) === RUN TestPassphraseRetrieverDelegationRoleCaching @@ -2354,7 +2389,7 @@ === RUN TestPrettyPrintZeroKeys --- PASS: TestPrettyPrintZeroKeys (0.00s) === RUN TestPrettyPrintRootAndSigningKeys ---- PASS: TestPrettyPrintRootAndSigningKeys (0.06s) +--- PASS: TestPrettyPrintRootAndSigningKeys (0.05s) === RUN TestPrettyPrintZeroTargets --- PASS: TestPrettyPrintZeroTargets (0.00s) === RUN TestPrettyPrintSortedTargets @@ -2366,10 +2401,10 @@ === RUN TestImportRootCert --- PASS: TestImportRootCert (0.00s) === RUN TestTokenAuth -time="2024-01-06T16:28:01Z" 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-01-06T16:37:57Z" 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) === RUN TestAdminTokenAuth -time="2024-01-06T16:28:01Z" 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-01-06T16:37:57Z" 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) @@ -2380,18 +2415,18 @@ === RUN TestAdminTokenAuth401Status --- PASS: TestAdminTokenAuth401Status (0.00s) === RUN TestTokenAuthNon200Non401Status -time="2024-01-06T16:28:01Z" level=error msg="could not reach http://127.0.0.1:43271: 404" +time="2024-01-06T16:37:57Z" level=error msg="could not reach http://127.0.0.1:43359: 404" --- PASS: TestTokenAuthNon200Non401Status (0.00s) === RUN TestAdminTokenAuthNon200Non401Status -time="2024-01-06T16:28:01Z" level=error msg="could not reach http://127.0.0.1:39387: 404" ---- PASS: TestAdminTokenAuthNon200Non401Status (0.00s) +time="2024-01-06T16:37:57Z" level=error msg="could not reach http://127.0.0.1:36827: 404" +--- PASS: TestAdminTokenAuthNon200Non401Status (0.01s) === RUN TestConfigureRepo ---- PASS: TestConfigureRepo (0.00s) +--- PASS: TestConfigureRepo (0.01s) === RUN TestConfigureRepoRW -Enter username: time="2024-01-06T16:28:01Z" level=error msg="error processing username input: EOF" +Enter username: time="2024-01-06T16:37:57Z" level=error msg="error processing username input: EOF" --- PASS: TestConfigureRepoRW (0.00s) === RUN TestConfigureRepoAdmin -Enter username: time="2024-01-06T16:28:01Z" level=error msg="error processing username input: EOF" +Enter username: time="2024-01-06T16:37:57Z" level=error msg="error processing username input: EOF" --- PASS: TestConfigureRepoAdmin (0.00s) === RUN TestStatusUnstageAndReset Successfully reset specified changes for repository gun @@ -2399,16 +2434,16 @@ Addition of target "test2" by sha256 hash to repository "gun" staged for next publish. Addition of target "test3" by sha256 hash to repository "gun" staged for next publish. Addition of target "test4" by sha256 hash to repository "gun" staged for next publish. ---- PASS: TestStatusUnstageAndReset (0.01s) +--- PASS: TestStatusUnstageAndReset (0.02s) === RUN TestGetTrustPinningErrors Pushing changes to gun ---- PASS: TestGetTrustPinningErrors (0.00s) +--- PASS: TestGetTrustPinningErrors (0.01s) === RUN TestPasswordStore -Enter username: time="2024-01-06T16:28:01Z" level=error msg="error processing username input: EOF" +Enter username: time="2024-01-06T16:37:57Z" level=error msg="error processing username input: EOF" --- PASS: TestPasswordStore (0.00s) === RUN TestPasswordStoreWithEnvvar -time="2024-01-06T16:28:01Z" level=error msg="Authentication string with zero-legnth username" -time="2024-01-06T16:28:01Z" level=error msg="Could not base64-decode authentication string" +time="2024-01-06T16:37:57Z" level=error msg="Authentication string with zero-legnth username" +time="2024-01-06T16:37:57Z" level=error msg="Could not base64-decode authentication string" --- PASS: TestPasswordStoreWithEnvvar (0.00s) === RUN TestGetPayload --- PASS: TestGetPayload (0.00s) @@ -2417,7 +2452,7 @@ === RUN TestHomeExpand --- PASS: TestHomeExpand (0.00s) PASS -ok github.com/theupdateframework/notary/cmd/notary 27.496s +ok github.com/theupdateframework/notary/cmd/notary 33.588s === RUN TestBootstrap --- PASS: TestBootstrap (0.00s) === RUN TestGetAddrAndTLSConfigInvalidTLS @@ -2425,54 +2460,54 @@ === RUN TestGetAddrAndTLSConfigNoHTTPAddr --- PASS: TestGetAddrAndTLSConfigNoHTTPAddr (0.00s) === RUN TestGetAddrAndTLSConfigSuccessWithTLS ---- PASS: TestGetAddrAndTLSConfigSuccessWithTLS (0.00s) +--- PASS: TestGetAddrAndTLSConfigSuccessWithTLS (0.02s) === RUN TestGetAddrAndTLSConfigSuccessWithoutTLS --- PASS: TestGetAddrAndTLSConfigSuccessWithoutTLS (0.00s) === RUN TestGetAddrAndTLSConfigWithClientTLS ---- PASS: TestGetAddrAndTLSConfigWithClientTLS (0.00s) +--- PASS: TestGetAddrAndTLSConfigWithClientTLS (0.02s) === RUN TestGetInvalidTrustService --- PASS: TestGetInvalidTrustService (0.00s) === RUN TestGetLocalTrustService -time="2024-01-06T16:27:56Z" level=info msg="Using local signing service, which requires ED25519. Ignoring all other trust_service parameters, including keyAlgorithm" +time="2024-01-06T16:37:33Z" 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="2024-01-06T16:27:56Z" level=info msg="Using remote signing service" +time="2024-01-06T16:37:33Z" level=info msg="Using remote signing service" --- PASS: TestGetTrustServiceNoTLSConfig (0.00s) === RUN TestGetTrustServiceTLSSuccess -time="2024-01-06T16:27:56Z" level=info msg="Using remote signing service" +time="2024-01-06T16:37:33Z" level=info msg="Using remote signing service" --- PASS: TestGetTrustServiceTLSSuccess (0.01s) === RUN TestGetTrustServiceTLSFailure --- PASS: TestGetTrustServiceTLSFailure (0.00s) === RUN TestGetStoreInvalid -time="2024-01-06T16:27:56Z" level=info msg="Using asdf backend" +time="2024-01-06T16:37:33Z" level=info msg="Using asdf backend" --- PASS: TestGetStoreInvalid (0.00s) === RUN TestGetStoreDBStore -time="2024-01-06T16:27:56Z" level=info msg="Using sqlite3 backend" ---- PASS: TestGetStoreDBStore (0.00s) +time="2024-01-06T16:37:33Z" level=info msg="Using sqlite3 backend" +--- PASS: TestGetStoreDBStore (0.15s) === RUN TestGetStoreRethinkDBStoreConnectionFails -time="2024-01-06T16:27:56Z" level=info msg="Using rethinkdb backend" +time="2024-01-06T16:37:33Z" level=info msg="Using rethinkdb backend" --- PASS: TestGetStoreRethinkDBStoreConnectionFails (0.00s) === RUN TestGetMemoryStore -time="2024-01-06T16:27:56Z" level=info msg="Using memory backend" +time="2024-01-06T16:37:33Z" 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="2024-01-06T16:27:56Z" level=info msg="Using remote signing service" -time="2024-01-06T16:27:56Z" level=info msg="Using sqlite3 backend" ---- PASS: TestSampleConfig (0.01s) +time="2024-01-06T16:37:33Z" level=info msg="Using remote signing service" +time="2024-01-06T16:37:33Z" level=info msg="Using sqlite3 backend" +--- PASS: TestSampleConfig (0.08s) PASS -ok github.com/theupdateframework/notary/cmd/notary-server 0.077s +ok github.com/theupdateframework/notary/cmd/notary-server 1.041s === RUN TestGetAddrAndTLSConfigInvalidTLS --- PASS: TestGetAddrAndTLSConfigInvalidTLS (0.00s) === RUN TestGetAddrAndTLSConfigNoGRPCAddr ---- PASS: TestGetAddrAndTLSConfigNoGRPCAddr (0.00s) +--- PASS: TestGetAddrAndTLSConfigNoGRPCAddr (0.64s) === RUN TestGetAddrAndTLSConfigSuccess --- PASS: TestGetAddrAndTLSConfigSuccess (0.00s) === RUN TestSetupCryptoServicesDBStoreNoDefaultAlias @@ -2483,9 +2518,9 @@ main_test.go:121: DM - skipping malfunctioning test, fails on sbuild --- SKIP: TestSetupCryptoServicesRethinkDBStoreConnectionFails (0.00s) === RUN TestSetupCryptoServicesDBStoreSuccess ---- PASS: TestSetupCryptoServicesDBStoreSuccess (0.20s) +--- PASS: TestSetupCryptoServicesDBStoreSuccess (1.08s) === RUN TestSetupCryptoServicesMemoryStore ---- PASS: TestSetupCryptoServicesMemoryStore (0.01s) +--- PASS: TestSetupCryptoServicesMemoryStore (0.02s) === RUN TestSetupCryptoServicesInvalidStore --- PASS: TestSetupCryptoServicesInvalidStore (0.00s) === RUN TestSetupGRPCServerInvalidAddress @@ -2499,19 +2534,19 @@ === RUN TestPassphraseRetrieverInvalid --- PASS: TestPassphraseRetrieverInvalid (0.00s) === RUN TestSampleConfig ---- PASS: TestSampleConfig (0.00s) +--- PASS: TestSampleConfig (0.01s) PASS -ok github.com/theupdateframework/notary/cmd/notary-signer 0.264s +ok github.com/theupdateframework/notary/cmd/notary-signer 1.817s === RUN TestGenerateCertificate --- PASS: TestGenerateCertificate (0.01s) === RUN TestCryptoServiceWithNonEmptyGUN ---- PASS: TestCryptoServiceWithNonEmptyGUN (1.94s) +--- PASS: TestCryptoServiceWithNonEmptyGUN (2.87s) === RUN TestCryptoServiceWithEmptyGUN ---- PASS: TestCryptoServiceWithEmptyGUN (1.96s) +--- PASS: TestCryptoServiceWithEmptyGUN (2.59s) === RUN TestCryptoSignerInterfaceBehavior --- PASS: TestCryptoSignerInterfaceBehavior (0.03s) PASS -ok github.com/theupdateframework/notary/cryptoservice 3.970s +ok github.com/theupdateframework/notary/cryptoservice 5.519s === RUN TestGetPassphraseForUsingDelegationKey --- PASS: TestGetPassphraseForUsingDelegationKey (0.00s) === RUN TestGetPassphraseLimitsShortPassphrases @@ -2527,253 +2562,253 @@ === RUN TestGetPassphrase --- PASS: TestGetPassphrase (0.00s) PASS -ok github.com/theupdateframework/notary/passphrase 0.025s +ok github.com/theupdateframework/notary/passphrase 0.013s ? github.com/theupdateframework/notary/proto [no test files] === RUN TestValidationErrorFormat -time="2024-01-06T16:28:07Z" 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.15.15 http.request.contenttype="multipart/form-data; boundary=8d676cabd9a0a0f0f965674033908c7a0a86c5fdcdc4c0aeff311422ea9a" http.request.host="127.0.0.1:44843" http.request.id=ae6f1b56-6aaa-4f55-8aca-f96e39d2aaac http.request.method=POST http.request.remoteaddr="127.0.0.1:38190" http.request.uri=/v2/docker.com/notary/_trust/tuf/ http.request.useragent=Go-http-client/1.1 -time="2024-01-06T16:28:07Z" level=info msg="response completed" go.version=go1.15.15 http.request.contenttype="multipart/form-data; boundary=8d676cabd9a0a0f0f965674033908c7a0a86c5fdcdc4c0aeff311422ea9a" http.request.host="127.0.0.1:44843" http.request.id=ae6f1b56-6aaa-4f55-8aca-f96e39d2aaac http.request.method=POST http.request.remoteaddr="127.0.0.1:38190" 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=12.832347ms http.response.status=400 http.response.written=260 ---- PASS: TestValidationErrorFormat (0.07s) +time="2024-01-06T16:37:44Z" 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.15.15 http.request.contenttype="multipart/form-data; boundary=c44308bc61b4d6239d57544d5541874809d1f2467cd4faa228cf4c711dc6" http.request.host="127.0.0.1:41841" http.request.id=f34315fc-a12d-4d05-abb3-d02057246582 http.request.method=POST http.request.remoteaddr="127.0.0.1:48094" http.request.uri=/v2/docker.com/notary/_trust/tuf/ http.request.useragent=Go-http-client/1.1 +time="2024-01-06T16:37:44Z" level=info msg="response completed" go.version=go1.15.15 http.request.contenttype="multipart/form-data; boundary=c44308bc61b4d6239d57544d5541874809d1f2467cd4faa228cf4c711dc6" http.request.host="127.0.0.1:41841" http.request.id=f34315fc-a12d-4d05-abb3-d02057246582 http.request.method=POST http.request.remoteaddr="127.0.0.1:48094" 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=28.204798ms http.response.status=400 http.response.written=260 +--- PASS: TestValidationErrorFormat (0.12s) === RUN TestRunBadAddr --- PASS: TestRunBadAddr (0.00s) === RUN TestRunReservedPort --- PASS: TestRunReservedPort (0.00s) === RUN TestRepoPrefixMatches -time="2024-01-06T16:28:07Z" level=info msg="updated docker.io/notary to timestamp version 1, checksum 783d480bdab47064685ec435c5c335b23beb7d820bb9b3df0cf44a0f7b8a7f42" docker.io/notary=gun go.version=go1.15.15 http.request.contenttype="multipart/form-data; boundary=5d47017585bc5c9220a36f66606fc2f05a891ad10d51b7dd0d67da4460ad" http.request.host="127.0.0.1:45949" http.request.id=75beb37c-0069-446d-8953-479f120898f4 http.request.method=POST http.request.remoteaddr="127.0.0.1:55878" http.request.uri=/v2/docker.io/notary/_trust/tuf/ http.request.useragent=Go-http-client/1.1 -time="2024-01-06T16:28:07Z" level=info msg="response completed" go.version=go1.15.15 http.request.contenttype="multipart/form-data; boundary=5d47017585bc5c9220a36f66606fc2f05a891ad10d51b7dd0d67da4460ad" http.request.host="127.0.0.1:45949" http.request.id=75beb37c-0069-446d-8953-479f120898f4 http.request.method=POST http.request.remoteaddr="127.0.0.1:55878" http.request.uri=/v2/docker.io/notary/_trust/tuf/ http.request.useragent=Go-http-client/1.1 http.response.duration=24.516043ms http.response.status=0 http.response.written=0 -time="2024-01-06T16:28:07Z" level=info msg="response completed" go.version=go1.15.15 http.request.host="127.0.0.1:45949" http.request.id=fea8a1af-8af9-420e-9b40-65ce05884408 http.request.method=GET http.request.remoteaddr="127.0.0.1:55878" http.request.uri=/v2/docker.io/notary/_trust/tuf/snapshot.json http.request.useragent=Go-http-client/1.1 http.response.duration=1.16653ms http.response.status=200 http.response.written=683 -time="2024-01-06T16:28:07Z" level=info msg="response completed" go.version=go1.15.15 http.request.host="127.0.0.1:45949" http.request.id=89103705-d3c5-466f-980a-e0553d5e964f http.request.method=GET http.request.remoteaddr="127.0.0.1:55878" http.request.uri=/v2/docker.io/notary/_trust/tuf/snapshot.358c579a37dfd3a507650968d9ab06697d8688f1105d845111c2c99e4f0a500e.json http.request.useragent=Go-http-client/1.1 http.response.duration="90.811µs" http.response.status=200 http.response.written=683 -time="2024-01-06T16:28:07Z" level=info msg="response completed" go.version=go1.15.15 http.request.host="127.0.0.1:45949" http.request.id=77908ea3-f32d-46f7-97fc-6bd9c0b47578 http.request.method=GET http.request.remoteaddr="127.0.0.1:55878" http.request.uri=/v2/docker.io/notary/_trust/tuf/timestamp.key http.request.useragent=Go-http-client/1.1 http.response.duration="824.743µs" http.response.status=200 http.response.written=181 -time="2024-01-06T16:28:07Z" level=info msg="trust data deleted for docker.io/notary" docker.io/notary=gun go.version=go1.15.15 http.request.host="127.0.0.1:45949" http.request.id=a0ea9826-b29d-46b9-ad91-cd74c79e8a28 http.request.method=DELETE http.request.remoteaddr="127.0.0.1:55878" http.request.uri=/v2/docker.io/notary/_trust/tuf/ http.request.useragent=Go-http-client/1.1 -time="2024-01-06T16:28:07Z" level=info msg="response completed" go.version=go1.15.15 http.request.host="127.0.0.1:45949" http.request.id=a0ea9826-b29d-46b9-ad91-cd74c79e8a28 http.request.method=DELETE http.request.remoteaddr="127.0.0.1:55878" http.request.uri=/v2/docker.io/notary/_trust/tuf/ http.request.useragent=Go-http-client/1.1 http.response.duration="113.209µs" http.response.status=0 http.response.written=0 ---- PASS: TestRepoPrefixMatches (0.09s) +time="2024-01-06T16:37:44Z" level=info msg="updated docker.io/notary to timestamp version 1, checksum 6dfef5588de014870cf22ab9f3dd535f3f9e29dc7373be5158d0c73a972f092f" docker.io/notary=gun go.version=go1.15.15 http.request.contenttype="multipart/form-data; boundary=354ffd0d415c6394c1c866e45c610e3552e466cc02852000feca6cbd6485" http.request.host="127.0.0.1:38771" http.request.id=9f099963-087c-4c2f-aece-3098da37a5f8 http.request.method=POST http.request.remoteaddr="127.0.0.1:41546" http.request.uri=/v2/docker.io/notary/_trust/tuf/ http.request.useragent=Go-http-client/1.1 +time="2024-01-06T16:37:44Z" level=info msg="response completed" go.version=go1.15.15 http.request.contenttype="multipart/form-data; boundary=354ffd0d415c6394c1c866e45c610e3552e466cc02852000feca6cbd6485" http.request.host="127.0.0.1:38771" http.request.id=9f099963-087c-4c2f-aece-3098da37a5f8 http.request.method=POST http.request.remoteaddr="127.0.0.1:41546" http.request.uri=/v2/docker.io/notary/_trust/tuf/ http.request.useragent=Go-http-client/1.1 http.response.duration=42.513027ms http.response.status=0 http.response.written=0 +time="2024-01-06T16:37:44Z" level=info msg="response completed" go.version=go1.15.15 http.request.host="127.0.0.1:38771" http.request.id=c26df91e-4715-4b32-a679-64d6f947aa3a http.request.method=GET http.request.remoteaddr="127.0.0.1:41546" http.request.uri=/v2/docker.io/notary/_trust/tuf/snapshot.json http.request.useragent=Go-http-client/1.1 http.response.duration=1.101136ms http.response.status=200 http.response.written=683 +time="2024-01-06T16:37:44Z" level=info msg="response completed" go.version=go1.15.15 http.request.host="127.0.0.1:38771" http.request.id=83e26c9e-54d5-40d6-a887-aeebbce851e4 http.request.method=GET http.request.remoteaddr="127.0.0.1:41546" http.request.uri=/v2/docker.io/notary/_trust/tuf/snapshot.71d41360eb7d452d35d8e9d97d8e8370412c791864d3095ead9bac3d1963389b.json http.request.useragent=Go-http-client/1.1 http.response.duration="113.449µs" http.response.status=200 http.response.written=683 +time="2024-01-06T16:37:44Z" level=info msg="response completed" go.version=go1.15.15 http.request.host="127.0.0.1:38771" http.request.id=eda92c50-023a-499d-8104-001acad278f4 http.request.method=GET http.request.remoteaddr="127.0.0.1:41546" http.request.uri=/v2/docker.io/notary/_trust/tuf/timestamp.key http.request.useragent=Go-http-client/1.1 http.response.duration=1.088017ms http.response.status=200 http.response.written=181 +time="2024-01-06T16:37:44Z" level=info msg="trust data deleted for docker.io/notary" docker.io/notary=gun go.version=go1.15.15 http.request.host="127.0.0.1:38771" http.request.id=157063eb-e7fb-4f1a-9771-842a5f7cf67c http.request.method=DELETE http.request.remoteaddr="127.0.0.1:41546" http.request.uri=/v2/docker.io/notary/_trust/tuf/ http.request.useragent=Go-http-client/1.1 +time="2024-01-06T16:37:44Z" level=info msg="response completed" go.version=go1.15.15 http.request.host="127.0.0.1:38771" http.request.id=157063eb-e7fb-4f1a-9771-842a5f7cf67c http.request.method=DELETE http.request.remoteaddr="127.0.0.1:41546" http.request.uri=/v2/docker.io/notary/_trust/tuf/ http.request.useragent=Go-http-client/1.1 http.response.duration="169.244µs" http.response.status=0 http.response.written=0 +--- PASS: TestRepoPrefixMatches (0.14s) === RUN TestRepoPrefixDoesNotMatch ---- PASS: TestRepoPrefixDoesNotMatch (0.06s) +--- PASS: TestRepoPrefixDoesNotMatch (0.11s) === RUN TestMetricsEndpoint ---- PASS: TestMetricsEndpoint (0.01s) +--- PASS: TestMetricsEndpoint (0.03s) === RUN TestGetKeysEndpoint -time="2024-01-06T16:28:08Z" level=info msg="metadata not found: You have requested metadata that does not exist.: " go.version=go1.15.15 http.request.host="127.0.0.1:45615" http.request.id=154f46d1-07bb-402f-b2c0-54f245509d1c http.request.method=GET http.request.remoteaddr="127.0.0.1:41912" http.request.uri=/v2/gun/_trust/tuf/root.key http.request.useragent=Go-http-client/1.1 -time="2024-01-06T16:28:08Z" level=info msg="response completed" go.version=go1.15.15 http.request.host="127.0.0.1:45615" http.request.id=154f46d1-07bb-402f-b2c0-54f245509d1c http.request.method=GET http.request.remoteaddr="127.0.0.1:41912" 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="280.594µs" http.response.status=404 http.response.written=104 -time="2024-01-06T16:28:08Z" level=info msg="metadata not found: You have requested metadata that does not exist.: " go.version=go1.15.15 http.request.host="127.0.0.1:45615" http.request.id=142179de-9802-4f3d-b5cc-e3bdc89607ff http.request.method=GET http.request.remoteaddr="127.0.0.1:41914" http.request.uri=/v2/gun/_trust/tuf/somerandomrole.key http.request.useragent=Go-http-client/1.1 -time="2024-01-06T16:28:08Z" level=info msg="response completed" go.version=go1.15.15 http.request.host="127.0.0.1:45615" http.request.id=142179de-9802-4f3d-b5cc-e3bdc89607ff http.request.method=GET http.request.remoteaddr="127.0.0.1:41914" 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.064µs" http.response.status=404 http.response.written=104 -time="2024-01-06T16:28:08Z" level=info msg="response completed" go.version=go1.15.15 http.request.host="127.0.0.1:45615" http.request.id=9f7e11bf-bf57-4b7e-b77f-caaafa3fa1e9 http.request.method=GET http.request.remoteaddr="127.0.0.1:41928" http.request.uri=/v2/gun/_trust/tuf/timestamp.key http.request.useragent=Go-http-client/1.1 http.response.duration="754.128µs" http.response.status=200 http.response.written=103 -time="2024-01-06T16:28:08Z" level=info msg="response completed" go.version=go1.15.15 http.request.host="127.0.0.1:45615" http.request.id=ff151f83-e8a0-4011-98dc-da59183de53a http.request.method=GET http.request.remoteaddr="127.0.0.1:41944" http.request.uri=/v2/gun/_trust/tuf/snapshot.key http.request.useragent=Go-http-client/1.1 http.response.duration="663.097µs" http.response.status=200 http.response.written=103 -time="2024-01-06T16:28:08Z" level=info msg="metadata not found: You have requested metadata that does not exist.: " go.version=go1.15.15 http.request.host="127.0.0.1:45615" http.request.id=491d74a2-831e-4da3-bcfb-822c11a17c90 http.request.method=GET http.request.remoteaddr="127.0.0.1:41946" http.request.uri=/v2/gun/_trust/tuf/targets.key http.request.useragent=Go-http-client/1.1 -time="2024-01-06T16:28:08Z" level=info msg="response completed" go.version=go1.15.15 http.request.host="127.0.0.1:45615" http.request.id=491d74a2-831e-4da3-bcfb-822c11a17c90 http.request.method=GET http.request.remoteaddr="127.0.0.1:41946" 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="226.979µs" http.response.status=404 http.response.written=104 ---- PASS: TestGetKeysEndpoint (0.02s) +time="2024-01-06T16:37:45Z" level=info msg="metadata not found: You have requested metadata that does not exist.: " go.version=go1.15.15 http.request.host="127.0.0.1:40413" http.request.id=1906cb8d-2320-4989-a1ea-e132fccf2168 http.request.method=GET http.request.remoteaddr="127.0.0.1:48334" http.request.uri=/v2/gun/_trust/tuf/somerandomrole.key http.request.useragent=Go-http-client/1.1 +time="2024-01-06T16:37:45Z" level=info msg="response completed" go.version=go1.15.15 http.request.host="127.0.0.1:40413" http.request.id=1906cb8d-2320-4989-a1ea-e132fccf2168 http.request.method=GET http.request.remoteaddr="127.0.0.1:48334" 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="324.649µs" http.response.status=404 http.response.written=104 +time="2024-01-06T16:37:45Z" level=info msg="response completed" go.version=go1.15.15 http.request.host="127.0.0.1:40413" http.request.id=5537d8da-fd9f-43eb-9be2-2608feaf8374 http.request.method=GET http.request.remoteaddr="127.0.0.1:48344" http.request.uri=/v2/gun/_trust/tuf/timestamp.key http.request.useragent=Go-http-client/1.1 http.response.duration="849.18µs" http.response.status=200 http.response.written=103 +time="2024-01-06T16:37:45Z" level=info msg="response completed" go.version=go1.15.15 http.request.host="127.0.0.1:40413" http.request.id=747f1bc9-a3de-43c3-9f3f-0b06668b7689 http.request.method=GET http.request.remoteaddr="127.0.0.1:48348" http.request.uri=/v2/gun/_trust/tuf/snapshot.key http.request.useragent=Go-http-client/1.1 http.response.duration="689.995µs" http.response.status=200 http.response.written=103 +time="2024-01-06T16:37:45Z" level=info msg="metadata not found: You have requested metadata that does not exist.: " go.version=go1.15.15 http.request.host="127.0.0.1:40413" http.request.id=985a3fc0-b9ec-480d-8b94-91e9128184f0 http.request.method=GET http.request.remoteaddr="127.0.0.1:48352" http.request.uri=/v2/gun/_trust/tuf/targets.key http.request.useragent=Go-http-client/1.1 +time="2024-01-06T16:37:45Z" level=info msg="response completed" go.version=go1.15.15 http.request.host="127.0.0.1:40413" http.request.id=985a3fc0-b9ec-480d-8b94-91e9128184f0 http.request.method=GET http.request.remoteaddr="127.0.0.1:48352" 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="198.102µs" http.response.status=404 http.response.written=104 +time="2024-01-06T16:37:45Z" level=info msg="metadata not found: You have requested metadata that does not exist.: " go.version=go1.15.15 http.request.host="127.0.0.1:40413" http.request.id=c8bfa548-1436-460e-9d3a-8cd945c0914c http.request.method=GET http.request.remoteaddr="127.0.0.1:48356" http.request.uri=/v2/gun/_trust/tuf/root.key http.request.useragent=Go-http-client/1.1 +time="2024-01-06T16:37:45Z" level=info msg="response completed" go.version=go1.15.15 http.request.host="127.0.0.1:40413" http.request.id=c8bfa548-1436-460e-9d3a-8cd945c0914c http.request.method=GET http.request.remoteaddr="127.0.0.1:48356" 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="191.462µs" http.response.status=404 http.response.written=104 +--- PASS: TestGetKeysEndpoint (0.03s) === RUN TestGetRoleByHash -time="2024-01-06T16:28:08Z" level=info msg="response completed" go.version=go1.15.15 http.request.host="127.0.0.1:40035" http.request.id=c19e0934-1853-4165-99b8-0ee7d2bf98ed http.request.method=GET http.request.remoteaddr="127.0.0.1:39184" http.request.uri=/v2/gun/_trust/tuf/timestamp.7cfdb6741bdd714114bc029536de4553a90a6a142e26a1559f4e8bd05e6e6005.json http.request.useragent=Go-http-client/1.1 http.response.duration="172.583µs" http.response.status=200 http.response.written=115 ---- PASS: TestGetRoleByHash (0.01s) +time="2024-01-06T16:37:45Z" level=info msg="response completed" go.version=go1.15.15 http.request.host="127.0.0.1:36317" http.request.id=a0a8dba5-5dd8-4c19-be1d-c17cc986ffa4 http.request.method=GET http.request.remoteaddr="127.0.0.1:37296" http.request.uri=/v2/gun/_trust/tuf/timestamp.23b5abe3c3b225695d304f14c88cd22b81525dad21f3eea5f79eca5b2c2babe4.json http.request.useragent=Go-http-client/1.1 http.response.duration="200.781µs" http.response.status=200 http.response.written=115 +--- PASS: TestGetRoleByHash (0.02s) === RUN TestGetRoleByVersion -time="2024-01-06T16:28:08Z" level=info msg="response completed" go.version=go1.15.15 http.request.host="127.0.0.1:37401" http.request.id=bc21f976-3d1a-4986-849e-6ba517141563 http.request.method=GET http.request.remoteaddr="127.0.0.1:48438" http.request.uri=/v2/gun/_trust/tuf/1.timestamp.json http.request.useragent=Go-http-client/1.1 http.response.duration="111.87µs" http.response.status=200 http.response.written=115 +time="2024-01-06T16:37:45Z" level=info msg="response completed" go.version=go1.15.15 http.request.host="127.0.0.1:39269" http.request.id=eda292ff-e38f-4e36-9c12-c8cbf2b47db2 http.request.method=GET http.request.remoteaddr="127.0.0.1:47400" http.request.uri=/v2/gun/_trust/tuf/1.timestamp.json http.request.useragent=Go-http-client/1.1 http.response.duration="149.586µs" http.response.status=200 http.response.written=115 --- PASS: TestGetRoleByVersion (0.01s) === RUN TestGetCurrentRole -time="2024-01-06T16:28:08Z" level=info msg="response completed" go.version=go1.15.15 http.request.host="127.0.0.1:33377" http.request.id=4dfd63a0-7bf5-44ec-bcf8-ad4dbd67f87a http.request.method=GET http.request.remoteaddr="127.0.0.1:59240" http.request.uri=/v2/gun/_trust/tuf/timestamp.json http.request.useragent=Go-http-client/1.1 http.response.duration=5.573533ms http.response.status=200 http.response.written=495 +time="2024-01-06T16:37:45Z" level=info msg="response completed" go.version=go1.15.15 http.request.host="127.0.0.1:46279" http.request.id=c9abc8d5-d82c-435d-94b8-dd9aa65c8f53 http.request.method=GET http.request.remoteaddr="127.0.0.1:46098" http.request.uri=/v2/gun/_trust/tuf/timestamp.json http.request.useragent=Go-http-client/1.1 http.response.duration=1.235624ms http.response.status=200 http.response.written=495 --- PASS: TestGetCurrentRole (0.06s) === RUN TestRotateKeyEndpoint -time="2024-01-06T16:28:08Z" level=info msg="metadata not found: You have requested metadata that does not exist.: " go.version=go1.15.15 http.request.contenttype=text/plain http.request.host="127.0.0.1:46769" http.request.id=799f9d81-3ce7-4db2-80d1-8def4f9dbe82 http.request.method=POST http.request.remoteaddr="127.0.0.1:60942" http.request.uri=/v2/gun/_trust/tuf/root.key http.request.useragent=Go-http-client/1.1 -time="2024-01-06T16:28:08Z" level=info msg="response completed" go.version=go1.15.15 http.request.contenttype=text/plain http.request.host="127.0.0.1:46769" http.request.id=799f9d81-3ce7-4db2-80d1-8def4f9dbe82 http.request.method=POST http.request.remoteaddr="127.0.0.1:60942" 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="245.357µs" http.response.status=404 http.response.written=104 -time="2024-01-06T16:28:08Z" level=info msg="metadata not found: You have requested metadata that does not exist.: " go.version=go1.15.15 http.request.contenttype=text/plain http.request.host="127.0.0.1:46769" http.request.id=d2af7441-5f3e-4276-bdeb-3ab89bc9be20 http.request.method=POST http.request.remoteaddr="127.0.0.1:60946" http.request.uri=/v2/gun/_trust/tuf/targets/delegation.key http.request.useragent=Go-http-client/1.1 -time="2024-01-06T16:28:08Z" level=info msg="response completed" go.version=go1.15.15 http.request.contenttype=text/plain http.request.host="127.0.0.1:46769" http.request.id=d2af7441-5f3e-4276-bdeb-3ab89bc9be20 http.request.method=POST http.request.remoteaddr="127.0.0.1:60946" 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="315.43µs" http.response.status=404 http.response.written=104 -time="2024-01-06T16:28:08Z" level=info msg="metadata not found: You have requested metadata that does not exist.: " go.version=go1.15.15 http.request.contenttype=text/plain http.request.host="127.0.0.1:46769" http.request.id=3fa0a2ad-1c40-46e6-9e30-3c48ebf0d6c0 http.request.method=POST http.request.remoteaddr="127.0.0.1:60948" http.request.uri=/v2/gun/_trust/tuf/somerandomrole.key http.request.useragent=Go-http-client/1.1 -time="2024-01-06T16:28:08Z" level=info msg="response completed" go.version=go1.15.15 http.request.contenttype=text/plain http.request.host="127.0.0.1:46769" http.request.id=3fa0a2ad-1c40-46e6-9e30-3c48ebf0d6c0 http.request.method=POST http.request.remoteaddr="127.0.0.1:60948" 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=7.540408ms http.response.status=404 http.response.written=104 -time="2024-01-06T16:28:08Z" level=info msg="response completed" go.version=go1.15.15 http.request.contenttype=text/plain http.request.host="127.0.0.1:46769" http.request.id=d2fa6f2b-63ee-4428-b9d5-9231d92238d7 http.request.method=POST http.request.remoteaddr="127.0.0.1:60962" http.request.uri=/v2/gun/_trust/tuf/timestamp.key http.request.useragent=Go-http-client/1.1 http.response.duration="748.329µs" http.response.status=200 http.response.written=103 -time="2024-01-06T16:28:08Z" level=info msg="response completed" go.version=go1.15.15 http.request.contenttype=text/plain http.request.host="127.0.0.1:46769" http.request.id=7a03ca49-8445-456a-944c-2de251e2bade http.request.method=POST http.request.remoteaddr="127.0.0.1:60978" http.request.uri=/v2/gun/_trust/tuf/snapshot.key http.request.useragent=Go-http-client/1.1 http.response.duration="698.054µs" http.response.status=200 http.response.written=103 -time="2024-01-06T16:28:08Z" level=info msg="metadata not found: You have requested metadata that does not exist.: " go.version=go1.15.15 http.request.contenttype=text/plain http.request.host="127.0.0.1:46769" http.request.id=37e2a0c1-c3bd-42a5-9f42-d122b5b7b98c http.request.method=POST http.request.remoteaddr="127.0.0.1:60988" http.request.uri=/v2/gun/_trust/tuf/targets.key http.request.useragent=Go-http-client/1.1 -time="2024-01-06T16:28:08Z" level=info msg="response completed" go.version=go1.15.15 http.request.contenttype=text/plain http.request.host="127.0.0.1:46769" http.request.id=37e2a0c1-c3bd-42a5-9f42-d122b5b7b98c http.request.method=POST http.request.remoteaddr="127.0.0.1:60988" 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="180.203µs" http.response.status=404 http.response.written=104 +time="2024-01-06T16:37:45Z" level=info msg="metadata not found: You have requested metadata that does not exist.: " go.version=go1.15.15 http.request.contenttype=text/plain http.request.host="127.0.0.1:35103" http.request.id=d71bc7e4-6ce1-44a3-8b3d-9359bd5c4352 http.request.method=POST http.request.remoteaddr="127.0.0.1:44384" http.request.uri=/v2/gun/_trust/tuf/targets/delegation.key http.request.useragent=Go-http-client/1.1 +time="2024-01-06T16:37:45Z" level=info msg="response completed" go.version=go1.15.15 http.request.contenttype=text/plain http.request.host="127.0.0.1:35103" http.request.id=d71bc7e4-6ce1-44a3-8b3d-9359bd5c4352 http.request.method=POST http.request.remoteaddr="127.0.0.1:44384" 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="425.96µs" http.response.status=404 http.response.written=104 +time="2024-01-06T16:37:45Z" level=info msg="metadata not found: You have requested metadata that does not exist.: " go.version=go1.15.15 http.request.contenttype=text/plain http.request.host="127.0.0.1:35103" http.request.id=16ab7ea4-5502-458e-877c-e97cac27d1ec http.request.method=POST http.request.remoteaddr="127.0.0.1:44394" http.request.uri=/v2/gun/_trust/tuf/somerandomrole.key http.request.useragent=Go-http-client/1.1 +time="2024-01-06T16:37:45Z" level=info msg="response completed" go.version=go1.15.15 http.request.contenttype=text/plain http.request.host="127.0.0.1:35103" http.request.id=16ab7ea4-5502-458e-877c-e97cac27d1ec http.request.method=POST http.request.remoteaddr="127.0.0.1:44394" 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="310.751µs" http.response.status=404 http.response.written=104 +time="2024-01-06T16:37:45Z" level=info msg="response completed" go.version=go1.15.15 http.request.contenttype=text/plain http.request.host="127.0.0.1:35103" http.request.id=c562db7d-d6e3-457c-9b5a-234322acceaa http.request.method=POST http.request.remoteaddr="127.0.0.1:44404" http.request.uri=/v2/gun/_trust/tuf/timestamp.key http.request.useragent=Go-http-client/1.1 http.response.duration="903.615µs" http.response.status=200 http.response.written=103 +time="2024-01-06T16:37:45Z" level=info msg="response completed" go.version=go1.15.15 http.request.contenttype=text/plain http.request.host="127.0.0.1:35103" http.request.id=3f8b884e-1936-419c-aca0-1f13ce2bf3d0 http.request.method=POST http.request.remoteaddr="127.0.0.1:44412" http.request.uri=/v2/gun/_trust/tuf/snapshot.key http.request.useragent=Go-http-client/1.1 http.response.duration="695.354µs" http.response.status=200 http.response.written=103 +time="2024-01-06T16:37:45Z" level=info msg="metadata not found: You have requested metadata that does not exist.: " go.version=go1.15.15 http.request.contenttype=text/plain http.request.host="127.0.0.1:35103" http.request.id=cddce759-2d20-4c11-8d60-6b28db7b3b64 http.request.method=POST http.request.remoteaddr="127.0.0.1:44428" http.request.uri=/v2/gun/_trust/tuf/targets.key http.request.useragent=Go-http-client/1.1 +time="2024-01-06T16:37:45Z" level=info msg="response completed" go.version=go1.15.15 http.request.contenttype=text/plain http.request.host="127.0.0.1:35103" http.request.id=cddce759-2d20-4c11-8d60-6b28db7b3b64 http.request.method=POST http.request.remoteaddr="127.0.0.1:44428" 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="213.38µs" http.response.status=404 http.response.written=104 +time="2024-01-06T16:37:45Z" level=info msg="metadata not found: You have requested metadata that does not exist.: " go.version=go1.15.15 http.request.contenttype=text/plain http.request.host="127.0.0.1:35103" http.request.id=22b5a3af-03a3-48de-bb5e-2eb811855171 http.request.method=POST http.request.remoteaddr="127.0.0.1:44440" http.request.uri=/v2/gun/_trust/tuf/root.key http.request.useragent=Go-http-client/1.1 +time="2024-01-06T16:37:45Z" level=info msg="response completed" go.version=go1.15.15 http.request.contenttype=text/plain http.request.host="127.0.0.1:35103" http.request.id=22b5a3af-03a3-48de-bb5e-2eb811855171 http.request.method=POST http.request.remoteaddr="127.0.0.1:44440" 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="250.157µs" http.response.status=404 http.response.written=104 --- PASS: TestRotateKeyEndpoint (0.03s) PASS -ok github.com/theupdateframework/notary/server 0.410s +ok github.com/theupdateframework/notary/server 0.575s ? github.com/theupdateframework/notary/server/errors [no test files] === RUN Test_changefeed --- PASS: Test_changefeed (0.00s) === RUN Test_checkChangefeedInputs -time="2024-01-06T16:28:12Z" level=error msg="500 GET unable to retrieve storage" -time="2024-01-06T16:28:12Z" level=error msg="400 GET invalid pageSize: not_a_number" +time="2024-01-06T16:37:47Z" level=error msg="500 GET unable to retrieve storage" +time="2024-01-06T16:37:47Z" level=error msg="400 GET invalid pageSize: not_a_number" --- PASS: Test_checkChangefeedInputs (0.00s) === RUN TestMainHandlerGet -time="2024-01-06T16:28:12Z" level=info msg="response completed" go.version=go1.15.15 http.request.host="127.0.0.1:34061" http.request.id=ec81752f-b313-48c4-a2a9-7d7cd6d8c361 http.request.method=GET http.request.remoteaddr="127.0.0.1:54020" http.request.uri=/ http.request.useragent=Go-http-client/1.1 http.response.duration="79.272µs" http.response.status=200 http.response.written=2 +time="2024-01-06T16:37:47Z" level=info msg="response completed" go.version=go1.15.15 http.request.host="127.0.0.1:40149" http.request.id=bee9f491-ee8e-4173-ac3a-5e38dd3136b2 http.request.method=GET http.request.remoteaddr="127.0.0.1:34820" http.request.uri=/ http.request.useragent=Go-http-client/1.1 http.response.duration="95.231µs" http.response.status=200 http.response.written=2 --- PASS: TestMainHandlerGet (0.00s) === RUN TestMainHandlerNotGet -time="2024-01-06T16:28:12Z" level=info msg="generic not found: You have requested a resource that does not exist.: " go.version=go1.15.15 http.request.host="127.0.0.1:46697" http.request.id=f041d9bd-3f3f-462f-8de5-451d9b0c38be http.request.method=HEAD http.request.remoteaddr="127.0.0.1:44440" http.request.uri=/ http.request.useragent=Go-http-client/1.1 -time="2024-01-06T16:28:12Z" level=info msg="response completed" go.version=go1.15.15 http.request.host="127.0.0.1:46697" http.request.id=f041d9bd-3f3f-462f-8de5-451d9b0c38be http.request.method=HEAD http.request.remoteaddr="127.0.0.1:44440" http.request.uri=/ http.request.useragent=Go-http-client/1.1 http.response.contenttype="application/json; charset=utf-8" http.response.duration="456.577µs" http.response.status=404 http.response.written=105 +time="2024-01-06T16:37:47Z" level=info msg="generic not found: You have requested a resource that does not exist.: " go.version=go1.15.15 http.request.host="127.0.0.1:38565" http.request.id=cd9f94e2-8e15-4ed5-b31a-41597dfb1cf2 http.request.method=HEAD http.request.remoteaddr="127.0.0.1:42550" http.request.uri=/ http.request.useragent=Go-http-client/1.1 +time="2024-01-06T16:37:47Z" level=info msg="response completed" go.version=go1.15.15 http.request.host="127.0.0.1:38565" http.request.id=cd9f94e2-8e15-4ed5-b31a-41597dfb1cf2 http.request.method=HEAD http.request.remoteaddr="127.0.0.1:42550" http.request.uri=/ http.request.useragent=Go-http-client/1.1 http.response.contenttype="application/json; charset=utf-8" http.response.duration="442.038µs" http.response.status=404 http.response.written=105 --- PASS: TestMainHandlerNotGet (0.00s) === RUN TestKeyHandlersInvalidConfiguration -time="2024-01-06T16:28:12Z" level=error msg="500 GET storage not configured" go.version=go1.15.15 gun=gun -time="2024-01-06T16:28:12Z" level=error msg="500 GET storage not configured" go.version=go1.15.15 gun=gun -time="2024-01-06T16:28:12Z" level=error msg="500 GET crypto service not configured" go.version=go1.15.15 gun=gun -time="2024-01-06T16:28:12Z" level=error msg="500 GET crypto service not configured" go.version=go1.15.15 gun=gun -time="2024-01-06T16:28:12Z" level=error msg="500 GET key algorithm not configured" go.version=go1.15.15 gun=gun -time="2024-01-06T16:28:12Z" level=error msg="500 GET key algorithm not configured" go.version=go1.15.15 gun=gun -time="2024-01-06T16:28:12Z" level=error msg="500 POST storage not configured" go.version=go1.15.15 gun=gun -time="2024-01-06T16:28:12Z" level=error msg="500 POST storage not configured" go.version=go1.15.15 gun=gun -time="2024-01-06T16:28:12Z" level=error msg="500 POST crypto service not configured" go.version=go1.15.15 gun=gun -time="2024-01-06T16:28:12Z" level=error msg="500 POST crypto service not configured" go.version=go1.15.15 gun=gun -time="2024-01-06T16:28:12Z" level=error msg="500 POST key algorithm not configured" go.version=go1.15.15 gun=gun -time="2024-01-06T16:28:12Z" level=error msg="500 POST key algorithm not configured" go.version=go1.15.15 gun=gun +time="2024-01-06T16:37:47Z" level=error msg="500 GET crypto service not configured" go.version=go1.15.15 gun=gun +time="2024-01-06T16:37:47Z" level=error msg="500 GET crypto service not configured" go.version=go1.15.15 gun=gun +time="2024-01-06T16:37:47Z" level=error msg="500 GET key algorithm not configured" go.version=go1.15.15 gun=gun +time="2024-01-06T16:37:47Z" level=error msg="500 GET key algorithm not configured" go.version=go1.15.15 gun=gun +time="2024-01-06T16:37:47Z" level=error msg="500 GET storage not configured" go.version=go1.15.15 gun=gun +time="2024-01-06T16:37:47Z" level=error msg="500 GET storage not configured" go.version=go1.15.15 gun=gun +time="2024-01-06T16:37:47Z" level=error msg="500 POST crypto service not configured" go.version=go1.15.15 gun=gun +time="2024-01-06T16:37:47Z" level=error msg="500 POST crypto service not configured" go.version=go1.15.15 gun=gun +time="2024-01-06T16:37:47Z" level=error msg="500 POST key algorithm not configured" go.version=go1.15.15 gun=gun +time="2024-01-06T16:37:47Z" level=error msg="500 POST key algorithm not configured" go.version=go1.15.15 gun=gun +time="2024-01-06T16:37:47Z" level=error msg="500 POST storage not configured" go.version=go1.15.15 gun=gun +time="2024-01-06T16:37:47Z" level=error msg="500 POST storage not configured" go.version=go1.15.15 gun=gun --- PASS: TestKeyHandlersInvalidConfiguration (0.00s) === RUN TestKeyHandlersNoRoleOrRepo -time="2024-01-06T16:28:12Z" level=info msg="400 GET no gun in request" =gun go.version=go1.15.15 -time="2024-01-06T16:28:12Z" level=info msg="400 GET no gun in request" =gun go.version=go1.15.15 -time="2024-01-06T16:28:12Z" level=info msg="400 GET no role in request" go.version=go1.15.15 gun=gun -time="2024-01-06T16:28:12Z" level=info msg="400 GET no role in request" go.version=go1.15.15 gun=gun -time="2024-01-06T16:28:12Z" level=info msg="400 POST no gun in request" =gun go.version=go1.15.15 -time="2024-01-06T16:28:12Z" level=info msg="400 POST no gun in request" =gun go.version=go1.15.15 -time="2024-01-06T16:28:12Z" level=info msg="400 POST no role in request" go.version=go1.15.15 gun=gun -time="2024-01-06T16:28:12Z" level=info msg="400 POST no role in request" go.version=go1.15.15 gun=gun +time="2024-01-06T16:37:47Z" level=info msg="400 GET no gun in request" =gun go.version=go1.15.15 +time="2024-01-06T16:37:47Z" level=info msg="400 GET no gun in request" =gun go.version=go1.15.15 +time="2024-01-06T16:37:47Z" level=info msg="400 GET no role in request" go.version=go1.15.15 gun=gun +time="2024-01-06T16:37:47Z" level=info msg="400 GET no role in request" go.version=go1.15.15 gun=gun +time="2024-01-06T16:37:47Z" level=info msg="400 POST no gun in request" =gun go.version=go1.15.15 +time="2024-01-06T16:37:47Z" level=info msg="400 POST no gun in request" =gun go.version=go1.15.15 +time="2024-01-06T16:37:47Z" level=info msg="400 POST no role in request" go.version=go1.15.15 gun=gun +time="2024-01-06T16:37:47Z" level=info msg="400 POST no role in request" go.version=go1.15.15 gun=gun --- PASS: TestKeyHandlersNoRoleOrRepo (0.00s) === RUN TestKeyHandlersInvalidRole -time="2024-01-06T16:28:12Z" level=info msg="400 GET root key: " go.version=go1.15.15 gun=gun -time="2024-01-06T16:28:12Z" level=info msg="400 GET targets key: " go.version=go1.15.15 gun=gun -time="2024-01-06T16:28:12Z" level=info msg="400 GET targets/a key: " go.version=go1.15.15 gun=gun -time="2024-01-06T16:28:12Z" level=info msg="400 GET invalidrole key: " go.version=go1.15.15 gun=gun -time="2024-01-06T16:28:12Z" level=info msg="400 POST root key: " go.version=go1.15.15 gun=gun -time="2024-01-06T16:28:12Z" level=info msg="400 POST targets key: " go.version=go1.15.15 gun=gun -time="2024-01-06T16:28:12Z" level=info msg="400 POST targets/a key: " go.version=go1.15.15 gun=gun -time="2024-01-06T16:28:12Z" level=info msg="400 POST invalidrole key: " go.version=go1.15.15 gun=gun +time="2024-01-06T16:37:47Z" level=info msg="400 GET root key: " go.version=go1.15.15 gun=gun +time="2024-01-06T16:37:47Z" level=info msg="400 GET targets key: " go.version=go1.15.15 gun=gun +time="2024-01-06T16:37:47Z" level=info msg="400 GET targets/a key: " go.version=go1.15.15 gun=gun +time="2024-01-06T16:37:47Z" level=info msg="400 GET invalidrole key: " go.version=go1.15.15 gun=gun +time="2024-01-06T16:37:47Z" level=info msg="400 POST root key: " go.version=go1.15.15 gun=gun +time="2024-01-06T16:37:47Z" level=info msg="400 POST targets key: " go.version=go1.15.15 gun=gun +time="2024-01-06T16:37:47Z" level=info msg="400 POST targets/a key: " go.version=go1.15.15 gun=gun +time="2024-01-06T16:37:47Z" level=info msg="400 POST invalidrole key: " go.version=go1.15.15 gun=gun --- PASS: TestKeyHandlersInvalidRole (0.00s) === RUN TestGetKeyHandlerCreatesOnce --- PASS: TestGetKeyHandlerCreatesOnce (0.00s) === RUN TestKeyHandlersInvalidKeyAlgo -time="2024-01-06T16:28:12Z" level=error msg="500 GET timestamp key: only ED25519 supported by this cryptoservice" go.version=go1.15.15 gun=gun -time="2024-01-06T16:28:12Z" level=error msg="500 GET snapshot key: only ED25519 supported by this cryptoservice" go.version=go1.15.15 gun=gun -time="2024-01-06T16:28:12Z" level=error msg="500 POST timestamp key: only ED25519 supported by this cryptoservice" go.version=go1.15.15 gun=gun -time="2024-01-06T16:28:12Z" level=error msg="500 POST snapshot key: only ED25519 supported by this cryptoservice" go.version=go1.15.15 gun=gun +time="2024-01-06T16:37:47Z" level=error msg="500 GET timestamp key: only ED25519 supported by this cryptoservice" go.version=go1.15.15 gun=gun +time="2024-01-06T16:37:47Z" level=error msg="500 GET snapshot key: only ED25519 supported by this cryptoservice" go.version=go1.15.15 gun=gun +time="2024-01-06T16:37:47Z" level=error msg="500 POST timestamp key: only ED25519 supported by this cryptoservice" go.version=go1.15.15 gun=gun +time="2024-01-06T16:37:47Z" level=error msg="500 POST snapshot key: only ED25519 supported by this cryptoservice" go.version=go1.15.15 gun=gun --- PASS: TestKeyHandlersInvalidKeyAlgo (0.00s) === RUN TestRotateKeyHandlerSuccessfulRotation --- PASS: TestRotateKeyHandlerSuccessfulRotation (0.00s) === RUN TestGetHandlerRoot -time="2024-01-06T16:28:12Z" level=info msg="404 GET root role" go.version=go1.15.15 gun=gun +time="2024-01-06T16:37:47Z" level=info msg="404 GET root role" go.version=go1.15.15 gun=gun --- PASS: TestGetHandlerRoot (0.03s) === RUN TestGetHandlerTimestamp ---- PASS: TestGetHandlerTimestamp (0.03s) +--- PASS: TestGetHandlerTimestamp (0.04s) === RUN TestGetHandlerSnapshot ---- PASS: TestGetHandlerSnapshot (0.03s) +--- PASS: TestGetHandlerSnapshot (0.06s) === RUN TestGetHandler404 -time="2024-01-06T16:28:12Z" level=info msg="404 GET root role" go.version=go1.15.15 gun=gun +time="2024-01-06T16:37:47Z" level=info msg="404 GET root role" go.version=go1.15.15 gun=gun --- PASS: TestGetHandler404 (0.00s) === RUN TestGetHandlerNilData -time="2024-01-06T16:28:12Z" level=info msg="404 GET root role" go.version=go1.15.15 gun=gun +time="2024-01-06T16:37:47Z" level=info msg="404 GET root role" go.version=go1.15.15 gun=gun --- PASS: TestGetHandlerNilData (0.00s) === RUN TestGetHandlerNoStorage -time="2024-01-06T16:28:12Z" level=error msg="500 GET: no storage exists" =gun go.version=go1.15.15 +time="2024-01-06T16:37:47Z" level=error msg="500 GET: no storage exists" =gun go.version=go1.15.15 --- PASS: TestGetHandlerNoStorage (0.00s) === RUN TestAtomicUpdateValidationFailurePropagated ---- PASS: TestAtomicUpdateValidationFailurePropagated (0.06s) +--- PASS: TestAtomicUpdateValidationFailurePropagated (0.11s) === RUN TestAtomicUpdateNonValidationFailureNotPropagated -time="2024-01-06T16:28:12Z" level=info msg="400 POST error validating update" go.version=go1.15.15 testGUN=gun ---- PASS: TestAtomicUpdateNonValidationFailureNotPropagated (0.06s) +time="2024-01-06T16:37:47Z" level=info msg="400 POST error validating update" go.version=go1.15.15 testGUN=gun +--- PASS: TestAtomicUpdateNonValidationFailureNotPropagated (0.05s) === RUN TestAtomicUpdateVersionErrorPropagated -time="2024-01-06T16:28:12Z" level=info msg="400 POST old version error" go.version=go1.15.15 testGUN=gun ---- PASS: TestAtomicUpdateVersionErrorPropagated (0.07s) +time="2024-01-06T16:37:47Z" level=info msg="400 POST old version error" go.version=go1.15.15 testGUN=gun +--- PASS: TestAtomicUpdateVersionErrorPropagated (0.11s) === RUN TestGetMaybeServerSignedNoCrypto --- PASS: TestGetMaybeServerSignedNoCrypto (0.00s) === RUN TestGetMaybeServerSignedNoKey --- PASS: TestGetMaybeServerSignedNoKey (0.00s) === RUN TestValidateEmptyNew ---- PASS: TestValidateEmptyNew (0.10s) +--- PASS: TestValidateEmptyNew (0.08s) === RUN TestValidateRootCanContainOnlyx509KeysWithRightGun ---- PASS: TestValidateRootCanContainOnlyx509KeysWithRightGun (0.09s) +--- PASS: TestValidateRootCanContainOnlyx509KeysWithRightGun (0.12s) === RUN TestValidatePrevTimestamp ---- PASS: TestValidatePrevTimestamp (0.15s) +--- PASS: TestValidatePrevTimestamp (0.14s) === RUN TestValidatePreviousTimestampCorrupt -time="2024-01-06T16:28:13Z" level=error msg="Failed to unmarshal existing timestamp for GUN docker.com/notary" ---- PASS: TestValidatePreviousTimestampCorrupt (0.14s) +time="2024-01-06T16:37:48Z" level=error msg="Failed to unmarshal existing timestamp for GUN docker.com/notary" +--- PASS: TestValidatePreviousTimestampCorrupt (0.09s) === RUN TestValidateGetCurrentTimestampBroken ---- PASS: TestValidateGetCurrentTimestampBroken (0.11s) +--- PASS: TestValidateGetCurrentTimestampBroken (0.10s) === RUN TestValidateNoNewRoot ---- PASS: TestValidateNoNewRoot (0.14s) +--- PASS: TestValidateNoNewRoot (0.12s) === RUN TestValidateNoNewTargets --- PASS: TestValidateNoNewTargets (0.13s) === RUN TestValidateOnlySnapshot ---- PASS: TestValidateOnlySnapshot (0.13s) +--- PASS: TestValidateOnlySnapshot (0.12s) === RUN TestValidateOldRoot ---- PASS: TestValidateOldRoot (0.11s) +--- PASS: TestValidateOldRoot (0.10s) === RUN TestValidateOldRootCorrupt ---- PASS: TestValidateOldRootCorrupt (0.05s) +--- PASS: TestValidateOldRootCorrupt (0.06s) === RUN TestValidateOldRootCorruptRootRole ---- PASS: TestValidateOldRootCorruptRootRole (0.05s) +--- PASS: TestValidateOldRootCorruptRootRole (0.10s) === RUN TestValidateRootGetCurrentRootBroken ---- PASS: TestValidateRootGetCurrentRootBroken (0.05s) +--- PASS: TestValidateRootGetCurrentRootBroken (0.06s) === RUN TestValidateRootRotationWithOldSigs ---- PASS: TestValidateRootRotationWithOldSigs (0.21s) +--- PASS: TestValidateRootRotationWithOldSigs (0.50s) === RUN TestValidateRootRotationMultipleKeysThreshold1 ---- PASS: TestValidateRootRotationMultipleKeysThreshold1 (0.12s) +--- PASS: TestValidateRootRotationMultipleKeysThreshold1 (0.26s) === RUN TestRootRotationNotSignedWithOldKeysForOldRole ---- PASS: TestRootRotationNotSignedWithOldKeysForOldRole (0.17s) +--- PASS: TestRootRotationNotSignedWithOldKeysForOldRole (0.29s) === RUN TestRootRotationVersionIncrement ---- PASS: TestRootRotationVersionIncrement (0.12s) +--- PASS: TestRootRotationVersionIncrement (0.15s) === RUN TestValidateNoRoot ---- PASS: TestValidateNoRoot (0.05s) +--- PASS: TestValidateNoRoot (0.06s) === RUN TestValidateSnapshotMissingNoSnapshotKey ---- PASS: TestValidateSnapshotMissingNoSnapshotKey (0.06s) +--- PASS: TestValidateSnapshotMissingNoSnapshotKey (0.12s) === RUN TestValidateSnapshotGenerateNoPrev ---- PASS: TestValidateSnapshotGenerateNoPrev (0.08s) +--- PASS: TestValidateSnapshotGenerateNoPrev (0.15s) === RUN TestValidateSnapshotGenerateWithPrev ---- PASS: TestValidateSnapshotGenerateWithPrev (0.08s) +--- PASS: TestValidateSnapshotGenerateWithPrev (0.10s) === RUN TestValidateSnapshotGeneratePrevCorrupt -time="2024-01-06T16:28:14Z" level=error msg="Failed to unmarshal existing snapshot for GUN docker.com/notary" ---- PASS: TestValidateSnapshotGeneratePrevCorrupt (0.07s) +time="2024-01-06T16:37:50Z" level=error msg="Failed to unmarshal existing snapshot for GUN docker.com/notary" +--- PASS: TestValidateSnapshotGeneratePrevCorrupt (0.09s) === RUN TestValidateSnapshotGenerateStoreGetCurrentSnapshotBroken --- PASS: TestValidateSnapshotGenerateStoreGetCurrentSnapshotBroken (0.07s) === RUN TestValidateSnapshotGenerateNoTargets --- PASS: TestValidateSnapshotGenerateNoTargets (0.08s) === RUN TestValidateSnapshotGenerate ---- PASS: TestValidateSnapshotGenerate (0.08s) +--- PASS: TestValidateSnapshotGenerate (0.09s) === RUN TestValidateRootNoTimestampKey ---- PASS: TestValidateRootNoTimestampKey (0.05s) +--- PASS: TestValidateRootNoTimestampKey (0.06s) === RUN TestValidateRootInvalidTimestampKey ---- PASS: TestValidateRootInvalidTimestampKey (0.05s) +--- PASS: TestValidateRootInvalidTimestampKey (0.06s) === RUN TestValidateRootInvalidTimestampThreshold ---- PASS: TestValidateRootInvalidTimestampThreshold (0.07s) +--- PASS: TestValidateRootInvalidTimestampThreshold (0.08s) === RUN TestValidateRootInvalidZeroThreshold ---- PASS: TestValidateRootInvalidZeroThreshold (0.20s) +--- PASS: TestValidateRootInvalidZeroThreshold (0.29s) === RUN TestValidateRootRoleMissing ---- PASS: TestValidateRootRoleMissing (0.04s) +--- PASS: TestValidateRootRoleMissing (0.07s) === RUN TestValidateTargetsRoleMissing ---- PASS: TestValidateTargetsRoleMissing (0.04s) +--- PASS: TestValidateTargetsRoleMissing (0.07s) === RUN TestValidateSnapshotRoleMissing ---- PASS: TestValidateSnapshotRoleMissing (0.04s) +--- PASS: TestValidateSnapshotRoleMissing (0.05s) === RUN TestValidateRootSigMissing ---- PASS: TestValidateRootSigMissing (0.04s) +--- PASS: TestValidateRootSigMissing (0.05s) === RUN TestValidateTargetsSigMissing -time="2024-01-06T16:28:15Z" level=error msg="ErrBadTargets: tuf: data has no signatures" ---- PASS: TestValidateTargetsSigMissing (0.05s) +time="2024-01-06T16:37:51Z" level=error msg="ErrBadTargets: tuf: data has no signatures" +--- PASS: TestValidateTargetsSigMissing (0.06s) === RUN TestValidateSnapshotSigMissing --- PASS: TestValidateSnapshotSigMissing (0.06s) === RUN TestValidateRootCorrupt --- PASS: TestValidateRootCorrupt (0.05s) === RUN TestValidateTargetsCorrupt -time="2024-01-06T16:28:15Z" level=error msg="ErrBadTargets: invalid character '\\u0084' looking for beginning of value" +time="2024-01-06T16:37:52Z" level=error msg="ErrBadTargets: invalid character '\\u0084' looking for beginning of value" --- PASS: TestValidateTargetsCorrupt (0.05s) === RUN TestValidateSnapshotCorrupt ---- PASS: TestValidateSnapshotCorrupt (0.06s) +--- PASS: TestValidateSnapshotCorrupt (0.08s) === RUN TestValidateRootModifiedSize --- PASS: TestValidateRootModifiedSize (0.05s) === RUN TestValidateTargetsModifiedSize ---- PASS: TestValidateTargetsModifiedSize (0.06s) +--- PASS: TestValidateTargetsModifiedSize (0.08s) === RUN TestValidateRootModifiedHash ---- PASS: TestValidateRootModifiedHash (0.06s) +--- PASS: TestValidateRootModifiedHash (0.08s) === RUN TestValidateTargetsModifiedHash ---- PASS: TestValidateTargetsModifiedHash (0.06s) +--- PASS: TestValidateTargetsModifiedHash (0.10s) === RUN TestGenerateSnapshotRootNotLoaded --- PASS: TestGenerateSnapshotRootNotLoaded (0.00s) === RUN TestGenerateSnapshotNoKey ---- PASS: TestGenerateSnapshotNoKey (0.06s) +--- PASS: TestGenerateSnapshotNoKey (0.09s) === RUN TestLoadTargetsLoadsNothingIfNoUpdates ---- PASS: TestLoadTargetsLoadsNothingIfNoUpdates (0.06s) +--- PASS: TestLoadTargetsLoadsNothingIfNoUpdates (0.05s) === RUN TestValidateTargetsRequiresStoredParent -time="2024-01-06T16:28:16Z" level=error msg="ErrBadTargets: targets must be loaded first" +time="2024-01-06T16:37:52Z" level=error msg="ErrBadTargets: targets must be loaded first" --- PASS: TestValidateTargetsRequiresStoredParent (0.07s) === RUN TestValidateTargetsParentInUpdate -time="2024-01-06T16:28:16Z" level=error msg="ErrBadTargets: invalid character 'I' looking for beginning of value" +time="2024-01-06T16:37:52Z" level=error msg="ErrBadTargets: invalid character 'I' looking for beginning of value" --- PASS: TestValidateTargetsParentInUpdate (0.07s) === RUN TestValidateTargetsRoleNotInParent -time="2024-01-06T16:28:16Z" level=error msg="ErrBadTargets: tuf: invalid role targets/level1. delegation does not exist" -time="2024-01-06T16:28:16Z" level=error msg="ErrBadTargets: targets has already been loaded" -time="2024-01-06T16:28:16Z" level=error msg="ErrBadTargets: tuf: invalid role targets/level1. delegation does not exist" ---- PASS: TestValidateTargetsRoleNotInParent (0.08s) +time="2024-01-06T16:37:52Z" level=error msg="ErrBadTargets: tuf: invalid role targets/level1. delegation does not exist" +time="2024-01-06T16:37:52Z" level=error msg="ErrBadTargets: targets has already been loaded" +time="2024-01-06T16:37:52Z" level=error msg="ErrBadTargets: tuf: invalid role targets/level1. delegation does not exist" +--- PASS: TestValidateTargetsRoleNotInParent (0.14s) PASS -ok github.com/theupdateframework/notary/server/handlers 4.106s +ok github.com/theupdateframework/notary/server/handlers 5.421s === RUN TestSnapshotExpired --- PASS: TestSnapshotExpired (0.00s) === RUN TestSnapshotNotExpired @@ -2781,28 +2816,28 @@ === RUN TestGetSnapshotKeyCreate --- PASS: TestGetSnapshotKeyCreate (0.00s) === RUN TestGetSnapshotKeyCreateWithFailingStore -time="2024-01-06T16:28:10Z" level=error msg="Error when retrieving root role for GUN gun: failing store failed" +time="2024-01-06T16:37:48Z" level=error msg="Error when retrieving root role for GUN gun: failing store failed" --- PASS: TestGetSnapshotKeyCreateWithFailingStore (0.00s) === RUN TestGetSnapshotKeyCreateWithCorruptedStore -time="2024-01-06T16:28:10Z" level=error msg="Failed to unmarshal existing root for GUN gun to retrieve snapshot key ID" +time="2024-01-06T16:37:48Z" 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.03s) +--- PASS: TestGetSnapshotKeyExistingMetadata (0.06s) === RUN TestGetSnapshotNoPreviousSnapshot -time="2024-01-06T16:28:10Z" level=error msg="Failed to unmarshal existing snapshot for GUN gun" ---- PASS: TestGetSnapshotNoPreviousSnapshot (0.02s) +time="2024-01-06T16:37:48Z" level=error msg="Failed to unmarshal existing snapshot for GUN gun" +--- PASS: TestGetSnapshotNoPreviousSnapshot (0.04s) === RUN TestGetSnapshotReturnsPreviousSnapshotIfUnexpired --- PASS: TestGetSnapshotReturnsPreviousSnapshotIfUnexpired (0.03s) === RUN TestGetSnapshotOldSnapshotExpired ---- PASS: TestGetSnapshotOldSnapshotExpired (0.05s) +--- PASS: TestGetSnapshotOldSnapshotExpired (0.04s) === RUN TestCannotMakeNewSnapshotIfNoRoot --- PASS: TestCannotMakeNewSnapshotIfNoRoot (0.02s) === RUN TestCreateSnapshotNoKeyInCrypto --- PASS: TestCreateSnapshotNoKeyInCrypto (0.04s) PASS -ok github.com/theupdateframework/notary/server/snapshot 0.228s +ok github.com/theupdateframework/notary/server/snapshot 0.303s === RUN TestMemoryUpdateCurrentEmpty --- PASS: TestMemoryUpdateCurrentEmpty (0.00s) === RUN TestMemoryUpdateCurrentVersionCheckOldVersionExists @@ -2814,13 +2849,13 @@ === RUN TestMemoryUpdateManyConflictRollback --- PASS: TestMemoryUpdateManyConflictRollback (0.00s) === RUN TestMemoryDeleteSuccess ---- PASS: TestMemoryDeleteSuccess (0.00s) +--- PASS: TestMemoryDeleteSuccess (0.01s) === RUN TestGetCurrent --- PASS: TestGetCurrent (0.00s) === RUN TestGetChecksumNotFound --- PASS: TestGetChecksumNotFound (0.00s) === RUN TestMemoryGetChanges ---- PASS: TestMemoryGetChanges (0.01s) +--- PASS: TestMemoryGetChanges (0.00s) === RUN TestGetVersion --- PASS: TestGetVersion (0.00s) === RUN TestRDBTUFFileJSONUnmarshalling @@ -2828,35 +2863,35 @@ === RUN TestRDBTUFFileJSONUnmarshallingFailure --- PASS: TestRDBTUFFileJSONUnmarshallingFailure (0.00s) === RUN TestSQLUpdateCurrentEmpty ---- PASS: TestSQLUpdateCurrentEmpty (27.05s) +--- PASS: TestSQLUpdateCurrentEmpty (0.53s) === RUN TestSQLUpdateCurrentVersionCheckOldVersionExists ---- PASS: TestSQLUpdateCurrentVersionCheckOldVersionExists (0.39s) +--- PASS: TestSQLUpdateCurrentVersionCheckOldVersionExists (0.24s) === RUN TestSQLUpdateCurrentVersionCheckOldVersionNotExist ---- PASS: TestSQLUpdateCurrentVersionCheckOldVersionNotExist (0.39s) +--- PASS: TestSQLUpdateCurrentVersionCheckOldVersionNotExist (0.25s) === RUN TestSQLUpdateManyNoConflicts ---- PASS: TestSQLUpdateManyNoConflicts (0.50s) +--- PASS: TestSQLUpdateManyNoConflicts (0.29s) === RUN TestSQLUpdateManyConflictRollback ---- PASS: TestSQLUpdateManyConflictRollback (0.37s) +--- PASS: TestSQLUpdateManyConflictRollback (0.20s) === RUN TestSQLDelete ---- PASS: TestSQLDelete (0.55s) +--- PASS: TestSQLDelete (0.36s) === RUN TestSQLDBCheckHealthTableMissing ---- PASS: TestSQLDBCheckHealthTableMissing (0.36s) +--- PASS: TestSQLDBCheckHealthTableMissing (0.16s) === RUN TestSQLDBCheckHealthDBConnectionFail ---- PASS: TestSQLDBCheckHealthDBConnectionFail (0.24s) +--- PASS: TestSQLDBCheckHealthDBConnectionFail (0.13s) === RUN TestSQLDBCheckHealthSucceeds ---- PASS: TestSQLDBCheckHealthSucceeds (0.31s) +--- PASS: TestSQLDBCheckHealthSucceeds (0.20s) === RUN TestSQLDBGetChecksum ---- PASS: TestSQLDBGetChecksum (0.78s) +--- PASS: TestSQLDBGetChecksum (0.48s) === RUN TestSQLDBGetChecksumNotFound ---- PASS: TestSQLDBGetChecksumNotFound (0.58s) +--- PASS: TestSQLDBGetChecksumNotFound (0.13s) === RUN TestSQLTUFMetaStoreGetCurrent ---- PASS: TestSQLTUFMetaStoreGetCurrent (3.82s) +--- PASS: TestSQLTUFMetaStoreGetCurrent (0.44s) === RUN TestSQLGetChanges ---- PASS: TestSQLGetChanges (0.50s) +--- PASS: TestSQLGetChanges (0.48s) === RUN TestSQLDBGetVersion ---- PASS: TestSQLDBGetVersion (0.16s) +--- PASS: TestSQLDBGetVersion (0.17s) PASS -ok github.com/theupdateframework/notary/server/storage 36.313s +ok github.com/theupdateframework/notary/server/storage 4.139s === RUN TestTimestampExpired --- PASS: TestTimestampExpired (0.00s) === RUN TestTimestampNotExpired @@ -2864,33 +2899,33 @@ === RUN TestGetTimestampKey --- PASS: TestGetTimestampKey (0.00s) === RUN TestGetTimestampNoPreviousTimestamp -time="2024-01-06T16:28:20Z" level=error msg="Failed to unmarshal existing timestamp" +time="2024-01-06T16:37:56Z" level=error msg="Failed to unmarshal existing timestamp" --- PASS: TestGetTimestampNoPreviousTimestamp (0.04s) === RUN TestGetTimestampReturnsPreviousTimestampIfUnexpired --- PASS: TestGetTimestampReturnsPreviousTimestampIfUnexpired (0.04s) === RUN TestGetTimestampOldTimestampExpired ---- PASS: TestGetTimestampOldTimestampExpired (0.06s) +--- PASS: TestGetTimestampOldTimestampExpired (0.07s) === RUN TestCannotMakeNewTimestampIfNoRootOrSnapshot -time="2024-01-06T16:28:20Z" level=error msg="Failed to create a new timestamp" -time="2024-01-06T16:28:20Z" level=error msg="Failed to create a new timestamp" ---- PASS: TestCannotMakeNewTimestampIfNoRootOrSnapshot (0.04s) +time="2024-01-06T16:37:56Z" level=error msg="Failed to create a new timestamp" +time="2024-01-06T16:37:56Z" level=error msg="Failed to create a new timestamp" +--- PASS: TestCannotMakeNewTimestampIfNoRootOrSnapshot (0.08s) === RUN TestCreateTimestampNoKeyInCrypto -time="2024-01-06T16:28:20Z" level=error msg="Failed to create a new timestamp" ---- PASS: TestCreateTimestampNoKeyInCrypto (0.05s) +time="2024-01-06T16:37:56Z" level=error msg="Failed to create a new timestamp" +--- PASS: TestCreateTimestampNoKeyInCrypto (0.08s) === RUN TestGetTimestampKeyCreateWithFailingStore -time="2024-01-06T16:28:20Z" level=error msg="Error when retrieving root role for GUN gun: failing store failed" +time="2024-01-06T16:37:56Z" level=error msg="Error when retrieving root role for GUN gun: failing store failed" --- PASS: TestGetTimestampKeyCreateWithFailingStore (0.00s) === RUN TestGetTimestampKeyCreateWithCorruptedStore -time="2024-01-06T16:28:20Z" level=error msg="Failed to unmarshal existing root for GUN gun to retrieve timestamp key ID" +time="2024-01-06T16:37:56Z" 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.02s) PASS -ok github.com/theupdateframework/notary/server/timestamp 0.802s +ok github.com/theupdateframework/notary/server/timestamp 0.367s === RUN TestHealthCheckKMUnhealthy ---- PASS: TestHealthCheckKMUnhealthy (0.01s) +--- PASS: TestHealthCheckKMUnhealthy (0.00s) === RUN TestHealthCheckSignerUnhealthy --- PASS: TestHealthCheckSignerUnhealthy (0.00s) === RUN TestHealthCheckKMTimeout @@ -2910,27 +2945,27 @@ === RUN TestHealthCheckNonexistentService --- PASS: TestHealthCheckNonexistentService (0.00s) === RUN TestGetPrivateKeyAndSignWithExistingKey -time="2024-01-06T16:28:23Z" level=info msg="Sign: Signed message! with KeyID 96f7c78d5c31b50a78d9081e45ee5a834346f86aa75ccaaae9d60f23f4a12ac0" go.version=go1.15.15 +time="2024-01-06T16:37:59Z" level=info msg="Sign: Signed message! with KeyID dbd77330c0785a6d9af7c6206d0e5aa384ee7948000c6c4923eba073ae86479c" go.version=go1.15.15 --- PASS: TestGetPrivateKeyAndSignWithExistingKey (0.02s) === RUN TestCannotSignWithKeyThatDoesntExist -time="2024-01-06T16:28:23Z" level=error msg="Sign: key a5d33f475485bb4d5ea023741c39d7ae3b88f79e94045eeead4bf012d3b79973 not found" go.version=go1.15.15 ---- PASS: TestCannotSignWithKeyThatDoesntExist (0.00s) +time="2024-01-06T16:37:59Z" level=error msg="Sign: key 2080c3191cf3df8741bb2db9eea13c6d45558c8b74894705089ad7ebb1888820 not found" go.version=go1.15.15 +--- PASS: TestCannotSignWithKeyThatDoesntExist (0.01s) === RUN TestCryptoSignerInterfaceBehavior -time="2024-01-06T16:28:23Z" level=error msg="GetKeyInfo: key nonexistent not found" go.version=go1.15.15 -time="2024-01-06T16:28:23Z" level=error msg="GetKeyInfo: key nonexistent not found" go.version=go1.15.15 -time="2024-01-06T16:28:23Z" level=info msg="CreateKey: Created KeyID 7cc9fae6753a6c997e84192ac7de584763d8dc3ca8bf42ea90fbf36bae0ce4a4" go.version=go1.15.15 -time="2024-01-06T16:28:23Z" level=info msg="CreateKey: Created KeyID bc607b3ef359698b4a4349d2fb508495d57ae7f4f8cf34e05acf9d06234d27d9" go.version=go1.15.15 -time="2024-01-06T16:28:23Z" level=error msg="GetKeyInfo: key 7cc9fae6753a6c997e84192ac7de584763d8dc3ca8bf42ea90fbf36bae0ce4a4 not found" go.version=go1.15.15 -time="2024-01-06T16:28:23Z" level=error msg="GetKeyInfo: key bc607b3ef359698b4a4349d2fb508495d57ae7f4f8cf34e05acf9d06234d27d9 not found" go.version=go1.15.15 ---- PASS: TestCryptoSignerInterfaceBehavior (0.03s) +time="2024-01-06T16:37:59Z" level=error msg="GetKeyInfo: key nonexistent not found" go.version=go1.15.15 +time="2024-01-06T16:37:59Z" level=error msg="GetKeyInfo: key nonexistent not found" go.version=go1.15.15 +time="2024-01-06T16:37:59Z" level=info msg="CreateKey: Created KeyID 9b7362f61487b6b74adff59168b222d74bcc4e33d6444bbc155a189f5c129e22" go.version=go1.15.15 +time="2024-01-06T16:37:59Z" level=info msg="CreateKey: Created KeyID 0a43dd8ff6d3a146232e212548ff8e6ed83bf1fc0ce1de4223807d4f7a773cff" go.version=go1.15.15 +time="2024-01-06T16:37:59Z" level=error msg="GetKeyInfo: key 9b7362f61487b6b74adff59168b222d74bcc4e33d6444bbc155a189f5c129e22 not found" go.version=go1.15.15 +time="2024-01-06T16:37:59Z" level=error msg="GetKeyInfo: key 0a43dd8ff6d3a146232e212548ff8e6ed83bf1fc0ce1de4223807d4f7a773cff not found" go.version=go1.15.15 +--- PASS: TestCryptoSignerInterfaceBehavior (0.04s) PASS -ok github.com/theupdateframework/notary/signer 0.094s +ok github.com/theupdateframework/notary/signer 0.114s ? github.com/theupdateframework/notary/signer/api [no test files] ? github.com/theupdateframework/notary/signer/client [no test files] === RUN TestGetSuccessPopulatesCache --- PASS: TestGetSuccessPopulatesCache (0.01s) === RUN TestAddKeyPopulatesCacheIfSuccessful ---- PASS: TestAddKeyPopulatesCacheIfSuccessful (0.01s) +--- PASS: TestAddKeyPopulatesCacheIfSuccessful (0.03s) === RUN TestDeleteKeyRemovesKeyFromCache --- PASS: TestDeleteKeyRemovesKeyFromCache (0.02s) === RUN TestRDBPrivateKeyJSONUnmarshalling @@ -2941,50 +2976,50 @@ `nodb` is not officially supported, running under compatibility mode. --- PASS: TestNewSQLKeyDBStorePropagatesDBError (0.00s) === RUN TestSQLDBHealthCheckMissingTable ---- PASS: TestSQLDBHealthCheckMissingTable (3.62s) +--- PASS: TestSQLDBHealthCheckMissingTable (0.17s) === RUN TestSQLDBHealthCheckNoConnection ---- PASS: TestSQLDBHealthCheckNoConnection (6.33s) +--- PASS: TestSQLDBHealthCheckNoConnection (0.12s) === RUN TestSQLKeyCanOnlyBeAddedOnce (/build/reproducible-path/notary-0.6.1~ds2/_build/src/github.com/theupdateframework/notary/signer/keydbstore/sql_keydbstore.go:98) -[2024-01-06 16:28:45]  UNIQUE constraint failed: private_keys.key_id  ---- PASS: TestSQLKeyCanOnlyBeAddedOnce (0.69s) +[2024-01-06 16:38:05]  UNIQUE constraint failed: private_keys.key_id  +--- PASS: TestSQLKeyCanOnlyBeAddedOnce (0.63s) === RUN TestSQLCreateDelete ---- PASS: TestSQLCreateDelete (0.68s) +--- PASS: TestSQLCreateDelete (0.59s) === RUN TestSQLKeyRotation ---- PASS: TestSQLKeyRotation (0.81s) +--- PASS: TestSQLKeyRotation (1.02s) === RUN TestSQLSigningMarksKeyActive -time="2024-01-06T16:28:47Z" level=error msg="Key 3b2e944b6246fff6b9a21a8a8d3710dfdbf5696abf936b8965283c3b2a26d697 was just used to sign hash successful, db closed, error when trying to mark key as active: sql: database is closed" +time="2024-01-06T16:38:08Z" level=error msg="Key 64961fd09ca44a89d5f901cf484ff392e5ab67a2ba6fde49d1d81de8d4ad9c2e 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.6.1~ds2/_build/src/github.com/theupdateframework/notary/signer/keydbstore/sql_keydbstore.go:197) -[2024-01-06 16:28:47]  sql: database is closed  ---- PASS: TestSQLSigningMarksKeyActive (1.02s) +[2024-01-06 16:38:08]  sql: database is closed  +--- PASS: TestSQLSigningMarksKeyActive (1.34s) === RUN TestSQLCreateKey ---- PASS: TestSQLCreateKey (1.54s) +--- PASS: TestSQLCreateKey (1.24s) === RUN TestSQLUnimplementedInterfaceBehavior ---- PASS: TestSQLUnimplementedInterfaceBehavior (0.62s) +--- PASS: TestSQLUnimplementedInterfaceBehavior (0.41s) PASS -ok github.com/theupdateframework/notary/signer/keydbstore 15.391s +ok github.com/theupdateframework/notary/signer/keydbstore 5.616s === RUN TestSet --- PASS: TestSet (0.00s) === RUN TestSetWithNoParentDirectory ---- PASS: TestSetWithNoParentDirectory (0.00s) +--- PASS: TestSetWithNoParentDirectory (0.01s) === RUN TestSetRemovesExistingFileBeforeWriting --- PASS: TestSetRemovesExistingFileBeforeWriting (0.00s) === RUN TestGetSized --- PASS: TestGetSized (0.00s) === RUN TestGetSizedSet ---- PASS: TestGetSizedSet (0.00s) +--- PASS: TestGetSizedSet (0.01s) === RUN TestRemove --- PASS: TestRemove (0.00s) === RUN TestRemoveAll --- PASS: TestRemoveAll (0.00s) === RUN TestAddFile ---- PASS: TestAddFile (0.00s) +--- PASS: TestAddFile (0.02s) === RUN TestRemoveFile --- PASS: TestRemoveFile (0.00s) === RUN TestListFiles ---- PASS: TestListFiles (0.00s) +--- PASS: TestListFiles (0.01s) === RUN TestGetPath --- PASS: TestGetPath (0.00s) === RUN TestGetPathProtection @@ -2992,15 +3027,15 @@ === RUN TestGetData --- PASS: TestGetData (0.00s) === RUN TestCreateDirectory ---- PASS: TestCreateDirectory (0.00s) +--- PASS: TestCreateDirectory (0.01s) === RUN TestCreatePrivateDirectory ---- PASS: TestCreatePrivateDirectory (0.00s) +--- PASS: TestCreatePrivateDirectory (0.01s) === RUN TestFileStoreConsistency ---- PASS: TestFileStoreConsistency (0.00s) +--- PASS: TestFileStoreConsistency (0.01s) === RUN TestHTTPStoreGetSized ---- PASS: TestHTTPStoreGetSized (0.01s) +--- PASS: TestHTTPStoreGetSized (0.00s) === RUN TestHTTPStoreGetAllMeta ---- PASS: TestHTTPStoreGetAllMeta (0.01s) +--- PASS: TestHTTPStoreGetAllMeta (0.00s) === RUN TestSetSingleAndSetMultiMeta --- PASS: TestSetSingleAndSetMultiMeta (0.01s) === RUN Test404Error @@ -3022,7 +3057,7 @@ === RUN TestHTTPStoreGetKey --- PASS: TestHTTPStoreGetKey (0.00s) === RUN TestHTTPStoreGetRotateKeySizeLimited ---- PASS: TestHTTPStoreGetRotateKeySizeLimited (0.04s) +--- PASS: TestHTTPStoreGetRotateKeySizeLimited (0.02s) === RUN TestHTTPOffline --- PASS: TestHTTPOffline (0.00s) === RUN TestErrServerUnavailable @@ -3041,7 +3076,7 @@ === RUN TestMemoryStoreMetadata --- PASS: TestMemoryStoreMetadata (0.00s) PASS -ok github.com/theupdateframework/notary/storage 0.136s +ok github.com/theupdateframework/notary/storage 0.199s ? github.com/theupdateframework/notary/storage/rethinkdb [no test files] === RUN TestExportKeys --- PASS: TestExportKeys (0.00s) @@ -3052,84 +3087,84 @@ === RUN TestExport2InOneFile --- PASS: TestExport2InOneFile (0.00s) === RUN TestImportKeys ---- PASS: TestImportKeys (0.01s) +--- PASS: TestImportKeys (0.00s) === RUN TestImportNoPath ---- PASS: TestImportNoPath (0.01s) +--- PASS: TestImportNoPath (0.02s) === RUN TestNonRootPathInference ---- PASS: TestNonRootPathInference (0.03s) +--- PASS: TestNonRootPathInference (0.05s) === RUN TestBlockHeaderPrecedenceRoleAndGun ---- PASS: TestBlockHeaderPrecedenceRoleAndGun (0.01s) +--- PASS: TestBlockHeaderPrecedenceRoleAndGun (0.02s) === RUN TestBlockHeaderPrecedenceGunFromPath --- PASS: TestBlockHeaderPrecedenceGunFromPath (0.01s) === RUN TestImportKeys2InOneFile --- PASS: TestImportKeys2InOneFile (0.00s) === RUN TestImportKeys2InOneFileNoPath ---- PASS: TestImportKeys2InOneFileNoPath (0.02s) +--- PASS: TestImportKeys2InOneFileNoPath (0.06s) === RUN TestEncryptedKeyImportFail -time="2024-01-06T16:28:56Z" 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) +time="2024-01-06T16:38:02Z" 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.04s) === RUN TestEncryptedKeyImportSuccess ---- PASS: TestEncryptedKeyImportSuccess (0.02s) +--- PASS: TestEncryptedKeyImportSuccess (0.04s) === RUN TestEncryption ---- PASS: TestEncryption (0.03s) +--- PASS: TestEncryption (0.05s) === RUN TestAddKey ---- PASS: TestAddKey (0.06s) +--- PASS: TestAddKey (0.10s) === RUN TestKeyStoreInternalState --- PASS: TestKeyStoreInternalState (0.04s) === RUN TestGet --- PASS: TestGet (0.04s) === RUN TestGetLegacyKey ---- PASS: TestGetLegacyKey (0.01s) +--- PASS: TestGetLegacyKey (0.00s) === RUN TestListKeys ---- PASS: TestListKeys (0.07s) +--- PASS: TestListKeys (0.08s) === RUN TestAddGetKeyMemStore --- PASS: TestAddGetKeyMemStore (0.01s) === RUN TestAddGetKeyInfoMemStore --- PASS: TestAddGetKeyInfoMemStore (0.04s) === RUN TestGetDecryptedWithTamperedCipherText -time="2024-01-06T16:28:56Z" level=error msg="PEM block is empty" +time="2024-01-06T16:38:02Z" level=error msg="PEM block is empty" --- PASS: TestGetDecryptedWithTamperedCipherText (0.01s) === RUN TestGetDecryptedWithInvalidPassphrase --- PASS: TestGetDecryptedWithInvalidPassphrase (0.06s) === RUN TestGetDecryptedWithConsistentlyInvalidPassphrase ---- PASS: TestGetDecryptedWithConsistentlyInvalidPassphrase (0.10s) +--- PASS: TestGetDecryptedWithConsistentlyInvalidPassphrase (0.09s) === RUN TestRemoveKey ---- PASS: TestRemoveKey (0.15s) +--- PASS: TestRemoveKey (0.11s) === RUN TestKeysAreCached ---- PASS: TestKeysAreCached (0.04s) +--- PASS: TestKeysAreCached (0.03s) PASS -ok github.com/theupdateframework/notary/trustmanager 0.831s +ok github.com/theupdateframework/notary/trustmanager 0.921s === RUN TestRemoteStore -time="2024-01-06T16:28:57Z" level=info msg="listing files from localhost:9888" -time="2024-01-06T16:28:57Z" level=info msg="listing files from localhost:9888" ---- PASS: TestRemoteStore (0.27s) +time="2024-01-06T16:38:06Z" level=info msg="listing files from localhost:9888" +time="2024-01-06T16:38:06Z" level=info msg="listing files from localhost:9888" +--- PASS: TestRemoteStore (0.39s) === RUN TestErrors -time="2024-01-06T16:28:57Z" level=error msg="failed to store: test error" ---- PASS: TestErrors (0.26s) +time="2024-01-06T16:38:06Z" level=error msg="failed to store: test error" +--- PASS: TestErrors (0.35s) === RUN TestNewGRPCStorage --- PASS: TestNewGRPCStorage (0.00s) === RUN TestGRPCStorage --- PASS: TestGRPCStorage (0.00s) PASS -ok github.com/theupdateframework/notary/trustmanager/remoteks 0.567s +ok github.com/theupdateframework/notary/trustmanager/remoteks 0.768s ? github.com/theupdateframework/notary/trustmanager/yubikey [no test files] === RUN TestWildcardMatch --- PASS: TestWildcardMatch (0.00s) === RUN TestValidateRoot -2024/01/06 16:29:04 [INFO] generate received request -2024/01/06 16:29:04 [INFO] received CSR -2024/01/06 16:29:04 [INFO] generating key: ecdsa-256 -2024/01/06 16:29:04 [INFO] encoded CSR -2024/01/06 16:29:04 [INFO] signed certificate with serial number 541424394267647423654087723494055069987538501497 -2024/01/06 16:29:04 [INFO] received CSR -2024/01/06 16:29:04 [INFO] generating key: ecdsa-256 -2024/01/06 16:29:04 [INFO] encoded CSR -2024/01/06 16:29:04 [INFO] signed certificate with serial number 634342383962598688860221455026256312077071780540 -2024/01/06 16:29:04 [INFO] received CSR -2024/01/06 16:29:04 [INFO] generating key: ecdsa-256 -2024/01/06 16:29:04 [INFO] encoded CSR -2024/01/06 16:29:04 [INFO] signed certificate with serial number 418788211222523111932615448446403864430171924896 ---- PASS: TestValidateRoot (0.12s) +2024/01/06 16:38:12 [INFO] generate received request +2024/01/06 16:38:12 [INFO] received CSR +2024/01/06 16:38:12 [INFO] generating key: ecdsa-256 +2024/01/06 16:38:12 [INFO] encoded CSR +2024/01/06 16:38:12 [INFO] signed certificate with serial number 352150395583791468764882610157801302854014587812 +2024/01/06 16:38:12 [INFO] received CSR +2024/01/06 16:38:12 [INFO] generating key: ecdsa-256 +2024/01/06 16:38:12 [INFO] encoded CSR +2024/01/06 16:38:12 [INFO] signed certificate with serial number 221538376128351957375501988299932830089769705876 +2024/01/06 16:38:12 [INFO] received CSR +2024/01/06 16:38:12 [INFO] generating key: ecdsa-256 +2024/01/06 16:38:12 [INFO] encoded CSR +2024/01/06 16:38:12 [INFO] signed certificate with serial number 726613517434686409538771339834234859205763416907 +--- PASS: TestValidateRoot (0.11s) === RUN TestValidateRootWithoutTOFUS --- PASS: TestValidateRootWithoutTOFUS (0.00s) === RUN TestValidateRootWithPinnedCert @@ -3139,67 +3174,67 @@ === RUN TestValidateRootFailuresWithPinnedCert --- PASS: TestValidateRootFailuresWithPinnedCert (0.01s) === RUN TestValidateRootWithPinnedCA ---- PASS: TestValidateRootWithPinnedCA (0.23s) +--- PASS: TestValidateRootWithPinnedCA (0.31s) === RUN TestValidateSuccessfulRootRotation ---- PASS: TestValidateSuccessfulRootRotation (0.24s) +--- PASS: TestValidateSuccessfulRootRotation (0.41s) === RUN TestValidateRootRotationMissingOrigSig ---- PASS: TestValidateRootRotationMissingOrigSig (0.20s) +--- PASS: TestValidateRootRotationMissingOrigSig (0.40s) === RUN TestValidateRootRotationMissingNewSig ---- PASS: TestValidateRootRotationMissingNewSig (0.18s) +--- PASS: TestValidateRootRotationMissingNewSig (0.47s) === RUN TestValidateRootRotationTrustPinning ---- PASS: TestValidateRootRotationTrustPinning (0.20s) +--- PASS: TestValidateRootRotationTrustPinning (0.32s) === RUN TestValidateRootRotationTrustPinningInvalidCA ---- PASS: TestValidateRootRotationTrustPinningInvalidCA (0.15s) +--- PASS: TestValidateRootRotationTrustPinningInvalidCA (0.16s) === RUN TestParsePEMPublicKey -time="2024-01-06T16:29:05Z" level=warning msg="certificate with CN notary is near expiry" +time="2024-01-06T16:38:14Z" level=warning msg="certificate with CN notary is near expiry" --- PASS: TestParsePEMPublicKey (0.02s) === RUN TestCheckingCertExpiry -time="2024-01-06T16:29:05Z" level=warning msg="certificate with CN notary is near expiry" +time="2024-01-06T16:38:14Z" level=warning msg="certificate with CN notary is near expiry" --- PASS: TestCheckingCertExpiry (0.03s) === RUN TestValidateRootWithExpiredIntermediate --- PASS: TestValidateRootWithExpiredIntermediate (0.02s) === RUN TestCheckingWildcardCert ---- PASS: TestCheckingWildcardCert (0.02s) +--- PASS: TestCheckingWildcardCert (0.03s) === RUN TestWildcardMatching --- PASS: TestWildcardMatching (0.00s) PASS -ok github.com/theupdateframework/notary/trustpinning 1.522s +ok github.com/theupdateframework/notary/trustpinning 2.363s === RUN TestInitSnapshotNoTargets ---- PASS: TestInitSnapshotNoTargets (0.00s) +--- PASS: TestInitSnapshotNoTargets (0.01s) === RUN TestInitRepo ---- PASS: TestInitRepo (0.01s) +--- PASS: TestInitRepo (0.05s) === RUN TestUpdateDelegations ---- PASS: TestUpdateDelegations (0.00s) +--- PASS: TestUpdateDelegations (0.02s) === RUN TestPurgeDelegationsKeyFromTop -time="2024-01-06T16:29: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-01-06T16:29: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.00s) +time="2024-01-06T16:38:14Z" 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-01-06T16:38:14Z" 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="2024-01-06T16:29: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) +time="2024-01-06T16:38:14Z" 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.01s) === RUN TestPurgeDelegationsKeyBadWildRole --- PASS: TestPurgeDelegationsKeyBadWildRole (0.00s) === RUN TestUpdateDelegationsParentMissing ---- PASS: TestUpdateDelegationsParentMissing (0.00s) +--- PASS: TestUpdateDelegationsParentMissing (0.01s) === RUN TestUpdateDelegationsMissingParentKey ---- PASS: TestUpdateDelegationsMissingParentKey (0.01s) +--- PASS: TestUpdateDelegationsMissingParentKey (0.00s) === RUN TestUpdateDelegationsInvalidRole ---- PASS: TestUpdateDelegationsInvalidRole (0.00s) +--- PASS: TestUpdateDelegationsInvalidRole (0.01s) === RUN TestUpdateDelegationsRoleThatIsMissingDelegationKey ---- PASS: TestUpdateDelegationsRoleThatIsMissingDelegationKey (0.00s) +--- PASS: TestUpdateDelegationsRoleThatIsMissingDelegationKey (0.01s) === RUN TestUpdateDelegationsNotEnoughKeys -time="2024-01-06T16:29: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" +time="2024-01-06T16:38:14Z" 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) +--- PASS: TestUpdateDelegationsAddKeyToRole (0.01s) === RUN TestDeleteDelegations ---- PASS: TestDeleteDelegations (0.00s) +--- PASS: TestDeleteDelegations (0.01s) === RUN TestDeleteDelegationsRoleNotExistBecauseNoParentMeta --- PASS: TestDeleteDelegationsRoleNotExistBecauseNoParentMeta (0.00s) === RUN TestDeleteDelegationsRoleNotExist ---- PASS: TestDeleteDelegationsRoleNotExist (0.00s) +--- PASS: TestDeleteDelegationsRoleNotExist (0.04s) === RUN TestDeleteDelegationsInvalidRole ---- PASS: TestDeleteDelegationsInvalidRole (0.00s) +--- PASS: TestDeleteDelegationsInvalidRole (0.01s) === RUN TestDeleteDelegationsParentMissing --- PASS: TestDeleteDelegationsParentMissing (0.00s) === RUN TestDeleteDelegationsMissingParentSigningKey @@ -3221,31 +3256,31 @@ === RUN TestAddTargetsRoleDoesntExist --- PASS: TestAddTargetsRoleDoesntExist (0.00s) === RUN TestAddTargetsNoSigningKeys ---- PASS: TestAddTargetsNoSigningKeys (0.00s) +--- PASS: TestAddTargetsNoSigningKeys (0.01s) === RUN TestRemoveExistingAndNonexistingTargets --- PASS: TestRemoveExistingAndNonexistingTargets (0.00s) === RUN TestRemoveTargetsRoleDoesntExist ---- PASS: TestRemoveTargetsRoleDoesntExist (0.00s) +--- PASS: TestRemoveTargetsRoleDoesntExist (0.01s) === RUN TestRemoveTargetsNoSigningKeys ---- PASS: TestRemoveTargetsNoSigningKeys (0.00s) +--- PASS: TestRemoveTargetsNoSigningKeys (0.01s) === RUN TestAddBaseKeysToRoot ---- PASS: TestAddBaseKeysToRoot (0.01s) +--- PASS: TestAddBaseKeysToRoot (0.02s) === RUN TestRemoveBaseKeysFromRoot ---- PASS: TestRemoveBaseKeysFromRoot (0.01s) +--- PASS: TestRemoveBaseKeysFromRoot (0.02s) === RUN TestReplaceBaseKeysInRoot ---- PASS: TestReplaceBaseKeysInRoot (0.02s) +--- PASS: TestReplaceBaseKeysInRoot (0.04s) === RUN TestGetAllRoles ---- PASS: TestGetAllRoles (0.00s) +--- PASS: TestGetAllRoles (0.01s) === RUN TestGetBaseRoles --- PASS: TestGetBaseRoles (0.00s) === RUN TestGetBaseRolesInvalidName ---- PASS: TestGetBaseRolesInvalidName (0.00s) +--- PASS: TestGetBaseRolesInvalidName (0.01s) === RUN TestGetDelegationValidRoles ---- PASS: TestGetDelegationValidRoles (0.00s) +--- PASS: TestGetDelegationValidRoles (0.01s) === RUN TestGetDelegationRolesInvalidName --- PASS: TestGetDelegationRolesInvalidName (0.00s) === RUN TestGetDelegationRolesInvalidPaths ---- PASS: TestGetDelegationRolesInvalidPaths (0.00s) +--- PASS: TestGetDelegationRolesInvalidPaths (0.01s) === RUN TestDelegationRolesParent --- PASS: TestDelegationRolesParent (0.00s) === RUN TestGetBaseRoleEmptyRepo @@ -3255,19 +3290,19 @@ === RUN TestGetDelegationRoleKeyMissing --- PASS: TestGetDelegationRoleKeyMissing (0.00s) === RUN TestSignRootOldKeyCertExists ---- PASS: TestSignRootOldKeyCertExists (0.09s) +--- PASS: TestSignRootOldKeyCertExists (0.17s) === RUN TestSignRootOldKeyCertMissing ---- PASS: TestSignRootOldKeyCertMissing (0.07s) +--- PASS: TestSignRootOldKeyCertMissing (0.16s) === RUN TestRootKeyRotation ---- PASS: TestRootKeyRotation (0.28s) +--- PASS: TestRootKeyRotation (0.50s) === RUN TestBuilderLoadsValidRolesOnly ---- PASS: TestBuilderLoadsValidRolesOnly (0.06s) +--- PASS: TestBuilderLoadsValidRolesOnly (0.13s) === RUN TestBuilderOnlyAcceptsRootFirstWhenLoading ---- PASS: TestBuilderOnlyAcceptsRootFirstWhenLoading (0.01s) +--- PASS: TestBuilderOnlyAcceptsRootFirstWhenLoading (0.02s) === RUN TestBuilderOnlyAcceptsDelegationsAfterParent ---- PASS: TestBuilderOnlyAcceptsDelegationsAfterParent (0.02s) +--- PASS: TestBuilderOnlyAcceptsDelegationsAfterParent (0.05s) === RUN TestMarkingIsValid ---- PASS: TestMarkingIsValid (0.04s) +--- PASS: TestMarkingIsValid (0.03s) === RUN TestBuilderLoadInvalidDelegations --- PASS: TestBuilderLoadInvalidDelegations (0.06s) === RUN TestBuilderLoadInvalidDelegationsOldVersion @@ -3275,21 +3310,21 @@ === RUN TestBuilderAcceptRoleOnce --- PASS: TestBuilderAcceptRoleOnce (0.03s) === RUN TestBuilderStopsAcceptingOrProducingDataOnceDone ---- PASS: TestBuilderStopsAcceptingOrProducingDataOnceDone (0.02s) +--- PASS: TestBuilderStopsAcceptingOrProducingDataOnceDone (0.04s) === RUN TestGenerateSnapshotInvalidOperations ---- PASS: TestGenerateSnapshotInvalidOperations (0.27s) +--- PASS: TestGenerateSnapshotInvalidOperations (0.32s) === RUN TestGenerateTimestampInvalidOperations ---- PASS: TestGenerateTimestampInvalidOperations (0.30s) +--- PASS: TestGenerateTimestampInvalidOperations (0.23s) === RUN TestGetConsistentInfo ---- PASS: TestGetConsistentInfo (0.13s) +--- PASS: TestGetConsistentInfo (0.08s) === RUN TestTimestampPreAndPostChecksumming ---- PASS: TestTimestampPreAndPostChecksumming (0.15s) +--- PASS: TestTimestampPreAndPostChecksumming (0.14s) === RUN TestSnapshotLoadedFirstChecksumsOthers --- PASS: TestSnapshotLoadedFirstChecksumsOthers (0.19s) === RUN TestSnapshotLoadedAfterChecksumsOthersRetroactively ---- PASS: TestSnapshotLoadedAfterChecksumsOthersRetroactively (0.57s) +--- PASS: TestSnapshotLoadedAfterChecksumsOthersRetroactively (0.18s) PASS -ok github.com/theupdateframework/notary/tuf 2.535s +ok github.com/theupdateframework/notary/tuf 2.878s === RUN TestMergeStrSlicesExclusive --- PASS: TestMergeStrSlicesExclusive (0.00s) === RUN TestMergeStrSlicesOverlap @@ -3337,11 +3372,11 @@ === RUN TestRootFromSignedCopiesSignatures --- PASS: TestRootFromSignedCopiesSignatures (0.00s) === RUN TestRootFromSignedValidatesRoleData ---- PASS: TestRootFromSignedValidatesRoleData (0.01s) +--- PASS: TestRootFromSignedValidatesRoleData (0.03s) === RUN TestRootFromSignedValidatesRoleType ---- PASS: TestRootFromSignedValidatesRoleType (0.00s) +--- PASS: TestRootFromSignedValidatesRoleType (0.01s) === RUN TestRootFromSignedValidatesVersion ---- PASS: TestRootFromSignedValidatesVersion (0.00s) +--- PASS: TestRootFromSignedValidatesVersion (0.01s) === RUN TestSnapshotToSignedMarshalsSignedPortionWithCanonicalJSON --- PASS: TestSnapshotToSignedMarshalsSignedPortionWithCanonicalJSON (0.00s) === RUN TestSnapshotToSignCopiesSignatures @@ -3357,7 +3392,7 @@ === RUN TestSnapshotFromSignedCopiesSignatures --- PASS: TestSnapshotFromSignedCopiesSignatures (0.00s) === RUN TestSnapshotFromSignedValidatesMeta ---- PASS: TestSnapshotFromSignedValidatesMeta (0.00s) +--- PASS: TestSnapshotFromSignedValidatesMeta (0.01s) === RUN TestSnapshotFromSignedValidatesRoleType --- PASS: TestSnapshotFromSignedValidatesRoleType (0.00s) === RUN TestSnapshotFromSignedValidatesVersion @@ -3379,9 +3414,9 @@ === RUN TestTargetsFromSignedCopiesSignatures --- PASS: TestTargetsFromSignedCopiesSignatures (0.00s) === RUN TestTargetsFromSignedValidatesDelegations ---- PASS: TestTargetsFromSignedValidatesDelegations (0.00s) +--- PASS: TestTargetsFromSignedValidatesDelegations (0.01s) === RUN TestTargetsFromSignedValidatesRoleType ---- PASS: TestTargetsFromSignedValidatesRoleType (0.00s) +--- PASS: TestTargetsFromSignedValidatesRoleType (0.01s) === RUN TestTargetsFromSignedValidatesRoleName --- PASS: TestTargetsFromSignedValidatesRoleName (0.00s) === RUN TestTargetsFromSignedValidatesVersion @@ -3423,7 +3458,7 @@ === RUN TestFileMetaEquals --- PASS: TestFileMetaEquals (0.00s) PASS -ok github.com/theupdateframework/notary/tuf/data 0.091s +ok github.com/theupdateframework/notary/tuf/data 0.130s === RUN TestListKeys --- PASS: TestListKeys (0.00s) === RUN TestGetKeys @@ -3449,19 +3484,19 @@ === RUN TestErrInsufficientSignaturesMessaging --- PASS: TestErrInsufficientSignaturesMessaging (0.00s) === RUN TestRSAPSSVerifier ---- PASS: TestRSAPSSVerifier (0.09s) +--- PASS: TestRSAPSSVerifier (0.03s) === RUN TestRSAPSSx509Verifier --- PASS: TestRSAPSSx509Verifier (0.01s) === RUN TestRSAPSSVerifierWithInvalidKeyType --- PASS: TestRSAPSSVerifierWithInvalidKeyType (0.00s) === RUN TestRSAPSSVerifierWithInvalidKeyLength ---- PASS: TestRSAPSSVerifierWithInvalidKeyLength (0.25s) +--- PASS: TestRSAPSSVerifierWithInvalidKeyLength (0.24s) === RUN TestRSAPSSVerifierWithInvalidKey --- PASS: TestRSAPSSVerifierWithInvalidKey (0.00s) === RUN TestRSAPSSVerifierWithInvalidSignature ---- PASS: TestRSAPSSVerifierWithInvalidSignature (0.03s) +--- PASS: TestRSAPSSVerifierWithInvalidSignature (0.04s) === RUN TestRSAPKCS1v15Verifier ---- PASS: TestRSAPKCS1v15Verifier (0.04s) +--- PASS: TestRSAPKCS1v15Verifier (0.07s) === RUN TestRSAPKCS1v15x509Verifier --- PASS: TestRSAPKCS1v15x509Verifier (0.01s) === RUN TestRSAPKCS1v15VerifierWithInvalidKeyType @@ -3469,14 +3504,14 @@ === RUN TestRSAPKCS1v15VerifierWithInvalidKey --- PASS: TestRSAPKCS1v15VerifierWithInvalidKey (0.00s) === RUN TestRSAPKCS1v15VerifierWithInvalidSignature -time="2024-01-06T16:29:10Z" level=error msg="Failed verification: crypto/rsa: verification error" ---- PASS: TestRSAPKCS1v15VerifierWithInvalidSignature (0.05s) +time="2024-01-06T16:38:17Z" level=error msg="Failed verification: crypto/rsa: verification error" +--- PASS: TestRSAPKCS1v15VerifierWithInvalidSignature (0.03s) === RUN TestECDSAVerifier --- PASS: TestECDSAVerifier (0.01s) === RUN TestECDSAVerifierOtherCurves ---- PASS: TestECDSAVerifierOtherCurves (3.08s) +--- PASS: TestECDSAVerifierOtherCurves (3.80s) === RUN TestECDSAx509Verifier ---- PASS: TestECDSAx509Verifier (0.00s) +--- PASS: TestECDSAx509Verifier (0.01s) === RUN TestECDSAVerifierWithInvalidKeyType --- PASS: TestECDSAVerifierWithInvalidKeyType (0.00s) === RUN TestECDSAVerifierWithInvalidKey @@ -3490,7 +3525,7 @@ === RUN TestPyCryptoRSAPSSCompat --- PASS: TestPyCryptoRSAPSSCompat (0.00s) === RUN TestPyNaCled25519Compat ---- PASS: TestPyNaCled25519Compat (0.00s) +--- PASS: TestPyNaCled25519Compat (0.01s) === RUN TestRoleNoKeys --- PASS: TestRoleNoKeys (0.00s) === RUN TestNotEnoughSigs @@ -3498,84 +3533,84 @@ === RUN TestNoSigs --- PASS: TestNoSigs (0.00s) === RUN TestExactlyEnoughSigs ---- PASS: TestExactlyEnoughSigs (0.00s) +--- PASS: TestExactlyEnoughSigs (0.01s) === RUN TestIsValidNotExported ---- PASS: TestIsValidNotExported (0.00s) +--- PASS: TestIsValidNotExported (0.01s) === RUN TestMoreThanEnoughSigs ---- PASS: TestMoreThanEnoughSigs (0.00s) +--- PASS: TestMoreThanEnoughSigs (0.01s) === RUN TestValidSigWithIncorrectKeyID --- PASS: TestValidSigWithIncorrectKeyID (0.00s) === RUN TestDuplicateSigs ---- PASS: TestDuplicateSigs (0.00s) +--- PASS: TestDuplicateSigs (0.01s) === RUN TestUnknownKeyBelowThreshold ---- PASS: TestUnknownKeyBelowThreshold (0.00s) +--- PASS: TestUnknownKeyBelowThreshold (0.01s) === RUN TestVerifyVersion --- PASS: TestVerifyVersion (0.00s) === RUN TestVerifyExpiry -time="2024-01-06T16:29:13Z" level=error msg="Metadata for root expired" +time="2024-01-06T16:38:21Z" level=error msg="Metadata for root expired" --- PASS: TestVerifyExpiry (0.00s) === RUN TestVerifyPublicKeyMatchesPrivateKeyHappyCase ---- PASS: TestVerifyPublicKeyMatchesPrivateKeyHappyCase (0.00s) +--- PASS: TestVerifyPublicKeyMatchesPrivateKeyHappyCase (0.01s) === RUN TestVerifyPublicKeyMatchesPrivateKeyFails ---- PASS: TestVerifyPublicKeyMatchesPrivateKeyFails (0.00s) +--- PASS: TestVerifyPublicKeyMatchesPrivateKeyFails (0.01s) PASS -ok github.com/theupdateframework/notary/tuf/signed 3.679s +ok github.com/theupdateframework/notary/tuf/signed 4.430s === RUN TestNewSwizzler ---- PASS: TestNewSwizzler (0.06s) +--- PASS: TestNewSwizzler (0.19s) === RUN TestSwizzlerSetInvalidJSON ---- PASS: TestSwizzlerSetInvalidJSON (0.06s) +--- PASS: TestSwizzlerSetInvalidJSON (0.11s) === RUN TestSwizzlerAddExtraSpace ---- PASS: TestSwizzlerAddExtraSpace (0.07s) +--- PASS: TestSwizzlerAddExtraSpace (0.08s) === RUN TestSwizzlerSetInvalidSigned ---- PASS: TestSwizzlerSetInvalidSigned (0.07s) +--- PASS: TestSwizzlerSetInvalidSigned (0.11s) === RUN TestSwizzlerSetInvalidSignedMeta ---- PASS: TestSwizzlerSetInvalidSignedMeta (0.06s) +--- PASS: TestSwizzlerSetInvalidSignedMeta (0.07s) === RUN TestSwizzlerSetInvalidMetadataType ---- PASS: TestSwizzlerSetInvalidMetadataType (0.06s) +--- PASS: TestSwizzlerSetInvalidMetadataType (0.08s) === RUN TestSwizzlerInvalidateMetadataSignatures ---- PASS: TestSwizzlerInvalidateMetadataSignatures (0.06s) +--- PASS: TestSwizzlerInvalidateMetadataSignatures (0.07s) === RUN TestSwizzlerRemoveMetadata --- PASS: TestSwizzlerRemoveMetadata (0.07s) === RUN TestSwizzlerSignMetadataWithInvalidKey ---- PASS: TestSwizzlerSignMetadataWithInvalidKey (0.07s) +--- PASS: TestSwizzlerSignMetadataWithInvalidKey (0.08s) === RUN TestSwizzlerOffsetMetadataVersion ---- PASS: TestSwizzlerOffsetMetadataVersion (0.06s) +--- PASS: TestSwizzlerOffsetMetadataVersion (0.14s) === RUN TestSwizzlerExpireMetadata ---- PASS: TestSwizzlerExpireMetadata (0.08s) +--- PASS: TestSwizzlerExpireMetadata (0.14s) === RUN TestSwizzlerSetThresholdBaseRole ---- PASS: TestSwizzlerSetThresholdBaseRole (0.06s) +--- PASS: TestSwizzlerSetThresholdBaseRole (0.13s) === RUN TestSwizzlerSetThresholdDelegatedRole ---- PASS: TestSwizzlerSetThresholdDelegatedRole (0.06s) +--- PASS: TestSwizzlerSetThresholdDelegatedRole (0.13s) === RUN TestSwizzlerChangeRootKey ---- PASS: TestSwizzlerChangeRootKey (0.07s) +--- PASS: TestSwizzlerChangeRootKey (0.15s) === RUN TestSwizzlerUpdateSnapshotHashesSpecifiedRoles ---- PASS: TestSwizzlerUpdateSnapshotHashesSpecifiedRoles (0.06s) +--- PASS: TestSwizzlerUpdateSnapshotHashesSpecifiedRoles (0.11s) === RUN TestSwizzlerUpdateSnapshotHashesNoSpecifiedRoles ---- PASS: TestSwizzlerUpdateSnapshotHashesNoSpecifiedRoles (0.06s) +--- PASS: TestSwizzlerUpdateSnapshotHashesNoSpecifiedRoles (0.13s) === RUN TestSwizzlerUpdateTimestamp ---- PASS: TestSwizzlerUpdateTimestamp (0.06s) +--- PASS: TestSwizzlerUpdateTimestamp (0.12s) === RUN TestMissingSigningKey ---- PASS: TestMissingSigningKey (0.06s) +--- PASS: TestMissingSigningKey (0.12s) === RUN TestSwizzlerMutateRoot ---- PASS: TestSwizzlerMutateRoot (0.06s) +--- PASS: TestSwizzlerMutateRoot (0.13s) === RUN TestSwizzlerMutateTimestamp ---- PASS: TestSwizzlerMutateTimestamp (0.06s) +--- PASS: TestSwizzlerMutateTimestamp (0.12s) === RUN TestSwizzlerMutateSnapshot ---- PASS: TestSwizzlerMutateSnapshot (0.06s) +--- PASS: TestSwizzlerMutateSnapshot (0.12s) === RUN TestSwizzlerMutateTargets ---- PASS: TestSwizzlerMutateTargets (0.06s) +--- PASS: TestSwizzlerMutateTargets (0.08s) === RUN TestSwizzlerRotateKeyBaseRole ---- PASS: TestSwizzlerRotateKeyBaseRole (0.06s) +--- PASS: TestSwizzlerRotateKeyBaseRole (0.09s) === RUN TestSwizzlerRotateKeyDelegationRole ---- PASS: TestSwizzlerRotateKeyDelegationRole (0.06s) +--- PASS: TestSwizzlerRotateKeyDelegationRole (0.11s) PASS -ok github.com/theupdateframework/notary/tuf/testutils 1.558s +ok github.com/theupdateframework/notary/tuf/testutils 2.717s ? github.com/theupdateframework/notary/tuf/testutils/interfaces [no test files] ? github.com/theupdateframework/notary/tuf/testutils/keys [no test files] === RUN TestConvertTUFKeyToPKCS8 ---- PASS: TestConvertTUFKeyToPKCS8 (0.07s) +--- PASS: TestConvertTUFKeyToPKCS8 (0.14s) === RUN TestParsePKCS8ToTufKey ---- PASS: TestParsePKCS8ToTufKey (1.38s) +--- PASS: TestParsePKCS8ToTufKey (1.99s) === RUN TestPEMtoPEM --- PASS: TestPEMtoPEM (0.00s) === RUN TestRoleListLen @@ -3611,15 +3646,15 @@ === RUN TestFindRoleIndexNotFound --- PASS: TestFindRoleIndexNotFound (0.00s) === RUN TestCertsToKeys ---- PASS: TestCertsToKeys (0.34s) +--- PASS: TestCertsToKeys (0.00s) === RUN TestNewCertificate --- PASS: TestNewCertificate (0.00s) === RUN TestKeyOperations ---- PASS: TestKeyOperations (0.08s) +--- PASS: TestKeyOperations (0.13s) === RUN TestRSAX509PublickeyID --- PASS: TestRSAX509PublickeyID (0.00s) === RUN TestECDSAX509PublickeyID ---- PASS: TestECDSAX509PublickeyID (0.00s) +--- PASS: TestECDSAX509PublickeyID (0.01s) === RUN TestExtractPrivateKeyAttributes --- PASS: TestExtractPrivateKeyAttributes (0.00s) === RUN TestParsePEMPrivateKeyLegacy @@ -3631,9 +3666,9 @@ === RUN TestValidateCertificateWithInvalidExpiry --- PASS: TestValidateCertificateWithInvalidExpiry (0.00s) === RUN TestValidateCertificateWithShortKey ---- PASS: TestValidateCertificateWithShortKey (0.25s) +--- PASS: TestValidateCertificateWithShortKey (0.42s) PASS -ok github.com/theupdateframework/notary/tuf/utils 2.155s +ok github.com/theupdateframework/notary/tuf/utils 2.745s === RUN TestNewSerializableErrorNonValidationError --- PASS: TestNewSerializableErrorNonValidationError (0.00s) === RUN TestNewSerializableErrorValidationError @@ -3649,7 +3684,7 @@ === RUN TestUnmarshalInvalidJSON --- PASS: TestUnmarshalInvalidJSON (0.00s) PASS -ok github.com/theupdateframework/notary/tuf/validation 0.062s +ok github.com/theupdateframework/notary/tuf/validation 0.030s === RUN TestSetSignalTrap --- PASS: TestSetSignalTrap (0.00s) === RUN TestLogLevelSignalHandle @@ -3723,7 +3758,7 @@ === RUN TestAdjustLogLevel --- PASS: TestAdjustLogLevel (0.00s) === RUN TestRootHandlerFactory ---- PASS: TestRootHandlerFactory (0.01s) +--- PASS: TestRootHandlerFactory (0.00s) === RUN TestRootHandlerError --- PASS: TestRootHandlerError (0.00s) === RUN TestWrapWithCacheHeaderNilCacheControlConfig @@ -3749,7 +3784,7 @@ === RUN TestDoAuthWildcardImage --- PASS: TestDoAuthWildcardImage (0.00s) PASS -ok github.com/theupdateframework/notary/utils 0.089s +ok github.com/theupdateframework/notary/utils 0.042s ? github.com/theupdateframework/notary/version [no test files] create-stamp debian/debhelper-build-stamp fakeroot debian/rules binary @@ -3784,9 +3819,9 @@ dh_fixperms -O--builddirectory=/build/reproducible-path/notary-0.6.1\~ds2/_build -O--buildsystem=golang dh_missing -O--builddirectory=/build/reproducible-path/notary-0.6.1\~ds2/_build -O--buildsystem=golang dh_strip -O--builddirectory=/build/reproducible-path/notary-0.6.1\~ds2/_build -O--buildsystem=golang +dh_strip: warning: Could not find the BuildID in debian/notary/usr/bin/notary-signer dh_strip: warning: Could not find the BuildID in debian/notary/usr/bin/escrow dh_strip: warning: Could not find the BuildID in debian/notary/usr/bin/notary-server -dh_strip: warning: Could not find the BuildID in debian/notary/usr/bin/notary-signer dh_makeshlibs -O--builddirectory=/build/reproducible-path/notary-0.6.1\~ds2/_build -O--buildsystem=golang dh_shlibdeps -O--builddirectory=/build/reproducible-path/notary-0.6.1\~ds2/_build -O--buildsystem=golang dh_installdeb -O--builddirectory=/build/reproducible-path/notary-0.6.1\~ds2/_build -O--buildsystem=golang @@ -3794,9 +3829,9 @@ dh_gencontrol -O--builddirectory=/build/reproducible-path/notary-0.6.1\~ds2/_build -O--buildsystem=golang dh_md5sums -O--builddirectory=/build/reproducible-path/notary-0.6.1\~ds2/_build -O--buildsystem=golang dh_builddeb -O--builddirectory=/build/reproducible-path/notary-0.6.1\~ds2/_build -O--buildsystem=golang +dpkg-deb: building package 'notary-dbgsym' in '../notary-dbgsym_0.6.1~ds2-6_armhf.deb'. dpkg-deb: building package 'notary' in '../notary_0.6.1~ds2-6_armhf.deb'. dpkg-deb: building package 'golang-github-docker-notary-dev' in '../golang-github-docker-notary-dev_0.6.1~ds2-6_all.deb'. -dpkg-deb: building package 'notary-dbgsym' in '../notary-dbgsym_0.6.1~ds2-6_armhf.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../notary_0.6.1~ds2-6_armhf.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -3804,12 +3839,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/10952/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/10952/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/15942 and its subdirectories -I: Current time: Sat Jan 6 04:31:34 -12 2024 -I: pbuilder-time-stamp: 1704558694 +I: removing directory /srv/workspace/pbuilder/10952 and its subdirectories +I: Current time: Sun Jan 7 06:41:25 +14 2024 +I: pbuilder-time-stamp: 1704559285