Diff of the two buildlogs: -- --- b1/build.log 2024-12-23 00:32:05.082909405 +0000 +++ b2/build.log 2024-12-23 00:35:15.434274378 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Dec 22 12:26:02 -12 2024 -I: pbuilder-time-stamp: 1734913562 +I: Current time: Sun Jan 25 20:55:06 +14 2026 +I: pbuilder-time-stamp: 1769324106 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -29,52 +29,84 @@ dpkg-source: info: applying auto-gitignore I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/262560/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1779042/tmp/hooks/D01_modify_environment starting +debug: Running on ionos15-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jan 25 06:55 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/1779042/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1779042/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='ca936bde768d44b18e6d36b57b182312' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='262560' - PS1='# ' - PS2='> ' + INVOCATION_ID=49f86e6ad0934e8da51a6b5fe78c7d4e + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=1779042 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.ehvBxdJO/pbuilderrc_HbuD --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.ehvBxdJO/b1 --logfile b1/build.log golang-github-notaryproject-notation-core-go_1.1.0-4.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.ehvBxdJO/pbuilderrc_2myo --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.ehvBxdJO/b2 --logfile b2/build.log golang-github-notaryproject-notation-core-go_1.1.0-4.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos11-amd64 6.1.0-28-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.11.10+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.11.10-1~bpo12+1 (2024-12-19) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/262560/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1779042/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -168,7 +200,7 @@ Get: 42 http://deb.debian.org/debian unstable/main amd64 golang-golang-x-term-dev all 0.22.0-1 [14.8 kB] Get: 43 http://deb.debian.org/debian unstable/main amd64 golang-golang-x-text-dev all 0.16.0-1 [4003 kB] Get: 44 http://deb.debian.org/debian unstable/main amd64 golang-golang-x-crypto-dev all 1:0.25.0-1 [1682 kB] -Fetched 72.4 MB in 3s (22.8 MB/s) +Fetched 72.4 MB in 1s (49.7 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19967 files and directories currently installed.) @@ -359,7 +391,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/golang-github-notaryproject-notation-core-go-1.1.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../golang-github-notaryproject-notation-core-go_1.1.0-4_source.changes +I: user script /srv/workspace/pbuilder/1779042/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/1779042/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/golang-github-notaryproject-notation-core-go-1.1.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../golang-github-notaryproject-notation-core-go_1.1.0-4_source.changes dpkg-buildpackage: info: source package golang-github-notaryproject-notation-core-go dpkg-buildpackage: info: source version 1.1.0-4 dpkg-buildpackage: info: source distribution unstable @@ -377,120 +413,120 @@ dh_autoreconf -O--builddirectory=_build -O--buildsystem=golang dh_auto_configure -O--builddirectory=_build -O--buildsystem=golang dh_auto_build -O--builddirectory=_build -O--buildsystem=golang - cd _build && go install -trimpath -v -p 20 github.com/notaryproject/notation-core-go/internal/oid github.com/notaryproject/notation-core-go/internal/timestamp github.com/notaryproject/notation-core-go/revocation github.com/notaryproject/notation-core-go/revocation/ocsp github.com/notaryproject/notation-core-go/revocation/purpose github.com/notaryproject/notation-core-go/revocation/result github.com/notaryproject/notation-core-go/signature github.com/notaryproject/notation-core-go/signature/cose github.com/notaryproject/notation-core-go/signature/internal/base github.com/notaryproject/notation-core-go/signature/internal/signaturetest github.com/notaryproject/notation-core-go/signature/jws github.com/notaryproject/notation-core-go/testhelper github.com/notaryproject/notation-core-go/x509 -internal/goarch -internal/goexperiment -internal/race -internal/msan -internal/asan -math/bits -unicode/utf8 -internal/goos -internal/runtime/syscall -internal/runtime/atomic + cd _build && go install -trimpath -v -p 42 github.com/notaryproject/notation-core-go/internal/oid github.com/notaryproject/notation-core-go/internal/timestamp github.com/notaryproject/notation-core-go/revocation github.com/notaryproject/notation-core-go/revocation/ocsp github.com/notaryproject/notation-core-go/revocation/purpose github.com/notaryproject/notation-core-go/revocation/result github.com/notaryproject/notation-core-go/signature github.com/notaryproject/notation-core-go/signature/cose github.com/notaryproject/notation-core-go/signature/internal/base github.com/notaryproject/notation-core-go/signature/internal/signaturetest github.com/notaryproject/notation-core-go/signature/jws github.com/notaryproject/notation-core-go/testhelper github.com/notaryproject/notation-core-go/x509 +internal/coverage/rtcov cmp -internal/profilerecord internal/byteorder +internal/profilerecord +internal/godebugs +internal/race +internal/msan +internal/unsafeheader +internal/goarch unicode/utf16 +encoding +internal/goos +math/bits +log/internal +vendor/golang.org/x/crypto/internal/alias +internal/goexperiment +unicode internal/cpu -sync/atomic -internal/unsafeheader -internal/godebugs -internal/coverage/rtcov -crypto/internal/alias -runtime/internal/math internal/itoa -internal/abi -unicode +vendor/golang.org/x/crypto/cryptobyte/asn1 +internal/asan +crypto/internal/alias +internal/runtime/syscall crypto/subtle crypto/internal/boring/sig -runtime/internal/sys -vendor/golang.org/x/crypto/cryptobyte/asn1 -internal/nettrace +sync/atomic container/list -vendor/golang.org/x/crypto/internal/alias -log/internal +internal/nettrace github.com/notaryproject/notation-core-go/revocation/purpose +unicode/utf8 +internal/runtime/atomic +runtime/internal/math +runtime/internal/sys +internal/abi internal/chacha8rand -encoding -internal/runtime/exithook internal/bytealg math +internal/runtime/exithook internal/stringslite runtime iter internal/weak internal/reflectlite sync -slices maps -internal/bisect +slices internal/singleflight internal/testlog +internal/bisect runtime/cgo errors -internal/godebug sort +io internal/oserror path crypto/internal/edwards25519/field -math/rand -io -strconv -math/rand/v2 vendor/golang.org/x/net/dns/dnsmessage +internal/godebug +math/rand/v2 +strconv crypto/internal/nistec/fiat -syscall -crypto/internal/edwards25519 -bytes -strings hash crypto/internal/randutil -internal/concurrent +bytes +strings +syscall hash/crc32 +math/rand +crypto/internal/edwards25519 +internal/concurrent unique +vendor/golang.org/x/text/transform +crypto/cipher +net/http/internal/ascii +bufio crypto crypto/rc4 -encoding/base32 -reflect github.com/x448/float16 -crypto/cipher -vendor/golang.org/x/text/transform -crypto/md5 -github.com/notaryproject/tspclient-go/internal/hashutil +encoding/base32 net/netip -bufio -net/http/internal/ascii regexp/syntax +reflect +github.com/notaryproject/tspclient-go/internal/hashutil +crypto/md5 crypto/internal/boring crypto/des -crypto/aes -crypto/sha1 -crypto/sha256 crypto/hmac crypto/sha512 +crypto/sha1 +crypto/sha256 +crypto/aes vendor/golang.org/x/crypto/hkdf +regexp internal/syscall/execenv internal/syscall/unix time -regexp context io/fs internal/poll -internal/filepathlite embed +internal/filepathlite +crypto/internal/nistec internal/fmtsort encoding/binary -crypto/internal/nistec os encoding/base64 vendor/golang.org/x/crypto/chacha20 vendor/golang.org/x/crypto/internal/poly1305 -encoding/pem crypto/ecdh -fmt +encoding/pem path/filepath vendor/golang.org/x/sys/cpu +fmt net vendor/golang.org/x/crypto/chacha20poly1305 vendor/golang.org/x/crypto/sha3 @@ -498,35 +534,35 @@ net/url log net/http/internal -compress/flate -mime -math/big -vendor/golang.org/x/text/unicode/norm -github.com/notaryproject/notation-core-go/revocation/result mime/quotedprintable +github.com/notaryproject/notation-core-go/revocation/result +mime vendor/golang.org/x/net/http2/hpack +compress/flate encoding/json +math/big +vendor/golang.org/x/text/unicode/norm vendor/golang.org/x/text/unicode/bidi compress/gzip vendor/golang.org/x/text/secure/bidirule vendor/golang.org/x/net/idna crypto/dsa encoding/asn1 -crypto/elliptic -crypto/internal/bigmod crypto/internal/boring/bbig +crypto/internal/bigmod +crypto/elliptic crypto/rand github.com/fxamacker/cbor -crypto/ed25519 crypto/internal/hpke +crypto/ed25519 crypto/internal/mlkem768 crypto/rsa github.com/notaryproject/notation-core-go/internal/oid crypto/x509/pkix -vendor/golang.org/x/crypto/cryptobyte -github.com/notaryproject/tspclient-go/internal/encoding/asn1/ber github.com/notaryproject/tspclient-go/internal/encoding/asn1 github.com/notaryproject/tspclient-go/pki +vendor/golang.org/x/crypto/cryptobyte +github.com/notaryproject/tspclient-go/internal/encoding/asn1/ber crypto/ecdsa github.com/veraison/go-cose vendor/golang.org/x/net/http/httpproxy @@ -541,25 +577,25 @@ github.com/notaryproject/tspclient-go/internal/cms net/http/httptrace net/http -github.com/notaryproject/tspclient-go github.com/notaryproject/notation-core-go/testhelper +github.com/notaryproject/tspclient-go github.com/notaryproject/notation-core-go/signature -github.com/notaryproject/notation-core-go/x509 github.com/notaryproject/notation-core-go/signature/internal/signaturetest +github.com/notaryproject/notation-core-go/x509 github.com/notaryproject/notation-core-go/internal/timestamp -github.com/notaryproject/notation-core-go/revocation/ocsp github.com/notaryproject/notation-core-go/signature/internal/base +github.com/notaryproject/notation-core-go/revocation/ocsp github.com/notaryproject/notation-core-go/signature/cose github.com/notaryproject/notation-core-go/signature/jws github.com/notaryproject/notation-core-go/revocation dh_auto_test -O--builddirectory=_build -O--buildsystem=golang - cd _build && go test -vet=off -v -p 20 github.com/notaryproject/notation-core-go/internal/oid github.com/notaryproject/notation-core-go/internal/timestamp github.com/notaryproject/notation-core-go/revocation github.com/notaryproject/notation-core-go/revocation/ocsp github.com/notaryproject/notation-core-go/revocation/purpose github.com/notaryproject/notation-core-go/revocation/result github.com/notaryproject/notation-core-go/signature github.com/notaryproject/notation-core-go/signature/cose github.com/notaryproject/notation-core-go/signature/internal/base github.com/notaryproject/notation-core-go/signature/internal/signaturetest github.com/notaryproject/notation-core-go/signature/jws github.com/notaryproject/notation-core-go/testhelper github.com/notaryproject/notation-core-go/x509 + cd _build && go test -vet=off -v -p 42 github.com/notaryproject/notation-core-go/internal/oid github.com/notaryproject/notation-core-go/internal/timestamp github.com/notaryproject/notation-core-go/revocation github.com/notaryproject/notation-core-go/revocation/ocsp github.com/notaryproject/notation-core-go/revocation/purpose github.com/notaryproject/notation-core-go/revocation/result github.com/notaryproject/notation-core-go/signature github.com/notaryproject/notation-core-go/signature/cose github.com/notaryproject/notation-core-go/signature/internal/base github.com/notaryproject/notation-core-go/signature/internal/signaturetest github.com/notaryproject/notation-core-go/signature/jws github.com/notaryproject/notation-core-go/testhelper github.com/notaryproject/notation-core-go/x509 ? github.com/notaryproject/notation-core-go/internal/oid [no test files] === RUN TestTimestamp - timestamp_test.go:58: Failed to connect to http://rfc3161timestamp.globalsign.com/advanced: Post "http://rfc3161timestamp.globalsign.com/advanced": dial tcp: lookup rfc3161timestamp.globalsign.com on [::1]:53: read udp [::1]:53458->[::1]:53: read: connection refused + timestamp_test.go:58: Failed to connect to http://rfc3161timestamp.globalsign.com/advanced: Post "http://rfc3161timestamp.globalsign.com/advanced": dial tcp: lookup rfc3161timestamp.globalsign.com on [::1]:53: read udp [::1]:52928->[::1]:53: read: connection refused --- SKIP: TestTimestamp (0.00s) PASS -ok github.com/notaryproject/notation-core-go/internal/timestamp 0.016s +ok github.com/notaryproject/notation-core-go/internal/timestamp 0.007s ? github.com/notaryproject/notation-core-go/revocation/purpose [no test files] ? github.com/notaryproject/notation-core-go/testhelper [no test files] === RUN TestNew @@ -575,13 +611,13 @@ === RUN TestCheckRevocationStatusForSingleCert/check_cert_with_Unknown_OCSP_response === RUN TestCheckRevocationStatusForSingleCert/check_OCSP_revoked_cert === RUN TestCheckRevocationStatusForSingleCert/check_OCSP_future_revoked_cert ---- PASS: TestCheckRevocationStatusForSingleCert (8.57s) +--- PASS: TestCheckRevocationStatusForSingleCert (7.17s) --- PASS: TestCheckRevocationStatusForSingleCert/check_non-revoked_cert (0.01s) --- PASS: TestCheckRevocationStatusForSingleCert/check_cert_with_Unknown_OCSP_response (0.01s) --- PASS: TestCheckRevocationStatusForSingleCert/check_OCSP_revoked_cert (0.01s) --- PASS: TestCheckRevocationStatusForSingleCert/check_OCSP_future_revoked_cert (0.01s) === RUN TestCheckRevocationStatusForSelfSignedCert ---- PASS: TestCheckRevocationStatusForSelfSignedCert (4.31s) +--- PASS: TestCheckRevocationStatusForSelfSignedCert (0.23s) === RUN TestCheckRevocationStatusForRootCert --- PASS: TestCheckRevocationStatusForRootCert (0.00s) === RUN TestCheckRevocationStatusForChain @@ -594,16 +630,16 @@ === RUN TestCheckRevocationStatusForChain/check_OCSP_with_1_unknown_and_1_future_revoked_cert === RUN TestCheckRevocationStatusForChain/check_OCSP_with_1_revoked_cert_before_signing_time === RUN TestCheckRevocationStatusForChain/check_OCSP_with_1_revoked_cert_after_zero_signing_time ---- PASS: TestCheckRevocationStatusForChain (1.92s) +--- PASS: TestCheckRevocationStatusForChain (1.09s) --- PASS: TestCheckRevocationStatusForChain/empty_chain (0.00s) - --- PASS: TestCheckRevocationStatusForChain/check_non-revoked_chain (0.03s) - --- PASS: TestCheckRevocationStatusForChain/check_chain_with_1_Unknown_cert (0.03s) - --- PASS: TestCheckRevocationStatusForChain/check_OCSP_with_1_revoked_cert (0.03s) + --- PASS: TestCheckRevocationStatusForChain/check_non-revoked_chain (0.02s) + --- PASS: TestCheckRevocationStatusForChain/check_chain_with_1_Unknown_cert (0.02s) + --- PASS: TestCheckRevocationStatusForChain/check_OCSP_with_1_revoked_cert (0.02s) --- PASS: TestCheckRevocationStatusForChain/check_OCSP_with_1_unknown_and_1_revoked_cert (0.02s) - --- PASS: TestCheckRevocationStatusForChain/check_OCSP_with_1_future_revoked_cert (0.02s) - --- PASS: TestCheckRevocationStatusForChain/check_OCSP_with_1_unknown_and_1_future_revoked_cert (0.03s) - --- PASS: TestCheckRevocationStatusForChain/check_OCSP_with_1_revoked_cert_before_signing_time (0.03s) - --- PASS: TestCheckRevocationStatusForChain/check_OCSP_with_1_revoked_cert_after_zero_signing_time (0.04s) + --- PASS: TestCheckRevocationStatusForChain/check_OCSP_with_1_future_revoked_cert (0.01s) + --- PASS: TestCheckRevocationStatusForChain/check_OCSP_with_1_unknown_and_1_future_revoked_cert (0.01s) + --- PASS: TestCheckRevocationStatusForChain/check_OCSP_with_1_revoked_cert_before_signing_time (0.02s) + --- PASS: TestCheckRevocationStatusForChain/check_OCSP_with_1_revoked_cert_after_zero_signing_time (0.01s) === RUN TestCheckRevocationStatusForTimestampChain === RUN TestCheckRevocationStatusForTimestampChain/empty_chain === RUN TestCheckRevocationStatusForTimestampChain/check_non-revoked_chain @@ -614,16 +650,16 @@ === RUN TestCheckRevocationStatusForTimestampChain/check_OCSP_with_1_unknown_and_1_future_revoked_cert === RUN TestCheckRevocationStatusForTimestampChain/check_OCSP_with_1_revoked_cert_before_signing_time === RUN TestCheckRevocationStatusForTimestampChain/check_OCSP_with_1_revoked_cert_after_zero_signing_time ---- PASS: TestCheckRevocationStatusForTimestampChain (3.11s) +--- PASS: TestCheckRevocationStatusForTimestampChain (1.55s) --- PASS: TestCheckRevocationStatusForTimestampChain/empty_chain (0.00s) - --- PASS: TestCheckRevocationStatusForTimestampChain/check_non-revoked_chain (0.03s) - --- PASS: TestCheckRevocationStatusForTimestampChain/check_chain_with_1_Unknown_cert (0.02s) + --- PASS: TestCheckRevocationStatusForTimestampChain/check_non-revoked_chain (0.01s) + --- PASS: TestCheckRevocationStatusForTimestampChain/check_chain_with_1_Unknown_cert (0.01s) --- PASS: TestCheckRevocationStatusForTimestampChain/check_OCSP_with_1_revoked_cert (0.02s) - --- PASS: TestCheckRevocationStatusForTimestampChain/check_OCSP_with_1_unknown_and_1_revoked_cert (0.03s) - --- PASS: TestCheckRevocationStatusForTimestampChain/check_OCSP_with_1_future_revoked_cert (0.03s) - --- PASS: TestCheckRevocationStatusForTimestampChain/check_OCSP_with_1_unknown_and_1_future_revoked_cert (0.03s) - --- PASS: TestCheckRevocationStatusForTimestampChain/check_OCSP_with_1_revoked_cert_before_signing_time (0.02s) - --- PASS: TestCheckRevocationStatusForTimestampChain/check_OCSP_with_1_revoked_cert_after_zero_signing_time (0.02s) + --- PASS: TestCheckRevocationStatusForTimestampChain/check_OCSP_with_1_unknown_and_1_revoked_cert (0.01s) + --- PASS: TestCheckRevocationStatusForTimestampChain/check_OCSP_with_1_future_revoked_cert (0.01s) + --- PASS: TestCheckRevocationStatusForTimestampChain/check_OCSP_with_1_unknown_and_1_future_revoked_cert (0.01s) + --- PASS: TestCheckRevocationStatusForTimestampChain/check_OCSP_with_1_revoked_cert_before_signing_time (0.01s) + --- PASS: TestCheckRevocationStatusForTimestampChain/check_OCSP_with_1_revoked_cert_after_zero_signing_time (0.01s) === RUN TestCheckRevocationErrors === RUN TestCheckRevocationErrors/no_OCSPServer_specified === RUN TestCheckRevocationErrors/chain_missing_root @@ -632,24 +668,24 @@ === RUN TestCheckRevocationErrors/expired_ocsp_response === RUN TestCheckRevocationErrors/OCSP_pkixNoCheck_missing === RUN TestCheckRevocationErrors/non-HTTP_URI_error ---- PASS: TestCheckRevocationErrors (1.98s) +--- PASS: TestCheckRevocationErrors (0.99s) --- PASS: TestCheckRevocationErrors/no_OCSPServer_specified (0.00s) --- PASS: TestCheckRevocationErrors/chain_missing_root (0.00s) --- PASS: TestCheckRevocationErrors/backwards_chain (0.00s) --- PASS: TestCheckRevocationErrors/timeout (0.00s) - --- PASS: TestCheckRevocationErrors/expired_ocsp_response (0.02s) - --- PASS: TestCheckRevocationErrors/OCSP_pkixNoCheck_missing (0.02s) - --- PASS: TestCheckRevocationErrors/non-HTTP_URI_error (0.02s) + --- PASS: TestCheckRevocationErrors/expired_ocsp_response (0.01s) + --- PASS: TestCheckRevocationErrors/OCSP_pkixNoCheck_missing (0.01s) + --- PASS: TestCheckRevocationErrors/non-HTTP_URI_error (0.01s) === RUN TestCheckRevocationInvalidChain === RUN TestCheckRevocationInvalidChain/chain_missing_intermediate === RUN TestCheckRevocationInvalidChain/chain_out_of_order ---- PASS: TestCheckRevocationInvalidChain (1.54s) +--- PASS: TestCheckRevocationInvalidChain (0.69s) --- PASS: TestCheckRevocationInvalidChain/chain_missing_intermediate (0.00s) --- PASS: TestCheckRevocationInvalidChain/chain_out_of_order (0.00s) === RUN TestValidateContext --- PASS: TestValidateContext (0.00s) PASS -ok github.com/notaryproject/notation-core-go/revocation 21.445s +ok github.com/notaryproject/notation-core-go/revocation 11.727s === RUN TestRevokedError --- PASS: TestRevokedError (0.00s) === RUN TestUnknownStatusError @@ -669,13 +705,13 @@ === RUN TestCheckStatus/check_cert_with_Unknown_OCSP_response === RUN TestCheckStatus/check_OCSP_revoked_cert === RUN TestCheckStatus/check_OCSP_future_revoked_cert ---- PASS: TestCheckStatus (10.47s) +--- PASS: TestCheckStatus (4.01s) --- PASS: TestCheckStatus/check_non-revoked_cert (0.01s) - --- PASS: TestCheckStatus/check_cert_with_Unknown_OCSP_response (0.02s) + --- PASS: TestCheckStatus/check_cert_with_Unknown_OCSP_response (0.01s) --- PASS: TestCheckStatus/check_OCSP_revoked_cert (0.01s) --- PASS: TestCheckStatus/check_OCSP_future_revoked_cert (0.01s) === RUN TestCheckStatusForSelfSignedCert ---- PASS: TestCheckStatusForSelfSignedCert (1.55s) +--- PASS: TestCheckStatusForSelfSignedCert (0.57s) === RUN TestCheckStatusForRootCert --- PASS: TestCheckStatusForRootCert (0.00s) === RUN TestCheckStatusForNonSelfSignedSingleCert @@ -690,16 +726,16 @@ === RUN TestCheckStatusForChain/check_OCSP_with_1_unknown_and_1_future_revoked_cert === RUN TestCheckStatusForChain/check_OCSP_with_1_revoked_cert_before_signing_time === RUN TestCheckStatusForChain/check_OCSP_with_1_revoked_cert_after_zero_signing_time ---- PASS: TestCheckStatusForChain (0.97s) +--- PASS: TestCheckStatusForChain (1.14s) --- PASS: TestCheckStatusForChain/empty_chain (0.00s) --- PASS: TestCheckStatusForChain/check_non-revoked_chain (0.03s) - --- PASS: TestCheckStatusForChain/check_chain_with_1_Unknown_cert (0.04s) - --- PASS: TestCheckStatusForChain/check_OCSP_with_1_revoked_cert (0.03s) - --- PASS: TestCheckStatusForChain/check_OCSP_with_1_unknown_and_1_revoked_cert (0.05s) + --- PASS: TestCheckStatusForChain/check_chain_with_1_Unknown_cert (0.30s) + --- PASS: TestCheckStatusForChain/check_OCSP_with_1_revoked_cert (0.02s) + --- PASS: TestCheckStatusForChain/check_OCSP_with_1_unknown_and_1_revoked_cert (0.02s) --- PASS: TestCheckStatusForChain/check_OCSP_with_1_future_revoked_cert (0.02s) - --- PASS: TestCheckStatusForChain/check_OCSP_with_1_unknown_and_1_future_revoked_cert (0.03s) - --- PASS: TestCheckStatusForChain/check_OCSP_with_1_revoked_cert_before_signing_time (0.02s) - --- PASS: TestCheckStatusForChain/check_OCSP_with_1_revoked_cert_after_zero_signing_time (0.02s) + --- PASS: TestCheckStatusForChain/check_OCSP_with_1_unknown_and_1_future_revoked_cert (0.02s) + --- PASS: TestCheckStatusForChain/check_OCSP_with_1_revoked_cert_before_signing_time (0.01s) + --- PASS: TestCheckStatusForChain/check_OCSP_with_1_revoked_cert_after_zero_signing_time (0.01s) === RUN TestCheckStatusErrors === RUN TestCheckStatusErrors/no_OCSPServer_specified === RUN TestCheckStatusErrors/chain_missing_root @@ -711,7 +747,7 @@ === RUN TestCheckStatusErrors/expired_ocsp_response === RUN TestCheckStatusErrors/pkixNoCheck_missing === RUN TestCheckStatusErrors/non-HTTP_URI_error ---- PASS: TestCheckStatusErrors (0.53s) +--- PASS: TestCheckStatusErrors (1.92s) --- PASS: TestCheckStatusErrors/no_OCSPServer_specified (0.00s) --- PASS: TestCheckStatusErrors/chain_missing_root (0.00s) --- PASS: TestCheckStatusErrors/backwards_chain (0.00s) @@ -719,17 +755,17 @@ --- PASS: TestCheckStatusErrors/check_with_default_CertChainPurpose (0.00s) --- PASS: TestCheckStatusErrors/check_with_unknwon_CertChainPurpose (0.00s) --- PASS: TestCheckStatusErrors/timeout (0.00s) - --- PASS: TestCheckStatusErrors/expired_ocsp_response (0.02s) - --- PASS: TestCheckStatusErrors/pkixNoCheck_missing (0.02s) - --- PASS: TestCheckStatusErrors/non-HTTP_URI_error (0.02s) + --- PASS: TestCheckStatusErrors/expired_ocsp_response (0.01s) + --- PASS: TestCheckStatusErrors/pkixNoCheck_missing (0.01s) + --- PASS: TestCheckStatusErrors/non-HTTP_URI_error (0.01s) === RUN TestCheckOCSPInvalidChain === RUN TestCheckOCSPInvalidChain/chain_missing_intermediate === RUN TestCheckOCSPInvalidChain/chain_out_of_order ---- PASS: TestCheckOCSPInvalidChain (5.40s) +--- PASS: TestCheckOCSPInvalidChain (1.32s) --- PASS: TestCheckOCSPInvalidChain/chain_missing_intermediate (0.00s) --- PASS: TestCheckOCSPInvalidChain/chain_out_of_order (0.00s) PASS -ok github.com/notaryproject/notation-core-go/revocation/ocsp 18.924s +ok github.com/notaryproject/notation-core-go/revocation/ocsp 8.972s === RUN TestInvalidChainError === RUN TestInvalidChainError/without_inner_error === RUN TestInvalidChainError/inner_error @@ -751,7 +787,7 @@ === RUN TestNewServerResult --- PASS: TestNewServerResult (0.00s) PASS -ok github.com/notaryproject/notation-core-go/revocation/result 0.005s +ok github.com/notaryproject/notation-core-go/revocation/result 0.004s === RUN TestHash === RUN TestHash/PS256 === RUN TestHash/ES256 @@ -778,7 +814,7 @@ === RUN TestExtractKeySpec/EC_256 === RUN TestExtractKeySpec/EC_384 === RUN TestExtractKeySpec/EC_521 ---- PASS: TestExtractKeySpec (13.02s) +--- PASS: TestExtractKeySpec (6.43s) --- PASS: TestExtractKeySpec/RSA_wrong_size (0.00s) --- PASS: TestExtractKeySpec/ECDSA_wrong_size (0.00s) --- PASS: TestExtractKeySpec/Unsupported_type (0.00s) @@ -901,9 +937,9 @@ === RUN TestAuthenticSigningTime --- PASS: TestAuthenticSigningTime (0.00s) PASS -ok github.com/notaryproject/notation-core-go/signature 13.030s +ok github.com/notaryproject/notation-core-go/signature 6.558s === RUN TestConformance ---- PASS: TestConformance (8.80s) +--- PASS: TestConformance (7.33s) === RUN TestParseEnvelopeError --- PASS: TestParseEnvelopeError (0.00s) === RUN TestSign @@ -968,53 +1004,53 @@ === RUN TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_521_keySize_when_signingAgent_is_not_present === RUN TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_521_keySize_when_extended_signed_attributes_are_not_present === RUN TestSign/with_timestmap_countersignature_request - envelope_test.go:150: Failed to connect to http://rfc3161timestamp.globalsign.com/advanced: timestamp: Post "http://rfc3161timestamp.globalsign.com/advanced": dial tcp: lookup rfc3161timestamp.globalsign.com on [::1]:53: read udp [::1]:35305->[::1]:53: read: connection refused ---- PASS: TestSign (115.30s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_2048_keySize_when_all_arguments_are_present (0.17s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_2048_keySize_when_minimal_arguments_are_present (0.61s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_2048_keySize_when_expiry_is_not_present (0.31s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_2048_keySize_when_signingAgent_is_not_present (1.09s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_2048_keySize_when_extended_signed_attributes_are_not_present (0.39s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_3072_keySize_when_all_arguments_are_present (8.77s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_3072_keySize_when_minimal_arguments_are_present (2.24s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_3072_keySize_when_expiry_is_not_present (2.00s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_3072_keySize_when_signingAgent_is_not_present (1.66s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_3072_keySize_when_extended_signed_attributes_are_not_present (1.29s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_4096_keySize_when_all_arguments_are_present (4.27s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_4096_keySize_when_minimal_arguments_are_present (5.98s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_4096_keySize_when_expiry_is_not_present (6.39s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_4096_keySize_when_signingAgent_is_not_present (6.43s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_4096_keySize_when_extended_signed_attributes_are_not_present (6.77s) + envelope_test.go:150: Failed to connect to http://rfc3161timestamp.globalsign.com/advanced: timestamp: Post "http://rfc3161timestamp.globalsign.com/advanced": dial tcp: lookup rfc3161timestamp.globalsign.com on [::1]:53: read udp [::1]:43094->[::1]:53: read: connection refused +--- PASS: TestSign (48.44s) + --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_2048_keySize_when_all_arguments_are_present (0.44s) + --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_2048_keySize_when_minimal_arguments_are_present (0.25s) + --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_2048_keySize_when_expiry_is_not_present (0.18s) + --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_2048_keySize_when_signingAgent_is_not_present (0.31s) + --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_2048_keySize_when_extended_signed_attributes_are_not_present (0.19s) + --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_3072_keySize_when_all_arguments_are_present (3.46s) + --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_3072_keySize_when_minimal_arguments_are_present (0.55s) + --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_3072_keySize_when_expiry_is_not_present (0.57s) + --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_3072_keySize_when_signingAgent_is_not_present (0.79s) + --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_3072_keySize_when_extended_signed_attributes_are_not_present (1.25s) + --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_4096_keySize_when_all_arguments_are_present (1.52s) + --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_4096_keySize_when_minimal_arguments_are_present (2.03s) + --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_4096_keySize_when_expiry_is_not_present (3.29s) + --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_4096_keySize_when_signingAgent_is_not_present (4.57s) + --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_4096_keySize_when_extended_signed_attributes_are_not_present (7.23s) --- PASS: TestSign/with_notary.x509_scheme,_2_keyType,_256_keySize_when_all_arguments_are_present (0.00s) - --- PASS: TestSign/with_notary.x509_scheme,_2_keyType,_256_keySize_when_minimal_arguments_are_present (0.00s) + --- PASS: TestSign/with_notary.x509_scheme,_2_keyType,_256_keySize_when_minimal_arguments_are_present (0.29s) --- PASS: TestSign/with_notary.x509_scheme,_2_keyType,_256_keySize_when_expiry_is_not_present (0.00s) --- PASS: TestSign/with_notary.x509_scheme,_2_keyType,_256_keySize_when_signingAgent_is_not_present (0.00s) --- PASS: TestSign/with_notary.x509_scheme,_2_keyType,_256_keySize_when_extended_signed_attributes_are_not_present (0.00s) - --- PASS: TestSign/with_notary.x509_scheme,_2_keyType,_384_keySize_when_all_arguments_are_present (0.01s) + --- PASS: TestSign/with_notary.x509_scheme,_2_keyType,_384_keySize_when_all_arguments_are_present (0.00s) --- PASS: TestSign/with_notary.x509_scheme,_2_keyType,_384_keySize_when_minimal_arguments_are_present (0.00s) --- PASS: TestSign/with_notary.x509_scheme,_2_keyType,_384_keySize_when_expiry_is_not_present (0.00s) - --- PASS: TestSign/with_notary.x509_scheme,_2_keyType,_384_keySize_when_signingAgent_is_not_present (0.01s) + --- PASS: TestSign/with_notary.x509_scheme,_2_keyType,_384_keySize_when_signingAgent_is_not_present (0.00s) --- PASS: TestSign/with_notary.x509_scheme,_2_keyType,_384_keySize_when_extended_signed_attributes_are_not_present (0.00s) - --- PASS: TestSign/with_notary.x509_scheme,_2_keyType,_521_keySize_when_all_arguments_are_present (0.03s) - --- PASS: TestSign/with_notary.x509_scheme,_2_keyType,_521_keySize_when_minimal_arguments_are_present (0.01s) - --- PASS: TestSign/with_notary.x509_scheme,_2_keyType,_521_keySize_when_expiry_is_not_present (0.01s) - --- PASS: TestSign/with_notary.x509_scheme,_2_keyType,_521_keySize_when_signingAgent_is_not_present (0.01s) - --- PASS: TestSign/with_notary.x509_scheme,_2_keyType,_521_keySize_when_extended_signed_attributes_are_not_present (0.01s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_2048_keySize_when_all_arguments_are_present (0.47s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_2048_keySize_when_minimal_arguments_are_present (0.58s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_2048_keySize_when_expiry_is_not_present (0.36s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_2048_keySize_when_signingAgent_is_not_present (0.25s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_2048_keySize_when_extended_signed_attributes_are_not_present (0.98s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize_when_all_arguments_are_present (3.53s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize_when_minimal_arguments_are_present (1.19s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize_when_expiry_is_not_present (1.30s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize_when_signingAgent_is_not_present (1.90s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize_when_extended_signed_attributes_are_not_present (2.99s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize_when_all_arguments_are_present (11.96s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize_when_minimal_arguments_are_present (11.32s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize_when_expiry_is_not_present (6.08s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize_when_signingAgent_is_not_present (8.99s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize_when_extended_signed_attributes_are_not_present (13.59s) + --- PASS: TestSign/with_notary.x509_scheme,_2_keyType,_521_keySize_when_all_arguments_are_present (0.01s) + --- PASS: TestSign/with_notary.x509_scheme,_2_keyType,_521_keySize_when_minimal_arguments_are_present (0.00s) + --- PASS: TestSign/with_notary.x509_scheme,_2_keyType,_521_keySize_when_expiry_is_not_present (0.00s) + --- PASS: TestSign/with_notary.x509_scheme,_2_keyType,_521_keySize_when_signingAgent_is_not_present (0.00s) + --- PASS: TestSign/with_notary.x509_scheme,_2_keyType,_521_keySize_when_extended_signed_attributes_are_not_present (0.00s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_2048_keySize_when_all_arguments_are_present (0.32s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_2048_keySize_when_minimal_arguments_are_present (0.33s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_2048_keySize_when_expiry_is_not_present (0.29s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_2048_keySize_when_signingAgent_is_not_present (0.33s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_2048_keySize_when_extended_signed_attributes_are_not_present (0.11s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize_when_all_arguments_are_present (0.35s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize_when_minimal_arguments_are_present (1.10s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize_when_expiry_is_not_present (0.94s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize_when_signingAgent_is_not_present (1.26s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize_when_extended_signed_attributes_are_not_present (0.64s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize_when_all_arguments_are_present (8.26s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize_when_minimal_arguments_are_present (1.25s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize_when_expiry_is_not_present (0.55s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize_when_signingAgent_is_not_present (2.32s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize_when_extended_signed_attributes_are_not_present (2.77s) --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_256_keySize_when_all_arguments_are_present (0.00s) --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_256_keySize_when_minimal_arguments_are_present (0.00s) --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_256_keySize_when_expiry_is_not_present (0.00s) @@ -1025,12 +1061,12 @@ --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_384_keySize_when_expiry_is_not_present (0.00s) --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_384_keySize_when_signingAgent_is_not_present (0.00s) --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_384_keySize_when_extended_signed_attributes_are_not_present (0.00s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_521_keySize_when_all_arguments_are_present (0.01s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_521_keySize_when_minimal_arguments_are_present (0.01s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_521_keySize_when_expiry_is_not_present (0.01s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_521_keySize_when_signingAgent_is_not_present (0.01s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_521_keySize_when_extended_signed_attributes_are_not_present (0.01s) - --- SKIP: TestSign/with_timestmap_countersignature_request (1.28s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_521_keySize_when_all_arguments_are_present (0.00s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_521_keySize_when_minimal_arguments_are_present (0.00s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_521_keySize_when_expiry_is_not_present (0.00s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_521_keySize_when_signingAgent_is_not_present (0.00s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_521_keySize_when_extended_signed_attributes_are_not_present (0.00s) + --- SKIP: TestSign/with_timestmap_countersignature_request (0.63s) === RUN TestSignErrors === RUN TestSignErrors/errorLocalSigner:_when_getSigner_has_privateKeyError === RUN TestSignErrors/errorLocalSigner:_when_getSigner_has_keySpecError @@ -1045,20 +1081,20 @@ === RUN TestSignErrors/when_signer_returns_empty_signature === RUN TestSignErrors/errorLocalSigner:_when_signer_has_certificateChainError === RUN TestSignErrors/when_invalid_tsa_url_is_provided ---- PASS: TestSignErrors (23.57s) - --- PASS: TestSignErrors/errorLocalSigner:_when_getSigner_has_privateKeyError (2.38s) - --- PASS: TestSignErrors/errorLocalSigner:_when_getSigner_has_keySpecError (0.84s) - --- PASS: TestSignErrors/errorLocalSigner:_when_getSigner_has_algError (1.38s) - --- PASS: TestSignErrors/errorRemoteSigner:_when_getSigner_has_keySpecError (2.31s) - --- PASS: TestSignErrors/errorRemoteSigner:_when_getSigner_has_algError (1.34s) - --- PASS: TestSignErrors/errorRemoteSigner:_when_getSigner_has_algError_and_wantEC (2.63s) - --- PASS: TestSignErrors/errorRemoteSigner:_when_getSigner_has_keyTypeError (1.51s) - --- PASS: TestSignErrors/when_signingScheme_is_absent (1.73s) - --- PASS: TestSignErrors/when_an_extended_signed_attribute_already_exists_in_the_protected_header (2.44s) - --- PASS: TestSignErrors/when_signer_has_signError (0.49s) - --- PASS: TestSignErrors/when_signer_returns_empty_signature (1.34s) - --- PASS: TestSignErrors/errorLocalSigner:_when_signer_has_certificateChainError (1.86s) - --- PASS: TestSignErrors/when_invalid_tsa_url_is_provided (3.32s) +--- PASS: TestSignErrors (15.26s) + --- PASS: TestSignErrors/errorLocalSigner:_when_getSigner_has_privateKeyError (0.96s) + --- PASS: TestSignErrors/errorLocalSigner:_when_getSigner_has_keySpecError (1.98s) + --- PASS: TestSignErrors/errorLocalSigner:_when_getSigner_has_algError (0.74s) + --- PASS: TestSignErrors/errorRemoteSigner:_when_getSigner_has_keySpecError (1.45s) + --- PASS: TestSignErrors/errorRemoteSigner:_when_getSigner_has_algError (1.25s) + --- PASS: TestSignErrors/errorRemoteSigner:_when_getSigner_has_algError_and_wantEC (0.63s) + --- PASS: TestSignErrors/errorRemoteSigner:_when_getSigner_has_keyTypeError (0.64s) + --- PASS: TestSignErrors/when_signingScheme_is_absent (0.77s) + --- PASS: TestSignErrors/when_an_extended_signed_attribute_already_exists_in_the_protected_header (0.45s) + --- PASS: TestSignErrors/when_signer_has_signError (1.29s) + --- PASS: TestSignErrors/when_signer_returns_empty_signature (0.85s) + --- PASS: TestSignErrors/errorLocalSigner:_when_signer_has_certificateChainError (2.78s) + --- PASS: TestSignErrors/when_invalid_tsa_url_is_provided (1.49s) === RUN TestVerifyErrors === RUN TestVerifyErrors/when_signature_envelope_is_not_present === RUN TestVerifyErrors/when_COSE_envelope_has_invalid_certificate_chain @@ -1068,23 +1104,23 @@ === RUN TestVerifyErrors/when_tempered_signature_envelope_is_provided === RUN TestVerifyErrors/when_get_payload_fails === RUN TestVerifyErrors/when_get_signerInfo_fails ---- PASS: TestVerifyErrors (10.65s) +--- PASS: TestVerifyErrors (9.99s) --- PASS: TestVerifyErrors/when_signature_envelope_is_not_present (0.00s) - --- PASS: TestVerifyErrors/when_COSE_envelope_has_invalid_certificate_chain (1.70s) - --- PASS: TestVerifyErrors/when_COSE_envelope_leaf_certificate_has_wrong_type (2.09s) - --- PASS: TestVerifyErrors/when_COSE_envelope_has_malformed_leaf_certificate (1.13s) - --- PASS: TestVerifyErrors/when_getSignatureAlgorithm_fails_due_to_unsupported_public_key (2.29s) - --- PASS: TestVerifyErrors/when_tempered_signature_envelope_is_provided (1.30s) - --- PASS: TestVerifyErrors/when_get_payload_fails (1.12s) - --- PASS: TestVerifyErrors/when_get_signerInfo_fails (1.02s) + --- PASS: TestVerifyErrors/when_COSE_envelope_has_invalid_certificate_chain (0.24s) + --- PASS: TestVerifyErrors/when_COSE_envelope_leaf_certificate_has_wrong_type (1.21s) + --- PASS: TestVerifyErrors/when_COSE_envelope_has_malformed_leaf_certificate (0.93s) + --- PASS: TestVerifyErrors/when_getSignatureAlgorithm_fails_due_to_unsupported_public_key (0.84s) + --- PASS: TestVerifyErrors/when_tempered_signature_envelope_is_provided (1.45s) + --- PASS: TestVerifyErrors/when_get_payload_fails (3.81s) + --- PASS: TestVerifyErrors/when_get_signerInfo_fails (1.52s) === RUN TestPayloadErrors === RUN TestPayloadErrors/when_env.base_is_nil === RUN TestPayloadErrors/when_missing_content_type === RUN TestPayloadErrors/when_content_type_has_wrong_type ---- PASS: TestPayloadErrors (7.64s) - --- PASS: TestPayloadErrors/when_env.base_is_nil (1.70s) - --- PASS: TestPayloadErrors/when_missing_content_type (2.24s) - --- PASS: TestPayloadErrors/when_content_type_has_wrong_type (3.69s) +--- PASS: TestPayloadErrors (4.26s) + --- PASS: TestPayloadErrors/when_env.base_is_nil (1.55s) + --- PASS: TestPayloadErrors/when_missing_content_type (2.31s) + --- PASS: TestPayloadErrors/when_content_type_has_wrong_type (0.40s) === RUN TestSignerInfoErrors === RUN TestSignerInfoErrors/when_signature_missing_in_COSE_envelope === RUN TestSignerInfoErrors/when_COSE_envelope_protected_header_has_empty_crit @@ -1106,27 +1142,27 @@ === RUN TestSignerInfoErrors/when_COSE_envelope_has_invalid_certificate_chain === RUN TestSignerInfoErrors/when_COSE_envelope_leaf_certificate_has_wrong_type === RUN TestSignerInfoErrors/when_COSE_envelope_has_malformed_leaf_certificate ---- PASS: TestSignerInfoErrors (31.82s) - --- PASS: TestSignerInfoErrors/when_signature_missing_in_COSE_envelope (2.46s) - --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_has_empty_crit (1.28s) - --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_has_invalid_crit (0.83s) - --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_signingScheme_has_wrong_type (1.48s) - --- PASS: TestSignerInfoErrors/when_COSE_envelope_has_required_headers_that_are_not_marked_as_critical (1.44s) - --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_missing_algorithm (1.57s) - --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_has_unsupported_algorithm (0.43s) - --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_has_unsupported_signingScheme (4.77s) - --- PASS: TestSignerInfoErrors/when_parseTime_has_Tag0_signingTime (1.31s) - --- PASS: TestSignerInfoErrors/when_parseTime_has_Tag0_expiry (1.30s) - --- PASS: TestSignerInfoErrors/when_parseTime_fails_at_headerMap_missing_signgingTime (1.13s) - --- PASS: TestSignerInfoErrors/when_parseTime_fails_at_signgingTime_tag_validation (1.48s) - --- PASS: TestSignerInfoErrors/when_parseTime_fails_at_expiry_tag_validation (2.10s) - --- PASS: TestSignerInfoErrors/when_decodeTime_fails (2.16s) - --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_has_invalid_signingTime (1.58s) - --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_missing_signingTime (1.88s) - --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_has_invalid_expiry (1.16s) - --- PASS: TestSignerInfoErrors/when_COSE_envelope_has_invalid_certificate_chain (1.93s) - --- PASS: TestSignerInfoErrors/when_COSE_envelope_leaf_certificate_has_wrong_type (0.90s) - --- PASS: TestSignerInfoErrors/when_COSE_envelope_has_malformed_leaf_certificate (0.62s) +--- PASS: TestSignerInfoErrors (23.98s) + --- PASS: TestSignerInfoErrors/when_signature_missing_in_COSE_envelope (0.95s) + --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_has_empty_crit (1.23s) + --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_has_invalid_crit (1.48s) + --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_signingScheme_has_wrong_type (3.39s) + --- PASS: TestSignerInfoErrors/when_COSE_envelope_has_required_headers_that_are_not_marked_as_critical (0.27s) + --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_missing_algorithm (2.49s) + --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_has_unsupported_algorithm (0.48s) + --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_has_unsupported_signingScheme (1.16s) + --- PASS: TestSignerInfoErrors/when_parseTime_has_Tag0_signingTime (0.28s) + --- PASS: TestSignerInfoErrors/when_parseTime_has_Tag0_expiry (0.44s) + --- PASS: TestSignerInfoErrors/when_parseTime_fails_at_headerMap_missing_signgingTime (0.40s) + --- PASS: TestSignerInfoErrors/when_parseTime_fails_at_signgingTime_tag_validation (0.73s) + --- PASS: TestSignerInfoErrors/when_parseTime_fails_at_expiry_tag_validation (1.39s) + --- PASS: TestSignerInfoErrors/when_decodeTime_fails (0.97s) + --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_has_invalid_signingTime (0.78s) + --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_missing_signingTime (1.24s) + --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_has_invalid_expiry (1.80s) + --- PASS: TestSignerInfoErrors/when_COSE_envelope_has_invalid_certificate_chain (1.16s) + --- PASS: TestSignerInfoErrors/when_COSE_envelope_leaf_certificate_has_wrong_type (0.46s) + --- PASS: TestSignerInfoErrors/when_COSE_envelope_has_malformed_leaf_certificate (1.84s) === RUN TestSignAndVerify === RUN TestSignAndVerify/with_notary.x509_scheme,_1_keyType,_2048_keySize === RUN TestSignAndVerify/with_notary.x509_scheme,_1_keyType,_3072_keySize @@ -1140,18 +1176,18 @@ === RUN TestSignAndVerify/with_notary.x509.signingAuthority_scheme,_2_keyType,_256_keySize === RUN TestSignAndVerify/with_notary.x509.signingAuthority_scheme,_2_keyType,_384_keySize === RUN TestSignAndVerify/with_notary.x509.signingAuthority_scheme,_2_keyType,_521_keySize ---- PASS: TestSignAndVerify (24.95s) - --- PASS: TestSignAndVerify/with_notary.x509_scheme,_1_keyType,_2048_keySize (0.51s) - --- PASS: TestSignAndVerify/with_notary.x509_scheme,_1_keyType,_3072_keySize (1.70s) - --- PASS: TestSignAndVerify/with_notary.x509_scheme,_1_keyType,_4096_keySize (15.49s) +--- PASS: TestSignAndVerify (9.67s) + --- PASS: TestSignAndVerify/with_notary.x509_scheme,_1_keyType,_2048_keySize (0.15s) + --- PASS: TestSignAndVerify/with_notary.x509_scheme,_1_keyType,_3072_keySize (2.19s) + --- PASS: TestSignAndVerify/with_notary.x509_scheme,_1_keyType,_4096_keySize (0.90s) --- PASS: TestSignAndVerify/with_notary.x509_scheme,_2_keyType,_256_keySize (0.00s) - --- PASS: TestSignAndVerify/with_notary.x509_scheme,_2_keyType,_384_keySize (0.01s) + --- PASS: TestSignAndVerify/with_notary.x509_scheme,_2_keyType,_384_keySize (0.00s) --- PASS: TestSignAndVerify/with_notary.x509_scheme,_2_keyType,_521_keySize (0.01s) - --- PASS: TestSignAndVerify/with_notary.x509.signingAuthority_scheme,_1_keyType,_2048_keySize (0.13s) - --- PASS: TestSignAndVerify/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize (1.21s) - --- PASS: TestSignAndVerify/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize (5.86s) + --- PASS: TestSignAndVerify/with_notary.x509.signingAuthority_scheme,_1_keyType,_2048_keySize (0.60s) + --- PASS: TestSignAndVerify/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize (1.36s) + --- PASS: TestSignAndVerify/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize (4.45s) --- PASS: TestSignAndVerify/with_notary.x509.signingAuthority_scheme,_2_keyType,_256_keySize (0.00s) - --- PASS: TestSignAndVerify/with_notary.x509.signingAuthority_scheme,_2_keyType,_384_keySize (0.01s) + --- PASS: TestSignAndVerify/with_notary.x509.signingAuthority_scheme,_2_keyType,_384_keySize (0.00s) --- PASS: TestSignAndVerify/with_notary.x509.signingAuthority_scheme,_2_keyType,_521_keySize (0.01s) === RUN TestSignAndParseVerify === RUN TestSignAndParseVerify/with_notary.x509_scheme,_1_keyType,_2048_keySize @@ -1166,25 +1202,25 @@ === RUN TestSignAndParseVerify/with_notary.x509.signingAuthority_scheme,_2_keyType,_256_keySize === RUN TestSignAndParseVerify/with_notary.x509.signingAuthority_scheme,_2_keyType,_384_keySize === RUN TestSignAndParseVerify/with_notary.x509.signingAuthority_scheme,_2_keyType,_521_keySize ---- PASS: TestSignAndParseVerify (23.89s) - --- PASS: TestSignAndParseVerify/with_notary.x509_scheme,_1_keyType,_2048_keySize (0.34s) - --- PASS: TestSignAndParseVerify/with_notary.x509_scheme,_1_keyType,_3072_keySize (1.93s) - --- PASS: TestSignAndParseVerify/with_notary.x509_scheme,_1_keyType,_4096_keySize (5.84s) - --- PASS: TestSignAndParseVerify/with_notary.x509_scheme,_2_keyType,_256_keySize (0.02s) - --- PASS: TestSignAndParseVerify/with_notary.x509_scheme,_2_keyType,_384_keySize (0.02s) - --- PASS: TestSignAndParseVerify/with_notary.x509_scheme,_2_keyType,_521_keySize (0.02s) - --- PASS: TestSignAndParseVerify/with_notary.x509.signingAuthority_scheme,_1_keyType,_2048_keySize (0.32s) - --- PASS: TestSignAndParseVerify/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize (1.38s) - --- PASS: TestSignAndParseVerify/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize (13.96s) - --- PASS: TestSignAndParseVerify/with_notary.x509.signingAuthority_scheme,_2_keyType,_256_keySize (0.01s) - --- PASS: TestSignAndParseVerify/with_notary.x509.signingAuthority_scheme,_2_keyType,_384_keySize (0.02s) - --- PASS: TestSignAndParseVerify/with_notary.x509.signingAuthority_scheme,_2_keyType,_521_keySize (0.03s) +--- PASS: TestSignAndParseVerify (6.13s) + --- PASS: TestSignAndParseVerify/with_notary.x509_scheme,_1_keyType,_2048_keySize (0.51s) + --- PASS: TestSignAndParseVerify/with_notary.x509_scheme,_1_keyType,_3072_keySize (1.08s) + --- PASS: TestSignAndParseVerify/with_notary.x509_scheme,_1_keyType,_4096_keySize (1.90s) + --- PASS: TestSignAndParseVerify/with_notary.x509_scheme,_2_keyType,_256_keySize (0.00s) + --- PASS: TestSignAndParseVerify/with_notary.x509_scheme,_2_keyType,_384_keySize (0.01s) + --- PASS: TestSignAndParseVerify/with_notary.x509_scheme,_2_keyType,_521_keySize (0.01s) + --- PASS: TestSignAndParseVerify/with_notary.x509.signingAuthority_scheme,_1_keyType,_2048_keySize (0.17s) + --- PASS: TestSignAndParseVerify/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize (0.47s) + --- PASS: TestSignAndParseVerify/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize (1.96s) + --- PASS: TestSignAndParseVerify/with_notary.x509.signingAuthority_scheme,_2_keyType,_256_keySize (0.00s) + --- PASS: TestSignAndParseVerify/with_notary.x509.signingAuthority_scheme,_2_keyType,_384_keySize (0.01s) + --- PASS: TestSignAndParseVerify/with_notary.x509.signingAuthority_scheme,_2_keyType,_521_keySize (0.01s) === RUN TestGenerateExtendedAttributesError --- PASS: TestGenerateExtendedAttributesError (0.00s) === RUN TestHashFunc --- PASS: TestHashFunc (0.00s) PASS -ok github.com/notaryproject/notation-core-go/signature/cose 246.633s +ok github.com/notaryproject/notation-core-go/signature/cose 125.070s === RUN TestSign === RUN TestSign/invalid_request === RUN TestSign/internal_envelope_fails_to_sign @@ -1270,7 +1306,7 @@ === RUN TestValidateCertificateChain/invalid_certificates === RUN TestValidateCertificateChain/unmatched_signing_algorithm === RUN TestValidateCertificateChain/valid_certificate_chain ---- PASS: TestValidateCertificateChain (0.01s) +--- PASS: TestValidateCertificateChain (0.00s) --- PASS: TestValidateCertificateChain/empty_certs (0.00s) --- PASS: TestValidateCertificateChain/invalid_certificates (0.00s) --- PASS: TestValidateCertificateChain/unmatched_signing_algorithm (0.00s) @@ -1282,7 +1318,7 @@ --- PASS: TestGetSignatureAlgorithm/unsupported_cert (0.00s) --- PASS: TestGetSignatureAlgorithm/valid_cert (0.00s) PASS -ok github.com/notaryproject/notation-core-go/signature/internal/base 9.041s +ok github.com/notaryproject/notation-core-go/signature/internal/base 3.674s === RUN TestGetKeySizes === RUN TestGetKeySizes/RSA === RUN TestGetKeySizes/EC @@ -1301,18 +1337,18 @@ === RUN TestGetTestLocalSigner/RSA4096 === RUN TestGetTestLocalSigner/RSAOthers === RUN TestGetTestLocalSigner/Others ---- PASS: TestGetTestLocalSigner (16.80s) - --- PASS: TestGetTestLocalSigner/EC256 (10.77s) +--- PASS: TestGetTestLocalSigner (9.38s) + --- PASS: TestGetTestLocalSigner/EC256 (4.54s) --- PASS: TestGetTestLocalSigner/EC384 (0.00s) - --- PASS: TestGetTestLocalSigner/EC521 (0.02s) + --- PASS: TestGetTestLocalSigner/EC521 (0.01s) --- PASS: TestGetTestLocalSigner/ECOthers (0.00s) - --- PASS: TestGetTestLocalSigner/RSA2048 (0.33s) - --- PASS: TestGetTestLocalSigner/RSA3072 (1.67s) - --- PASS: TestGetTestLocalSigner/RSA4096 (4.00s) + --- PASS: TestGetTestLocalSigner/RSA2048 (0.14s) + --- PASS: TestGetTestLocalSigner/RSA3072 (1.53s) + --- PASS: TestGetTestLocalSigner/RSA4096 (3.15s) --- PASS: TestGetTestLocalSigner/RSAOthers (0.00s) --- PASS: TestGetTestLocalSigner/Others (0.00s) PASS -ok github.com/notaryproject/notation-core-go/signature/internal/signaturetest 16.809s +ok github.com/notaryproject/notation-core-go/signature/internal/signaturetest 9.388s === RUN TestSignedMessageConformance --- PASS: TestSignedMessageConformance (0.00s) === RUN TestVerifyConformance @@ -1324,21 +1360,21 @@ === RUN TestSignFailed/extended_attribute_error_value === RUN TestSignFailed/unsupported_sign_algorithm === RUN TestSignFailed/invalid_tsa_url ---- PASS: TestSignFailed (1.11s) +--- PASS: TestSignFailed (2.19s) --- PASS: TestSignFailed/extended_attribute_conflict_with_protected_header_keys (0.00s) --- PASS: TestSignFailed/extended_attribute_error_value (0.00s) --- PASS: TestSignFailed/unsupported_sign_algorithm (0.01s) - --- PASS: TestSignFailed/invalid_tsa_url (1.09s) + --- PASS: TestSignFailed/invalid_tsa_url (2.18s) === RUN TestSigningScheme === RUN TestSigningScheme/verify_isLocal=true_signingScheme=notary.x509 === RUN TestSigningScheme/verify_isLocal=true_signingScheme=notary.x509.signingAuthority === RUN TestSigningScheme/verify_isLocal=false_signingScheme=notary.x509 === RUN TestSigningScheme/verify_isLocal=false_signingScheme=notary.x509.signingAuthority ---- PASS: TestSigningScheme (0.06s) - --- PASS: TestSigningScheme/verify_isLocal=true_signingScheme=notary.x509 (0.02s) - --- PASS: TestSigningScheme/verify_isLocal=true_signingScheme=notary.x509.signingAuthority (0.02s) - --- PASS: TestSigningScheme/verify_isLocal=false_signingScheme=notary.x509 (0.02s) - --- PASS: TestSigningScheme/verify_isLocal=false_signingScheme=notary.x509.signingAuthority (0.02s) +--- PASS: TestSigningScheme (0.04s) + --- PASS: TestSigningScheme/verify_isLocal=true_signingScheme=notary.x509 (0.01s) + --- PASS: TestSigningScheme/verify_isLocal=true_signingScheme=notary.x509.signingAuthority (0.01s) + --- PASS: TestSigningScheme/verify_isLocal=false_signingScheme=notary.x509 (0.01s) + --- PASS: TestSigningScheme/verify_isLocal=false_signingScheme=notary.x509.signingAuthority (0.01s) === RUN TestSignVerify === RUN TestSignVerify/RSA_2048 === RUN TestSignVerify/RSA_3072 @@ -1346,16 +1382,16 @@ === RUN TestSignVerify/ECDSA_256 === RUN TestSignVerify/ECDSA_384 === RUN TestSignVerify/ECDSA_521 ---- PASS: TestSignVerify (3.13s) - --- PASS: TestSignVerify/RSA_2048 (0.32s) - --- PASS: TestSignVerify/RSA_3072 (0.98s) - --- PASS: TestSignVerify/RSA_4096 (1.76s) - --- PASS: TestSignVerify/ECDSA_256 (0.01s) +--- PASS: TestSignVerify (2.80s) + --- PASS: TestSignVerify/RSA_2048 (0.11s) + --- PASS: TestSignVerify/RSA_3072 (0.46s) + --- PASS: TestSignVerify/RSA_4096 (2.19s) + --- PASS: TestSignVerify/ECDSA_256 (0.00s) --- PASS: TestSignVerify/ECDSA_384 (0.01s) - --- PASS: TestSignVerify/ECDSA_521 (0.04s) + --- PASS: TestSignVerify/ECDSA_521 (0.03s) === RUN TestSignWithTimestamp - envelope_test.go:357: Failed to connect to http://rfc3161timestamp.globalsign.com/advanced: timestamp: Post "http://rfc3161timestamp.globalsign.com/advanced": dial tcp: lookup rfc3161timestamp.globalsign.com on [::1]:53: read udp [::1]:35560->[::1]:53: read: connection refused ---- SKIP: TestSignWithTimestamp (3.49s) + envelope_test.go:357: Failed to connect to http://rfc3161timestamp.globalsign.com/advanced: timestamp: Post "http://rfc3161timestamp.globalsign.com/advanced": dial tcp: lookup rfc3161timestamp.globalsign.com on [::1]:53: read udp [::1]:41135->[::1]:53: read: connection refused +--- SKIP: TestSignWithTimestamp (1.07s) === RUN TestVerify === RUN TestVerify/break_json_format === RUN TestVerify/tamper_signature @@ -1363,7 +1399,7 @@ === RUN TestVerify/tamper_certificate === RUN TestVerify/malformed_protected_header_base64_encoded === RUN TestVerify/malformed_protected_header_raw ---- PASS: TestVerify (0.08s) +--- PASS: TestVerify (0.06s) --- PASS: TestVerify/break_json_format (0.01s) --- PASS: TestVerify/tamper_signature (0.01s) --- PASS: TestVerify/empty_certificate (0.01s) @@ -1382,7 +1418,7 @@ === RUN TestSignerInfo/tamper_signature_base64_encoding === RUN TestSignerInfo/tamper_empty_signature === RUN TestSignerInfo/tamper_cert_chain ---- PASS: TestSignerInfo (0.14s) +--- PASS: TestSignerInfo (0.07s) --- PASS: TestSignerInfo/tamper_protected_header_signing_scheme_X509 (0.01s) --- PASS: TestSignerInfo/tamper_protected_header_signing_scheme_X509_Signing_Authority (0.01s) --- PASS: TestSignerInfo/tamper_protected_header_signing_scheme_X509_Signing_Authority_2 (0.01s) @@ -1433,7 +1469,7 @@ --- PASS: Test_verifyJWT (0.00s) --- PASS: Test_verifyJWT/invalid_signature (0.00s) PASS -ok github.com/notaryproject/notation-core-go/signature/jws 16.220s +ok github.com/notaryproject/notation-core-go/signature/jws 10.733s === RUN TestLoadPemFile --- PASS: TestLoadPemFile (0.00s) === RUN TestLoadMultiPemFile @@ -1449,7 +1485,7 @@ === RUN TestValidCodeSigningChain/self-signed_signing_certificate === RUN TestValidCodeSigningChain/RSA_Leaf_certificate_without_EKU === RUN TestValidCodeSigningChain/Open_SSL_minimum_certificate ---- PASS: TestValidCodeSigningChain (9.30s) +--- PASS: TestValidCodeSigningChain (3.86s) --- PASS: TestValidCodeSigningChain/cert-chain (0.00s) --- PASS: TestValidCodeSigningChain/self-signed_signing_certificate (0.00s) --- PASS: TestValidCodeSigningChain/RSA_Leaf_certificate_without_EKU (0.00s) @@ -1529,7 +1565,7 @@ === RUN TestValidTimestampingChain --- PASS: TestValidTimestampingChain (0.00s) === RUN TestInvalidTimestampingChain ---- PASS: TestInvalidTimestampingChain (0.02s) +--- PASS: TestInvalidTimestampingChain (0.00s) === RUN TestTimestampLeafWithNonCriticalEKU --- PASS: TestTimestampLeafWithNonCriticalEKU (0.00s) === RUN TestFailEkuWrongValuesTimeLeaf @@ -1551,7 +1587,7 @@ === RUN TestEkuToString --- PASS: TestEkuToString (0.00s) PASS -ok github.com/notaryproject/notation-core-go/x509 9.341s +ok github.com/notaryproject/notation-core-go/x509 3.875s create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang dh_prep -O--builddirectory=_build -O--buildsystem=golang @@ -1578,12 +1614,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/1779042/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1779042/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/262560 and its subdirectories -I: Current time: Sun Dec 22 12:32:04 -12 2024 -I: pbuilder-time-stamp: 1734913924 +I: removing directory /srv/workspace/pbuilder/1779042 and its subdirectories +I: Current time: Sun Jan 25 20:58:14 +14 2026 +I: pbuilder-time-stamp: 1769324294