Diff of the two buildlogs: -- --- b1/build.log 2024-12-29 06:59:57.069239934 +0000 +++ b2/build.log 2024-12-29 07:04:36.580456099 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Jan 31 01:16:10 -12 2026 -I: pbuilder-time-stamp: 1769865370 +I: Current time: Sun Dec 29 21:00:00 +14 2024 +I: pbuilder-time-stamp: 1735455600 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -25,52 +25,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/556478/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1911576/tmp/hooks/D01_modify_environment starting +debug: Running on codethink02-arm64. +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 Dec 29 07:00 /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/1911576/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1911576/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='arm64' - DEBIAN_FRONTEND='noninteractive' + 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]="aarch64-unknown-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=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='0c2a4a4cbb8e436db0119e20e5451e7d' - 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='556478' - PS1='# ' - PS2='> ' + INVOCATION_ID=e6a971c121164177ba757ca2fa886af1 + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-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=1911576 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.z5QA9hD3/pbuilderrc_5zS1 --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.z5QA9hD3/b1 --logfile b1/build.log golang-github-notaryproject-notation-core-go_1.1.0-6.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4: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.z5QA9hD3/pbuilderrc_Ofgb --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.z5QA9hD3/b2 --logfile b2/build.log golang-github-notaryproject-notation-core-go_1.1.0-6.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink01-arm64 6.1.0-28-cloud-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-28-cloud-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/556478/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1911576/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -165,7 +197,7 @@ Get: 43 http://deb.debian.org/debian unstable/main arm64 golang-golang-x-term-dev all 0.22.0-1 [14.8 kB] Get: 44 http://deb.debian.org/debian unstable/main arm64 golang-golang-x-text-dev all 0.16.0-1 [4003 kB] Get: 45 http://deb.debian.org/debian unstable/main arm64 golang-golang-x-crypto-dev all 1:0.25.0-1 [1682 kB] -Fetched 68.9 MB in 0s (186 MB/s) +Fetched 68.9 MB in 0s (195 MB/s) Preconfiguring packages ... 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 ... 19975 files and directories currently installed.) @@ -360,7 +392,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-6_source.changes +I: user script /srv/workspace/pbuilder/1911576/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/1911576/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-6_source.changes dpkg-buildpackage: info: source package golang-github-notaryproject-notation-core-go dpkg-buildpackage: info: source version 1.1.0-6 dpkg-buildpackage: info: source distribution unstable @@ -379,33 +415,32 @@ 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 12 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/goos -internal/unsafeheader internal/godebugs internal/coverage/rtcov -internal/goexperiment -internal/byteorder -internal/profilerecord +internal/unsafeheader internal/goarch -unicode -unicode/utf8 +internal/byteorder internal/race -cmp +internal/goos +internal/profilerecord +internal/runtime/syscall sync/atomic -internal/itoa -math/bits +internal/goexperiment internal/cpu -internal/runtime/syscall -internal/chacha8rand internal/abi runtime/internal/math +unicode +unicode/utf8 +cmp runtime/internal/sys +internal/itoa +math/bits internal/asan +internal/chacha8rand internal/msan unicode/utf16 crypto/internal/alias crypto/subtle -math crypto/internal/boring/sig vendor/golang.org/x/crypto/cryptobyte/asn1 internal/nettrace @@ -414,79 +449,80 @@ log/internal github.com/notaryproject/notation-core-go/revocation/purpose encoding +math internal/bytealg internal/runtime/atomic internal/runtime/exithook internal/stringslite runtime internal/reflectlite -sync iter +sync internal/weak -slices maps +slices internal/bisect internal/testlog internal/singleflight runtime/cgo -internal/godebug errors sort +internal/godebug io internal/oserror -path -math/rand +vendor/golang.org/x/net/dns/dnsmessage crypto/internal/edwards25519/field strconv -math/rand/v2 -vendor/golang.org/x/net/dns/dnsmessage crypto/internal/nistec/fiat +math/rand/v2 +path bytes -reflect -strings +syscall +math/rand crypto/internal/randutil -crypto/internal/edwards25519 -crypto/rc4 +strings hash -syscall +crypto/internal/edwards25519 internal/concurrent -encoding/base32 crypto -hash/crc32 +crypto/cipher unique +hash/crc32 +reflect +crypto/rc4 +vendor/golang.org/x/text/transform +encoding/base32 crypto/md5 github.com/notaryproject/tspclient-go/internal/hashutil github.com/x448/float16 -crypto/cipher -vendor/golang.org/x/text/transform +crypto/internal/boring net/netip +crypto/des bufio net/http/internal/ascii regexp/syntax -crypto/internal/boring -crypto/des crypto/aes -crypto/sha512 crypto/sha1 -crypto/hmac +crypto/sha512 crypto/sha256 +crypto/hmac vendor/golang.org/x/crypto/hkdf -regexp +internal/syscall/execenv time internal/syscall/unix -internal/syscall/execenv +regexp context -internal/poll io/fs -internal/fmtsort -encoding/binary +internal/poll internal/filepathlite embed +internal/fmtsort +encoding/binary crypto/internal/nistec +os encoding/base64 -vendor/golang.org/x/crypto/chacha20 vendor/golang.org/x/crypto/internal/poly1305 -os +vendor/golang.org/x/crypto/chacha20 encoding/pem vendor/golang.org/x/crypto/chacha20poly1305 crypto/ecdh @@ -496,27 +532,27 @@ net vendor/golang.org/x/crypto/sha3 encoding/hex -github.com/notaryproject/notation-core-go/revocation/result +vendor/golang.org/x/net/http2/hpack +net/url +net/http/internal math/big -compress/flate log +compress/flate +mime/quotedprintable +github.com/notaryproject/notation-core-go/revocation/result +mime vendor/golang.org/x/text/unicode/norm -vendor/golang.org/x/net/http2/hpack encoding/json -mime -mime/quotedprintable -net/http/internal -net/url vendor/golang.org/x/text/unicode/bidi compress/gzip vendor/golang.org/x/text/secure/bidirule vendor/golang.org/x/net/idna encoding/asn1 -crypto/dsa crypto/elliptic +crypto/internal/bigmod +crypto/dsa crypto/internal/boring/bbig github.com/fxamacker/cbor -crypto/internal/bigmod crypto/rand crypto/ed25519 crypto/internal/hpke @@ -524,29 +560,29 @@ crypto/rsa github.com/notaryproject/notation-core-go/internal/oid vendor/golang.org/x/crypto/cryptobyte -crypto/x509/pkix github.com/notaryproject/tspclient-go/internal/encoding/asn1/ber github.com/notaryproject/tspclient-go/internal/encoding/asn1 github.com/notaryproject/tspclient-go/pki +crypto/x509/pkix crypto/ecdsa github.com/veraison/go-cose -crypto/x509 -net/textproto vendor/golang.org/x/net/http/httpproxy +net/textproto +crypto/x509 vendor/golang.org/x/net/http/httpguts mime/multipart github.com/notaryproject/tspclient-go/internal/oid -crypto/tls golang.org/x/crypto/ocsp github.com/golang-jwt/jwt +crypto/tls 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 @@ -559,10 +595,10 @@ cd _build && go test -vet=off -v -p 12 -timeout 30m 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]:41852->[::1]:53: read: connection refused ---- SKIP: TestTimestamp (0.01s) + 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]:40741->[::1]:53: read: connection refused +--- SKIP: TestTimestamp (0.00s) PASS -ok github.com/notaryproject/notation-core-go/internal/timestamp 0.060s +ok github.com/notaryproject/notation-core-go/internal/timestamp 0.011s ? github.com/notaryproject/notation-core-go/revocation/purpose [no test files] ? github.com/notaryproject/notation-core-go/testhelper [no test files] === RUN TestNew @@ -578,13 +614,13 @@ === RUN TestCheckRevocationStatusForSingleCert/check_cert_with_Unknown_OCSP_response === RUN TestCheckRevocationStatusForSingleCert/check_OCSP_revoked_cert === RUN TestCheckRevocationStatusForSingleCert/check_OCSP_future_revoked_cert ---- PASS: TestCheckRevocationStatusForSingleCert (20.81s) - --- PASS: TestCheckRevocationStatusForSingleCert/check_non-revoked_cert (0.02s) +--- PASS: TestCheckRevocationStatusForSingleCert (10.33s) + --- 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.02s) + --- PASS: TestCheckRevocationStatusForSingleCert/check_OCSP_future_revoked_cert (0.01s) === RUN TestCheckRevocationStatusForSelfSignedCert ---- PASS: TestCheckRevocationStatusForSelfSignedCert (6.79s) +--- PASS: TestCheckRevocationStatusForSelfSignedCert (1.15s) === RUN TestCheckRevocationStatusForRootCert --- PASS: TestCheckRevocationStatusForRootCert (0.00s) === RUN TestCheckRevocationStatusForChain @@ -597,15 +633,15 @@ === 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 (3.98s) +--- PASS: TestCheckRevocationStatusForChain (2.59s) --- PASS: TestCheckRevocationStatusForChain/empty_chain (0.00s) - --- PASS: TestCheckRevocationStatusForChain/check_non-revoked_chain (0.08s) - --- PASS: TestCheckRevocationStatusForChain/check_chain_with_1_Unknown_cert (0.08s) - --- PASS: TestCheckRevocationStatusForChain/check_OCSP_with_1_revoked_cert (0.06s) - --- PASS: TestCheckRevocationStatusForChain/check_OCSP_with_1_unknown_and_1_revoked_cert (0.10s) - --- PASS: TestCheckRevocationStatusForChain/check_OCSP_with_1_future_revoked_cert (0.07s) - --- PASS: TestCheckRevocationStatusForChain/check_OCSP_with_1_unknown_and_1_future_revoked_cert (0.07s) - --- PASS: TestCheckRevocationStatusForChain/check_OCSP_with_1_revoked_cert_before_signing_time (0.07s) + --- PASS: TestCheckRevocationStatusForChain/check_non-revoked_chain (0.04s) + --- PASS: TestCheckRevocationStatusForChain/check_chain_with_1_Unknown_cert (0.04s) + --- PASS: TestCheckRevocationStatusForChain/check_OCSP_with_1_revoked_cert (0.05s) + --- PASS: TestCheckRevocationStatusForChain/check_OCSP_with_1_unknown_and_1_revoked_cert (0.04s) + --- PASS: TestCheckRevocationStatusForChain/check_OCSP_with_1_future_revoked_cert (0.04s) + --- PASS: TestCheckRevocationStatusForChain/check_OCSP_with_1_unknown_and_1_future_revoked_cert (0.04s) + --- PASS: TestCheckRevocationStatusForChain/check_OCSP_with_1_revoked_cert_before_signing_time (0.04s) --- PASS: TestCheckRevocationStatusForChain/check_OCSP_with_1_revoked_cert_after_zero_signing_time (0.05s) === RUN TestCheckRevocationStatusForTimestampChain === RUN TestCheckRevocationStatusForTimestampChain/empty_chain @@ -617,16 +653,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 (5.88s) +--- PASS: TestCheckRevocationStatusForTimestampChain (1.19s) --- PASS: TestCheckRevocationStatusForTimestampChain/empty_chain (0.00s) - --- PASS: TestCheckRevocationStatusForTimestampChain/check_non-revoked_chain (0.06s) - --- PASS: TestCheckRevocationStatusForTimestampChain/check_chain_with_1_Unknown_cert (0.10s) - --- PASS: TestCheckRevocationStatusForTimestampChain/check_OCSP_with_1_revoked_cert (0.06s) - --- PASS: TestCheckRevocationStatusForTimestampChain/check_OCSP_with_1_unknown_and_1_revoked_cert (0.07s) - --- PASS: TestCheckRevocationStatusForTimestampChain/check_OCSP_with_1_future_revoked_cert (0.09s) - --- PASS: TestCheckRevocationStatusForTimestampChain/check_OCSP_with_1_unknown_and_1_future_revoked_cert (0.07s) - --- PASS: TestCheckRevocationStatusForTimestampChain/check_OCSP_with_1_revoked_cert_before_signing_time (0.07s) - --- PASS: TestCheckRevocationStatusForTimestampChain/check_OCSP_with_1_revoked_cert_after_zero_signing_time (0.09s) + --- PASS: TestCheckRevocationStatusForTimestampChain/check_non-revoked_chain (0.05s) + --- PASS: TestCheckRevocationStatusForTimestampChain/check_chain_with_1_Unknown_cert (0.05s) + --- PASS: TestCheckRevocationStatusForTimestampChain/check_OCSP_with_1_revoked_cert (0.05s) + --- PASS: TestCheckRevocationStatusForTimestampChain/check_OCSP_with_1_unknown_and_1_revoked_cert (0.04s) + --- PASS: TestCheckRevocationStatusForTimestampChain/check_OCSP_with_1_future_revoked_cert (0.04s) + --- PASS: TestCheckRevocationStatusForTimestampChain/check_OCSP_with_1_unknown_and_1_future_revoked_cert (0.04s) + --- PASS: TestCheckRevocationStatusForTimestampChain/check_OCSP_with_1_revoked_cert_before_signing_time (0.04s) + --- PASS: TestCheckRevocationStatusForTimestampChain/check_OCSP_with_1_revoked_cert_after_zero_signing_time (0.04s) === RUN TestCheckRevocationErrors === RUN TestCheckRevocationErrors/no_OCSPServer_specified === RUN TestCheckRevocationErrors/chain_missing_root @@ -635,24 +671,24 @@ === RUN TestCheckRevocationErrors/expired_ocsp_response === RUN TestCheckRevocationErrors/OCSP_pkixNoCheck_missing === RUN TestCheckRevocationErrors/non-HTTP_URI_error ---- PASS: TestCheckRevocationErrors (3.02s) +--- PASS: TestCheckRevocationErrors (3.58s) --- PASS: TestCheckRevocationErrors/no_OCSPServer_specified (0.00s) --- PASS: TestCheckRevocationErrors/chain_missing_root (0.00s) --- PASS: TestCheckRevocationErrors/backwards_chain (0.00s) - --- PASS: TestCheckRevocationErrors/timeout (0.01s) - --- PASS: TestCheckRevocationErrors/expired_ocsp_response (0.04s) + --- 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.01s) === RUN TestCheckRevocationInvalidChain === RUN TestCheckRevocationInvalidChain/chain_missing_intermediate === RUN TestCheckRevocationInvalidChain/chain_out_of_order ---- PASS: TestCheckRevocationInvalidChain (6.33s) +--- PASS: TestCheckRevocationInvalidChain (3.17s) --- 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 46.877s +ok github.com/notaryproject/notation-core-go/revocation 22.022s === RUN TestRevokedError --- PASS: TestRevokedError (0.00s) === RUN TestUnknownStatusError @@ -672,13 +708,13 @@ === RUN TestCheckStatus/check_cert_with_Unknown_OCSP_response === RUN TestCheckStatus/check_OCSP_revoked_cert === RUN TestCheckStatus/check_OCSP_future_revoked_cert ---- PASS: TestCheckStatus (26.14s) - --- PASS: TestCheckStatus/check_non-revoked_cert (0.04s) - --- PASS: TestCheckStatus/check_cert_with_Unknown_OCSP_response (0.04s) - --- PASS: TestCheckStatus/check_OCSP_revoked_cert (0.04s) - --- PASS: TestCheckStatus/check_OCSP_future_revoked_cert (0.04s) +--- PASS: TestCheckStatus (10.32s) + --- PASS: TestCheckStatus/check_non-revoked_cert (0.01s) + --- 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 (3.31s) +--- PASS: TestCheckStatusForSelfSignedCert (1.77s) === RUN TestCheckStatusForRootCert --- PASS: TestCheckStatusForRootCert (0.00s) === RUN TestCheckStatusForNonSelfSignedSingleCert @@ -693,15 +729,15 @@ === 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 (6.32s) +--- PASS: TestCheckStatusForChain (2.21s) --- PASS: TestCheckStatusForChain/empty_chain (0.00s) - --- PASS: TestCheckStatusForChain/check_non-revoked_chain (0.08s) - --- PASS: TestCheckStatusForChain/check_chain_with_1_Unknown_cert (0.04s) - --- PASS: TestCheckStatusForChain/check_OCSP_with_1_revoked_cert (0.08s) + --- PASS: TestCheckStatusForChain/check_non-revoked_chain (0.05s) + --- PASS: TestCheckStatusForChain/check_chain_with_1_Unknown_cert (0.06s) + --- PASS: TestCheckStatusForChain/check_OCSP_with_1_revoked_cert (0.04s) --- PASS: TestCheckStatusForChain/check_OCSP_with_1_unknown_and_1_revoked_cert (0.05s) - --- PASS: TestCheckStatusForChain/check_OCSP_with_1_future_revoked_cert (0.06s) - --- PASS: TestCheckStatusForChain/check_OCSP_with_1_unknown_and_1_future_revoked_cert (0.05s) - --- PASS: TestCheckStatusForChain/check_OCSP_with_1_revoked_cert_before_signing_time (0.05s) + --- PASS: TestCheckStatusForChain/check_OCSP_with_1_future_revoked_cert (0.04s) + --- PASS: TestCheckStatusForChain/check_OCSP_with_1_unknown_and_1_future_revoked_cert (0.04s) + --- PASS: TestCheckStatusForChain/check_OCSP_with_1_revoked_cert_before_signing_time (0.04s) --- PASS: TestCheckStatusForChain/check_OCSP_with_1_revoked_cert_after_zero_signing_time (0.05s) === RUN TestCheckStatusErrors === RUN TestCheckStatusErrors/no_OCSPServer_specified @@ -714,25 +750,25 @@ === RUN TestCheckStatusErrors/expired_ocsp_response === RUN TestCheckStatusErrors/pkixNoCheck_missing === RUN TestCheckStatusErrors/non-HTTP_URI_error ---- PASS: TestCheckStatusErrors (1.80s) +--- PASS: TestCheckStatusErrors (0.73s) --- PASS: TestCheckStatusErrors/no_OCSPServer_specified (0.00s) --- PASS: TestCheckStatusErrors/chain_missing_root (0.00s) --- PASS: TestCheckStatusErrors/backwards_chain (0.00s) --- PASS: TestCheckStatusErrors/check_codesigning_cert_with_PurposeTimestamping (0.00s) - --- PASS: TestCheckStatusErrors/check_with_default_CertChainPurpose (0.01s) + --- 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.05s) + --- PASS: TestCheckStatusErrors/expired_ocsp_response (0.03s) --- PASS: TestCheckStatusErrors/pkixNoCheck_missing (0.03s) - --- PASS: TestCheckStatusErrors/non-HTTP_URI_error (0.05s) + --- PASS: TestCheckStatusErrors/non-HTTP_URI_error (0.02s) === RUN TestCheckOCSPInvalidChain === RUN TestCheckOCSPInvalidChain/chain_missing_intermediate === RUN TestCheckOCSPInvalidChain/chain_out_of_order ---- PASS: TestCheckOCSPInvalidChain (1.87s) +--- PASS: TestCheckOCSPInvalidChain (1.07s) --- 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 39.489s +ok github.com/notaryproject/notation-core-go/revocation/ocsp 16.133s === RUN TestInvalidChainError === RUN TestInvalidChainError/without_inner_error === RUN TestInvalidChainError/inner_error @@ -754,7 +790,7 @@ === RUN TestNewServerResult --- PASS: TestNewServerResult (0.00s) PASS -ok github.com/notaryproject/notation-core-go/revocation/result 0.036s +ok github.com/notaryproject/notation-core-go/revocation/result 0.032s === RUN TestHash === RUN TestHash/PS256 === RUN TestHash/ES256 @@ -781,7 +817,7 @@ === RUN TestExtractKeySpec/EC_256 === RUN TestExtractKeySpec/EC_384 === RUN TestExtractKeySpec/EC_521 ---- PASS: TestExtractKeySpec (43.19s) +--- PASS: TestExtractKeySpec (11.66s) --- PASS: TestExtractKeySpec/RSA_wrong_size (0.00s) --- PASS: TestExtractKeySpec/ECDSA_wrong_size (0.00s) --- PASS: TestExtractKeySpec/Unsupported_type (0.00s) @@ -904,9 +940,9 @@ === RUN TestAuthenticSigningTime --- PASS: TestAuthenticSigningTime (0.00s) PASS -ok github.com/notaryproject/notation-core-go/signature 43.248s +ok github.com/notaryproject/notation-core-go/signature 11.682s === RUN TestConformance ---- PASS: TestConformance (16.25s) +--- PASS: TestConformance (7.79s) === RUN TestParseEnvelopeError --- PASS: TestParseEnvelopeError (0.00s) === RUN TestSign @@ -971,23 +1007,23 @@ === 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]:40472->[::1]:53: read: connection refused ---- PASS: TestSign (142.29s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_2048_keySize_when_all_arguments_are_present (1.53s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_2048_keySize_when_minimal_arguments_are_present (2.28s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_2048_keySize_when_expiry_is_not_present (1.09s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_2048_keySize_when_signingAgent_is_not_present (0.67s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_2048_keySize_when_extended_signed_attributes_are_not_present (0.90s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_3072_keySize_when_all_arguments_are_present (3.95s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_3072_keySize_when_minimal_arguments_are_present (7.20s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_3072_keySize_when_expiry_is_not_present (6.38s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_3072_keySize_when_signingAgent_is_not_present (0.54s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_3072_keySize_when_extended_signed_attributes_are_not_present (2.09s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_4096_keySize_when_all_arguments_are_present (4.66s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_4096_keySize_when_minimal_arguments_are_present (2.37s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_4096_keySize_when_expiry_is_not_present (10.74s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_4096_keySize_when_signingAgent_is_not_present (3.92s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_4096_keySize_when_extended_signed_attributes_are_not_present (4.42s) + 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]:38445->[::1]:53: read: connection refused +--- PASS: TestSign (86.99s) + --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_2048_keySize_when_all_arguments_are_present (0.23s) + --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_2048_keySize_when_minimal_arguments_are_present (0.22s) + --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_2048_keySize_when_expiry_is_not_present (0.33s) + --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_2048_keySize_when_signingAgent_is_not_present (0.24s) + --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_2048_keySize_when_extended_signed_attributes_are_not_present (0.40s) + --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_3072_keySize_when_all_arguments_are_present (1.07s) + --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_3072_keySize_when_minimal_arguments_are_present (1.80s) + --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_3072_keySize_when_expiry_is_not_present (1.63s) + --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_3072_keySize_when_signingAgent_is_not_present (1.52s) + --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_3072_keySize_when_extended_signed_attributes_are_not_present (2.93s) + --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_4096_keySize_when_all_arguments_are_present (1.40s) + --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_4096_keySize_when_minimal_arguments_are_present (9.92s) + --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_4096_keySize_when_expiry_is_not_present (6.53s) + --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_4096_keySize_when_signingAgent_is_not_present (9.83s) + --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_4096_keySize_when_extended_signed_attributes_are_not_present (5.13s) --- 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_expiry_is_not_present (0.00s) @@ -998,42 +1034,42 @@ --- 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.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.02s) + --- 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.17s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_2048_keySize_when_minimal_arguments_are_present (1.01s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_2048_keySize_when_expiry_is_not_present (0.87s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_2048_keySize_when_signingAgent_is_not_present (0.82s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_2048_keySize_when_extended_signed_attributes_are_not_present (0.55s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize_when_all_arguments_are_present (1.95s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize_when_minimal_arguments_are_present (6.52s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize_when_expiry_is_not_present (1.94s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize_when_signingAgent_is_not_present (2.07s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize_when_extended_signed_attributes_are_not_present (1.71s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize_when_all_arguments_are_present (3.74s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize_when_minimal_arguments_are_present (11.63s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize_when_expiry_is_not_present (23.16s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize_when_signingAgent_is_not_present (1.60s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize_when_extended_signed_attributes_are_not_present (30.04s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_2048_keySize_when_all_arguments_are_present (0.54s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_2048_keySize_when_minimal_arguments_are_present (0.62s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_2048_keySize_when_expiry_is_not_present (0.26s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_2048_keySize_when_signingAgent_is_not_present (1.06s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_2048_keySize_when_extended_signed_attributes_are_not_present (0.73s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize_when_all_arguments_are_present (1.61s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize_when_minimal_arguments_are_present (1.47s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize_when_expiry_is_not_present (2.83s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize_when_signingAgent_is_not_present (4.92s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize_when_extended_signed_attributes_are_not_present (2.65s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize_when_all_arguments_are_present (5.80s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize_when_minimal_arguments_are_present (3.33s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize_when_expiry_is_not_present (3.50s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize_when_signingAgent_is_not_present (6.81s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize_when_extended_signed_attributes_are_not_present (5.91s) --- 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.01s) + --- 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) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_256_keySize_when_signingAgent_is_not_present (0.01s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_256_keySize_when_signingAgent_is_not_present (0.00s) --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_256_keySize_when_extended_signed_attributes_are_not_present (0.00s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_384_keySize_when_all_arguments_are_present (0.01s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_384_keySize_when_all_arguments_are_present (0.00s) --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_384_keySize_when_minimal_arguments_are_present (0.00s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_384_keySize_when_expiry_is_not_present (0.01s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_384_keySize_when_signingAgent_is_not_present (0.01s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_384_keySize_when_extended_signed_attributes_are_not_present (0.01s) + --- 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.00s) - --- 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_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.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.59s) + --- 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 (1.69s) === RUN TestSignErrors === RUN TestSignErrors/errorLocalSigner:_when_getSigner_has_privateKeyError === RUN TestSignErrors/errorLocalSigner:_when_getSigner_has_keySpecError @@ -1048,20 +1084,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 (33.68s) - --- PASS: TestSignErrors/errorLocalSigner:_when_getSigner_has_privateKeyError (1.09s) - --- PASS: TestSignErrors/errorLocalSigner:_when_getSigner_has_keySpecError (2.11s) - --- PASS: TestSignErrors/errorLocalSigner:_when_getSigner_has_algError (4.82s) - --- PASS: TestSignErrors/errorRemoteSigner:_when_getSigner_has_keySpecError (1.97s) - --- PASS: TestSignErrors/errorRemoteSigner:_when_getSigner_has_algError (2.38s) - --- PASS: TestSignErrors/errorRemoteSigner:_when_getSigner_has_algError_and_wantEC (1.05s) - --- PASS: TestSignErrors/errorRemoteSigner:_when_getSigner_has_keyTypeError (3.00s) - --- PASS: TestSignErrors/when_signingScheme_is_absent (1.05s) - --- PASS: TestSignErrors/when_an_extended_signed_attribute_already_exists_in_the_protected_header (1.33s) - --- PASS: TestSignErrors/when_signer_has_signError (2.98s) - --- PASS: TestSignErrors/when_signer_returns_empty_signature (3.26s) - --- PASS: TestSignErrors/errorLocalSigner:_when_signer_has_certificateChainError (3.78s) - --- PASS: TestSignErrors/when_invalid_tsa_url_is_provided (4.86s) +--- PASS: TestSignErrors (29.10s) + --- PASS: TestSignErrors/errorLocalSigner:_when_getSigner_has_privateKeyError (1.87s) + --- PASS: TestSignErrors/errorLocalSigner:_when_getSigner_has_keySpecError (5.70s) + --- PASS: TestSignErrors/errorLocalSigner:_when_getSigner_has_algError (0.71s) + --- PASS: TestSignErrors/errorRemoteSigner:_when_getSigner_has_keySpecError (0.92s) + --- PASS: TestSignErrors/errorRemoteSigner:_when_getSigner_has_algError (1.31s) + --- PASS: TestSignErrors/errorRemoteSigner:_when_getSigner_has_algError_and_wantEC (1.04s) + --- PASS: TestSignErrors/errorRemoteSigner:_when_getSigner_has_keyTypeError (3.23s) + --- PASS: TestSignErrors/when_signingScheme_is_absent (6.73s) + --- PASS: TestSignErrors/when_an_extended_signed_attribute_already_exists_in_the_protected_header (2.40s) + --- PASS: TestSignErrors/when_signer_has_signError (1.22s) + --- PASS: TestSignErrors/when_signer_returns_empty_signature (2.15s) + --- PASS: TestSignErrors/errorLocalSigner:_when_signer_has_certificateChainError (0.95s) + --- PASS: TestSignErrors/when_invalid_tsa_url_is_provided (0.87s) === RUN TestVerifyErrors === RUN TestVerifyErrors/when_signature_envelope_is_not_present === RUN TestVerifyErrors/when_COSE_envelope_has_invalid_certificate_chain @@ -1071,23 +1107,23 @@ === RUN TestVerifyErrors/when_tempered_signature_envelope_is_provided === RUN TestVerifyErrors/when_get_payload_fails === RUN TestVerifyErrors/when_get_signerInfo_fails ---- PASS: TestVerifyErrors (19.31s) +--- PASS: TestVerifyErrors (7.57s) --- PASS: TestVerifyErrors/when_signature_envelope_is_not_present (0.00s) - --- PASS: TestVerifyErrors/when_COSE_envelope_has_invalid_certificate_chain (7.16s) - --- PASS: TestVerifyErrors/when_COSE_envelope_leaf_certificate_has_wrong_type (1.59s) - --- PASS: TestVerifyErrors/when_COSE_envelope_has_malformed_leaf_certificate (6.66s) - --- PASS: TestVerifyErrors/when_getSignatureAlgorithm_fails_due_to_unsupported_public_key (0.69s) - --- PASS: TestVerifyErrors/when_tempered_signature_envelope_is_provided (1.42s) - --- PASS: TestVerifyErrors/when_get_payload_fails (0.75s) - --- PASS: TestVerifyErrors/when_get_signerInfo_fails (1.03s) + --- PASS: TestVerifyErrors/when_COSE_envelope_has_invalid_certificate_chain (0.38s) + --- PASS: TestVerifyErrors/when_COSE_envelope_leaf_certificate_has_wrong_type (0.93s) + --- PASS: TestVerifyErrors/when_COSE_envelope_has_malformed_leaf_certificate (2.22s) + --- PASS: TestVerifyErrors/when_getSignatureAlgorithm_fails_due_to_unsupported_public_key (0.84s) + --- PASS: TestVerifyErrors/when_tempered_signature_envelope_is_provided (1.73s) + --- PASS: TestVerifyErrors/when_get_payload_fails (1.09s) + --- PASS: TestVerifyErrors/when_get_signerInfo_fails (0.38s) === 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.75s) - --- PASS: TestPayloadErrors/when_env.base_is_nil (4.02s) - --- PASS: TestPayloadErrors/when_missing_content_type (2.43s) - --- PASS: TestPayloadErrors/when_content_type_has_wrong_type (1.30s) +--- PASS: TestPayloadErrors (5.96s) + --- PASS: TestPayloadErrors/when_env.base_is_nil (0.75s) + --- PASS: TestPayloadErrors/when_missing_content_type (3.42s) + --- PASS: TestPayloadErrors/when_content_type_has_wrong_type (1.79s) === RUN TestSignerInfoErrors === RUN TestSignerInfoErrors/when_signature_missing_in_COSE_envelope === RUN TestSignerInfoErrors/when_COSE_envelope_protected_header_has_empty_crit @@ -1109,27 +1145,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 (40.93s) - --- PASS: TestSignerInfoErrors/when_signature_missing_in_COSE_envelope (1.76s) - --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_has_empty_crit (1.45s) - --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_has_invalid_crit (1.91s) - --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_signingScheme_has_wrong_type (0.79s) - --- PASS: TestSignerInfoErrors/when_COSE_envelope_has_required_headers_that_are_not_marked_as_critical (1.11s) - --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_missing_algorithm (2.16s) - --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_has_unsupported_algorithm (3.39s) - --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_has_unsupported_signingScheme (1.72s) - --- PASS: TestSignerInfoErrors/when_parseTime_has_Tag0_signingTime (3.87s) - --- PASS: TestSignerInfoErrors/when_parseTime_has_Tag0_expiry (3.15s) - --- PASS: TestSignerInfoErrors/when_parseTime_fails_at_headerMap_missing_signgingTime (2.96s) - --- PASS: TestSignerInfoErrors/when_parseTime_fails_at_signgingTime_tag_validation (1.75s) - --- PASS: TestSignerInfoErrors/when_parseTime_fails_at_expiry_tag_validation (1.22s) - --- PASS: TestSignerInfoErrors/when_decodeTime_fails (1.21s) - --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_has_invalid_signingTime (1.90s) - --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_missing_signingTime (1.33s) - --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_has_invalid_expiry (3.08s) - --- PASS: TestSignerInfoErrors/when_COSE_envelope_has_invalid_certificate_chain (3.85s) - --- PASS: TestSignerInfoErrors/when_COSE_envelope_leaf_certificate_has_wrong_type (1.49s) - --- PASS: TestSignerInfoErrors/when_COSE_envelope_has_malformed_leaf_certificate (0.84s) +--- PASS: TestSignerInfoErrors (44.25s) + --- PASS: TestSignerInfoErrors/when_signature_missing_in_COSE_envelope (2.17s) + --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_has_empty_crit (1.34s) + --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_has_invalid_crit (1.68s) + --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_signingScheme_has_wrong_type (0.81s) + --- PASS: TestSignerInfoErrors/when_COSE_envelope_has_required_headers_that_are_not_marked_as_critical (0.57s) + --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_missing_algorithm (1.46s) + --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_has_unsupported_algorithm (2.02s) + --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_has_unsupported_signingScheme (5.88s) + --- PASS: TestSignerInfoErrors/when_parseTime_has_Tag0_signingTime (2.52s) + --- PASS: TestSignerInfoErrors/when_parseTime_has_Tag0_expiry (4.17s) + --- PASS: TestSignerInfoErrors/when_parseTime_fails_at_headerMap_missing_signgingTime (1.84s) + --- PASS: TestSignerInfoErrors/when_parseTime_fails_at_signgingTime_tag_validation (2.93s) + --- PASS: TestSignerInfoErrors/when_parseTime_fails_at_expiry_tag_validation (0.82s) + --- PASS: TestSignerInfoErrors/when_decodeTime_fails (4.01s) + --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_has_invalid_signingTime (0.69s) + --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_missing_signingTime (5.82s) + --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_has_invalid_expiry (1.70s) + --- PASS: TestSignerInfoErrors/when_COSE_envelope_has_invalid_certificate_chain (1.36s) + --- PASS: TestSignerInfoErrors/when_COSE_envelope_leaf_certificate_has_wrong_type (1.70s) + --- PASS: TestSignerInfoErrors/when_COSE_envelope_has_malformed_leaf_certificate (0.76s) === RUN TestSignAndVerify === RUN TestSignAndVerify/with_notary.x509_scheme,_1_keyType,_2048_keySize === RUN TestSignAndVerify/with_notary.x509_scheme,_1_keyType,_3072_keySize @@ -1143,19 +1179,19 @@ === 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 (34.10s) - --- PASS: TestSignAndVerify/with_notary.x509_scheme,_1_keyType,_2048_keySize (0.23s) - --- PASS: TestSignAndVerify/with_notary.x509_scheme,_1_keyType,_3072_keySize (2.24s) - --- PASS: TestSignAndVerify/with_notary.x509_scheme,_1_keyType,_4096_keySize (22.43s) +--- PASS: TestSignAndVerify (26.78s) + --- PASS: TestSignAndVerify/with_notary.x509_scheme,_1_keyType,_2048_keySize (0.55s) + --- PASS: TestSignAndVerify/with_notary.x509_scheme,_1_keyType,_3072_keySize (2.35s) + --- PASS: TestSignAndVerify/with_notary.x509_scheme,_1_keyType,_4096_keySize (10.41s) --- PASS: TestSignAndVerify/with_notary.x509_scheme,_2_keyType,_256_keySize (0.00s) --- 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 (1.03s) - --- PASS: TestSignAndVerify/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize (2.32s) - --- PASS: TestSignAndVerify/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize (5.78s) + --- PASS: TestSignAndVerify/with_notary.x509.signingAuthority_scheme,_1_keyType,_2048_keySize (0.28s) + --- PASS: TestSignAndVerify/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize (1.11s) + --- PASS: TestSignAndVerify/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize (12.04s) --- 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,_521_keySize (0.02s) + --- 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 === RUN TestSignAndParseVerify/with_notary.x509_scheme,_1_keyType,_3072_keySize @@ -1169,25 +1205,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 (16.88s) - --- PASS: TestSignAndParseVerify/with_notary.x509_scheme,_1_keyType,_2048_keySize (0.96s) - --- PASS: TestSignAndParseVerify/with_notary.x509_scheme,_1_keyType,_3072_keySize (2.24s) - --- PASS: TestSignAndParseVerify/with_notary.x509_scheme,_1_keyType,_4096_keySize (5.97s) +--- PASS: TestSignAndParseVerify (12.38s) + --- PASS: TestSignAndParseVerify/with_notary.x509_scheme,_1_keyType,_2048_keySize (0.50s) + --- PASS: TestSignAndParseVerify/with_notary.x509_scheme,_1_keyType,_3072_keySize (3.46s) + --- PASS: TestSignAndParseVerify/with_notary.x509_scheme,_1_keyType,_4096_keySize (5.21s) --- PASS: TestSignAndParseVerify/with_notary.x509_scheme,_2_keyType,_256_keySize (0.01s) --- 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.30s) - --- PASS: TestSignAndParseVerify/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize (1.11s) - --- PASS: TestSignAndParseVerify/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize (6.22s) + --- PASS: TestSignAndParseVerify/with_notary.x509.signingAuthority_scheme,_1_keyType,_2048_keySize (0.17s) + --- PASS: TestSignAndParseVerify/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize (1.26s) + --- PASS: TestSignAndParseVerify/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize (1.73s) --- 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.02s) + --- 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 311.218s +ok github.com/notaryproject/notation-core-go/signature/cose 220.858s === RUN TestSign === RUN TestSign/invalid_request === RUN TestSign/internal_envelope_fails_to_sign @@ -1246,12 +1282,12 @@ === RUN TestValidateSignerInfo/invalid_signing_time === RUN TestValidateSignerInfo/invalid_signing_schema === RUN TestValidateSignerInfo/valid_signerInfo ---- PASS: TestValidateSignerInfo (0.01s) +--- PASS: TestValidateSignerInfo (0.00s) --- PASS: TestValidateSignerInfo/empty_signature (0.00s) --- PASS: TestValidateSignerInfo/missing_signature_algorithm (0.00s) --- PASS: TestValidateSignerInfo/invalid_signing_time (0.00s) --- PASS: TestValidateSignerInfo/invalid_signing_schema (0.00s) - --- PASS: TestValidateSignerInfo/valid_signerInfo (0.01s) + --- PASS: TestValidateSignerInfo/valid_signerInfo (0.00s) === RUN TestValidateSigningTime === RUN TestValidateSigningTime/zero_signing_time === RUN TestValidateSigningTime/no_expire_time @@ -1285,7 +1321,7 @@ --- PASS: TestGetSignatureAlgorithm/unsupported_cert (0.00s) --- PASS: TestGetSignatureAlgorithm/valid_cert (0.00s) PASS -ok github.com/notaryproject/notation-core-go/signature/internal/base 26.603s +ok github.com/notaryproject/notation-core-go/signature/internal/base 10.227s === RUN TestGetKeySizes === RUN TestGetKeySizes/RSA === RUN TestGetKeySizes/EC @@ -1304,22 +1340,22 @@ === RUN TestGetTestLocalSigner/RSA4096 === RUN TestGetTestLocalSigner/RSAOthers === RUN TestGetTestLocalSigner/Others ---- PASS: TestGetTestLocalSigner (64.00s) - --- PASS: TestGetTestLocalSigner/EC256 (31.89s) +--- PASS: TestGetTestLocalSigner (22.31s) + --- PASS: TestGetTestLocalSigner/EC256 (12.37s) --- PASS: TestGetTestLocalSigner/EC384 (0.00s) --- PASS: TestGetTestLocalSigner/EC521 (0.03s) --- PASS: TestGetTestLocalSigner/ECOthers (0.00s) - --- PASS: TestGetTestLocalSigner/RSA2048 (0.54s) - --- PASS: TestGetTestLocalSigner/RSA3072 (4.88s) - --- PASS: TestGetTestLocalSigner/RSA4096 (26.65s) + --- PASS: TestGetTestLocalSigner/RSA2048 (0.46s) + --- PASS: TestGetTestLocalSigner/RSA3072 (1.27s) + --- PASS: TestGetTestLocalSigner/RSA4096 (8.17s) --- PASS: TestGetTestLocalSigner/RSAOthers (0.00s) --- PASS: TestGetTestLocalSigner/Others (0.00s) PASS -ok github.com/notaryproject/notation-core-go/signature/internal/signaturetest 64.040s +ok github.com/notaryproject/notation-core-go/signature/internal/signaturetest 22.329s === RUN TestSignedMessageConformance --- PASS: TestSignedMessageConformance (0.00s) === RUN TestVerifyConformance ---- PASS: TestVerifyConformance (0.01s) +--- PASS: TestVerifyConformance (0.00s) === RUN TestNewEnvelope --- PASS: TestNewEnvelope (0.00s) === RUN TestSignFailed @@ -1327,21 +1363,21 @@ === RUN TestSignFailed/extended_attribute_error_value === RUN TestSignFailed/unsupported_sign_algorithm === RUN TestSignFailed/invalid_tsa_url ---- PASS: TestSignFailed (2.18s) +--- PASS: TestSignFailed (2.50s) --- 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.03s) - --- PASS: TestSignFailed/invalid_tsa_url (2.15s) + --- PASS: TestSignFailed/unsupported_sign_algorithm (0.01s) + --- PASS: TestSignFailed/invalid_tsa_url (2.49s) === 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.07s) +--- PASS: TestSigningScheme (0.05s) --- PASS: TestSigningScheme/verify_isLocal=true_signingScheme=notary.x509 (0.01s) - --- 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/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 @@ -1349,16 +1385,16 @@ === RUN TestSignVerify/ECDSA_256 === RUN TestSignVerify/ECDSA_384 === RUN TestSignVerify/ECDSA_521 ---- PASS: TestSignVerify (16.28s) - --- PASS: TestSignVerify/RSA_2048 (0.30s) - --- PASS: TestSignVerify/RSA_3072 (6.06s) - --- PASS: TestSignVerify/RSA_4096 (9.84s) +--- PASS: TestSignVerify (7.81s) + --- PASS: TestSignVerify/RSA_2048 (0.44s) + --- PASS: TestSignVerify/RSA_3072 (2.15s) + --- PASS: TestSignVerify/RSA_4096 (5.18s) --- PASS: TestSignVerify/ECDSA_256 (0.01s) - --- PASS: TestSignVerify/ECDSA_384 (0.02s) - --- PASS: TestSignVerify/ECDSA_521 (0.05s) + --- PASS: TestSignVerify/ECDSA_384 (0.01s) + --- PASS: TestSignVerify/ECDSA_521 (0.02s) === 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]:53572->[::1]:53: read: connection refused ---- SKIP: TestSignWithTimestamp (1.07s) + 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]:57260->[::1]:53: read: connection refused +--- SKIP: TestSignWithTimestamp (3.16s) === RUN TestVerify === RUN TestVerify/break_json_format === RUN TestVerify/tamper_signature @@ -1366,13 +1402,13 @@ === RUN TestVerify/tamper_certificate === RUN TestVerify/malformed_protected_header_base64_encoded === RUN TestVerify/malformed_protected_header_raw ---- PASS: TestVerify (0.15s) - --- PASS: TestVerify/break_json_format (0.02s) - --- PASS: TestVerify/tamper_signature (0.02s) - --- PASS: TestVerify/empty_certificate (0.03s) - --- PASS: TestVerify/tamper_certificate (0.02s) - --- PASS: TestVerify/malformed_protected_header_base64_encoded (0.02s) - --- PASS: TestVerify/malformed_protected_header_raw (0.02s) +--- PASS: TestVerify (0.07s) + --- PASS: TestVerify/break_json_format (0.01s) + --- PASS: TestVerify/tamper_signature (0.01s) + --- PASS: TestVerify/empty_certificate (0.01s) + --- PASS: TestVerify/tamper_certificate (0.01s) + --- PASS: TestVerify/malformed_protected_header_base64_encoded (0.01s) + --- PASS: TestVerify/malformed_protected_header_raw (0.01s) === RUN TestSignerInfo === RUN TestSignerInfo/tamper_protected_header_signing_scheme_X509 === RUN TestSignerInfo/tamper_protected_header_signing_scheme_X509_Signing_Authority @@ -1385,22 +1421,22 @@ === RUN TestSignerInfo/tamper_signature_base64_encoding === RUN TestSignerInfo/tamper_empty_signature === RUN TestSignerInfo/tamper_cert_chain ---- PASS: TestSignerInfo (0.22s) - --- PASS: TestSignerInfo/tamper_protected_header_signing_scheme_X509 (0.02s) - --- PASS: TestSignerInfo/tamper_protected_header_signing_scheme_X509_Signing_Authority (0.02s) - --- PASS: TestSignerInfo/tamper_protected_header_signing_scheme_X509_Signing_Authority_2 (0.02s) - --- PASS: TestSignerInfo/tamper_protected_header_extended_attributes (0.02s) - --- PASS: TestSignerInfo/add_protected_header_critical_key (0.03s) +--- PASS: TestSignerInfo (0.13s) + --- 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) + --- PASS: TestSignerInfo/tamper_protected_header_extended_attributes (0.01s) + --- PASS: TestSignerInfo/add_protected_header_critical_key (0.01s) --- PASS: TestSignerInfo/empty_critical_section (0.01s) - --- PASS: TestSignerInfo/unsupported_algorithm (0.02s) + --- PASS: TestSignerInfo/unsupported_algorithm (0.01s) --- PASS: TestSignerInfo/tamper_raw_protected_header_json_format (0.01s) - --- PASS: TestSignerInfo/tamper_signature_base64_encoding (0.02s) + --- PASS: TestSignerInfo/tamper_signature_base64_encoding (0.01s) --- PASS: TestSignerInfo/tamper_empty_signature (0.01s) --- PASS: TestSignerInfo/tamper_cert_chain (0.01s) === RUN TestPayload === RUN TestPayload/tamper_envelope_cause_JWT_parse_failed ---- PASS: TestPayload (0.02s) - --- PASS: TestPayload/tamper_envelope_cause_JWT_parse_failed (0.02s) +--- PASS: TestPayload (0.01s) + --- PASS: TestPayload/tamper_envelope_cause_JWT_parse_failed (0.01s) === RUN TestEmptyEnvelope === RUN TestEmptyEnvelope/Verify()_with_empty_envelope === RUN TestEmptyEnvelope/Payload()_with_empty_envelope @@ -1436,7 +1472,7 @@ --- PASS: Test_verifyJWT (0.00s) --- PASS: Test_verifyJWT/invalid_signature (0.00s) PASS -ok github.com/notaryproject/notation-core-go/signature/jws 41.032s +ok github.com/notaryproject/notation-core-go/signature/jws 20.289s === RUN TestLoadPemFile --- PASS: TestLoadPemFile (0.00s) === RUN TestLoadMultiPemFile @@ -1452,7 +1488,7 @@ === RUN TestValidCodeSigningChain/self-signed_signing_certificate === RUN TestValidCodeSigningChain/RSA_Leaf_certificate_without_EKU === RUN TestValidCodeSigningChain/Open_SSL_minimum_certificate ---- PASS: TestValidCodeSigningChain (25.30s) +--- PASS: TestValidCodeSigningChain (5.63s) --- PASS: TestValidCodeSigningChain/cert-chain (0.00s) --- PASS: TestValidCodeSigningChain/self-signed_signing_certificate (0.00s) --- PASS: TestValidCodeSigningChain/RSA_Leaf_certificate_without_EKU (0.00s) @@ -1554,7 +1590,7 @@ === RUN TestEkuToString --- PASS: TestEkuToString (0.00s) PASS -ok github.com/notaryproject/notation-core-go/x509 25.388s +ok github.com/notaryproject/notation-core-go/x509 5.685s make[1]: Leaving directory '/build/reproducible-path/golang-github-notaryproject-notation-core-go-1.1.0' create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang @@ -1582,12 +1618,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/1911576/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1911576/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/556478 and its subdirectories -I: Current time: Sat Jan 31 01:22:56 -12 2026 -I: pbuilder-time-stamp: 1769865776 +I: removing directory /srv/workspace/pbuilder/1911576 and its subdirectories +I: Current time: Sun Dec 29 21:04:35 +14 2024 +I: pbuilder-time-stamp: 1735455875