Diff of the two buildlogs: -- --- b1/build.log 2024-12-29 13:38:21.866504109 +0000 +++ b2/build.log 2024-12-29 13:57:42.249841891 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Dec 29 01:05:00 -12 2024 -I: pbuilder-time-stamp: 1735477500 +I: Current time: Mon Dec 30 03:38:31 +14 2024 +I: pbuilder-time-stamp: 1735479511 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/11810/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/522/tmp/hooks/D01_modify_environment starting +debug: Running on virt32z. +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 13:38 /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/522/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/522/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='armhf' + 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]="arm-unknown-linux-gnueabihf") + 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=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='55ad3bfcce48478da05512427c43b55b' - 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='11810' - PS1='# ' - PS2='> ' + INVOCATION_ID=b3f2ad3fd87f41758184ad856c51f7cc + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=522 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.TWmXI249/pbuilderrc_Fkum --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.TWmXI249/b1 --logfile b1/build.log golang-github-notaryproject-notation-core-go_1.1.0-6.dsc' - SUDO_GID='113' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.TWmXI249/pbuilderrc_TDvE --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.TWmXI249/b2 --logfile b2/build.log golang-github-notaryproject-notation-core-go_1.1.0-6.dsc' + SUDO_GID=110 + SUDO_UID=103 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux virt64b 6.1.0-28-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-28-armmp-lpae #1 SMP Debian 6.1.119-1 (2024-11-22) armv7l GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/11810/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/522/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 armhf golang-golang-x-term-dev all 0.22.0-1 [14.8 kB] Get: 44 http://deb.debian.org/debian unstable/main armhf golang-golang-x-text-dev all 0.16.0-1 [4003 kB] Get: 45 http://deb.debian.org/debian unstable/main armhf golang-golang-x-crypto-dev all 1:0.25.0-1 [1682 kB] -Fetched 68.8 MB in 2s (39.8 MB/s) +Fetched 68.8 MB in 6s (11.6 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 ... 19572 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/522/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/522/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 @@ -378,17 +414,17 @@ 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 3 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 install -trimpath -v -p 4 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/byteorder internal/unsafeheader internal/cpu internal/abi -internal/byteorder -internal/chacha8rand -internal/bytealg internal/coverage/rtcov +internal/chacha8rand internal/godebugs internal/goexperiment +internal/bytealg internal/goos internal/profilerecord internal/runtime/atomic @@ -397,17 +433,17 @@ runtime/internal/math runtime/internal/sys internal/race -internal/runtime/exithook sync/atomic unicode -runtime +internal/runtime/exithook unicode/utf8 cmp internal/itoa math/bits -math internal/asan internal/msan +runtime +math unicode/utf16 crypto/internal/alias crypto/internal/boring/sig @@ -421,22 +457,24 @@ internal/reflectlite sync iter -slices crypto/subtle +slices internal/weak maps -internal/bisect internal/testlog -errors +internal/bisect internal/singleflight +errors +sort +runtime/cgo +internal/godebug io strconv +bytes internal/oserror path -bytes -internal/godebug -syscall math/rand +syscall reflect strings hash @@ -451,32 +489,49 @@ crypto/internal/randutil crypto/internal/edwards25519/field crypto/internal/nistec/fiat -io/fs -internal/filepathlite internal/fmtsort -internal/poll crypto/sha512 +io/fs crypto/internal/edwards25519 -os +internal/poll +internal/filepathlite crypto/md5 crypto/sha1 +os crypto/sha256 encoding/binary -crypto/internal/nistec -encoding/base64 -fmt -encoding/pem context -crypto/ecdh vendor/golang.org/x/net/dns/dnsmessage +encoding/base64 +encoding/pem math/rand/v2 -math/big -encoding/hex +fmt +path/filepath internal/concurrent +crypto/internal/nistec unique -sort +github.com/notaryproject/tspclient-go/internal/hashutil net/netip -runtime/cgo +bufio +hash/crc32 +encoding/hex +math/big +crypto/ecdh +net/url +compress/flate +net +crypto/hmac +vendor/golang.org/x/crypto/chacha20 +compress/gzip +vendor/golang.org/x/crypto/internal/poly1305 +vendor/golang.org/x/crypto/hkdf +vendor/golang.org/x/sys/cpu +vendor/golang.org/x/crypto/chacha20poly1305 +vendor/golang.org/x/crypto/sha3 +crypto/rc4 +vendor/golang.org/x/text/transform +log +vendor/golang.org/x/text/unicode/norm encoding/asn1 crypto/dsa crypto/elliptic @@ -485,49 +540,30 @@ crypto/internal/boring/bbig vendor/golang.org/x/crypto/cryptobyte crypto/rand +crypto/x509/pkix crypto/ed25519 crypto/rsa crypto/ecdsa -crypto/x509/pkix -net/url -path/filepath github.com/notaryproject/tspclient-go/internal/encoding/asn1/ber -github.com/notaryproject/tspclient-go/internal/hashutil github.com/notaryproject/tspclient-go/internal/encoding/asn1 github.com/notaryproject/tspclient-go/pki -bufio -hash/crc32 -crypto/hmac -vendor/golang.org/x/crypto/chacha20 -compress/flate -vendor/golang.org/x/crypto/internal/poly1305 -net -vendor/golang.org/x/crypto/chacha20poly1305 -vendor/golang.org/x/crypto/hkdf crypto/internal/hpke -compress/gzip -vendor/golang.org/x/sys/cpu -crypto/rc4 -vendor/golang.org/x/crypto/sha3 -vendor/golang.org/x/text/transform -log crypto/internal/mlkem768 -vendor/golang.org/x/text/unicode/norm vendor/golang.org/x/text/unicode/bidi -vendor/golang.org/x/text/secure/bidirule vendor/golang.org/x/net/http2/hpack mime -vendor/golang.org/x/net/idna mime/quotedprintable net/http/internal +vendor/golang.org/x/text/secure/bidirule net/http/internal/ascii github.com/notaryproject/notation-core-go/revocation/result encoding/base32 +vendor/golang.org/x/net/idna github.com/x448/float16 regexp/syntax github.com/fxamacker/cbor -regexp encoding/json +regexp github.com/veraison/go-cose net/textproto vendor/golang.org/x/net/http/httpproxy @@ -536,32 +572,32 @@ mime/multipart github.com/notaryproject/tspclient-go/internal/oid golang.org/x/crypto/ocsp +github.com/golang-jwt/jwt crypto/tls github.com/notaryproject/tspclient-go/internal/cms -github.com/golang-jwt/jwt net/http/httptrace net/http 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/signature/internal/signaturetest github.com/notaryproject/notation-core-go/x509 +github.com/notaryproject/notation-core-go/signature/internal/signaturetest github.com/notaryproject/notation-core-go/internal/timestamp -github.com/notaryproject/notation-core-go/signature/internal/base github.com/notaryproject/notation-core-go/revocation/ocsp +github.com/notaryproject/notation-core-go/signature/internal/base github.com/notaryproject/notation-core-go/signature/cose github.com/notaryproject/notation-core-go/signature/jws github.com/notaryproject/notation-core-go/revocation debian/rules override_dh_auto_test make[1]: Entering directory '/build/reproducible-path/golang-github-notaryproject-notation-core-go-1.1.0' dh_auto_test -- -timeout 30m - cd _build && go test -vet=off -v -p 3 -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 + cd _build && go test -vet=off -v -p 4 -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]:43535->[::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]:57321->[::1]:53: read: connection refused +--- SKIP: TestTimestamp (0.00s) PASS -ok github.com/notaryproject/notation-core-go/internal/timestamp 0.023s +ok github.com/notaryproject/notation-core-go/internal/timestamp 0.020s === RUN TestNew --- PASS: TestNew (0.00s) === RUN TestNewWithOptions @@ -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 (69.52s) - --- PASS: TestCheckRevocationStatusForSingleCert/check_non-revoked_cert (0.09s) - --- PASS: TestCheckRevocationStatusForSingleCert/check_cert_with_Unknown_OCSP_response (0.09s) - --- PASS: TestCheckRevocationStatusForSingleCert/check_OCSP_revoked_cert (0.09s) - --- PASS: TestCheckRevocationStatusForSingleCert/check_OCSP_future_revoked_cert (0.11s) +--- PASS: TestCheckRevocationStatusForSingleCert (32.73s) + --- PASS: TestCheckRevocationStatusForSingleCert/check_non-revoked_cert (0.07s) + --- PASS: TestCheckRevocationStatusForSingleCert/check_cert_with_Unknown_OCSP_response (0.07s) + --- PASS: TestCheckRevocationStatusForSingleCert/check_OCSP_revoked_cert (0.07s) + --- PASS: TestCheckRevocationStatusForSingleCert/check_OCSP_future_revoked_cert (0.07s) === RUN TestCheckRevocationStatusForSelfSignedCert ---- PASS: TestCheckRevocationStatusForSelfSignedCert (10.17s) +--- PASS: TestCheckRevocationStatusForSelfSignedCert (4.89s) === 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 (15.12s) +--- PASS: TestCheckRevocationStatusForChain (6.14s) --- PASS: TestCheckRevocationStatusForChain/empty_chain (0.00s) - --- PASS: TestCheckRevocationStatusForChain/check_non-revoked_chain (0.21s) - --- PASS: TestCheckRevocationStatusForChain/check_chain_with_1_Unknown_cert (0.21s) - --- PASS: TestCheckRevocationStatusForChain/check_OCSP_with_1_revoked_cert (0.19s) - --- PASS: TestCheckRevocationStatusForChain/check_OCSP_with_1_unknown_and_1_revoked_cert (0.21s) - --- PASS: TestCheckRevocationStatusForChain/check_OCSP_with_1_future_revoked_cert (0.26s) - --- PASS: TestCheckRevocationStatusForChain/check_OCSP_with_1_unknown_and_1_future_revoked_cert (0.20s) - --- PASS: TestCheckRevocationStatusForChain/check_OCSP_with_1_revoked_cert_before_signing_time (0.23s) - --- PASS: TestCheckRevocationStatusForChain/check_OCSP_with_1_revoked_cert_after_zero_signing_time (0.18s) + --- PASS: TestCheckRevocationStatusForChain/check_non-revoked_chain (0.15s) + --- PASS: TestCheckRevocationStatusForChain/check_chain_with_1_Unknown_cert (0.14s) + --- PASS: TestCheckRevocationStatusForChain/check_OCSP_with_1_revoked_cert (0.15s) + --- PASS: TestCheckRevocationStatusForChain/check_OCSP_with_1_unknown_and_1_revoked_cert (0.14s) + --- PASS: TestCheckRevocationStatusForChain/check_OCSP_with_1_future_revoked_cert (0.15s) + --- PASS: TestCheckRevocationStatusForChain/check_OCSP_with_1_unknown_and_1_future_revoked_cert (0.15s) + --- PASS: TestCheckRevocationStatusForChain/check_OCSP_with_1_revoked_cert_before_signing_time (0.15s) + --- PASS: TestCheckRevocationStatusForChain/check_OCSP_with_1_revoked_cert_after_zero_signing_time (0.14s) === 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 (14.40s) +--- PASS: TestCheckRevocationStatusForTimestampChain (13.59s) --- PASS: TestCheckRevocationStatusForTimestampChain/empty_chain (0.00s) - --- PASS: TestCheckRevocationStatusForTimestampChain/check_non-revoked_chain (0.26s) - --- PASS: TestCheckRevocationStatusForTimestampChain/check_chain_with_1_Unknown_cert (0.24s) - --- PASS: TestCheckRevocationStatusForTimestampChain/check_OCSP_with_1_revoked_cert (0.29s) - --- PASS: TestCheckRevocationStatusForTimestampChain/check_OCSP_with_1_unknown_and_1_revoked_cert (0.26s) - --- PASS: TestCheckRevocationStatusForTimestampChain/check_OCSP_with_1_future_revoked_cert (0.28s) - --- PASS: TestCheckRevocationStatusForTimestampChain/check_OCSP_with_1_unknown_and_1_future_revoked_cert (0.23s) - --- PASS: TestCheckRevocationStatusForTimestampChain/check_OCSP_with_1_revoked_cert_before_signing_time (0.27s) - --- PASS: TestCheckRevocationStatusForTimestampChain/check_OCSP_with_1_revoked_cert_after_zero_signing_time (0.24s) + --- PASS: TestCheckRevocationStatusForTimestampChain/check_non-revoked_chain (0.14s) + --- PASS: TestCheckRevocationStatusForTimestampChain/check_chain_with_1_Unknown_cert (0.15s) + --- PASS: TestCheckRevocationStatusForTimestampChain/check_OCSP_with_1_revoked_cert (0.15s) + --- PASS: TestCheckRevocationStatusForTimestampChain/check_OCSP_with_1_unknown_and_1_revoked_cert (0.15s) + --- PASS: TestCheckRevocationStatusForTimestampChain/check_OCSP_with_1_future_revoked_cert (0.14s) + --- PASS: TestCheckRevocationStatusForTimestampChain/check_OCSP_with_1_unknown_and_1_future_revoked_cert (0.14s) + --- PASS: TestCheckRevocationStatusForTimestampChain/check_OCSP_with_1_revoked_cert_before_signing_time (0.14s) + --- PASS: TestCheckRevocationStatusForTimestampChain/check_OCSP_with_1_revoked_cert_after_zero_signing_time (0.14s) === 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 (23.01s) +--- PASS: TestCheckRevocationErrors (6.02s) --- PASS: TestCheckRevocationErrors/no_OCSPServer_specified (0.01s) --- PASS: TestCheckRevocationErrors/chain_missing_root (0.01s) --- PASS: TestCheckRevocationErrors/backwards_chain (0.00s) --- PASS: TestCheckRevocationErrors/timeout (0.01s) - --- PASS: TestCheckRevocationErrors/expired_ocsp_response (0.14s) - --- PASS: TestCheckRevocationErrors/OCSP_pkixNoCheck_missing (0.12s) - --- PASS: TestCheckRevocationErrors/non-HTTP_URI_error (0.10s) + --- PASS: TestCheckRevocationErrors/expired_ocsp_response (0.07s) + --- PASS: TestCheckRevocationErrors/OCSP_pkixNoCheck_missing (0.07s) + --- PASS: TestCheckRevocationErrors/non-HTTP_URI_error (0.07s) === RUN TestCheckRevocationInvalidChain === RUN TestCheckRevocationInvalidChain/chain_missing_intermediate === RUN TestCheckRevocationInvalidChain/chain_out_of_order ---- PASS: TestCheckRevocationInvalidChain (13.45s) +--- PASS: TestCheckRevocationInvalidChain (14.07s) --- 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 145.687s +ok github.com/notaryproject/notation-core-go/revocation 77.466s ? github.com/notaryproject/notation-core-go/revocation/purpose [no test files] === RUN TestRevokedError --- PASS: TestRevokedError (0.00s) @@ -670,13 +706,13 @@ === RUN TestCheckStatus/check_cert_with_Unknown_OCSP_response === RUN TestCheckStatus/check_OCSP_revoked_cert === RUN TestCheckStatus/check_OCSP_future_revoked_cert ---- PASS: TestCheckStatus (59.80s) - --- PASS: TestCheckStatus/check_non-revoked_cert (0.09s) - --- PASS: TestCheckStatus/check_cert_with_Unknown_OCSP_response (0.09s) - --- PASS: TestCheckStatus/check_OCSP_revoked_cert (0.09s) - --- PASS: TestCheckStatus/check_OCSP_future_revoked_cert (0.09s) +--- PASS: TestCheckStatus (44.56s) + --- PASS: TestCheckStatus/check_non-revoked_cert (0.06s) + --- PASS: TestCheckStatus/check_cert_with_Unknown_OCSP_response (0.06s) + --- PASS: TestCheckStatus/check_OCSP_revoked_cert (0.06s) + --- PASS: TestCheckStatus/check_OCSP_future_revoked_cert (0.06s) === RUN TestCheckStatusForSelfSignedCert ---- PASS: TestCheckStatusForSelfSignedCert (5.88s) +--- PASS: TestCheckStatusForSelfSignedCert (6.59s) === RUN TestCheckStatusForRootCert --- PASS: TestCheckStatusForRootCert (0.00s) === RUN TestCheckStatusForNonSelfSignedSingleCert @@ -691,16 +727,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 (11.19s) +--- PASS: TestCheckStatusForChain (7.68s) --- PASS: TestCheckStatusForChain/empty_chain (0.00s) - --- PASS: TestCheckStatusForChain/check_non-revoked_chain (0.34s) - --- PASS: TestCheckStatusForChain/check_chain_with_1_Unknown_cert (0.34s) - --- PASS: TestCheckStatusForChain/check_OCSP_with_1_revoked_cert (0.39s) - --- PASS: TestCheckStatusForChain/check_OCSP_with_1_unknown_and_1_revoked_cert (0.31s) - --- PASS: TestCheckStatusForChain/check_OCSP_with_1_future_revoked_cert (0.33s) - --- PASS: TestCheckStatusForChain/check_OCSP_with_1_unknown_and_1_future_revoked_cert (0.27s) - --- PASS: TestCheckStatusForChain/check_OCSP_with_1_revoked_cert_before_signing_time (0.34s) - --- PASS: TestCheckStatusForChain/check_OCSP_with_1_revoked_cert_after_zero_signing_time (0.30s) + --- PASS: TestCheckStatusForChain/check_non-revoked_chain (0.18s) + --- PASS: TestCheckStatusForChain/check_chain_with_1_Unknown_cert (0.19s) + --- PASS: TestCheckStatusForChain/check_OCSP_with_1_revoked_cert (0.19s) + --- PASS: TestCheckStatusForChain/check_OCSP_with_1_unknown_and_1_revoked_cert (0.18s) + --- PASS: TestCheckStatusForChain/check_OCSP_with_1_future_revoked_cert (0.20s) + --- PASS: TestCheckStatusForChain/check_OCSP_with_1_unknown_and_1_future_revoked_cert (0.19s) + --- PASS: TestCheckStatusForChain/check_OCSP_with_1_revoked_cert_before_signing_time (0.21s) + --- PASS: TestCheckStatusForChain/check_OCSP_with_1_revoked_cert_after_zero_signing_time (0.19s) === RUN TestCheckStatusErrors === RUN TestCheckStatusErrors/no_OCSPServer_specified === RUN TestCheckStatusErrors/chain_missing_root @@ -712,7 +748,7 @@ === RUN TestCheckStatusErrors/expired_ocsp_response === RUN TestCheckStatusErrors/pkixNoCheck_missing === RUN TestCheckStatusErrors/non-HTTP_URI_error ---- PASS: TestCheckStatusErrors (4.74s) +--- PASS: TestCheckStatusErrors (5.13s) --- PASS: TestCheckStatusErrors/no_OCSPServer_specified (0.01s) --- PASS: TestCheckStatusErrors/chain_missing_root (0.01s) --- PASS: TestCheckStatusErrors/backwards_chain (0.00s) @@ -720,17 +756,17 @@ --- PASS: TestCheckStatusErrors/check_with_default_CertChainPurpose (0.02s) --- PASS: TestCheckStatusErrors/check_with_unknwon_CertChainPurpose (0.00s) --- PASS: TestCheckStatusErrors/timeout (0.01s) - --- PASS: TestCheckStatusErrors/expired_ocsp_response (0.19s) - --- PASS: TestCheckStatusErrors/pkixNoCheck_missing (0.17s) - --- PASS: TestCheckStatusErrors/non-HTTP_URI_error (0.11s) + --- PASS: TestCheckStatusErrors/expired_ocsp_response (0.10s) + --- PASS: TestCheckStatusErrors/pkixNoCheck_missing (0.12s) + --- PASS: TestCheckStatusErrors/non-HTTP_URI_error (0.07s) === RUN TestCheckOCSPInvalidChain === RUN TestCheckOCSPInvalidChain/chain_missing_intermediate === RUN TestCheckOCSPInvalidChain/chain_out_of_order ---- PASS: TestCheckOCSPInvalidChain (23.94s) +--- PASS: TestCheckOCSPInvalidChain (2.93s) --- 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 105.574s +ok github.com/notaryproject/notation-core-go/revocation/ocsp 66.923s === RUN TestInvalidChainError === RUN TestInvalidChainError/without_inner_error === RUN TestInvalidChainError/inner_error @@ -752,7 +788,7 @@ === RUN TestNewServerResult --- PASS: TestNewServerResult (0.00s) PASS -ok github.com/notaryproject/notation-core-go/revocation/result 0.008s +ok github.com/notaryproject/notation-core-go/revocation/result 0.009s === RUN TestHash === RUN TestHash/PS256 === RUN TestHash/ES256 @@ -779,7 +815,7 @@ === RUN TestExtractKeySpec/EC_256 === RUN TestExtractKeySpec/EC_384 === RUN TestExtractKeySpec/EC_521 ---- PASS: TestExtractKeySpec (87.74s) +--- PASS: TestExtractKeySpec (92.79s) --- PASS: TestExtractKeySpec/RSA_wrong_size (0.00s) --- PASS: TestExtractKeySpec/ECDSA_wrong_size (0.00s) --- PASS: TestExtractKeySpec/Unsupported_type (0.00s) @@ -902,10 +938,10 @@ === RUN TestAuthenticSigningTime --- PASS: TestAuthenticSigningTime (0.00s) PASS -ok github.com/notaryproject/notation-core-go/signature 87.767s +ok github.com/notaryproject/notation-core-go/signature 92.810s ? github.com/notaryproject/notation-core-go/testhelper [no test files] === RUN TestConformance ---- PASS: TestConformance (84.85s) +--- PASS: TestConformance (26.98s) === RUN TestParseEnvelopeError --- PASS: TestParseEnvelopeError (0.00s) === RUN TestSign @@ -970,69 +1006,69 @@ === 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]:33518->[::1]:53: read: connection refused ---- PASS: TestSign (727.58s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_2048_keySize_when_all_arguments_are_present (1.97s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_2048_keySize_when_minimal_arguments_are_present (0.92s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_2048_keySize_when_expiry_is_not_present (2.56s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_2048_keySize_when_signingAgent_is_not_present (0.96s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_2048_keySize_when_extended_signed_attributes_are_not_present (3.95s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_3072_keySize_when_all_arguments_are_present (26.14s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_3072_keySize_when_minimal_arguments_are_present (5.08s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_3072_keySize_when_expiry_is_not_present (17.46s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_3072_keySize_when_signingAgent_is_not_present (10.28s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_3072_keySize_when_extended_signed_attributes_are_not_present (6.25s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_4096_keySize_when_all_arguments_are_present (39.09s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_4096_keySize_when_minimal_arguments_are_present (51.28s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_4096_keySize_when_expiry_is_not_present (32.82s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_4096_keySize_when_signingAgent_is_not_present (51.23s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_4096_keySize_when_extended_signed_attributes_are_not_present (71.30s) + 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]:36564->[::1]:53: read: connection refused +--- PASS: TestSign (371.45s) + --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_2048_keySize_when_all_arguments_are_present (4.21s) + --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_2048_keySize_when_minimal_arguments_are_present (1.86s) + --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_2048_keySize_when_expiry_is_not_present (1.14s) + --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_2048_keySize_when_signingAgent_is_not_present (1.70s) + --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_2048_keySize_when_extended_signed_attributes_are_not_present (1.90s) + --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_3072_keySize_when_all_arguments_are_present (5.09s) + --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_3072_keySize_when_minimal_arguments_are_present (3.81s) + --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_3072_keySize_when_expiry_is_not_present (4.28s) + --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_3072_keySize_when_signingAgent_is_not_present (8.59s) + --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_3072_keySize_when_extended_signed_attributes_are_not_present (14.76s) + --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_4096_keySize_when_all_arguments_are_present (20.98s) + --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_4096_keySize_when_minimal_arguments_are_present (47.01s) + --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_4096_keySize_when_expiry_is_not_present (20.61s) + --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_4096_keySize_when_signingAgent_is_not_present (16.87s) + --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_4096_keySize_when_extended_signed_attributes_are_not_present (13.10s) --- PASS: TestSign/with_notary.x509_scheme,_2_keyType,_256_keySize_when_all_arguments_are_present (0.04s) - --- PASS: TestSign/with_notary.x509_scheme,_2_keyType,_256_keySize_when_minimal_arguments_are_present (0.03s) - --- PASS: TestSign/with_notary.x509_scheme,_2_keyType,_256_keySize_when_expiry_is_not_present (0.03s) - --- PASS: TestSign/with_notary.x509_scheme,_2_keyType,_256_keySize_when_signingAgent_is_not_present (0.03s) - --- PASS: TestSign/with_notary.x509_scheme,_2_keyType,_256_keySize_when_extended_signed_attributes_are_not_present (0.03s) + --- PASS: TestSign/with_notary.x509_scheme,_2_keyType,_256_keySize_when_minimal_arguments_are_present (0.02s) + --- PASS: TestSign/with_notary.x509_scheme,_2_keyType,_256_keySize_when_expiry_is_not_present (0.02s) + --- PASS: TestSign/with_notary.x509_scheme,_2_keyType,_256_keySize_when_signingAgent_is_not_present (0.02s) + --- PASS: TestSign/with_notary.x509_scheme,_2_keyType,_256_keySize_when_extended_signed_attributes_are_not_present (0.02s) --- PASS: TestSign/with_notary.x509_scheme,_2_keyType,_384_keySize_when_all_arguments_are_present (0.03s) --- PASS: TestSign/with_notary.x509_scheme,_2_keyType,_384_keySize_when_minimal_arguments_are_present (0.03s) --- PASS: TestSign/with_notary.x509_scheme,_2_keyType,_384_keySize_when_expiry_is_not_present (0.03s) --- PASS: TestSign/with_notary.x509_scheme,_2_keyType,_384_keySize_when_signingAgent_is_not_present (0.03s) --- PASS: TestSign/with_notary.x509_scheme,_2_keyType,_384_keySize_when_extended_signed_attributes_are_not_present (0.03s) - --- PASS: TestSign/with_notary.x509_scheme,_2_keyType,_521_keySize_when_all_arguments_are_present (0.40s) + --- PASS: TestSign/with_notary.x509_scheme,_2_keyType,_521_keySize_when_all_arguments_are_present (0.36s) --- PASS: TestSign/with_notary.x509_scheme,_2_keyType,_521_keySize_when_minimal_arguments_are_present (0.07s) --- PASS: TestSign/with_notary.x509_scheme,_2_keyType,_521_keySize_when_expiry_is_not_present (0.07s) --- PASS: TestSign/with_notary.x509_scheme,_2_keyType,_521_keySize_when_signingAgent_is_not_present (0.07s) --- PASS: TestSign/with_notary.x509_scheme,_2_keyType,_521_keySize_when_extended_signed_attributes_are_not_present (0.07s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_2048_keySize_when_all_arguments_are_present (0.97s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_2048_keySize_when_minimal_arguments_are_present (2.65s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_2048_keySize_when_expiry_is_not_present (4.56s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_2048_keySize_when_signingAgent_is_not_present (3.44s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_2048_keySize_when_extended_signed_attributes_are_not_present (6.79s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize_when_all_arguments_are_present (27.37s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize_when_minimal_arguments_are_present (13.16s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize_when_expiry_is_not_present (32.38s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize_when_signingAgent_is_not_present (12.00s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize_when_extended_signed_attributes_are_not_present (38.76s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize_when_all_arguments_are_present (34.97s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize_when_minimal_arguments_are_present (59.82s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize_when_expiry_is_not_present (36.73s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize_when_signingAgent_is_not_present (57.77s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize_when_extended_signed_attributes_are_not_present (62.89s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_256_keySize_when_all_arguments_are_present (0.03s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_256_keySize_when_minimal_arguments_are_present (0.03s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_256_keySize_when_expiry_is_not_present (0.03s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_256_keySize_when_signingAgent_is_not_present (0.03s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_256_keySize_when_extended_signed_attributes_are_not_present (0.03s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_2048_keySize_when_all_arguments_are_present (1.29s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_2048_keySize_when_minimal_arguments_are_present (0.91s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_2048_keySize_when_expiry_is_not_present (1.89s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_2048_keySize_when_signingAgent_is_not_present (1.09s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_2048_keySize_when_extended_signed_attributes_are_not_present (1.68s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize_when_all_arguments_are_present (12.70s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize_when_minimal_arguments_are_present (6.34s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize_when_expiry_is_not_present (9.52s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize_when_signingAgent_is_not_present (6.12s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize_when_extended_signed_attributes_are_not_present (5.10s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize_when_all_arguments_are_present (31.48s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize_when_minimal_arguments_are_present (21.98s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize_when_expiry_is_not_present (18.81s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize_when_signingAgent_is_not_present (22.38s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize_when_extended_signed_attributes_are_not_present (52.77s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_256_keySize_when_all_arguments_are_present (0.02s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_256_keySize_when_minimal_arguments_are_present (0.02s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_256_keySize_when_expiry_is_not_present (0.02s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_256_keySize_when_signingAgent_is_not_present (0.02s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_256_keySize_when_extended_signed_attributes_are_not_present (0.02s) --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_384_keySize_when_all_arguments_are_present (0.03s) --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_384_keySize_when_minimal_arguments_are_present (0.03s) --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_384_keySize_when_expiry_is_not_present (0.03s) --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_384_keySize_when_signingAgent_is_not_present (0.03s) --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_384_keySize_when_extended_signed_attributes_are_not_present (0.03s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_521_keySize_when_all_arguments_are_present (0.08s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_521_keySize_when_minimal_arguments_are_present (0.08s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_521_keySize_when_expiry_is_not_present (0.09s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_521_keySize_when_signingAgent_is_not_present (0.08s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_521_keySize_when_extended_signed_attributes_are_not_present (0.09s) - --- SKIP: TestSign/with_timestmap_countersignature_request (10.29s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_521_keySize_when_all_arguments_are_present (0.07s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_521_keySize_when_minimal_arguments_are_present (0.07s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_521_keySize_when_expiry_is_not_present (0.07s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_521_keySize_when_signingAgent_is_not_present (0.07s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_521_keySize_when_extended_signed_attributes_are_not_present (0.07s) + --- SKIP: TestSign/with_timestmap_countersignature_request (9.96s) === RUN TestSignErrors === RUN TestSignErrors/errorLocalSigner:_when_getSigner_has_privateKeyError === RUN TestSignErrors/errorLocalSigner:_when_getSigner_has_keySpecError @@ -1047,20 +1083,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 (193.16s) - --- PASS: TestSignErrors/errorLocalSigner:_when_getSigner_has_privateKeyError (18.14s) - --- PASS: TestSignErrors/errorLocalSigner:_when_getSigner_has_keySpecError (13.25s) - --- PASS: TestSignErrors/errorLocalSigner:_when_getSigner_has_algError (5.18s) - --- PASS: TestSignErrors/errorRemoteSigner:_when_getSigner_has_keySpecError (13.60s) - --- PASS: TestSignErrors/errorRemoteSigner:_when_getSigner_has_algError (8.78s) - --- PASS: TestSignErrors/errorRemoteSigner:_when_getSigner_has_algError_and_wantEC (33.08s) - --- PASS: TestSignErrors/errorRemoteSigner:_when_getSigner_has_keyTypeError (27.28s) - --- PASS: TestSignErrors/when_signingScheme_is_absent (14.04s) - --- PASS: TestSignErrors/when_an_extended_signed_attribute_already_exists_in_the_protected_header (13.79s) - --- PASS: TestSignErrors/when_signer_has_signError (12.67s) - --- PASS: TestSignErrors/when_signer_returns_empty_signature (15.83s) - --- PASS: TestSignErrors/errorLocalSigner:_when_signer_has_certificateChainError (7.17s) - --- PASS: TestSignErrors/when_invalid_tsa_url_is_provided (10.35s) +--- PASS: TestSignErrors (135.18s) + --- PASS: TestSignErrors/errorLocalSigner:_when_getSigner_has_privateKeyError (26.96s) + --- PASS: TestSignErrors/errorLocalSigner:_when_getSigner_has_keySpecError (6.57s) + --- PASS: TestSignErrors/errorLocalSigner:_when_getSigner_has_algError (3.09s) + --- PASS: TestSignErrors/errorRemoteSigner:_when_getSigner_has_keySpecError (3.15s) + --- PASS: TestSignErrors/errorRemoteSigner:_when_getSigner_has_algError (9.11s) + --- PASS: TestSignErrors/errorRemoteSigner:_when_getSigner_has_algError_and_wantEC (6.04s) + --- PASS: TestSignErrors/errorRemoteSigner:_when_getSigner_has_keyTypeError (6.69s) + --- PASS: TestSignErrors/when_signingScheme_is_absent (15.92s) + --- PASS: TestSignErrors/when_an_extended_signed_attribute_already_exists_in_the_protected_header (7.01s) + --- PASS: TestSignErrors/when_signer_has_signError (10.81s) + --- PASS: TestSignErrors/when_signer_returns_empty_signature (10.46s) + --- PASS: TestSignErrors/errorLocalSigner:_when_signer_has_certificateChainError (19.39s) + --- PASS: TestSignErrors/when_invalid_tsa_url_is_provided (9.96s) === RUN TestVerifyErrors === RUN TestVerifyErrors/when_signature_envelope_is_not_present === RUN TestVerifyErrors/when_COSE_envelope_has_invalid_certificate_chain @@ -1070,23 +1106,23 @@ === RUN TestVerifyErrors/when_tempered_signature_envelope_is_provided === RUN TestVerifyErrors/when_get_payload_fails === RUN TestVerifyErrors/when_get_signerInfo_fails ---- PASS: TestVerifyErrors (86.01s) +--- PASS: TestVerifyErrors (73.30s) --- PASS: TestVerifyErrors/when_signature_envelope_is_not_present (0.00s) - --- PASS: TestVerifyErrors/when_COSE_envelope_has_invalid_certificate_chain (6.12s) - --- PASS: TestVerifyErrors/when_COSE_envelope_leaf_certificate_has_wrong_type (4.64s) - --- PASS: TestVerifyErrors/when_COSE_envelope_has_malformed_leaf_certificate (10.35s) - --- PASS: TestVerifyErrors/when_getSignatureAlgorithm_fails_due_to_unsupported_public_key (10.71s) - --- PASS: TestVerifyErrors/when_tempered_signature_envelope_is_provided (26.05s) - --- PASS: TestVerifyErrors/when_get_payload_fails (6.40s) - --- PASS: TestVerifyErrors/when_get_signerInfo_fails (21.74s) + --- PASS: TestVerifyErrors/when_COSE_envelope_has_invalid_certificate_chain (13.77s) + --- PASS: TestVerifyErrors/when_COSE_envelope_leaf_certificate_has_wrong_type (6.43s) + --- PASS: TestVerifyErrors/when_COSE_envelope_has_malformed_leaf_certificate (5.53s) + --- PASS: TestVerifyErrors/when_getSignatureAlgorithm_fails_due_to_unsupported_public_key (9.46s) + --- PASS: TestVerifyErrors/when_tempered_signature_envelope_is_provided (13.53s) + --- PASS: TestVerifyErrors/when_get_payload_fails (20.57s) + --- PASS: TestVerifyErrors/when_get_signerInfo_fails (4.01s) === 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 (36.41s) - --- PASS: TestPayloadErrors/when_env.base_is_nil (13.34s) - --- PASS: TestPayloadErrors/when_missing_content_type (15.56s) - --- PASS: TestPayloadErrors/when_content_type_has_wrong_type (7.51s) +--- PASS: TestPayloadErrors (23.90s) + --- PASS: TestPayloadErrors/when_env.base_is_nil (6.64s) + --- PASS: TestPayloadErrors/when_missing_content_type (9.23s) + --- PASS: TestPayloadErrors/when_content_type_has_wrong_type (8.03s) === RUN TestSignerInfoErrors === RUN TestSignerInfoErrors/when_signature_missing_in_COSE_envelope === RUN TestSignerInfoErrors/when_COSE_envelope_protected_header_has_empty_crit @@ -1108,27 +1144,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 (243.39s) - --- PASS: TestSignerInfoErrors/when_signature_missing_in_COSE_envelope (13.28s) - --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_has_empty_crit (19.48s) - --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_has_invalid_crit (5.18s) - --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_signingScheme_has_wrong_type (4.32s) - --- PASS: TestSignerInfoErrors/when_COSE_envelope_has_required_headers_that_are_not_marked_as_critical (12.77s) - --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_missing_algorithm (7.63s) - --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_has_unsupported_algorithm (14.33s) - --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_has_unsupported_signingScheme (7.71s) - --- PASS: TestSignerInfoErrors/when_parseTime_has_Tag0_signingTime (8.25s) - --- PASS: TestSignerInfoErrors/when_parseTime_has_Tag0_expiry (19.58s) - --- PASS: TestSignerInfoErrors/when_parseTime_fails_at_headerMap_missing_signgingTime (7.55s) - --- PASS: TestSignerInfoErrors/when_parseTime_fails_at_signgingTime_tag_validation (11.16s) - --- PASS: TestSignerInfoErrors/when_parseTime_fails_at_expiry_tag_validation (14.84s) - --- PASS: TestSignerInfoErrors/when_decodeTime_fails (5.38s) - --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_has_invalid_signingTime (15.19s) - --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_missing_signingTime (8.97s) - --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_has_invalid_expiry (25.94s) - --- PASS: TestSignerInfoErrors/when_COSE_envelope_has_invalid_certificate_chain (8.01s) - --- PASS: TestSignerInfoErrors/when_COSE_envelope_leaf_certificate_has_wrong_type (20.80s) - --- PASS: TestSignerInfoErrors/when_COSE_envelope_has_malformed_leaf_certificate (13.03s) +--- PASS: TestSignerInfoErrors (180.98s) + --- PASS: TestSignerInfoErrors/when_signature_missing_in_COSE_envelope (3.73s) + --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_has_empty_crit (5.74s) + --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_has_invalid_crit (8.90s) + --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_signingScheme_has_wrong_type (8.77s) + --- PASS: TestSignerInfoErrors/when_COSE_envelope_has_required_headers_that_are_not_marked_as_critical (5.99s) + --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_missing_algorithm (10.72s) + --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_has_unsupported_algorithm (10.68s) + --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_has_unsupported_signingScheme (8.52s) + --- PASS: TestSignerInfoErrors/when_parseTime_has_Tag0_signingTime (13.06s) + --- PASS: TestSignerInfoErrors/when_parseTime_has_Tag0_expiry (10.48s) + --- PASS: TestSignerInfoErrors/when_parseTime_fails_at_headerMap_missing_signgingTime (8.50s) + --- PASS: TestSignerInfoErrors/when_parseTime_fails_at_signgingTime_tag_validation (14.62s) + --- PASS: TestSignerInfoErrors/when_parseTime_fails_at_expiry_tag_validation (5.65s) + --- PASS: TestSignerInfoErrors/when_decodeTime_fails (2.41s) + --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_has_invalid_signingTime (15.99s) + --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_missing_signingTime (5.71s) + --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_has_invalid_expiry (14.64s) + --- PASS: TestSignerInfoErrors/when_COSE_envelope_has_invalid_certificate_chain (9.19s) + --- PASS: TestSignerInfoErrors/when_COSE_envelope_leaf_certificate_has_wrong_type (13.03s) + --- PASS: TestSignerInfoErrors/when_COSE_envelope_has_malformed_leaf_certificate (4.66s) === RUN TestSignAndVerify === RUN TestSignAndVerify/with_notary.x509_scheme,_1_keyType,_2048_keySize === RUN TestSignAndVerify/with_notary.x509_scheme,_1_keyType,_3072_keySize @@ -1142,19 +1178,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 (93.46s) - --- PASS: TestSignAndVerify/with_notary.x509_scheme,_1_keyType,_2048_keySize (1.11s) - --- PASS: TestSignAndVerify/with_notary.x509_scheme,_1_keyType,_3072_keySize (5.47s) - --- PASS: TestSignAndVerify/with_notary.x509_scheme,_1_keyType,_4096_keySize (33.79s) +--- PASS: TestSignAndVerify (30.92s) + --- PASS: TestSignAndVerify/with_notary.x509_scheme,_1_keyType,_2048_keySize (2.51s) + --- PASS: TestSignAndVerify/with_notary.x509_scheme,_1_keyType,_3072_keySize (3.70s) + --- PASS: TestSignAndVerify/with_notary.x509_scheme,_1_keyType,_4096_keySize (5.86s) --- PASS: TestSignAndVerify/with_notary.x509_scheme,_2_keyType,_256_keySize (0.03s) - --- PASS: TestSignAndVerify/with_notary.x509_scheme,_2_keyType,_384_keySize (0.05s) - --- PASS: TestSignAndVerify/with_notary.x509_scheme,_2_keyType,_521_keySize (0.19s) - --- PASS: TestSignAndVerify/with_notary.x509.signingAuthority_scheme,_1_keyType,_2048_keySize (5.13s) - --- PASS: TestSignAndVerify/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize (16.42s) - --- PASS: TestSignAndVerify/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize (31.00s) + --- PASS: TestSignAndVerify/with_notary.x509_scheme,_2_keyType,_384_keySize (0.04s) + --- PASS: TestSignAndVerify/with_notary.x509_scheme,_2_keyType,_521_keySize (0.17s) + --- PASS: TestSignAndVerify/with_notary.x509.signingAuthority_scheme,_1_keyType,_2048_keySize (1.90s) + --- PASS: TestSignAndVerify/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize (11.05s) + --- PASS: TestSignAndVerify/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize (5.43s) --- PASS: TestSignAndVerify/with_notary.x509.signingAuthority_scheme,_2_keyType,_256_keySize (0.03s) - --- PASS: TestSignAndVerify/with_notary.x509.signingAuthority_scheme,_2_keyType,_384_keySize (0.05s) - --- PASS: TestSignAndVerify/with_notary.x509.signingAuthority_scheme,_2_keyType,_521_keySize (0.19s) + --- PASS: TestSignAndVerify/with_notary.x509.signingAuthority_scheme,_2_keyType,_384_keySize (0.04s) + --- PASS: TestSignAndVerify/with_notary.x509.signingAuthority_scheme,_2_keyType,_521_keySize (0.17s) === RUN TestSignAndParseVerify === RUN TestSignAndParseVerify/with_notary.x509_scheme,_1_keyType,_2048_keySize === RUN TestSignAndParseVerify/with_notary.x509_scheme,_1_keyType,_3072_keySize @@ -1168,25 +1204,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 (160.12s) - --- PASS: TestSignAndParseVerify/with_notary.x509_scheme,_1_keyType,_2048_keySize (3.83s) - --- PASS: TestSignAndParseVerify/with_notary.x509_scheme,_1_keyType,_3072_keySize (25.31s) - --- PASS: TestSignAndParseVerify/with_notary.x509_scheme,_1_keyType,_4096_keySize (40.72s) - --- PASS: TestSignAndParseVerify/with_notary.x509_scheme,_2_keyType,_256_keySize (0.07s) - --- PASS: TestSignAndParseVerify/with_notary.x509_scheme,_2_keyType,_384_keySize (0.08s) - --- PASS: TestSignAndParseVerify/with_notary.x509_scheme,_2_keyType,_521_keySize (0.23s) - --- PASS: TestSignAndParseVerify/with_notary.x509.signingAuthority_scheme,_1_keyType,_2048_keySize (8.52s) - --- PASS: TestSignAndParseVerify/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize (21.62s) - --- PASS: TestSignAndParseVerify/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize (59.35s) - --- PASS: TestSignAndParseVerify/with_notary.x509.signingAuthority_scheme,_2_keyType,_256_keySize (0.07s) - --- PASS: TestSignAndParseVerify/with_notary.x509.signingAuthority_scheme,_2_keyType,_384_keySize (0.09s) - --- PASS: TestSignAndParseVerify/with_notary.x509.signingAuthority_scheme,_2_keyType,_521_keySize (0.24s) +--- PASS: TestSignAndParseVerify (71.92s) + --- PASS: TestSignAndParseVerify/with_notary.x509_scheme,_1_keyType,_2048_keySize (2.86s) + --- PASS: TestSignAndParseVerify/with_notary.x509_scheme,_1_keyType,_3072_keySize (13.61s) + --- PASS: TestSignAndParseVerify/with_notary.x509_scheme,_1_keyType,_4096_keySize (38.93s) + --- PASS: TestSignAndParseVerify/with_notary.x509_scheme,_2_keyType,_256_keySize (0.06s) + --- PASS: TestSignAndParseVerify/with_notary.x509_scheme,_2_keyType,_384_keySize (0.07s) + --- PASS: TestSignAndParseVerify/with_notary.x509_scheme,_2_keyType,_521_keySize (0.20s) + --- PASS: TestSignAndParseVerify/with_notary.x509.signingAuthority_scheme,_1_keyType,_2048_keySize (2.49s) + --- PASS: TestSignAndParseVerify/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize (9.71s) + --- PASS: TestSignAndParseVerify/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize (3.66s) + --- PASS: TestSignAndParseVerify/with_notary.x509.signingAuthority_scheme,_2_keyType,_256_keySize (0.06s) + --- PASS: TestSignAndParseVerify/with_notary.x509.signingAuthority_scheme,_2_keyType,_384_keySize (0.08s) + --- PASS: TestSignAndParseVerify/with_notary.x509.signingAuthority_scheme,_2_keyType,_521_keySize (0.21s) === RUN TestGenerateExtendedAttributesError --- PASS: TestGenerateExtendedAttributesError (0.00s) === RUN TestHashFunc --- PASS: TestHashFunc (0.00s) PASS -ok github.com/notaryproject/notation-core-go/signature/cose 1625.030s +ok github.com/notaryproject/notation-core-go/signature/cose 914.668s === RUN TestSign === RUN TestSign/invalid_request === RUN TestSign/internal_envelope_fails_to_sign @@ -1284,7 +1320,7 @@ --- PASS: TestGetSignatureAlgorithm/unsupported_cert (0.00s) --- PASS: TestGetSignatureAlgorithm/valid_cert (0.00s) PASS -ok github.com/notaryproject/notation-core-go/signature/internal/base 55.360s +ok github.com/notaryproject/notation-core-go/signature/internal/base 34.772s === RUN TestGetKeySizes === RUN TestGetKeySizes/RSA === RUN TestGetKeySizes/EC @@ -1303,20 +1339,20 @@ === RUN TestGetTestLocalSigner/RSA4096 === RUN TestGetTestLocalSigner/RSAOthers === RUN TestGetTestLocalSigner/Others ---- PASS: TestGetTestLocalSigner (172.49s) - --- PASS: TestGetTestLocalSigner/EC256 (75.28s) - --- PASS: TestGetTestLocalSigner/EC384 (0.03s) - --- PASS: TestGetTestLocalSigner/EC521 (0.40s) +--- PASS: TestGetTestLocalSigner (63.45s) + --- PASS: TestGetTestLocalSigner/EC256 (30.39s) + --- PASS: TestGetTestLocalSigner/EC384 (0.02s) + --- PASS: TestGetTestLocalSigner/EC521 (0.49s) --- PASS: TestGetTestLocalSigner/ECOthers (0.00s) - --- PASS: TestGetTestLocalSigner/RSA2048 (2.70s) - --- PASS: TestGetTestLocalSigner/RSA3072 (20.12s) - --- PASS: TestGetTestLocalSigner/RSA4096 (73.96s) + --- PASS: TestGetTestLocalSigner/RSA2048 (2.09s) + --- PASS: TestGetTestLocalSigner/RSA3072 (9.68s) + --- PASS: TestGetTestLocalSigner/RSA4096 (20.78s) --- PASS: TestGetTestLocalSigner/RSAOthers (0.00s) --- PASS: TestGetTestLocalSigner/Others (0.00s) PASS -ok github.com/notaryproject/notation-core-go/signature/internal/signaturetest 172.518s +ok github.com/notaryproject/notation-core-go/signature/internal/signaturetest 63.471s === RUN TestSignedMessageConformance ---- PASS: TestSignedMessageConformance (0.01s) +--- PASS: TestSignedMessageConformance (0.00s) === RUN TestVerifyConformance --- PASS: TestVerifyConformance (0.01s) === RUN TestNewEnvelope @@ -1326,21 +1362,21 @@ === RUN TestSignFailed/extended_attribute_error_value === RUN TestSignFailed/unsupported_sign_algorithm === RUN TestSignFailed/invalid_tsa_url ---- PASS: TestSignFailed (16.92s) +--- PASS: TestSignFailed (16.22s) --- 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.13s) - --- PASS: TestSignFailed/invalid_tsa_url (16.79s) + --- PASS: TestSignFailed/unsupported_sign_algorithm (0.06s) + --- PASS: TestSignFailed/invalid_tsa_url (16.17s) === 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.40s) - --- PASS: TestSigningScheme/verify_isLocal=true_signingScheme=notary.x509 (0.10s) - --- PASS: TestSigningScheme/verify_isLocal=true_signingScheme=notary.x509.signingAuthority (0.10s) - --- PASS: TestSigningScheme/verify_isLocal=false_signingScheme=notary.x509 (0.10s) - --- PASS: TestSigningScheme/verify_isLocal=false_signingScheme=notary.x509.signingAuthority (0.11s) +--- PASS: TestSigningScheme (0.27s) + --- PASS: TestSigningScheme/verify_isLocal=true_signingScheme=notary.x509 (0.07s) + --- PASS: TestSigningScheme/verify_isLocal=true_signingScheme=notary.x509.signingAuthority (0.07s) + --- PASS: TestSigningScheme/verify_isLocal=false_signingScheme=notary.x509 (0.07s) + --- PASS: TestSigningScheme/verify_isLocal=false_signingScheme=notary.x509.signingAuthority (0.07s) === RUN TestSignVerify === RUN TestSignVerify/RSA_2048 === RUN TestSignVerify/RSA_3072 @@ -1348,16 +1384,16 @@ === RUN TestSignVerify/ECDSA_256 === RUN TestSignVerify/ECDSA_384 === RUN TestSignVerify/ECDSA_521 ---- PASS: TestSignVerify (89.98s) - --- PASS: TestSignVerify/RSA_2048 (4.98s) - --- PASS: TestSignVerify/RSA_3072 (5.55s) - --- PASS: TestSignVerify/RSA_4096 (78.72s) - --- PASS: TestSignVerify/ECDSA_256 (0.07s) - --- PASS: TestSignVerify/ECDSA_384 (0.09s) - --- PASS: TestSignVerify/ECDSA_521 (0.58s) +--- PASS: TestSignVerify (42.70s) + --- PASS: TestSignVerify/RSA_2048 (2.89s) + --- PASS: TestSignVerify/RSA_3072 (6.52s) + --- PASS: TestSignVerify/RSA_4096 (32.64s) + --- PASS: TestSignVerify/ECDSA_256 (0.08s) + --- PASS: TestSignVerify/ECDSA_384 (0.08s) + --- PASS: TestSignVerify/ECDSA_521 (0.50s) === 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]:40491->[::1]:53: read: connection refused ---- SKIP: TestSignWithTimestamp (15.32s) + 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]:42661->[::1]:53: read: connection refused +--- SKIP: TestSignWithTimestamp (14.37s) === RUN TestVerify === RUN TestVerify/break_json_format === RUN TestVerify/tamper_signature @@ -1365,13 +1401,13 @@ === RUN TestVerify/tamper_certificate === RUN TestVerify/malformed_protected_header_base64_encoded === RUN TestVerify/malformed_protected_header_raw ---- PASS: TestVerify (0.50s) - --- PASS: TestVerify/break_json_format (0.08s) - --- PASS: TestVerify/tamper_signature (0.08s) - --- PASS: TestVerify/empty_certificate (0.08s) - --- PASS: TestVerify/tamper_certificate (0.08s) - --- PASS: TestVerify/malformed_protected_header_base64_encoded (0.08s) - --- PASS: TestVerify/malformed_protected_header_raw (0.08s) +--- PASS: TestVerify (0.35s) + --- PASS: TestVerify/break_json_format (0.06s) + --- PASS: TestVerify/tamper_signature (0.06s) + --- PASS: TestVerify/empty_certificate (0.06s) + --- PASS: TestVerify/tamper_certificate (0.06s) + --- PASS: TestVerify/malformed_protected_header_base64_encoded (0.06s) + --- PASS: TestVerify/malformed_protected_header_raw (0.06s) === RUN TestSignerInfo === RUN TestSignerInfo/tamper_protected_header_signing_scheme_X509 === RUN TestSignerInfo/tamper_protected_header_signing_scheme_X509_Signing_Authority @@ -1384,22 +1420,22 @@ === RUN TestSignerInfo/tamper_signature_base64_encoding === RUN TestSignerInfo/tamper_empty_signature === RUN TestSignerInfo/tamper_cert_chain ---- PASS: TestSignerInfo (0.93s) - --- PASS: TestSignerInfo/tamper_protected_header_signing_scheme_X509 (0.08s) - --- PASS: TestSignerInfo/tamper_protected_header_signing_scheme_X509_Signing_Authority (0.08s) - --- PASS: TestSignerInfo/tamper_protected_header_signing_scheme_X509_Signing_Authority_2 (0.08s) - --- PASS: TestSignerInfo/tamper_protected_header_extended_attributes (0.08s) - --- PASS: TestSignerInfo/add_protected_header_critical_key (0.08s) - --- PASS: TestSignerInfo/empty_critical_section (0.08s) - --- PASS: TestSignerInfo/unsupported_algorithm (0.09s) - --- PASS: TestSignerInfo/tamper_raw_protected_header_json_format (0.08s) - --- PASS: TestSignerInfo/tamper_signature_base64_encoding (0.08s) - --- PASS: TestSignerInfo/tamper_empty_signature (0.08s) - --- PASS: TestSignerInfo/tamper_cert_chain (0.08s) +--- PASS: TestSignerInfo (0.65s) + --- PASS: TestSignerInfo/tamper_protected_header_signing_scheme_X509 (0.06s) + --- PASS: TestSignerInfo/tamper_protected_header_signing_scheme_X509_Signing_Authority (0.06s) + --- PASS: TestSignerInfo/tamper_protected_header_signing_scheme_X509_Signing_Authority_2 (0.06s) + --- PASS: TestSignerInfo/tamper_protected_header_extended_attributes (0.06s) + --- PASS: TestSignerInfo/add_protected_header_critical_key (0.06s) + --- PASS: TestSignerInfo/empty_critical_section (0.06s) + --- PASS: TestSignerInfo/unsupported_algorithm (0.06s) + --- PASS: TestSignerInfo/tamper_raw_protected_header_json_format (0.06s) + --- PASS: TestSignerInfo/tamper_signature_base64_encoding (0.06s) + --- PASS: TestSignerInfo/tamper_empty_signature (0.06s) + --- PASS: TestSignerInfo/tamper_cert_chain (0.06s) === RUN TestPayload === RUN TestPayload/tamper_envelope_cause_JWT_parse_failed ---- PASS: TestPayload (0.08s) - --- PASS: TestPayload/tamper_envelope_cause_JWT_parse_failed (0.08s) +--- PASS: TestPayload (0.06s) + --- PASS: TestPayload/tamper_envelope_cause_JWT_parse_failed (0.06s) === RUN TestEmptyEnvelope === RUN TestEmptyEnvelope/Verify()_with_empty_envelope === RUN TestEmptyEnvelope/Payload()_with_empty_envelope @@ -1435,9 +1471,9 @@ --- PASS: Test_verifyJWT (0.00s) --- PASS: Test_verifyJWT/invalid_signature (0.00s) PASS -ok github.com/notaryproject/notation-core-go/signature/jws 195.438s +ok github.com/notaryproject/notation-core-go/signature/jws 115.394s === RUN TestLoadPemFile ---- PASS: TestLoadPemFile (0.00s) +--- PASS: TestLoadPemFile (0.01s) === RUN TestLoadMultiPemFile --- PASS: TestLoadMultiPemFile (0.00s) === RUN TestLoadDerFile @@ -1451,11 +1487,11 @@ === RUN TestValidCodeSigningChain/self-signed_signing_certificate === RUN TestValidCodeSigningChain/RSA_Leaf_certificate_without_EKU === RUN TestValidCodeSigningChain/Open_SSL_minimum_certificate ---- PASS: TestValidCodeSigningChain (36.82s) - --- PASS: TestValidCodeSigningChain/cert-chain (0.01s) +--- PASS: TestValidCodeSigningChain (48.75s) + --- PASS: TestValidCodeSigningChain/cert-chain (0.00s) --- PASS: TestValidCodeSigningChain/self-signed_signing_certificate (0.00s) --- PASS: TestValidCodeSigningChain/RSA_Leaf_certificate_without_EKU (0.01s) - --- PASS: TestValidCodeSigningChain/Open_SSL_minimum_certificate (0.01s) + --- PASS: TestValidCodeSigningChain/Open_SSL_minimum_certificate (0.00s) === RUN TestFailEmptyChain --- PASS: TestFailEmptyChain (0.00s) === RUN TestFailInvalidSigningTime @@ -1518,7 +1554,7 @@ === RUN TestValidateLeafKeyUsage/Missing_DigitalSignature_usage === RUN TestValidateLeafKeyUsage/Invalid_KeyEncipherment_usage === RUN TestValidateLeafKeyUsage/Multiple_Invalid_usages ---- PASS: TestValidateLeafKeyUsage (0.01s) +--- PASS: TestValidateLeafKeyUsage (0.00s) --- PASS: TestValidateLeafKeyUsage/Valid_DigitalSignature_usage (0.00s) --- PASS: TestValidateLeafKeyUsage/Valid_ContentCommitment_usage (0.00s) --- PASS: TestValidateLeafKeyUsage/Missing_DigitalSignature_usage (0.00s) @@ -1529,9 +1565,9 @@ === RUN TestFailEkuMissingCodeSigningLeaf --- PASS: TestFailEkuMissingCodeSigningLeaf (0.00s) === RUN TestValidTimestampingChain ---- PASS: TestValidTimestampingChain (0.06s) +--- PASS: TestValidTimestampingChain (0.02s) === RUN TestInvalidTimestampingChain ---- PASS: TestInvalidTimestampingChain (0.09s) +--- PASS: TestInvalidTimestampingChain (0.04s) === RUN TestTimestampLeafWithNonCriticalEKU --- PASS: TestTimestampLeafWithNonCriticalEKU (0.00s) === RUN TestFailEkuWrongValuesTimeLeaf @@ -1553,7 +1589,7 @@ === RUN TestEkuToString --- PASS: TestEkuToString (0.00s) PASS -ok github.com/notaryproject/notation-core-go/x509 37.056s +ok github.com/notaryproject/notation-core-go/x509 48.915s 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 @@ -1581,12 +1617,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/522/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/522/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/11810 and its subdirectories -I: Current time: Sun Dec 29 01:38:17 -12 2024 -I: pbuilder-time-stamp: 1735479497 +I: removing directory /srv/workspace/pbuilder/522 and its subdirectories +I: Current time: Mon Dec 30 03:57:38 +14 2024 +I: pbuilder-time-stamp: 1735480658