Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/n/notary/notary_0.6.1~ds2-6+b6_amd64.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/notary-0.6.1~ds2-6+b6zdpnxqtu/notary_0.6.1~ds2-6+b6_amd64.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-14 automake=1:1.16.3-2 autopoint=0.21-4 autotools-dev=20180224.1+nmu1 base-files=11.1 base-passwd=3.5.51 bash=5.1-3 binutils=2.35.2-2 binutils-common=2.35.2-2 binutils-x86-64-linux-gnu=2.35.2-2 bsdextrautils=2.36.1-7 bsdutils=1:2.36.1-7 build-essential=12.9 bzip2=1.0.8-4 coreutils=8.32-4+b1 cpp=4:10.2.1-1 cpp-10=10.2.1-6 dash=0.5.11+git20210120+802ebd4-1 debconf=1.5.77 debhelper=13.3.4 debianutils=4.11.2 dh-autoreconf=20 dh-golang=1.51 dh-strip-nondeterminism=1.12.0-1 diffutils=1:3.7-5 dpkg=1.20.9 dpkg-dev=1.20.9 dwz=0.14-1 file=1:5.39-3 findutils=4.8.0-1 g++=4:10.2.1-1 g++-10=10.2.1-6 gcc=4:10.2.1-1 gcc-10=10.2.1-6 gcc-10-base=10.2.1-6 gettext=0.21-4 gettext-base=0.21-4 golang-1.15-go=1.15.9-6 golang-1.15-src=1.15.9-6 golang-any=2:1.15~1 golang-dbus-dev=5.0.3-2 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~git20201120.1786d5e-1 golang-github-aws-aws-sdk-go-dev=1.36.33-1 golang-github-beorn7-perks-dev=1.0.1-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.7.0-1 golang-github-bugsnag-panicwrap-dev=1.2.0-1.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-cloudflare-cfssl-dev=1.2.0+git20160825.89.7fb22c8-3.1 golang-github-cloudflare-go-metrics-dev=0.0~git20151117.0.6a9aea3-3 golang-github-cloudflare-redoctober-dev=0.0~git20161017.0.78e9720-5 golang-github-coreos-go-systemd-dev=22.1.0-3 golang-github-cpuguy83-go-md2man-v2-dev=2.0.0+ds-5 golang-github-creack-pty-dev=1.1.11-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-6 golang-github-dgrijalva-jwt-go-dev=3.2.0-3 golang-github-docker-distribution-dev=2.7.1+ds2-7 golang-github-docker-go-connections-dev=0.4.0-3 golang-github-docker-go-dev=0.0~git20160303.0.d30aec9-3 golang-github-docker-go-metrics-dev=0.0.1-1 golang-github-docker-libtrust-dev=0.0~git20150526.0.9cbd2a1-3.1 golang-github-dvsekhvalnov-jose2go-dev=1.5-1 golang-github-erikstmartin-go-testdb-dev=0.0~git20160219.0.8d10e4a-1.1 golang-github-fsnotify-fsnotify-dev=1.4.9-2 golang-github-garyburd-redigo-dev=0.0~git20150901.0.d8dbe4d-2.1 golang-github-geertjohan-go.incremental-dev=1.0.0-1 golang-github-geertjohan-go.rice-dev=1.0.2-1 golang-github-gin-contrib-sse-dev=0.1.0-1 golang-github-gin-gonic-gin-dev=1.6.3-3 golang-github-go-kit-kit-dev=0.6.0-3 golang-github-go-logfmt-logfmt-dev=0.5.0-2 golang-github-go-playground-assert-v2-dev=2.0.1-2 golang-github-go-playground-locales-dev=0.13.0-2 golang-github-go-playground-universal-translator-dev=0.17.0-2 golang-github-go-playground-validator-v10-dev=10.4.1-2 golang-github-go-sql-driver-mysql-dev=1.5.0-1 golang-github-go-stack-stack-dev=1.8.0-1 golang-github-gofrs-uuid-dev=3.2.0-2 golang-github-golang-mock-dev=1.3.1-2 golang-github-google-certificate-transparency-dev=0.0~git20160709.0.0f6e3d1~ds1-3 golang-github-google-go-cmp-dev=0.5.4-1 golang-github-gorilla-handlers-dev=1.4.2-1 golang-github-gorilla-mux-dev=1.7.4-1 golang-github-hailocab-go-hostpool-dev=0.0~git20160125.0.e80d13c-1.1 golang-github-hashicorp-hcl-dev=1.0.0-1.1 golang-github-inconshreveable-log15-dev=2.15-1 golang-github-jinzhu-gorm-dev=1.9.6-1 golang-github-jinzhu-inflection-dev=1.0.0-1 golang-github-jinzhu-now-dev=1.1.1-1 golang-github-jmespath-go-jmespath-dev=0.4.0-1 golang-github-jmhodges-clock-dev=1.0-3 golang-github-jmoiron-sqlx-dev=1.1+git20160206.61.398dd58-2.1 golang-github-jpillora-backoff-dev=1.0.0-1.1 golang-github-json-iterator-go-dev=1.1.10-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.1 golang-github-julienschmidt-httprouter-dev=1.3.0-1 golang-github-kardianos-osext-dev=0.0~git20190222.2bc1f35-2 golang-github-kisielk-sqlstruct-dev=0.0~git20150917.0.0b86a3e-2.1 golang-github-kisom-goutils-dev=0.0~git20161101.0.858c9cb-2.1 golang-github-kr-fs-dev=0.1.0-1 golang-github-kr-pretty-dev=0.2.1+git20200831.59b4212-1 golang-github-kr-text-dev=0.2.0-1 golang-github-leodido-go-urn-dev=1.2.1-2 golang-github-lib-pq-dev=1.3.0-1 golang-github-lunixbochs-vtclean-dev=1.0.0-1 golang-github-magiconair-properties-dev=1.8.4-1 golang-github-mattn-go-colorable-dev=0.1.7-1 golang-github-mattn-go-isatty-dev=0.0.12-1 golang-github-mattn-go-sqlite3-dev=1.6.0~ds1-2 golang-github-miekg-pkcs11-dev=1.0.3+dfsg1-1 golang-github-mitchellh-go-homedir-dev=1.1.0-1 golang-github-mitchellh-mapstructure-dev=1.3.3-1 golang-github-modern-go-concurrent-dev=1.0.3-1.1 golang-github-modern-go-reflect2-dev=1.0.1-1 golang-github-mreiferson-go-httpclient-dev=0.0~git20160630.0.31f0106-2 golang-github-mwitkow-go-conntrack-dev=0.0~git20190716.2f06839-2 golang-github-ncw-swift-dev=1.0.52-1 golang-github-nkovacs-streamquote-dev=1.0.0-2 golang-github-opencontainers-go-digest-dev=1.0.0-1 golang-github-opencontainers-image-spec-dev=1.0.1-5 golang-github-opentracing-opentracing-go-dev=1.2.0-1 golang-github-patrickmn-go-cache-dev=2.1.0-1.1 golang-github-pelletier-go-toml-dev=1.8.1-1 golang-github-pkg-errors-dev=0.9.1-1 golang-github-pkg-sftp-dev=1.10.1-1 golang-github-pmezard-go-difflib-dev=1.0.0-3 golang-github-prometheus-client-golang-dev=1.9.0-2 golang-github-prometheus-client-model-dev=0.2.0-2 golang-github-prometheus-common-dev=0.15.0-2 golang-github-prometheus-procfs-dev=0.3.0-2 golang-github-rcrowley-go-metrics-dev=0.0~git20180125.8732c61-3 golang-github-revel-revel-dev=1.0.0-2 golang-github-robfig-pathtree-dev=0.0~git20140121-4 golang-github-russross-blackfriday-v2-dev=2.0.1-3 golang-github-shopify-logrus-bugsnag-dev=0.0~git20171204.577dee2-2 golang-github-shurcool-sanitized-anchor-name-dev=1.0.0-1 golang-github-sirupsen-logrus-dev=1.7.0-2 golang-github-spf13-afero-dev=1.5.1-1 golang-github-spf13-cast-dev=1.3.1-1 golang-github-spf13-cobra-dev=1.1.2-1 golang-github-spf13-jwalterweatherman-dev=1.1.0+really1.1.0-1 golang-github-spf13-pflag-dev=1.0.5-2 golang-github-spf13-viper-dev=1.7.1-1 golang-github-stathat-go-dev=0.0~git20130314.0.01d012b-2.1 golang-github-stretchr-objx-dev=0.3.0-1 golang-github-stretchr-testify-dev=1.6.1-2 golang-github-subosito-gotenv-dev=1.2.0+git20190917.de67a66-2 golang-github-twinj-uuid-dev=0.10.0+git20160909.96.7bbe408-6 golang-github-ugorji-go-codec-dev=1.1.7-2 golang-github-urfave-negroni-dev=0.2.0-1.1 golang-github-valyala-bytebufferpool-dev=1.0.0-2 golang-github-valyala-fasttemplate-dev=1.2.1-1 golang-github-xeipuuv-gojsonpointer-dev=0.0~git20190905.02993c4-1 golang-github-xeipuuv-gojsonreference-dev=0.0~git20180127.bd5ef7b-2 golang-github-xeipuuv-gojsonschema-dev=1.2.0-1 golang-glog-dev=0.0~git20160126.23def4e-3 golang-go=2:1.15~1 golang-go-flags-dev=1.4.0-2 golang-golang-x-crypto-dev=1:0.0~git20201221.eec23a3-1 golang-golang-x-net-dev=1:0.0+git20210119.5f4716e+dfsg-4 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~git20210220.036812b-1 golang-golang-x-sys-dev=0.0~git20210124.22da62e-1 golang-golang-x-term-dev=0.0~git20201210.2321bbc-1 golang-golang-x-text-dev=0.3.6-1 golang-golang-x-time-dev=0.0+git20200630.3af7569-1 golang-golang-x-xerrors-dev=0.0~git20191204.9bdfabe-1 golang-google-cloud-compute-metadata-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-3 golang-gopkg-check.v1-dev=0.0+git20200902.038fdea-1 golang-gopkg-fatih-pool.v2-dev=0.0~git20171010.010e0b7-3 golang-gopkg-gorethink-gorethink.v3-dev=3.0.5-1.1 golang-gopkg-ini.v1-dev=1.57.0-1 golang-gopkg-natefinch-lumberjack.v2-dev=2.1-1 golang-gopkg-yaml.v2-dev=2.4.0-1 golang-gopkg-yaml.v3-dev=3.0.0~git20200121.a6ecf24-3 golang-goprotobuf-dev=1.3.4-2+b5 golang-protobuf-extensions-dev=1.0.1-1 golang-src=2:1.15~1 golang-toml-dev=0.3.1-1 grep=3.6-1 groff-base=1.22.4-6 gzip=1.10-4 hostname=3.23 init-system-helpers=1.60 intltool-debian=0.35.0+20060710.5 libacl1=2.2.53-10 libarchive-zip-perl=1.68-1 libasan6=10.2.1-6 libatomic1=10.2.1-6 libattr1=1:2.4.48-6 libaudit-common=1:3.0-2 libaudit1=1:3.0-2 libbinutils=2.35.2-2 libblkid1=2.36.1-7 libbz2-1.0=1.0.8-4 libc-bin=2.31-13 libc-dev-bin=2.31-13 libc6=2.31-13 libc6-dev=2.31-13 libcap-ng0=0.7.9-2.2+b1 libcc1-0=10.2.1-6 libcom-err2=1.46.2-2 libcrypt-dev=1:4.4.18-4 libcrypt1=1:4.4.18-4 libctf-nobfd0=2.35.2-2 libctf0=2.35.2-2 libdb5.3=5.3.28+dfsg1-0.8 libdebconfclient0=0.260 libdebhelper-perl=13.3.4 libdpkg-perl=1.20.9 libelf1=0.183-3 libffi7=3.3-6 libfile-stripnondeterminism-perl=1.12.0-1 libgcc-10-dev=10.2.1-6 libgcc-s1=10.2.1-6 libgcrypt20=1.8.7-6 libgdbm-compat4=1.19-2 libgdbm6=1.19-2 libglib2.0-0=2.66.8-1 libgmp10=2:6.2.1+dfsg-1 libgomp1=10.2.1-6 libgpg-error0=1.38-2 libgssapi-krb5-2=1.18.3-5 libicu67=67.1-7 libisl23=0.23-1 libitm1=10.2.1-6 libk5crypto3=1.18.3-5 libkeyutils1=1.6.1-2 libkrb5-3=1.18.3-5 libkrb5support0=1.18.3-5 liblsan0=10.2.1-6 libltdl-dev=2.4.6-15 libltdl7=2.4.6-15 liblz4-1=1.9.3-2 liblzma5=5.2.5-2 libmagic-mgc=1:5.39-3 libmagic1=1:5.39-3 libmount1=2.36.1-7 libmpc3=1.2.0-1 libmpfr6=4.1.0-3 libnsl-dev=1.3.0-2 libnsl2=1.3.0-2 libnspr4=2:4.29-1 libnspr4-dev=2:4.29-1 libnss3=2:3.67-2 libnss3-dev=2:3.67-2 libpam-modules=1.4.0-9 libpam-modules-bin=1.4.0-9 libpam-runtime=1.4.0-9 libpam0g=1.4.0-9 libpcre2-8-0=10.36-2 libpcre3=2:8.39-13 libperl5.32=5.32.1-4 libpipeline1=1.5.3-1 libprotobuf-dev=3.12.4-1 libprotobuf-lite23=3.12.4-1 libprotobuf23=3.12.4-1 libprotoc23=3.12.4-1 libquadmath0=10.2.1-6 libseccomp2=2.5.1-1 libselinux1=3.1-3 libsigsegv2=2.13-1 libsmartcols1=2.36.1-7 libsqlite3-0=3.34.1-3 libsqlite3-dev=3.34.1-3 libssl1.1=1.1.1k-1 libstdc++-10-dev=10.2.1-6 libstdc++6=10.2.1-6 libsub-override-perl=0.09-2 libsystemd-dev=247.3-5 libsystemd0=247.3-5 libtinfo6=6.2+20201114-2 libtirpc-common=1.3.1-1 libtirpc-dev=1.3.1-1 libtirpc3=1.3.1-1 libtool=2.4.6-15 libtsan0=10.2.1-6 libubsan1=10.2.1-6 libuchardet0=0.0.7-1 libudev1=247.3-5 libunistring2=0.9.10-4 libuuid1=2.36.1-7 libxml2=2.9.10+dfsg-6.7 libzstd1=1.4.8+dfsg-2.1 linux-libc-dev=5.10.46-1 login=1:4.8.1-1 lsb-base=11.1.0 m4=1.4.18-5 make=4.3-4.1 man-db=2.9.4-2 mawk=1.3.4.20200120-2 ncurses-base=6.2+20201114-2 ncurses-bin=6.2+20201114-2 openssl=1.1.1k-1 patch=2.7.6-7 perl=5.32.1-4 perl-base=5.32.1-4 perl-modules-5.32=5.32.1-4 pkg-config=0.29.2-1 po-debconf=1.0.21+nmu1 protobuf-compiler=3.12.4-1 sed=4.7-1 sensible-utils=0.0.14 sysvinit-utils=2.96-7 tar=1.34+dfsg-1 util-linux=2.36.1-7 xz-utils=5.2.5-2 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/20210718T092653Z/ 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-PptSiq && dpkg-source --no-check -x /*.dsc /build/notary-PptSiq/notary-0.6.1-ds2 && cd /build/notary-PptSiq/notary-0.6.1-ds2 && { printf '%s' 'notary (0.6.1~ds2-6+b6) sid; urgency=low, binary-only=yes * Binary-only non-maintainer upload for amd64; no source changes. * Rebuild against golang-1.15 1.15.9-6 -- all / amd64 / i386 Build Daemon (x86-conova-01) Sun, 18 Jul 2021 09:40:39 +0000 '; cat debian/changelog; } > debian/changelog.debrebuild && mv debian/changelog.debrebuild debian/changelog && chown -R builduser:builduser /build/notary-PptSiq" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/notary-PptSiq/notary-0.6.1-ds2 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1626601239" dpkg-buildpackage -uc -a amd64 --build=any" --customize-hook=sync-out /build/notary-PptSiq /tmp/notary-0.6.1~ds2-6+b6zdpnxqtu bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20210718T092653Z 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.ds0HO3Qo1Y 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.ds0HO3Qo1Y Reading package lists... Building dependency tree... util-linux is already the newest version (2.36.1-7). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 134 kB of archives. After this operation, 397 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20210718T092653Z unstable/main amd64 libfakeroot amd64 1.25.3-1.1 [47.0 kB] Get:2 http://snapshot.notset.fr/archive/debian/20210718T092653Z unstable/main amd64 fakeroot amd64 1.25.3-1.1 [87.0 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 134 kB in 1s (266 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 ... 4667 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.25.3-1.1_amd64.deb ... Unpacking libfakeroot:amd64 (1.25.3-1.1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.25.3-1.1_amd64.deb ... Unpacking fakeroot (1.25.3-1.1) ... Setting up libfakeroot:amd64 (1.25.3-1.1) ... Setting up fakeroot (1.25.3-1.1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.31-13) ... 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/20210718T092653Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.ds0HO3Qo1Y Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Hit:2 http://snapshot.notset.fr/archive/debian/20210718T092653Z unstable InRelease Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources [11.4 MB] Get:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages [11.1 MB] Fetched 22.6 MB in 27s (824 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.ds0HO3Qo1Y 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-PptSiq && dpkg-source --no-check -x /*.dsc /build/notary-PptSiq/notary-0.6.1-ds2 && cd /build/notary-PptSiq/notary-0.6.1-ds2 && { printf '%s' 'notary (0.6.1~ds2-6+b6) sid; urgency=low, binary-only=yes * Binary-only non-maintainer upload for amd64; no source changes. * Rebuild against golang-1.15 1.15.9-6 -- all / amd64 / i386 Build Daemon (x86-conova-01) Sun, 18 Jul 2021 09:40:39 +0000 '; cat debian/changelog; } > debian/changelog.debrebuild && mv debian/changelog.debrebuild debian/changelog && chown -R builduser:builduser /build/notary-PptSiq"' exec /tmp/mmdebstrap.ds0HO3Qo1Y 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 (1023 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-PptSiq/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-PptSiq/notary-0.6.1-ds2 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1626601239" dpkg-buildpackage -uc -a amd64 --build=any"' exec /tmp/mmdebstrap.ds0HO3Qo1Y dpkg-buildpackage: info: source package notary dpkg-buildpackage: info: source version 0.6.1~ds2-6+b6 dpkg-buildpackage: info: source distribution sid dpkg-buildpackage: info: source changed by all / amd64 / i386 Build Daemon (x86-conova-01) dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 fakeroot debian/rules clean dh clean --builddirectory=/build/notary-PptSiq/notary-0.6.1-ds2/_build \ --buildsystem=golang \ --with=golang dh_auto_clean -O--builddirectory=/build/notary-PptSiq/notary-0.6.1-ds2/_build -O--buildsystem=golang dh_autoreconf_clean -O--builddirectory=/build/notary-PptSiq/notary-0.6.1-ds2/_build -O--buildsystem=golang dh_clean -O--builddirectory=/build/notary-PptSiq/notary-0.6.1-ds2/_build -O--buildsystem=golang debian/rules build-arch dh build-arch --builddirectory=/build/notary-PptSiq/notary-0.6.1-ds2/_build \ --buildsystem=golang \ --with=golang dh_update_autotools_config -a -O--builddirectory=/build/notary-PptSiq/notary-0.6.1-ds2/_build -O--buildsystem=golang dh_autoreconf -a -O--builddirectory=/build/notary-PptSiq/notary-0.6.1-ds2/_build -O--buildsystem=golang debian/rules override_dh_auto_configure make[1]: Entering directory '/build/notary-PptSiq/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-PptSiq/notary-0.6.1-ds2' debian/rules override_dh_auto_build make[1]: Entering directory '/build/notary-PptSiq/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 internal/unsafeheader internal/cpu runtime/internal/sys runtime/internal/atomic internal/race sync/atomic runtime/internal/math math/bits internal/bytealg unicode/utf8 unicode math internal/testlog encoding unicode/utf16 golang.org/x/sys/internal/unsafeheader crypto/internal/subtle crypto/subtle vendor/golang.org/x/crypto/cryptobyte/asn1 runtime internal/nettrace container/list runtime/cgo 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 math/rand google.golang.org/grpc/internal/buffer google.golang.org/grpc/internal/grpcsync errors sort io internal/oserror strconv vendor/golang.org/x/net/dns/dnsmessage syscall hash bytes crypto reflect strings crypto/internal/randutil crypto/hmac bufio path regexp/syntax internal/syscall/unix time internal/syscall/execenv golang.org/x/crypto/pbkdf2 hash/crc32 crypto/rc4 vendor/golang.org/x/crypto/hkdf regexp vendor/golang.org/x/text/transform encoding/binary internal/poll internal/fmtsort context github.com/hashicorp/hcl/hcl/strconv crypto/md5 os encoding/base64 golang.org/x/sys/unix crypto/cipher crypto/sha512 github.com/theupdateframework/notary crypto/aes fmt 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 crypto/rand crypto/elliptic github.com/docker/distribution/uuid encoding/asn1 crypto/rsa crypto/dsa crypto/ed25519 vendor/golang.org/x/crypto/cryptobyte crypto/x509/pkix golang.org/x/crypto/ed25519 compress/flate vendor/golang.org/x/crypto/chacha20 crypto/ecdsa vendor/golang.org/x/crypto/poly1305 vendor/golang.org/x/sys/cpu vendor/golang.org/x/crypto/curve25519 compress/gzip vendor/golang.org/x/crypto/chacha20poly1305 vendor/golang.org/x/text/unicode/bidi vendor/golang.org/x/text/unicode/norm vendor/golang.org/x/text/secure/bidirule vendor/golang.org/x/net/http2/hpack 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 text/tabwriter github.com/hashicorp/hcl/json/parser github.com/hashicorp/hcl/hcl/printer crypto/x509 net/textproto vendor/golang.org/x/net/http/httpproxy mime/multipart vendor/golang.org/x/net/http/httpguts github.com/hashicorp/hcl github.com/mitchellh/mapstructure github.com/pelletier/go-toml github.com/theupdateframework/notary/tuf/data crypto/tls github.com/theupdateframework/notary/client/changelist github.com/theupdateframework/notary/tuf/utils github.com/spf13/afero/mem golang.org/x/text/transform html golang.org/x/text/unicode/norm text/template/parse net/http/httptrace text/template github.com/spf13/jwalterweatherman net/http github.com/spf13/pflag html/template github.com/spf13/cast github.com/subosito/gotenv gopkg.in/ini.v1 gopkg.in/yaml.v2 github.com/golang/protobuf/proto golang.org/x/net/context golang.org/x/net/internal/timeseries google.golang.org/grpc/backoff google.golang.org/grpc/grpclog google.golang.org/grpc/connectivity github.com/theupdateframework/notary/storage github.com/magiconair/properties github.com/theupdateframework/notary/trustmanager github.com/spf13/afero github.com/golang/protobuf/ptypes/empty github.com/theupdateframework/notary/cryptoservice github.com/theupdateframework/notary/tuf/signed golang.org/x/net/trace github.com/theupdateframework/notary/trustpinning github.com/spf13/viper github.com/theupdateframework/notary/tuf google.golang.org/grpc/credentials/internal google.golang.org/grpc/internal github.com/theupdateframework/notary/trustmanager/yubikey google.golang.org/grpc/credentials google.golang.org/grpc/metadata google.golang.org/grpc/attributes google.golang.org/grpc/internal/grpcrand google.golang.org/grpc/codes google.golang.org/grpc/resolver github.com/theupdateframework/notary/client google.golang.org/grpc/encoding google.golang.org/grpc/internal/backoff google.golang.org/grpc/balancer google.golang.org/grpc/internal/balancerload google.golang.org/grpc/encoding/proto 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 github.com/golang/protobuf/ptypes google.golang.org/grpc/binarylog/grpc_binarylog_v1 google.golang.org/grpc/internal/channelz google.golang.org/grpc/internal/envconfig google.golang.org/grpc/status google.golang.org/grpc/internal/resolver/dns google.golang.org/grpc/internal/resolver/passthrough golang.org/x/text/unicode/bidi google.golang.org/grpc/internal/binarylog 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 net/http/httputil golang.org/x/text/secure/bidirule github.com/bugsnag/bugsnag-go/device github.com/pkg/errors golang.org/x/net/idna github.com/bugsnag/bugsnag-go/headers os/exec github.com/bugsnag/bugsnag-go/errors database/sql/driver os/signal golang.org/x/net/http/httpguts golang.org/x/net/http2 github.com/gorilla/mux github.com/bugsnag/panicwrap github.com/gofrs/uuid github.com/docker/distribution/registry/api/errcode github.com/docker/distribution/registry/auth github.com/bugsnag/bugsnag-go/sessions github.com/docker/distribution/context github.com/docker/go-connections/tlsconfig github.com/bugsnag/bugsnag-go database/sql github.com/opencontainers/go-digest github.com/docker/distribution/digestset github.com/Shopify/logrus-bugsnag github.com/docker/distribution/reference github.com/opencontainers/image-spec/specs-go github.com/opencontainers/image-spec/specs-go/v1 github.com/docker/distribution/registry/client/auth/challenge github.com/go-sql-driver/mysql github.com/docker/distribution github.com/docker/distribution/registry/api/v2 github.com/docker/distribution/registry/client/transport expvar google.golang.org/grpc/internal/transport github.com/beorn7/perks/quantile github.com/cespare/xxhash github.com/prometheus/client_model/go github.com/matttproud/golang_protobuf_extensions/pbutil github.com/theupdateframework/notary/utils github.com/prometheus/client_golang/prometheus/internal github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg github.com/prometheus/common/model github.com/prometheus/procfs/internal/fs github.com/prometheus/procfs/internal/util runtime/debug github.com/prometheus/procfs github.com/spf13/cobra github.com/prometheus/common/expfmt google.golang.org/grpc golang.org/x/term github.com/docker/distribution/health golang.org/x/crypto/blowfish golang.org/x/crypto/ssh/terminal golang.org/x/crypto/bcrypt github.com/theupdateframework/notary/passphrase github.com/prometheus/client_golang/prometheus github.com/docker/distribution/registry/auth/htpasswd encoding/base32 github.com/lib/pq/scram github.com/docker/libtrust os/user github.com/theupdateframework/notary/trustmanager/remoteks github.com/docker/distribution/registry/auth/token github.com/prometheus/client_golang/prometheus/promhttp github.com/theupdateframework/notary/cmd/escrow hash/fnv github.com/theupdateframework/notary/vendor/github.com/prometheus/client_golang/prometheus github.com/docker/go-metrics github.com/docker/distribution/metrics github.com/docker/distribution/registry/storage/cache github.com/docker/distribution/registry/storage/cache/memory github.com/theupdateframework/notary/server/errors github.com/docker/distribution/registry/client github.com/jinzhu/inflection go/token go/scanner github.com/docker/distribution/registry/client/auth github.com/lib/pq go/ast 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 gopkg.in/dancannon/gorethink.v3 google.golang.org/grpc/health/grpc_health_v1 internal/profile github.com/theupdateframework/notary/signer/client runtime/pprof 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/arrays github.com/dvsekhvalnov/jose2go/compact github.com/dvsekhvalnov/jose2go/keys/ecc 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/theupdateframework/notary/storage/rethinkdb github.com/davecgh/go-spew/spew github.com/theupdateframework/notary/server/storage github.com/theupdateframework/notary/signer/keydbstore github.com/pmezard/go-difflib/difflib gopkg.in/yaml.v3 github.com/theupdateframework/notary/cmd/notary-signer github.com/theupdateframework/notary/server/snapshot github.com/theupdateframework/notary/server/timestamp github.com/theupdateframework/notary/server/handlers github.com/theupdateframework/notary/server github.com/theupdateframework/notary/cmd/notary-server net/http/httptest github.com/stretchr/testify/assert github.com/theupdateframework/notary/tuf/testutils/keys testing github.com/stretchr/testify/require github.com/theupdateframework/notary/tuf/testutils github.com/theupdateframework/notary/tuf/testutils/interfaces make[1]: Leaving directory '/build/notary-PptSiq/notary-0.6.1-ds2' dh_auto_test -a -O--builddirectory=/build/notary-PptSiq/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.47s) === RUN Test0Dot3Migration --- PASS: Test0Dot3Migration (0.34s) === RUN Test0Dot1RepoFormat time="2021-10-14T17:11:16Z" level=warning msg="Error while downloading remote metadata, using cached timestamp - this might not be the latest version available remotely" --- PASS: Test0Dot1RepoFormat (1.32s) === RUN Test0Dot3RepoFormat time="2021-10-14T17:11:17Z" level=warning msg="Error while downloading remote metadata, using cached timestamp - this might not be the latest version available remotely" --- PASS: Test0Dot3RepoFormat (2.10s) === RUN TestDownloading0Dot1RepoFormat --- PASS: TestDownloading0Dot1RepoFormat (0.08s) === RUN TestDownloading0Dot3RepoFormat --- PASS: TestDownloading0Dot3RepoFormat (0.09s) === RUN TestInitRepositoryManagedRolesIncludingRoot --- PASS: TestInitRepositoryManagedRolesIncludingRoot (0.10s) === RUN TestInitRepositoryManagedRolesInvalidRole --- PASS: TestInitRepositoryManagedRolesInvalidRole (0.04s) === RUN TestInitRepositoryManagedRolesIncludingTargets --- PASS: TestInitRepositoryManagedRolesIncludingTargets (0.07s) === RUN TestInitRepositoryManagedRolesIncludingTimestamp --- PASS: TestInitRepositoryManagedRolesIncludingTimestamp (0.10s) === RUN TestInitRepositoryWithCerts --- PASS: TestInitRepositoryWithCerts (0.13s) === RUN TestMatchKeyIDsWithPublicKeys --- PASS: TestMatchKeyIDsWithPublicKeys (0.08s) === RUN TestInitRepositoryNeedsRemoteTimestampKey --- PASS: TestInitRepositoryNeedsRemoteTimestampKey (0.10s) === RUN TestInitRepositoryNeedsRemoteSnapshotKey --- PASS: TestInitRepositoryNeedsRemoteSnapshotKey (0.10s) === RUN TestInitRepoServerOnlyManagesTimestampKey --- PASS: TestInitRepoServerOnlyManagesTimestampKey (0.88s) === RUN TestInitRepoServerManagesTimestampAndSnapshotKeys --- PASS: TestInitRepoServerManagesTimestampAndSnapshotKeys (1.20s) === RUN TestInitRepoAttemptsExceeded --- PASS: TestInitRepoAttemptsExceeded (0.79s) === RUN TestInitRepoPasswordInvalid --- PASS: TestInitRepoPasswordInvalid (0.11s) === RUN TestAddTargetToTargetRoleByDefault --- PASS: TestAddTargetToTargetRoleByDefault (0.32s) === RUN TestAddTargetToSpecifiedValidRoles --- PASS: TestAddTargetToSpecifiedValidRoles (0.41s) === RUN TestAddTargetToSpecifiedInvalidRoles --- PASS: TestAddTargetToSpecifiedInvalidRoles (0.49s) === RUN TestAddTargetWithInvalidTarget --- PASS: TestAddTargetWithInvalidTarget (0.19s) === RUN TestAddTargetErrorWritingChanges --- PASS: TestAddTargetErrorWritingChanges (0.10s) === RUN TestRemoveTargetToTargetRoleByDefault --- PASS: TestRemoveTargetToTargetRoleByDefault (0.30s) === RUN TestRemoveTargetFromSpecifiedValidRoles --- PASS: TestRemoveTargetFromSpecifiedValidRoles (0.30s) === RUN TestRemoveTargetToSpecifiedInvalidRoles --- PASS: TestRemoveTargetToSpecifiedInvalidRoles (0.29s) === RUN TestRemoveTargetErrorWritingChanges --- PASS: TestRemoveTargetErrorWritingChanges (0.21s) === RUN TestListTarget --- PASS: TestListTarget (4.11s) === RUN TestListTargetRestrictsDelegationPaths --- PASS: TestListTargetRestrictsDelegationPaths (0.69s) === RUN TestValidateRootKey --- PASS: TestValidateRootKey (0.30s) === RUN TestGetChangelist --- PASS: TestGetChangelist (0.38s) === RUN TestPublishBareRepo --- PASS: TestPublishBareRepo (3.72s) === RUN TestPublishUninitializedRepo time="2021-10-14T17:11:35Z" level=info msg="No TUF data found locally or remotely - initializing repository docker.com/notary for the first time" --- PASS: TestPublishUninitializedRepo (0.20s) === RUN TestPublishClientHasSnapshotKey --- PASS: TestPublishClientHasSnapshotKey (3.38s) === RUN TestPublishAfterInitServerHasSnapshotKey --- PASS: TestPublishAfterInitServerHasSnapshotKey (2.62s) === RUN TestPublishAfterPullServerHasSnapshotKey --- PASS: TestPublishAfterPullServerHasSnapshotKey (1.09s) === RUN TestPublishNoOneHasSnapshotKey --- PASS: TestPublishNoOneHasSnapshotKey (0.60s) === RUN TestPublishSnapshotCorrupt --- PASS: TestPublishSnapshotCorrupt (1.42s) === RUN TestPublishTargetsCorrupt --- PASS: TestPublishTargetsCorrupt (0.86s) === RUN TestPublishRootCorrupt time="2021-10-14T17:11:45Z" level=error msg="Could not publish Repository since we could not update: invalid character 'h' in literal true (expecting 'r')" time="2021-10-14T17:11:45Z" level=error msg="Could not publish Repository since we could not update: invalid character 'h' in literal true (expecting 'r')" --- PASS: TestPublishRootCorrupt (0.70s) === RUN TestPublishSnapshotLocalKeysCreatedFirst --- PASS: TestPublishSnapshotLocalKeysCreatedFirst (0.01s) === RUN TestPublishDelegations --- PASS: TestPublishDelegations (1.10s) === RUN TestPublishDelegationsX509 --- PASS: TestPublishDelegationsX509 (1.19s) === RUN TestPublishTargetsDelegationScopeFailIfNoKeys time="2021-10-14T17:11:48Z" level=error msg="couldn't add target to targets/a/b: tuf: invalid role targets/a/b. delegation does not exist" time="2021-10-14T17:11:49Z" level=error msg="couldn't add target to targets/a/b: tuf: invalid role targets/a/b. delegation does not exist" --- PASS: TestPublishTargetsDelegationScopeFailIfNoKeys (0.91s) === RUN TestPublishTargetsDelegationSuccessLocallyHasRoles --- PASS: TestPublishTargetsDelegationSuccessLocallyHasRoles (1.11s) === RUN TestPublishTargetsDelegationNoTargetsKeyNeeded --- PASS: TestPublishTargetsDelegationNoTargetsKeyNeeded (1.11s) === RUN TestPublishTargetsDelegationSuccessNeedsToDownloadRoles --- PASS: TestPublishTargetsDelegationSuccessNeedsToDownloadRoles (1.19s) === RUN TestPublishTargetsDelegationFromTwoRepos --- PASS: TestPublishTargetsDelegationFromTwoRepos (1.07s) === RUN TestPublishRemoveDelegationKeyFromDelegationRole time="2021-10-14T17:11:54Z" level=warning msg="Error getting targets/a: valid signatures did not meet threshold for targets/a" time="2021-10-14T17:11:54Z" level=error msg="couldn't add target to targets/a: could not find necessary signing keys, at least one of these keys must be available: 2e977074a81fef39589d34ae72c3874554cdb63fa58b8f83dd974cae568d25b9" --- PASS: TestPublishRemoveDelegationKeyFromDelegationRole (1.10s) === RUN TestPublishRemoveDelegation time="2021-10-14T17:11:55Z" level=warning msg="role targets/a has fewer keys than its threshold of 1; it will not be usable until keys are added to it" time="2021-10-14T17:11:55Z" level=warning msg="role targets/a has fewer keys than its threshold of 1; it will not be usable until keys are added to it" time="2021-10-14T17:11:56Z" level=warning msg="Error getting targets/a: valid signatures did not meet threshold for targets/a" time="2021-10-14T17:11:56Z" 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 (1.11s) === RUN TestPublishSucceedsDespiteDelegationCorrupt --- PASS: TestPublishSucceedsDespiteDelegationCorrupt (0.83s) === RUN TestRotateKeyInvalidRole --- PASS: TestRotateKeyInvalidRole (0.56s) === RUN TestRemoteRotationError --- PASS: TestRemoteRotationError (0.13s) === RUN TestRemoteRotationEndpointError --- PASS: TestRemoteRotationEndpointError (0.14s) === RUN TestRemoteRotationNoRootKey --- PASS: TestRemoteRotationNoRootKey (0.60s) === RUN TestRemoteRotationNoInit time="2021-10-14T17:11:58Z" level=info msg="No TUF data found locally or remotely - initializing repository docker.com/notary for the first time" --- PASS: TestRemoteRotationNoInit (0.31s) === RUN TestRotateBeforePublishFromRemoteKeyToLocalKey --- PASS: TestRotateBeforePublishFromRemoteKeyToLocalKey (1.20s) === RUN TestRotateKeyAfterPublishNoServerManagementChange --- PASS: TestRotateKeyAfterPublishNoServerManagementChange (4.20s) === RUN TestRotateKeyAfterPublishServerManagementChange --- PASS: TestRotateKeyAfterPublishServerManagementChange (5.29s) === RUN TestRotateRootKey --- PASS: TestRotateRootKey (1.50s) === RUN TestRotateRootMultiple --- PASS: TestRotateRootMultiple (1.20s) === RUN TestRotateRootKeyProvided --- PASS: TestRotateRootKeyProvided (1.12s) === RUN TestRotateRootKeyLegacySupport --- PASS: TestRotateRootKeyLegacySupport (1.49s) === RUN TestRemoteServerUnavailableNoLocalCache time="2021-10-14T17:12:14Z" level=error msg="Could not publish Repository since we could not update: unable to reach trust server at this time: 500." --- PASS: TestRemoteServerUnavailableNoLocalCache (0.07s) === RUN TestAddDelegationChangefileValid --- PASS: TestAddDelegationChangefileValid (0.14s) === RUN TestAddDelegationChangefileApplicable --- PASS: TestAddDelegationChangefileApplicable (0.19s) === RUN TestAddDelegationErrorWritingChanges --- PASS: TestAddDelegationErrorWritingChanges (0.18s) === RUN TestRemoveDelegationChangefileValid --- PASS: TestRemoveDelegationChangefileValid (0.19s) === RUN TestRemoveDelegationChangefileApplicable time="2021-10-14T17:12:15Z" 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-14T17:12:15Z" 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.15s) === RUN TestClearAllPathsDelegationChangefileApplicable --- PASS: TestClearAllPathsDelegationChangefileApplicable (0.10s) === RUN TestFullAddDelegationChangefileApplicable --- PASS: TestFullAddDelegationChangefileApplicable (0.10s) === RUN TestFullRemoveDelegationChangefileApplicable --- PASS: TestFullRemoveDelegationChangefileApplicable (0.20s) === RUN TestRemoveDelegationErrorWritingChanges --- PASS: TestRemoveDelegationErrorWritingChanges (0.10s) === RUN TestBootstrapClientBadURL --- PASS: TestBootstrapClientBadURL (0.06s) === RUN TestClientInvalidURL --- PASS: TestClientInvalidURL (0.00s) === RUN TestPublishTargetsDelegationCanUseUserKeyWithArbitraryRole --- PASS: TestPublishTargetsDelegationCanUseUserKeyWithArbitraryRole (2.13s) === RUN TestDeleteRepo --- PASS: TestDeleteRepo (0.21s) === RUN TestDeleteRemoteRepo --- PASS: TestDeleteRemoteRepo (0.71s) === RUN TestListRoles --- PASS: TestListRoles (1.28s) === RUN TestGetAllTargetInfo --- PASS: TestGetAllTargetInfo (0.69s) === RUN TestUpdateSucceedsEvenIfCannotWriteNewRepo time="2021-10-14T17:12:21Z" level=error msg="could not save root to cache: Non-writable" --- PASS: TestUpdateSucceedsEvenIfCannotWriteNewRepo (0.83s) === RUN TestUpdateSucceedsEvenIfCannotWriteExistingRepo --- PASS: TestUpdateSucceedsEvenIfCannotWriteExistingRepo (3.19s) === RUN TestUpdateInOfflineMode time="2021-10-14T17:12:25Z" level=warning msg="Error while downloading remote metadata, using cached timestamp - this might not be the latest version available remotely" time="2021-10-14T17:12:25Z" level=warning msg="Error while downloading remote metadata, using cached timestamp - this might not be the latest version available remotely" --- PASS: TestUpdateInOfflineMode (0.37s) === RUN TestUpdateReplacesCorruptOrMissingMetadata time="2021-10-14T17:12:29Z" level=error msg="Metadata for root expired" time="2021-10-14T17:12:29Z" level=error msg="Metadata for root expired" --- PASS: TestUpdateReplacesCorruptOrMissingMetadata (5.42s) === RUN TestUpdateFailsIfServerRootKeyChangedWithoutMultiSign time="2021-10-14T17:12:32Z" level=error msg="Metadata for root expired" time="2021-10-14T17:12:32Z" level=error msg="Metadata for root expired" --- PASS: TestUpdateFailsIfServerRootKeyChangedWithoutMultiSign (1.48s) === RUN TestUpdateRemoteRootNotExistNoLocalCache --- PASS: TestUpdateRemoteRootNotExistNoLocalCache (0.20s) === RUN TestUpdateRemoteRootNotExistCanUseLocalCache --- PASS: TestUpdateRemoteRootNotExistCanUseLocalCache (0.42s) === RUN TestUpdateRemoteRootNotExistCannotUseLocalCache --- PASS: TestUpdateRemoteRootNotExistCannotUseLocalCache (0.49s) === RUN TestUpdateRemoteRoot50XNoLocalCache --- PASS: TestUpdateRemoteRoot50XNoLocalCache (0.04s) === RUN TestUpdateRemoteRoot50XCanUseLocalCache --- PASS: TestUpdateRemoteRoot50XCanUseLocalCache (0.38s) === RUN TestUpdateRemoteRoot50XCannotUseLocalCache --- PASS: TestUpdateRemoteRoot50XCannotUseLocalCache (0.50s) === RUN TestUpdateNonRootRemoteMissingMetadataNoLocalCache --- PASS: TestUpdateNonRootRemoteMissingMetadataNoLocalCache (1.08s) === RUN TestUpdateNonRootRemoteMissingMetadataCanUseLocalCache time="2021-10-14T17:12:35Z" level=warning msg="Error while downloading remote metadata, using cached timestamp - this might not be the latest version available remotely" --- PASS: TestUpdateNonRootRemoteMissingMetadataCanUseLocalCache (1.30s) === RUN TestUpdateNonRootRemoteMissingMetadataCannotUseLocalCache time="2021-10-14T17:12:38Z" level=warning msg="Error while downloading remote metadata, using cached timestamp - this might not be the latest version available remotely" --- PASS: TestUpdateNonRootRemoteMissingMetadataCannotUseLocalCache (2.23s) === RUN TestUpdateNonRootRemote50XNoLocalCache --- PASS: TestUpdateNonRootRemote50XNoLocalCache (1.10s) === RUN TestUpdateNonRootRemote50XCanUseLocalCache time="2021-10-14T17:12:40Z" level=warning msg="Error while downloading remote metadata, using cached timestamp - this might not be the latest version available remotely" --- PASS: TestUpdateNonRootRemote50XCanUseLocalCache (1.78s) === RUN TestUpdateNonRootRemote50XCannotUseLocalCache time="2021-10-14T17:12:42Z" level=warning msg="Error while downloading remote metadata, using cached timestamp - this might not be the latest version available remotely" --- PASS: TestUpdateNonRootRemote50XCannotUseLocalCache (2.30s) === RUN TestUpdateRemoteChecksumWrongNoLocalCache --- PASS: TestUpdateRemoteChecksumWrongNoLocalCache (1.77s) === RUN TestUpdateRemoteChecksumWrongCanUseLocalCache --- PASS: TestUpdateRemoteChecksumWrongCanUseLocalCache (2.05s) === RUN TestUpdateRemoteChecksumWrongCannotUseLocalCache --- PASS: TestUpdateRemoteChecksumWrongCannotUseLocalCache (2.86s) === RUN TestUpdateRootRemoteCorruptedNoLocalCache time="2021-10-14T17:12:53Z" level=error msg="Metadata for root expired" time="2021-10-14T17:12:53Z" level=error msg="Metadata for root expired" --- PASS: TestUpdateRootRemoteCorruptedNoLocalCache (4.03s) === RUN TestUpdateRootRemoteCorruptedCanUseLocalCache --- PASS: TestUpdateRootRemoteCorruptedCanUseLocalCache (8.41s) === RUN TestUpdateRootRemoteCorruptedCannotUseLocalCache time="2021-10-14T17:13:07Z" level=error msg="Metadata for root expired" time="2021-10-14T17:13:07Z" level=error msg="Metadata for root expired" --- PASS: TestUpdateRootRemoteCorruptedCannotUseLocalCache (8.86s) === RUN TestUpdateNonRootRemoteCorruptedNoLocalCache time="2021-10-14T17:13:13Z" level=error msg="Metadata for targets expired" time="2021-10-14T17:13:13Z" level=error msg="Metadata for targets expired" time="2021-10-14T17:13:15Z" level=error msg="Metadata for snapshot expired" time="2021-10-14T17:13:15Z" level=error msg="Metadata for snapshot expired" time="2021-10-14T17:13:16Z" level=error msg="Metadata for timestamp expired" time="2021-10-14T17:13:16Z" level=error msg="Metadata for timestamp expired" time="2021-10-14T17:13:17Z" level=warning msg="Error getting targets/a: valid signatures did not meet threshold for targets/a" time="2021-10-14T17:13:17Z" level=warning msg="Error getting targets/a: valid signatures did not meet threshold for targets/a" time="2021-10-14T17:13:17Z" level=warning msg="Error getting targets/a: valid signatures did not meet threshold for targets/a" time="2021-10-14T17:13:17Z" level=error msg="Metadata for targets/a expired" time="2021-10-14T17:13:17Z" level=warning msg="Error getting targets/a: targets/a expired at Sun Sep 13 17:13:17 UTC 2020" time="2021-10-14T17:13:18Z" level=warning msg="Error getting targets/a/b: valid signatures did not meet threshold for targets/a/b" time="2021-10-14T17:13:18Z" level=warning msg="Error getting targets/a/b: valid signatures did not meet threshold for targets/a/b" time="2021-10-14T17:13:18Z" level=warning msg="Error getting targets/a/b: valid signatures did not meet threshold for targets/a/b" time="2021-10-14T17:13:18Z" level=error msg="Metadata for targets/a/b expired" time="2021-10-14T17:13:18Z" level=warning msg="Error getting targets/a/b: targets/a/b expired at Sun Sep 13 17:13:18 UTC 2020" time="2021-10-14T17:13:19Z" level=warning msg="Error getting targets/b: valid signatures did not meet threshold for targets/b" time="2021-10-14T17:13:19Z" level=warning msg="Error getting targets/b: valid signatures did not meet threshold for targets/b" time="2021-10-14T17:13:20Z" level=warning msg="Error getting targets/b: valid signatures did not meet threshold for targets/b" time="2021-10-14T17:13:20Z" level=error msg="Metadata for targets/b expired" time="2021-10-14T17:13:20Z" level=warning msg="Error getting targets/b: targets/b expired at Sun Sep 13 17:13:20 UTC 2020" --- PASS: TestUpdateNonRootRemoteCorruptedNoLocalCache (8.80s) === RUN TestUpdateNonRootRemoteCorruptedCanUseLocalCache time="2021-10-14T17:13:23Z" level=error msg="Metadata for timestamp expired" time="2021-10-14T17:13:23Z" level=error msg="Metadata for timestamp expired" --- PASS: TestUpdateNonRootRemoteCorruptedCanUseLocalCache (4.67s) === RUN TestUpdateNonRootRemoteCorruptedCannotUseLocalCache time="2021-10-14T17:13:26Z" level=error msg="Metadata for targets expired" time="2021-10-14T17:13:27Z" level=error msg="Metadata for snapshot expired" time="2021-10-14T17:13:27Z" level=error msg="Metadata for snapshot expired" time="2021-10-14T17:13:28Z" level=error msg="Metadata for timestamp expired" time="2021-10-14T17:13:28Z" level=error msg="Metadata for timestamp expired" time="2021-10-14T17:13:29Z" level=warning msg="Error getting targets/a: valid signatures did not meet threshold for targets/a" time="2021-10-14T17:13:29Z" level=warning msg="Error getting targets/a: valid signatures did not meet threshold for targets/a" time="2021-10-14T17:13:29Z" level=warning msg="Error getting targets/a: valid signatures did not meet threshold for targets/a" time="2021-10-14T17:13:29Z" level=error msg="Metadata for targets/a expired" time="2021-10-14T17:13:29Z" level=warning msg="Error getting targets/a: targets/a expired at Sun Sep 13 17:13:29 UTC 2020" time="2021-10-14T17:13:30Z" level=warning msg="Error getting targets/a/b: valid signatures did not meet threshold for targets/a/b" time="2021-10-14T17:13:31Z" level=warning msg="Error getting targets/a/b: valid signatures did not meet threshold for targets/a/b" time="2021-10-14T17:13:31Z" level=warning msg="Error getting targets/a/b: valid signatures did not meet threshold for targets/a/b" time="2021-10-14T17:13:31Z" level=error msg="Metadata for targets/a/b expired" time="2021-10-14T17:13:31Z" level=warning msg="Error getting targets/a/b: targets/a/b expired at Sun Sep 13 17:13:31 UTC 2020" time="2021-10-14T17:13:32Z" level=warning msg="Error getting targets/b: valid signatures did not meet threshold for targets/b" time="2021-10-14T17:13:33Z" level=warning msg="Error getting targets/b: valid signatures did not meet threshold for targets/b" time="2021-10-14T17:13:33Z" level=warning msg="Error getting targets/b: valid signatures did not meet threshold for targets/b" time="2021-10-14T17:13:34Z" level=error msg="Metadata for targets/b expired" time="2021-10-14T17:13:34Z" level=warning msg="Error getting targets/b: targets/b expired at Sun Sep 13 17:13:34 UTC 2020" --- PASS: TestUpdateNonRootRemoteCorruptedCannotUseLocalCache (9.94s) === RUN TestUpdateLocalAndRemoteRootCorrupt time="2021-10-14T17:13:39Z" level=error msg="Metadata for root expired" time="2021-10-14T17:13:39Z" level=error msg="Metadata for root expired" time="2021-10-14T17:13:41Z" level=error msg="Metadata for root expired" time="2021-10-14T17:13:41Z" level=error msg="Metadata for root expired" time="2021-10-14T17:13:41Z" level=error msg="Metadata for root expired" time="2021-10-14T17:13:42Z" level=error msg="Metadata for root expired" time="2021-10-14T17:13:42Z" level=error msg="Metadata for root expired" time="2021-10-14T17:13:42Z" level=error msg="Metadata for root expired" time="2021-10-14T17:13:42Z" level=error msg="Metadata for root expired" time="2021-10-14T17:13:42Z" level=error msg="Metadata for root expired" time="2021-10-14T17:13:42Z" level=error msg="Metadata for root expired" time="2021-10-14T17:13:42Z" level=error msg="Metadata for root expired" time="2021-10-14T17:13:42Z" level=error msg="Metadata for root expired" time="2021-10-14T17:13:42Z" level=error msg="Metadata for root expired" time="2021-10-14T17:13:42Z" level=error msg="Metadata for root expired" time="2021-10-14T17:13:42Z" level=error msg="Metadata for root expired" time="2021-10-14T17:13:42Z" level=error msg="Metadata for root expired" time="2021-10-14T17:13:43Z" level=error msg="Metadata for root expired" time="2021-10-14T17:13:43Z" level=error msg="Metadata for root expired" time="2021-10-14T17:13:43Z" level=error msg="Metadata for root expired" time="2021-10-14T17:13:43Z" level=error msg="Metadata for root expired" time="2021-10-14T17:13:43Z" level=error msg="Metadata for root expired" --- PASS: TestUpdateLocalAndRemoteRootCorrupt (7.51s) === RUN TestUpdateRemoteKeyRotated time="2021-10-14T17:13:43Z" level=warning msg="Error getting targets/a: valid signatures did not meet threshold for targets/a" time="2021-10-14T17:13:43Z" level=warning msg="Error getting targets/a/b: valid signatures did not meet threshold for targets/a/b" time="2021-10-14T17:13:43Z" level=warning msg="Error getting targets/b: valid signatures did not meet threshold for targets/b" --- PASS: TestUpdateRemoteKeyRotated (0.42s) === RUN TestValidateRootRotationWithOldRole --- PASS: TestValidateRootRotationWithOldRole (0.21s) === RUN TestRootRoleInvariant --- PASS: TestRootRoleInvariant (0.21s) === RUN TestBadIntermediateTransitions --- PASS: TestBadIntermediateTransitions (0.07s) === RUN TestExpiredIntermediateTransitions time="2021-10-14T17:13:44Z" level=warning msg="root is nearing expiry, you should re-sign the role metadata" --- PASS: TestExpiredIntermediateTransitions (0.05s) === RUN TestDownloadTargetsLarge --- PASS: TestDownloadTargetsLarge (9.43s) === RUN TestDownloadTargetsDeep --- PASS: TestDownloadTargetsDeep (0.31s) === RUN TestDownloadSnapshotLargeDelegationsMany --- PASS: TestDownloadSnapshotLargeDelegationsMany (6.65s) === RUN TestRootOnDiskTrustPinning --- PASS: TestRootOnDiskTrustPinning (0.03s) === RUN TestApplyTargetsChange --- PASS: TestApplyTargetsChange (0.00s) === RUN TestApplyAddTargetTwice --- PASS: TestApplyAddTargetTwice (0.01s) === RUN TestApplyChangelist --- PASS: TestApplyChangelist (0.00s) === RUN TestApplyChangelistMulti --- PASS: TestApplyChangelistMulti (0.00s) === RUN TestApplyTargetsDelegationCreateDelete --- PASS: TestApplyTargetsDelegationCreateDelete (0.01s) === 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.01s) === 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-14T17:14:00Z" 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-14T17:14:00Z" 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-14T17:14:00Z" 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-14T17:14:00Z" 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 165.787s === 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.00s) === RUN TestErrorConditions time="2021-10-14T17:10:45Z" level=warning msg="invalid character '\\x05' looking for beginning of value" --- PASS: TestErrorConditions (0.01s) === RUN TestListOrder --- PASS: TestListOrder (0.00s) === RUN TestFileChangeIterator --- PASS: TestFileChangeIterator (0.00s) PASS ok github.com/theupdateframework/notary/client/changelist 0.185s === 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.103s === 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.03s) === RUN TestAddInvalidDelegationName --- PASS: TestAddInvalidDelegationName (0.15s) === 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.04s) === RUN TestInitWithRootKey --- PASS: TestInitWithRootKey (0.82s) === RUN TestInitWithRootCert --- PASS: TestInitWithRootCert (0.90s) === RUN TestClientTUFInteraction --- PASS: TestClientTUFInteraction (1.43s) === RUN TestClientDeleteTUFInteraction time="2021-10-14T17:11:20Z" 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 (1.81s) === RUN TestClientTUFAddByHashInteraction --- PASS: TestClientTUFAddByHashInteraction (2.79s) === RUN TestClientDelegationsInteraction time="2021-10-14T17:11:26Z" 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-14T17:11:26Z" 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 (6.41s) === RUN TestClientDelegationsPublishing --- PASS: TestClientDelegationsPublishing (4.68s) === RUN TestClientKeyGenerationRotation --- PASS: TestClientKeyGenerationRotation (7.40s) === RUN TestKeyRotation --- PASS: TestKeyRotation (1.09s) === RUN TestKeyRotationNonRoot --- PASS: TestKeyRotationNonRoot (1.51s) === RUN TestDefaultRootKeyGeneration --- PASS: TestDefaultRootKeyGeneration (0.01s) === RUN TestLogLevelFlags --- PASS: TestLogLevelFlags (0.00s) === RUN TestClientKeyPassphraseChange --- PASS: TestClientKeyPassphraseChange (1.16s) === RUN TestPurgeSingleKey Removal of the following keys from all delegations in gun staged for next publish: - f08dfb49ec0bcf065c6e0d115e269fb1ca485f28c54564c4a02dedf1f2833112 --- PASS: TestPurgeSingleKey (0.93s) === RUN TestWitness time="2021-10-14T17:11:48Z" level=warning msg="Error getting targets/delegation: valid signatures did not meet threshold for targets/delegation" time="2021-10-14T17:11:48Z" level=warning msg="Error getting targets/delegation: valid signatures did not meet threshold for targets/delegation" time="2021-10-14T17:11:49Z" level=warning msg="Error getting targets/delegation: valid signatures did not meet threshold for targets/delegation" time="2021-10-14T17:11:50Z" level=warning msg="Error getting targets/delegation: valid signatures did not meet threshold for targets/delegation" time="2021-10-14T17:11:50Z" 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-14T17:11:50Z" 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-14T17:11:50Z" level=warning msg="Error getting targets/delegation: valid signatures did not meet threshold for targets/delegation" --- PASS: TestWitness (3.08s) === RUN TestClientTUFInitWithAutoPublish time="2021-10-14T17:11:50Z" 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.21s) === RUN TestClientTUFAddWithAutoPublish time="2021-10-14T17:11: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-14T17:11:52Z" level=error msg="Could not publish Repository since we could not update: client is offline" time="2021-10-14T17:11:52Z" 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-14T17:11:52Z" level=error msg="Could not publish Repository since we could not update: client is offline" --- PASS: TestClientTUFAddWithAutoPublish (1.07s) === RUN TestClientTUFRemoveWithAutoPublish --- PASS: TestClientTUFRemoveWithAutoPublish (2.31s) === RUN TestClientDelegationAddWithAutoPublish --- PASS: TestClientDelegationAddWithAutoPublish (1.02s) === RUN TestClientDelegationRemoveWithAutoPublish time="2021-10-14T17:11:57Z" level=warning msg="role targets/delegation has fewer keys than its threshold of 1; it will not be usable until keys are added to it" time="2021-10-14T17:11:57Z" level=warning msg="role targets/delegation has fewer keys than its threshold of 1; it will not be usable until keys are added to it" --- PASS: TestClientDelegationRemoveWithAutoPublish (1.61s) === RUN TestClientTUFAddByHashWithAutoPublish --- PASS: TestClientTUFAddByHashWithAutoPublish (0.78s) === RUN TestClientKeyImport time="2021-10-14T17:11:58Z" 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-14T17:11:58Z" level=warning msg="failed to import key () to store: Cannot have canonical role key without a gun, don't know what gun it belongs to" --- PASS: TestClientKeyImport (0.23s) === RUN TestAddDelImportKeyPublishFlow time="2021-10-14T17:12:00Z" 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.79s) === RUN TestExportImportFlow --- PASS: TestExportImportFlow (0.68s) === RUN TestDelegationKeyImportExport --- PASS: TestDelegationKeyImportExport (0.39s) === RUN TestImportKeysNoYubikey --- PASS: TestImportKeysNoYubikey (0.09s) === RUN TestExportImportKeysNoYubikey --- PASS: TestExportImportKeysNoYubikey (0.50s) === RUN TestRemoveIfNoKey --- PASS: TestRemoveIfNoKey (0.00s) === RUN TestRemoveOneKeyAbort --- PASS: TestRemoveOneKeyAbort (0.02s) === RUN TestRemoveOneKeyConfirm --- PASS: TestRemoveOneKeyConfirm (0.12s) === RUN TestRemoveMultikeysInvalidInput --- PASS: TestRemoveMultikeysInvalidInput (0.09s) === RUN TestRemoveMultikeysAbortChoice --- PASS: TestRemoveMultikeysAbortChoice (0.07s) === RUN TestRemoveMultikeysRemoveOnlyChosenKey --- PASS: TestRemoveMultikeysRemoveOnlyChosenKey (0.03s) === RUN TestRotateKeyInvalidRoles time="2021-10-14T17:12:02Z" 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-14T17:12:02Z" 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-14T17:12:02Z" 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-14T17:12:02Z" 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-14T17:12:02Z" 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.00s) === RUN TestRotateKeyTimestampCannotBeLocallyManaged time="2021-10-14T17:12:02Z" 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 (0.66s) === RUN TestRotateKeyBothKeys Successfully rotated targets key for repository docker.com/notary Successfully rotated snapshot key for repository docker.com/notary --- PASS: TestRotateKeyBothKeys (0.52s) === RUN TestRotateKeyRootIsInteractive --- PASS: TestRotateKeyRootIsInteractive (0.49s) === RUN TestChangeKeyPassphraseInvalidID --- PASS: TestChangeKeyPassphraseInvalidID (0.00s) === RUN TestChangeKeyPassphraseInvalidNumArgs Usage: --- PASS: TestChangeKeyPassphraseInvalidNumArgs (0.00s) === RUN TestChangeKeyPassphraseNonexistentID --- PASS: TestChangeKeyPassphraseNonexistentID (0.00s) === RUN TestExportKeys --- PASS: TestExportKeys (0.01s) === 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-14T17:12:04Z" level=warning msg="failed to import key () to store: Cannot have canonical role key without a gun, don't know what gun it belongs to" --- PASS: TestKeyGeneration (0.17s) === RUN TestNotaryConfigFileDefault --- PASS: TestNotaryConfigFileDefault (0.00s) === RUN TestRemoteServerDefault --- PASS: TestRemoteServerDefault (0.02s) === RUN TestRemoteServerUsesConfigFile --- PASS: TestRemoteServerUsesConfigFile (0.00s) === RUN TestRemoteServerCommandLineFlagOverridesConfig --- PASS: TestRemoteServerCommandLineFlagOverridesConfig (0.00s) === RUN TestInvalidAddHashCommands --- PASS: TestInvalidAddHashCommands (0.06s) === RUN TestConfigParsingErrorsPropagatedByCommands --- PASS: TestConfigParsingErrorsPropagatedByCommands (0.02s) === RUN TestInsufficientArgumentsReturnsErrorAndPrintsUsage --- PASS: TestInsufficientArgumentsReturnsErrorAndPrintsUsage (0.10s) === RUN TestBareCommandPrintsUsageAndNoError --- PASS: TestBareCommandPrintsUsageAndNoError (0.08s) === RUN TestConfigFileTLSCannotBeRelativeToCWD --- PASS: TestConfigFileTLSCannotBeRelativeToCWD (0.04s) === RUN TestConfigFileTLSCanBeRelativeToConfigOrAbsolute --- PASS: TestConfigFileTLSCanBeRelativeToConfigOrAbsolute (0.48s) === 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.12s) === 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-14T17:12:05Z" level=error msg="could not reach https://localhost:9999: Get \"https://localhost:9999/v2/\": dial tcp 127.0.0.1:9999: connect: connection refused" --- PASS: TestTokenAuth (0.01s) === RUN TestAdminTokenAuth time="2021-10-14T17:12:05Z" level=error msg="could not reach https://localhost:9999: Get \"https://localhost:9999/v2/\": dial tcp 127.0.0.1:9999: connect: connection refused" --- PASS: TestAdminTokenAuth (0.00s) === RUN TestTokenAuth200Status --- PASS: TestTokenAuth200Status (0.00s) === RUN TestAdminTokenAuth200Status --- PASS: TestAdminTokenAuth200Status (0.00s) === RUN TestTokenAuth401Status --- PASS: TestTokenAuth401Status (0.00s) === RUN TestAdminTokenAuth401Status --- PASS: TestAdminTokenAuth401Status (0.00s) === RUN TestTokenAuthNon200Non401Status time="2021-10-14T17:12:05Z" level=error msg="could not reach http://127.0.0.1:42355: 404" --- PASS: TestTokenAuthNon200Non401Status (0.00s) === RUN TestAdminTokenAuthNon200Non401Status time="2021-10-14T17:12:05Z" level=error msg="could not reach http://127.0.0.1:42671: 404" --- PASS: TestAdminTokenAuthNon200Non401Status (0.00s) === RUN TestConfigureRepo --- PASS: TestConfigureRepo (0.07s) === RUN TestConfigureRepoRW Enter username: time="2021-10-14T17:12:05Z" level=error msg="error processing username input: EOF" --- PASS: TestConfigureRepoRW (0.00s) === RUN TestConfigureRepoAdmin Enter username: time="2021-10-14T17:12:05Z" level=error msg="error processing username input: EOF" --- PASS: TestConfigureRepoAdmin (0.00s) === RUN TestStatusUnstageAndReset Successfully reset specified changes for repository gun Addition of target "test1" by sha256 hash to repository "gun" staged for next publish. 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-14T17:12:05Z" level=error msg="error processing username input: EOF" --- PASS: TestPasswordStore (0.00s) === RUN TestPasswordStoreWithEnvvar time="2021-10-14T17:12:05Z" level=error msg="Authentication string with zero-legnth username" time="2021-10-14T17:12:05Z" 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 49.820s === RUN TestBootstrap --- PASS: TestBootstrap (0.00s) === RUN TestGetAddrAndTLSConfigInvalidTLS --- PASS: TestGetAddrAndTLSConfigInvalidTLS (0.01s) === 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-14T17:11:34Z" 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-14T17:11:34Z" level=info msg="Using remote signing service" --- PASS: TestGetTrustServiceNoTLSConfig (0.00s) === RUN TestGetTrustServiceTLSSuccess time="2021-10-14T17:11:34Z" level=info msg="Using remote signing service" --- PASS: TestGetTrustServiceTLSSuccess (0.01s) === RUN TestGetTrustServiceTLSFailure --- PASS: TestGetTrustServiceTLSFailure (0.00s) === RUN TestGetStoreInvalid time="2021-10-14T17:11:34Z" level=info msg="Using asdf backend" --- PASS: TestGetStoreInvalid (0.00s) === RUN TestGetStoreDBStore time="2021-10-14T17:11:34Z" level=info msg="Using sqlite3 backend" --- PASS: TestGetStoreDBStore (0.00s) === RUN TestGetStoreRethinkDBStoreConnectionFails time="2021-10-14T17:11:34Z" level=info msg="Using rethinkdb backend" --- PASS: TestGetStoreRethinkDBStoreConnectionFails (0.00s) === RUN TestGetMemoryStore time="2021-10-14T17:11:34Z" 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-14T17:11:34Z" level=info msg="Using remote signing service" time="2021-10-14T17:11:34Z" level=info msg="Using sqlite3 backend" --- PASS: TestSampleConfig (0.00s) PASS ok github.com/theupdateframework/notary/cmd/notary-server 0.191s === 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 main_test.go:121: DM - skipping malfunctioning test, fails on sbuild --- SKIP: TestSetupCryptoServicesRethinkDBStoreConnectionFails (0.00s) === RUN TestSetupCryptoServicesDBStoreSuccess --- PASS: TestSetupCryptoServicesDBStoreSuccess (0.39s) === RUN TestSetupCryptoServicesMemoryStore --- PASS: TestSetupCryptoServicesMemoryStore (0.00s) === 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.431s === RUN TestGenerateCertificate --- PASS: TestGenerateCertificate (0.11s) === RUN TestCryptoServiceWithNonEmptyGUN --- PASS: TestCryptoServiceWithNonEmptyGUN (5.07s) === RUN TestCryptoServiceWithEmptyGUN --- PASS: TestCryptoServiceWithEmptyGUN (5.43s) === RUN TestCryptoSignerInterfaceBehavior --- PASS: TestCryptoSignerInterfaceBehavior (0.00s) PASS ok github.com/theupdateframework/notary/cryptoservice 10.773s === 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.184s ? github.com/theupdateframework/notary/proto [no test files] === RUN TestValidationErrorFormat time="2021-10-14T17:12:02Z" level=info msg="invalid update: Update sent by the client is invalid.: &{ErrBadHierarchy Metadata hierarchy is incomplete: no snapshot was included in update and server does not hold current snapshot key for repository}" go.version=go1.15.9 http.request.contenttype="multipart/form-data; boundary=55dbf6b26982097324b489536b1f1027955688a96cc54f1c13410fac33b1" http.request.host="127.0.0.1:42263" http.request.id=70f5254b-b8cf-4e29-9cd9-3bde4dbd013a http.request.method=POST http.request.remoteaddr="127.0.0.1:60170" http.request.uri=/v2/docker.com/notary/_trust/tuf/ http.request.useragent=Go-http-client/1.1 time="2021-10-14T17:12:02Z" level=info msg="response completed" go.version=go1.15.9 http.request.contenttype="multipart/form-data; boundary=55dbf6b26982097324b489536b1f1027955688a96cc54f1c13410fac33b1" http.request.host="127.0.0.1:42263" http.request.id=70f5254b-b8cf-4e29-9cd9-3bde4dbd013a http.request.method=POST http.request.remoteaddr="127.0.0.1:60170" 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=56.268034ms http.response.status=400 http.response.written=260 --- PASS: TestValidationErrorFormat (0.40s) === RUN TestRunBadAddr --- PASS: TestRunBadAddr (0.00s) === RUN TestRunReservedPort time="2021-10-14T17:12:02Z" level=info msg="Starting on localhost:80" panic: test timed out after 10m0s goroutine 121 [running]: testing.(*M).startAlarm.func1() /usr/lib/go-1.15/src/testing/testing.go:1618 +0xe5 created by time.goFunc /usr/lib/go-1.15/src/time/sleep.go:167 +0x45 goroutine 1 [chan receive, 9 minutes]: testing.(*T).Run(0xc00046ef00, 0xc08879, 0x13, 0xc32628, 0x49a001) /usr/lib/go-1.15/src/testing/testing.go:1169 +0x2da testing.runTests.func1(0xc00019a780) /usr/lib/go-1.15/src/testing/testing.go:1439 +0x78 testing.tRunner(0xc00019a780, 0xc00025dde0) /usr/lib/go-1.15/src/testing/testing.go:1123 +0xef testing.runTests(0xc000268220, 0x1092640, 0xb, 0xb, 0xc05237ae9a526025, 0x8bbde6e97f, 0x109ed40, 0x40f610) /usr/lib/go-1.15/src/testing/testing.go:1437 +0x2fe testing.(*M).Run(0xc00023e880, 0x0) /usr/lib/go-1.15/src/testing/testing.go:1345 +0x1eb main.main() _testmain.go:63 +0x138 goroutine 117 [IO wait, 9 minutes]: internal/poll.runtime_pollWait(0x7f32e99c9ec8, 0x72, 0x0) /usr/lib/go-1.15/src/runtime/netpoll.go:222 +0x55 internal/poll.(*pollDesc).wait(0xc000556318, 0x72, 0x0, 0x0, 0xc0124d) /usr/lib/go-1.15/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/lib/go-1.15/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000556300, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/lib/go-1.15/src/internal/poll/fd_unix.go:394 +0x1fc net.(*netFD).accept(0xc000556300, 0xc0008b1920, 0xc0007afb80, 0xc00008c800) /usr/lib/go-1.15/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00057e060, 0xc0007afba0, 0x40ff78, 0x30) /usr/lib/go-1.15/src/net/tcpsock_posix.go:139 +0x32 net.(*TCPListener).Accept(0xc00057e060, 0xbad540, 0xc0008b1920, 0xb38980, 0x1089640) /usr/lib/go-1.15/src/net/tcpsock.go:261 +0x65 net/http.(*Server).Serve(0xc000680000, 0xce3100, 0xc00057e060, 0x0, 0x0) /usr/lib/go-1.15/src/net/http/server.go:2937 +0x266 github.com/theupdateframework/notary/server.Run(0xce58c0, 0xc00027ce80, 0xc04348, 0xc, 0x0, 0xcea780, 0xc0000103c8, 0x0, 0x0, 0x0, ...) /build/notary-PptSiq/notary-0.6.1-ds2/_build/src/github.com/theupdateframework/notary/server/server.go:89 +0x378 github.com/theupdateframework/notary/server.TestRunReservedPort(0xc00046ef00) /build/notary-PptSiq/notary-0.6.1-ds2/_build/src/github.com/theupdateframework/notary/server/server_test.go:43 +0x145 testing.tRunner(0xc00046ef00, 0xc32628) /usr/lib/go-1.15/src/testing/testing.go:1123 +0xef created by testing.(*T).Run /usr/lib/go-1.15/src/testing/testing.go:1168 +0x2b3 FAIL github.com/theupdateframework/notary/server 600.292s ? github.com/theupdateframework/notary/server/errors [no test files] === RUN Test_changefeed --- PASS: Test_changefeed (0.00s) === RUN Test_checkChangefeedInputs time="2021-10-14T17:12:04Z" level=error msg="500 GET unable to retrieve storage" time="2021-10-14T17:12:04Z" level=error msg="400 GET invalid pageSize: not_a_number" --- PASS: Test_checkChangefeedInputs (0.00s) === RUN TestMainHandlerGet time="2021-10-14T17:12:04Z" level=info msg="response completed" go.version=go1.15.9 http.request.host="127.0.0.1:39765" http.request.id=ae686c1f-1f18-4c79-816e-fc432cfdbbdb http.request.method=GET http.request.remoteaddr="127.0.0.1:53314" http.request.uri=/ http.request.useragent=Go-http-client/1.1 http.response.duration="102.705µs" http.response.status=200 http.response.written=2 --- PASS: TestMainHandlerGet (0.00s) === RUN TestMainHandlerNotGet time="2021-10-14T17:12:04Z" level=info msg="generic not found: You have requested a resource that does not exist.: " go.version=go1.15.9 http.request.host="127.0.0.1:45525" http.request.id=b4d7ed82-7048-4bbf-9e2c-80dc5cfdb84f http.request.method=HEAD http.request.remoteaddr="127.0.0.1:57084" http.request.uri=/ http.request.useragent=Go-http-client/1.1 time="2021-10-14T17:12:04Z" level=info msg="response completed" go.version=go1.15.9 http.request.host="127.0.0.1:45525" http.request.id=b4d7ed82-7048-4bbf-9e2c-80dc5cfdb84f http.request.method=HEAD http.request.remoteaddr="127.0.0.1:57084" http.request.uri=/ http.request.useragent=Go-http-client/1.1 http.response.contenttype="application/json; charset=utf-8" http.response.duration="309.685µs" http.response.status=404 http.response.written=105 --- PASS: TestMainHandlerNotGet (0.00s) === RUN TestKeyHandlersInvalidConfiguration time="2021-10-14T17:12:04Z" level=error msg="500 GET storage not configured" go.version=go1.15.9 gun=gun time="2021-10-14T17:12:04Z" level=error msg="500 GET storage not configured" go.version=go1.15.9 gun=gun time="2021-10-14T17:12:04Z" level=error msg="500 GET crypto service not configured" go.version=go1.15.9 gun=gun time="2021-10-14T17:12:04Z" level=error msg="500 GET crypto service not configured" go.version=go1.15.9 gun=gun time="2021-10-14T17:12:04Z" level=error msg="500 GET key algorithm not configured" go.version=go1.15.9 gun=gun time="2021-10-14T17:12:04Z" level=error msg="500 GET key algorithm not configured" go.version=go1.15.9 gun=gun time="2021-10-14T17:12:04Z" level=error msg="500 POST storage not configured" go.version=go1.15.9 gun=gun time="2021-10-14T17:12:04Z" level=error msg="500 POST storage not configured" go.version=go1.15.9 gun=gun time="2021-10-14T17:12:04Z" level=error msg="500 POST crypto service not configured" go.version=go1.15.9 gun=gun time="2021-10-14T17:12:04Z" level=error msg="500 POST crypto service not configured" go.version=go1.15.9 gun=gun time="2021-10-14T17:12:04Z" level=error msg="500 POST key algorithm not configured" go.version=go1.15.9 gun=gun time="2021-10-14T17:12:04Z" level=error msg="500 POST key algorithm not configured" go.version=go1.15.9 gun=gun --- PASS: TestKeyHandlersInvalidConfiguration (0.00s) === RUN TestKeyHandlersNoRoleOrRepo time="2021-10-14T17:12:04Z" level=info msg="400 GET no gun in request" =gun go.version=go1.15.9 time="2021-10-14T17:12:04Z" level=info msg="400 GET no gun in request" =gun go.version=go1.15.9 time="2021-10-14T17:12:04Z" level=info msg="400 GET no role in request" go.version=go1.15.9 gun=gun time="2021-10-14T17:12:04Z" level=info msg="400 GET no role in request" go.version=go1.15.9 gun=gun time="2021-10-14T17:12:04Z" level=info msg="400 POST no gun in request" =gun go.version=go1.15.9 time="2021-10-14T17:12:04Z" level=info msg="400 POST no gun in request" =gun go.version=go1.15.9 time="2021-10-14T17:12:04Z" level=info msg="400 POST no role in request" go.version=go1.15.9 gun=gun time="2021-10-14T17:12:04Z" level=info msg="400 POST no role in request" go.version=go1.15.9 gun=gun --- PASS: TestKeyHandlersNoRoleOrRepo (0.00s) === RUN TestKeyHandlersInvalidRole time="2021-10-14T17:12:04Z" level=info msg="400 GET root key: " go.version=go1.15.9 gun=gun time="2021-10-14T17:12:04Z" level=info msg="400 GET targets key: " go.version=go1.15.9 gun=gun time="2021-10-14T17:12:04Z" level=info msg="400 GET targets/a key: " go.version=go1.15.9 gun=gun time="2021-10-14T17:12:04Z" level=info msg="400 GET invalidrole key: " go.version=go1.15.9 gun=gun time="2021-10-14T17:12:04Z" level=info msg="400 POST root key: " go.version=go1.15.9 gun=gun time="2021-10-14T17:12:04Z" level=info msg="400 POST targets key: " go.version=go1.15.9 gun=gun time="2021-10-14T17:12:04Z" level=info msg="400 POST targets/a key: " go.version=go1.15.9 gun=gun time="2021-10-14T17:12:04Z" level=info msg="400 POST invalidrole key: " go.version=go1.15.9 gun=gun --- PASS: TestKeyHandlersInvalidRole (0.00s) === RUN TestGetKeyHandlerCreatesOnce --- PASS: TestGetKeyHandlerCreatesOnce (0.00s) === RUN TestKeyHandlersInvalidKeyAlgo time="2021-10-14T17:12:04Z" level=error msg="500 GET timestamp key: only ED25519 supported by this cryptoservice" go.version=go1.15.9 gun=gun time="2021-10-14T17:12:04Z" level=error msg="500 GET snapshot key: only ED25519 supported by this cryptoservice" go.version=go1.15.9 gun=gun time="2021-10-14T17:12:04Z" level=error msg="500 POST timestamp key: only ED25519 supported by this cryptoservice" go.version=go1.15.9 gun=gun time="2021-10-14T17:12:04Z" level=error msg="500 POST snapshot key: only ED25519 supported by this cryptoservice" go.version=go1.15.9 gun=gun --- PASS: TestKeyHandlersInvalidKeyAlgo (0.00s) === RUN TestRotateKeyHandlerSuccessfulRotation --- PASS: TestRotateKeyHandlerSuccessfulRotation (0.00s) === RUN TestGetHandlerRoot time="2021-10-14T17:12:04Z" level=info msg="404 GET root role" go.version=go1.15.9 gun=gun --- PASS: TestGetHandlerRoot (0.03s) === RUN TestGetHandlerTimestamp --- PASS: TestGetHandlerTimestamp (0.00s) === RUN TestGetHandlerSnapshot --- PASS: TestGetHandlerSnapshot (0.00s) === RUN TestGetHandler404 time="2021-10-14T17:12:04Z" level=info msg="404 GET root role" go.version=go1.15.9 gun=gun --- PASS: TestGetHandler404 (0.00s) === RUN TestGetHandlerNilData time="2021-10-14T17:12:04Z" level=info msg="404 GET root role" go.version=go1.15.9 gun=gun --- PASS: TestGetHandlerNilData (0.00s) === RUN TestGetHandlerNoStorage time="2021-10-14T17:12:04Z" level=error msg="500 GET: no storage exists" =gun go.version=go1.15.9 --- PASS: TestGetHandlerNoStorage (0.00s) === RUN TestAtomicUpdateValidationFailurePropagated --- PASS: TestAtomicUpdateValidationFailurePropagated (0.07s) === RUN TestAtomicUpdateNonValidationFailureNotPropagated time="2021-10-14T17:12:04Z" level=info msg="400 POST error validating update" go.version=go1.15.9 testGUN=gun --- PASS: TestAtomicUpdateNonValidationFailureNotPropagated (0.01s) === RUN TestAtomicUpdateVersionErrorPropagated time="2021-10-14T17:12:04Z" level=info msg="400 POST old version error" go.version=go1.15.9 testGUN=gun --- PASS: TestAtomicUpdateVersionErrorPropagated (0.01s) === RUN TestGetMaybeServerSignedNoCrypto --- PASS: TestGetMaybeServerSignedNoCrypto (0.00s) === RUN TestGetMaybeServerSignedNoKey --- PASS: TestGetMaybeServerSignedNoKey (0.00s) === RUN TestValidateEmptyNew --- PASS: TestValidateEmptyNew (0.01s) === RUN TestValidateRootCanContainOnlyx509KeysWithRightGun --- PASS: TestValidateRootCanContainOnlyx509KeysWithRightGun (0.05s) === RUN TestValidatePrevTimestamp --- PASS: TestValidatePrevTimestamp (0.01s) === RUN TestValidatePreviousTimestampCorrupt time="2021-10-14T17:12:04Z" level=error msg="Failed to unmarshal existing timestamp for GUN docker.com/notary" --- PASS: TestValidatePreviousTimestampCorrupt (0.02s) === RUN TestValidateGetCurrentTimestampBroken --- PASS: TestValidateGetCurrentTimestampBroken (0.06s) === RUN TestValidateNoNewRoot --- PASS: TestValidateNoNewRoot (0.02s) === RUN TestValidateNoNewTargets --- PASS: TestValidateNoNewTargets (0.07s) === RUN TestValidateOnlySnapshot --- PASS: TestValidateOnlySnapshot (0.04s) === RUN TestValidateOldRoot --- PASS: TestValidateOldRoot (0.08s) === RUN TestValidateOldRootCorrupt --- PASS: TestValidateOldRootCorrupt (0.09s) === RUN TestValidateOldRootCorruptRootRole --- PASS: TestValidateOldRootCorruptRootRole (0.02s) === RUN TestValidateRootGetCurrentRootBroken --- PASS: TestValidateRootGetCurrentRootBroken (0.01s) === RUN TestValidateRootRotationWithOldSigs --- PASS: TestValidateRootRotationWithOldSigs (0.10s) === RUN TestValidateRootRotationMultipleKeysThreshold1 --- PASS: TestValidateRootRotationMultipleKeysThreshold1 (0.10s) === RUN TestRootRotationNotSignedWithOldKeysForOldRole --- PASS: TestRootRotationNotSignedWithOldKeysForOldRole (0.11s) === RUN TestRootRotationVersionIncrement --- PASS: TestRootRotationVersionIncrement (0.02s) === RUN TestValidateNoRoot --- PASS: TestValidateNoRoot (0.01s) === RUN TestValidateSnapshotMissingNoSnapshotKey --- PASS: TestValidateSnapshotMissingNoSnapshotKey (0.06s) === RUN TestValidateSnapshotGenerateNoPrev --- PASS: TestValidateSnapshotGenerateNoPrev (0.01s) === RUN TestValidateSnapshotGenerateWithPrev --- PASS: TestValidateSnapshotGenerateWithPrev (0.02s) === RUN TestValidateSnapshotGeneratePrevCorrupt time="2021-10-14T17:12:05Z" level=error msg="Failed to unmarshal existing snapshot for GUN docker.com/notary" --- PASS: TestValidateSnapshotGeneratePrevCorrupt (0.02s) === RUN TestValidateSnapshotGenerateStoreGetCurrentSnapshotBroken --- PASS: TestValidateSnapshotGenerateStoreGetCurrentSnapshotBroken (0.05s) === RUN TestValidateSnapshotGenerateNoTargets --- PASS: TestValidateSnapshotGenerateNoTargets (0.01s) === RUN TestValidateSnapshotGenerate --- PASS: TestValidateSnapshotGenerate (0.07s) === RUN TestValidateRootNoTimestampKey --- PASS: TestValidateRootNoTimestampKey (0.02s) === RUN TestValidateRootInvalidTimestampKey --- PASS: TestValidateRootInvalidTimestampKey (0.07s) === RUN TestValidateRootInvalidTimestampThreshold --- PASS: TestValidateRootInvalidTimestampThreshold (0.04s) === RUN TestValidateRootInvalidZeroThreshold --- PASS: TestValidateRootInvalidZeroThreshold (0.20s) === RUN TestValidateRootRoleMissing --- PASS: TestValidateRootRoleMissing (0.09s) === RUN TestValidateTargetsRoleMissing --- PASS: TestValidateTargetsRoleMissing (0.10s) === RUN TestValidateSnapshotRoleMissing --- PASS: TestValidateSnapshotRoleMissing (0.09s) === RUN TestValidateRootSigMissing --- PASS: TestValidateRootSigMissing (0.01s) === RUN TestValidateTargetsSigMissing time="2021-10-14T17:12:06Z" level=error msg="ErrBadTargets: tuf: data has no signatures" --- PASS: TestValidateTargetsSigMissing (0.09s) === RUN TestValidateSnapshotSigMissing --- PASS: TestValidateSnapshotSigMissing (0.01s) === RUN TestValidateRootCorrupt --- PASS: TestValidateRootCorrupt (0.08s) === RUN TestValidateTargetsCorrupt time="2021-10-14T17:12:06Z" level=error msg="ErrBadTargets: invalid character '\\u0084' looking for beginning of value" --- PASS: TestValidateTargetsCorrupt (0.08s) === RUN TestValidateSnapshotCorrupt --- PASS: TestValidateSnapshotCorrupt (0.01s) === RUN TestValidateRootModifiedSize --- PASS: TestValidateRootModifiedSize (0.01s) === RUN TestValidateTargetsModifiedSize --- PASS: TestValidateTargetsModifiedSize (0.11s) === RUN TestValidateRootModifiedHash --- PASS: TestValidateRootModifiedHash (0.08s) === RUN TestValidateTargetsModifiedHash --- PASS: TestValidateTargetsModifiedHash (0.01s) === RUN TestGenerateSnapshotRootNotLoaded --- PASS: TestGenerateSnapshotRootNotLoaded (0.00s) === RUN TestGenerateSnapshotNoKey --- PASS: TestGenerateSnapshotNoKey (0.01s) === RUN TestLoadTargetsLoadsNothingIfNoUpdates --- PASS: TestLoadTargetsLoadsNothingIfNoUpdates (0.06s) === RUN TestValidateTargetsRequiresStoredParent time="2021-10-14T17:12:06Z" level=error msg="ErrBadTargets: targets must be loaded first" --- PASS: TestValidateTargetsRequiresStoredParent (0.04s) === RUN TestValidateTargetsParentInUpdate time="2021-10-14T17:12:06Z" level=error msg="ErrBadTargets: invalid character 'I' looking for beginning of value" --- PASS: TestValidateTargetsParentInUpdate (0.01s) === RUN TestValidateTargetsRoleNotInParent time="2021-10-14T17:12:06Z" level=error msg="ErrBadTargets: tuf: invalid role targets/level1. delegation does not exist" time="2021-10-14T17:12:06Z" level=error msg="ErrBadTargets: targets has already been loaded" time="2021-10-14T17:12:06Z" level=error msg="ErrBadTargets: tuf: invalid role targets/level1. delegation does not exist" --- PASS: TestValidateTargetsRoleNotInParent (0.06s) PASS ok github.com/theupdateframework/notary/server/handlers 2.684s === RUN TestSnapshotExpired --- PASS: TestSnapshotExpired (0.00s) === RUN TestSnapshotNotExpired --- PASS: TestSnapshotNotExpired (0.00s) === RUN TestGetSnapshotKeyCreate --- PASS: TestGetSnapshotKeyCreate (0.00s) === RUN TestGetSnapshotKeyCreateWithFailingStore time="2021-10-14T17:12:13Z" level=error msg="Error when retrieving root role for GUN gun: failing store failed" --- PASS: TestGetSnapshotKeyCreateWithFailingStore (0.00s) === RUN TestGetSnapshotKeyCreateWithCorruptedStore time="2021-10-14T17:12:13Z" 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.04s) === RUN TestGetSnapshotNoPreviousSnapshot time="2021-10-14T17:12:13Z" 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.191s === 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.51s) === RUN TestSQLUpdateCurrentVersionCheckOldVersionExists --- PASS: TestSQLUpdateCurrentVersionCheckOldVersionExists (0.20s) === RUN TestSQLUpdateCurrentVersionCheckOldVersionNotExist --- PASS: TestSQLUpdateCurrentVersionCheckOldVersionNotExist (0.10s) === RUN TestSQLUpdateManyNoConflicts --- PASS: TestSQLUpdateManyNoConflicts (0.27s) === RUN TestSQLUpdateManyConflictRollback --- PASS: TestSQLUpdateManyConflictRollback (0.20s) === RUN TestSQLDelete --- PASS: TestSQLDelete (0.44s) === RUN TestSQLDBCheckHealthTableMissing --- PASS: TestSQLDBCheckHealthTableMissing (0.07s) === RUN TestSQLDBCheckHealthDBConnectionFail --- PASS: TestSQLDBCheckHealthDBConnectionFail (0.13s) === RUN TestSQLDBCheckHealthSucceeds --- PASS: TestSQLDBCheckHealthSucceeds (0.01s) === RUN TestSQLDBGetChecksum --- PASS: TestSQLDBGetChecksum (0.19s) === RUN TestSQLDBGetChecksumNotFound --- PASS: TestSQLDBGetChecksumNotFound (0.10s) === RUN TestSQLTUFMetaStoreGetCurrent --- PASS: TestSQLTUFMetaStoreGetCurrent (0.31s) === RUN TestSQLGetChanges --- PASS: TestSQLGetChanges (0.37s) === RUN TestSQLDBGetVersion --- PASS: TestSQLDBGetVersion (0.03s) PASS ok github.com/theupdateframework/notary/server/storage 3.129s === RUN TestTimestampExpired --- PASS: TestTimestampExpired (0.00s) === RUN TestTimestampNotExpired --- PASS: TestTimestampNotExpired (0.00s) === RUN TestGetTimestampKey --- PASS: TestGetTimestampKey (0.00s) === RUN TestGetTimestampNoPreviousTimestamp time="2021-10-14T17:12:19Z" level=error msg="Failed to unmarshal existing timestamp" --- PASS: TestGetTimestampNoPreviousTimestamp (0.03s) === RUN TestGetTimestampReturnsPreviousTimestampIfUnexpired --- PASS: TestGetTimestampReturnsPreviousTimestampIfUnexpired (0.00s) === RUN TestGetTimestampOldTimestampExpired --- PASS: TestGetTimestampOldTimestampExpired (0.06s) === RUN TestCannotMakeNewTimestampIfNoRootOrSnapshot time="2021-10-14T17:12:19Z" level=error msg="Failed to create a new timestamp" time="2021-10-14T17:12:19Z" level=error msg="Failed to create a new timestamp" --- PASS: TestCannotMakeNewTimestampIfNoRootOrSnapshot (0.01s) === RUN TestCreateTimestampNoKeyInCrypto time="2021-10-14T17:12:19Z" level=error msg="Failed to create a new timestamp" --- PASS: TestCreateTimestampNoKeyInCrypto (0.01s) === RUN TestGetTimestampKeyCreateWithFailingStore time="2021-10-14T17:12:19Z" level=error msg="Error when retrieving root role for GUN gun: failing store failed" --- PASS: TestGetTimestampKeyCreateWithFailingStore (0.00s) === RUN TestGetTimestampKeyCreateWithCorruptedStore time="2021-10-14T17:12:19Z" 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.00s) PASS ok github.com/theupdateframework/notary/server/timestamp 0.259s === RUN TestHealthCheckKMUnhealthy --- PASS: TestHealthCheckKMUnhealthy (0.01s) === RUN TestHealthCheckSignerUnhealthy --- PASS: TestHealthCheckSignerUnhealthy (0.00s) === RUN TestHealthCheckKMTimeout --- PASS: TestHealthCheckKMTimeout (0.00s) === RUN TestHealthCheckSignerTimeout --- PASS: TestHealthCheckSignerTimeout (0.00s) === RUN TestHealthCheckKMHealthy --- PASS: TestHealthCheckKMHealthy (0.01s) === RUN TestHealthCheckSignerHealthy --- PASS: TestHealthCheckSignerHealthy (0.07s) === RUN TestHealthCheckKMConnectionDied --- PASS: TestHealthCheckKMConnectionDied (0.00s) === RUN TestHealthCheckSignerConnectionDied --- PASS: TestHealthCheckSignerConnectionDied (0.00s) === RUN TestHealthCheckForOverallStatus --- PASS: TestHealthCheckForOverallStatus (0.01s) === RUN TestHealthCheckNonexistentService --- PASS: TestHealthCheckNonexistentService (0.00s) === RUN TestGetPrivateKeyAndSignWithExistingKey time="2021-10-14T17:12:25Z" level=info msg="Sign: Signed message! with KeyID d5e4c82c62ac704397cde9ed861891a83c01b5b6a952b3ef3996d24a32e759e5" go.version=go1.15.9 --- PASS: TestGetPrivateKeyAndSignWithExistingKey (0.02s) === RUN TestCannotSignWithKeyThatDoesntExist time="2021-10-14T17:12:25Z" level=error msg="Sign: key 35f9dc31285fb5dd3556f1a2857cfa46c2122b54002c651ae6dde1a1236580d7 not found" go.version=go1.15.9 --- PASS: TestCannotSignWithKeyThatDoesntExist (0.06s) === RUN TestCryptoSignerInterfaceBehavior time="2021-10-14T17:12:25Z" level=error msg="GetKeyInfo: key nonexistent not found" go.version=go1.15.9 time="2021-10-14T17:12:25Z" level=error msg="GetKeyInfo: key nonexistent not found" go.version=go1.15.9 time="2021-10-14T17:12:25Z" level=info msg="CreateKey: Created KeyID d2484cfeb0f795d86ed89ca806e49c6a2beabd094e61067f050f5cf7b5eec5b6" go.version=go1.15.9 time="2021-10-14T17:12:25Z" level=info msg="CreateKey: Created KeyID 4581720e6838b138fd67d5286a09dc3f8f2973df1c3b26a1c8c32353cee991f7" go.version=go1.15.9 time="2021-10-14T17:12:25Z" level=error msg="GetKeyInfo: key d2484cfeb0f795d86ed89ca806e49c6a2beabd094e61067f050f5cf7b5eec5b6 not found" go.version=go1.15.9 time="2021-10-14T17:12:25Z" level=error msg="GetKeyInfo: key 4581720e6838b138fd67d5286a09dc3f8f2973df1c3b26a1c8c32353cee991f7 not found" go.version=go1.15.9 --- PASS: TestCryptoSignerInterfaceBehavior (0.04s) PASS ok github.com/theupdateframework/notary/signer 0.395s ? github.com/theupdateframework/notary/signer/api [no test files] ? github.com/theupdateframework/notary/signer/client [no test files] === RUN TestGetSuccessPopulatesCache --- PASS: TestGetSuccessPopulatesCache (0.20s) === RUN TestAddKeyPopulatesCacheIfSuccessful --- PASS: TestAddKeyPopulatesCacheIfSuccessful (0.10s) === RUN TestDeleteKeyRemovesKeyFromCache --- PASS: TestDeleteKeyRemovesKeyFromCache (0.01s) === 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.10s) === RUN TestSQLDBHealthCheckNoConnection --- PASS: TestSQLDBHealthCheckNoConnection (0.10s) === RUN TestSQLKeyCanOnlyBeAddedOnce (/build/notary-PptSiq/notary-0.6.1-ds2/_build/src/github.com/theupdateframework/notary/signer/keydbstore/sql_keydbstore.go:98) [2021-10-14 17:12:31]  UNIQUE constraint failed: private_keys.key_id  --- PASS: TestSQLKeyCanOnlyBeAddedOnce (1.19s) === RUN TestSQLCreateDelete --- PASS: TestSQLCreateDelete (0.88s) === RUN TestSQLKeyRotation --- PASS: TestSQLKeyRotation (0.82s) === RUN TestSQLSigningMarksKeyActive (/build/notary-PptSiq/notary-0.6.1-ds2/_build/src/github.com/theupdateframework/notary/signer/keydbstore/sql_keydbstore.go:197) [2021-10-14 17:12:35]  sql: database is closed  time="2021-10-14T17:12:35Z" level=error msg="Key af7e4b2746a502d5dc0fb0a34f1538a29fb0d0737ed11f672bebfd7b6915bfff was just used to sign hash successful, db closed, error when trying to mark key as active: sql: database is closed" --- PASS: TestSQLSigningMarksKeyActive (1.30s) === RUN TestSQLCreateKey --- PASS: TestSQLCreateKey (0.81s) === RUN TestSQLUnimplementedInterfaceBehavior --- PASS: TestSQLUnimplementedInterfaceBehavior (0.26s) PASS ok github.com/theupdateframework/notary/signer/keydbstore 5.883s === 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.06s) === 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.00s) === RUN TestFileStoreConsistency --- PASS: TestFileStoreConsistency (0.01s) === 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.01s) === RUN Test400Error --- PASS: Test400Error (0.00s) === RUN TestTranslateErrorsParse400Errors --- PASS: TestTranslateErrorsParse400Errors (0.00s) === RUN TestTranslateErrorsWhenCannotParse400 --- PASS: TestTranslateErrorsWhenCannotParse400 (0.00s) === 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.00s) === RUN TestHTTPOffline --- PASS: TestHTTPOffline (0.00s) === RUN TestErrServerUnavailable --- PASS: TestErrServerUnavailable (0.05s) === RUN 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.185s ? 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.00s) === 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.00s) === RUN TestImportKeys2InOneFile --- PASS: TestImportKeys2InOneFile (0.00s) === RUN TestImportKeys2InOneFileNoPath --- PASS: TestImportKeys2InOneFileNoPath (0.06s) === RUN TestEncryptedKeyImportFail time="2021-10-14T17:12:35Z" 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.03s) === RUN TestEncryptedKeyImportSuccess --- PASS: TestEncryptedKeyImportSuccess (0.01s) === RUN TestEncryption --- PASS: TestEncryption (0.01s) === RUN TestAddKey --- PASS: TestAddKey (0.14s) === RUN TestKeyStoreInternalState --- PASS: TestKeyStoreInternalState (0.01s) === RUN TestGet --- PASS: TestGet (0.11s) === RUN TestGetLegacyKey --- PASS: TestGetLegacyKey (0.00s) === RUN TestListKeys --- PASS: TestListKeys (0.11s) === RUN TestAddGetKeyMemStore --- PASS: TestAddGetKeyMemStore (0.01s) === RUN TestAddGetKeyInfoMemStore --- PASS: TestAddGetKeyInfoMemStore (0.09s) === RUN TestGetDecryptedWithTamperedCipherText time="2021-10-14T17:12:35Z" level=error msg="PEM block is empty" --- PASS: TestGetDecryptedWithTamperedCipherText (0.10s) === RUN TestGetDecryptedWithInvalidPassphrase --- PASS: TestGetDecryptedWithInvalidPassphrase (0.09s) === RUN TestGetDecryptedWithConsistentlyInvalidPassphrase --- PASS: TestGetDecryptedWithConsistentlyInvalidPassphrase (0.21s) === RUN TestRemoveKey --- PASS: TestRemoveKey (0.41s) === RUN TestKeysAreCached --- PASS: TestKeysAreCached (0.08s) PASS ok github.com/theupdateframework/notary/trustmanager 1.662s === RUN TestRemoteStore time="2021-10-14T17:12:43Z" level=info msg="listing files from localhost:9888" time="2021-10-14T17:12:43Z" level=info msg="listing files from localhost:9888" --- PASS: TestRemoteStore (0.20s) === RUN TestErrors time="2021-10-14T17:12:43Z" level=error msg="failed to store: test error" --- PASS: TestErrors (0.21s) === RUN TestNewGRPCStorage --- PASS: TestNewGRPCStorage (0.00s) === RUN TestGRPCStorage --- PASS: TestGRPCStorage (0.00s) PASS panic: Log in goroutine after TestErrors has completed goroutine 71 [running]: testing.(*common).logDepth(0xc0003aa180, 0xc000028fe0, 0x19, 0x3) /usr/lib/go-1.15/src/testing/testing.go:755 +0x5df testing.(*common).log(...) /usr/lib/go-1.15/src/testing/testing.go:737 testing.(*common).Logf(0xc0003aa180, 0x94e94b, 0x11, 0xc000386fa0, 0x1, 0x1) /usr/lib/go-1.15/src/testing/testing.go:783 +0x7e github.com/theupdateframework/notary/trustmanager/remoteks.setupTestServer.func1(0xc0003aa600, 0x9e2a20, 0xc000389ba0, 0xc0003aa180) /build/notary-PptSiq/notary-0.6.1-ds2/_build/src/github.com/theupdateframework/notary/trustmanager/remoteks/client_test.go:99 +0xab created by github.com/theupdateframework/notary/trustmanager/remoteks.setupTestServer /build/notary-PptSiq/notary-0.6.1-ds2/_build/src/github.com/theupdateframework/notary/trustmanager/remoteks/client_test.go:97 +0x1df FAIL github.com/theupdateframework/notary/trustmanager/remoteks 0.529s ? github.com/theupdateframework/notary/trustmanager/yubikey [no test files] === RUN TestWildcardMatch --- PASS: TestWildcardMatch (0.00s) === RUN TestValidateRoot 2021/10/14 17:12:56 [INFO] generate received request 2021/10/14 17:12:56 [INFO] received CSR 2021/10/14 17:12:56 [INFO] generating key: ecdsa-256 2021/10/14 17:12:56 [INFO] encoded CSR 2021/10/14 17:12:56 [INFO] signed certificate with serial number 212496488140796295312769860117687824344038022249 2021/10/14 17:12:56 [INFO] received CSR 2021/10/14 17:12:56 [INFO] generating key: ecdsa-256 2021/10/14 17:12:56 [INFO] encoded CSR 2021/10/14 17:12:56 [INFO] signed certificate with serial number 53840354699134124181686832802493223466352032930 2021/10/14 17:12:56 [INFO] received CSR 2021/10/14 17:12:56 [INFO] generating key: ecdsa-256 2021/10/14 17:12:56 [INFO] encoded CSR 2021/10/14 17:12:56 [INFO] signed certificate with serial number 54205365128113602342417970451942043519999910208 --- PASS: TestValidateRoot (0.20s) === RUN TestValidateRootWithoutTOFUS --- PASS: TestValidateRootWithoutTOFUS (0.05s) === RUN TestValidateRootWithPinnedCert --- PASS: TestValidateRootWithPinnedCert (0.01s) === RUN TestValidateRootWithPinnedCertAndIntermediates --- PASS: TestValidateRootWithPinnedCertAndIntermediates (0.13s) === RUN TestValidateRootFailuresWithPinnedCert --- PASS: TestValidateRootFailuresWithPinnedCert (0.00s) === RUN TestValidateRootWithPinnedCA --- PASS: TestValidateRootWithPinnedCA (0.30s) === RUN TestValidateSuccessfulRootRotation --- PASS: TestValidateSuccessfulRootRotation (0.29s) === RUN TestValidateRootRotationMissingOrigSig --- PASS: TestValidateRootRotationMissingOrigSig (0.28s) === RUN TestValidateRootRotationMissingNewSig --- PASS: TestValidateRootRotationMissingNewSig (0.21s) === RUN TestValidateRootRotationTrustPinning --- PASS: TestValidateRootRotationTrustPinning (0.21s) === RUN TestValidateRootRotationTrustPinningInvalidCA --- PASS: TestValidateRootRotationTrustPinningInvalidCA (0.20s) === RUN TestParsePEMPublicKey time="2021-10-14T17:12:58Z" level=warning msg="certificate with CN notary is near expiry" --- PASS: TestParsePEMPublicKey (0.07s) === RUN TestCheckingCertExpiry time="2021-10-14T17:12:58Z" level=warning msg="certificate with CN notary is near expiry" --- PASS: TestCheckingCertExpiry (0.10s) === RUN TestValidateRootWithExpiredIntermediate --- PASS: TestValidateRootWithExpiredIntermediate (0.02s) === RUN TestCheckingWildcardCert --- PASS: TestCheckingWildcardCert (0.10s) === RUN TestWildcardMatching --- PASS: TestWildcardMatching (0.00s) PASS ok github.com/theupdateframework/notary/trustpinning 2.395s === RUN TestInitSnapshotNoTargets --- PASS: TestInitSnapshotNoTargets (0.00s) === RUN TestInitRepo --- PASS: TestInitRepo (0.01s) === RUN TestUpdateDelegations --- PASS: TestUpdateDelegations (0.00s) === RUN TestPurgeDelegationsKeyFromTop time="2021-10-14T17:12:57Z" level=warning msg="role targets/sybil has fewer keys than its threshold of 1; it will not be usable until keys are added to it" time="2021-10-14T17:12:57Z" level=warning msg="role targets/vimes/carrot has fewer keys than its threshold of 1; it will not be usable until keys are added to it" --- PASS: TestPurgeDelegationsKeyFromTop (0.00s) === RUN TestPurgeDelegationsKeyFromDeep time="2021-10-14T17:12:57Z" level=warning msg="role targets/vimes/carrot has fewer keys than its threshold of 1; it will not be usable until keys are added to it" --- PASS: TestPurgeDelegationsKeyFromDeep (0.06s) === 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-14T17:12:57Z" level=warning msg="role targets/role has fewer keys than its threshold of 2; it will not be usable until keys are added to it" --- 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.00s) === 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.01s) === RUN TestRemoveTargetsNoSigningKeys --- PASS: TestRemoveTargetsNoSigningKeys (0.00s) === RUN TestAddBaseKeysToRoot --- PASS: TestAddBaseKeysToRoot (0.00s) === RUN TestRemoveBaseKeysFromRoot --- PASS: TestRemoveBaseKeysFromRoot (0.00s) === RUN TestReplaceBaseKeysInRoot --- PASS: TestReplaceBaseKeysInRoot (0.01s) === 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.21s) === RUN TestSignRootOldKeyCertMissing --- PASS: TestSignRootOldKeyCertMissing (0.08s) === RUN TestRootKeyRotation --- PASS: TestRootKeyRotation (0.23s) === RUN TestBuilderLoadsValidRolesOnly --- PASS: TestBuilderLoadsValidRolesOnly (0.05s) === RUN TestBuilderOnlyAcceptsRootFirstWhenLoading --- PASS: TestBuilderOnlyAcceptsRootFirstWhenLoading (0.00s) === RUN TestBuilderOnlyAcceptsDelegationsAfterParent --- PASS: TestBuilderOnlyAcceptsDelegationsAfterParent (0.00s) === RUN TestMarkingIsValid --- PASS: TestMarkingIsValid (0.01s) === RUN TestBuilderLoadInvalidDelegations --- PASS: TestBuilderLoadInvalidDelegations (0.01s) === RUN TestBuilderLoadInvalidDelegationsOldVersion --- PASS: TestBuilderLoadInvalidDelegationsOldVersion (0.02s) === RUN TestBuilderAcceptRoleOnce --- PASS: TestBuilderAcceptRoleOnce (0.06s) === RUN TestBuilderStopsAcceptingOrProducingDataOnceDone --- PASS: TestBuilderStopsAcceptingOrProducingDataOnceDone (0.00s) === RUN TestGenerateSnapshotInvalidOperations --- PASS: TestGenerateSnapshotInvalidOperations (0.22s) === RUN TestGenerateTimestampInvalidOperations --- PASS: TestGenerateTimestampInvalidOperations (0.12s) === RUN TestGetConsistentInfo --- PASS: TestGetConsistentInfo (0.15s) === RUN TestTimestampPreAndPostChecksumming --- PASS: TestTimestampPreAndPostChecksumming (0.10s) === RUN TestSnapshotLoadedFirstChecksumsOthers --- PASS: TestSnapshotLoadedFirstChecksumsOthers (0.05s) === RUN TestSnapshotLoadedAfterChecksumsOthersRetroactively --- PASS: TestSnapshotLoadedAfterChecksumsOthersRetroactively (0.09s) PASS ok github.com/theupdateframework/notary/tuf 1.692s === 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.01s) === RUN TestRootFromSignedValidatesRoleType --- PASS: TestRootFromSignedValidatesRoleType (0.01s) === 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.05s) === 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.01s) === 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.116s === 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.00s) === RUN TestSignRemovesInvalidSig --- PASS: TestSignRemovesInvalidSig (0.00s) === RUN TestSignMinSignatures --- PASS: TestSignMinSignatures (0.00s) === RUN TestSignFailingKeys --- PASS: TestSignFailingKeys (0.04s) === RUN TestErrInsufficientSignaturesMessaging --- PASS: TestErrInsufficientSignaturesMessaging (0.00s) === RUN TestRSAPSSVerifier --- PASS: TestRSAPSSVerifier (0.01s) === RUN TestRSAPSSx509Verifier --- PASS: TestRSAPSSx509Verifier (0.00s) === RUN TestRSAPSSVerifierWithInvalidKeyType --- PASS: TestRSAPSSVerifierWithInvalidKeyType (0.00s) === RUN TestRSAPSSVerifierWithInvalidKeyLength --- PASS: TestRSAPSSVerifierWithInvalidKeyLength (0.09s) === RUN TestRSAPSSVerifierWithInvalidKey --- PASS: TestRSAPSSVerifierWithInvalidKey (0.00s) === RUN TestRSAPSSVerifierWithInvalidSignature --- PASS: TestRSAPSSVerifierWithInvalidSignature (0.01s) === RUN TestRSAPKCS1v15Verifier --- PASS: TestRSAPKCS1v15Verifier (0.00s) === RUN TestRSAPKCS1v15x509Verifier --- PASS: TestRSAPKCS1v15x509Verifier (0.00s) === RUN TestRSAPKCS1v15VerifierWithInvalidKeyType --- PASS: TestRSAPKCS1v15VerifierWithInvalidKeyType (0.00s) === RUN TestRSAPKCS1v15VerifierWithInvalidKey --- PASS: TestRSAPKCS1v15VerifierWithInvalidKey (0.00s) === RUN TestRSAPKCS1v15VerifierWithInvalidSignature time="2021-10-14T17:13:06Z" level=error msg="Failed verification: crypto/rsa: verification error" --- PASS: TestRSAPKCS1v15VerifierWithInvalidSignature (0.06s) === RUN TestECDSAVerifier --- PASS: TestECDSAVerifier (0.01s) === RUN TestECDSAVerifierOtherCurves --- PASS: TestECDSAVerifierOtherCurves (1.83s) === 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-14T17:13:08Z" 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 2.354s === RUN TestNewSwizzler --- PASS: TestNewSwizzler (0.11s) === RUN TestSwizzlerSetInvalidJSON --- PASS: TestSwizzlerSetInvalidJSON (0.01s) === RUN TestSwizzlerAddExtraSpace --- PASS: TestSwizzlerAddExtraSpace (0.07s) === RUN TestSwizzlerSetInvalidSigned --- PASS: TestSwizzlerSetInvalidSigned (0.01s) === RUN TestSwizzlerSetInvalidSignedMeta --- PASS: TestSwizzlerSetInvalidSignedMeta (0.01s) === RUN TestSwizzlerSetInvalidMetadataType --- PASS: TestSwizzlerSetInvalidMetadataType (0.01s) === RUN TestSwizzlerInvalidateMetadataSignatures --- PASS: TestSwizzlerInvalidateMetadataSignatures (0.01s) === RUN TestSwizzlerRemoveMetadata --- PASS: TestSwizzlerRemoveMetadata (0.06s) === RUN TestSwizzlerSignMetadataWithInvalidKey --- PASS: TestSwizzlerSignMetadataWithInvalidKey (0.02s) === RUN TestSwizzlerOffsetMetadataVersion --- PASS: TestSwizzlerOffsetMetadataVersion (0.02s) === RUN TestSwizzlerExpireMetadata --- PASS: TestSwizzlerExpireMetadata (0.07s) === RUN TestSwizzlerSetThresholdBaseRole --- PASS: TestSwizzlerSetThresholdBaseRole (0.02s) === RUN TestSwizzlerSetThresholdDelegatedRole --- PASS: TestSwizzlerSetThresholdDelegatedRole (0.01s) === RUN TestSwizzlerChangeRootKey --- PASS: TestSwizzlerChangeRootKey (0.07s) === RUN TestSwizzlerUpdateSnapshotHashesSpecifiedRoles --- PASS: TestSwizzlerUpdateSnapshotHashesSpecifiedRoles (0.02s) === RUN TestSwizzlerUpdateSnapshotHashesNoSpecifiedRoles --- PASS: TestSwizzlerUpdateSnapshotHashesNoSpecifiedRoles (0.07s) === RUN TestSwizzlerUpdateTimestamp --- PASS: TestSwizzlerUpdateTimestamp (0.02s) === RUN TestMissingSigningKey --- PASS: TestMissingSigningKey (0.02s) === RUN TestSwizzlerMutateRoot --- PASS: TestSwizzlerMutateRoot (0.06s) === RUN TestSwizzlerMutateTimestamp --- PASS: TestSwizzlerMutateTimestamp (0.01s) === RUN TestSwizzlerMutateSnapshot --- PASS: TestSwizzlerMutateSnapshot (0.01s) === RUN TestSwizzlerMutateTargets --- PASS: TestSwizzlerMutateTargets (0.10s) === RUN TestSwizzlerRotateKeyBaseRole --- PASS: TestSwizzlerRotateKeyBaseRole (0.02s) === RUN TestSwizzlerRotateKeyDelegationRole --- PASS: TestSwizzlerRotateKeyDelegationRole (0.08s) PASS ok github.com/theupdateframework/notary/tuf/testutils 0.992s ? 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.13s) === RUN TestParsePKCS8ToTufKey --- PASS: TestParsePKCS8ToTufKey (0.98s) === 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.01s) === 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.12s) === RUN TestRSAX509PublickeyID --- PASS: TestRSAX509PublickeyID (0.00s) === RUN TestECDSAX509PublickeyID --- PASS: TestECDSAX509PublickeyID (0.08s) === 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.09s) PASS ok github.com/theupdateframework/notary/tuf/utils 1.615s === 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.152s === RUN TestSetSignalTrap --- PASS: TestSetSignalTrap (0.01s) === 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.08s) === 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.10s) === 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.02s) === 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.446s ? 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-arch] Error 25 dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2 E: run_chroot failed: E: command failed: chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/notary-PptSiq/notary-0.6.1-ds2 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1626601239" dpkg-buildpackage -uc -a amd64 --build=any" W: listening on child socket failed: I: removing tempdir /tmp/mmdebstrap.ds0HO3Qo1Y... mmdebstrap failed