Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/n/notary/notary_0.6.1~ds2-6_all.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/notary-0.6.1~ds2-6cridfjef/notary_0.6.1~ds2-6_all.buildinfo Get source package info: notary=0.6.1~ds2-6 Source URL: http://snapshot.notset.fr/mr/package/notary/0.6.1~ds2-6/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.69-11.1 automake=1:1.16.2-1 autopoint=0.19.8.1-10 autotools-dev=20180224.1 base-files=11 base-passwd=3.5.47 bash=5.0-6 binutils=2.34-6 binutils-common=2.34-6 binutils-x86-64-linux-gnu=2.34-6 bsdmainutils=11.1.2+b1 bsdutils=1:2.34-0.1 build-essential=12.8 bzip2=1.0.8-2 coreutils=8.30-3+b1 cpp=4:9.2.1-3.1 cpp-9=9.3.0-10 dash=0.5.10.2-7 debconf=1.5.73 debhelper=13 debianutils=4.9.1 dh-autoreconf=19 dh-golang=1.48 dh-strip-nondeterminism=1.8.0-1 diffutils=1:3.7-3 dpkg=1.19.7 dpkg-dev=1.19.7 dwz=0.13-5 fdisk=2.34-0.1 file=1:5.38-4 findutils=4.7.0-1 g++=4:9.2.1-3.1 g++-9=9.3.0-10 gcc=4:9.2.1-3.1 gcc-10-base=10-20200411-1 gcc-9=9.3.0-10 gcc-9-base=9.3.0-10 gettext=0.19.8.1-10 gettext-base=0.19.8.1-10 golang-1.14-go=1.14.2-1 golang-1.14-src=1.14.2-1 golang-any=2:1.14~1 golang-dbus-dev=5.0.3-1 golang-etcd-server-dev=3.2.26+dfsg-6 golang-github-agtorre-gocolorize-dev=1.0.0-3 golang-github-akavel-rsrc-dev=1:0.8.0-1 golang-github-alecthomas-units-dev=0.0~git20151022.0.2efee85-4 golang-github-apex-log-dev=1.1.1-2 golang-github-armon-consul-api-dev=0.0~git20150107.0.dcfedd5-4 golang-github-aws-aws-sdk-go-dev=1.27.4+dfsg-1 golang-github-beorn7-perks-dev=1.0.1-1 golang-github-bgentry-speakeasy-dev=0.1.0-1 golang-github-bitly-go-simplejson-dev=0.5.0-5 golang-github-bmizerany-assert-dev=0.0~git20120716-4 golang-github-bradfitz-gomemcache-dev=0.0~git20141109-3 golang-github-bugsnag-bugsnag-go-dev=1.0.5+dfsg-3 golang-github-bugsnag-panicwrap-dev=1.2.0-1 golang-github-burntsushi-toml-dev=0.3.1-1 golang-github-cenkalti-backoff-dev=3.1.1-1 golang-github-cespare-xxhash-dev=2.1.1-1 golang-github-checkpoint-restore-go-criu-dev=3.11-2 golang-github-chzyer-readline-dev=1.4.39.g2972be2-1 golang-github-cloudflare-cfssl-dev=1.2.0+git20160825.89.7fb22c8-3 golang-github-cloudflare-go-metrics-dev=0.0~git20151117.0.6a9aea3-3 golang-github-cloudflare-redoctober-dev=0.0~git20161017.0.78e9720-4 golang-github-cockroachdb-cmux-dev=0.0~git20170110.0.30d10be-1 golang-github-coreos-bbolt-dev=1.3.3-1 golang-github-coreos-go-semver-dev=0.2.0-3 golang-github-coreos-go-systemd-dev=22.0.0-1 golang-github-coreos-pkg-dev=4-2 golang-github-cpuguy83-go-md2man-dev=1.0.10+ds-1 golang-github-cyphar-filepath-securejoin-dev=0.2.2-1 golang-github-daaku-go.zipexe-dev=1.0.1-1 golang-github-davecgh-go-spew-dev=1.1.1-2 golang-github-denisenkom-go-mssqldb-dev=0.0~git20170717.0.8fccfc8-5 golang-github-dghubble-sling-dev=1.3.0-1 golang-github-dgrijalva-jwt-go-dev=3.2.0-1 golang-github-dgrijalva-jwt-go-v3-dev=3.2.0-2 golang-github-docker-distribution-dev=2.7.1+ds2-7 golang-github-docker-go-connections-dev=0.4.0-1 golang-github-docker-go-dev=0.0~git20160303.0.d30aec9-3 golang-github-docker-go-metrics-dev=0.0.1-1 golang-github-docker-go-units-dev=0.4.0-3 golang-github-docker-libtrust-dev=0.0~git20150526.0.9cbd2a1-3 golang-github-dustin-go-humanize-dev=1.0.0-1 golang-github-dvsekhvalnov-jose2go-dev=1.3-1 golang-github-erikstmartin-go-testdb-dev=0.0~git20160219.0.8d10e4a-1 golang-github-fatih-color-dev=1.7.0-1 golang-github-fsnotify-fsnotify-dev=1.4.7-2 golang-github-garyburd-redigo-dev=0.0~git20150901.0.d8dbe4d-2 golang-github-geertjohan-go.incremental-dev=1.0.0-1 golang-github-geertjohan-go.rice-dev=1.0.0+git20191102.d954009-1 golang-github-ghodss-yaml-dev=1.0.0-1 golang-github-go-kit-kit-dev=0.6.0-2 golang-github-go-logfmt-logfmt-dev=0.3.0-1 golang-github-go-sql-driver-mysql-dev=1.4.1-1 golang-github-go-stack-stack-dev=1.8.0-1 golang-github-gogo-protobuf-dev=1.2.1+git20190611.dadb6258-1 golang-github-golang-groupcache-dev=0.0~git20171101.84a468c-1 golang-github-golang-mock-dev=1.3.1-2 golang-github-google-btree-dev=1.0.0-1 golang-github-google-certificate-transparency-dev=0.0~git20160709.0.0f6e3d1~ds1-3 golang-github-google-go-cmp-dev=0.4.0-1 golang-github-google-go-querystring-dev=1.0.0-1 golang-github-google-gofuzz-dev=0.0~git20170612.24818f7-1 golang-github-google-martian-dev=2.1.0+git20181219.d0b5ad3-3 golang-github-google-pprof-dev=0.0~git20190723.34ac40c-1 golang-github-googleapis-gax-go-dev=2.0.5-1 golang-github-gorilla-handlers-dev=1.4.2-1 golang-github-gorilla-mux-dev=1.7.3-1 golang-github-grpc-ecosystem-go-grpc-prometheus-dev=1.2.0+git20191002.6af20e3-2 golang-github-grpc-ecosystem-grpc-gateway-dev=1.6.4-2 golang-github-hailocab-go-hostpool-dev=0.0~git20160125.0.e80d13c-1 golang-github-hashicorp-golang-lru-dev=0.5.4-1 golang-github-hashicorp-hcl-dev=1.0.0-1 golang-github-ianlancetaylor-demangle-dev=0.0~git20181102.5e5cf60-1 golang-github-jacobsa-oglematchers-dev=0.0~git20150320-3 golang-github-jinzhu-gorm-dev=1.9.1-1 golang-github-jinzhu-inflection-dev=1.0.0-1 golang-github-jinzhu-now-dev=0.0~git20151001.0.ce80572-2 golang-github-jmespath-go-jmespath-dev=0.3.0-1 golang-github-jmhodges-clock-dev=1.0-3 golang-github-jmoiron-sqlx-dev=1.1+git20160206.61.398dd58-2 golang-github-jonboulle-clockwork-dev=0.1.0-4 golang-github-jpillora-backoff-dev=1.0.0-1 golang-github-json-iterator-go-dev=1.1.4-1 golang-github-jtolds-gls-dev=4.20.0-2 golang-github-juju-ansiterm-dev=0.0~git20161107.35c59b9-3 golang-github-juju-loggo-dev=0.0~git20170605.8232ab8-4 golang-github-juju-ratelimit-dev=1.0.1-1 golang-github-julienschmidt-httprouter-dev=1.1-5 golang-github-kisielk-sqlstruct-dev=0.0~git20150917.0.0b86a3e-2 golang-github-kisom-goutils-dev=0.0~git20161101.0.858c9cb-2 golang-github-kr-fs-dev=0.0~git20131111.0.2788f0d-2 golang-github-kr-pretty-dev=0.2.0-1 golang-github-kr-pty-dev=1.1.6-1 golang-github-kr-text-dev=0.1.0-2 golang-github-lib-pq-dev=1.3.0-1 golang-github-lunixbochs-vtclean-dev=0.0~git20170504.d14193d-3 golang-github-magiconair-properties-dev=1.8.1+really1.8.1-1 golang-github-mattn-go-colorable-dev=0.0.9-3 golang-github-mattn-go-isatty-dev=0.0.11-1 golang-github-mattn-go-runewidth-dev=0.0.9-1 golang-github-mattn-go-sqlite3-dev=1.6.0~ds1-2 golang-github-miekg-pkcs11-dev=0.0~git20160602.0.8f7ddbc-2 golang-github-mitchellh-go-homedir-dev=1.1.0-1 golang-github-mitchellh-mapstructure-dev=1.1.2-1 golang-github-modern-go-concurrent-dev=1.0.3-1 golang-github-modern-go-reflect2-dev=1.0.0-1 golang-github-mreiferson-go-httpclient-dev=0.0~git20160630.0.31f0106-2 golang-github-mwitkow-go-conntrack-dev=0.0~git20190716.2f06839-1 golang-github-ncw-swift-dev=1.0.49-1 golang-github-nkovacs-streamquote-dev=1.0.0-2 golang-github-olekukonko-tablewriter-dev=0.0.4-1 golang-github-opencontainers-go-digest-dev=1.0.0~rc1-1 golang-github-opencontainers-image-spec-dev=1.0.1-4 golang-github-opencontainers-runc-dev=1.0.0~rc10+dfsg1-1 golang-github-opencontainers-selinux-dev=1.3.1-1 golang-github-opencontainers-specs-dev=1.0.1+git20190408.a1b50f6-1 golang-github-opentracing-opentracing-go-dev=1.0.2-1 golang-github-pelletier-go-toml-dev=1.6.0-1 golang-github-pkg-errors-dev=0.9.1-1 golang-github-pkg-sftp-dev=1.8.3-1 golang-github-pmezard-go-difflib-dev=1.0.0-2 golang-github-pmylund-go-cache-dev=0.0~git20150304-2 golang-github-prometheus-client-golang-dev=1.2.1-3 golang-github-prometheus-client-model-dev=0.0.2+git20171117.99fa1f4-1 golang-github-prometheus-common-dev=0.7.0-1 golang-github-rcrowley-go-metrics-dev=0.0~git20180125.8732c61-2 golang-github-revel-revel-dev=0.12.0+dfsg-4 golang-github-robfig-config-dev=0.0~git20141208-4 golang-github-robfig-pathtree-dev=0.0~git20140121-3 golang-github-rogpeppe-fastuuid-dev=0.0~git20150106.0.6724a57-2 golang-github-russross-blackfriday-dev=1.5.2+git20200218.41c5fcc-1 golang-github-rwcarlsen-goexif-dev=0.0~git20190401.9e8deec-1 golang-github-seccomp-libseccomp-golang-dev=0.9.1-1 golang-github-shopify-logrus-bugsnag-dev=0.0~git20171204.577dee2-1 golang-github-sirupsen-logrus-dev=1.5.0-1 golang-github-smartystreets-assertions-dev=1.10.1+ds-1 golang-github-smartystreets-goconvey-dev=1.6.4+dfsg-1 golang-github-spf13-afero-dev=1.2.2+really1.2.2-1 golang-github-spf13-cast-dev=1.3.1-1 golang-github-spf13-cobra-dev=0.0.5-1 golang-github-spf13-jwalterweatherman-dev=1.1.0+really1.1.0-1 golang-github-spf13-pflag-dev=1.0.5-1 golang-github-spf13-viper-dev=1.6.1-1 golang-github-stathat-go-dev=0.0~git20130314.0.01d012b-2 golang-github-stretchr-objx-dev=0.1.1+git20180825.ef50b0d-1 golang-github-stretchr-testify-dev=1.4.0+ds-1 golang-github-subosito-gotenv-dev=1.2.0+git20190917.de67a66-2 golang-github-ugorji-go-codec-dev=1.1.7-1 golang-github-urfave-cli-dev=1.22.2-4 golang-github-valyala-bytebufferpool-dev=1.0.0-1 golang-github-valyala-fasttemplate-dev=1.1.0-1 golang-github-vishvananda-netlink-dev=1.1.0-1 golang-github-vishvananda-netns-dev=0.0~git20170707.0.86bef33-1 golang-github-xeipuuv-gojsonpointer-dev=0.0~git20190905.02993c4-1 golang-github-xeipuuv-gojsonreference-dev=0.0~git20180127.bd5ef7b-1 golang-github-xeipuuv-gojsonschema-dev=1.2.0-1 golang-github-xiang90-probing-dev=0.0.2-1 golang-github-xordataexchange-crypt-dev=0.0.2+git20170626.21.b2862e3-2 golang-github-yuin-goldmark-dev=1.1.27-1 golang-glog-dev=0.0~git20160126.23def4e-3 golang-go=2:1.14~1 golang-go-flags-dev=1.4.0-2 golang-go.opencensus-dev=0.22.0-1 golang-go.uber-atomic-dev=1.4.0-1 golang-go.uber-multierr-dev=1.1.0-1 golang-go.uber-zap-dev=1.14.1-1 golang-go4-dev=0.0~git20190313.94abd69-1 golang-gocapability-dev=0.0+git20180916.d983527-1 golang-golang-x-crypto-dev=1:0.0~git20200221.2aa609c-1 golang-golang-x-mod-dev=0.2.0-2 golang-golang-x-net-dev=1:0.0+git20200226.491c5fc+dfsg-1 golang-golang-x-oauth2-dev=0.0~git20190604.0f29369-2 golang-golang-x-oauth2-google-dev=0.0~git20190604.0f29369-2 golang-golang-x-sync-dev=0.0~git20190911.cd5d95a-1 golang-golang-x-sys-dev=0.0~git20200219.cb0a6d8-1 golang-golang-x-text-dev=0.3.2-4 golang-golang-x-time-dev=0.0~git20161028.0.f51c127-2 golang-golang-x-tools-dev=1:0.0~git20200410.79a7a31+ds-1 golang-golang-x-xerrors-dev=0.0~git20191204.9bdfabe-1 golang-google-api-dev=0.21.0-1 golang-google-cloud-compute-metadata-dev=0.56.0-1 golang-google-cloud-dev=0.56.0-1 golang-google-genproto-dev=0.0~git20200413.b5235f6-1 golang-google-grpc-dev=1.27.1-1 golang-gopkg-alecthomas-kingpin.v2-dev=2.2.6-1 golang-gopkg-check.v1-dev=0.0+git20180628.788fd78-1 golang-gopkg-cheggaaa-pb.v1-dev=1.0.25-1 golang-gopkg-fatih-pool.v2-dev=0.0~git20171010.010e0b7-3 golang-gopkg-gorethink-gorethink.v3-dev=3.0.5-1 golang-gopkg-ini.v1-dev=1.52.0-2 golang-gopkg-yaml.v2-dev=2.2.8-2 golang-goprotobuf-dev=1.3.4-2 golang-procfs-dev=0.0.10-2 golang-protobuf-extensions-dev=1.0.1-1 golang-rsc-binaryregexp-dev=0.2.0-2 golang-src=2:1.14~1 golang-yaml.v2-dev=2.2.2-1 grep=3.4-1 groff-base=1.22.4-4 gzip=1.10-2 hostname=3.23 init-system-helpers=1.57 intltool-debian=0.35.0+20060710.5 libacl1=2.2.53-6 libarchive-zip-perl=1.68-1 libasan5=9.3.0-10 libatomic1=10-20200411-1 libattr1=1:2.4.48-5 libaudit-common=1:2.8.5-3 libaudit1=1:2.8.5-3+b1 libbinutils=2.34-6 libblkid1=2.34-0.1 libbsd0=0.10.0-1 libbz2-1.0=1.0.8-2 libc-bin=2.30-4 libc-dev-bin=2.30-4 libc6=2.30-4 libc6-dev=2.30-4 libcap-ng0=0.7.9-2.1+b2 libcc1-0=10-20200411-1 libcroco3=0.6.13-1 libcrypt-dev=1:4.4.16-1 libcrypt1=1:4.4.16-1 libctf-nobfd0=2.34-6 libctf0=2.34-6 libdb5.3=5.3.28+dfsg1-0.6 libdebconfclient0=0.251 libdebhelper-perl=13 libdpkg-perl=1.19.7 libelf1=0.176-1.1 libfdisk1=2.34-0.1 libffi7=3.3-4 libfile-stripnondeterminism-perl=1.8.0-1 libgcc-9-dev=9.3.0-10 libgcc-s1=10-20200411-1 libgcrypt20=1.8.5-5 libgdbm-compat4=1.18.1-5 libgdbm6=1.18.1-5 libglib2.0-0=2.64.2-1 libgmp10=2:6.2.0+dfsg-4 libgomp1=10-20200411-1 libgpg-error0=1.37-1 libicu63=63.2-3 libisl22=0.22.1-1 libitm1=10-20200411-1 liblsan0=10-20200411-1 libltdl-dev=2.4.6-14 libltdl7=2.4.6-14 liblz4-1=1.9.2-2 liblzma5=5.2.4-1+b1 libmagic-mgc=1:5.38-4 libmagic1=1:5.38-4 libmount1=2.34-0.1 libmpc3=1.1.0-1 libmpfr6=4.0.2-1 libncursesw6=6.2-1 libnspr4=2:4.25-1 libnspr4-dev=2:4.25-1 libnss3=2:3.51-1 libnss3-dev=2:3.51-1 libpam-modules=1.3.1-5 libpam-modules-bin=1.3.1-5 libpam-runtime=1.3.1-5 libpam0g=1.3.1-5 libpcre2-8-0=10.34-7 libpcre3=2:8.39-12+b1 libperl5.30=5.30.0-9 libpipeline1=1.5.2-2 libprotobuf-dev=3.11.4-4 libprotobuf-lite22=3.11.4-4 libprotobuf22=3.11.4-4 libprotoc22=3.11.4-4 libquadmath0=10-20200411-1 libseccomp-dev=2.4.3-1+b1 libseccomp2=2.4.3-1+b1 libselinux1=3.0-1+b3 libsigsegv2=2.12-2 libsmartcols1=2.34-0.1 libsqlite3-0=3.31.1-5 libsqlite3-dev=3.31.1-5 libssl1.1=1.1.1f-1 libstdc++-9-dev=9.3.0-10 libstdc++6=10-20200411-1 libsub-override-perl=0.09-2 libsystemd-dev=245.4-4 libsystemd0=245.4-4 libtinfo6=6.2-1 libtool=2.4.6-14 libtsan0=10-20200411-1 libubsan1=10-20200411-1 libuchardet0=0.0.6-3 libudev1=245.4-4 libunistring2=0.9.10-2 libuuid1=2.34-0.1 libxml2=2.9.10+dfsg-5 linux-libc-dev=5.5.13-2 login=1:4.8.1-1 lsb-base=11.1.0 m4=1.4.18-4 make=4.2.1-1.2 man-db=2.9.1-1 mawk=1.3.4.20200120-2 mime-support=3.64 ncurses-base=6.2-1 ncurses-bin=6.2-1 openssl=1.1.1f-1 patch=2.7.6-6 perl=5.30.0-9 perl-base=5.30.0-9 perl-modules-5.30=5.30.0-9 pkg-config=0.29-6 po-debconf=1.0.21 protobuf-compiler=3.11.4-4 sed=4.7-1 sensible-utils=0.0.12+nmu1 sysvinit-utils=2.96-3 tar=1.30+dfsg-7 util-linux=2.34-0.1 xz-utils=5.2.4-1+b1 zlib1g=1:1.2.11.dfsg-2 zlib1g-dev=1:1.2.11.dfsg-2 --variant=apt --aptopt=Acquire::Check-Valid-Until "false" --aptopt=Acquire::http::Dl-Limit "1000"; --aptopt=Acquire::https::Dl-Limit "1000"; --aptopt=Acquire::Retries "5"; --aptopt=APT::Get::allow-downgrades "true"; --keyring=/usr/share/keyrings/ --essential-hook=chroot "$1" sh -c "apt-get --yes install fakeroot util-linux" --essential-hook=copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ --essential-hook=chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20200526T084721Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20200417T040322Z/ unstable main' >> /etc/apt/sources.list && apt-get update" --customize-hook=chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash --customize-hook=chroot "$1" env sh -c "apt-get source --only-source -d notary=0.6.1~ds2-6 && mkdir -p /build/notary-3mDz9C && dpkg-source --no-check -x /*.dsc /build/notary-3mDz9C/notary-0.6.1-ds2 && chown -R builduser:builduser /build/notary-3mDz9C" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/notary-3mDz9C/notary-0.6.1-ds2 && env DEB_BUILD_OPTIONS="parallel=4" LANG="C.UTF-8" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1587173733" dpkg-buildpackage -uc -a amd64 --build=all" --customize-hook=sync-out /build/notary-3mDz9C /tmp/notary-0.6.1~ds2-6cridfjef bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20200417T040322Z unstable main I: automatically chosen mode: root I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: tar I: using /tmp/mmdebstrap.ts18c3OSE6 as tempdir I: running apt-get update... I: downloading packages with apt... I: extracting archives... I: installing essential packages... I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "apt-get --yes install fakeroot util-linux"' exec /tmp/mmdebstrap.ts18c3OSE6 Reading package lists... Building dependency tree... util-linux is already the newest version (2.34-0.1). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 132 kB of archives. After this operation, 393 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20200417T040322Z unstable/main amd64 libfakeroot amd64 1.24-1 [45.7 kB] Get:2 http://snapshot.notset.fr/archive/debian/20200417T040322Z unstable/main amd64 fakeroot amd64 1.24-1 [85.9 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 132 kB in 0s (700 kB/s) Selecting previously unselected package libfakeroot:amd64. (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 ... 4504 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.24-1_amd64.deb ... Unpacking libfakeroot:amd64 (1.24-1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.24-1_amd64.deb ... Unpacking fakeroot (1.24-1) ... Setting up libfakeroot:amd64 (1.24-1) ... Setting up fakeroot (1.24-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.30-4) ... I: running special hook: copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20200526T084721Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20200417T040322Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.ts18c3OSE6 Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Get:2 http://snapshot.notset.fr/archive/debian/20200526T084721Z unstable InRelease [146 kB] Hit:3 http://snapshot.notset.fr/archive/debian/20200417T040322Z unstable InRelease Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Get:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources [11.4 MB] Get:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages [11.1 MB] Ign:6 http://snapshot.notset.fr/archive/debian/20200526T084721Z unstable/main amd64 Packages Ign:6 http://snapshot.notset.fr/archive/debian/20200526T084721Z unstable/main amd64 Packages Ign:6 http://snapshot.notset.fr/archive/debian/20200526T084721Z unstable/main amd64 Packages Get:6 http://snapshot.notset.fr/archive/debian/20200526T084721Z unstable/main amd64 Packages [11.2 MB] Fetched 33.9 MB in 29s (1156 kB/s) Reading package lists... I: installing remaining packages inside the chroot... I: running --customize-hook in shell: sh -c 'chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash' exec /tmp/mmdebstrap.ts18c3OSE6 I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d notary=0.6.1~ds2-6 && mkdir -p /build/notary-3mDz9C && dpkg-source --no-check -x /*.dsc /build/notary-3mDz9C/notary-0.6.1-ds2 && chown -R builduser:builduser /build/notary-3mDz9C"' exec /tmp/mmdebstrap.ts18c3OSE6 Reading package lists... NOTICE: 'notary' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/go-team/packages/notary.git Please use: git clone https://salsa.debian.org/go-team/packages/notary.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 1306 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main notary 0.6.1~ds2-6 (dsc) [3130 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main notary 0.6.1~ds2-6 (tar) [1292 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main notary 0.6.1~ds2-6 (diff) [11.1 kB] Fetched 1306 kB in 1s (1098 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'notary_0.6.1~ds2-6.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting notary in /build/notary-3mDz9C/notary-0.6.1-ds2 dpkg-source: info: unpacking notary_0.6.1~ds2.orig.tar.xz dpkg-source: info: unpacking notary_0.6.1~ds2-6.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 006963f1ded582c2cc5f5eb4d48dc6089ce3229b.patch dpkg-source: info: applying ed25519.patch dpkg-source: info: applying test--nontest.patch dpkg-source: info: applying 0001-Call-flag.Parse-in-testing.patch dpkg-source: info: applying fix-make-test-for-go-1.13.patch dpkg-source: info: applying remove-use-of-distributions-old-wrapped-context.patch I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/notary-3mDz9C/notary-0.6.1-ds2 && env DEB_BUILD_OPTIONS="parallel=4" LANG="C.UTF-8" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1587173733" dpkg-buildpackage -uc -a amd64 --build=all"' exec /tmp/mmdebstrap.ts18c3OSE6 dpkg-buildpackage: info: source package notary dpkg-buildpackage: info: source version 0.6.1~ds2-6 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Dmitry Smirnov dpkg-source --before-build . fakeroot debian/rules clean dh clean --builddirectory=/build/notary-3mDz9C/notary-0.6.1-ds2/_build \ --buildsystem=golang \ --with=golang dh_auto_clean -O--builddirectory=/build/notary-3mDz9C/notary-0.6.1-ds2/_build -O--buildsystem=golang dh_autoreconf_clean -O--builddirectory=/build/notary-3mDz9C/notary-0.6.1-ds2/_build -O--buildsystem=golang dh_clean -O--builddirectory=/build/notary-3mDz9C/notary-0.6.1-ds2/_build -O--buildsystem=golang debian/rules build-indep dh build-indep --builddirectory=/build/notary-3mDz9C/notary-0.6.1-ds2/_build \ --buildsystem=golang \ --with=golang dh_update_autotools_config -i -O--builddirectory=/build/notary-3mDz9C/notary-0.6.1-ds2/_build -O--buildsystem=golang dh_autoreconf -i -O--builddirectory=/build/notary-3mDz9C/notary-0.6.1-ds2/_build -O--buildsystem=golang debian/rules override_dh_auto_configure make[1]: Entering directory '/build/notary-3mDz9C/notary-0.6.1-ds2' # Note(zhsj): some certs are expired and cause test failures. # but there's no need to regenerate certs which need cfssljson tool. # And I don't want to add another Build-Depends. 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 Getting CA Private Key Signature ok subject=C = US, ST = CA, L = San Francisco, O = Docker, CN = notary-server Getting CA Private Key Signature ok subject=C = US, ST = CA, L = San Francisco, O = Docker, CN = notary-signer Getting CA Private Key Signature ok subject=C = US, ST = CA, L = San Francisco, O = Docker, CN = notary-escrow Getting CA Private Key Signature ok subject=C = US, ST = CA, L = San Francisco, O = Docker, CN = secure.example.com Getting CA Private Key Signature ok subject=O = Docker, CN = docker.com/notary Getting Private key Signature ok subject=O = secure.example.com, CN = secure.example.com Getting Private key dh_auto_configure make[1]: Leaving directory '/build/notary-3mDz9C/notary-0.6.1-ds2' debian/rules override_dh_auto_build make[1]: Entering directory '/build/notary-3mDz9C/notary-0.6.1-ds2' dh_auto_build -- -tags "pkcs11" 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 runtime/internal/sys internal/race internal/cpu runtime/internal/atomic sync/atomic runtime/internal/math math/bits unicode/utf8 internal/bytealg unicode internal/testlog math encoding unicode/utf16 crypto/internal/subtle crypto/subtle runtime vendor/golang.org/x/crypto/cryptobyte/asn1 internal/nettrace runtime/cgo container/list vendor/golang.org/x/crypto/internal/subtle google.golang.org/grpc/serviceconfig github.com/theupdateframework/notary/version github.com/lib/pq/oid internal/reflectlite sync internal/singleflight google.golang.org/grpc/internal/buffer math/rand google.golang.org/grpc/internal/grpcsync errors sort io internal/oserror strconv syscall vendor/golang.org/x/net/dns/dnsmessage hash bytes crypto reflect strings bufio crypto/internal/randutil crypto/hmac internal/syscall/unix time internal/syscall/execenv path regexp/syntax golang.org/x/crypto/pbkdf2 hash/crc32 crypto/rc4 vendor/golang.org/x/crypto/hkdf vendor/golang.org/x/text/transform internal/poll context regexp encoding/binary internal/fmtsort github.com/hashicorp/hcl/hcl/strconv os text/tabwriter golang.org/x/text/transform crypto/md5 encoding/base64 golang.org/x/sys/unix crypto/cipher crypto/sha512 github.com/theupdateframework/notary fmt crypto/aes crypto/sha256 crypto/des crypto/ed25519/internal/edwards25519 crypto/sha1 encoding/json github.com/docker/go/canonical/json log math/big encoding/hex encoding/pem path/filepath github.com/sirupsen/logrus io/ioutil net net/url github.com/theupdateframework/notary/tuf/validation mime mime/quotedprintable compress/flate crypto/rand crypto/elliptic github.com/docker/distribution/uuid encoding/asn1 crypto/rsa crypto/dsa crypto/ed25519 compress/gzip crypto/ecdsa crypto/x509/pkix vendor/golang.org/x/crypto/cryptobyte golang.org/x/crypto/ed25519 vendor/golang.org/x/crypto/chacha20 vendor/golang.org/x/crypto/poly1305 vendor/golang.org/x/sys/cpu vendor/golang.org/x/crypto/curve25519 vendor/golang.org/x/crypto/chacha20poly1305 vendor/golang.org/x/text/unicode/bidi vendor/golang.org/x/text/unicode/norm vendor/golang.org/x/net/http2/hpack vendor/golang.org/x/text/secure/bidirule net/http/internal github.com/miekg/pkcs11 flag encoding/csv vendor/golang.org/x/net/idna github.com/fsnotify/fsnotify github.com/hashicorp/hcl/hcl/token github.com/hashicorp/hcl/hcl/ast github.com/hashicorp/hcl/hcl/scanner github.com/hashicorp/hcl/json/token github.com/hashicorp/hcl/hcl/parser github.com/hashicorp/hcl/json/scanner github.com/hashicorp/hcl/hcl/printer github.com/hashicorp/hcl/json/parser github.com/pelletier/go-toml github.com/hashicorp/hcl crypto/x509 net/textproto mime/multipart github.com/theupdateframework/notary/tuf/data crypto/tls vendor/golang.org/x/net/http/httpguts vendor/golang.org/x/net/http/httpproxy github.com/mitchellh/mapstructure github.com/theupdateframework/notary/client/changelist github.com/theupdateframework/notary/tuf/utils github.com/spf13/afero/mem golang.org/x/text/unicode/norm html text/template/parse net/http/httptrace github.com/spf13/jwalterweatherman net/http github.com/spf13/pflag text/template html/template github.com/subosito/gotenv gopkg.in/ini.v1 github.com/spf13/cast gopkg.in/yaml.v2 github.com/golang/protobuf/proto github.com/theupdateframework/notary/storage github.com/magiconair/properties github.com/theupdateframework/notary/trustmanager github.com/spf13/afero github.com/theupdateframework/notary/cryptoservice github.com/theupdateframework/notary/tuf/signed github.com/golang/protobuf/ptypes/empty golang.org/x/net/context golang.org/x/net/internal/timeseries google.golang.org/grpc/backoff google.golang.org/grpc/grpclog github.com/theupdateframework/notary/trustmanager/yubikey github.com/theupdateframework/notary/trustpinning golang.org/x/net/trace github.com/spf13/viper github.com/theupdateframework/notary/tuf google.golang.org/grpc/connectivity google.golang.org/grpc/credentials/internal google.golang.org/grpc/internal google.golang.org/grpc/credentials google.golang.org/grpc/metadata google.golang.org/grpc/attributes google.golang.org/grpc/resolver google.golang.org/grpc/internal/grpcrand google.golang.org/grpc/codes google.golang.org/grpc/encoding google.golang.org/grpc/balancer github.com/theupdateframework/notary/client google.golang.org/grpc/internal/backoff google.golang.org/grpc/encoding/proto google.golang.org/grpc/internal/balancerload github.com/golang/protobuf/ptypes/any google.golang.org/grpc/balancer/base github.com/golang/protobuf/ptypes/duration github.com/golang/protobuf/ptypes/timestamp google.golang.org/genproto/googleapis/rpc/status google.golang.org/grpc/balancer/roundrobin google.golang.org/grpc/internal/channelz github.com/golang/protobuf/ptypes google.golang.org/grpc/binarylog/grpc_binarylog_v1 google.golang.org/grpc/status google.golang.org/grpc/internal/envconfig google.golang.org/grpc/internal/resolver/passthrough google.golang.org/grpc/internal/binarylog google.golang.org/grpc/internal/resolver/dns 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 google.golang.org/grpc/stats google.golang.org/grpc/tap google.golang.org/grpc/naming golang.org/x/text/secure/bidirule net/http/httputil github.com/bugsnag/bugsnag-go/errors golang.org/x/net/idna os/exec os/signal github.com/gorilla/mux golang.org/x/net/http/httpguts github.com/docker/distribution/registry/api/errcode github.com/bugsnag/panicwrap golang.org/x/net/http2 github.com/docker/distribution/registry/auth github.com/bugsnag/bugsnag-go github.com/docker/distribution/context github.com/pkg/errors github.com/docker/go-connections/tlsconfig github.com/Shopify/logrus-bugsnag database/sql/driver github.com/opencontainers/go-digest github.com/opencontainers/image-spec/specs-go github.com/docker/distribution/registry/client/auth/challenge database/sql github.com/docker/distribution/digestset github.com/opencontainers/image-spec/specs-go/v1 github.com/docker/distribution/reference github.com/docker/distribution/registry/client/transport github.com/docker/distribution github.com/docker/distribution/registry/api/v2 expvar github.com/go-sql-driver/mysql github.com/beorn7/perks/quantile github.com/cespare/xxhash github.com/prometheus/client_model/go github.com/matttproud/golang_protobuf_extensions/pbutil github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg google.golang.org/grpc/internal/transport github.com/prometheus/client_golang/prometheus/internal github.com/prometheus/common/model github.com/prometheus/procfs/internal/fs github.com/prometheus/procfs/internal/util github.com/prometheus/procfs github.com/theupdateframework/notary/utils github.com/prometheus/common/expfmt runtime/debug github.com/spf13/cobra google.golang.org/grpc golang.org/x/crypto/ssh/terminal github.com/prometheus/client_golang/prometheus github.com/theupdateframework/notary/passphrase github.com/docker/distribution/health golang.org/x/crypto/blowfish encoding/base32 golang.org/x/crypto/bcrypt github.com/docker/distribution/registry/auth/htpasswd github.com/docker/libtrust github.com/lib/pq/scram os/user github.com/docker/distribution/registry/auth/token github.com/prometheus/client_golang/prometheus/promhttp github.com/theupdateframework/notary/trustmanager/remoteks hash/fnv github.com/theupdateframework/notary/cmd/escrow github.com/theupdateframework/notary/vendor/github.com/prometheus/client_golang/prometheus 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 go/token github.com/docker/distribution/registry/storage/cache/memory 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 gopkg.in/fatih/pool.v2 gopkg.in/gorethink/gorethink.v3/encoding gopkg.in/gorethink/gorethink.v3/ql2 gopkg.in/gorethink/gorethink.v3/types github.com/theupdateframework/notary/proto google.golang.org/grpc/health/grpc_health_v1 gopkg.in/dancannon/gorethink.v3 runtime/pprof github.com/theupdateframework/notary/signer/client runtime/trace github.com/theupdateframework/notary/signer net/http/pprof github.com/theupdateframework/notary/signer/api 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/kdf github.com/dvsekhvalnov/jose2go/padding google.golang.org/grpc/health github.com/dvsekhvalnov/jose2go github.com/davecgh/go-spew/spew github.com/pmezard/go-difflib/difflib net/http/httptest github.com/theupdateframework/notary/tuf/testutils/keys github.com/theupdateframework/notary/storage/rethinkdb github.com/stretchr/testify/assert testing github.com/theupdateframework/notary/server/storage github.com/theupdateframework/notary/signer/keydbstore github.com/stretchr/testify/require github.com/theupdateframework/notary/server/snapshot github.com/theupdateframework/notary/server/timestamp github.com/theupdateframework/notary/cmd/notary-signer github.com/theupdateframework/notary/server/handlers github.com/theupdateframework/notary/tuf/testutils github.com/theupdateframework/notary/server github.com/theupdateframework/notary/tuf/testutils/interfaces github.com/theupdateframework/notary/cmd/notary-server make[1]: Leaving directory '/build/notary-3mDz9C/notary-0.6.1-ds2' dh_auto_test -i -O--builddirectory=/build/notary-3mDz9C/notary-0.6.1-ds2/_build -O--buildsystem=golang 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.41s) === RUN Test0Dot3Migration --- PASS: Test0Dot3Migration (0.40s) === RUN Test0Dot1RepoFormat time="2021-10-09T16:20:01Z" level=warning msg="Error while downloading remote metadata, using cached timestamp - this might not be the latest version available remotely" --- PASS: Test0Dot1RepoFormat (2.09s) === RUN Test0Dot3RepoFormat time="2021-10-09T16:20:03Z" level=warning msg="Error while downloading remote metadata, using cached timestamp - this might not be the latest version available remotely" --- PASS: Test0Dot3RepoFormat (2.79s) === RUN TestDownloading0Dot1RepoFormat --- PASS: TestDownloading0Dot1RepoFormat (0.11s) === RUN TestDownloading0Dot3RepoFormat --- PASS: TestDownloading0Dot3RepoFormat (0.11s) === RUN TestInitRepositoryManagedRolesIncludingRoot --- PASS: TestInitRepositoryManagedRolesIncludingRoot (0.09s) === RUN TestInitRepositoryManagedRolesInvalidRole --- PASS: TestInitRepositoryManagedRolesInvalidRole (0.01s) === RUN TestInitRepositoryManagedRolesIncludingTargets --- PASS: TestInitRepositoryManagedRolesIncludingTargets (0.30s) === RUN TestInitRepositoryManagedRolesIncludingTimestamp --- PASS: TestInitRepositoryManagedRolesIncludingTimestamp (0.22s) === RUN TestInitRepositoryWithCerts --- PASS: TestInitRepositoryWithCerts (0.38s) === RUN TestMatchKeyIDsWithPublicKeys --- PASS: TestMatchKeyIDsWithPublicKeys (0.12s) === RUN TestInitRepositoryNeedsRemoteTimestampKey --- PASS: TestInitRepositoryNeedsRemoteTimestampKey (0.28s) === RUN TestInitRepositoryNeedsRemoteSnapshotKey --- PASS: TestInitRepositoryNeedsRemoteSnapshotKey (0.11s) === RUN TestInitRepoServerOnlyManagesTimestampKey --- PASS: TestInitRepoServerOnlyManagesTimestampKey (1.00s) === RUN TestInitRepoServerManagesTimestampAndSnapshotKeys --- PASS: TestInitRepoServerManagesTimestampAndSnapshotKeys (1.20s) === RUN TestInitRepoAttemptsExceeded --- PASS: TestInitRepoAttemptsExceeded (1.29s) === RUN TestInitRepoPasswordInvalid --- PASS: TestInitRepoPasswordInvalid (0.10s) === RUN TestAddTargetToTargetRoleByDefault --- PASS: TestAddTargetToTargetRoleByDefault (0.51s) === RUN TestAddTargetToSpecifiedValidRoles --- PASS: TestAddTargetToSpecifiedValidRoles (0.57s) === RUN TestAddTargetToSpecifiedInvalidRoles --- PASS: TestAddTargetToSpecifiedInvalidRoles (0.31s) === RUN TestAddTargetWithInvalidTarget --- PASS: TestAddTargetWithInvalidTarget (0.40s) === RUN TestAddTargetErrorWritingChanges --- PASS: TestAddTargetErrorWritingChanges (0.21s) === RUN TestRemoveTargetToTargetRoleByDefault --- PASS: TestRemoveTargetToTargetRoleByDefault (0.40s) === RUN TestRemoveTargetFromSpecifiedValidRoles --- PASS: TestRemoveTargetFromSpecifiedValidRoles (0.69s) === RUN TestRemoveTargetToSpecifiedInvalidRoles --- PASS: TestRemoveTargetToSpecifiedInvalidRoles (0.60s) === RUN TestRemoveTargetErrorWritingChanges --- PASS: TestRemoveTargetErrorWritingChanges (0.29s) === RUN TestListTarget --- PASS: TestListTarget (4.31s) === RUN TestListTargetRestrictsDelegationPaths --- PASS: TestListTargetRestrictsDelegationPaths (0.69s) === RUN TestValidateRootKey --- PASS: TestValidateRootKey (0.41s) === RUN TestGetChangelist --- PASS: TestGetChangelist (0.60s) === RUN TestPublishBareRepo --- PASS: TestPublishBareRepo (4.19s) === RUN TestPublishUninitializedRepo time="2021-10-09T16:20:25Z" level=info msg="No TUF data found locally or remotely - initializing repository docker.com/notary for the first time" --- PASS: TestPublishUninitializedRepo (0.40s) === RUN TestPublishClientHasSnapshotKey --- PASS: TestPublishClientHasSnapshotKey (4.48s) === RUN TestPublishAfterInitServerHasSnapshotKey --- PASS: TestPublishAfterInitServerHasSnapshotKey (4.23s) === RUN TestPublishAfterPullServerHasSnapshotKey --- PASS: TestPublishAfterPullServerHasSnapshotKey (1.39s) === RUN TestPublishNoOneHasSnapshotKey --- PASS: TestPublishNoOneHasSnapshotKey (0.80s) === RUN TestPublishSnapshotCorrupt --- PASS: TestPublishSnapshotCorrupt (2.09s) === RUN TestPublishTargetsCorrupt --- PASS: TestPublishTargetsCorrupt (1.20s) === RUN TestPublishRootCorrupt time="2021-10-09T16:20:39Z" level=error msg="Could not publish Repository since we could not update: invalid character 'h' in literal true (expecting 'r')" time="2021-10-09T16:20:40Z" level=error msg="Could not publish Repository since we could not update: invalid character 'h' in literal true (expecting 'r')" --- PASS: TestPublishRootCorrupt (0.63s) === RUN TestPublishSnapshotLocalKeysCreatedFirst --- PASS: TestPublishSnapshotLocalKeysCreatedFirst (0.08s) === RUN TestPublishDelegations --- PASS: TestPublishDelegations (1.19s) === RUN TestPublishDelegationsX509 --- PASS: TestPublishDelegationsX509 (1.01s) === RUN TestPublishTargetsDelegationScopeFailIfNoKeys time="2021-10-09T16:20:42Z" level=error msg="couldn't add target to targets/a/b: tuf: invalid role targets/a/b. delegation does not exist" time="2021-10-09T16:20:43Z" level=error msg="couldn't add target to targets/a/b: tuf: invalid role targets/a/b. delegation does not exist" --- PASS: TestPublishTargetsDelegationScopeFailIfNoKeys (0.82s) === RUN TestPublishTargetsDelegationSuccessLocallyHasRoles --- PASS: TestPublishTargetsDelegationSuccessLocallyHasRoles (1.11s) === RUN TestPublishTargetsDelegationNoTargetsKeyNeeded --- PASS: TestPublishTargetsDelegationNoTargetsKeyNeeded (0.98s) === RUN TestPublishTargetsDelegationSuccessNeedsToDownloadRoles --- PASS: TestPublishTargetsDelegationSuccessNeedsToDownloadRoles (0.90s) === RUN TestPublishTargetsDelegationFromTwoRepos --- PASS: TestPublishTargetsDelegationFromTwoRepos (0.90s) === RUN TestPublishRemoveDelegationKeyFromDelegationRole time="2021-10-09T16:20:47Z" level=warning msg="Error getting targets/a: valid signatures did not meet threshold for targets/a" time="2021-10-09T16:20:47Z" 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: 60f1f25a3ff6427e18a00beafa2d7c6d450a6da0ae527ebdab230a477e94faf2" --- PASS: TestPublishRemoveDelegationKeyFromDelegationRole (0.60s) === RUN TestPublishRemoveDelegation time="2021-10-09T16:20:48Z" 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="2021-10-09T16:20:48Z" 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="2021-10-09T16:20:48Z" level=warning msg="Error getting targets/a: valid signatures did not meet threshold for targets/a" time="2021-10-09T16:20:48Z" 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.59s) === RUN TestPublishSucceedsDespiteDelegationCorrupt --- PASS: TestPublishSucceedsDespiteDelegationCorrupt (0.62s) === RUN TestRotateKeyInvalidRole --- PASS: TestRotateKeyInvalidRole (0.30s) === RUN TestRemoteRotationError --- PASS: TestRemoteRotationError (0.17s) === RUN TestRemoteRotationEndpointError --- PASS: TestRemoteRotationEndpointError (0.12s) === RUN TestRemoteRotationNoRootKey --- PASS: TestRemoteRotationNoRootKey (0.31s) === RUN TestRemoteRotationNoInit time="2021-10-09T16:20:50Z" level=info msg="No TUF data found locally or remotely - initializing repository docker.com/notary for the first time" --- PASS: TestRemoteRotationNoInit (0.32s) === RUN TestRotateBeforePublishFromRemoteKeyToLocalKey --- PASS: TestRotateBeforePublishFromRemoteKeyToLocalKey (1.38s) === RUN TestRotateKeyAfterPublishNoServerManagementChange --- PASS: TestRotateKeyAfterPublishNoServerManagementChange (2.83s) === RUN TestRotateKeyAfterPublishServerManagementChange --- PASS: TestRotateKeyAfterPublishServerManagementChange (3.60s) === RUN TestRotateRootKey --- PASS: TestRotateRootKey (1.18s) === RUN TestRotateRootMultiple --- PASS: TestRotateRootMultiple (1.60s) === RUN TestRotateRootKeyProvided --- PASS: TestRotateRootKeyProvided (0.91s) === RUN TestRotateRootKeyLegacySupport --- PASS: TestRotateRootKeyLegacySupport (1.78s) === RUN TestRemoteServerUnavailableNoLocalCache time="2021-10-09T16:21:03Z" 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.11s) === RUN TestAddDelegationChangefileApplicable --- PASS: TestAddDelegationChangefileApplicable (0.10s) === RUN TestAddDelegationErrorWritingChanges --- PASS: TestAddDelegationErrorWritingChanges (0.11s) === RUN TestRemoveDelegationChangefileValid --- PASS: TestRemoveDelegationChangefileValid (0.10s) === RUN TestRemoveDelegationChangefileApplicable time="2021-10-09T16:21:04Z" 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="2021-10-09T16:21:04Z" 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.19s) === RUN TestClearAllPathsDelegationChangefileApplicable --- PASS: TestClearAllPathsDelegationChangefileApplicable (0.11s) === RUN TestFullAddDelegationChangefileApplicable --- PASS: TestFullAddDelegationChangefileApplicable (0.19s) === RUN TestFullRemoveDelegationChangefileApplicable --- PASS: TestFullRemoveDelegationChangefileApplicable (0.20s) === RUN TestRemoveDelegationErrorWritingChanges --- PASS: TestRemoveDelegationErrorWritingChanges (0.18s) === RUN TestBootstrapClientBadURL --- PASS: TestBootstrapClientBadURL (0.02s) === RUN TestClientInvalidURL --- PASS: TestClientInvalidURL (0.00s) === RUN TestPublishTargetsDelegationCanUseUserKeyWithArbitraryRole --- PASS: TestPublishTargetsDelegationCanUseUserKeyWithArbitraryRole (2.20s) === RUN TestDeleteRepo --- PASS: TestDeleteRepo (0.41s) === RUN TestDeleteRemoteRepo --- PASS: TestDeleteRemoteRepo (0.69s) === RUN TestListRoles --- PASS: TestListRoles (1.38s) === RUN TestGetAllTargetInfo --- PASS: TestGetAllTargetInfo (0.91s) === RUN TestUpdateSucceedsEvenIfCannotWriteNewRepo time="2021-10-09T16:21:11Z" level=error msg="could not save root to cache: Non-writable" --- PASS: TestUpdateSucceedsEvenIfCannotWriteNewRepo (0.91s) === RUN TestUpdateSucceedsEvenIfCannotWriteExistingRepo --- PASS: TestUpdateSucceedsEvenIfCannotWriteExistingRepo (3.49s) === RUN TestUpdateInOfflineMode time="2021-10-09T16:21:15Z" level=warning msg="Error while downloading remote metadata, using cached timestamp - this might not be the latest version available remotely" time="2021-10-09T16:21:15Z" level=warning msg="Error while downloading remote metadata, using cached timestamp - this might not be the latest version available remotely" --- PASS: TestUpdateInOfflineMode (0.51s) === RUN TestUpdateReplacesCorruptOrMissingMetadata time="2021-10-09T16:21:17Z" level=error msg="Metadata for root expired" time="2021-10-09T16:21:18Z" level=error msg="Metadata for root expired" --- PASS: TestUpdateReplacesCorruptOrMissingMetadata (4.98s) === RUN TestUpdateFailsIfServerRootKeyChangedWithoutMultiSign time="2021-10-09T16:21:20Z" level=error msg="Metadata for root expired" time="2021-10-09T16:21:20Z" level=error msg="Metadata for root expired" --- PASS: TestUpdateFailsIfServerRootKeyChangedWithoutMultiSign (0.40s) === RUN TestUpdateRemoteRootNotExistNoLocalCache --- PASS: TestUpdateRemoteRootNotExistNoLocalCache (0.12s) === RUN TestUpdateRemoteRootNotExistCanUseLocalCache --- PASS: TestUpdateRemoteRootNotExistCanUseLocalCache (0.38s) === RUN TestUpdateRemoteRootNotExistCannotUseLocalCache --- PASS: TestUpdateRemoteRootNotExistCannotUseLocalCache (0.41s) === RUN TestUpdateRemoteRoot50XNoLocalCache --- PASS: TestUpdateRemoteRoot50XNoLocalCache (0.10s) === RUN TestUpdateRemoteRoot50XCanUseLocalCache --- PASS: TestUpdateRemoteRoot50XCanUseLocalCache (0.38s) === RUN TestUpdateRemoteRoot50XCannotUseLocalCache --- PASS: TestUpdateRemoteRoot50XCannotUseLocalCache (0.39s) === RUN TestUpdateNonRootRemoteMissingMetadataNoLocalCache --- PASS: TestUpdateNonRootRemoteMissingMetadataNoLocalCache (0.93s) === RUN TestUpdateNonRootRemoteMissingMetadataCanUseLocalCache time="2021-10-09T16:21:24Z" level=warning msg="Error while downloading remote metadata, using cached timestamp - this might not be the latest version available remotely" --- PASS: TestUpdateNonRootRemoteMissingMetadataCanUseLocalCache (1.19s) === RUN TestUpdateNonRootRemoteMissingMetadataCannotUseLocalCache time="2021-10-09T16:21:25Z" level=warning msg="Error while downloading remote metadata, using cached timestamp - this might not be the latest version available remotely" --- PASS: TestUpdateNonRootRemoteMissingMetadataCannotUseLocalCache (1.89s) === RUN TestUpdateNonRootRemote50XNoLocalCache --- PASS: TestUpdateNonRootRemote50XNoLocalCache (1.00s) === RUN TestUpdateNonRootRemote50XCanUseLocalCache time="2021-10-09T16:21:28Z" level=warning msg="Error while downloading remote metadata, using cached timestamp - this might not be the latest version available remotely" --- PASS: TestUpdateNonRootRemote50XCanUseLocalCache (1.51s) === RUN TestUpdateNonRootRemote50XCannotUseLocalCache time="2021-10-09T16:21:30Z" level=warning msg="Error while downloading remote metadata, using cached timestamp - this might not be the latest version available remotely" --- PASS: TestUpdateNonRootRemote50XCannotUseLocalCache (2.21s) === RUN TestUpdateRemoteChecksumWrongNoLocalCache --- PASS: TestUpdateRemoteChecksumWrongNoLocalCache (2.08s) === RUN TestUpdateRemoteChecksumWrongCanUseLocalCache --- PASS: TestUpdateRemoteChecksumWrongCanUseLocalCache (2.51s) === RUN TestUpdateRemoteChecksumWrongCannotUseLocalCache --- PASS: TestUpdateRemoteChecksumWrongCannotUseLocalCache (3.98s) === RUN TestUpdateRootRemoteCorruptedNoLocalCache time="2021-10-09T16:21:41Z" level=error msg="Metadata for root expired" time="2021-10-09T16:21:41Z" level=error msg="Metadata for root expired" --- PASS: TestUpdateRootRemoteCorruptedNoLocalCache (3.62s) === RUN TestUpdateRootRemoteCorruptedCanUseLocalCache --- PASS: TestUpdateRootRemoteCorruptedCanUseLocalCache (8.39s) === RUN TestUpdateRootRemoteCorruptedCannotUseLocalCache time="2021-10-09T16:21:57Z" level=error msg="Metadata for root expired" time="2021-10-09T16:21:57Z" level=error msg="Metadata for root expired" --- PASS: TestUpdateRootRemoteCorruptedCannotUseLocalCache (10.89s) === RUN TestUpdateNonRootRemoteCorruptedNoLocalCache time="2021-10-09T16:22:04Z" level=error msg="Metadata for targets expired" time="2021-10-09T16:22:04Z" level=error msg="Metadata for targets expired" time="2021-10-09T16:22:05Z" level=error msg="Metadata for snapshot expired" time="2021-10-09T16:22:05Z" level=error msg="Metadata for snapshot expired" time="2021-10-09T16:22:06Z" level=error msg="Metadata for timestamp expired" time="2021-10-09T16:22:06Z" level=error msg="Metadata for timestamp expired" time="2021-10-09T16:22:06Z" level=warning msg="Error getting targets/a: valid signatures did not meet threshold for targets/a" time="2021-10-09T16:22:06Z" level=warning msg="Error getting targets/a: valid signatures did not meet threshold for targets/a" time="2021-10-09T16:22:06Z" level=warning msg="Error getting targets/a: valid signatures did not meet threshold for targets/a" time="2021-10-09T16:22:06Z" level=error msg="Metadata for targets/a expired" time="2021-10-09T16:22:06Z" level=warning msg="Error getting targets/a: targets/a expired at Tue Sep 8 16:22:06 UTC 2020" time="2021-10-09T16:22:07Z" level=warning msg="Error getting targets/a/b: valid signatures did not meet threshold for targets/a/b" time="2021-10-09T16:22:07Z" level=warning msg="Error getting targets/a/b: valid signatures did not meet threshold for targets/a/b" time="2021-10-09T16:22:07Z" level=warning msg="Error getting targets/a/b: valid signatures did not meet threshold for targets/a/b" time="2021-10-09T16:22:07Z" level=error msg="Metadata for targets/a/b expired" time="2021-10-09T16:22:07Z" level=warning msg="Error getting targets/a/b: targets/a/b expired at Tue Sep 8 16:22:07 UTC 2020" time="2021-10-09T16:22:07Z" level=warning msg="Error getting targets/b: valid signatures did not meet threshold for targets/b" time="2021-10-09T16:22:07Z" level=warning msg="Error getting targets/b: valid signatures did not meet threshold for targets/b" time="2021-10-09T16:22:08Z" level=warning msg="Error getting targets/b: valid signatures did not meet threshold for targets/b" time="2021-10-09T16:22:08Z" level=error msg="Metadata for targets/b expired" time="2021-10-09T16:22:08Z" level=warning msg="Error getting targets/b: targets/b expired at Tue Sep 8 16:22:08 UTC 2020" --- PASS: TestUpdateNonRootRemoteCorruptedNoLocalCache (5.56s) === RUN TestUpdateNonRootRemoteCorruptedCanUseLocalCache time="2021-10-09T16:22:10Z" level=error msg="Metadata for timestamp expired" time="2021-10-09T16:22:10Z" level=error msg="Metadata for timestamp expired" --- PASS: TestUpdateNonRootRemoteCorruptedCanUseLocalCache (3.96s) === RUN TestUpdateNonRootRemoteCorruptedCannotUseLocalCache time="2021-10-09T16:22:13Z" level=error msg="Metadata for targets expired" time="2021-10-09T16:22:13Z" level=error msg="Metadata for snapshot expired" time="2021-10-09T16:22:13Z" level=error msg="Metadata for snapshot expired" time="2021-10-09T16:22:14Z" level=error msg="Metadata for timestamp expired" time="2021-10-09T16:22:14Z" level=error msg="Metadata for timestamp expired" time="2021-10-09T16:22:14Z" level=warning msg="Error getting targets/a: valid signatures did not meet threshold for targets/a" time="2021-10-09T16:22:14Z" level=warning msg="Error getting targets/a: valid signatures did not meet threshold for targets/a" time="2021-10-09T16:22:14Z" level=warning msg="Error getting targets/a: valid signatures did not meet threshold for targets/a" time="2021-10-09T16:22:15Z" level=error msg="Metadata for targets/a expired" time="2021-10-09T16:22:15Z" level=warning msg="Error getting targets/a: targets/a expired at Tue Sep 8 16:22:14 UTC 2020" time="2021-10-09T16:22:15Z" level=warning msg="Error getting targets/a/b: valid signatures did not meet threshold for targets/a/b" time="2021-10-09T16:22:15Z" level=warning msg="Error getting targets/a/b: valid signatures did not meet threshold for targets/a/b" time="2021-10-09T16:22:15Z" level=warning msg="Error getting targets/a/b: valid signatures did not meet threshold for targets/a/b" time="2021-10-09T16:22:15Z" level=error msg="Metadata for targets/a/b expired" time="2021-10-09T16:22:15Z" level=warning msg="Error getting targets/a/b: targets/a/b expired at Tue Sep 8 16:22:15 UTC 2020" time="2021-10-09T16:22:16Z" level=warning msg="Error getting targets/b: valid signatures did not meet threshold for targets/b" time="2021-10-09T16:22:16Z" level=warning msg="Error getting targets/b: valid signatures did not meet threshold for targets/b" time="2021-10-09T16:22:16Z" level=warning msg="Error getting targets/b: valid signatures did not meet threshold for targets/b" time="2021-10-09T16:22:16Z" level=error msg="Metadata for targets/b expired" time="2021-10-09T16:22:16Z" level=warning msg="Error getting targets/b: targets/b expired at Tue Sep 8 16:22:16 UTC 2020" --- PASS: TestUpdateNonRootRemoteCorruptedCannotUseLocalCache (4.90s) === RUN TestUpdateLocalAndRemoteRootCorrupt time="2021-10-09T16:22:20Z" level=error msg="Metadata for root expired" time="2021-10-09T16:22:20Z" level=error msg="Metadata for root expired" time="2021-10-09T16:22:22Z" level=error msg="Metadata for root expired" time="2021-10-09T16:22:22Z" level=error msg="Metadata for root expired" time="2021-10-09T16:22:22Z" level=error msg="Metadata for root expired" time="2021-10-09T16:22:22Z" level=error msg="Metadata for root expired" time="2021-10-09T16:22:22Z" level=error msg="Metadata for root expired" time="2021-10-09T16:22:23Z" level=error msg="Metadata for root expired" time="2021-10-09T16:22:23Z" level=error msg="Metadata for root expired" time="2021-10-09T16:22:23Z" level=error msg="Metadata for root expired" time="2021-10-09T16:22:23Z" level=error msg="Metadata for root expired" time="2021-10-09T16:22:23Z" level=error msg="Metadata for root expired" time="2021-10-09T16:22:23Z" level=error msg="Metadata for root expired" time="2021-10-09T16:22:23Z" level=error msg="Metadata for root expired" time="2021-10-09T16:22:23Z" level=error msg="Metadata for root expired" time="2021-10-09T16:22:23Z" level=error msg="Metadata for root expired" time="2021-10-09T16:22:23Z" level=error msg="Metadata for root expired" time="2021-10-09T16:22:23Z" level=error msg="Metadata for root expired" time="2021-10-09T16:22:23Z" level=error msg="Metadata for root expired" time="2021-10-09T16:22:23Z" level=error msg="Metadata for root expired" time="2021-10-09T16:22:23Z" level=error msg="Metadata for root expired" time="2021-10-09T16:22:23Z" level=error msg="Metadata for root expired" --- PASS: TestUpdateLocalAndRemoteRootCorrupt (6.44s) === RUN TestUpdateRemoteKeyRotated time="2021-10-09T16:22:24Z" level=warning msg="Error getting targets/a: valid signatures did not meet threshold for targets/a" time="2021-10-09T16:22:24Z" level=warning msg="Error getting targets/a/b: valid signatures did not meet threshold for targets/a/b" time="2021-10-09T16:22:24Z" level=warning msg="Error getting targets/b: valid signatures did not meet threshold for targets/b" --- PASS: TestUpdateRemoteKeyRotated (0.97s) === RUN TestValidateRootRotationWithOldRole --- PASS: TestValidateRootRotationWithOldRole (0.30s) === RUN TestRootRoleInvariant --- PASS: TestRootRoleInvariant (1.28s) === RUN TestBadIntermediateTransitions --- PASS: TestBadIntermediateTransitions (0.04s) === RUN TestExpiredIntermediateTransitions time="2021-10-09T16:22:26Z" level=warning msg="root is nearing expiry, you should re-sign the role metadata" --- PASS: TestExpiredIntermediateTransitions (0.09s) === RUN TestDownloadTargetsLarge --- PASS: TestDownloadTargetsLarge (8.48s) === RUN TestDownloadTargetsDeep --- PASS: TestDownloadTargetsDeep (0.03s) === RUN TestDownloadSnapshotLargeDelegationsMany --- PASS: TestDownloadSnapshotLargeDelegationsMany (6.58s) === RUN TestRootOnDiskTrustPinning --- PASS: TestRootOnDiskTrustPinning (0.02s) === RUN TestApplyTargetsChange --- PASS: TestApplyTargetsChange (0.00s) === RUN TestApplyAddTargetTwice --- PASS: TestApplyAddTargetTwice (0.00s) === RUN TestApplyChangelist --- PASS: TestApplyChangelist (0.00s) === RUN TestApplyChangelistMulti --- PASS: TestApplyChangelistMulti (0.00s) === RUN TestApplyTargetsDelegationCreateDelete --- PASS: TestApplyTargetsDelegationCreateDelete (0.00s) === RUN TestApplyTargetsDelegationCreate2SharedKey --- PASS: TestApplyTargetsDelegationCreate2SharedKey (0.00s) === RUN TestApplyTargetsDelegationCreateEdit --- PASS: TestApplyTargetsDelegationCreateEdit (0.00s) === RUN TestApplyTargetsDelegationEditNonExisting --- PASS: TestApplyTargetsDelegationEditNonExisting (0.00s) === RUN TestApplyTargetsDelegationCreateAlreadyExisting --- PASS: TestApplyTargetsDelegationCreateAlreadyExisting (0.00s) === RUN TestApplyTargetsDelegationAlreadyExistingMergePaths --- PASS: TestApplyTargetsDelegationAlreadyExistingMergePaths (0.00s) === RUN TestApplyTargetsDelegationInvalidRole --- PASS: TestApplyTargetsDelegationInvalidRole (0.00s) === RUN TestApplyTargetsDelegationInvalidJSONContent --- PASS: TestApplyTargetsDelegationInvalidJSONContent (0.00s) === RUN TestApplyTargetsDelegationInvalidAction --- PASS: TestApplyTargetsDelegationInvalidAction (0.00s) === RUN TestApplyTargetsChangeInvalidType --- PASS: TestApplyTargetsChangeInvalidType (0.00s) === RUN TestApplyTargetsDelegationCreate2Deep --- PASS: TestApplyTargetsDelegationCreate2Deep (0.00s) === RUN TestApplyTargetsDelegationParentDoesntExist --- PASS: TestApplyTargetsDelegationParentDoesntExist (0.00s) === RUN TestApplyChangelistCreatesDelegation --- PASS: TestApplyChangelistCreatesDelegation (0.00s) === RUN TestApplyChangelistTargetsToMultipleRoles --- PASS: TestApplyChangelistTargetsToMultipleRoles (0.00s) === RUN TestApplyChangelistTargetsFailsNonexistentRole time="2021-10-09T16:22:41Z" 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="2021-10-09T16:22:41Z" level=error msg="couldn't remove target from targets/level1/level2/level3/level4: tuf: invalid role targets/level1/level2/level3/level4. delegation does not exist" --- PASS: TestApplyChangelistTargetsFailsNonexistentRole (0.00s) === RUN TestChangeTargetMetaFailsInvalidRole time="2021-10-09T16:22:41Z" level=error msg="couldn't add target to ruhroh: tuf: invalid role ruhroh. does not exist" --- PASS: TestChangeTargetMetaFailsInvalidRole (0.00s) === RUN TestChangeTargetMetaFailsIfPrefixError time="2021-10-09T16:22:41Z" level=error msg="couldn't add target to targets/level1: Could not add all targets" --- PASS: TestChangeTargetMetaFailsIfPrefixError (0.00s) === RUN TestAllNearExpiry --- PASS: TestAllNearExpiry (0.00s) === RUN TestAllNotNearExpiry --- PASS: TestAllNotNearExpiry (0.00s) === RUN TestRotateRemoteKeyOffline --- PASS: TestRotateRemoteKeyOffline (0.00s) PASS ok github.com/theupdateframework/notary/client 161.998s === RUN TestTUFDelegation --- PASS: TestTUFDelegation (0.00s) === RUN TestMemChangelist --- PASS: TestMemChangelist (0.00s) === RUN TestMemChangeIterator --- PASS: TestMemChangeIterator (0.00s) === RUN TestMemChangelistRemove --- PASS: TestMemChangelistRemove (0.00s) === RUN TestAdd --- PASS: TestAdd (0.02s) === RUN TestErrorConditions time="2021-10-09T16:19:32Z" level=warning msg="invalid character '\\x05' looking for beginning of value" --- PASS: TestErrorConditions (0.18s) === RUN TestListOrder --- PASS: TestListOrder (0.00s) === RUN TestFileChangeIterator --- PASS: TestFileChangeIterator (0.10s) PASS ok github.com/theupdateframework/notary/client/changelist 0.587s === RUN TestParseConfigError --- PASS: TestParseConfigError (0.00s) === RUN TestSetupGRPCServer --- PASS: TestSetupGRPCServer (0.00s) === RUN TestSetupStorage --- PASS: TestSetupStorage (0.00s) === RUN TestSetupNetListener --- PASS: TestSetupNetListener (0.00s) PASS ok github.com/theupdateframework/notary/cmd/escrow 0.099s === RUN TestPurgeDelegationKeys Usage: delegation [command] Available Commands: add Add a keys to delegation using the provided public key X509 certificates. list Lists delegations for the Global Unique Name. purge Remove KeyID(s) from all delegation roles in the given GUN. remove Remove KeyID(s) from the specified Role delegation. Use "delegation [command] --help" for more information about a command. Usage: delegation [command] Available Commands: add Add a keys to delegation using the provided public key X509 certificates. list Lists delegations for the Global Unique Name. purge Remove KeyID(s) from all delegation roles in the given GUN. remove Remove KeyID(s) from the specified Role delegation. Use "delegation [command] --help" for more information about a command. Removal of the following keys from all delegations in gun staged for next publish: - abc --- PASS: TestPurgeDelegationKeys (0.09s) === RUN TestAddInvalidDelegationName --- PASS: TestAddInvalidDelegationName (0.20s) === RUN TestAddInvalidDelegationCert --- PASS: TestAddInvalidDelegationCert (0.00s) === RUN TestAddInvalidShortPubkeyCert --- PASS: TestAddInvalidShortPubkeyCert (0.00s) === RUN TestRemoveInvalidDelegationName --- PASS: TestRemoveInvalidDelegationName (0.00s) === RUN TestRemoveAllInvalidDelegationName --- PASS: TestRemoveAllInvalidDelegationName (0.00s) === RUN TestAddInvalidNumArgs Usage: delegation [command] Available Commands: add Add a keys to delegation using the provided public key X509 certificates. list Lists delegations for the Global Unique Name. purge Remove KeyID(s) from all delegation roles in the given GUN. remove Remove KeyID(s) from the specified Role delegation. Use "delegation [command] --help" for more information about a command. --- PASS: TestAddInvalidNumArgs (0.00s) === RUN TestListInvalidNumArgs Usage: delegation [command] Available Commands: add Add a keys to delegation using the provided public key X509 certificates. list Lists delegations for the Global Unique Name. purge Remove KeyID(s) from all delegation roles in the given GUN. remove Remove KeyID(s) from the specified Role delegation. Use "delegation [command] --help" for more information about a command. --- PASS: TestListInvalidNumArgs (0.00s) === RUN TestRemoveInvalidNumArgs Usage: delegation [command] Available Commands: add Add a keys to delegation using the provided public key X509 certificates. list Lists delegations for the Global Unique Name. purge Remove KeyID(s) from all delegation roles in the given GUN. remove Remove KeyID(s) from the specified Role delegation. Use "delegation [command] --help" for more information about a command. --- PASS: TestRemoveInvalidNumArgs (0.08s) === RUN TestInitWithRootKey --- PASS: TestInitWithRootKey (1.53s) === RUN TestInitWithRootCert --- PASS: TestInitWithRootCert (0.98s) === RUN TestClientTUFInteraction --- PASS: TestClientTUFInteraction (1.41s) === RUN TestClientDeleteTUFInteraction time="2021-10-09T16:20:09Z" level=error msg="could not reach https://invalid-server: Get \"https://invalid-server/v2/\": dial tcp: lookup invalid-server on 127.0.0.11:53: no such host" --- PASS: TestClientDeleteTUFInteraction (2.18s) === RUN TestClientTUFAddByHashInteraction --- PASS: TestClientTUFAddByHashInteraction (2.80s) === RUN TestClientDelegationsInteraction time="2021-10-09T16:20:15Z" 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="2021-10-09T16:20:15Z" 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 (7.21s) === RUN TestClientDelegationsPublishing --- PASS: TestClientDelegationsPublishing (4.68s) === RUN TestClientKeyGenerationRotation --- PASS: TestClientKeyGenerationRotation (8.81s) === RUN TestKeyRotation --- PASS: TestKeyRotation (1.51s) === RUN TestKeyRotationNonRoot --- PASS: TestKeyRotationNonRoot (1.70s) === RUN TestDefaultRootKeyGeneration --- PASS: TestDefaultRootKeyGeneration (0.09s) === RUN TestLogLevelFlags --- PASS: TestLogLevelFlags (0.00s) === RUN TestClientKeyPassphraseChange --- PASS: TestClientKeyPassphraseChange (2.00s) === RUN TestPurgeSingleKey Removal of the following keys from all delegations in gun staged for next publish: - ce413ea089d68010c6bcb7e1d161bc7691e7e6104e5430630b4a3f352a74102a --- PASS: TestPurgeSingleKey (1.51s) === RUN TestWitness time="2021-10-09T16:20:41Z" level=warning msg="Error getting targets/delegation: valid signatures did not meet threshold for targets/delegation" time="2021-10-09T16:20:41Z" level=warning msg="Error getting targets/delegation: valid signatures did not meet threshold for targets/delegation" time="2021-10-09T16:20:42Z" level=warning msg="Error getting targets/delegation: valid signatures did not meet threshold for targets/delegation" time="2021-10-09T16:20:42Z" level=warning msg="Error getting targets/delegation: valid signatures did not meet threshold for targets/delegation" time="2021-10-09T16:20:42Z" 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="2021-10-09T16:20:42Z" 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="2021-10-09T16:20:43Z" level=warning msg="Error getting targets/delegation: valid signatures did not meet threshold for targets/delegation" --- PASS: TestWitness (2.79s) === RUN TestClientTUFInitWithAutoPublish time="2021-10-09T16:20:43Z" 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 127.0.0.11:53: no such host" --- PASS: TestClientTUFInitWithAutoPublish (1.09s) === RUN TestClientTUFAddWithAutoPublish time="2021-10-09T16:20:44Z" level=error msg="could not reach https://notary-server:4443: Get \"https://notary-server:4443/v2/\": dial tcp: lookup notary-server on 127.0.0.11:53: no such host" time="2021-10-09T16:20:44Z" level=error msg="Could not publish Repository since we could not update: client is offline" time="2021-10-09T16:20:44Z" 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 127.0.0.11:53: no such host" time="2021-10-09T16:20:44Z" level=error msg="Could not publish Repository since we could not update: client is offline" --- PASS: TestClientTUFAddWithAutoPublish (0.82s) === RUN TestClientTUFRemoveWithAutoPublish --- PASS: TestClientTUFRemoveWithAutoPublish (1.39s) === RUN TestClientDelegationAddWithAutoPublish --- PASS: TestClientDelegationAddWithAutoPublish (0.61s) === RUN TestClientDelegationRemoveWithAutoPublish time="2021-10-09T16:20: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="2021-10-09T16:20: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" --- PASS: TestClientDelegationRemoveWithAutoPublish (1.49s) === RUN TestClientTUFAddByHashWithAutoPublish --- PASS: TestClientTUFAddByHashWithAutoPublish (0.80s) === RUN TestClientKeyImport time="2021-10-09T16:20:49Z" level=warning msg="failed to import key to store: Invalid key generated, key may be encrypted and does not contain path header" time="2021-10-09T16:20:49Z" 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.39s) === RUN TestAddDelImportKeyPublishFlow time="2021-10-09T16:20:51Z" 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.90s) === RUN TestExportImportFlow --- PASS: TestExportImportFlow (0.60s) === RUN TestDelegationKeyImportExport --- PASS: TestDelegationKeyImportExport (0.20s) === RUN TestImportKeysNoYubikey --- PASS: TestImportKeysNoYubikey (0.09s) === RUN TestExportImportKeysNoYubikey --- PASS: TestExportImportKeysNoYubikey (0.02s) === RUN TestRemoveIfNoKey --- PASS: TestRemoveIfNoKey (0.00s) === RUN TestRemoveOneKeyAbort --- PASS: TestRemoveOneKeyAbort (0.08s) === RUN TestRemoveOneKeyConfirm --- PASS: TestRemoveOneKeyConfirm (0.02s) === RUN TestRemoveMultikeysInvalidInput --- PASS: TestRemoveMultikeysInvalidInput (0.09s) === RUN TestRemoveMultikeysAbortChoice --- PASS: TestRemoveMultikeysAbortChoice (0.01s) === RUN TestRemoveMultikeysRemoveOnlyChosenKey --- PASS: TestRemoveMultikeysRemoveOnlyChosenKey (0.08s) === RUN TestRotateKeyInvalidRoles time="2021-10-09T16:20:52Z" level=error msg="could not reach https://notary-server:4443: Get \"https://notary-server:4443/v2/\": dial tcp: lookup notary-server on 127.0.0.11:53: no such host" time="2021-10-09T16:20:52Z" level=error msg="could not reach https://notary-server:4443: Get \"https://notary-server:4443/v2/\": dial tcp: lookup notary-server on 127.0.0.11:53: no such host" time="2021-10-09T16:20:52Z" level=error msg="could not reach https://notary-server:4443: Get \"https://notary-server:4443/v2/\": dial tcp: lookup notary-server on 127.0.0.11:53: no such host" time="2021-10-09T16:20:52Z" level=error msg="could not reach https://notary-server:4443: Get \"https://notary-server:4443/v2/\": dial tcp: lookup notary-server on 127.0.0.11:53: no such host" --- PASS: TestRotateKeyInvalidRoles (0.10s) === RUN TestRotateKeyTargetCannotBeServerManaged time="2021-10-09T16:20:52Z" level=error msg="could not reach https://notary-server:4443: Get \"https://notary-server:4443/v2/\": dial tcp: lookup notary-server on 127.0.0.11:53: no such host" --- PASS: TestRotateKeyTargetCannotBeServerManaged (0.01s) === RUN TestRotateKeyTimestampCannotBeLocallyManaged time="2021-10-09T16:20:52Z" level=error msg="could not reach https://notary-server:4443: Get \"https://notary-server:4443/v2/\": dial tcp: lookup notary-server on 127.0.0.11:53: no such host" --- PASS: TestRotateKeyTimestampCannotBeLocallyManaged (0.00s) === RUN TestRotateKeyNoGUN Usage: --- 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 (1.00s) === RUN TestRotateKeyBothKeys Successfully rotated targets key for repository docker.com/notary Successfully rotated snapshot key for repository docker.com/notary --- PASS: TestRotateKeyBothKeys (0.72s) === RUN TestRotateKeyRootIsInteractive --- PASS: TestRotateKeyRootIsInteractive (0.19s) === RUN TestChangeKeyPassphraseInvalidID --- PASS: TestChangeKeyPassphraseInvalidID (0.00s) === RUN TestChangeKeyPassphraseInvalidNumArgs Usage: --- PASS: TestChangeKeyPassphraseInvalidNumArgs (0.00s) === RUN TestChangeKeyPassphraseNonexistentID --- PASS: TestChangeKeyPassphraseNonexistentID (0.00s) === RUN TestExportKeys --- PASS: TestExportKeys (0.00s) === RUN TestExportKeysByGUN --- PASS: TestExportKeysByGUN (0.01s) === RUN TestExportKeysByID --- PASS: TestExportKeysByID (0.00s) === RUN TestExportKeysBadFlagCombo --- PASS: TestExportKeysBadFlagCombo (0.00s) === RUN TestImportKeysNonexistentFile --- PASS: TestImportKeysNonexistentFile (0.00s) === RUN TestKeyGeneration time="2021-10-09T16:20:54Z" 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.10s) === RUN TestNotaryConfigFileDefault --- PASS: TestNotaryConfigFileDefault (0.00s) === RUN TestRemoteServerDefault --- PASS: TestRemoteServerDefault (0.08s) === RUN TestRemoteServerUsesConfigFile --- PASS: TestRemoteServerUsesConfigFile (0.00s) === RUN TestRemoteServerCommandLineFlagOverridesConfig --- PASS: TestRemoteServerCommandLineFlagOverridesConfig (0.00s) === RUN TestInvalidAddHashCommands --- PASS: TestInvalidAddHashCommands (0.02s) === RUN TestConfigParsingErrorsPropagatedByCommands --- PASS: TestConfigParsingErrorsPropagatedByCommands (0.00s) === RUN TestInsufficientArgumentsReturnsErrorAndPrintsUsage --- PASS: TestInsufficientArgumentsReturnsErrorAndPrintsUsage (0.08s) === RUN TestBareCommandPrintsUsageAndNoError --- PASS: TestBareCommandPrintsUsageAndNoError (0.00s) === RUN TestConfigFileTLSCannotBeRelativeToCWD --- PASS: TestConfigFileTLSCannotBeRelativeToCWD (0.10s) === RUN TestConfigFileTLSCanBeRelativeToConfigOrAbsolute --- PASS: TestConfigFileTLSCanBeRelativeToConfigOrAbsolute (0.21s) === RUN TestConfigFileOverridenByCmdLineFlags --- PASS: TestConfigFileOverridenByCmdLineFlags (0.19s) === RUN TestConfigFileTrustPinning --- PASS: TestConfigFileTrustPinning (0.00s) === RUN TestPassphraseRetrieverCaching --- PASS: TestPassphraseRetrieverCaching (0.00s) === RUN TestPassphraseRetrieverDelegationRoleCaching --- PASS: TestPassphraseRetrieverDelegationRoleCaching (0.00s) === RUN TestTruncateWithEllipsis --- PASS: TestTruncateWithEllipsis (0.00s) === RUN TestKeyInfoSorter --- PASS: TestKeyInfoSorter (0.00s) === RUN TestPrettyPrintZeroKeys --- PASS: TestPrettyPrintZeroKeys (0.00s) === RUN TestPrettyPrintRootAndSigningKeys --- PASS: TestPrettyPrintRootAndSigningKeys (0.21s) === RUN TestPrettyPrintZeroTargets --- PASS: TestPrettyPrintZeroTargets (0.00s) === RUN TestPrettyPrintSortedTargets --- PASS: TestPrettyPrintSortedTargets (0.00s) === RUN TestPrettyPrintZeroRoles --- PASS: TestPrettyPrintZeroRoles (0.00s) === RUN TestPrettyPrintSortedRoles --- PASS: TestPrettyPrintSortedRoles (0.00s) === RUN TestImportRootCert --- PASS: TestImportRootCert (0.00s) === RUN TestTokenAuth time="2021-10-09T16:20:55Z" 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="2021-10-09T16:20:55Z" 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) === RUN TestAdminTokenAuth200Status --- PASS: TestAdminTokenAuth200Status (0.00s) === RUN TestTokenAuth401Status --- PASS: TestTokenAuth401Status (0.07s) === RUN TestAdminTokenAuth401Status --- PASS: TestAdminTokenAuth401Status (0.00s) === RUN TestTokenAuthNon200Non401Status time="2021-10-09T16:20:55Z" level=error msg="could not reach http://127.0.0.1:34641: 404" --- PASS: TestTokenAuthNon200Non401Status (0.00s) === RUN TestAdminTokenAuthNon200Non401Status time="2021-10-09T16:20:55Z" level=error msg="could not reach http://127.0.0.1:43209: 404" --- PASS: TestAdminTokenAuthNon200Non401Status (0.00s) === RUN TestConfigureRepo --- PASS: TestConfigureRepo (0.01s) === RUN TestConfigureRepoRW Enter username: time="2021-10-09T16:20:55Z" level=error msg="error processing username input: EOF" --- PASS: TestConfigureRepoRW (0.01s) === RUN TestConfigureRepoAdmin Enter username: time="2021-10-09T16:20:55Z" level=error msg="error processing username input: EOF" --- PASS: TestConfigureRepoAdmin (0.09s) === RUN TestStatusUnstageAndReset Successfully reset specified changes for repository gun Addition of target "test1" by sha256 hash to repository "gun" staged for next publish. 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) === RUN TestGetTrustPinningErrors Pushing changes to gun --- PASS: TestGetTrustPinningErrors (0.00s) === RUN TestPasswordStore Enter username: time="2021-10-09T16:20:56Z" level=error msg="error processing username input: EOF" --- PASS: TestPasswordStore (0.00s) === RUN TestPasswordStoreWithEnvvar time="2021-10-09T16:20:56Z" level=error msg="Authentication string with zero-legnth username" time="2021-10-09T16:20:56Z" level=error msg="Could not base64-decode authentication string" --- PASS: TestPasswordStoreWithEnvvar (0.00s) === RUN TestGetPayload --- PASS: TestGetPayload (0.00s) === RUN TestFeedback --- PASS: TestFeedback (0.00s) === RUN TestHomeExpand --- PASS: TestHomeExpand (0.00s) PASS ok github.com/theupdateframework/notary/cmd/notary 52.732s === RUN TestBootstrap --- PASS: TestBootstrap (0.00s) === RUN TestGetAddrAndTLSConfigInvalidTLS --- PASS: TestGetAddrAndTLSConfigInvalidTLS (0.00s) === RUN TestGetAddrAndTLSConfigNoHTTPAddr --- PASS: TestGetAddrAndTLSConfigNoHTTPAddr (0.00s) === RUN TestGetAddrAndTLSConfigSuccessWithTLS --- PASS: TestGetAddrAndTLSConfigSuccessWithTLS (0.00s) === RUN TestGetAddrAndTLSConfigSuccessWithoutTLS --- PASS: TestGetAddrAndTLSConfigSuccessWithoutTLS (0.00s) === RUN TestGetAddrAndTLSConfigWithClientTLS --- PASS: TestGetAddrAndTLSConfigWithClientTLS (0.00s) === RUN TestGetInvalidTrustService --- PASS: TestGetInvalidTrustService (0.00s) === RUN TestGetLocalTrustService time="2021-10-09T16:20:17Z" 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="2021-10-09T16:20:17Z" level=info msg="Using remote signing service" --- PASS: TestGetTrustServiceNoTLSConfig (0.00s) === RUN TestGetTrustServiceTLSSuccess time="2021-10-09T16:20:17Z" level=info msg="Using remote signing service" --- PASS: TestGetTrustServiceTLSSuccess (0.00s) === RUN TestGetTrustServiceTLSFailure --- PASS: TestGetTrustServiceTLSFailure (0.00s) === RUN TestGetStoreInvalid time="2021-10-09T16:20:17Z" level=info msg="Using asdf backend" --- PASS: TestGetStoreInvalid (0.00s) === RUN TestGetStoreDBStore time="2021-10-09T16:20:17Z" level=info msg="Using sqlite3 backend" --- PASS: TestGetStoreDBStore (0.00s) === RUN TestGetStoreRethinkDBStoreConnectionFails time="2021-10-09T16:20:17Z" level=info msg="Using rethinkdb backend" --- PASS: TestGetStoreRethinkDBStoreConnectionFails (0.00s) === RUN TestGetMemoryStore time="2021-10-09T16:20:17Z" 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="2021-10-09T16:20:17Z" level=info msg="Using remote signing service" time="2021-10-09T16:20:17Z" level=info msg="Using sqlite3 backend" --- PASS: TestSampleConfig (0.00s) PASS ok github.com/theupdateframework/notary/cmd/notary-server 0.101s === RUN TestGetAddrAndTLSConfigInvalidTLS --- PASS: TestGetAddrAndTLSConfigInvalidTLS (0.00s) === RUN TestGetAddrAndTLSConfigNoGRPCAddr --- PASS: TestGetAddrAndTLSConfigNoGRPCAddr (0.00s) === RUN TestGetAddrAndTLSConfigSuccess --- PASS: TestGetAddrAndTLSConfigSuccess (0.00s) === RUN TestSetupCryptoServicesDBStoreNoDefaultAlias --- PASS: TestSetupCryptoServicesDBStoreNoDefaultAlias (0.00s) === RUN TestSetupCryptoServicesRethinkDBStoreNoDefaultAlias --- PASS: TestSetupCryptoServicesRethinkDBStoreNoDefaultAlias (0.00s) === RUN TestSetupCryptoServicesRethinkDBStoreConnectionFails TestSetupCryptoServicesRethinkDBStoreConnectionFails: main_test.go:121: DM - skipping malfunctioning test, fails on sbuild --- SKIP: TestSetupCryptoServicesRethinkDBStoreConnectionFails (0.00s) === RUN TestSetupCryptoServicesDBStoreSuccess --- PASS: TestSetupCryptoServicesDBStoreSuccess (0.40s) === RUN TestSetupCryptoServicesMemoryStore --- PASS: TestSetupCryptoServicesMemoryStore (0.08s) === RUN TestSetupCryptoServicesInvalidStore --- PASS: TestSetupCryptoServicesInvalidStore (0.00s) === RUN TestSetupGRPCServerInvalidAddress --- PASS: TestSetupGRPCServerInvalidAddress (0.00s) === RUN TestSetupGRPCServerSuccess --- PASS: TestSetupGRPCServerSuccess (0.00s) === RUN TestBootstrap --- PASS: TestBootstrap (0.00s) === RUN TestGetEnv --- PASS: TestGetEnv (0.00s) === RUN TestPassphraseRetrieverInvalid --- PASS: TestPassphraseRetrieverInvalid (0.00s) === RUN TestSampleConfig --- PASS: TestSampleConfig (0.00s) PASS ok github.com/theupdateframework/notary/cmd/notary-signer 0.595s === RUN TestGenerateCertificate --- PASS: TestGenerateCertificate (0.11s) === RUN TestCryptoServiceWithNonEmptyGUN --- PASS: TestCryptoServiceWithNonEmptyGUN (6.69s) === RUN TestCryptoServiceWithEmptyGUN --- PASS: TestCryptoServiceWithEmptyGUN (6.70s) === RUN TestCryptoSignerInterfaceBehavior --- PASS: TestCryptoSignerInterfaceBehavior (0.00s) PASS ok github.com/theupdateframework/notary/cryptoservice 13.592s === RUN TestGetPassphraseForUsingDelegationKey --- PASS: TestGetPassphraseForUsingDelegationKey (0.00s) === RUN TestGetPassphraseLimitsShortPassphrases --- PASS: TestGetPassphraseLimitsShortPassphrases (0.00s) === RUN TestGetPassphraseLimitsMismatchingPassphrases --- PASS: TestGetPassphraseLimitsMismatchingPassphrases (0.00s) === RUN TestGetPassphraseForCreatingDelegationKey --- PASS: TestGetPassphraseForCreatingDelegationKey (0.00s) === RUN TestRolePromptingAndCaching --- PASS: TestRolePromptingAndCaching (0.00s) === RUN TestPromptRetrieverNeedsTerminal --- PASS: TestPromptRetrieverNeedsTerminal (0.00s) === RUN TestGetPassphrase --- PASS: TestGetPassphrase (0.00s) PASS ok github.com/theupdateframework/notary/passphrase 0.093s ? github.com/theupdateframework/notary/proto [no test files] === RUN TestValidationErrorFormat time="2021-10-09T16:20:40Z" 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.14.2 http.request.contenttype="multipart/form-data; boundary=bcf586609d19ec81a170186f9408cb0e1a4604fbf9e36563cf4296aad917" http.request.host="127.0.0.1:45841" http.request.id=fc0f64af-9f90-47e6-a7eb-a655ff59fb8b http.request.method=POST http.request.remoteaddr="127.0.0.1:52908" http.request.uri=/v2/docker.com/notary/_trust/tuf/ http.request.useragent=Go-http-client/1.1 time="2021-10-09T16:20:40Z" level=info msg="response completed" go.version=go1.14.2 http.request.contenttype="multipart/form-data; boundary=bcf586609d19ec81a170186f9408cb0e1a4604fbf9e36563cf4296aad917" http.request.host="127.0.0.1:45841" http.request.id=fc0f64af-9f90-47e6-a7eb-a655ff59fb8b http.request.method=POST http.request.remoteaddr="127.0.0.1:52908" http.request.uri=/v2/docker.com/notary/_trust/tuf/ http.request.useragent=Go-http-client/1.1 http.response.contenttype="application/json; charset=utf-8" http.response.duration=4.456737ms http.response.status=400 http.response.written=260 --- PASS: TestValidationErrorFormat (0.29s) === RUN TestRunBadAddr --- PASS: TestRunBadAddr (0.00s) === RUN TestRunReservedPort time="2021-10-09T16:20:40Z" level=info msg="Starting on localhost:80" panic: test timed out after 10m0s goroutine 101 [running]: testing.(*M).startAlarm.func1() /usr/lib/go-1.14/src/testing/testing.go:1459 +0xdf created by time.goFunc /usr/lib/go-1.14/src/time/sleep.go:168 +0x44 goroutine 1 [chan receive, 9 minutes]: testing.(*T).Run(0xc0002405a0, 0xbb37f3, 0x13, 0xbdc690, 0x492001) /usr/lib/go-1.14/src/testing/testing.go:1043 +0x37e testing.runTests.func1(0xc0002417a0) /usr/lib/go-1.14/src/testing/testing.go:1284 +0x78 testing.tRunner(0xc0002417a0, 0xc000311e10) /usr/lib/go-1.14/src/testing/testing.go:991 +0xdc testing.runTests(0xc0002e6800, 0x1142b60, 0xb, 0xb, 0x0) /usr/lib/go-1.14/src/testing/testing.go:1282 +0x2a7 testing.(*M).Run(0xc0002e8300, 0x0) /usr/lib/go-1.14/src/testing/testing.go:1199 +0x15f main.main() _testmain.go:64 +0x135 goroutine 116 [IO wait, 9 minutes]: internal/poll.runtime_pollWait(0x7f419423ad58, 0x72, 0x0) /usr/lib/go-1.14/src/runtime/netpoll.go:203 +0x55 internal/poll.(*pollDesc).wait(0xc000218318, 0x72, 0x0, 0x0, 0xbabfb8) /usr/lib/go-1.14/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/lib/go-1.14/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000218300, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/lib/go-1.14/src/internal/poll/fd_unix.go:384 +0x1d4 net.(*netFD).accept(0xc000218300, 0xc000193b60, 0xc000100000, 0x7f41bc70a7d0) /usr/lib/go-1.14/src/net/fd_unix.go:238 +0x42 net.(*TCPListener).accept(0xc000110060, 0xc000193ba0, 0x40ea58, 0x30) /usr/lib/go-1.14/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc000110060, 0xb595e0, 0xc000683890, 0xae07e0, 0x1139aa0) /usr/lib/go-1.14/src/net/tcpsock.go:261 +0x64 net/http.(*Server).Serve(0xc0003040e0, 0xcbc7e0, 0xc000110060, 0x0, 0x0) /usr/lib/go-1.14/src/net/http/server.go:2901 +0x25d github.com/theupdateframework/notary/server.Run(0xcbf1a0, 0xc000021480, 0xbaef7f, 0xc, 0x0, 0xcc4240, 0xc000010708, 0x0, 0x0, 0x0, ...) /build/notary-3mDz9C/notary-0.6.1-ds2/_build/src/github.com/theupdateframework/notary/server/server.go:89 +0x366 github.com/theupdateframework/notary/server.TestRunReservedPort(0xc0002405a0) /build/notary-3mDz9C/notary-0.6.1-ds2/_build/src/github.com/theupdateframework/notary/server/server_test.go:43 +0x137 testing.tRunner(0xc0002405a0, 0xbdc690) /usr/lib/go-1.14/src/testing/testing.go:991 +0xdc created by testing.(*T).Run /usr/lib/go-1.14/src/testing/testing.go:1042 +0x357 FAIL github.com/theupdateframework/notary/server 600.113s ? github.com/theupdateframework/notary/server/errors [no test files] === RUN Test_changefeed --- PASS: Test_changefeed (0.00s) === RUN Test_checkChangefeedInputs time="2021-10-09T16:20:46Z" level=error msg="500 GET unable to retrieve storage" time="2021-10-09T16:20:46Z" level=error msg="400 GET invalid pageSize: not_a_number" --- PASS: Test_checkChangefeedInputs (0.00s) === RUN TestMainHandlerGet time="2021-10-09T16:20:46Z" level=info msg="response completed" go.version=go1.14.2 http.request.host="127.0.0.1:45889" http.request.id=19d3ebdb-1a5e-430c-81b5-02877172f2e1 http.request.method=GET http.request.remoteaddr="127.0.0.1:45612" http.request.uri=/ http.request.useragent=Go-http-client/1.1 http.response.duration="130.94µs" http.response.status=200 http.response.written=2 --- PASS: TestMainHandlerGet (0.00s) === RUN TestMainHandlerNotGet time="2021-10-09T16:20:46Z" level=info msg="generic not found: You have requested a resource that does not exist.: " go.version=go1.14.2 http.request.host="127.0.0.1:38767" http.request.id=378872ce-7b05-419e-8792-372b0ff974ca http.request.method=HEAD http.request.remoteaddr="127.0.0.1:40390" http.request.uri=/ http.request.useragent=Go-http-client/1.1 time="2021-10-09T16:20:46Z" level=info msg="response completed" go.version=go1.14.2 http.request.host="127.0.0.1:38767" http.request.id=378872ce-7b05-419e-8792-372b0ff974ca http.request.method=HEAD http.request.remoteaddr="127.0.0.1:40390" http.request.uri=/ http.request.useragent=Go-http-client/1.1 http.response.contenttype="application/json; charset=utf-8" http.response.duration="329.232µs" http.response.status=404 http.response.written=105 --- PASS: TestMainHandlerNotGet (0.00s) === RUN TestKeyHandlersInvalidConfiguration time="2021-10-09T16:20:46Z" level=error msg="500 GET storage not configured" go.version=go1.14.2 gun=gun time="2021-10-09T16:20:46Z" level=error msg="500 GET storage not configured" go.version=go1.14.2 gun=gun time="2021-10-09T16:20:46Z" level=error msg="500 GET crypto service not configured" go.version=go1.14.2 gun=gun time="2021-10-09T16:20:46Z" level=error msg="500 GET crypto service not configured" go.version=go1.14.2 gun=gun time="2021-10-09T16:20:46Z" level=error msg="500 GET key algorithm not configured" go.version=go1.14.2 gun=gun time="2021-10-09T16:20:46Z" level=error msg="500 GET key algorithm not configured" go.version=go1.14.2 gun=gun time="2021-10-09T16:20:46Z" level=error msg="500 POST storage not configured" go.version=go1.14.2 gun=gun time="2021-10-09T16:20:46Z" level=error msg="500 POST storage not configured" go.version=go1.14.2 gun=gun time="2021-10-09T16:20:46Z" level=error msg="500 POST crypto service not configured" go.version=go1.14.2 gun=gun time="2021-10-09T16:20:46Z" level=error msg="500 POST crypto service not configured" go.version=go1.14.2 gun=gun time="2021-10-09T16:20:46Z" level=error msg="500 POST key algorithm not configured" go.version=go1.14.2 gun=gun time="2021-10-09T16:20:46Z" level=error msg="500 POST key algorithm not configured" go.version=go1.14.2 gun=gun --- PASS: TestKeyHandlersInvalidConfiguration (0.00s) === RUN TestKeyHandlersNoRoleOrRepo time="2021-10-09T16:20:46Z" level=info msg="400 GET no gun in request" =gun go.version=go1.14.2 time="2021-10-09T16:20:46Z" level=info msg="400 GET no gun in request" =gun go.version=go1.14.2 time="2021-10-09T16:20:46Z" level=info msg="400 GET no role in request" go.version=go1.14.2 gun=gun time="2021-10-09T16:20:46Z" level=info msg="400 GET no role in request" go.version=go1.14.2 gun=gun time="2021-10-09T16:20:46Z" level=info msg="400 POST no gun in request" =gun go.version=go1.14.2 time="2021-10-09T16:20:46Z" level=info msg="400 POST no gun in request" =gun go.version=go1.14.2 time="2021-10-09T16:20:46Z" level=info msg="400 POST no role in request" go.version=go1.14.2 gun=gun time="2021-10-09T16:20:46Z" level=info msg="400 POST no role in request" go.version=go1.14.2 gun=gun --- PASS: TestKeyHandlersNoRoleOrRepo (0.00s) === RUN TestKeyHandlersInvalidRole time="2021-10-09T16:20:46Z" level=info msg="400 GET root key: " go.version=go1.14.2 gun=gun time="2021-10-09T16:20:46Z" level=info msg="400 GET targets key: " go.version=go1.14.2 gun=gun time="2021-10-09T16:20:46Z" level=info msg="400 GET targets/a key: " go.version=go1.14.2 gun=gun time="2021-10-09T16:20:46Z" level=info msg="400 GET invalidrole key: " go.version=go1.14.2 gun=gun time="2021-10-09T16:20:46Z" level=info msg="400 POST root key: " go.version=go1.14.2 gun=gun time="2021-10-09T16:20:46Z" level=info msg="400 POST targets key: " go.version=go1.14.2 gun=gun time="2021-10-09T16:20:46Z" level=info msg="400 POST targets/a key: " go.version=go1.14.2 gun=gun time="2021-10-09T16:20:46Z" level=info msg="400 POST invalidrole key: " go.version=go1.14.2 gun=gun --- PASS: TestKeyHandlersInvalidRole (0.00s) === RUN TestGetKeyHandlerCreatesOnce --- PASS: TestGetKeyHandlerCreatesOnce (0.00s) === RUN TestKeyHandlersInvalidKeyAlgo time="2021-10-09T16:20:46Z" level=error msg="500 GET timestamp key: only ED25519 supported by this cryptoservice" go.version=go1.14.2 gun=gun time="2021-10-09T16:20:46Z" level=error msg="500 GET snapshot key: only ED25519 supported by this cryptoservice" go.version=go1.14.2 gun=gun time="2021-10-09T16:20:46Z" level=error msg="500 POST timestamp key: only ED25519 supported by this cryptoservice" go.version=go1.14.2 gun=gun time="2021-10-09T16:20:46Z" level=error msg="500 POST snapshot key: only ED25519 supported by this cryptoservice" go.version=go1.14.2 gun=gun --- PASS: TestKeyHandlersInvalidKeyAlgo (0.00s) === RUN TestRotateKeyHandlerSuccessfulRotation --- PASS: TestRotateKeyHandlerSuccessfulRotation (0.00s) === RUN TestGetHandlerRoot time="2021-10-09T16:20:46Z" level=info msg="404 GET root role" go.version=go1.14.2 gun=gun --- PASS: TestGetHandlerRoot (0.02s) === RUN TestGetHandlerTimestamp --- PASS: TestGetHandlerTimestamp (0.07s) === RUN TestGetHandlerSnapshot --- PASS: TestGetHandlerSnapshot (0.00s) === RUN TestGetHandler404 time="2021-10-09T16:20:46Z" level=info msg="404 GET root role" go.version=go1.14.2 gun=gun --- PASS: TestGetHandler404 (0.00s) === RUN TestGetHandlerNilData time="2021-10-09T16:20:46Z" level=info msg="404 GET root role" go.version=go1.14.2 gun=gun --- PASS: TestGetHandlerNilData (0.00s) === RUN TestGetHandlerNoStorage time="2021-10-09T16:20:46Z" level=error msg="500 GET: no storage exists" =gun go.version=go1.14.2 --- PASS: TestGetHandlerNoStorage (0.00s) === RUN TestAtomicUpdateValidationFailurePropagated --- PASS: TestAtomicUpdateValidationFailurePropagated (0.09s) === RUN TestAtomicUpdateNonValidationFailureNotPropagated time="2021-10-09T16:20:46Z" level=info msg="400 POST error validating update" go.version=go1.14.2 testGUN=gun --- PASS: TestAtomicUpdateNonValidationFailureNotPropagated (0.02s) === RUN TestAtomicUpdateVersionErrorPropagated time="2021-10-09T16:20:47Z" level=info msg="400 POST old version error" go.version=go1.14.2 testGUN=gun --- PASS: TestAtomicUpdateVersionErrorPropagated (0.08s) === RUN TestGetMaybeServerSignedNoCrypto --- PASS: TestGetMaybeServerSignedNoCrypto (0.00s) === RUN TestGetMaybeServerSignedNoKey --- PASS: TestGetMaybeServerSignedNoKey (0.00s) === RUN TestValidateEmptyNew --- PASS: TestValidateEmptyNew (0.02s) === RUN TestValidateRootCanContainOnlyx509KeysWithRightGun --- PASS: TestValidateRootCanContainOnlyx509KeysWithRightGun (0.09s) === RUN TestValidatePrevTimestamp --- PASS: TestValidatePrevTimestamp (0.02s) === RUN TestValidatePreviousTimestampCorrupt time="2021-10-09T16:20:47Z" level=error msg="Failed to unmarshal existing timestamp for GUN docker.com/notary" --- PASS: TestValidatePreviousTimestampCorrupt (0.09s) === RUN TestValidateGetCurrentTimestampBroken --- PASS: TestValidateGetCurrentTimestampBroken (0.02s) === RUN TestValidateNoNewRoot --- PASS: TestValidateNoNewRoot (0.09s) === RUN TestValidateNoNewTargets --- PASS: TestValidateNoNewTargets (0.09s) === RUN TestValidateOnlySnapshot --- PASS: TestValidateOnlySnapshot (0.09s) === RUN TestValidateOldRoot --- PASS: TestValidateOldRoot (0.02s) === RUN TestValidateOldRootCorrupt --- PASS: TestValidateOldRootCorrupt (0.08s) === RUN TestValidateOldRootCorruptRootRole --- PASS: TestValidateOldRootCorruptRootRole (0.01s) === RUN TestValidateRootGetCurrentRootBroken --- PASS: TestValidateRootGetCurrentRootBroken (0.09s) === RUN TestValidateRootRotationWithOldSigs --- PASS: TestValidateRootRotationWithOldSigs (0.11s) === RUN TestValidateRootRotationMultipleKeysThreshold1 --- PASS: TestValidateRootRotationMultipleKeysThreshold1 (0.11s) === RUN TestRootRotationNotSignedWithOldKeysForOldRole --- PASS: TestRootRotationNotSignedWithOldKeysForOldRole (0.10s) === RUN TestRootRotationVersionIncrement --- PASS: TestRootRotationVersionIncrement (0.10s) === RUN TestValidateNoRoot --- PASS: TestValidateNoRoot (0.09s) === RUN TestValidateSnapshotMissingNoSnapshotKey --- PASS: TestValidateSnapshotMissingNoSnapshotKey (0.08s) === RUN TestValidateSnapshotGenerateNoPrev --- PASS: TestValidateSnapshotGenerateNoPrev (0.10s) === RUN TestValidateSnapshotGenerateWithPrev --- PASS: TestValidateSnapshotGenerateWithPrev (0.10s) === RUN TestValidateSnapshotGeneratePrevCorrupt time="2021-10-09T16:20:48Z" level=error msg="Failed to unmarshal existing snapshot for GUN docker.com/notary" --- PASS: TestValidateSnapshotGeneratePrevCorrupt (0.02s) === RUN TestValidateSnapshotGenerateStoreGetCurrentSnapshotBroken --- PASS: TestValidateSnapshotGenerateStoreGetCurrentSnapshotBroken (0.10s) === RUN TestValidateSnapshotGenerateNoTargets --- PASS: TestValidateSnapshotGenerateNoTargets (0.10s) === RUN TestValidateSnapshotGenerate --- PASS: TestValidateSnapshotGenerate (0.09s) === RUN TestValidateRootNoTimestampKey --- PASS: TestValidateRootNoTimestampKey (0.01s) === RUN TestValidateRootInvalidTimestampKey --- PASS: TestValidateRootInvalidTimestampKey (0.08s) === RUN TestValidateRootInvalidTimestampThreshold --- PASS: TestValidateRootInvalidTimestampThreshold (0.02s) === RUN TestValidateRootInvalidZeroThreshold --- PASS: TestValidateRootInvalidZeroThreshold (0.28s) === RUN TestValidateRootRoleMissing --- PASS: TestValidateRootRoleMissing (0.01s) === RUN TestValidateTargetsRoleMissing --- PASS: TestValidateTargetsRoleMissing (0.01s) === RUN TestValidateSnapshotRoleMissing --- PASS: TestValidateSnapshotRoleMissing (0.07s) === RUN TestValidateRootSigMissing --- PASS: TestValidateRootSigMissing (0.01s) === RUN TestValidateTargetsSigMissing time="2021-10-09T16:20:49Z" level=error msg="ErrBadTargets: tuf: data has no signatures" --- PASS: TestValidateTargetsSigMissing (0.09s) === RUN TestValidateSnapshotSigMissing --- PASS: TestValidateSnapshotSigMissing (0.02s) === RUN TestValidateRootCorrupt --- PASS: TestValidateRootCorrupt (0.08s) === RUN TestValidateTargetsCorrupt time="2021-10-09T16:20:49Z" level=error msg="ErrBadTargets: invalid character '\\u0084' looking for beginning of value" --- PASS: TestValidateTargetsCorrupt (0.02s) === RUN TestValidateSnapshotCorrupt --- PASS: TestValidateSnapshotCorrupt (0.09s) === RUN TestValidateRootModifiedSize --- PASS: TestValidateRootModifiedSize (0.09s) === RUN TestValidateTargetsModifiedSize --- PASS: TestValidateTargetsModifiedSize (0.02s) === RUN TestValidateRootModifiedHash --- PASS: TestValidateRootModifiedHash (0.09s) === RUN TestValidateTargetsModifiedHash --- PASS: TestValidateTargetsModifiedHash (0.02s) === RUN TestGenerateSnapshotRootNotLoaded --- PASS: TestGenerateSnapshotRootNotLoaded (0.00s) === RUN TestGenerateSnapshotNoKey --- PASS: TestGenerateSnapshotNoKey (0.08s) === RUN TestLoadTargetsLoadsNothingIfNoUpdates --- PASS: TestLoadTargetsLoadsNothingIfNoUpdates (0.01s) === RUN TestValidateTargetsRequiresStoredParent time="2021-10-09T16:20:49Z" level=error msg="ErrBadTargets: targets must be loaded first" --- PASS: TestValidateTargetsRequiresStoredParent (0.08s) === RUN TestValidateTargetsParentInUpdate time="2021-10-09T16:20:50Z" level=error msg="ErrBadTargets: invalid character 'I' looking for beginning of value" --- PASS: TestValidateTargetsParentInUpdate (0.01s) === RUN TestValidateTargetsRoleNotInParent time="2021-10-09T16:20:50Z" level=error msg="ErrBadTargets: tuf: invalid role targets/level1. delegation does not exist" time="2021-10-09T16:20:50Z" level=error msg="ErrBadTargets: targets has already been loaded" time="2021-10-09T16:20:50Z" level=error msg="ErrBadTargets: tuf: invalid role targets/level1. delegation does not exist" --- PASS: TestValidateTargetsRoleNotInParent (0.01s) PASS ok github.com/theupdateframework/notary/server/handlers 3.479s === RUN TestSnapshotExpired --- PASS: TestSnapshotExpired (0.00s) === RUN TestSnapshotNotExpired --- PASS: TestSnapshotNotExpired (0.00s) === RUN TestGetSnapshotKeyCreate --- PASS: TestGetSnapshotKeyCreate (0.00s) === RUN TestGetSnapshotKeyCreateWithFailingStore time="2021-10-09T16:20:55Z" level=error msg="Error when retrieving root role for GUN gun: failing store failed" --- PASS: TestGetSnapshotKeyCreateWithFailingStore (0.00s) === RUN TestGetSnapshotKeyCreateWithCorruptedStore time="2021-10-09T16:20:55Z" 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.17s) === RUN TestGetSnapshotNoPreviousSnapshot time="2021-10-09T16:20:55Z" level=error msg="Failed to unmarshal existing snapshot for GUN gun" --- PASS: TestGetSnapshotNoPreviousSnapshot (0.00s) === RUN TestGetSnapshotReturnsPreviousSnapshotIfUnexpired --- PASS: TestGetSnapshotReturnsPreviousSnapshotIfUnexpired (0.00s) === RUN TestGetSnapshotOldSnapshotExpired --- PASS: TestGetSnapshotOldSnapshotExpired (0.01s) === RUN TestCannotMakeNewSnapshotIfNoRoot --- PASS: TestCannotMakeNewSnapshotIfNoRoot (0.00s) === RUN TestCreateSnapshotNoKeyInCrypto --- PASS: TestCreateSnapshotNoKeyInCrypto (0.01s) PASS ok github.com/theupdateframework/notary/server/snapshot 0.219s === RUN TestMemoryUpdateCurrentEmpty --- PASS: TestMemoryUpdateCurrentEmpty (0.00s) === RUN TestMemoryUpdateCurrentVersionCheckOldVersionExists --- PASS: TestMemoryUpdateCurrentVersionCheckOldVersionExists (0.00s) === RUN TestMemoryUpdateCurrentVersionCheckOldVersionNotExist --- PASS: TestMemoryUpdateCurrentVersionCheckOldVersionNotExist (0.00s) === RUN TestMemoryUpdateManyNoConflicts --- PASS: TestMemoryUpdateManyNoConflicts (0.00s) === RUN TestMemoryUpdateManyConflictRollback --- PASS: TestMemoryUpdateManyConflictRollback (0.00s) === RUN TestMemoryDeleteSuccess --- PASS: TestMemoryDeleteSuccess (0.00s) === RUN TestGetCurrent --- PASS: TestGetCurrent (0.00s) === RUN TestGetChecksumNotFound --- PASS: TestGetChecksumNotFound (0.00s) === RUN TestMemoryGetChanges --- PASS: TestMemoryGetChanges (0.00s) === RUN TestGetVersion --- PASS: TestGetVersion (0.00s) === RUN TestRDBTUFFileJSONUnmarshalling --- PASS: TestRDBTUFFileJSONUnmarshalling (0.00s) === RUN TestRDBTUFFileJSONUnmarshallingFailure --- PASS: TestRDBTUFFileJSONUnmarshallingFailure (0.00s) === RUN TestSQLUpdateCurrentEmpty --- PASS: TestSQLUpdateCurrentEmpty (0.29s) === RUN TestSQLUpdateCurrentVersionCheckOldVersionExists --- PASS: TestSQLUpdateCurrentVersionCheckOldVersionExists (0.11s) === RUN TestSQLUpdateCurrentVersionCheckOldVersionNotExist --- PASS: TestSQLUpdateCurrentVersionCheckOldVersionNotExist (0.37s) === RUN TestSQLUpdateManyNoConflicts --- PASS: TestSQLUpdateManyNoConflicts (0.13s) === RUN TestSQLUpdateManyConflictRollback --- PASS: TestSQLUpdateManyConflictRollback (0.10s) === RUN TestSQLDelete --- PASS: TestSQLDelete (0.29s) === RUN TestSQLDBCheckHealthTableMissing --- PASS: TestSQLDBCheckHealthTableMissing (0.08s) === RUN TestSQLDBCheckHealthDBConnectionFail --- PASS: TestSQLDBCheckHealthDBConnectionFail (0.02s) === RUN TestSQLDBCheckHealthSucceeds --- PASS: TestSQLDBCheckHealthSucceeds (0.01s) === RUN TestSQLDBGetChecksum --- PASS: TestSQLDBGetChecksum (0.12s) === RUN TestSQLDBGetChecksumNotFound --- PASS: TestSQLDBGetChecksumNotFound (0.01s) === RUN TestSQLTUFMetaStoreGetCurrent --- PASS: TestSQLTUFMetaStoreGetCurrent (0.69s) === RUN TestSQLGetChanges --- PASS: TestSQLGetChanges (0.22s) === RUN TestSQLDBGetVersion --- PASS: TestSQLDBGetVersion (0.08s) PASS ok github.com/theupdateframework/notary/server/storage 2.606s === RUN TestTimestampExpired --- PASS: TestTimestampExpired (0.00s) === RUN TestTimestampNotExpired --- PASS: TestTimestampNotExpired (0.00s) === RUN TestGetTimestampKey --- PASS: TestGetTimestampKey (0.00s) === RUN TestGetTimestampNoPreviousTimestamp time="2021-10-09T16:21:04Z" level=error msg="Failed to unmarshal existing timestamp" --- PASS: TestGetTimestampNoPreviousTimestamp (0.10s) === RUN TestGetTimestampReturnsPreviousTimestampIfUnexpired --- PASS: TestGetTimestampReturnsPreviousTimestampIfUnexpired (0.01s) === RUN TestGetTimestampOldTimestampExpired --- PASS: TestGetTimestampOldTimestampExpired (0.09s) === RUN TestCannotMakeNewTimestampIfNoRootOrSnapshot time="2021-10-09T16:21:04Z" level=error msg="Failed to create a new timestamp" time="2021-10-09T16:21:04Z" level=error msg="Failed to create a new timestamp" --- PASS: TestCannotMakeNewTimestampIfNoRootOrSnapshot (0.01s) === RUN TestCreateTimestampNoKeyInCrypto time="2021-10-09T16:21:04Z" level=error msg="Failed to create a new timestamp" --- PASS: TestCreateTimestampNoKeyInCrypto (0.01s) === RUN TestGetTimestampKeyCreateWithFailingStore time="2021-10-09T16:21:04Z" level=error msg="Error when retrieving root role for GUN gun: failing store failed" --- PASS: TestGetTimestampKeyCreateWithFailingStore (0.00s) === RUN TestGetTimestampKeyCreateWithCorruptedStore time="2021-10-09T16:21:04Z" 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.08s) PASS ok github.com/theupdateframework/notary/server/timestamp 0.319s === RUN TestHealthCheckKMUnhealthy --- PASS: TestHealthCheckKMUnhealthy (0.00s) === RUN TestHealthCheckSignerUnhealthy --- PASS: TestHealthCheckSignerUnhealthy (0.00s) === RUN TestHealthCheckKMTimeout --- PASS: TestHealthCheckKMTimeout (0.00s) === RUN TestHealthCheckSignerTimeout --- PASS: TestHealthCheckSignerTimeout (0.00s) === RUN TestHealthCheckKMHealthy --- PASS: TestHealthCheckKMHealthy (0.00s) === RUN TestHealthCheckSignerHealthy --- PASS: TestHealthCheckSignerHealthy (0.00s) === RUN TestHealthCheckKMConnectionDied --- PASS: TestHealthCheckKMConnectionDied (0.00s) === RUN TestHealthCheckSignerConnectionDied --- PASS: TestHealthCheckSignerConnectionDied (0.00s) === RUN TestHealthCheckForOverallStatus --- PASS: TestHealthCheckForOverallStatus (0.00s) === RUN TestHealthCheckNonexistentService --- PASS: TestHealthCheckNonexistentService (0.00s) === RUN TestGetPrivateKeyAndSignWithExistingKey time="2021-10-09T16:21:10Z" level=info msg="Sign: Signed message! with KeyID a3c3faf724ece23712fc77103d1e9d5aaeb74333310303d8821205e4e1374665" go.version=go1.14.2 --- PASS: TestGetPrivateKeyAndSignWithExistingKey (0.20s) === RUN TestCannotSignWithKeyThatDoesntExist time="2021-10-09T16:21:10Z" level=error msg="Sign: key db489926f6c84c842a5ad134f6f3fa0dc605cba79dd214c023a901c0d87d47b2 not found" go.version=go1.14.2 --- PASS: TestCannotSignWithKeyThatDoesntExist (0.01s) === RUN TestCryptoSignerInterfaceBehavior time="2021-10-09T16:21:10Z" level=error msg="GetKeyInfo: key nonexistent not found" go.version=go1.14.2 time="2021-10-09T16:21:10Z" level=error msg="GetKeyInfo: key nonexistent not found" go.version=go1.14.2 time="2021-10-09T16:21:10Z" level=info msg="CreateKey: Created KeyID 35fa20a79c6e2ca28d038157359c12aed65dccfbb2bf8b15a69e7dfb208c3095" go.version=go1.14.2 time="2021-10-09T16:21:10Z" level=info msg="CreateKey: Created KeyID c2adaa0aa4d7bf203587c14a456c8f3ff98a1772b625b725a7c0198cee2929f3" go.version=go1.14.2 time="2021-10-09T16:21:10Z" level=error msg="GetKeyInfo: key 35fa20a79c6e2ca28d038157359c12aed65dccfbb2bf8b15a69e7dfb208c3095 not found" go.version=go1.14.2 time="2021-10-09T16:21:10Z" level=error msg="GetKeyInfo: key c2adaa0aa4d7bf203587c14a456c8f3ff98a1772b625b725a7c0198cee2929f3 not found" go.version=go1.14.2 --- PASS: TestCryptoSignerInterfaceBehavior (0.38s) PASS ok github.com/theupdateframework/notary/signer 0.698s ? github.com/theupdateframework/notary/signer/api [no test files] ? github.com/theupdateframework/notary/signer/client [no test files] === RUN TestGetSuccessPopulatesCache --- PASS: TestGetSuccessPopulatesCache (0.11s) === RUN TestAddKeyPopulatesCacheIfSuccessful --- PASS: TestAddKeyPopulatesCacheIfSuccessful (0.09s) === RUN TestDeleteKeyRemovesKeyFromCache --- PASS: TestDeleteKeyRemovesKeyFromCache (0.20s) === RUN TestRDBPrivateKeyJSONUnmarshalling --- PASS: TestRDBPrivateKeyJSONUnmarshalling (0.00s) === RUN TestRDBPrivateKeyJSONUnmarshallingFailure --- PASS: TestRDBPrivateKeyJSONUnmarshallingFailure (0.00s) === RUN TestNewSQLKeyDBStorePropagatesDBError `nodb` is not officially supported, running under compatibility mode. --- PASS: TestNewSQLKeyDBStorePropagatesDBError (0.00s) === RUN TestSQLDBHealthCheckMissingTable --- PASS: TestSQLDBHealthCheckMissingTable (0.41s) === RUN TestSQLDBHealthCheckNoConnection --- PASS: TestSQLDBHealthCheckNoConnection (0.01s) === RUN TestSQLKeyCanOnlyBeAddedOnce (UNIQUE constraint failed: private_keys.key_id) [2021-10-09 16:21:21]   --- PASS: TestSQLKeyCanOnlyBeAddedOnce (0.98s) === RUN TestSQLCreateDelete --- PASS: TestSQLCreateDelete (0.81s) === RUN TestSQLKeyRotation --- PASS: TestSQLKeyRotation (1.19s) === RUN TestSQLSigningMarksKeyActive time="2021-10-09T16:21:25Z" level=error msg="Key 777cff0beb5cf1d2f9d6f5f110841745aca18c42fb96f0481308208cc66211da was just used to sign hash successful, db closed, error when trying to mark key as active: sql: database is closed" (sql: database is closed) [2021-10-09 16:21:25]   --- PASS: TestSQLSigningMarksKeyActive (1.60s) === RUN TestSQLCreateKey --- PASS: TestSQLCreateKey (1.59s) === RUN TestSQLUnimplementedInterfaceBehavior --- PASS: TestSQLUnimplementedInterfaceBehavior (0.31s) PASS ok github.com/theupdateframework/notary/signer/keydbstore 7.482s === RUN TestSet --- PASS: TestSet (0.00s) === RUN TestSetWithNoParentDirectory --- PASS: TestSetWithNoParentDirectory (0.00s) === RUN TestSetRemovesExistingFileBeforeWriting --- PASS: TestSetRemovesExistingFileBeforeWriting (0.00s) === RUN TestGetSized --- PASS: TestGetSized (0.00s) === RUN TestGetSizedSet --- PASS: TestGetSizedSet (0.00s) === RUN TestRemove --- PASS: TestRemove (0.00s) === RUN TestRemoveAll --- PASS: TestRemoveAll (0.00s) === RUN TestAddFile --- PASS: TestAddFile (0.00s) === RUN TestRemoveFile --- PASS: TestRemoveFile (0.00s) === RUN TestListFiles --- PASS: TestListFiles (0.00s) === RUN TestGetPath --- PASS: TestGetPath (0.00s) === RUN TestGetPathProtection --- PASS: TestGetPathProtection (0.00s) === RUN TestGetData --- PASS: TestGetData (0.00s) === RUN TestCreateDirectory --- PASS: TestCreateDirectory (0.00s) === RUN TestCreatePrivateDirectory --- PASS: TestCreatePrivateDirectory (0.07s) === RUN TestFileStoreConsistency --- PASS: TestFileStoreConsistency (0.02s) === RUN TestHTTPStoreGetSized --- PASS: TestHTTPStoreGetSized (0.00s) === RUN TestHTTPStoreGetAllMeta --- PASS: TestHTTPStoreGetAllMeta (0.00s) === RUN TestSetSingleAndSetMultiMeta --- PASS: TestSetSingleAndSetMultiMeta (0.00s) === RUN Test404Error --- PASS: Test404Error (0.00s) === RUN Test50XErrors --- PASS: Test50XErrors (0.00s) === RUN Test400Error --- PASS: Test400Error (0.00s) === RUN TestTranslateErrorsParse400Errors --- PASS: TestTranslateErrorsParse400Errors (0.00s) === RUN TestTranslateErrorsWhenCannotParse400 --- PASS: TestTranslateErrorsWhenCannotParse400 (0.07s) === RUN TestTranslateErrorsLimitsErrorSize --- PASS: TestTranslateErrorsLimitsErrorSize (0.00s) === RUN TestHTTPStoreRemoveAll --- PASS: TestHTTPStoreRemoveAll (0.00s) === RUN TestHTTPStoreRotateKey --- PASS: TestHTTPStoreRotateKey (0.00s) === RUN TestHTTPStoreGetKey --- PASS: TestHTTPStoreGetKey (0.00s) === RUN TestHTTPStoreGetRotateKeySizeLimited --- PASS: TestHTTPStoreGetRotateKeySizeLimited (0.01s) === RUN TestHTTPOffline --- PASS: TestHTTPOffline (0.00s) === RUN TestErrServerUnavailable --- PASS: TestErrServerUnavailable (0.00s) === RUN TestNetworkError TestNetworkError: httpstore_test.go:390: DM-Skipped --- SKIP: TestNetworkError (0.00s) === RUN TestMemoryStoreMetadataOperations --- PASS: TestMemoryStoreMetadataOperations (0.00s) === RUN TestMemoryStoreGetSized --- PASS: TestMemoryStoreGetSized (0.00s) === RUN TestOfflineStore --- PASS: TestOfflineStore (0.00s) === RUN TestErrOffline --- PASS: TestErrOffline (0.00s) === RUN TestMemoryStoreMetadata --- PASS: TestMemoryStoreMetadata (0.00s) PASS ok github.com/theupdateframework/notary/storage 0.220s ? github.com/theupdateframework/notary/storage/rethinkdb [no test files] === RUN TestExportKeys --- PASS: TestExportKeys (0.00s) === RUN TestExportKeysByGUN --- PASS: TestExportKeysByGUN (0.00s) === RUN TestExportKeysByID --- PASS: TestExportKeysByID (0.00s) === RUN TestExport2InOneFile --- PASS: TestExport2InOneFile (0.07s) === RUN TestImportKeys --- PASS: TestImportKeys (0.00s) === RUN TestImportNoPath --- PASS: TestImportNoPath (0.01s) === RUN TestNonRootPathInference --- PASS: TestNonRootPathInference (0.01s) === RUN TestBlockHeaderPrecedenceRoleAndGun --- PASS: TestBlockHeaderPrecedenceRoleAndGun (0.01s) === RUN TestBlockHeaderPrecedenceGunFromPath --- PASS: TestBlockHeaderPrecedenceGunFromPath (0.07s) === RUN TestImportKeys2InOneFile --- PASS: TestImportKeys2InOneFile (0.00s) === RUN TestImportKeys2InOneFileNoPath --- PASS: TestImportKeys2InOneFileNoPath (0.02s) === RUN TestEncryptedKeyImportFail time="2021-10-09T16:21:21Z" 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.09s) === RUN TestEncryptedKeyImportSuccess --- PASS: TestEncryptedKeyImportSuccess (0.02s) === RUN TestEncryption --- PASS: TestEncryption (0.09s) === RUN TestAddKey --- PASS: TestAddKey (0.11s) === RUN TestKeyStoreInternalState --- PASS: TestKeyStoreInternalState (0.09s) === RUN TestGet --- PASS: TestGet (0.10s) === RUN TestGetLegacyKey --- PASS: TestGetLegacyKey (0.01s) === RUN TestListKeys --- PASS: TestListKeys (0.20s) === RUN TestAddGetKeyMemStore --- PASS: TestAddGetKeyMemStore (0.01s) === RUN TestAddGetKeyInfoMemStore --- PASS: TestAddGetKeyInfoMemStore (0.10s) === RUN TestGetDecryptedWithTamperedCipherText time="2021-10-09T16:21:22Z" level=error msg="PEM block is empty" --- PASS: TestGetDecryptedWithTamperedCipherText (0.02s) === RUN TestGetDecryptedWithInvalidPassphrase --- PASS: TestGetDecryptedWithInvalidPassphrase (0.19s) === RUN TestGetDecryptedWithConsistentlyInvalidPassphrase --- PASS: TestGetDecryptedWithConsistentlyInvalidPassphrase (0.29s) === RUN TestRemoveKey --- PASS: TestRemoveKey (0.30s) === RUN TestKeysAreCached --- PASS: TestKeysAreCached (0.10s) PASS ok github.com/theupdateframework/notary/trustmanager 1.901s === RUN TestRemoteStore time="2021-10-09T16:21:30Z" level=info msg="listing files from localhost:9888" time="2021-10-09T16:21:30Z" level=info msg="listing files from localhost:9888" --- PASS: TestRemoteStore (0.37s) === RUN TestErrors time="2021-10-09T16:21:30Z" level=error msg="failed to store: test error" --- PASS: TestErrors (0.20s) === RUN TestNewGRPCStorage --- PASS: TestNewGRPCStorage (0.00s) === RUN TestGRPCStorage --- PASS: TestGRPCStorage (0.00s) PASS ok github.com/theupdateframework/notary/trustmanager/remoteks 0.592s ? github.com/theupdateframework/notary/trustmanager/yubikey [no test files] === RUN TestWildcardMatch --- PASS: TestWildcardMatch (0.00s) === RUN TestValidateRoot 2021/10/09 16:21:43 [INFO] generate received request 2021/10/09 16:21:43 [INFO] received CSR 2021/10/09 16:21:43 [INFO] generating key: ecdsa-256 2021/10/09 16:21:43 [INFO] encoded CSR 2021/10/09 16:21:43 [INFO] signed certificate with serial number 628624941124988064672598590737217914246662202298 2021/10/09 16:21:43 [INFO] received CSR 2021/10/09 16:21:43 [INFO] generating key: ecdsa-256 2021/10/09 16:21:43 [INFO] encoded CSR 2021/10/09 16:21:43 [INFO] signed certificate with serial number 210230251144592293655761250917633940350681347355 2021/10/09 16:21:43 [INFO] received CSR 2021/10/09 16:21:43 [INFO] generating key: ecdsa-256 2021/10/09 16:21:43 [INFO] encoded CSR 2021/10/09 16:21:43 [INFO] signed certificate with serial number 573669136869348802602169056874864521234130956889 --- PASS: TestValidateRoot (0.12s) === RUN TestValidateRootWithoutTOFUS --- PASS: TestValidateRootWithoutTOFUS (0.00s) === RUN TestValidateRootWithPinnedCert --- PASS: TestValidateRootWithPinnedCert (0.07s) === RUN TestValidateRootWithPinnedCertAndIntermediates --- PASS: TestValidateRootWithPinnedCertAndIntermediates (0.02s) === RUN TestValidateRootFailuresWithPinnedCert --- PASS: TestValidateRootFailuresWithPinnedCert (0.08s) === RUN TestValidateRootWithPinnedCA --- PASS: TestValidateRootWithPinnedCA (0.30s) === RUN TestValidateSuccessfulRootRotation --- PASS: TestValidateSuccessfulRootRotation (0.13s) === RUN TestValidateRootRotationMissingOrigSig --- PASS: TestValidateRootRotationMissingOrigSig (0.28s) === RUN TestValidateRootRotationMissingNewSig --- PASS: TestValidateRootRotationMissingNewSig (0.20s) === RUN TestValidateRootRotationTrustPinning --- PASS: TestValidateRootRotationTrustPinning (0.20s) === RUN TestValidateRootRotationTrustPinningInvalidCA --- PASS: TestValidateRootRotationTrustPinningInvalidCA (0.11s) === RUN TestParsePEMPublicKey time="2021-10-09T16:21:45Z" level=warning msg="certificate with CN notary is near expiry" --- PASS: TestParsePEMPublicKey (0.08s) === RUN TestCheckingCertExpiry time="2021-10-09T16:21:45Z" level=warning msg="certificate with CN notary is near expiry" --- PASS: TestCheckingCertExpiry (0.02s) === RUN TestValidateRootWithExpiredIntermediate --- PASS: TestValidateRootWithExpiredIntermediate (0.09s) === RUN TestCheckingWildcardCert --- PASS: TestCheckingWildcardCert (0.01s) === RUN TestWildcardMatching --- PASS: TestWildcardMatching (0.00s) PASS ok github.com/theupdateframework/notary/trustpinning 1.723s === RUN TestInitSnapshotNoTargets --- PASS: TestInitSnapshotNoTargets (0.00s) === RUN TestInitRepo --- PASS: TestInitRepo (0.01s) === RUN TestUpdateDelegations --- PASS: TestUpdateDelegations (0.00s) === RUN TestPurgeDelegationsKeyFromTop time="2021-10-09T16:21:44Z" 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="2021-10-09T16:21:44Z" 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) === RUN TestPurgeDelegationsKeyFromDeep time="2021-10-09T16:21:44Z" level=warning msg="role targets/vimes/carrot has fewer keys than its threshold of 1; it will not be usable until keys are added to it" --- PASS: TestPurgeDelegationsKeyFromDeep (0.00s) === RUN TestPurgeDelegationsKeyBadWildRole --- PASS: TestPurgeDelegationsKeyBadWildRole (0.00s) === RUN TestUpdateDelegationsParentMissing --- PASS: TestUpdateDelegationsParentMissing (0.00s) === RUN TestUpdateDelegationsMissingParentKey --- PASS: TestUpdateDelegationsMissingParentKey (0.00s) === RUN TestUpdateDelegationsInvalidRole --- PASS: TestUpdateDelegationsInvalidRole (0.00s) === RUN TestUpdateDelegationsRoleThatIsMissingDelegationKey --- PASS: TestUpdateDelegationsRoleThatIsMissingDelegationKey (0.00s) === RUN TestUpdateDelegationsNotEnoughKeys time="2021-10-09T16:21:44Z" 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) === RUN TestDeleteDelegations --- PASS: TestDeleteDelegations (0.00s) === RUN TestDeleteDelegationsRoleNotExistBecauseNoParentMeta --- PASS: TestDeleteDelegationsRoleNotExistBecauseNoParentMeta (0.00s) === RUN TestDeleteDelegationsRoleNotExist --- PASS: TestDeleteDelegationsRoleNotExist (0.00s) === RUN TestDeleteDelegationsInvalidRole --- PASS: TestDeleteDelegationsInvalidRole (0.00s) === RUN TestDeleteDelegationsParentMissing --- PASS: TestDeleteDelegationsParentMissing (0.00s) === RUN TestDeleteDelegationsMissingParentSigningKey --- PASS: TestDeleteDelegationsMissingParentSigningKey (0.00s) === RUN TestDeleteDelegationsMidSliceRole --- PASS: TestDeleteDelegationsMidSliceRole (0.07s) === RUN TestGetDelegationRoleAndMetadataExistDelegationExists --- PASS: TestGetDelegationRoleAndMetadataExistDelegationExists (0.00s) === RUN TestGetDelegationRoleAndMetadataExistDelegationDoesntExists --- PASS: TestGetDelegationRoleAndMetadataExistDelegationDoesntExists (0.00s) === RUN TestGetDelegationRoleAndMetadataDoesntExists --- PASS: TestGetDelegationRoleAndMetadataDoesntExists (0.00s) === RUN TestGetDelegationParentMissing --- PASS: TestGetDelegationParentMissing (0.00s) === RUN TestAddTargetsRoleAndMetadataExist --- PASS: TestAddTargetsRoleAndMetadataExist (0.00s) === RUN TestAddTargetsRoleExistsAndMetadataDoesntExist --- PASS: TestAddTargetsRoleExistsAndMetadataDoesntExist (0.00s) === RUN TestAddTargetsRoleDoesntExist --- PASS: TestAddTargetsRoleDoesntExist (0.00s) === RUN TestAddTargetsNoSigningKeys --- PASS: TestAddTargetsNoSigningKeys (0.00s) === RUN TestRemoveExistingAndNonexistingTargets --- PASS: TestRemoveExistingAndNonexistingTargets (0.00s) === RUN TestRemoveTargetsRoleDoesntExist --- PASS: TestRemoveTargetsRoleDoesntExist (0.00s) === RUN TestRemoveTargetsNoSigningKeys --- PASS: TestRemoveTargetsNoSigningKeys (0.00s) === RUN TestAddBaseKeysToRoot --- PASS: TestAddBaseKeysToRoot (0.00s) === RUN TestRemoveBaseKeysFromRoot --- PASS: TestRemoveBaseKeysFromRoot (0.00s) === RUN TestReplaceBaseKeysInRoot --- PASS: TestReplaceBaseKeysInRoot (0.08s) === RUN TestGetAllRoles --- PASS: TestGetAllRoles (0.00s) === RUN TestGetBaseRoles --- PASS: TestGetBaseRoles (0.00s) === RUN TestGetBaseRolesInvalidName --- PASS: TestGetBaseRolesInvalidName (0.00s) === RUN TestGetDelegationValidRoles --- PASS: TestGetDelegationValidRoles (0.00s) === RUN TestGetDelegationRolesInvalidName --- PASS: TestGetDelegationRolesInvalidName (0.00s) === RUN TestGetDelegationRolesInvalidPaths --- PASS: TestGetDelegationRolesInvalidPaths (0.00s) === RUN TestDelegationRolesParent --- PASS: TestDelegationRolesParent (0.00s) === RUN TestGetBaseRoleEmptyRepo --- PASS: TestGetBaseRoleEmptyRepo (0.00s) === RUN TestGetBaseRoleKeyMissing --- PASS: TestGetBaseRoleKeyMissing (0.00s) === RUN TestGetDelegationRoleKeyMissing --- PASS: TestGetDelegationRoleKeyMissing (0.00s) === RUN TestSignRootOldKeyCertExists --- PASS: TestSignRootOldKeyCertExists (0.28s) === RUN TestSignRootOldKeyCertMissing --- PASS: TestSignRootOldKeyCertMissing (0.12s) === RUN TestRootKeyRotation --- PASS: TestRootKeyRotation (0.40s) === RUN TestBuilderLoadsValidRolesOnly --- PASS: TestBuilderLoadsValidRolesOnly (0.01s) === RUN TestBuilderOnlyAcceptsRootFirstWhenLoading --- PASS: TestBuilderOnlyAcceptsRootFirstWhenLoading (0.07s) === RUN TestBuilderOnlyAcceptsDelegationsAfterParent --- PASS: TestBuilderOnlyAcceptsDelegationsAfterParent (0.00s) === RUN TestMarkingIsValid --- PASS: TestMarkingIsValid (0.01s) === RUN TestBuilderLoadInvalidDelegations --- PASS: TestBuilderLoadInvalidDelegations (0.01s) === RUN TestBuilderLoadInvalidDelegationsOldVersion --- PASS: TestBuilderLoadInvalidDelegationsOldVersion (0.08s) === RUN TestBuilderAcceptRoleOnce --- PASS: TestBuilderAcceptRoleOnce (0.01s) === RUN TestBuilderStopsAcceptingOrProducingDataOnceDone --- PASS: TestBuilderStopsAcceptingOrProducingDataOnceDone (0.01s) === RUN TestGenerateSnapshotInvalidOperations --- PASS: TestGenerateSnapshotInvalidOperations (0.30s) === RUN TestGenerateTimestampInvalidOperations --- PASS: TestGenerateTimestampInvalidOperations (0.12s) === RUN TestGetConsistentInfo --- PASS: TestGetConsistentInfo (0.01s) === RUN TestTimestampPreAndPostChecksumming --- PASS: TestTimestampPreAndPostChecksumming (0.07s) === RUN TestSnapshotLoadedFirstChecksumsOthers --- PASS: TestSnapshotLoadedFirstChecksumsOthers (0.10s) === RUN TestSnapshotLoadedAfterChecksumsOthersRetroactively --- PASS: TestSnapshotLoadedAfterChecksumsOthersRetroactively (0.10s) PASS ok github.com/theupdateframework/notary/tuf 1.980s === RUN TestMergeStrSlicesExclusive --- PASS: TestMergeStrSlicesExclusive (0.00s) === RUN TestMergeStrSlicesOverlap --- PASS: TestMergeStrSlicesOverlap (0.00s) === RUN TestMergeStrSlicesEqual --- PASS: TestMergeStrSlicesEqual (0.00s) === RUN TestSubtractStrSlicesExclusive --- PASS: TestSubtractStrSlicesExclusive (0.00s) === RUN TestSubtractStrSlicesOverlap --- PASS: TestSubtractStrSlicesOverlap (0.00s) === RUN TestSubtractStrSlicesEqual --- PASS: TestSubtractStrSlicesEqual (0.00s) === RUN TestAddRemoveKeys --- PASS: TestAddRemoveKeys (0.00s) === RUN TestAddRemovePaths --- PASS: TestAddRemovePaths (0.00s) === RUN TestAddPathNil --- PASS: TestAddPathNil (0.00s) === RUN TestErrNoSuchRole --- PASS: TestErrNoSuchRole (0.00s) === RUN TestErrInvalidRole --- PASS: TestErrInvalidRole (0.00s) === RUN TestIsDelegation --- PASS: TestIsDelegation (0.00s) === RUN TestIsWildDelegation --- PASS: TestIsWildDelegation (0.00s) === RUN TestValidRoleFunction --- PASS: TestValidRoleFunction (0.00s) === RUN TestIsBaseRole --- PASS: TestIsBaseRole (0.00s) === RUN TestBaseRoleEquals --- PASS: TestBaseRoleEquals (0.00s) === RUN TestRootToSignedMarshalsSignedPortionWithCanonicalJSON --- PASS: TestRootToSignedMarshalsSignedPortionWithCanonicalJSON (0.00s) === RUN TestRootToSignCopiesSignatures --- PASS: TestRootToSignCopiesSignatures (0.00s) === RUN TestRootToSignedMarshallingErrorsPropagated --- PASS: TestRootToSignedMarshallingErrorsPropagated (0.00s) === RUN TestRootMarshalJSONMarshalsSignedWithRegularJSON --- PASS: TestRootMarshalJSONMarshalsSignedWithRegularJSON (0.00s) === RUN TestRootMarshalJSONMarshallingErrorsPropagated --- PASS: TestRootMarshalJSONMarshallingErrorsPropagated (0.00s) === RUN TestRootFromSignedUnmarshallingErrorsPropagated --- PASS: TestRootFromSignedUnmarshallingErrorsPropagated (0.00s) === RUN TestRootFromSignedCopiesSignatures --- PASS: TestRootFromSignedCopiesSignatures (0.00s) === RUN TestRootFromSignedValidatesRoleData --- PASS: TestRootFromSignedValidatesRoleData (0.07s) === RUN TestRootFromSignedValidatesRoleType --- PASS: TestRootFromSignedValidatesRoleType (0.00s) === RUN TestRootFromSignedValidatesVersion --- PASS: TestRootFromSignedValidatesVersion (0.00s) === RUN TestSnapshotToSignedMarshalsSignedPortionWithCanonicalJSON --- PASS: TestSnapshotToSignedMarshalsSignedPortionWithCanonicalJSON (0.00s) === RUN TestSnapshotToSignCopiesSignatures --- PASS: TestSnapshotToSignCopiesSignatures (0.00s) === RUN TestSnapshotToSignedMarshallingErrorsPropagated --- PASS: TestSnapshotToSignedMarshallingErrorsPropagated (0.00s) === RUN TestSnapshotMarshalJSONMarshalsSignedWithRegularJSON --- PASS: TestSnapshotMarshalJSONMarshalsSignedWithRegularJSON (0.00s) === RUN TestSnapshotMarshalJSONMarshallingErrorsPropagated --- PASS: TestSnapshotMarshalJSONMarshallingErrorsPropagated (0.00s) === RUN TestSnapshotFromSignedUnmarshallingErrorsPropagated --- PASS: TestSnapshotFromSignedUnmarshallingErrorsPropagated (0.00s) === RUN TestSnapshotFromSignedCopiesSignatures --- PASS: TestSnapshotFromSignedCopiesSignatures (0.00s) === RUN TestSnapshotFromSignedValidatesMeta --- PASS: TestSnapshotFromSignedValidatesMeta (0.00s) === RUN TestSnapshotFromSignedValidatesRoleType --- PASS: TestSnapshotFromSignedValidatesRoleType (0.00s) === RUN TestSnapshotFromSignedValidatesVersion --- PASS: TestSnapshotFromSignedValidatesVersion (0.00s) === RUN TestSnapshotGetMeta --- PASS: TestSnapshotGetMeta (0.00s) === RUN TestTargetsToSignedMarshalsSignedPortionWithCanonicalJSON --- PASS: TestTargetsToSignedMarshalsSignedPortionWithCanonicalJSON (0.00s) === RUN TestTargetsToSignCopiesSignatures --- PASS: TestTargetsToSignCopiesSignatures (0.00s) === RUN TestTargetsToSignedMarshallingErrorsPropagated --- PASS: TestTargetsToSignedMarshallingErrorsPropagated (0.00s) === RUN TestTargetsMarshalJSONMarshalsSignedWithRegularJSON --- PASS: TestTargetsMarshalJSONMarshalsSignedWithRegularJSON (0.00s) === RUN TestTargetsMarshalJSONMarshallingErrorsPropagated --- PASS: TestTargetsMarshalJSONMarshallingErrorsPropagated (0.00s) === RUN TestTargetsFromSignedUnmarshallingErrorsPropagated --- PASS: TestTargetsFromSignedUnmarshallingErrorsPropagated (0.00s) === RUN TestTargetsFromSignedCopiesSignatures --- PASS: TestTargetsFromSignedCopiesSignatures (0.00s) === RUN TestTargetsFromSignedValidatesDelegations --- PASS: TestTargetsFromSignedValidatesDelegations (0.00s) === RUN TestTargetsFromSignedValidatesRoleType --- PASS: TestTargetsFromSignedValidatesRoleType (0.00s) === RUN TestTargetsFromSignedValidatesRoleName --- PASS: TestTargetsFromSignedValidatesRoleName (0.00s) === RUN TestTargetsFromSignedValidatesVersion --- PASS: TestTargetsFromSignedValidatesVersion (0.00s) === RUN TestTimestampToSignedMarshalsSignedPortionWithCanonicalJSON --- PASS: TestTimestampToSignedMarshalsSignedPortionWithCanonicalJSON (0.00s) === RUN TestTimestampToSignCopiesSignatures --- PASS: TestTimestampToSignCopiesSignatures (0.00s) === RUN TestTimestampToSignedMarshallingErrorsPropagated --- PASS: TestTimestampToSignedMarshallingErrorsPropagated (0.00s) === RUN TestTimestampMarshalJSONMarshalsSignedWithRegularJSON --- PASS: TestTimestampMarshalJSONMarshalsSignedWithRegularJSON (0.00s) === RUN TestTimestampMarshalJSONMarshallingErrorsPropagated --- PASS: TestTimestampMarshalJSONMarshallingErrorsPropagated (0.00s) === RUN TestTimestampFromSignedUnmarshallingErrorsPropagated --- PASS: TestTimestampFromSignedUnmarshallingErrorsPropagated (0.00s) === RUN TestTimestampFromSignedCopiesSignatures --- PASS: TestTimestampFromSignedCopiesSignatures (0.00s) === RUN TestTimestampFromSignedValidatesMeta --- PASS: TestTimestampFromSignedValidatesMeta (0.00s) === RUN TestTimestampFromSignedValidatesRoleType --- PASS: TestTimestampFromSignedValidatesRoleType (0.00s) === RUN TestTimestampFromSignedValidatesVersion --- PASS: TestTimestampFromSignedValidatesVersion (0.00s) === RUN TestTimestampGetSnapshot --- PASS: TestTimestampGetSnapshot (0.00s) === RUN TestGenerateFileMetaDefault --- PASS: TestGenerateFileMetaDefault (0.00s) === RUN TestGenerateFileMetaExplicit --- PASS: TestGenerateFileMetaExplicit (0.00s) === RUN TestSignatureUnmarshalJSON --- PASS: TestSignatureUnmarshalJSON (0.00s) === RUN TestCheckHashes --- PASS: TestCheckHashes (0.00s) === RUN TestCheckValidHashStructures --- PASS: TestCheckValidHashStructures (0.00s) === RUN TestCompareMultiHashes --- PASS: TestCompareMultiHashes (0.00s) === RUN TestFileMetaEquals --- PASS: TestFileMetaEquals (0.00s) PASS ok github.com/theupdateframework/notary/tuf/data 0.185s === RUN TestListKeys --- PASS: TestListKeys (0.00s) === RUN TestGetKeys --- PASS: TestGetKeys (0.00s) === RUN TestBasicSign --- PASS: TestBasicSign (0.00s) === RUN TestReSign --- PASS: TestReSign (0.00s) === RUN TestMultiSign --- PASS: TestMultiSign (0.00s) === RUN TestSignReturnsNoSigs --- PASS: TestSignReturnsNoSigs (0.00s) === RUN TestSignWithX509 --- PASS: TestSignWithX509 (0.00s) === RUN TestSignRemovesValidSigByInvalidKey --- PASS: TestSignRemovesValidSigByInvalidKey (0.07s) === RUN TestSignRemovesInvalidSig --- PASS: TestSignRemovesInvalidSig (0.00s) === RUN TestSignMinSignatures --- PASS: TestSignMinSignatures (0.00s) === RUN TestSignFailingKeys --- PASS: TestSignFailingKeys (0.02s) === RUN TestErrInsufficientSignaturesMessaging --- PASS: TestErrInsufficientSignaturesMessaging (0.00s) === RUN TestRSAPSSVerifier --- PASS: TestRSAPSSVerifier (0.09s) === RUN TestRSAPSSx509Verifier --- PASS: TestRSAPSSx509Verifier (0.00s) === RUN TestRSAPSSVerifierWithInvalidKeyType --- PASS: TestRSAPSSVerifierWithInvalidKeyType (0.00s) === RUN TestRSAPSSVerifierWithInvalidKeyLength --- PASS: TestRSAPSSVerifierWithInvalidKeyLength (0.31s) === RUN TestRSAPSSVerifierWithInvalidKey --- PASS: TestRSAPSSVerifierWithInvalidKey (0.00s) === RUN TestRSAPSSVerifierWithInvalidSignature --- PASS: TestRSAPSSVerifierWithInvalidSignature (0.09s) === RUN TestRSAPKCS1v15Verifier --- PASS: TestRSAPKCS1v15Verifier (0.01s) === RUN TestRSAPKCS1v15x509Verifier --- PASS: TestRSAPKCS1v15x509Verifier (0.09s) === RUN TestRSAPKCS1v15VerifierWithInvalidKeyType --- PASS: TestRSAPKCS1v15VerifierWithInvalidKeyType (0.00s) === RUN TestRSAPKCS1v15VerifierWithInvalidKey --- PASS: TestRSAPKCS1v15VerifierWithInvalidKey (0.00s) === RUN TestRSAPKCS1v15VerifierWithInvalidSignature time="2021-10-09T16:21:54Z" level=error msg="Failed verification: crypto/rsa: verification error" --- PASS: TestRSAPKCS1v15VerifierWithInvalidSignature (0.01s) === RUN TestECDSAVerifier --- PASS: TestECDSAVerifier (0.00s) === RUN TestECDSAVerifierOtherCurves --- PASS: TestECDSAVerifierOtherCurves (0.80s) === RUN TestECDSAx509Verifier --- PASS: TestECDSAx509Verifier (0.00s) === RUN TestECDSAVerifierWithInvalidKeyType --- PASS: TestECDSAVerifierWithInvalidKeyType (0.00s) === RUN TestECDSAVerifierWithInvalidKey --- PASS: TestECDSAVerifierWithInvalidKey (0.00s) === RUN TestECDSAVerifierWithInvalidSignature --- PASS: TestECDSAVerifierWithInvalidSignature (0.00s) === RUN TestED25519VerifierInvalidKeyType --- PASS: TestED25519VerifierInvalidKeyType (0.00s) === RUN TestRSAPyCryptoVerifierInvalidKeyType --- PASS: TestRSAPyCryptoVerifierInvalidKeyType (0.00s) === RUN TestPyCryptoRSAPSSCompat --- PASS: TestPyCryptoRSAPSSCompat (0.00s) === RUN TestPyNaCled25519Compat --- PASS: TestPyNaCled25519Compat (0.00s) === RUN TestRoleNoKeys --- PASS: TestRoleNoKeys (0.00s) === RUN TestNotEnoughSigs --- PASS: TestNotEnoughSigs (0.00s) === RUN TestNoSigs --- PASS: TestNoSigs (0.00s) === RUN TestExactlyEnoughSigs --- PASS: TestExactlyEnoughSigs (0.00s) === RUN TestIsValidNotExported --- PASS: TestIsValidNotExported (0.00s) === RUN TestMoreThanEnoughSigs --- PASS: TestMoreThanEnoughSigs (0.00s) === RUN TestValidSigWithIncorrectKeyID --- PASS: TestValidSigWithIncorrectKeyID (0.00s) === RUN TestDuplicateSigs --- PASS: TestDuplicateSigs (0.00s) === RUN TestUnknownKeyBelowThreshold --- PASS: TestUnknownKeyBelowThreshold (0.00s) === RUN TestVerifyVersion --- PASS: TestVerifyVersion (0.00s) === RUN TestVerifyExpiry time="2021-10-09T16:21:54Z" level=error msg="Metadata for root expired" --- PASS: TestVerifyExpiry (0.00s) === RUN TestVerifyPublicKeyMatchesPrivateKeyHappyCase --- PASS: TestVerifyPublicKeyMatchesPrivateKeyHappyCase (0.00s) === RUN TestVerifyPublicKeyMatchesPrivateKeyFails --- PASS: TestVerifyPublicKeyMatchesPrivateKeyFails (0.00s) PASS ok github.com/theupdateframework/notary/tuf/signed 1.617s === RUN TestNewSwizzler --- PASS: TestNewSwizzler (0.10s) === RUN TestSwizzlerSetInvalidJSON --- PASS: TestSwizzlerSetInvalidJSON (0.01s) === RUN TestSwizzlerAddExtraSpace --- PASS: TestSwizzlerAddExtraSpace (0.01s) === RUN TestSwizzlerSetInvalidSigned --- PASS: TestSwizzlerSetInvalidSigned (0.08s) === RUN TestSwizzlerSetInvalidSignedMeta --- PASS: TestSwizzlerSetInvalidSignedMeta (0.03s) === RUN TestSwizzlerSetInvalidMetadataType --- PASS: TestSwizzlerSetInvalidMetadataType (0.00s) === RUN TestSwizzlerInvalidateMetadataSignatures --- PASS: TestSwizzlerInvalidateMetadataSignatures (0.01s) === RUN TestSwizzlerRemoveMetadata --- PASS: TestSwizzlerRemoveMetadata (0.00s) === RUN TestSwizzlerSignMetadataWithInvalidKey --- PASS: TestSwizzlerSignMetadataWithInvalidKey (0.07s) === RUN TestSwizzlerOffsetMetadataVersion --- PASS: TestSwizzlerOffsetMetadataVersion (0.01s) === RUN TestSwizzlerExpireMetadata --- PASS: TestSwizzlerExpireMetadata (0.01s) === RUN TestSwizzlerSetThresholdBaseRole --- PASS: TestSwizzlerSetThresholdBaseRole (0.01s) === RUN TestSwizzlerSetThresholdDelegatedRole --- PASS: TestSwizzlerSetThresholdDelegatedRole (0.01s) === RUN TestSwizzlerChangeRootKey --- PASS: TestSwizzlerChangeRootKey (0.01s) === RUN TestSwizzlerUpdateSnapshotHashesSpecifiedRoles --- PASS: TestSwizzlerUpdateSnapshotHashesSpecifiedRoles (0.01s) === RUN TestSwizzlerUpdateSnapshotHashesNoSpecifiedRoles --- PASS: TestSwizzlerUpdateSnapshotHashesNoSpecifiedRoles (0.09s) === RUN TestSwizzlerUpdateTimestamp --- PASS: TestSwizzlerUpdateTimestamp (0.01s) === RUN TestMissingSigningKey --- PASS: TestMissingSigningKey (0.01s) === RUN TestSwizzlerMutateRoot --- PASS: TestSwizzlerMutateRoot (0.02s) === RUN TestSwizzlerMutateTimestamp --- PASS: TestSwizzlerMutateTimestamp (0.01s) === RUN TestSwizzlerMutateSnapshot --- PASS: TestSwizzlerMutateSnapshot (0.08s) === RUN TestSwizzlerMutateTargets --- PASS: TestSwizzlerMutateTargets (0.01s) === RUN TestSwizzlerRotateKeyBaseRole --- PASS: TestSwizzlerRotateKeyBaseRole (0.09s) === RUN TestSwizzlerRotateKeyDelegationRole --- PASS: TestSwizzlerRotateKeyDelegationRole (0.01s) PASS ok github.com/theupdateframework/notary/tuf/testutils 0.894s ? 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.12s) === RUN TestParsePKCS8ToTufKey --- PASS: TestParsePKCS8ToTufKey (0.90s) === RUN TestPEMtoPEM --- PASS: TestPEMtoPEM (0.00s) === RUN TestRoleListLen --- PASS: TestRoleListLen (0.00s) === RUN TestRoleListLess --- PASS: TestRoleListLess (0.00s) === RUN TestRoleListSwap --- PASS: TestRoleListSwap (0.00s) === RUN TestRoleListSort --- PASS: TestRoleListSort (0.00s) === RUN TestCreateStack --- PASS: TestCreateStack (0.00s) === RUN TestPush --- PASS: TestPush (0.00s) === RUN TestPop --- PASS: TestPop (0.00s) === RUN TestPopEmpty --- PASS: TestPopEmpty (0.00s) === RUN TestPopString --- PASS: TestPopString (0.00s) === RUN TestPopStringWrongType --- PASS: TestPopStringWrongType (0.00s) === RUN TestPopStringEmpty --- PASS: TestPopStringEmpty (0.00s) === RUN TestEmpty --- PASS: TestEmpty (0.00s) === RUN TestUnusedDelegationKeys --- PASS: TestUnusedDelegationKeys (0.00s) === RUN TestRemoveUnusedKeys --- PASS: TestRemoveUnusedKeys (0.00s) === RUN TestFindRoleIndexFound --- PASS: TestFindRoleIndexFound (0.00s) === RUN TestFindRoleIndexNotFound --- PASS: TestFindRoleIndexNotFound (0.00s) === RUN TestCertsToKeys --- PASS: TestCertsToKeys (0.00s) === RUN TestNewCertificate --- PASS: TestNewCertificate (0.00s) === RUN TestKeyOperations --- PASS: TestKeyOperations (0.28s) === RUN TestRSAX509PublickeyID --- PASS: TestRSAX509PublickeyID (0.00s) === RUN TestECDSAX509PublickeyID --- PASS: TestECDSAX509PublickeyID (0.00s) === RUN TestExtractPrivateKeyAttributes --- PASS: TestExtractPrivateKeyAttributes (0.00s) === RUN TestParsePEMPrivateKeyLegacy --- PASS: TestParsePEMPrivateKeyLegacy (0.00s) === RUN TestValidateCertificateWithSHA1 --- PASS: TestValidateCertificateWithSHA1 (0.00s) === RUN TestValidateCertificateWithExpiredCert --- PASS: TestValidateCertificateWithExpiredCert (0.00s) === RUN TestValidateCertificateWithInvalidExpiry --- PASS: TestValidateCertificateWithInvalidExpiry (0.00s) === RUN TestValidateCertificateWithShortKey --- PASS: TestValidateCertificateWithShortKey (0.30s) PASS ok github.com/theupdateframework/notary/tuf/utils 1.866s === RUN TestNewSerializableErrorNonValidationError --- PASS: TestNewSerializableErrorNonValidationError (0.00s) === RUN TestNewSerializableErrorValidationError --- PASS: TestNewSerializableErrorValidationError (0.00s) === RUN TestUnmarshalSerialiableErrorSuccessfully --- PASS: TestUnmarshalSerialiableErrorSuccessfully (0.00s) === RUN TestUnmarshalUnknownErrorName --- PASS: TestUnmarshalUnknownErrorName (0.00s) === RUN TestUnmarshalInvalidError --- PASS: TestUnmarshalInvalidError (0.00s) === RUN TestUnmarshalNoName --- PASS: TestUnmarshalNoName (0.00s) === RUN TestUnmarshalInvalidJSON --- PASS: TestUnmarshalInvalidJSON (0.00s) PASS ok github.com/theupdateframework/notary/tuf/validation 0.087s === RUN TestSetSignalTrap --- PASS: TestSetSignalTrap (0.00s) === RUN TestLogLevelSignalHandle Attempt to increase log level failed, will remain at debug level, error: log level can not be set higher than Debug Successfully setting log level to debug Successfully setting log level to info Successfully setting log level to warning Successfully setting log level to error Successfully setting log level to fatal Successfully setting log level to info Successfully setting log level to warning Successfully setting log level to error Successfully setting log level to fatal Successfully setting log level to panic Attempt to decrease log level failed, will remain at panic level, error: log level can not be set lower than Panic --- PASS: TestLogLevelSignalHandle (0.00s) === RUN TestParseInvalidLogLevel --- PASS: TestParseInvalidLogLevel (0.00s) === RUN TestParseNoLogLevel --- PASS: TestParseNoLogLevel (0.00s) === RUN TestParseLogLevel --- PASS: TestParseLogLevel (0.00s) === RUN TestParseLogLevelWithEnvironmentVariables --- PASS: TestParseLogLevelWithEnvironmentVariables (0.00s) === RUN TestParseInvalidBugsnag --- PASS: TestParseInvalidBugsnag (0.00s) === RUN TestParseNoBugsnag --- PASS: TestParseNoBugsnag (0.00s) === RUN TestParseBugsnag --- PASS: TestParseBugsnag (0.00s) === RUN TestParseBugsnagWithEnvironmentVariables --- PASS: TestParseBugsnagWithEnvironmentVariables (0.00s) === RUN TestParseInvalidStorageBackend --- PASS: TestParseInvalidStorageBackend (0.00s) === RUN TestParseInvalidSQLStorageNoDBSource --- PASS: TestParseInvalidSQLStorageNoDBSource (0.00s) === RUN TestParseInvalidDBSourceInSQLStorage --- PASS: TestParseInvalidDBSourceInSQLStorage (0.00s) === RUN TestParseSQLStorageDBStore --- PASS: TestParseSQLStorageDBStore (0.00s) === RUN TestParseRethinkStorageDBStoreInvalidBackend --- PASS: TestParseRethinkStorageDBStoreInvalidBackend (0.00s) === RUN TestParseRethinkStorageDBStoreEmptyDBUrl --- PASS: TestParseRethinkStorageDBStoreEmptyDBUrl (0.00s) === RUN TestParseRethinkStorageDBStoreEmptyDBName --- PASS: TestParseRethinkStorageDBStoreEmptyDBName (0.00s) === RUN TestParseRethinkStorageDBStoreEmptyCA --- PASS: TestParseRethinkStorageDBStoreEmptyCA (0.00s) === RUN TestParseRethinkStorageDBStoreEmptyCertAndKey --- PASS: TestParseRethinkStorageDBStoreEmptyCertAndKey (0.00s) === RUN TestParseRethinkStorageDBStoreEmptyUsername --- PASS: TestParseRethinkStorageDBStoreEmptyUsername (0.00s) === RUN TestParseSQLStorageWithEnvironmentVariables --- PASS: TestParseSQLStorageWithEnvironmentVariables (0.00s) === RUN TestParseTLSNoTLSWhenRequired --- PASS: TestParseTLSNoTLSWhenRequired (0.00s) === RUN TestParseTLSPartialTLS --- PASS: TestParseTLSPartialTLS (0.00s) === RUN TestParseTLSNoTLSNotRequired --- PASS: TestParseTLSNoTLSNotRequired (0.00s) === RUN TestParseTLSWithTLS --- PASS: TestParseTLSWithTLS (0.00s) === RUN TestParseTLSWithTLSRelativeToConfigFile --- PASS: TestParseTLSWithTLSRelativeToConfigFile (0.00s) === RUN TestParseTLSWithEnvironmentVariables --- PASS: TestParseTLSWithEnvironmentVariables (0.00s) === RUN TestParseViperWithInvalidFile --- PASS: TestParseViperWithInvalidFile (0.00s) === RUN TestParseViperWithValidFile --- PASS: TestParseViperWithValidFile (0.00s) === RUN TestAdjustLogLevel --- PASS: TestAdjustLogLevel (0.00s) === RUN TestRootHandlerFactory --- PASS: TestRootHandlerFactory (0.00s) === RUN TestRootHandlerError --- PASS: TestRootHandlerError (0.00s) === RUN TestWrapWithCacheHeaderNilCacheControlConfig --- PASS: TestWrapWithCacheHeaderNilCacheControlConfig (0.00s) === RUN TestWrapWithCacheHeaderNon200Response --- PASS: TestWrapWithCacheHeaderNon200Response (0.00s) === RUN TestWrapWithCacheHeaderPublicCacheControlNoCacheHeaders --- PASS: TestWrapWithCacheHeaderPublicCacheControlNoCacheHeaders (0.00s) === RUN TestWrapWithCacheHeaderPublicCacheControlLastModifiedHeader --- PASS: TestWrapWithCacheHeaderPublicCacheControlLastModifiedHeader (0.00s) === RUN TestWrapWithCacheHeaderPublicCacheControlCacheControlHeader --- PASS: TestWrapWithCacheHeaderPublicCacheControlCacheControlHeader (0.00s) === RUN TestWrapWithCacheHeaderNoCacheControlNoCacheHeaders --- PASS: TestWrapWithCacheHeaderNoCacheControlNoCacheHeaders (0.00s) === RUN TestWrapWithCacheHeaderNoCacheControlLastModifiedHeader --- PASS: TestWrapWithCacheHeaderNoCacheControlLastModifiedHeader (0.00s) === RUN TestWrapWithCacheHeaderNoCacheControlCacheControlHeader --- PASS: TestWrapWithCacheHeaderNoCacheControlCacheControlHeader (0.00s) === RUN TestBuildCatalogRecord --- PASS: TestBuildCatalogRecord (0.00s) === RUN TestDoAuthNonWildcardImage --- PASS: TestDoAuthNonWildcardImage (0.00s) === RUN TestDoAuthWildcardImage --- PASS: TestDoAuthWildcardImage (0.00s) PASS ok github.com/theupdateframework/notary/utils 0.022s ? github.com/theupdateframework/notary/version [no test files] FAIL dh_auto_test: error: 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 returned exit code 1 make: *** [debian/rules:12: build-indep] Error 25 dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2 E: run_chroot failed: E: command failed: chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/notary-3mDz9C/notary-0.6.1-ds2 && env DEB_BUILD_OPTIONS="parallel=4" LANG="C.UTF-8" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1587173733" dpkg-buildpackage -uc -a amd64 --build=all" W: listening on child socket failed: I: removing tempdir /tmp/mmdebstrap.ts18c3OSE6... mmdebstrap failed