Diff of the two buildlogs: -- --- b1/build.log 2025-01-01 10:00:59.372493698 +0000 +++ b2/build.log 2025-01-01 10:09:58.431808551 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Feb 3 04:20:12 -12 2026 -I: pbuilder-time-stamp: 1770135612 +I: Current time: Thu Jan 2 00:01:02 +14 2025 +I: pbuilder-time-stamp: 1735725662 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -29,52 +29,84 @@ dpkg-source: info: applying auto-gitignore I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3702110/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1204698/tmp/hooks/D01_modify_environment starting +debug: Running on ionos11-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jan 1 10:01 /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/1204698/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1204698/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='5095e5e215c3437e80ff670245e56d4a' - 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='3702110' - PS1='# ' - PS2='> ' + INVOCATION_ID=b7629d83124249ca9cb95c2a5151178c + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=1204698 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.AMPlWSHo/pbuilderrc_w7xs --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.AMPlWSHo/b1 --logfile b1/build.log golang-github-notaryproject-notation-core-go_1.1.0-6.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152: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.AMPlWSHo/pbuilderrc_5kV0 --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.AMPlWSHo/b2 --logfile b2/build.log golang-github-notaryproject-notation-core-go_1.1.0-6.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos5-amd64 6.11.10+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.11.10-1~bpo12+1 (2024-12-19) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-28-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/3702110/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1204698/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -168,7 +200,7 @@ Get: 42 http://deb.debian.org/debian trixie/main amd64 golang-golang-x-term-dev all 0.22.0-1 [14.8 kB] Get: 43 http://deb.debian.org/debian trixie/main amd64 golang-golang-x-text-dev all 0.16.0-1 [4003 kB] Get: 44 http://deb.debian.org/debian trixie/main amd64 golang-golang-x-crypto-dev all 1:0.25.0-1 [1682 kB] -Fetched 72.4 MB in 2s (29.3 MB/s) +Fetched 72.4 MB in 6s (11.8 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 ... 19965 files and directories currently installed.) @@ -359,7 +391,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/golang-github-notaryproject-notation-core-go-1.1.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../golang-github-notaryproject-notation-core-go_1.1.0-6_source.changes +I: user script /srv/workspace/pbuilder/1204698/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/1204698/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 @@ -377,110 +413,110 @@ 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 42 github.com/notaryproject/notation-core-go/internal/oid github.com/notaryproject/notation-core-go/internal/timestamp github.com/notaryproject/notation-core-go/revocation github.com/notaryproject/notation-core-go/revocation/ocsp github.com/notaryproject/notation-core-go/revocation/purpose github.com/notaryproject/notation-core-go/revocation/result github.com/notaryproject/notation-core-go/signature github.com/notaryproject/notation-core-go/signature/cose github.com/notaryproject/notation-core-go/signature/internal/base github.com/notaryproject/notation-core-go/signature/internal/signaturetest github.com/notaryproject/notation-core-go/signature/jws github.com/notaryproject/notation-core-go/testhelper github.com/notaryproject/notation-core-go/x509 + cd _build && go install -trimpath -v -p 20 github.com/notaryproject/notation-core-go/internal/oid github.com/notaryproject/notation-core-go/internal/timestamp github.com/notaryproject/notation-core-go/revocation github.com/notaryproject/notation-core-go/revocation/ocsp github.com/notaryproject/notation-core-go/revocation/purpose github.com/notaryproject/notation-core-go/revocation/result github.com/notaryproject/notation-core-go/signature github.com/notaryproject/notation-core-go/signature/cose github.com/notaryproject/notation-core-go/signature/internal/base github.com/notaryproject/notation-core-go/signature/internal/signaturetest github.com/notaryproject/notation-core-go/signature/jws github.com/notaryproject/notation-core-go/testhelper github.com/notaryproject/notation-core-go/x509 +internal/goos +unicode/utf8 cmp -internal/race +internal/itoa +math/bits +internal/msan internal/profilerecord +internal/race +internal/asan +internal/godebugs +internal/runtime/atomic +internal/cpu +sync/atomic +unicode internal/byteorder +internal/runtime/syscall +internal/unsafeheader +internal/goarch +internal/coverage/rtcov +internal/goexperiment +unicode/utf16 crypto/internal/alias -internal/goos +crypto/subtle +crypto/internal/boring/sig +vendor/golang.org/x/crypto/cryptobyte/asn1 internal/nettrace container/list -internal/msan -unicode/utf16 -vendor/golang.org/x/crypto/cryptobyte/asn1 -math/bits -internal/godebugs -internal/asan -log/internal vendor/golang.org/x/crypto/internal/alias +log/internal github.com/notaryproject/notation-core-go/revocation/purpose encoding -unicode/utf8 -internal/itoa -crypto/internal/boring/sig -internal/unsafeheader -crypto/subtle -sync/atomic -internal/coverage/rtcov -internal/runtime/syscall -internal/cpu -internal/goarch -internal/runtime/atomic -internal/goexperiment -unicode runtime/internal/math -internal/chacha8rand -runtime/internal/sys internal/abi +runtime/internal/sys +internal/chacha8rand +internal/runtime/exithook internal/bytealg math -internal/runtime/exithook internal/stringslite runtime -internal/weak -iter internal/reflectlite +iter +internal/weak sync maps slices -internal/testlog internal/bisect +internal/testlog internal/singleflight runtime/cgo -internal/godebug errors -io sort +io internal/oserror -hash +internal/godebug path -math/rand -vendor/golang.org/x/net/dns/dnsmessage +strconv crypto/internal/edwards25519/field -bytes -strings -crypto/internal/randutil math/rand/v2 -strconv +vendor/golang.org/x/net/dns/dnsmessage crypto/internal/nistec/fiat +crypto/internal/randutil +strings +math/rand +hash +bytes syscall +crypto +crypto/rc4 +encoding/base32 hash/crc32 +github.com/x448/float16 +reflect +crypto/internal/edwards25519 internal/concurrent +crypto/md5 +github.com/notaryproject/tspclient-go/internal/hashutil unique -vendor/golang.org/x/text/transform crypto/cipher +vendor/golang.org/x/text/transform bufio net/http/internal/ascii -crypto/internal/edwards25519 -crypto -crypto/rc4 -crypto/des -encoding/base32 -github.com/x448/float16 -net/netip regexp/syntax -reflect -github.com/notaryproject/tspclient-go/internal/hashutil +net/netip crypto/internal/boring -crypto/md5 -crypto/hmac -crypto/sha256 +crypto/des +crypto/aes crypto/sha1 crypto/sha512 -crypto/aes +crypto/hmac +crypto/sha256 vendor/golang.org/x/crypto/hkdf regexp +time internal/syscall/execenv internal/syscall/unix -time -context io/fs internal/poll +context internal/fmtsort encoding/binary -embed internal/filepathlite +embed crypto/internal/nistec encoding/base64 vendor/golang.org/x/crypto/internal/poly1305 @@ -491,51 +527,51 @@ fmt path/filepath vendor/golang.org/x/sys/cpu +net vendor/golang.org/x/crypto/sha3 vendor/golang.org/x/crypto/chacha20poly1305 encoding/hex net/url -mime -log -vendor/golang.org/x/net/http2/hpack compress/flate -github.com/notaryproject/notation-core-go/revocation/result +vendor/golang.org/x/net/http2/hpack mime/quotedprintable -net/http/internal +github.com/notaryproject/notation-core-go/revocation/result encoding/json +net/http/internal +mime +log math/big vendor/golang.org/x/text/unicode/norm vendor/golang.org/x/text/unicode/bidi -compress/gzip vendor/golang.org/x/text/secure/bidirule +compress/gzip vendor/golang.org/x/net/idna -net -crypto/internal/boring/bbig -crypto/dsa -crypto/rand encoding/asn1 -crypto/internal/bigmod +crypto/dsa crypto/elliptic +crypto/internal/bigmod +crypto/internal/boring/bbig +crypto/rand github.com/fxamacker/cbor +crypto/ed25519 crypto/internal/hpke crypto/internal/mlkem768 -crypto/ed25519 +crypto/rsa github.com/notaryproject/notation-core-go/internal/oid +crypto/x509/pkix +vendor/golang.org/x/crypto/cryptobyte github.com/notaryproject/tspclient-go/internal/encoding/asn1/ber github.com/notaryproject/tspclient-go/internal/encoding/asn1 -crypto/x509/pkix github.com/notaryproject/tspclient-go/pki -vendor/golang.org/x/crypto/cryptobyte -crypto/rsa crypto/ecdsa github.com/veraison/go-cose +crypto/x509 vendor/golang.org/x/net/http/httpproxy net/textproto -crypto/x509 vendor/golang.org/x/net/http/httpguts mime/multipart -golang.org/x/crypto/ocsp 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 @@ -544,25 +580,25 @@ 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 42 -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 20 -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] +? github.com/notaryproject/notation-core-go/revocation/purpose [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]:38950->[::1]:53: read: connection refused + timestamp_test.go:58: Failed to connect to http://rfc3161timestamp.globalsign.com/advanced: Post "http://rfc3161timestamp.globalsign.com/advanced": dial tcp: lookup rfc3161timestamp.globalsign.com on [::1]:53: read udp [::1]:51413->[::1]:53: read: connection refused --- SKIP: TestTimestamp (0.00s) PASS -ok github.com/notaryproject/notation-core-go/internal/timestamp 0.006s -? github.com/notaryproject/notation-core-go/revocation/purpose [no test files] +ok github.com/notaryproject/notation-core-go/internal/timestamp 0.036s ? github.com/notaryproject/notation-core-go/testhelper [no test files] === RUN TestNew --- PASS: TestNew (0.00s) @@ -577,13 +613,13 @@ === RUN TestCheckRevocationStatusForSingleCert/check_cert_with_Unknown_OCSP_response === RUN TestCheckRevocationStatusForSingleCert/check_OCSP_revoked_cert === RUN TestCheckRevocationStatusForSingleCert/check_OCSP_future_revoked_cert ---- PASS: TestCheckRevocationStatusForSingleCert (4.55s) - --- PASS: TestCheckRevocationStatusForSingleCert/check_non-revoked_cert (0.01s) - --- PASS: TestCheckRevocationStatusForSingleCert/check_cert_with_Unknown_OCSP_response (0.01s) - --- PASS: TestCheckRevocationStatusForSingleCert/check_OCSP_revoked_cert (0.01s) - --- PASS: TestCheckRevocationStatusForSingleCert/check_OCSP_future_revoked_cert (0.01s) +--- PASS: TestCheckRevocationStatusForSingleCert (16.33s) + --- PASS: TestCheckRevocationStatusForSingleCert/check_non-revoked_cert (0.02s) + --- PASS: TestCheckRevocationStatusForSingleCert/check_cert_with_Unknown_OCSP_response (0.02s) + --- PASS: TestCheckRevocationStatusForSingleCert/check_OCSP_revoked_cert (0.02s) + --- PASS: TestCheckRevocationStatusForSingleCert/check_OCSP_future_revoked_cert (0.03s) === RUN TestCheckRevocationStatusForSelfSignedCert ---- PASS: TestCheckRevocationStatusForSelfSignedCert (1.53s) +--- PASS: TestCheckRevocationStatusForSelfSignedCert (1.70s) === RUN TestCheckRevocationStatusForRootCert --- PASS: TestCheckRevocationStatusForRootCert (0.00s) === RUN TestCheckRevocationStatusForChain @@ -596,16 +632,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 (0.93s) +--- PASS: TestCheckRevocationStatusForChain (1.76s) --- PASS: TestCheckRevocationStatusForChain/empty_chain (0.00s) - --- PASS: TestCheckRevocationStatusForChain/check_non-revoked_chain (0.01s) - --- PASS: TestCheckRevocationStatusForChain/check_chain_with_1_Unknown_cert (0.01s) - --- PASS: TestCheckRevocationStatusForChain/check_OCSP_with_1_revoked_cert (0.01s) - --- PASS: TestCheckRevocationStatusForChain/check_OCSP_with_1_unknown_and_1_revoked_cert (0.01s) - --- PASS: TestCheckRevocationStatusForChain/check_OCSP_with_1_future_revoked_cert (0.02s) - --- PASS: TestCheckRevocationStatusForChain/check_OCSP_with_1_unknown_and_1_future_revoked_cert (0.02s) - --- PASS: TestCheckRevocationStatusForChain/check_OCSP_with_1_revoked_cert_before_signing_time (0.02s) - --- PASS: TestCheckRevocationStatusForChain/check_OCSP_with_1_revoked_cert_after_zero_signing_time (0.01s) + --- PASS: TestCheckRevocationStatusForChain/check_non-revoked_chain (0.05s) + --- PASS: TestCheckRevocationStatusForChain/check_chain_with_1_Unknown_cert (0.03s) + --- PASS: TestCheckRevocationStatusForChain/check_OCSP_with_1_revoked_cert (0.03s) + --- PASS: TestCheckRevocationStatusForChain/check_OCSP_with_1_unknown_and_1_revoked_cert (0.04s) + --- PASS: TestCheckRevocationStatusForChain/check_OCSP_with_1_future_revoked_cert (0.03s) + --- PASS: TestCheckRevocationStatusForChain/check_OCSP_with_1_unknown_and_1_future_revoked_cert (0.03s) + --- PASS: TestCheckRevocationStatusForChain/check_OCSP_with_1_revoked_cert_before_signing_time (0.04s) + --- PASS: TestCheckRevocationStatusForChain/check_OCSP_with_1_revoked_cert_after_zero_signing_time (0.04s) === RUN TestCheckRevocationStatusForTimestampChain === RUN TestCheckRevocationStatusForTimestampChain/empty_chain === RUN TestCheckRevocationStatusForTimestampChain/check_non-revoked_chain @@ -616,16 +652,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 (0.71s) +--- PASS: TestCheckRevocationStatusForTimestampChain (2.39s) --- PASS: TestCheckRevocationStatusForTimestampChain/empty_chain (0.00s) - --- PASS: TestCheckRevocationStatusForTimestampChain/check_non-revoked_chain (0.01s) - --- PASS: TestCheckRevocationStatusForTimestampChain/check_chain_with_1_Unknown_cert (0.01s) - --- PASS: TestCheckRevocationStatusForTimestampChain/check_OCSP_with_1_revoked_cert (0.01s) - --- PASS: TestCheckRevocationStatusForTimestampChain/check_OCSP_with_1_unknown_and_1_revoked_cert (0.02s) - --- PASS: TestCheckRevocationStatusForTimestampChain/check_OCSP_with_1_future_revoked_cert (0.02s) - --- PASS: TestCheckRevocationStatusForTimestampChain/check_OCSP_with_1_unknown_and_1_future_revoked_cert (0.01s) - --- PASS: TestCheckRevocationStatusForTimestampChain/check_OCSP_with_1_revoked_cert_before_signing_time (0.01s) - --- PASS: TestCheckRevocationStatusForTimestampChain/check_OCSP_with_1_revoked_cert_after_zero_signing_time (0.01s) + --- PASS: TestCheckRevocationStatusForTimestampChain/check_non-revoked_chain (0.04s) + --- PASS: TestCheckRevocationStatusForTimestampChain/check_chain_with_1_Unknown_cert (0.03s) + --- PASS: TestCheckRevocationStatusForTimestampChain/check_OCSP_with_1_revoked_cert (0.04s) + --- PASS: TestCheckRevocationStatusForTimestampChain/check_OCSP_with_1_unknown_and_1_revoked_cert (0.03s) + --- PASS: TestCheckRevocationStatusForTimestampChain/check_OCSP_with_1_future_revoked_cert (0.04s) + --- PASS: TestCheckRevocationStatusForTimestampChain/check_OCSP_with_1_unknown_and_1_future_revoked_cert (0.03s) + --- PASS: TestCheckRevocationStatusForTimestampChain/check_OCSP_with_1_revoked_cert_before_signing_time (0.03s) + --- PASS: TestCheckRevocationStatusForTimestampChain/check_OCSP_with_1_revoked_cert_after_zero_signing_time (0.03s) === RUN TestCheckRevocationErrors === RUN TestCheckRevocationErrors/no_OCSPServer_specified === RUN TestCheckRevocationErrors/chain_missing_root @@ -634,24 +670,24 @@ === RUN TestCheckRevocationErrors/expired_ocsp_response === RUN TestCheckRevocationErrors/OCSP_pkixNoCheck_missing === RUN TestCheckRevocationErrors/non-HTTP_URI_error ---- PASS: TestCheckRevocationErrors (2.31s) +--- PASS: TestCheckRevocationErrors (1.94s) --- PASS: TestCheckRevocationErrors/no_OCSPServer_specified (0.00s) --- PASS: TestCheckRevocationErrors/chain_missing_root (0.00s) --- PASS: TestCheckRevocationErrors/backwards_chain (0.00s) --- PASS: TestCheckRevocationErrors/timeout (0.00s) - --- PASS: TestCheckRevocationErrors/expired_ocsp_response (0.01s) - --- PASS: TestCheckRevocationErrors/OCSP_pkixNoCheck_missing (0.01s) - --- PASS: TestCheckRevocationErrors/non-HTTP_URI_error (0.01s) + --- PASS: TestCheckRevocationErrors/expired_ocsp_response (0.02s) + --- PASS: TestCheckRevocationErrors/OCSP_pkixNoCheck_missing (0.02s) + --- PASS: TestCheckRevocationErrors/non-HTTP_URI_error (0.02s) === RUN TestCheckRevocationInvalidChain === RUN TestCheckRevocationInvalidChain/chain_missing_intermediate === RUN TestCheckRevocationInvalidChain/chain_out_of_order ---- PASS: TestCheckRevocationInvalidChain (0.49s) +--- PASS: TestCheckRevocationInvalidChain (0.53s) --- 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 10.521s +ok github.com/notaryproject/notation-core-go/revocation 24.685s === RUN TestRevokedError --- PASS: TestRevokedError (0.00s) === RUN TestUnknownStatusError @@ -671,13 +707,13 @@ === RUN TestCheckStatus/check_cert_with_Unknown_OCSP_response === RUN TestCheckStatus/check_OCSP_revoked_cert === RUN TestCheckStatus/check_OCSP_future_revoked_cert ---- PASS: TestCheckStatus (3.60s) - --- 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) +--- PASS: TestCheckStatus (15.35s) + --- PASS: TestCheckStatus/check_non-revoked_cert (0.05s) + --- PASS: TestCheckStatus/check_cert_with_Unknown_OCSP_response (0.03s) + --- PASS: TestCheckStatus/check_OCSP_revoked_cert (0.03s) + --- PASS: TestCheckStatus/check_OCSP_future_revoked_cert (0.03s) === RUN TestCheckStatusForSelfSignedCert ---- PASS: TestCheckStatusForSelfSignedCert (0.30s) +--- PASS: TestCheckStatusForSelfSignedCert (1.81s) === RUN TestCheckStatusForRootCert --- PASS: TestCheckStatusForRootCert (0.00s) === RUN TestCheckStatusForNonSelfSignedSingleCert @@ -692,16 +728,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 (1.25s) +--- PASS: TestCheckStatusForChain (1.30s) --- PASS: TestCheckStatusForChain/empty_chain (0.00s) - --- PASS: TestCheckStatusForChain/check_non-revoked_chain (0.02s) - --- PASS: TestCheckStatusForChain/check_chain_with_1_Unknown_cert (0.01s) - --- PASS: TestCheckStatusForChain/check_OCSP_with_1_revoked_cert (0.01s) - --- PASS: TestCheckStatusForChain/check_OCSP_with_1_unknown_and_1_revoked_cert (0.01s) - --- PASS: TestCheckStatusForChain/check_OCSP_with_1_future_revoked_cert (0.01s) - --- PASS: TestCheckStatusForChain/check_OCSP_with_1_unknown_and_1_future_revoked_cert (0.01s) - --- PASS: TestCheckStatusForChain/check_OCSP_with_1_revoked_cert_before_signing_time (0.01s) - --- PASS: TestCheckStatusForChain/check_OCSP_with_1_revoked_cert_after_zero_signing_time (0.02s) + --- PASS: TestCheckStatusForChain/check_non-revoked_chain (0.03s) + --- PASS: TestCheckStatusForChain/check_chain_with_1_Unknown_cert (0.08s) + --- PASS: TestCheckStatusForChain/check_OCSP_with_1_revoked_cert (0.03s) + --- PASS: TestCheckStatusForChain/check_OCSP_with_1_unknown_and_1_revoked_cert (0.03s) + --- PASS: TestCheckStatusForChain/check_OCSP_with_1_future_revoked_cert (0.02s) + --- PASS: TestCheckStatusForChain/check_OCSP_with_1_unknown_and_1_future_revoked_cert (0.03s) + --- PASS: TestCheckStatusForChain/check_OCSP_with_1_revoked_cert_before_signing_time (0.04s) + --- PASS: TestCheckStatusForChain/check_OCSP_with_1_revoked_cert_after_zero_signing_time (0.03s) === RUN TestCheckStatusErrors === RUN TestCheckStatusErrors/no_OCSPServer_specified === RUN TestCheckStatusErrors/chain_missing_root @@ -713,25 +749,25 @@ === RUN TestCheckStatusErrors/expired_ocsp_response === RUN TestCheckStatusErrors/pkixNoCheck_missing === RUN TestCheckStatusErrors/non-HTTP_URI_error ---- PASS: TestCheckStatusErrors (2.28s) +--- PASS: TestCheckStatusErrors (2.24s) --- 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.00s) --- PASS: TestCheckStatusErrors/check_with_unknwon_CertChainPurpose (0.00s) - --- PASS: TestCheckStatusErrors/timeout (0.00s) - --- PASS: TestCheckStatusErrors/expired_ocsp_response (0.01s) - --- PASS: TestCheckStatusErrors/pkixNoCheck_missing (0.01s) - --- PASS: TestCheckStatusErrors/non-HTTP_URI_error (0.01s) + --- PASS: TestCheckStatusErrors/timeout (0.01s) + --- PASS: TestCheckStatusErrors/expired_ocsp_response (0.02s) + --- PASS: TestCheckStatusErrors/pkixNoCheck_missing (0.02s) + --- PASS: TestCheckStatusErrors/non-HTTP_URI_error (0.02s) === RUN TestCheckOCSPInvalidChain === RUN TestCheckOCSPInvalidChain/chain_missing_intermediate === RUN TestCheckOCSPInvalidChain/chain_out_of_order ---- PASS: TestCheckOCSPInvalidChain (0.69s) +--- PASS: TestCheckOCSPInvalidChain (1.12s) --- 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 8.142s +ok github.com/notaryproject/notation-core-go/revocation/ocsp 21.860s === RUN TestInvalidChainError === RUN TestInvalidChainError/without_inner_error === RUN TestInvalidChainError/inner_error @@ -753,7 +789,7 @@ === RUN TestNewServerResult --- PASS: TestNewServerResult (0.00s) PASS -ok github.com/notaryproject/notation-core-go/revocation/result 0.003s +ok github.com/notaryproject/notation-core-go/revocation/result 0.041s === RUN TestHash === RUN TestHash/PS256 === RUN TestHash/ES256 @@ -780,7 +816,7 @@ === RUN TestExtractKeySpec/EC_256 === RUN TestExtractKeySpec/EC_384 === RUN TestExtractKeySpec/EC_521 ---- PASS: TestExtractKeySpec (7.40s) +--- PASS: TestExtractKeySpec (21.34s) --- PASS: TestExtractKeySpec/RSA_wrong_size (0.00s) --- PASS: TestExtractKeySpec/ECDSA_wrong_size (0.00s) --- PASS: TestExtractKeySpec/Unsupported_type (0.00s) @@ -903,9 +939,9 @@ === RUN TestAuthenticSigningTime --- PASS: TestAuthenticSigningTime (0.00s) PASS -ok github.com/notaryproject/notation-core-go/signature 7.410s +ok github.com/notaryproject/notation-core-go/signature 21.368s === RUN TestConformance ---- PASS: TestConformance (5.49s) +--- PASS: TestConformance (8.82s) === RUN TestParseEnvelopeError --- PASS: TestParseEnvelopeError (0.00s) === RUN TestSign @@ -970,23 +1006,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]:56450->[::1]:53: read: connection refused ---- PASS: TestSign (51.10s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_2048_keySize_when_all_arguments_are_present (0.11s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_2048_keySize_when_minimal_arguments_are_present (0.18s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_2048_keySize_when_expiry_is_not_present (0.13s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_2048_keySize_when_signingAgent_is_not_present (0.23s) - --- 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.55s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_3072_keySize_when_minimal_arguments_are_present (1.48s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_3072_keySize_when_expiry_is_not_present (0.91s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_3072_keySize_when_signingAgent_is_not_present (0.51s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_3072_keySize_when_extended_signed_attributes_are_not_present (0.70s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_4096_keySize_when_all_arguments_are_present (0.74s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_4096_keySize_when_minimal_arguments_are_present (2.03s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_4096_keySize_when_expiry_is_not_present (2.82s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_4096_keySize_when_signingAgent_is_not_present (4.18s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_4096_keySize_when_extended_signed_attributes_are_not_present (2.49s) + 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]:32768->[::1]:53: read: connection refused +--- PASS: TestSign (98.37s) + --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_2048_keySize_when_all_arguments_are_present (2.94s) + --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_2048_keySize_when_minimal_arguments_are_present (1.24s) + --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_2048_keySize_when_expiry_is_not_present (0.72s) + --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_2048_keySize_when_signingAgent_is_not_present (1.89s) + --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_2048_keySize_when_extended_signed_attributes_are_not_present (0.64s) + --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_3072_keySize_when_all_arguments_are_present (2.86s) + --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_3072_keySize_when_minimal_arguments_are_present (1.27s) + --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_3072_keySize_when_expiry_is_not_present (6.32s) + --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_3072_keySize_when_signingAgent_is_not_present (1.55s) + --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_3072_keySize_when_extended_signed_attributes_are_not_present (0.71s) + --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_4096_keySize_when_all_arguments_are_present (9.59s) + --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_4096_keySize_when_minimal_arguments_are_present (1.24s) + --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_4096_keySize_when_expiry_is_not_present (14.67s) + --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_4096_keySize_when_signingAgent_is_not_present (2.21s) + --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_4096_keySize_when_extended_signed_attributes_are_not_present (8.16s) --- 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) @@ -997,26 +1033,26 @@ --- 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.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.27s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_2048_keySize_when_minimal_arguments_are_present (0.08s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_2048_keySize_when_expiry_is_not_present (0.25s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_2048_keySize_when_signingAgent_is_not_present (0.30s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_2048_keySize_when_extended_signed_attributes_are_not_present (0.19s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize_when_all_arguments_are_present (2.57s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize_when_minimal_arguments_are_present (0.70s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize_when_expiry_is_not_present (3.24s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize_when_signingAgent_is_not_present (0.76s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize_when_extended_signed_attributes_are_not_present (0.88s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize_when_all_arguments_are_present (1.83s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize_when_minimal_arguments_are_present (5.78s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize_when_expiry_is_not_present (8.37s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize_when_signingAgent_is_not_present (0.99s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize_when_extended_signed_attributes_are_not_present (5.76s) + --- 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_minimal_arguments_are_present (0.01s) + --- PASS: TestSign/with_notary.x509_scheme,_2_keyType,_521_keySize_when_expiry_is_not_present (0.01s) + --- PASS: TestSign/with_notary.x509_scheme,_2_keyType,_521_keySize_when_signingAgent_is_not_present (0.01s) + --- PASS: TestSign/with_notary.x509_scheme,_2_keyType,_521_keySize_when_extended_signed_attributes_are_not_present (0.01s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_2048_keySize_when_all_arguments_are_present (0.31s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_2048_keySize_when_minimal_arguments_are_present (0.29s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_2048_keySize_when_expiry_is_not_present (0.35s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_2048_keySize_when_signingAgent_is_not_present (0.61s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_2048_keySize_when_extended_signed_attributes_are_not_present (0.80s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize_when_all_arguments_are_present (0.58s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize_when_minimal_arguments_are_present (0.84s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize_when_expiry_is_not_present (0.92s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize_when_signingAgent_is_not_present (1.85s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize_when_extended_signed_attributes_are_not_present (2.18s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize_when_all_arguments_are_present (4.16s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize_when_minimal_arguments_are_present (5.76s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize_when_expiry_is_not_present (9.56s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize_when_signingAgent_is_not_present (7.71s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize_when_extended_signed_attributes_are_not_present (5.19s) --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_256_keySize_when_all_arguments_are_present (0.00s) --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_256_keySize_when_minimal_arguments_are_present (0.00s) --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_256_keySize_when_expiry_is_not_present (0.00s) @@ -1026,13 +1062,13 @@ --- 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.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.00s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_521_keySize_when_expiry_is_not_present (0.00s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_521_keySize_when_signingAgent_is_not_present (0.00s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_521_keySize_when_extended_signed_attributes_are_not_present (0.00s) - --- SKIP: TestSign/with_timestmap_countersignature_request (0.58s) + --- 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,_521_keySize_when_all_arguments_are_present (0.01s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_521_keySize_when_minimal_arguments_are_present (0.01s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_521_keySize_when_expiry_is_not_present (0.01s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_521_keySize_when_signingAgent_is_not_present (0.01s) + --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_521_keySize_when_extended_signed_attributes_are_not_present (0.01s) + --- SKIP: TestSign/with_timestmap_countersignature_request (1.08s) === 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 (10.56s) - --- PASS: TestSignErrors/errorLocalSigner:_when_getSigner_has_privateKeyError (0.21s) - --- PASS: TestSignErrors/errorLocalSigner:_when_getSigner_has_keySpecError (1.31s) - --- PASS: TestSignErrors/errorLocalSigner:_when_getSigner_has_algError (0.76s) - --- PASS: TestSignErrors/errorRemoteSigner:_when_getSigner_has_keySpecError (0.50s) - --- PASS: TestSignErrors/errorRemoteSigner:_when_getSigner_has_algError (0.56s) - --- PASS: TestSignErrors/errorRemoteSigner:_when_getSigner_has_algError_and_wantEC (0.64s) - --- PASS: TestSignErrors/errorRemoteSigner:_when_getSigner_has_keyTypeError (0.98s) - --- PASS: TestSignErrors/when_signingScheme_is_absent (0.68s) +--- PASS: TestSignErrors (25.38s) + --- PASS: TestSignErrors/errorLocalSigner:_when_getSigner_has_privateKeyError (1.49s) + --- PASS: TestSignErrors/errorLocalSigner:_when_getSigner_has_keySpecError (1.11s) + --- PASS: TestSignErrors/errorLocalSigner:_when_getSigner_has_algError (1.62s) + --- PASS: TestSignErrors/errorRemoteSigner:_when_getSigner_has_keySpecError (0.87s) + --- PASS: TestSignErrors/errorRemoteSigner:_when_getSigner_has_algError (3.08s) + --- PASS: TestSignErrors/errorRemoteSigner:_when_getSigner_has_algError_and_wantEC (2.44s) + --- PASS: TestSignErrors/errorRemoteSigner:_when_getSigner_has_keyTypeError (1.78s) + --- PASS: TestSignErrors/when_signingScheme_is_absent (2.61s) --- PASS: TestSignErrors/when_an_extended_signed_attribute_already_exists_in_the_protected_header (0.71s) - --- PASS: TestSignErrors/when_signer_has_signError (0.45s) - --- PASS: TestSignErrors/when_signer_returns_empty_signature (2.08s) - --- PASS: TestSignErrors/errorLocalSigner:_when_signer_has_certificateChainError (1.02s) - --- PASS: TestSignErrors/when_invalid_tsa_url_is_provided (0.66s) + --- PASS: TestSignErrors/when_signer_has_signError (2.45s) + --- PASS: TestSignErrors/when_signer_returns_empty_signature (4.11s) + --- PASS: TestSignErrors/errorLocalSigner:_when_signer_has_certificateChainError (2.26s) + --- PASS: TestSignErrors/when_invalid_tsa_url_is_provided (0.86s) === 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 (12.47s) +--- PASS: TestVerifyErrors (13.68s) --- PASS: TestVerifyErrors/when_signature_envelope_is_not_present (0.00s) - --- PASS: TestVerifyErrors/when_COSE_envelope_has_invalid_certificate_chain (0.78s) - --- PASS: TestVerifyErrors/when_COSE_envelope_leaf_certificate_has_wrong_type (1.26s) - --- PASS: TestVerifyErrors/when_COSE_envelope_has_malformed_leaf_certificate (1.60s) - --- PASS: TestVerifyErrors/when_getSignatureAlgorithm_fails_due_to_unsupported_public_key (0.68s) - --- PASS: TestVerifyErrors/when_tempered_signature_envelope_is_provided (1.81s) - --- PASS: TestVerifyErrors/when_get_payload_fails (3.70s) - --- PASS: TestVerifyErrors/when_get_signerInfo_fails (2.65s) + --- PASS: TestVerifyErrors/when_COSE_envelope_has_invalid_certificate_chain (1.52s) + --- PASS: TestVerifyErrors/when_COSE_envelope_leaf_certificate_has_wrong_type (2.06s) + --- PASS: TestVerifyErrors/when_COSE_envelope_has_malformed_leaf_certificate (1.54s) + --- PASS: TestVerifyErrors/when_getSignatureAlgorithm_fails_due_to_unsupported_public_key (1.15s) + --- PASS: TestVerifyErrors/when_tempered_signature_envelope_is_provided (0.59s) + --- PASS: TestVerifyErrors/when_get_payload_fails (2.76s) + --- PASS: TestVerifyErrors/when_get_signerInfo_fails (4.07s) === 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 (2.50s) - --- PASS: TestPayloadErrors/when_env.base_is_nil (0.98s) - --- PASS: TestPayloadErrors/when_missing_content_type (0.69s) - --- PASS: TestPayloadErrors/when_content_type_has_wrong_type (0.83s) +--- PASS: TestPayloadErrors (5.28s) + --- PASS: TestPayloadErrors/when_env.base_is_nil (1.34s) + --- PASS: TestPayloadErrors/when_missing_content_type (2.01s) + --- PASS: TestPayloadErrors/when_content_type_has_wrong_type (1.92s) === 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 (22.18s) - --- PASS: TestSignerInfoErrors/when_signature_missing_in_COSE_envelope (0.59s) - --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_has_empty_crit (0.67s) - --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_has_invalid_crit (0.84s) - --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_signingScheme_has_wrong_type (1.86s) - --- PASS: TestSignerInfoErrors/when_COSE_envelope_has_required_headers_that_are_not_marked_as_critical (0.21s) - --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_missing_algorithm (0.37s) - --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_has_unsupported_algorithm (2.12s) - --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_has_unsupported_signingScheme (0.53s) - --- PASS: TestSignerInfoErrors/when_parseTime_has_Tag0_signingTime (1.36s) - --- PASS: TestSignerInfoErrors/when_parseTime_has_Tag0_expiry (0.50s) - --- PASS: TestSignerInfoErrors/when_parseTime_fails_at_headerMap_missing_signgingTime (2.29s) - --- PASS: TestSignerInfoErrors/when_parseTime_fails_at_signgingTime_tag_validation (1.55s) - --- PASS: TestSignerInfoErrors/when_parseTime_fails_at_expiry_tag_validation (0.84s) - --- PASS: TestSignerInfoErrors/when_decodeTime_fails (0.63s) - --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_has_invalid_signingTime (0.40s) - --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_missing_signingTime (4.36s) - --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_has_invalid_expiry (0.45s) - --- PASS: TestSignerInfoErrors/when_COSE_envelope_has_invalid_certificate_chain (1.07s) - --- PASS: TestSignerInfoErrors/when_COSE_envelope_leaf_certificate_has_wrong_type (0.51s) - --- PASS: TestSignerInfoErrors/when_COSE_envelope_has_malformed_leaf_certificate (1.05s) +--- PASS: TestSignerInfoErrors (42.30s) + --- PASS: TestSignerInfoErrors/when_signature_missing_in_COSE_envelope (1.26s) + --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_has_empty_crit (0.60s) + --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_has_invalid_crit (3.95s) + --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_signingScheme_has_wrong_type (3.99s) + --- PASS: TestSignerInfoErrors/when_COSE_envelope_has_required_headers_that_are_not_marked_as_critical (1.80s) + --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_missing_algorithm (0.46s) + --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_has_unsupported_algorithm (3.78s) + --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_has_unsupported_signingScheme (0.63s) + --- PASS: TestSignerInfoErrors/when_parseTime_has_Tag0_signingTime (7.48s) + --- PASS: TestSignerInfoErrors/when_parseTime_has_Tag0_expiry (1.65s) + --- PASS: TestSignerInfoErrors/when_parseTime_fails_at_headerMap_missing_signgingTime (2.61s) + --- PASS: TestSignerInfoErrors/when_parseTime_fails_at_signgingTime_tag_validation (2.39s) + --- PASS: TestSignerInfoErrors/when_parseTime_fails_at_expiry_tag_validation (0.51s) + --- PASS: TestSignerInfoErrors/when_decodeTime_fails (2.38s) + --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_has_invalid_signingTime (2.43s) + --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_missing_signingTime (2.14s) + --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_has_invalid_expiry (1.64s) + --- PASS: TestSignerInfoErrors/when_COSE_envelope_has_invalid_certificate_chain (1.21s) + --- PASS: TestSignerInfoErrors/when_COSE_envelope_leaf_certificate_has_wrong_type (0.79s) + --- PASS: TestSignerInfoErrors/when_COSE_envelope_has_malformed_leaf_certificate (0.61s) === 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 (5.39s) - --- PASS: TestSignAndVerify/with_notary.x509_scheme,_1_keyType,_2048_keySize (0.22s) - --- PASS: TestSignAndVerify/with_notary.x509_scheme,_1_keyType,_3072_keySize (1.08s) - --- PASS: TestSignAndVerify/with_notary.x509_scheme,_1_keyType,_4096_keySize (2.65s) +--- PASS: TestSignAndVerify (20.25s) + --- PASS: TestSignAndVerify/with_notary.x509_scheme,_1_keyType,_2048_keySize (1.02s) + --- PASS: TestSignAndVerify/with_notary.x509_scheme,_1_keyType,_3072_keySize (1.78s) + --- PASS: TestSignAndVerify/with_notary.x509_scheme,_1_keyType,_4096_keySize (10.03s) --- 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,_384_keySize (0.01s) --- PASS: TestSignAndVerify/with_notary.x509_scheme,_2_keyType,_521_keySize (0.01s) - --- PASS: TestSignAndVerify/with_notary.x509.signingAuthority_scheme,_1_keyType,_2048_keySize (0.30s) - --- PASS: TestSignAndVerify/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize (0.44s) - --- PASS: TestSignAndVerify/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize (0.66s) + --- PASS: TestSignAndVerify/with_notary.x509.signingAuthority_scheme,_1_keyType,_2048_keySize (1.10s) + --- PASS: TestSignAndVerify/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize (2.89s) + --- PASS: TestSignAndVerify/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize (3.39s) --- 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.00s) - --- PASS: TestSignAndVerify/with_notary.x509.signingAuthority_scheme,_2_keyType,_521_keySize (0.01s) + --- 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) === 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 (11.22s) - --- PASS: TestSignAndParseVerify/with_notary.x509_scheme,_1_keyType,_2048_keySize (0.11s) - --- PASS: TestSignAndParseVerify/with_notary.x509_scheme,_1_keyType,_3072_keySize (1.48s) - --- PASS: TestSignAndParseVerify/with_notary.x509_scheme,_1_keyType,_4096_keySize (5.08s) - --- PASS: TestSignAndParseVerify/with_notary.x509_scheme,_2_keyType,_256_keySize (0.00s) +--- PASS: TestSignAndParseVerify (18.90s) + --- PASS: TestSignAndParseVerify/with_notary.x509_scheme,_1_keyType,_2048_keySize (0.60s) + --- PASS: TestSignAndParseVerify/with_notary.x509_scheme,_1_keyType,_3072_keySize (2.46s) + --- PASS: TestSignAndParseVerify/with_notary.x509_scheme,_1_keyType,_4096_keySize (2.38s) + --- 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.39s) - --- PASS: TestSignAndParseVerify/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize (1.18s) - --- PASS: TestSignAndParseVerify/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize (2.93s) - --- PASS: TestSignAndParseVerify/with_notary.x509.signingAuthority_scheme,_2_keyType,_256_keySize (0.00s) + --- PASS: TestSignAndParseVerify/with_notary.x509_scheme,_2_keyType,_521_keySize (0.02s) + --- PASS: TestSignAndParseVerify/with_notary.x509.signingAuthority_scheme,_1_keyType,_2048_keySize (0.94s) + --- PASS: TestSignAndParseVerify/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize (2.15s) + --- PASS: TestSignAndParseVerify/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize (10.27s) + --- 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.01s) - --- PASS: TestSignAndParseVerify/with_notary.x509.signingAuthority_scheme,_2_keyType,_521_keySize (0.01s) + --- PASS: TestSignAndParseVerify/with_notary.x509.signingAuthority_scheme,_2_keyType,_521_keySize (0.02s) === RUN TestGenerateExtendedAttributesError --- PASS: TestGenerateExtendedAttributesError (0.00s) === RUN TestHashFunc --- PASS: TestHashFunc (0.00s) PASS -ok github.com/notaryproject/notation-core-go/signature/cose 120.922s +ok github.com/notaryproject/notation-core-go/signature/cose 233.037s === RUN TestSign === RUN TestSign/invalid_request === RUN TestSign/internal_envelope_fails_to_sign @@ -1219,12 +1255,12 @@ === RUN TestContent/invalid_payload === RUN TestContent/valid_payload_and_invalid_signerInfo === RUN TestContent/valid_payload_and_valid_signerInfo ---- PASS: TestContent (0.00s) +--- PASS: TestContent (0.01s) --- PASS: TestContent/empty_raw (0.00s) --- PASS: TestContent/err_returned_by_internal_envelope (0.00s) --- PASS: TestContent/invalid_payload (0.00s) --- PASS: TestContent/valid_payload_and_invalid_signerInfo (0.00s) - --- PASS: TestContent/valid_payload_and_valid_signerInfo (0.00s) + --- PASS: TestContent/valid_payload_and_valid_signerInfo (0.01s) === RUN TestValidateSignRequest === RUN TestValidateSignRequest/invalid_payload === RUN TestValidateSignRequest/invalid_signing_time @@ -1272,10 +1308,10 @@ === RUN TestValidateCertificateChain/invalid_certificates === RUN TestValidateCertificateChain/unmatched_signing_algorithm === RUN TestValidateCertificateChain/valid_certificate_chain ---- PASS: TestValidateCertificateChain (0.00s) +--- PASS: TestValidateCertificateChain (0.01s) --- PASS: TestValidateCertificateChain/empty_certs (0.00s) - --- PASS: TestValidateCertificateChain/invalid_certificates (0.00s) - --- PASS: TestValidateCertificateChain/unmatched_signing_algorithm (0.00s) + --- PASS: TestValidateCertificateChain/invalid_certificates (0.01s) + --- PASS: TestValidateCertificateChain/unmatched_signing_algorithm (0.01s) --- PASS: TestValidateCertificateChain/valid_certificate_chain (0.00s) === RUN TestGetSignatureAlgorithm === RUN TestGetSignatureAlgorithm/unsupported_cert @@ -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 4.411s +ok github.com/notaryproject/notation-core-go/signature/internal/base 15.032s === RUN TestGetKeySizes === RUN TestGetKeySizes/RSA === RUN TestGetKeySizes/EC @@ -1303,18 +1339,18 @@ === RUN TestGetTestLocalSigner/RSA4096 === RUN TestGetTestLocalSigner/RSAOthers === RUN TestGetTestLocalSigner/Others ---- PASS: TestGetTestLocalSigner (9.87s) - --- PASS: TestGetTestLocalSigner/EC256 (2.84s) +--- PASS: TestGetTestLocalSigner (24.15s) + --- PASS: TestGetTestLocalSigner/EC256 (13.80s) --- PASS: TestGetTestLocalSigner/EC384 (0.00s) - --- PASS: TestGetTestLocalSigner/EC521 (0.01s) + --- PASS: TestGetTestLocalSigner/EC521 (0.02s) --- PASS: TestGetTestLocalSigner/ECOthers (0.00s) - --- PASS: TestGetTestLocalSigner/RSA2048 (0.18s) - --- PASS: TestGetTestLocalSigner/RSA3072 (0.31s) - --- PASS: TestGetTestLocalSigner/RSA4096 (6.53s) + --- PASS: TestGetTestLocalSigner/RSA2048 (0.37s) + --- PASS: TestGetTestLocalSigner/RSA3072 (2.75s) + --- PASS: TestGetTestLocalSigner/RSA4096 (7.20s) --- PASS: TestGetTestLocalSigner/RSAOthers (0.00s) --- PASS: TestGetTestLocalSigner/Others (0.00s) PASS -ok github.com/notaryproject/notation-core-go/signature/internal/signaturetest 9.874s +ok github.com/notaryproject/notation-core-go/signature/internal/signaturetest 24.178s === RUN TestSignedMessageConformance --- PASS: TestSignedMessageConformance (0.00s) === RUN TestVerifyConformance @@ -1326,17 +1362,17 @@ === RUN TestSignFailed/extended_attribute_error_value === RUN TestSignFailed/unsupported_sign_algorithm === RUN TestSignFailed/invalid_tsa_url ---- PASS: TestSignFailed (1.63s) +--- PASS: TestSignFailed (2.31s) --- PASS: TestSignFailed/extended_attribute_conflict_with_protected_header_keys (0.00s) --- PASS: TestSignFailed/extended_attribute_error_value (0.00s) --- PASS: TestSignFailed/unsupported_sign_algorithm (0.01s) - --- PASS: TestSignFailed/invalid_tsa_url (1.63s) + --- PASS: TestSignFailed/invalid_tsa_url (2.30s) === 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.03s) +--- PASS: TestSigningScheme (0.06s) --- PASS: TestSigningScheme/verify_isLocal=true_signingScheme=notary.x509 (0.01s) --- PASS: TestSigningScheme/verify_isLocal=true_signingScheme=notary.x509.signingAuthority (0.01s) --- PASS: TestSigningScheme/verify_isLocal=false_signingScheme=notary.x509 (0.01s) @@ -1348,16 +1384,16 @@ === RUN TestSignVerify/ECDSA_256 === RUN TestSignVerify/ECDSA_384 === RUN TestSignVerify/ECDSA_521 ---- PASS: TestSignVerify (4.14s) - --- PASS: TestSignVerify/RSA_2048 (0.18s) - --- PASS: TestSignVerify/RSA_3072 (1.77s) - --- PASS: TestSignVerify/RSA_4096 (2.16s) - --- PASS: TestSignVerify/ECDSA_256 (0.00s) +--- PASS: TestSignVerify (14.57s) + --- PASS: TestSignVerify/RSA_2048 (1.22s) + --- PASS: TestSignVerify/RSA_3072 (3.46s) + --- PASS: TestSignVerify/RSA_4096 (9.84s) + --- PASS: TestSignVerify/ECDSA_256 (0.01s) --- PASS: TestSignVerify/ECDSA_384 (0.01s) - --- PASS: TestSignVerify/ECDSA_521 (0.02s) + --- PASS: TestSignVerify/ECDSA_521 (0.04s) === 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]:58115->[::1]:53: read: connection refused ---- SKIP: TestSignWithTimestamp (0.59s) + 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]:40602->[::1]:53: read: connection refused +--- SKIP: TestSignWithTimestamp (3.13s) === RUN TestVerify === RUN TestVerify/break_json_format === RUN TestVerify/tamper_signature @@ -1365,7 +1401,7 @@ === RUN TestVerify/tamper_certificate === RUN TestVerify/malformed_protected_header_base64_encoded === RUN TestVerify/malformed_protected_header_raw ---- PASS: TestVerify (0.04s) +--- PASS: TestVerify (0.07s) --- PASS: TestVerify/break_json_format (0.01s) --- PASS: TestVerify/tamper_signature (0.01s) --- PASS: TestVerify/empty_certificate (0.01s) @@ -1384,7 +1420,7 @@ === RUN TestSignerInfo/tamper_signature_base64_encoding === RUN TestSignerInfo/tamper_empty_signature === RUN TestSignerInfo/tamper_cert_chain ---- PASS: TestSignerInfo (0.07s) +--- PASS: TestSignerInfo (0.14s) --- 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) @@ -1435,7 +1471,7 @@ --- PASS: Test_verifyJWT (0.00s) --- PASS: Test_verifyJWT/invalid_signature (0.00s) PASS -ok github.com/notaryproject/notation-core-go/signature/jws 12.257s +ok github.com/notaryproject/notation-core-go/signature/jws 36.921s === RUN TestLoadPemFile --- PASS: TestLoadPemFile (0.00s) === RUN TestLoadMultiPemFile @@ -1451,7 +1487,7 @@ === RUN TestValidCodeSigningChain/self-signed_signing_certificate === RUN TestValidCodeSigningChain/RSA_Leaf_certificate_without_EKU === RUN TestValidCodeSigningChain/Open_SSL_minimum_certificate ---- PASS: TestValidCodeSigningChain (3.57s) +--- PASS: TestValidCodeSigningChain (17.97s) --- PASS: TestValidCodeSigningChain/cert-chain (0.00s) --- PASS: TestValidCodeSigningChain/self-signed_signing_certificate (0.00s) --- PASS: TestValidCodeSigningChain/RSA_Leaf_certificate_without_EKU (0.00s) @@ -1531,7 +1567,7 @@ === RUN TestValidTimestampingChain --- PASS: TestValidTimestampingChain (0.00s) === RUN TestInvalidTimestampingChain ---- PASS: TestInvalidTimestampingChain (0.00s) +--- PASS: TestInvalidTimestampingChain (0.01s) === 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 3.615s +ok github.com/notaryproject/notation-core-go/x509 18.019s 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/1204698/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1204698/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/3702110 and its subdirectories -I: Current time: Tue Feb 3 04:23:58 -12 2026 -I: pbuilder-time-stamp: 1770135838 +I: removing directory /srv/workspace/pbuilder/1204698 and its subdirectories +I: Current time: Thu Jan 2 00:09:57 +14 2025 +I: pbuilder-time-stamp: 1735726197