Diff of the two buildlogs: -- --- b1/build.log 2025-11-01 00:29:56.533674493 +0000 +++ b2/build.log 2025-11-01 00:31:21.205770489 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Oct 31 12:25:54 -12 2025 -I: pbuilder-time-stamp: 1761956754 +I: Current time: Fri Dec 4 20:52:58 +14 2026 +I: pbuilder-time-stamp: 1796367178 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -24,53 +24,85 @@ dpkg-source: info: applying 0001-Skip-tests-that-fail-to-connect-to-the-internet.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2269619/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2212423/tmp/hooks/D01_modify_environment starting +debug: Running on codethink03-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Dec 4 06:53 /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/2212423/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2212423/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='arm64' + 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]="3" [2]="3" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.3.3(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 nocheck' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='205d768d7f8741bb810f5e0773fe1f80' - 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='2269619' - PS1='# ' - PS2='> ' + INVOCATION_ID=f73893d4adf84448bc52781285aece9d + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=2212423 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.wUIGe8Nf/pbuilderrc_BxXx --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.wUIGe8Nf/b1 --logfile b1/build.log golang-github-notaryproject-notation-core-go_1.3.0-1.dsc' - SUDO_GID='109' - SUDO_HOME='/var/lib/jenkins' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.wUIGe8Nf/pbuilderrc_iWmG --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.wUIGe8Nf/b2 --logfile b2/build.log golang-github-notaryproject-notation-core-go_1.3.0-1.dsc' + SUDO_GID=109 + SUDO_HOME=/var/lib/jenkins + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink04-arm64 6.12.48+deb13-cloud-arm64 #1 SMP Debian 6.12.48-1 (2025-09-20) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.12.48+deb13-cloud-arm64 #1 SMP Debian 6.12.48-1 (2025-09-20) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 10 12:30 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/2269619/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 10 2025 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2212423/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -166,7 +198,7 @@ Get: 44 http://deb.debian.org/debian unstable/main arm64 golang-golang-x-term-dev all 0.35.0-1 [16.1 kB] Get: 45 http://deb.debian.org/debian unstable/main arm64 golang-golang-x-text-dev all 0.29.0-2 [3992 kB] Get: 46 http://deb.debian.org/debian unstable/main arm64 golang-golang-x-crypto-dev all 1:0.43.0-2 [1950 kB] -Fetched 65.7 MB in 0s (206 MB/s) +Fetched 65.7 MB in 1s (93.9 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 ... 19964 files and directories currently installed.) @@ -371,7 +403,11 @@ Solving dependencies... 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/golang-github-notaryproject-notation-core-go-1.3.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.3.0-1_source.changes +I: user script /srv/workspace/pbuilder/2212423/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/2212423/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.3.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.3.0-1_source.changes dpkg-buildpackage: info: source package golang-github-notaryproject-notation-core-go dpkg-buildpackage: info: source version 1.3.0-1 dpkg-buildpackage: info: source distribution unstable @@ -390,109 +426,109 @@ dh_auto_configure -O--builddirectory=_build -O--buildsystem=golang dh_auto_build -O--builddirectory=_build -O--buildsystem=golang cd _build && go install -trimpath -v -p 12 github.com/notaryproject/notation-core-go/internal/algorithm 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/crl github.com/notaryproject/notation-core-go/revocation/internal/crl github.com/notaryproject/notation-core-go/revocation/internal/ocsp github.com/notaryproject/notation-core-go/revocation/internal/x509util 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/godebugs internal/coverage/rtcov internal/asan -internal/godebugs -internal/goexperiment -internal/goos +internal/goarch internal/msan internal/unsafeheader +internal/goexperiment internal/profilerecord -math/bits -internal/runtime/math +internal/goos internal/cpu +internal/runtime/math sync/atomic +math/bits unicode/utf8 -unicode crypto/internal/fips140/alias -internal/runtime/syscall +unicode internal/itoa +internal/runtime/syscall cmp -internal/abi -crypto/internal/boring/sig internal/chacha8rand +internal/abi crypto/internal/fips140deps/byteorder +crypto/internal/boring/sig crypto/internal/fips140/subtle unicode/utf16 -math vendor/golang.org/x/crypto/cryptobyte/asn1 internal/nettrace github.com/notaryproject/notation-core-go/revocation/purpose golang.org/x/crypto/cryptobyte/asn1 -internal/bytealg -internal/runtime/atomic -crypto/internal/fips140deps/cpu -internal/runtime/sys container/list vendor/golang.org/x/crypto/internal/alias +math log/internal encoding +internal/bytealg +internal/runtime/atomic +internal/runtime/sys +crypto/internal/fips140deps/cpu internal/runtime/exithook internal/stringslite internal/race -internal/sync internal/runtime/maps +internal/sync runtime +internal/reflectlite +sync iter crypto/subtle weak -internal/reflectlite -sync maps slices -internal/bisect -internal/singleflight -internal/testlog -unique errors sort -runtime/cgo -io +internal/testlog +internal/singleflight +unique +internal/bisect +strconv internal/oserror -math/rand/v2 path +io vendor/golang.org/x/net/dns/dnsmessage -strconv -internal/godebug +math/rand/v2 +runtime/cgo syscall -crypto/internal/fips140deps/godebug -hash +internal/godebug bytes +hash +strings math/rand -internal/saferio crypto/internal/randutil -strings +internal/saferio +crypto/internal/fips140deps/godebug +hash/crc32 +crypto reflect +net/netip encoding/base32 github.com/x448/float16 -net/netip -crypto -hash/crc32 github.com/notaryproject/tspclient-go/internal/hashutil vendor/golang.org/x/text/transform -crypto/internal/impl crypto/internal/fips140 +crypto/internal/impl bufio net/http/internal/ascii regexp/syntax -crypto/tls/internal/fips140tls +crypto/internal/fips140/sha256 crypto/internal/fips140/sha3 crypto/internal/fips140/sha512 -crypto/internal/fips140/sha256 -internal/syscall/unix +crypto/tls/internal/fips140tls time internal/syscall/execenv +internal/syscall/unix crypto/sha3 crypto/internal/fips140/hmac crypto/internal/fips140hash crypto/internal/fips140/check +crypto/internal/fips140/hkdf crypto/internal/fips140/aes crypto/internal/fips140/edwards25519/field -crypto/internal/fips140/bigmod -crypto/internal/fips140/hkdf crypto/internal/fips140/nistec/fiat +crypto/internal/fips140/bigmod crypto/internal/fips140/tls12 crypto/internal/fips140/tls13 crypto/internal/fips140/edwards25519 @@ -501,47 +537,47 @@ internal/poll context internal/filepathlite -crypto/internal/fips140/nistec os -encoding/binary +crypto/internal/fips140/nistec internal/fmtsort -encoding/base64 +encoding/binary vendor/golang.org/x/crypto/internal/poly1305 -encoding/pem +encoding/base64 crypto/internal/sysrand fmt path/filepath net +encoding/pem crypto/internal/entropy crypto/internal/fips140/drbg -crypto/internal/fips140only -crypto/internal/fips140/ecdh crypto/internal/fips140/aes/gcm crypto/internal/fips140/ecdsa -crypto/internal/fips140/rsa +crypto/internal/fips140only crypto/internal/fips140/ed25519 +crypto/internal/fips140/ecdh +crypto/internal/fips140/rsa crypto/internal/fips140/mlkem crypto/md5 crypto/rc4 crypto/cipher crypto/internal/boring -crypto/des vendor/golang.org/x/crypto/chacha20 +crypto/des +crypto/sha512 +crypto/aes +crypto/sha1 +crypto/sha256 +crypto/hmac +crypto/ecdh +vendor/golang.org/x/crypto/chacha20poly1305 encoding/hex net/url github.com/notaryproject/notation-core-go/revocation/result -math/big compress/flate log +math/big vendor/golang.org/x/text/unicode/norm vendor/golang.org/x/net/http2/hpack -crypto/ecdh -crypto/sha512 -crypto/aes -crypto/sha1 -crypto/sha256 -crypto/hmac -vendor/golang.org/x/crypto/chacha20poly1305 mime mime/quotedprintable net/http/internal @@ -550,45 +586,45 @@ compress/gzip vendor/golang.org/x/text/secure/bidirule vendor/golang.org/x/net/idna +crypto/elliptic crypto/internal/boring/bbig encoding/asn1 crypto/rand crypto/dsa -crypto/elliptic github.com/fxamacker/cbor +crypto/rsa crypto/ed25519 crypto/internal/hpke -crypto/rsa crypto/x509/pkix -vendor/golang.org/x/crypto/cryptobyte github.com/notaryproject/notation-core-go/internal/oid golang.org/x/crypto/cryptobyte -github.com/notaryproject/tspclient-go/internal/encoding/asn1 +vendor/golang.org/x/crypto/cryptobyte github.com/notaryproject/tspclient-go/internal/encoding/asn1/ber +github.com/notaryproject/tspclient-go/internal/encoding/asn1 github.com/notaryproject/tspclient-go/pki crypto/ecdsa github.com/veraison/go-cose -vendor/golang.org/x/net/http/httpproxy -net/textproto crypto/x509 +net/textproto +vendor/golang.org/x/net/http/httpproxy vendor/golang.org/x/net/http/httpguts mime/multipart -github.com/notaryproject/notation-core-go/internal/algorithm +crypto/tls golang.org/x/crypto/ocsp github.com/notaryproject/tspclient-go/internal/oid github.com/golang-jwt/jwt -crypto/tls -github.com/notaryproject/notation-core-go/x509 +github.com/notaryproject/notation-core-go/internal/algorithm github.com/notaryproject/tspclient-go/internal/cms +github.com/notaryproject/notation-core-go/x509 github.com/notaryproject/notation-core-go/revocation/internal/x509util net/http/httptrace net/http github.com/notaryproject/notation-core-go/revocation/crl github.com/notaryproject/notation-core-go/revocation/internal/ocsp -github.com/notaryproject/notation-core-go/testhelper github.com/notaryproject/tspclient-go -github.com/notaryproject/notation-core-go/revocation/internal/crl +github.com/notaryproject/notation-core-go/testhelper github.com/notaryproject/notation-core-go/revocation/ocsp +github.com/notaryproject/notation-core-go/revocation/internal/crl github.com/notaryproject/notation-core-go/revocation github.com/notaryproject/notation-core-go/signature github.com/notaryproject/notation-core-go/internal/timestamp @@ -596,1315 +632,7 @@ github.com/notaryproject/notation-core-go/signature/internal/signaturetest github.com/notaryproject/notation-core-go/signature/cose github.com/notaryproject/notation-core-go/signature/jws - debian/rules override_dh_auto_test -make[1]: Entering directory '/build/reproducible-path/golang-github-notaryproject-notation-core-go-1.3.0' -dh_auto_test -- -timeout 30m - cd _build && go test -vet=off -v -p 12 -timeout 30m github.com/notaryproject/notation-core-go/internal/algorithm 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/crl github.com/notaryproject/notation-core-go/revocation/internal/crl github.com/notaryproject/notation-core-go/revocation/internal/ocsp github.com/notaryproject/notation-core-go/revocation/internal/x509util 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 -=== RUN TestHash -=== RUN TestHash/PS256 -=== RUN TestHash/ES256 -=== RUN TestHash/PS384 -=== RUN TestHash/ES384 -=== RUN TestHash/PS512 -=== RUN TestHash/ES512 -=== RUN TestHash/UnsupportedAlgorithm ---- PASS: TestHash (0.00s) - --- PASS: TestHash/PS256 (0.00s) - --- PASS: TestHash/ES256 (0.00s) - --- PASS: TestHash/PS384 (0.00s) - --- PASS: TestHash/ES384 (0.00s) - --- PASS: TestHash/PS512 (0.00s) - --- PASS: TestHash/ES512 (0.00s) - --- PASS: TestHash/UnsupportedAlgorithm (0.00s) -=== RUN TestSignatureAlgorithm -=== RUN TestSignatureAlgorithm/EC_256 -=== RUN TestSignatureAlgorithm/EC_384 -=== RUN TestSignatureAlgorithm/EC_521 -=== RUN TestSignatureAlgorithm/RSA_2048 -=== RUN TestSignatureAlgorithm/RSA_3072 -=== RUN TestSignatureAlgorithm/RSA_4096 -=== RUN TestSignatureAlgorithm/Unsupported_key_spec ---- PASS: TestSignatureAlgorithm (0.00s) - --- PASS: TestSignatureAlgorithm/EC_256 (0.00s) - --- PASS: TestSignatureAlgorithm/EC_384 (0.00s) - --- PASS: TestSignatureAlgorithm/EC_521 (0.00s) - --- PASS: TestSignatureAlgorithm/RSA_2048 (0.00s) - --- PASS: TestSignatureAlgorithm/RSA_3072 (0.00s) - --- PASS: TestSignatureAlgorithm/RSA_4096 (0.00s) - --- PASS: TestSignatureAlgorithm/Unsupported_key_spec (0.00s) -=== RUN TestExtractKeySpec -=== RUN TestExtractKeySpec/RSA_wrong_size -=== RUN TestExtractKeySpec/ECDSA_wrong_size -=== RUN TestExtractKeySpec/Unsupported_type -=== RUN TestExtractKeySpec/RSA_2048 -=== RUN TestExtractKeySpec/RSA_3072 -=== RUN TestExtractKeySpec/RSA_4096 -=== RUN TestExtractKeySpec/EC_256 -=== RUN TestExtractKeySpec/EC_384 -=== RUN TestExtractKeySpec/EC_521 ---- PASS: TestExtractKeySpec (31.77s) - --- PASS: TestExtractKeySpec/RSA_wrong_size (0.00s) - --- PASS: TestExtractKeySpec/ECDSA_wrong_size (0.00s) - --- PASS: TestExtractKeySpec/Unsupported_type (0.00s) - --- PASS: TestExtractKeySpec/RSA_2048 (0.00s) - --- PASS: TestExtractKeySpec/RSA_3072 (0.00s) - --- PASS: TestExtractKeySpec/RSA_4096 (0.00s) - --- PASS: TestExtractKeySpec/EC_256 (0.00s) - --- PASS: TestExtractKeySpec/EC_384 (0.00s) - --- PASS: TestExtractKeySpec/EC_521 (0.00s) -PASS -ok github.com/notaryproject/notation-core-go/internal/algorithm 31.783s -? github.com/notaryproject/notation-core-go/internal/oid [no test files] -=== RUN TestTimestamp -=== RUN TestTimestamp/Timestamping_success - timestamp_test.go:62: Failed to connect to http://timestamp.digicert.com: Post "http://timestamp.digicert.com": dial tcp: lookup timestamp.digicert.com on [::1]:53: read udp [::1]:52164->[::1]:53: read: connection refused -=== RUN TestTimestamp/Timestamping_SHA-1 -=== RUN TestTimestamp/Timestamping_failed -=== RUN TestTimestamp/Timestamping_rejected -=== RUN TestTimestamp/Timestamping_with_cms_verification_failure -=== RUN TestTimestamp/Timestamping_revocation_failed - timestamp_test.go:151: Failed to connect to http://timestamp.digicert.com: Post "http://timestamp.digicert.com": dial tcp: lookup timestamp.digicert.com on [::1]:53: read udp [::1]:37278->[::1]:53: read: connection refused -=== RUN TestTimestamp/Timestamping_certificate_revoked - timestamp_test.go:173: Failed to connect to http://timestamp.digicert.com: Post "http://timestamp.digicert.com": dial tcp: lookup timestamp.digicert.com on [::1]:53: read udp [::1]:41402->[::1]:53: read: connection refused ---- PASS: TestTimestamp (0.00s) - --- SKIP: TestTimestamp/Timestamping_success (0.00s) - --- PASS: TestTimestamp/Timestamping_SHA-1 (0.00s) - --- PASS: TestTimestamp/Timestamping_failed (0.00s) - --- PASS: TestTimestamp/Timestamping_rejected (0.00s) - --- PASS: TestTimestamp/Timestamping_with_cms_verification_failure (0.00s) - --- SKIP: TestTimestamp/Timestamping_revocation_failed (0.00s) - --- SKIP: TestTimestamp/Timestamping_certificate_revoked (0.00s) -=== RUN TestRevocationResult -=== RUN TestRevocationResult/OCSP_error_without_fallback -=== RUN TestRevocationResult/OCSP_error_with_fallback -=== RUN TestRevocationResult/OCSP_error_with_fallback_and_CRL_error -=== RUN TestRevocationResult/revoked -=== RUN TestRevocationResult/revocation_method_unknown_error(should_never_reach_here) -=== RUN TestRevocationResult/empty_cert_result -=== RUN TestRevocationResult/cert_result_length_does_not_equal_to_cert_chain ---- PASS: TestRevocationResult (0.00s) - --- PASS: TestRevocationResult/OCSP_error_without_fallback (0.00s) - --- PASS: TestRevocationResult/OCSP_error_with_fallback (0.00s) - --- PASS: TestRevocationResult/OCSP_error_with_fallback_and_CRL_error (0.00s) - --- PASS: TestRevocationResult/revoked (0.00s) - --- PASS: TestRevocationResult/revocation_method_unknown_error(should_never_reach_here) (0.00s) - --- PASS: TestRevocationResult/empty_cert_result (0.00s) - --- PASS: TestRevocationResult/cert_result_length_does_not_equal_to_cert_chain (0.00s) -PASS -ok github.com/notaryproject/notation-core-go/internal/timestamp 0.015s -=== RUN TestNew ---- PASS: TestNew (0.00s) -=== RUN TestNewWithOptions -=== RUN TestNewWithOptions/nil_OCSP_HTTP_Client -=== RUN TestNewWithOptions/invalid_CertChainPurpose ---- PASS: TestNewWithOptions (0.00s) - --- PASS: TestNewWithOptions/nil_OCSP_HTTP_Client (0.00s) - --- PASS: TestNewWithOptions/invalid_CertChainPurpose (0.00s) -=== RUN TestCheckRevocationStatusForSingleCert -=== RUN TestCheckRevocationStatusForSingleCert/check_non-revoked_cert -=== RUN TestCheckRevocationStatusForSingleCert/check_cert_with_Unknown_OCSP_response -=== RUN TestCheckRevocationStatusForSingleCert/check_OCSP_revoked_cert -=== RUN TestCheckRevocationStatusForSingleCert/check_OCSP_future_revoked_cert ---- PASS: TestCheckRevocationStatusForSingleCert (8.55s) - --- PASS: TestCheckRevocationStatusForSingleCert/check_non-revoked_cert (0.03s) - --- PASS: TestCheckRevocationStatusForSingleCert/check_cert_with_Unknown_OCSP_response (0.02s) - --- PASS: TestCheckRevocationStatusForSingleCert/check_OCSP_revoked_cert (0.03s) - --- PASS: TestCheckRevocationStatusForSingleCert/check_OCSP_future_revoked_cert (0.03s) -=== RUN TestCheckRevocationStatusForSelfSignedCert ---- PASS: TestCheckRevocationStatusForSelfSignedCert (0.97s) -=== RUN TestCheckRevocationStatusForRootCert ---- PASS: TestCheckRevocationStatusForRootCert (0.00s) -=== RUN TestCheckRevocationStatusForChain -=== RUN TestCheckRevocationStatusForChain/empty_chain -=== RUN TestCheckRevocationStatusForChain/check_non-revoked_chain -=== RUN TestCheckRevocationStatusForChain/check_chain_with_1_Unknown_cert -=== RUN TestCheckRevocationStatusForChain/check_OCSP_with_1_revoked_cert -=== RUN TestCheckRevocationStatusForChain/check_OCSP_with_1_unknown_and_1_revoked_cert -=== RUN TestCheckRevocationStatusForChain/check_OCSP_with_1_future_revoked_cert -=== 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 (2.36s) - --- PASS: TestCheckRevocationStatusForChain/empty_chain (0.00s) - --- PASS: TestCheckRevocationStatusForChain/check_non-revoked_chain (0.11s) - --- PASS: TestCheckRevocationStatusForChain/check_chain_with_1_Unknown_cert (0.07s) - --- PASS: TestCheckRevocationStatusForChain/check_OCSP_with_1_revoked_cert (0.07s) - --- PASS: TestCheckRevocationStatusForChain/check_OCSP_with_1_unknown_and_1_revoked_cert (0.05s) - --- PASS: TestCheckRevocationStatusForChain/check_OCSP_with_1_future_revoked_cert (0.07s) - --- PASS: TestCheckRevocationStatusForChain/check_OCSP_with_1_unknown_and_1_future_revoked_cert (0.08s) - --- PASS: TestCheckRevocationStatusForChain/check_OCSP_with_1_revoked_cert_before_signing_time (0.08s) - --- PASS: TestCheckRevocationStatusForChain/check_OCSP_with_1_revoked_cert_after_zero_signing_time (0.07s) -=== RUN TestCheckRevocationStatusForTimestampChain -=== RUN TestCheckRevocationStatusForTimestampChain/invalid_revocation_purpose -=== RUN TestCheckRevocationStatusForTimestampChain/empty_chain -=== RUN TestCheckRevocationStatusForTimestampChain/check_non-revoked_chain -=== RUN TestCheckRevocationStatusForTimestampChain/check_chain_with_1_Unknown_cert -=== RUN TestCheckRevocationStatusForTimestampChain/check_OCSP_with_1_revoked_cert -=== RUN TestCheckRevocationStatusForTimestampChain/check_OCSP_with_1_unknown_and_1_revoked_cert -=== RUN TestCheckRevocationStatusForTimestampChain/check_OCSP_with_1_future_revoked_cert -=== 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 (1.74s) - --- PASS: TestCheckRevocationStatusForTimestampChain/invalid_revocation_purpose (0.00s) - --- PASS: TestCheckRevocationStatusForTimestampChain/empty_chain (0.00s) - --- PASS: TestCheckRevocationStatusForTimestampChain/check_non-revoked_chain (0.09s) - --- PASS: TestCheckRevocationStatusForTimestampChain/check_chain_with_1_Unknown_cert (0.06s) - --- PASS: TestCheckRevocationStatusForTimestampChain/check_OCSP_with_1_revoked_cert (0.06s) - --- PASS: TestCheckRevocationStatusForTimestampChain/check_OCSP_with_1_unknown_and_1_revoked_cert (0.05s) - --- PASS: TestCheckRevocationStatusForTimestampChain/check_OCSP_with_1_future_revoked_cert (0.06s) - --- PASS: TestCheckRevocationStatusForTimestampChain/check_OCSP_with_1_unknown_and_1_future_revoked_cert (0.07s) - --- PASS: TestCheckRevocationStatusForTimestampChain/check_OCSP_with_1_revoked_cert_before_signing_time (0.07s) - --- PASS: TestCheckRevocationStatusForTimestampChain/check_OCSP_with_1_revoked_cert_after_zero_signing_time (0.07s) -=== RUN TestCheckRevocationErrors -=== RUN TestCheckRevocationErrors/no_OCSPServer_specified -=== RUN TestCheckRevocationErrors/chain_missing_root -=== RUN TestCheckRevocationErrors/backwards_chain -=== RUN TestCheckRevocationErrors/timeout -=== RUN TestCheckRevocationErrors/expired_ocsp_response -=== RUN TestCheckRevocationErrors/OCSP_pkixNoCheck_missing -=== RUN TestCheckRevocationErrors/non-HTTP_URI_error ---- PASS: TestCheckRevocationErrors (0.65s) - --- PASS: TestCheckRevocationErrors/no_OCSPServer_specified (0.00s) - --- PASS: TestCheckRevocationErrors/chain_missing_root (0.00s) - --- PASS: TestCheckRevocationErrors/backwards_chain (0.00s) - --- PASS: TestCheckRevocationErrors/timeout (0.01s) - --- PASS: TestCheckRevocationErrors/expired_ocsp_response (0.04s) - --- PASS: TestCheckRevocationErrors/OCSP_pkixNoCheck_missing (0.05s) - --- PASS: TestCheckRevocationErrors/non-HTTP_URI_error (0.03s) -=== RUN TestCheckRevocationInvalidChain -=== RUN TestCheckRevocationInvalidChain/chain_missing_intermediate -=== RUN TestCheckRevocationInvalidChain/chain_out_of_order ---- PASS: TestCheckRevocationInvalidChain (7.38s) - --- PASS: TestCheckRevocationInvalidChain/chain_missing_intermediate (0.00s) - --- PASS: TestCheckRevocationInvalidChain/chain_out_of_order (0.00s) -=== RUN TestCRL -=== RUN TestCRL/CRL_check_valid -=== RUN TestCRL/CRL_check_with_revoked_status -=== RUN TestCRL/OCSP_fallback_to_CRL ---- PASS: TestCRL (15.66s) - --- PASS: TestCRL/CRL_check_valid (1.60s) - --- PASS: TestCRL/CRL_check_with_revoked_status (7.37s) - --- PASS: TestCRL/OCSP_fallback_to_CRL (6.69s) -=== RUN TestPanicHandling -=== RUN TestPanicHandling/panic_in_OCSP -=== RUN TestPanicHandling/panic_in_CRL ---- PASS: TestPanicHandling (5.09s) - --- PASS: TestPanicHandling/panic_in_OCSP (1.91s) - --- PASS: TestPanicHandling/panic_in_CRL (3.17s) -=== RUN TestValidateContext ---- PASS: TestValidateContext (0.00s) -PASS -ok github.com/notaryproject/notation-core-go/revocation 42.450s -=== RUN TestNewHTTPFetcher -=== RUN TestNewHTTPFetcher/httpClient_is_nil ---- PASS: TestNewHTTPFetcher (0.00s) - --- PASS: TestNewHTTPFetcher/httpClient_is_nil (0.00s) -=== RUN TestFetch -=== RUN TestFetch/url_is_empty -=== RUN TestFetch/fetch_without_cache -=== RUN TestFetch/cache_hit -=== RUN TestFetch/cache_miss_and_download_failed_error -=== RUN TestFetch/cache_miss -=== RUN TestFetch/cache_expired -=== RUN TestFetch/Set_cache_error -=== RUN TestFetch/Get_error_without_discard -=== RUN TestFetch/Set_error_without_discard -=== RUN TestFetch/test_fetch_delta_CRL_from_base_CRL_extension_failed ---- PASS: TestFetch (27.13s) - --- PASS: TestFetch/url_is_empty (0.00s) - --- PASS: TestFetch/fetch_without_cache (0.00s) - --- PASS: TestFetch/cache_hit (0.00s) - --- PASS: TestFetch/cache_miss_and_download_failed_error (0.00s) - --- PASS: TestFetch/cache_miss (0.00s) - --- PASS: TestFetch/cache_expired (3.68s) - --- PASS: TestFetch/Set_cache_error (0.00s) - --- PASS: TestFetch/Get_error_without_discard (0.00s) - --- PASS: TestFetch/Set_error_without_discard (0.00s) - --- PASS: TestFetch/test_fetch_delta_CRL_from_base_CRL_extension_failed (0.00s) -=== RUN TestParseFreshestCRL -=== RUN TestParseFreshestCRL/valid_1_delta_CRL_URL -=== RUN TestParseFreshestCRL/empty_extension -=== RUN TestParseFreshestCRL/URL_doesn't_exist -=== RUN TestParseFreshestCRL/non_URI_freshest_CRL_extension -=== RUN TestParseFreshestCRL/certificate_with_incomplete_freshest_CRL_extension -=== RUN TestParseFreshestCRL/certificate_with_incomplete_freshest_CRL_extension2 ---- PASS: TestParseFreshestCRL (0.00s) - --- PASS: TestParseFreshestCRL/valid_1_delta_CRL_URL (0.00s) - --- PASS: TestParseFreshestCRL/empty_extension (0.00s) - --- PASS: TestParseFreshestCRL/URL_doesn't_exist (0.00s) - --- PASS: TestParseFreshestCRL/non_URI_freshest_CRL_extension (0.00s) - --- PASS: TestParseFreshestCRL/certificate_with_incomplete_freshest_CRL_extension (0.00s) - --- PASS: TestParseFreshestCRL/certificate_with_incomplete_freshest_CRL_extension2 (0.00s) -=== RUN TestFetchDeltaCRL -=== RUN TestFetchDeltaCRL/parse_freshest_CRL_failed -=== RUN TestFetchDeltaCRL/zero_freshest_CRL_URL -=== RUN TestFetchDeltaCRL/one_freshest_CRL_URL -=== RUN TestFetchDeltaCRL/multiple_freshest_CRL_URLs_failed -=== RUN TestFetchDeltaCRL/process_delta_crl_from_certificate_extension_failed ---- PASS: TestFetchDeltaCRL (0.00s) - --- PASS: TestFetchDeltaCRL/parse_freshest_CRL_failed (0.00s) - --- PASS: TestFetchDeltaCRL/zero_freshest_CRL_URL (0.00s) - --- PASS: TestFetchDeltaCRL/one_freshest_CRL_URL (0.00s) - --- PASS: TestFetchDeltaCRL/multiple_freshest_CRL_URLs_failed (0.00s) - --- PASS: TestFetchDeltaCRL/process_delta_crl_from_certificate_extension_failed (0.00s) -=== RUN TestDownload -=== RUN TestDownload/parse_url_error -=== RUN TestDownload/https_download -=== RUN TestDownload/http.NewRequestWithContext_error -=== RUN TestDownload/client.Do_error -=== RUN TestDownload/status_code_is_not_2xx -=== RUN TestDownload/readAll_error -=== RUN TestDownload/exceed_the_size_limit -=== RUN TestDownload/invalid_crl ---- PASS: TestDownload (0.07s) - --- PASS: TestDownload/parse_url_error (0.00s) - --- PASS: TestDownload/https_download (0.00s) - --- PASS: TestDownload/http.NewRequestWithContext_error (0.00s) - --- PASS: TestDownload/client.Do_error (0.00s) - --- PASS: TestDownload/status_code_is_not_2xx (0.00s) - --- PASS: TestDownload/readAll_error (0.00s) - --- PASS: TestDownload/exceed_the_size_limit (0.07s) - --- PASS: TestDownload/invalid_crl (0.00s) -PASS -ok github.com/notaryproject/notation-core-go/revocation/crl 27.250s -=== RUN TestCertCheckStatus -=== RUN TestCertCheckStatus/certificate_does_not_have_CRLDistributionPoints -=== RUN TestCertCheckStatus/fetcher_is_nil -=== RUN TestCertCheckStatus/download_error -=== RUN TestCertCheckStatus/CRL_validate_failed -=== RUN TestCertCheckStatus/revoked -=== RUN TestCertCheckStatus/unknown_critical_extension -=== RUN TestCertCheckStatus/Not_revoked -=== RUN TestCertCheckStatus/invalid_stale_CRL_cache,_and_re-download_failed -=== RUN TestCertCheckStatus/invalid_stale_CRL_cache,_re-download_and_still_validate_failed -=== RUN TestCertCheckStatus/invalid_stale_CRL_cache,_re-download_and_validate_seccessfully -=== RUN TestCertCheckStatus/freshest_CRL_from_certificate_extension_is_not_supported ---- PASS: TestCertCheckStatus (9.44s) - --- PASS: TestCertCheckStatus/certificate_does_not_have_CRLDistributionPoints (0.00s) - --- PASS: TestCertCheckStatus/fetcher_is_nil (0.00s) - --- PASS: TestCertCheckStatus/download_error (0.00s) - --- PASS: TestCertCheckStatus/CRL_validate_failed (7.45s) - --- PASS: TestCertCheckStatus/revoked (0.02s) - --- PASS: TestCertCheckStatus/unknown_critical_extension (0.02s) - --- PASS: TestCertCheckStatus/Not_revoked (0.02s) - --- PASS: TestCertCheckStatus/invalid_stale_CRL_cache,_and_re-download_failed (0.00s) - --- PASS: TestCertCheckStatus/invalid_stale_CRL_cache,_re-download_and_still_validate_failed (0.00s) - --- PASS: TestCertCheckStatus/invalid_stale_CRL_cache,_re-download_and_validate_seccessfully (0.04s) - --- PASS: TestCertCheckStatus/freshest_CRL_from_certificate_extension_is_not_supported (0.02s) -=== RUN TestValidate -=== RUN TestValidate/expired_CRL -=== RUN TestValidate/check_signature_failed -=== RUN TestValidate/unsupported_CRL_critical_extensions -=== RUN TestValidate/issuing_distribution_point_extension_exists -=== RUN TestValidate/valid_crl_and_delta_crl -=== RUN TestValidate/invalid_delta_crl -=== RUN TestValidate/invalid_delta_crl_number -=== RUN TestValidate/delta_crl_without_delta_crl_indicator -=== RUN TestValidate/delta_crl_minimum_base_crl_number_is_greater_than_base_crl -=== RUN TestValidate/delta_crl_with_invalid_delta_indicator_extension ---- PASS: TestValidate (17.84s) - --- PASS: TestValidate/expired_CRL (5.05s) - --- PASS: TestValidate/check_signature_failed (0.00s) - --- PASS: TestValidate/unsupported_CRL_critical_extensions (5.00s) - --- PASS: TestValidate/issuing_distribution_point_extension_exists (4.93s) - --- PASS: TestValidate/valid_crl_and_delta_crl (0.02s) - --- PASS: TestValidate/invalid_delta_crl (0.02s) - --- PASS: TestValidate/invalid_delta_crl_number (0.03s) - --- PASS: TestValidate/delta_crl_without_delta_crl_indicator (0.01s) - --- PASS: TestValidate/delta_crl_minimum_base_crl_number_is_greater_than_base_crl (0.02s) - --- PASS: TestValidate/delta_crl_with_invalid_delta_indicator_extension (0.02s) -=== RUN TestCheckRevocation -=== RUN TestCheckRevocation/certificate_is_nil -=== RUN TestCheckRevocation/bundle_is_nil -=== RUN TestCheckRevocation/CRL_is_nil -=== RUN TestCheckRevocation/not_revoked -=== RUN TestCheckRevocation/revoked -=== RUN TestCheckRevocation/revoked_in_delta_CRL -=== RUN TestCheckRevocation/revoked_but_signing_time_is_before_invalidityDate -=== RUN TestCheckRevocation/revoked;_signing_time_is_after_invalidityDate -=== RUN TestCheckRevocation/revoked_and_signing_time_is_zero -=== RUN TestCheckRevocation/revocation_entry_validation_error -=== RUN TestCheckRevocation/delta_crl_with_certificate_hold -=== RUN TestCheckRevocation/certificate_hold_and_remove_hold -=== RUN TestCheckRevocation/certificate_hold_and_remove_hold_with_other_other_certificate_hold -=== RUN TestCheckRevocation/certificate_hold,_remove_hold_and_hold_again ---- PASS: TestCheckRevocation (0.00s) - --- PASS: TestCheckRevocation/certificate_is_nil (0.00s) - --- PASS: TestCheckRevocation/bundle_is_nil (0.00s) - --- PASS: TestCheckRevocation/CRL_is_nil (0.00s) - --- PASS: TestCheckRevocation/not_revoked (0.00s) - --- PASS: TestCheckRevocation/revoked (0.00s) - --- PASS: TestCheckRevocation/revoked_in_delta_CRL (0.00s) - --- PASS: TestCheckRevocation/revoked_but_signing_time_is_before_invalidityDate (0.00s) - --- PASS: TestCheckRevocation/revoked;_signing_time_is_after_invalidityDate (0.00s) - --- PASS: TestCheckRevocation/revoked_and_signing_time_is_zero (0.00s) - --- PASS: TestCheckRevocation/revocation_entry_validation_error (0.00s) - --- PASS: TestCheckRevocation/delta_crl_with_certificate_hold (0.00s) - --- PASS: TestCheckRevocation/certificate_hold_and_remove_hold (0.00s) - --- PASS: TestCheckRevocation/certificate_hold_and_remove_hold_with_other_other_certificate_hold (0.00s) - --- PASS: TestCheckRevocation/certificate_hold,_remove_hold_and_hold_again (0.00s) -=== RUN TestParseEntryExtension -=== RUN TestParseEntryExtension/unsupported_critical_extension -=== RUN TestParseEntryExtension/valid_extension -=== RUN TestParseEntryExtension/parse_invalidityDate -=== RUN TestParseEntryExtension/parse_invalidityDate_with_error ---- PASS: TestParseEntryExtension (0.00s) - --- PASS: TestParseEntryExtension/unsupported_critical_extension (0.00s) - --- PASS: TestParseEntryExtension/valid_extension (0.00s) - --- PASS: TestParseEntryExtension/parse_invalidityDate (0.00s) - --- PASS: TestParseEntryExtension/parse_invalidityDate_with_error (0.00s) -=== RUN TestSupported -=== RUN TestSupported/supported -=== RUN TestSupported/unsupported ---- PASS: TestSupported (0.00s) - --- PASS: TestSupported/supported (0.00s) - --- PASS: TestSupported/unsupported (0.00s) -PASS -ok github.com/notaryproject/notation-core-go/revocation/internal/crl 27.326s -=== RUN TestRevokedError ---- PASS: TestRevokedError (0.00s) -=== RUN TestUnknownStatusError ---- PASS: TestUnknownStatusError (0.00s) -=== RUN TestGenericError -=== RUN TestGenericError/without_inner_error -=== RUN TestGenericError/with_inner_error ---- PASS: TestGenericError (0.00s) - --- PASS: TestGenericError/without_inner_error (0.00s) - --- PASS: TestGenericError/with_inner_error (0.00s) -=== RUN TestNoServerError ---- PASS: TestNoServerError (0.00s) -=== RUN TestTimeoutError ---- PASS: TestTimeoutError (0.00s) -=== RUN TestCheckStatus -=== RUN TestCheckStatus/check_non-revoked_cert -=== RUN TestCheckStatus/check_cert_with_Unknown_OCSP_response -=== RUN TestCheckStatus/check_OCSP_revoked_cert -=== RUN TestCheckStatus/check_OCSP_future_revoked_cert -=== RUN TestCheckStatus/certificate_doesn't_support_OCSP ---- PASS: TestCheckStatus (7.01s) - --- PASS: TestCheckStatus/check_non-revoked_cert (0.02s) - --- PASS: TestCheckStatus/check_cert_with_Unknown_OCSP_response (0.02s) - --- PASS: TestCheckStatus/check_OCSP_revoked_cert (0.02s) - --- PASS: TestCheckStatus/check_OCSP_future_revoked_cert (0.02s) - --- PASS: TestCheckStatus/certificate_doesn't_support_OCSP (0.00s) -=== RUN TestCheckStatusFromServer -=== RUN TestCheckStatusFromServer/server_url_is_not_http -=== RUN TestCheckStatusFromServer/request_error -=== RUN TestCheckStatusFromServer/ocsp_expired -=== RUN TestCheckStatusFromServer/ocsp_request_roundtrip_failed -=== RUN TestCheckStatusFromServer/ocsp_request_roundtrip_timeout ---- PASS: TestCheckStatusFromServer (0.02s) - --- PASS: TestCheckStatusFromServer/server_url_is_not_http (0.00s) - --- PASS: TestCheckStatusFromServer/request_error (0.00s) - --- PASS: TestCheckStatusFromServer/ocsp_expired (0.02s) - --- PASS: TestCheckStatusFromServer/ocsp_request_roundtrip_failed (0.00s) - --- PASS: TestCheckStatusFromServer/ocsp_request_roundtrip_timeout (0.00s) -=== RUN TestPostRequest -=== RUN TestPostRequest/failed_to_generate_request -=== RUN TestPostRequest/failed_to_execute_request ---- PASS: TestPostRequest (0.00s) - --- PASS: TestPostRequest/failed_to_generate_request (0.00s) - --- PASS: TestPostRequest/failed_to_execute_request (0.00s) -=== RUN TestExecuteOCSPCheck -=== RUN TestExecuteOCSPCheck/http_response_status_is_not_200 ---- PASS: TestExecuteOCSPCheck (0.00s) - --- PASS: TestExecuteOCSPCheck/http_response_status_is_not_200 (0.00s) -PASS -ok github.com/notaryproject/notation-core-go/revocation/internal/ocsp 7.061s -=== RUN TestFindExtensionByOID -=== RUN TestFindExtensionByOID/Extension_found -=== RUN TestFindExtensionByOID/Extension_not_found ---- PASS: TestFindExtensionByOID (0.00s) - --- PASS: TestFindExtensionByOID/Extension_found (0.00s) - --- PASS: TestFindExtensionByOID/Extension_not_found (0.00s) -=== RUN TestValidate -=== RUN TestValidate/unsupported_certificate_chain_purpose -=== RUN TestValidate/invalid_code_signing_certificate_chain -=== RUN TestValidate/invalid_timestamping_certificate_chain -=== RUN TestValidate/valid_code_signing_certificate_chain ---- PASS: TestValidate (12.20s) - --- PASS: TestValidate/unsupported_certificate_chain_purpose (0.00s) - --- PASS: TestValidate/invalid_code_signing_certificate_chain (0.00s) - --- PASS: TestValidate/invalid_timestamping_certificate_chain (0.00s) - --- PASS: TestValidate/valid_code_signing_certificate_chain (12.20s) -PASS -ok github.com/notaryproject/notation-core-go/revocation/internal/x509util 12.256s -=== RUN TestCheckStatusForSelfSignedCert ---- PASS: TestCheckStatusForSelfSignedCert (0.67s) -=== RUN TestCheckStatusForRootCert ---- PASS: TestCheckStatusForRootCert (15.16s) -=== RUN TestCheckStatusForNonSelfSignedSingleCert ---- PASS: TestCheckStatusForNonSelfSignedSingleCert (0.00s) -=== RUN TestCheckStatusForChain -=== RUN TestCheckStatusForChain/empty_chain -=== RUN TestCheckStatusForChain/check_non-revoked_chain -=== RUN TestCheckStatusForChain/check_chain_with_1_Unknown_cert -=== RUN TestCheckStatusForChain/check_OCSP_with_1_revoked_cert -=== RUN TestCheckStatusForChain/check_OCSP_with_1_unknown_and_1_revoked_cert -=== RUN TestCheckStatusForChain/check_OCSP_with_1_future_revoked_cert -=== 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 (4.99s) - --- PASS: TestCheckStatusForChain/empty_chain (0.00s) - --- PASS: TestCheckStatusForChain/check_non-revoked_chain (0.07s) - --- PASS: TestCheckStatusForChain/check_chain_with_1_Unknown_cert (0.05s) - --- PASS: TestCheckStatusForChain/check_OCSP_with_1_revoked_cert (0.05s) - --- PASS: TestCheckStatusForChain/check_OCSP_with_1_unknown_and_1_revoked_cert (0.07s) - --- PASS: TestCheckStatusForChain/check_OCSP_with_1_future_revoked_cert (0.07s) - --- PASS: TestCheckStatusForChain/check_OCSP_with_1_unknown_and_1_future_revoked_cert (0.05s) - --- PASS: TestCheckStatusForChain/check_OCSP_with_1_revoked_cert_before_signing_time (0.06s) - --- PASS: TestCheckStatusForChain/check_OCSP_with_1_revoked_cert_after_zero_signing_time (0.05s) -=== RUN TestCheckStatusErrors -=== RUN TestCheckStatusErrors/no_OCSPServer_specified -=== RUN TestCheckStatusErrors/chain_missing_root -=== RUN TestCheckStatusErrors/backwards_chain -=== RUN TestCheckStatusErrors/check_codesigning_cert_with_PurposeTimestamping -=== RUN TestCheckStatusErrors/check_with_default_CertChainPurpose -=== RUN TestCheckStatusErrors/check_with_unknwon_CertChainPurpose -=== RUN TestCheckStatusErrors/timeout -=== RUN TestCheckStatusErrors/expired_ocsp_response -=== RUN TestCheckStatusErrors/pkixNoCheck_missing -=== RUN TestCheckStatusErrors/non-HTTP_URI_error ---- PASS: TestCheckStatusErrors (7.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.01s) - --- PASS: TestCheckStatusErrors/check_with_unknwon_CertChainPurpose (0.00s) - --- PASS: TestCheckStatusErrors/timeout (0.00s) - --- PASS: TestCheckStatusErrors/expired_ocsp_response (0.03s) - --- PASS: TestCheckStatusErrors/pkixNoCheck_missing (0.03s) - --- PASS: TestCheckStatusErrors/non-HTTP_URI_error (0.02s) -=== RUN TestCheckOCSPInvalidChain -=== RUN TestCheckOCSPInvalidChain/chain_missing_intermediate -=== RUN TestCheckOCSPInvalidChain/chain_out_of_order ---- PASS: TestCheckOCSPInvalidChain (0.75s) - --- 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 28.834s -? github.com/notaryproject/notation-core-go/revocation/purpose [no test files] -=== RUN TestInvalidChainError -=== RUN TestInvalidChainError/without_inner_error -=== RUN TestInvalidChainError/inner_error ---- PASS: TestInvalidChainError (0.00s) - --- PASS: TestInvalidChainError/without_inner_error (0.00s) - --- PASS: TestInvalidChainError/inner_error (0.00s) -=== RUN TestResultString -=== RUN TestResultString/ok -=== RUN TestResultString/non-revokable -=== RUN TestResultString/unknown -=== RUN TestResultString/revoked -=== RUN TestResultString/invalid_result ---- PASS: TestResultString (0.00s) - --- PASS: TestResultString/ok (0.00s) - --- PASS: TestResultString/non-revokable (0.00s) - --- PASS: TestResultString/unknown (0.00s) - --- PASS: TestResultString/revoked (0.00s) - --- PASS: TestResultString/invalid_result (0.00s) -=== RUN TestMethodString -=== RUN TestMethodString/OCSP -=== RUN TestMethodString/CRL -=== RUN TestMethodString/OCSPFallbackCRL -=== RUN TestMethodString/Unknown ---- PASS: TestMethodString (0.00s) - --- PASS: TestMethodString/OCSP (0.00s) - --- PASS: TestMethodString/CRL (0.00s) - --- PASS: TestMethodString/OCSPFallbackCRL (0.00s) - --- PASS: TestMethodString/Unknown (0.00s) -=== RUN TestNewServerResult ---- PASS: TestNewServerResult (0.00s) -PASS -ok github.com/notaryproject/notation-core-go/revocation/result 0.022s -=== RUN TestExtractKeySpec -=== RUN TestExtractKeySpec/RSA_wrong_size -=== RUN TestExtractKeySpec/ECDSA_wrong_size -=== RUN TestExtractKeySpec/Unsupported_type -=== RUN TestExtractKeySpec/RSA_2048 -=== RUN TestExtractKeySpec/RSA_3072 -=== RUN TestExtractKeySpec/RSA_4096 -=== RUN TestExtractKeySpec/EC_256 -=== RUN TestExtractKeySpec/EC_384 -=== RUN TestExtractKeySpec/EC_521 ---- PASS: TestExtractKeySpec (16.29s) - --- PASS: TestExtractKeySpec/RSA_wrong_size (0.00s) - --- PASS: TestExtractKeySpec/ECDSA_wrong_size (0.00s) - --- PASS: TestExtractKeySpec/Unsupported_type (0.00s) - --- PASS: TestExtractKeySpec/RSA_2048 (0.00s) - --- PASS: TestExtractKeySpec/RSA_3072 (0.00s) - --- PASS: TestExtractKeySpec/RSA_4096 (0.00s) - --- PASS: TestExtractKeySpec/EC_256 (0.00s) - --- PASS: TestExtractKeySpec/EC_384 (0.00s) - --- PASS: TestExtractKeySpec/EC_521 (0.00s) -=== RUN TestRegisterEnvelopeType -=== RUN TestRegisterEnvelopeType/nil_newFunc -=== RUN TestRegisterEnvelopeType/nil_newParseFunc -=== RUN TestRegisterEnvelopeType/valid_funcs ---- PASS: TestRegisterEnvelopeType (0.00s) - --- PASS: TestRegisterEnvelopeType/nil_newFunc (0.00s) - --- PASS: TestRegisterEnvelopeType/nil_newParseFunc (0.00s) - --- PASS: TestRegisterEnvelopeType/valid_funcs (0.00s) -=== RUN TestRegisteredEnvelopeTypes -=== RUN TestRegisteredEnvelopeTypes/empty_map -=== RUN TestRegisteredEnvelopeTypes/nonempty_map ---- PASS: TestRegisteredEnvelopeTypes (0.00s) - --- PASS: TestRegisteredEnvelopeTypes/empty_map (0.00s) - --- PASS: TestRegisteredEnvelopeTypes/nonempty_map (0.00s) -=== RUN TestNewEnvelope -=== RUN TestNewEnvelope/unsupported_media_type -=== RUN TestNewEnvelope/valid_media_type ---- PASS: TestNewEnvelope (0.00s) - --- PASS: TestNewEnvelope/unsupported_media_type (0.00s) - --- PASS: TestNewEnvelope/valid_media_type (0.00s) -=== RUN TestParseEnvelope -=== RUN TestParseEnvelope/unsupported_media_type -=== RUN TestParseEnvelope/valid_media_type ---- PASS: TestParseEnvelope (0.00s) - --- PASS: TestParseEnvelope/unsupported_media_type (0.00s) - --- PASS: TestParseEnvelope/valid_media_type (0.00s) -=== RUN TestSignatureIntegrityError ---- PASS: TestSignatureIntegrityError (0.00s) -=== RUN TestInvalidSignatureError -=== RUN TestInvalidSignatureError/err_msg_set -=== RUN TestInvalidSignatureError/err_msg_not_set ---- PASS: TestInvalidSignatureError (0.00s) - --- PASS: TestInvalidSignatureError/err_msg_set (0.00s) - --- PASS: TestInvalidSignatureError/err_msg_not_set (0.00s) -=== RUN TestUnsupportedSignatureFormatError ---- PASS: TestUnsupportedSignatureFormatError (0.00s) -=== RUN TestUnsupportedSigningKeyError -=== RUN TestUnsupportedSigningKeyError/err_msg_set -=== RUN TestUnsupportedSigningKeyError/err_msg_not_set ---- PASS: TestUnsupportedSigningKeyError (0.00s) - --- PASS: TestUnsupportedSigningKeyError/err_msg_set (0.00s) - --- PASS: TestUnsupportedSigningKeyError/err_msg_not_set (0.00s) -=== RUN TestInvalidArgumentError ---- PASS: TestInvalidArgumentError (0.00s) -=== RUN TestUnsupportedSignatureAlgoError ---- PASS: TestUnsupportedSignatureAlgoError (0.00s) -=== RUN TestInvalidSignRequestError ---- PASS: TestInvalidSignRequestError (0.00s) -=== RUN TestInvalidArgumentError_Unwrap ---- PASS: TestInvalidArgumentError_Unwrap (0.00s) -=== RUN TestSignatureEnvelopeNotFoundError ---- PASS: TestSignatureEnvelopeNotFoundError (0.00s) -=== RUN TestSignatureAuthenticityError ---- PASS: TestSignatureAuthenticityError (0.00s) -=== RUN TestEnvelopeKeyRepeatedError ---- PASS: TestEnvelopeKeyRepeatedError (0.00s) -=== RUN TestTimestampError ---- PASS: TestTimestampError (0.00s) -=== RUN TestNewLocalSigner -=== RUN TestNewLocalSigner/empty_certs -=== RUN TestNewLocalSigner/unsupported_leaf_cert -=== RUN TestNewLocalSigner/keys_not_match -=== RUN TestNewLocalSigner/keys_not_match#01 -=== RUN TestNewLocalSigner/RSA_keys_match -=== RUN TestNewLocalSigner/EC_keys_match ---- PASS: TestNewLocalSigner (0.00s) - --- PASS: TestNewLocalSigner/empty_certs (0.00s) - --- PASS: TestNewLocalSigner/unsupported_leaf_cert (0.00s) - --- PASS: TestNewLocalSigner/keys_not_match (0.00s) - --- PASS: TestNewLocalSigner/keys_not_match#01 (0.00s) - --- PASS: TestNewLocalSigner/RSA_keys_match (0.00s) - --- PASS: TestNewLocalSigner/EC_keys_match (0.00s) -=== RUN TestSign ---- PASS: TestSign (0.00s) -=== RUN TestKeySpec ---- PASS: TestKeySpec (0.00s) -=== RUN TestCertificateChain ---- PASS: TestCertificateChain (0.00s) -=== RUN TestPrivateKey ---- PASS: TestPrivateKey (0.00s) -=== RUN TestVerifyAuthenticity -=== RUN TestVerifyAuthenticity/empty_certs -=== RUN TestVerifyAuthenticity/nil_signerInfo -=== RUN TestVerifyAuthenticity/no_cert_matches -=== RUN TestVerifyAuthenticity/cert_matches ---- PASS: TestVerifyAuthenticity (0.00s) - --- PASS: TestVerifyAuthenticity/empty_certs (0.00s) - --- PASS: TestVerifyAuthenticity/nil_signerInfo (0.00s) - --- PASS: TestVerifyAuthenticity/no_cert_matches (0.00s) - --- PASS: TestVerifyAuthenticity/cert_matches (0.00s) -=== RUN TestSignRequestContext ---- PASS: TestSignRequestContext (0.00s) -=== RUN TestSignRequestWithContext ---- PASS: TestSignRequestWithContext (0.00s) -=== RUN TestAuthenticSigningTime ---- PASS: TestAuthenticSigningTime (0.00s) -PASS -ok github.com/notaryproject/notation-core-go/signature 16.317s -=== RUN TestConformance ---- PASS: TestConformance (6.31s) -=== RUN TestParseEnvelopeError ---- PASS: TestParseEnvelopeError (0.00s) -=== RUN TestSign -=== RUN TestSign/with_notary.x509_scheme,_1_keyType,_2048_keySize_when_all_arguments_are_present -=== RUN TestSign/with_notary.x509_scheme,_1_keyType,_2048_keySize_when_minimal_arguments_are_present -=== RUN TestSign/with_notary.x509_scheme,_1_keyType,_2048_keySize_when_expiry_is_not_present -=== RUN TestSign/with_notary.x509_scheme,_1_keyType,_2048_keySize_when_signingAgent_is_not_present -=== RUN TestSign/with_notary.x509_scheme,_1_keyType,_2048_keySize_when_extended_signed_attributes_are_not_present -=== RUN TestSign/with_notary.x509_scheme,_1_keyType,_3072_keySize_when_all_arguments_are_present -=== RUN TestSign/with_notary.x509_scheme,_1_keyType,_3072_keySize_when_minimal_arguments_are_present -=== RUN TestSign/with_notary.x509_scheme,_1_keyType,_3072_keySize_when_expiry_is_not_present -=== RUN TestSign/with_notary.x509_scheme,_1_keyType,_3072_keySize_when_signingAgent_is_not_present -=== RUN TestSign/with_notary.x509_scheme,_1_keyType,_3072_keySize_when_extended_signed_attributes_are_not_present -=== RUN TestSign/with_notary.x509_scheme,_1_keyType,_4096_keySize_when_all_arguments_are_present -=== RUN TestSign/with_notary.x509_scheme,_1_keyType,_4096_keySize_when_minimal_arguments_are_present -=== RUN TestSign/with_notary.x509_scheme,_1_keyType,_4096_keySize_when_expiry_is_not_present -=== RUN TestSign/with_notary.x509_scheme,_1_keyType,_4096_keySize_when_signingAgent_is_not_present -=== RUN TestSign/with_notary.x509_scheme,_1_keyType,_4096_keySize_when_extended_signed_attributes_are_not_present -=== RUN TestSign/with_notary.x509_scheme,_2_keyType,_256_keySize_when_all_arguments_are_present -=== RUN TestSign/with_notary.x509_scheme,_2_keyType,_256_keySize_when_minimal_arguments_are_present -=== RUN TestSign/with_notary.x509_scheme,_2_keyType,_256_keySize_when_expiry_is_not_present -=== RUN TestSign/with_notary.x509_scheme,_2_keyType,_256_keySize_when_signingAgent_is_not_present -=== RUN TestSign/with_notary.x509_scheme,_2_keyType,_256_keySize_when_extended_signed_attributes_are_not_present -=== RUN TestSign/with_notary.x509_scheme,_2_keyType,_384_keySize_when_all_arguments_are_present -=== RUN TestSign/with_notary.x509_scheme,_2_keyType,_384_keySize_when_minimal_arguments_are_present -=== RUN TestSign/with_notary.x509_scheme,_2_keyType,_384_keySize_when_expiry_is_not_present -=== RUN TestSign/with_notary.x509_scheme,_2_keyType,_384_keySize_when_signingAgent_is_not_present -=== RUN TestSign/with_notary.x509_scheme,_2_keyType,_384_keySize_when_extended_signed_attributes_are_not_present -=== RUN TestSign/with_notary.x509_scheme,_2_keyType,_521_keySize_when_all_arguments_are_present -=== RUN TestSign/with_notary.x509_scheme,_2_keyType,_521_keySize_when_minimal_arguments_are_present -=== RUN TestSign/with_notary.x509_scheme,_2_keyType,_521_keySize_when_expiry_is_not_present -=== RUN TestSign/with_notary.x509_scheme,_2_keyType,_521_keySize_when_signingAgent_is_not_present -=== RUN TestSign/with_notary.x509_scheme,_2_keyType,_521_keySize_when_extended_signed_attributes_are_not_present -=== RUN TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_2048_keySize_when_all_arguments_are_present -=== RUN TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_2048_keySize_when_minimal_arguments_are_present -=== RUN TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_2048_keySize_when_expiry_is_not_present -=== RUN TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_2048_keySize_when_signingAgent_is_not_present -=== RUN TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_2048_keySize_when_extended_signed_attributes_are_not_present -=== RUN TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize_when_all_arguments_are_present -=== RUN TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize_when_minimal_arguments_are_present -=== RUN TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize_when_expiry_is_not_present -=== RUN TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize_when_signingAgent_is_not_present -=== RUN TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize_when_extended_signed_attributes_are_not_present -=== RUN TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize_when_all_arguments_are_present -=== RUN TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize_when_minimal_arguments_are_present -=== RUN TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize_when_expiry_is_not_present -=== RUN TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize_when_signingAgent_is_not_present -=== RUN TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize_when_extended_signed_attributes_are_not_present -=== RUN TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_256_keySize_when_all_arguments_are_present -=== RUN TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_256_keySize_when_minimal_arguments_are_present -=== RUN TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_256_keySize_when_expiry_is_not_present -=== RUN TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_256_keySize_when_signingAgent_is_not_present -=== RUN TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_256_keySize_when_extended_signed_attributes_are_not_present -=== RUN TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_384_keySize_when_all_arguments_are_present -=== RUN TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_384_keySize_when_minimal_arguments_are_present -=== RUN TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_384_keySize_when_expiry_is_not_present -=== RUN TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_384_keySize_when_signingAgent_is_not_present -=== RUN TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_384_keySize_when_extended_signed_attributes_are_not_present -=== RUN TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_521_keySize_when_all_arguments_are_present -=== RUN TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_521_keySize_when_minimal_arguments_are_present -=== RUN TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_521_keySize_when_expiry_is_not_present -=== 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_timestamp_countersignature_request - envelope_test.go:151: Failed to connect to http://timestamp.digicert.com: timestamp: Post "http://timestamp.digicert.com": dial tcp: lookup timestamp.digicert.com on [::1]:53: read udp [::1]:38143->[::1]:53: read: connection refused ---- PASS: TestSign (83.89s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_2048_keySize_when_all_arguments_are_present (0.44s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_2048_keySize_when_minimal_arguments_are_present (2.64s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_2048_keySize_when_expiry_is_not_present (0.23s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_2048_keySize_when_signingAgent_is_not_present (0.85s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_2048_keySize_when_extended_signed_attributes_are_not_present (0.44s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_3072_keySize_when_all_arguments_are_present (0.26s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_3072_keySize_when_minimal_arguments_are_present (3.70s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_3072_keySize_when_expiry_is_not_present (3.01s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_3072_keySize_when_signingAgent_is_not_present (4.00s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_3072_keySize_when_extended_signed_attributes_are_not_present (4.19s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_4096_keySize_when_all_arguments_are_present (7.18s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_4096_keySize_when_minimal_arguments_are_present (6.67s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_4096_keySize_when_expiry_is_not_present (7.36s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_4096_keySize_when_signingAgent_is_not_present (6.46s) - --- PASS: TestSign/with_notary.x509_scheme,_1_keyType,_4096_keySize_when_extended_signed_attributes_are_not_present (1.27s) - --- 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) - --- PASS: TestSign/with_notary.x509_scheme,_2_keyType,_256_keySize_when_signingAgent_is_not_present (0.00s) - --- PASS: TestSign/with_notary.x509_scheme,_2_keyType,_256_keySize_when_extended_signed_attributes_are_not_present (0.00s) - --- PASS: TestSign/with_notary.x509_scheme,_2_keyType,_384_keySize_when_all_arguments_are_present (0.00s) - --- PASS: TestSign/with_notary.x509_scheme,_2_keyType,_384_keySize_when_minimal_arguments_are_present (0.00s) - --- PASS: TestSign/with_notary.x509_scheme,_2_keyType,_384_keySize_when_expiry_is_not_present (0.00s) - --- PASS: TestSign/with_notary.x509_scheme,_2_keyType,_384_keySize_when_signingAgent_is_not_present (0.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.05s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_2048_keySize_when_minimal_arguments_are_present (0.93s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_2048_keySize_when_expiry_is_not_present (1.04s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_2048_keySize_when_signingAgent_is_not_present (0.77s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_2048_keySize_when_extended_signed_attributes_are_not_present (0.40s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize_when_all_arguments_are_present (1.89s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize_when_minimal_arguments_are_present (1.52s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize_when_expiry_is_not_present (3.58s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize_when_signingAgent_is_not_present (1.23s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize_when_extended_signed_attributes_are_not_present (2.29s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize_when_all_arguments_are_present (5.28s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize_when_minimal_arguments_are_present (2.66s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize_when_expiry_is_not_present (1.67s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize_when_signingAgent_is_not_present (3.89s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize_when_extended_signed_attributes_are_not_present (5.14s) - --- 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) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_256_keySize_when_signingAgent_is_not_present (0.00s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_256_keySize_when_extended_signed_attributes_are_not_present (0.00s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_384_keySize_when_all_arguments_are_present (0.00s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_384_keySize_when_minimal_arguments_are_present (0.00s) - --- PASS: TestSign/with_notary.x509.signingAuthority_scheme,_2_keyType,_384_keySize_when_expiry_is_not_present (0.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_timestamp_countersignature_request (2.75s) -=== RUN TestSignErrors -=== RUN TestSignErrors/errorLocalSigner:_when_getSigner_has_privateKeyError -=== RUN TestSignErrors/errorLocalSigner:_when_getSigner_has_keySpecError -=== RUN TestSignErrors/errorLocalSigner:_when_getSigner_has_algError -=== RUN TestSignErrors/errorRemoteSigner:_when_getSigner_has_keySpecError -=== RUN TestSignErrors/errorRemoteSigner:_when_getSigner_has_algError -=== RUN TestSignErrors/errorRemoteSigner:_when_getSigner_has_algError_and_wantEC -=== RUN TestSignErrors/errorRemoteSigner:_when_getSigner_has_keyTypeError -=== RUN TestSignErrors/when_signingScheme_is_absent -=== RUN TestSignErrors/when_an_extended_signed_attribute_already_exists_in_the_protected_header -=== RUN TestSignErrors/when_signer_has_signError -=== RUN TestSignErrors/when_signer_returns_empty_signature -=== RUN TestSignErrors/errorLocalSigner:_when_signer_has_certificateChainError -=== RUN TestSignErrors/when_invalid_tsa_url_is_provided ---- PASS: TestSignErrors (19.65s) - --- PASS: TestSignErrors/errorLocalSigner:_when_getSigner_has_privateKeyError (0.51s) - --- PASS: TestSignErrors/errorLocalSigner:_when_getSigner_has_keySpecError (0.68s) - --- PASS: TestSignErrors/errorLocalSigner:_when_getSigner_has_algError (0.15s) - --- PASS: TestSignErrors/errorRemoteSigner:_when_getSigner_has_keySpecError (0.63s) - --- PASS: TestSignErrors/errorRemoteSigner:_when_getSigner_has_algError (1.74s) - --- PASS: TestSignErrors/errorRemoteSigner:_when_getSigner_has_algError_and_wantEC (1.15s) - --- PASS: TestSignErrors/errorRemoteSigner:_when_getSigner_has_keyTypeError (1.55s) - --- PASS: TestSignErrors/when_signingScheme_is_absent (2.78s) - --- PASS: TestSignErrors/when_an_extended_signed_attribute_already_exists_in_the_protected_header (3.32s) - --- PASS: TestSignErrors/when_signer_has_signError (0.84s) - --- PASS: TestSignErrors/when_signer_returns_empty_signature (1.28s) - --- PASS: TestSignErrors/errorLocalSigner:_when_signer_has_certificateChainError (2.81s) - --- PASS: TestSignErrors/when_invalid_tsa_url_is_provided (2.22s) -=== RUN TestVerifyErrors -=== RUN TestVerifyErrors/when_signature_envelope_is_not_present -=== RUN TestVerifyErrors/when_COSE_envelope_has_invalid_certificate_chain -=== RUN TestVerifyErrors/when_COSE_envelope_leaf_certificate_has_wrong_type -=== RUN TestVerifyErrors/when_COSE_envelope_has_malformed_leaf_certificate -=== RUN TestVerifyErrors/when_getSignatureAlgorithm_fails_due_to_unsupported_public_key -=== RUN TestVerifyErrors/when_tempered_signature_envelope_is_provided -=== RUN TestVerifyErrors/when_get_payload_fails -=== RUN TestVerifyErrors/when_get_signerInfo_fails ---- PASS: TestVerifyErrors (10.55s) - --- PASS: TestVerifyErrors/when_signature_envelope_is_not_present (0.00s) - --- PASS: TestVerifyErrors/when_COSE_envelope_has_invalid_certificate_chain (0.67s) - --- PASS: TestVerifyErrors/when_COSE_envelope_leaf_certificate_has_wrong_type (0.84s) - --- PASS: TestVerifyErrors/when_COSE_envelope_has_malformed_leaf_certificate (0.89s) - --- PASS: TestVerifyErrors/when_getSignatureAlgorithm_fails_due_to_unsupported_public_key (0.90s) - --- PASS: TestVerifyErrors/when_tempered_signature_envelope_is_provided (2.15s) - --- PASS: TestVerifyErrors/when_get_payload_fails (3.16s) - --- PASS: TestVerifyErrors/when_get_signerInfo_fails (1.93s) -=== 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 (8.11s) - --- PASS: TestPayloadErrors/when_env.base_is_nil (0.27s) - --- PASS: TestPayloadErrors/when_missing_content_type (3.14s) - --- PASS: TestPayloadErrors/when_content_type_has_wrong_type (4.70s) -=== RUN TestSignerInfoErrors -=== RUN TestSignerInfoErrors/when_signature_missing_in_COSE_envelope -=== RUN TestSignerInfoErrors/when_COSE_envelope_protected_header_has_empty_crit -=== RUN TestSignerInfoErrors/when_COSE_envelope_protected_header_has_invalid_crit -=== RUN TestSignerInfoErrors/when_COSE_envelope_protected_header_signingScheme_has_wrong_type -=== RUN TestSignerInfoErrors/when_COSE_envelope_has_required_headers_that_are_not_marked_as_critical -=== RUN TestSignerInfoErrors/when_COSE_envelope_protected_header_missing_algorithm -=== RUN TestSignerInfoErrors/when_COSE_envelope_protected_header_has_unsupported_algorithm -=== RUN TestSignerInfoErrors/when_COSE_envelope_protected_header_has_unsupported_signingScheme -=== RUN TestSignerInfoErrors/when_parseTime_has_Tag0_signingTime -=== RUN TestSignerInfoErrors/when_parseTime_has_Tag0_expiry -=== RUN TestSignerInfoErrors/when_parseTime_fails_at_headerMap_missing_signgingTime -=== RUN TestSignerInfoErrors/when_parseTime_fails_at_signgingTime_tag_validation -=== RUN TestSignerInfoErrors/when_parseTime_fails_at_expiry_tag_validation -=== RUN TestSignerInfoErrors/when_decodeTime_fails -=== RUN TestSignerInfoErrors/when_COSE_envelope_protected_header_has_invalid_signingTime -=== RUN TestSignerInfoErrors/when_COSE_envelope_protected_header_missing_signingTime -=== RUN TestSignerInfoErrors/when_COSE_envelope_protected_header_has_invalid_expiry -=== 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 (32.81s) - --- PASS: TestSignerInfoErrors/when_signature_missing_in_COSE_envelope (0.95s) - --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_has_empty_crit (0.24s) - --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_has_invalid_crit (3.73s) - --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_signingScheme_has_wrong_type (0.72s) - --- PASS: TestSignerInfoErrors/when_COSE_envelope_has_required_headers_that_are_not_marked_as_critical (1.39s) - --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_missing_algorithm (2.37s) - --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_has_unsupported_algorithm (1.73s) - --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_has_unsupported_signingScheme (1.11s) - --- PASS: TestSignerInfoErrors/when_parseTime_has_Tag0_signingTime (0.58s) - --- PASS: TestSignerInfoErrors/when_parseTime_has_Tag0_expiry (4.43s) - --- PASS: TestSignerInfoErrors/when_parseTime_fails_at_headerMap_missing_signgingTime (1.80s) - --- PASS: TestSignerInfoErrors/when_parseTime_fails_at_signgingTime_tag_validation (0.79s) - --- PASS: TestSignerInfoErrors/when_parseTime_fails_at_expiry_tag_validation (2.55s) - --- PASS: TestSignerInfoErrors/when_decodeTime_fails (1.47s) - --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_has_invalid_signingTime (1.52s) - --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_missing_signingTime (1.16s) - --- PASS: TestSignerInfoErrors/when_COSE_envelope_protected_header_has_invalid_expiry (2.22s) - --- PASS: TestSignerInfoErrors/when_COSE_envelope_has_invalid_certificate_chain (0.69s) - --- PASS: TestSignerInfoErrors/when_COSE_envelope_leaf_certificate_has_wrong_type (1.91s) - --- PASS: TestSignerInfoErrors/when_COSE_envelope_has_malformed_leaf_certificate (1.46s) -=== RUN TestSignAndVerify -=== RUN TestSignAndVerify/with_notary.x509_scheme,_1_keyType,_2048_keySize -=== RUN TestSignAndVerify/with_notary.x509_scheme,_1_keyType,_3072_keySize -=== RUN TestSignAndVerify/with_notary.x509_scheme,_1_keyType,_4096_keySize -=== RUN TestSignAndVerify/with_notary.x509_scheme,_2_keyType,_256_keySize -=== RUN TestSignAndVerify/with_notary.x509_scheme,_2_keyType,_384_keySize -=== RUN TestSignAndVerify/with_notary.x509_scheme,_2_keyType,_521_keySize -=== RUN TestSignAndVerify/with_notary.x509.signingAuthority_scheme,_1_keyType,_2048_keySize -=== RUN TestSignAndVerify/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize -=== RUN TestSignAndVerify/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize -=== 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 (18.62s) - --- PASS: TestSignAndVerify/with_notary.x509_scheme,_1_keyType,_2048_keySize (0.94s) - --- PASS: TestSignAndVerify/with_notary.x509_scheme,_1_keyType,_3072_keySize (1.31s) - --- PASS: TestSignAndVerify/with_notary.x509_scheme,_1_keyType,_4096_keySize (5.74s) - --- PASS: TestSignAndVerify/with_notary.x509_scheme,_2_keyType,_256_keySize (0.01s) - --- PASS: TestSignAndVerify/with_notary.x509_scheme,_2_keyType,_384_keySize (0.01s) - --- PASS: TestSignAndVerify/with_notary.x509_scheme,_2_keyType,_521_keySize (0.02s) - --- PASS: TestSignAndVerify/with_notary.x509.signingAuthority_scheme,_1_keyType,_2048_keySize (0.10s) - --- PASS: TestSignAndVerify/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize (0.89s) - --- PASS: TestSignAndVerify/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize (9.56s) - --- PASS: TestSignAndVerify/with_notary.x509.signingAuthority_scheme,_2_keyType,_256_keySize (0.00s) - --- PASS: TestSignAndVerify/with_notary.x509.signingAuthority_scheme,_2_keyType,_384_keySize (0.01s) - --- PASS: TestSignAndVerify/with_notary.x509.signingAuthority_scheme,_2_keyType,_521_keySize (0.02s) -=== RUN TestSignAndParseVerify -=== RUN TestSignAndParseVerify/with_notary.x509_scheme,_1_keyType,_2048_keySize -=== RUN TestSignAndParseVerify/with_notary.x509_scheme,_1_keyType,_3072_keySize -=== RUN TestSignAndParseVerify/with_notary.x509_scheme,_1_keyType,_4096_keySize -=== RUN TestSignAndParseVerify/with_notary.x509_scheme,_2_keyType,_256_keySize -=== RUN TestSignAndParseVerify/with_notary.x509_scheme,_2_keyType,_384_keySize -=== RUN TestSignAndParseVerify/with_notary.x509_scheme,_2_keyType,_521_keySize -=== RUN TestSignAndParseVerify/with_notary.x509.signingAuthority_scheme,_1_keyType,_2048_keySize -=== RUN TestSignAndParseVerify/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize -=== RUN TestSignAndParseVerify/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize -=== 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 (14.82s) - --- PASS: TestSignAndParseVerify/with_notary.x509_scheme,_1_keyType,_2048_keySize (0.81s) - --- PASS: TestSignAndParseVerify/with_notary.x509_scheme,_1_keyType,_3072_keySize (0.15s) - --- PASS: TestSignAndParseVerify/with_notary.x509_scheme,_1_keyType,_4096_keySize (4.10s) - --- PASS: TestSignAndParseVerify/with_notary.x509_scheme,_2_keyType,_256_keySize (0.01s) - --- PASS: TestSignAndParseVerify/with_notary.x509_scheme,_2_keyType,_384_keySize (0.03s) - --- PASS: TestSignAndParseVerify/with_notary.x509_scheme,_2_keyType,_521_keySize (0.03s) - --- PASS: TestSignAndParseVerify/with_notary.x509.signingAuthority_scheme,_1_keyType,_2048_keySize (0.20s) - --- PASS: TestSignAndParseVerify/with_notary.x509.signingAuthority_scheme,_1_keyType,_3072_keySize (0.86s) - --- PASS: TestSignAndParseVerify/with_notary.x509.signingAuthority_scheme,_1_keyType,_4096_keySize (8.59s) - --- 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) -=== RUN TestGenerateExtendedAttributesError ---- PASS: TestGenerateExtendedAttributesError (0.00s) -=== RUN TestHashFunc ---- PASS: TestHashFunc (0.00s) -=== RUN FuzzSignatureCose ---- PASS: FuzzSignatureCose (0.00s) -PASS -ok github.com/notaryproject/notation-core-go/signature/cose 194.796s -=== RUN TestSign -=== RUN TestSign/invalid_request -=== RUN TestSign/internal_envelope_fails_to_sign -=== RUN TestSign/internal_envelope_fails_to_get_content -=== RUN TestSign/invalid_certificate_chain -=== RUN TestSign/successfully_signed -=== RUN TestSign/failed_to_timestamp ---- PASS: TestSign (0.01s) - --- PASS: TestSign/invalid_request (0.00s) - --- PASS: TestSign/internal_envelope_fails_to_sign (0.00s) - --- PASS: TestSign/internal_envelope_fails_to_get_content (0.00s) - --- PASS: TestSign/invalid_certificate_chain (0.00s) - --- PASS: TestSign/successfully_signed (0.00s) - --- PASS: TestSign/failed_to_timestamp (0.00s) -=== RUN TestVerify -=== RUN TestVerify/empty_raw -=== RUN TestVerify/err_returned_by_internal_envelope -=== RUN TestVerify/payload_validation_failed_after_internal_envelope_verfication -=== RUN TestVerify/signerInfo_validation_failed_after_internal_envelope_verfication -=== RUN TestVerify/verify_successfully ---- PASS: TestVerify (0.00s) - --- PASS: TestVerify/empty_raw (0.00s) - --- PASS: TestVerify/err_returned_by_internal_envelope (0.00s) - --- PASS: TestVerify/payload_validation_failed_after_internal_envelope_verfication (0.00s) - --- PASS: TestVerify/signerInfo_validation_failed_after_internal_envelope_verfication (0.00s) - --- PASS: TestVerify/verify_successfully (0.00s) -=== RUN TestContent -=== RUN TestContent/empty_raw -=== RUN TestContent/err_returned_by_internal_envelope -=== RUN TestContent/invalid_payload -=== RUN TestContent/valid_payload_and_invalid_signerInfo -=== RUN TestContent/valid_payload_and_valid_signerInfo ---- PASS: TestContent (0.00s) - --- 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) -=== RUN TestValidateSignRequest -=== RUN TestValidateSignRequest/invalid_payload -=== RUN TestValidateSignRequest/invalid_signing_time -=== RUN TestValidateSignRequest/signer_is_nil -=== RUN TestValidateSignRequest/keySpec_is_empty -=== RUN TestValidateSignRequest/invalid_signing_schema -=== RUN TestValidateSignRequest/valid_request ---- PASS: TestValidateSignRequest (0.00s) - --- PASS: TestValidateSignRequest/invalid_payload (0.00s) - --- PASS: TestValidateSignRequest/invalid_signing_time (0.00s) - --- PASS: TestValidateSignRequest/signer_is_nil (0.00s) - --- PASS: TestValidateSignRequest/keySpec_is_empty (0.00s) - --- PASS: TestValidateSignRequest/invalid_signing_schema (0.00s) - --- PASS: TestValidateSignRequest/valid_request (0.00s) -=== RUN TestValidateSignerInfo -=== RUN TestValidateSignerInfo/empty_signature -=== RUN TestValidateSignerInfo/missing_signature_algorithm -=== RUN TestValidateSignerInfo/invalid_signing_time -=== RUN TestValidateSignerInfo/invalid_signing_schema -=== RUN TestValidateSignerInfo/valid_signerInfo ---- PASS: TestValidateSignerInfo (0.00s) - --- PASS: TestValidateSignerInfo/empty_signature (0.00s) - --- PASS: TestValidateSignerInfo/missing_signature_algorithm (0.00s) - --- PASS: TestValidateSignerInfo/invalid_signing_time (0.00s) - --- PASS: TestValidateSignerInfo/invalid_signing_schema (0.00s) - --- PASS: TestValidateSignerInfo/valid_signerInfo (0.00s) -=== RUN TestValidateSigningTime -=== RUN TestValidateSigningTime/zero_signing_time -=== RUN TestValidateSigningTime/no_expire_time -=== RUN TestValidateSigningTime/expireTime_set_but_invalid ---- PASS: TestValidateSigningTime (0.00s) - --- PASS: TestValidateSigningTime/zero_signing_time (0.00s) - --- PASS: TestValidateSigningTime/no_expire_time (0.00s) - --- PASS: TestValidateSigningTime/expireTime_set_but_invalid (0.00s) -=== RUN TestValidatePayload -=== RUN TestValidatePayload/invalid_payload_content_type -=== RUN TestValidatePayload/payload_content_is_empty -=== RUN TestValidatePayload/valid_payload ---- PASS: TestValidatePayload (0.00s) - --- PASS: TestValidatePayload/invalid_payload_content_type (0.00s) - --- PASS: TestValidatePayload/payload_content_is_empty (0.00s) - --- PASS: TestValidatePayload/valid_payload (0.00s) -=== RUN TestValidateCertificateChain -=== RUN TestValidateCertificateChain/empty_certs -=== RUN TestValidateCertificateChain/invalid_certificates -=== RUN TestValidateCertificateChain/unmatched_signing_algorithm -=== RUN TestValidateCertificateChain/valid_certificate_chain ---- PASS: TestValidateCertificateChain (0.01s) - --- PASS: TestValidateCertificateChain/empty_certs (0.00s) - --- PASS: TestValidateCertificateChain/invalid_certificates (0.01s) - --- PASS: TestValidateCertificateChain/unmatched_signing_algorithm (0.00s) - --- PASS: TestValidateCertificateChain/valid_certificate_chain (0.00s) -=== RUN TestGetSignatureAlgorithm -=== RUN TestGetSignatureAlgorithm/unsupported_cert -=== RUN TestGetSignatureAlgorithm/valid_cert ---- PASS: TestGetSignatureAlgorithm (0.00s) - --- PASS: TestGetSignatureAlgorithm/unsupported_cert (0.00s) - --- PASS: TestGetSignatureAlgorithm/valid_cert (0.00s) -PASS -ok github.com/notaryproject/notation-core-go/signature/internal/base 21.997s -=== RUN TestGetKeySizes -=== RUN TestGetKeySizes/RSA -=== RUN TestGetKeySizes/EC -=== RUN TestGetKeySizes/others ---- PASS: TestGetKeySizes (0.00s) - --- PASS: TestGetKeySizes/RSA (0.00s) - --- PASS: TestGetKeySizes/EC (0.00s) - --- PASS: TestGetKeySizes/others (0.00s) -=== RUN TestGetTestLocalSigner -=== RUN TestGetTestLocalSigner/EC256 -=== RUN TestGetTestLocalSigner/EC384 -=== RUN TestGetTestLocalSigner/EC521 -=== RUN TestGetTestLocalSigner/ECOthers -=== RUN TestGetTestLocalSigner/RSA2048 -=== RUN TestGetTestLocalSigner/RSA3072 -=== RUN TestGetTestLocalSigner/RSA4096 -=== RUN TestGetTestLocalSigner/RSAOthers -=== RUN TestGetTestLocalSigner/Others ---- PASS: TestGetTestLocalSigner (28.03s) - --- PASS: TestGetTestLocalSigner/EC256 (17.83s) - --- PASS: TestGetTestLocalSigner/EC384 (0.00s) - --- PASS: TestGetTestLocalSigner/EC521 (0.03s) - --- PASS: TestGetTestLocalSigner/ECOthers (0.00s) - --- PASS: TestGetTestLocalSigner/RSA2048 (1.92s) - --- PASS: TestGetTestLocalSigner/RSA3072 (1.53s) - --- PASS: TestGetTestLocalSigner/RSA4096 (6.72s) - --- PASS: TestGetTestLocalSigner/RSAOthers (0.00s) - --- PASS: TestGetTestLocalSigner/Others (0.00s) -PASS -ok github.com/notaryproject/notation-core-go/signature/internal/signaturetest 28.056s -=== RUN TestSignedMessageConformance ---- PASS: TestSignedMessageConformance (0.00s) -=== RUN TestVerifyConformance ---- PASS: TestVerifyConformance (0.00s) -=== RUN TestNewEnvelope ---- PASS: TestNewEnvelope (0.00s) -=== RUN TestSignFailed -=== RUN TestSignFailed/extended_attribute_conflict_with_protected_header_keys -=== RUN TestSignFailed/extended_attribute_error_value -=== RUN TestSignFailed/unsupported_sign_algorithm -=== RUN TestSignFailed/invalid_tsa_url ---- 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.03s) - --- PASS: TestSignFailed/invalid_tsa_url (2.28s) -=== 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.10s) - --- PASS: TestSigningScheme/verify_isLocal=true_signingScheme=notary.x509 (0.03s) - --- PASS: TestSigningScheme/verify_isLocal=true_signingScheme=notary.x509.signingAuthority (0.02s) - --- PASS: TestSigningScheme/verify_isLocal=false_signingScheme=notary.x509 (0.03s) - --- PASS: TestSigningScheme/verify_isLocal=false_signingScheme=notary.x509.signingAuthority (0.03s) -=== RUN TestSignVerify -=== RUN TestSignVerify/RSA_2048 -=== RUN TestSignVerify/RSA_3072 -=== RUN TestSignVerify/RSA_4096 -=== RUN TestSignVerify/ECDSA_256 -=== RUN TestSignVerify/ECDSA_384 -=== RUN TestSignVerify/ECDSA_521 ---- PASS: TestSignVerify (7.77s) - --- PASS: TestSignVerify/RSA_2048 (0.45s) - --- PASS: TestSignVerify/RSA_3072 (3.18s) - --- PASS: TestSignVerify/RSA_4096 (4.09s) - --- PASS: TestSignVerify/ECDSA_256 (0.01s) - --- PASS: TestSignVerify/ECDSA_384 (0.01s) - --- PASS: TestSignVerify/ECDSA_521 (0.03s) -=== RUN TestSignWithTimestamp - envelope_test.go:355: Failed to connect to http://timestamp.digicert.com: timestamp: Post "http://timestamp.digicert.com": dial tcp: lookup timestamp.digicert.com on [::1]:53: read udp [::1]:50387->[::1]:53: read: connection refused ---- SKIP: TestSignWithTimestamp (2.40s) -=== RUN TestVerify -=== RUN TestVerify/break_json_format -=== RUN TestVerify/tamper_signature -=== RUN TestVerify/empty_certificate -=== RUN TestVerify/tamper_certificate -=== RUN TestVerify/malformed_protected_header_base64_encoded -=== RUN TestVerify/malformed_protected_header_raw ---- PASS: TestVerify (0.07s) - --- PASS: TestVerify/break_json_format (0.01s) - --- PASS: TestVerify/tamper_signature (0.01s) - --- PASS: TestVerify/empty_certificate (0.01s) - --- PASS: TestVerify/tamper_certificate (0.01s) - --- PASS: TestVerify/malformed_protected_header_base64_encoded (0.01s) - --- PASS: TestVerify/malformed_protected_header_raw (0.01s) -=== RUN TestSignerInfo -=== RUN TestSignerInfo/tamper_protected_header_signing_scheme_X509 -=== RUN TestSignerInfo/tamper_protected_header_signing_scheme_X509_Signing_Authority -=== RUN TestSignerInfo/tamper_protected_header_signing_scheme_X509_Signing_Authority_2 -=== RUN TestSignerInfo/tamper_protected_header_extended_attributes -=== RUN TestSignerInfo/add_protected_header_critical_key -=== RUN TestSignerInfo/empty_critical_section -=== RUN TestSignerInfo/unsupported_algorithm -=== RUN TestSignerInfo/tamper_raw_protected_header_json_format -=== RUN TestSignerInfo/tamper_signature_base64_encoding -=== RUN TestSignerInfo/tamper_empty_signature -=== RUN TestSignerInfo/tamper_cert_chain ---- PASS: TestSignerInfo (0.17s) - --- PASS: TestSignerInfo/tamper_protected_header_signing_scheme_X509 (0.01s) - --- PASS: TestSignerInfo/tamper_protected_header_signing_scheme_X509_Signing_Authority (0.01s) - --- PASS: TestSignerInfo/tamper_protected_header_signing_scheme_X509_Signing_Authority_2 (0.01s) - --- PASS: TestSignerInfo/tamper_protected_header_extended_attributes (0.01s) - --- PASS: TestSignerInfo/add_protected_header_critical_key (0.02s) - --- PASS: TestSignerInfo/empty_critical_section (0.01s) - --- PASS: TestSignerInfo/unsupported_algorithm (0.01s) - --- PASS: TestSignerInfo/tamper_raw_protected_header_json_format (0.02s) - --- PASS: TestSignerInfo/tamper_signature_base64_encoding (0.01s) - --- PASS: TestSignerInfo/tamper_empty_signature (0.02s) - --- PASS: TestSignerInfo/tamper_cert_chain (0.02s) -=== RUN TestPayload -=== RUN TestPayload/tamper_envelope_cause_JWT_parse_failed ---- PASS: TestPayload (0.02s) - --- PASS: TestPayload/tamper_envelope_cause_JWT_parse_failed (0.02s) -=== RUN TestEmptyEnvelope -=== RUN TestEmptyEnvelope/Verify()_with_empty_envelope -=== RUN TestEmptyEnvelope/Payload()_with_empty_envelope -=== RUN TestEmptyEnvelope/SignerInfo()_with_empty_envelope ---- PASS: TestEmptyEnvelope (0.00s) - --- PASS: TestEmptyEnvelope/Verify()_with_empty_envelope (0.00s) - --- PASS: TestEmptyEnvelope/Payload()_with_empty_envelope (0.00s) - --- PASS: TestEmptyEnvelope/SignerInfo()_with_empty_envelope (0.00s) -=== RUN Test_convertToMap -=== RUN Test_convertToMap/invalid_value -=== RUN Test_convertToMap/normal_case ---- PASS: Test_convertToMap (0.00s) - --- PASS: Test_convertToMap/invalid_value (0.00s) - --- PASS: Test_convertToMap/normal_case (0.00s) -=== RUN Test_generateJWSError ---- PASS: Test_generateJWSError (0.00s) -=== RUN Test_getSignatureAlgorithmError ---- PASS: Test_getSignatureAlgorithmError (0.00s) -=== RUN Test_remoteSigningMethod_Verify ---- PASS: Test_remoteSigningMethod_Verify (0.00s) -=== RUN Test_newLocalSigningMethod ---- PASS: Test_newLocalSigningMethod (0.00s) -=== RUN Test_newRemoteSigningMethod ---- PASS: Test_newRemoteSigningMethod (0.00s) -=== RUN Test_remoteSigningMethod_CertificateChain ---- PASS: Test_remoteSigningMethod_CertificateChain (0.00s) -=== RUN Test_remoteSigningMethod_Sign ---- PASS: Test_remoteSigningMethod_Sign (0.00s) -=== RUN Test_extractJwtAlgorithm ---- PASS: Test_extractJwtAlgorithm (0.00s) -=== RUN Test_verifyJWT -=== RUN Test_verifyJWT/invalid_signature ---- PASS: Test_verifyJWT (0.00s) - --- PASS: Test_verifyJWT/invalid_signature (0.00s) -=== RUN FuzzSignatureJws ---- PASS: FuzzSignatureJws (0.00s) -PASS -ok github.com/notaryproject/notation-core-go/signature/jws 28.542s -? github.com/notaryproject/notation-core-go/testhelper [no test files] -=== RUN TestLoadPemFile ---- PASS: TestLoadPemFile (0.00s) -=== RUN TestLoadMultiPemFile ---- PASS: TestLoadMultiPemFile (0.00s) -=== RUN TestLoadDerFile ---- PASS: TestLoadDerFile (0.00s) -=== RUN TestLoadMultiDerFile ---- PASS: TestLoadMultiDerFile (0.00s) -=== RUN TestLoadInvalidFile ---- PASS: TestLoadInvalidFile (0.00s) -=== RUN TestValidCodeSigningChain -=== RUN TestValidCodeSigningChain/cert-chain -=== RUN TestValidCodeSigningChain/self-signed_signing_certificate -=== RUN TestValidCodeSigningChain/RSA_Leaf_certificate_without_EKU -=== RUN TestValidCodeSigningChain/Open_SSL_minimum_certificate ---- PASS: TestValidCodeSigningChain (8.97s) - --- PASS: TestValidCodeSigningChain/cert-chain (0.00s) - --- PASS: TestValidCodeSigningChain/self-signed_signing_certificate (0.00s) - --- PASS: TestValidCodeSigningChain/RSA_Leaf_certificate_without_EKU (0.00s) - --- PASS: TestValidCodeSigningChain/Open_SSL_minimum_certificate (0.00s) -=== RUN TestFailEmptyChain ---- PASS: TestFailEmptyChain (0.00s) -=== RUN TestFailNonSelfSignedLeafCert ---- PASS: TestFailNonSelfSignedLeafCert (0.00s) -=== RUN TestFailSelfIssuedCodeSigningCert ---- PASS: TestFailSelfIssuedCodeSigningCert (1.69s) -=== RUN TestInvalidCodeSigningCertSigningTime ---- PASS: TestInvalidCodeSigningCertSigningTime (6.48s) -=== RUN TestFailInvalidSigningTime ---- PASS: TestFailInvalidSigningTime (0.00s) -=== RUN TestValidateSigningTime -=== RUN TestValidateSigningTime/invalid_before_certificate_period -=== RUN TestValidateSigningTime/invalid_after_certificate_period -=== RUN TestValidateSigningTime/valid_in_certificate_period ---- PASS: TestValidateSigningTime (0.00s) - --- PASS: TestValidateSigningTime/invalid_before_certificate_period (0.00s) - --- PASS: TestValidateSigningTime/invalid_after_certificate_period (0.00s) - --- PASS: TestValidateSigningTime/valid_in_certificate_period (0.00s) -=== RUN TestFailChainNotEndingInRoot ---- PASS: TestFailChainNotEndingInRoot (0.00s) -=== RUN TestFailChainNotOrdered ---- PASS: TestFailChainNotOrdered (0.00s) -=== RUN TestFailChainWithUnrelatedCert ---- PASS: TestFailChainWithUnrelatedCert (0.00s) -=== RUN TestFailChainWithSelfSignedLeafCertificate ---- PASS: TestFailChainWithSelfSignedLeafCertificate (0.00s) -=== RUN TestFailChainWithSelfSignedIntermediateCertificate ---- PASS: TestFailChainWithSelfSignedIntermediateCertificate (0.00s) -=== RUN TestFailInvalidPathLen ---- PASS: TestFailInvalidPathLen (0.00s) -=== RUN TestRootCertIdentified ---- PASS: TestRootCertIdentified (0.00s) -=== RUN TestInvalidSelfSignedSigningCertificate ---- PASS: TestInvalidSelfSignedSigningCertificate (0.00s) -=== RUN TestValidCa ---- PASS: TestValidCa (0.00s) -=== RUN TestFailInvalidPathLenCa ---- PASS: TestFailInvalidPathLenCa (0.00s) -=== RUN TestFailNoBasicConstraintsCa ---- PASS: TestFailNoBasicConstraintsCa (0.00s) -=== RUN TestFailBasicConstraintsNotCa ---- PASS: TestFailBasicConstraintsNotCa (0.00s) -=== RUN TestFailKuNotCriticalCertSignCa ---- PASS: TestFailKuNotCriticalCertSignCa (0.00s) -=== RUN TestFailKuMissingCa ---- PASS: TestFailKuMissingCa (0.00s) -=== RUN TestFailKuNotCertSignCa ---- PASS: TestFailKuNotCertSignCa (0.00s) -=== RUN TestValidNoOptionsLeaf ---- PASS: TestValidNoOptionsLeaf (0.00s) -=== RUN TestFailCaTrueLeaf ---- PASS: TestFailCaTrueLeaf (0.00s) -=== RUN TestFailKuNoDigitalSignatureLeaf ---- PASS: TestFailKuNoDigitalSignatureLeaf (0.00s) -=== RUN TestFailKuWrongValuesLeaf ---- PASS: TestFailKuWrongValuesLeaf (0.00s) -=== RUN TestFailRsaKeyTooSmallLeaf ---- PASS: TestFailRsaKeyTooSmallLeaf (0.00s) -=== RUN TestFailEcdsaKeyTooSmallLeaf ---- PASS: TestFailEcdsaKeyTooSmallLeaf (0.00s) -=== RUN TestValidFullOptionsCodeLeaf ---- PASS: TestValidFullOptionsCodeLeaf (0.00s) -=== RUN TestValidateLeafKeyUsage -=== RUN TestValidateLeafKeyUsage/Valid_DigitalSignature_usage -=== RUN TestValidateLeafKeyUsage/Valid_ContentCommitment_usage -=== RUN TestValidateLeafKeyUsage/Missing_DigitalSignature_usage -=== RUN TestValidateLeafKeyUsage/Invalid_KeyEncipherment_usage -=== RUN TestValidateLeafKeyUsage/Multiple_Invalid_usages ---- 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) - --- PASS: TestValidateLeafKeyUsage/Invalid_KeyEncipherment_usage (0.00s) - --- PASS: TestValidateLeafKeyUsage/Multiple_Invalid_usages (0.00s) -=== RUN TestFailEkuWrongValuesCodeLeaf ---- PASS: TestFailEkuWrongValuesCodeLeaf (0.00s) -=== RUN TestFailEkuMissingCodeSigningLeaf ---- PASS: TestFailEkuMissingCodeSigningLeaf (0.00s) -=== RUN TestValidTimestampingChain ---- PASS: TestValidTimestampingChain (0.01s) -=== RUN TestFailSelfIssuedTimestampingCert ---- PASS: TestFailSelfIssuedTimestampingCert (2.44s) -=== RUN TestInvalidTimestampSelfSignedCert ---- PASS: TestInvalidTimestampSelfSignedCert (0.43s) -=== RUN TestValidTimestampSelfSignedCert ---- PASS: TestValidTimestampSelfSignedCert (0.21s) -=== RUN TestInvalidTimestampingChain ---- PASS: TestInvalidTimestampingChain (0.00s) -=== RUN TestTimestampLeafWithNonCriticalEKU ---- PASS: TestTimestampLeafWithNonCriticalEKU (0.00s) -=== RUN TestFailEkuWrongValuesTimeLeaf ---- PASS: TestFailEkuWrongValuesTimeLeaf (0.00s) -=== RUN TestFailEkuMissingTimestampingLeaf ---- PASS: TestFailEkuMissingTimestampingLeaf (0.00s) -=== RUN TestTimestampingFailNoBasicConstraintsCa ---- PASS: TestTimestampingFailNoBasicConstraintsCa (0.00s) -=== RUN TestTimestampingFailKuMissingCa ---- PASS: TestTimestampingFailKuMissingCa (0.00s) -=== RUN TestTimestampingFailInvalidPathLenCa ---- PASS: TestTimestampingFailInvalidPathLenCa (0.00s) -=== RUN TestTimestampingFailKuNotCertSignCa ---- PASS: TestTimestampingFailKuNotCertSignCa (0.00s) -=== RUN TestTimestampingFailWrongExtendedKeyUsage ---- PASS: TestTimestampingFailWrongExtendedKeyUsage (0.00s) -=== RUN TestValidateTimestampingLeafCertificate ---- PASS: TestValidateTimestampingLeafCertificate (0.00s) -=== RUN TestEkuToString ---- PASS: TestEkuToString (0.00s) -PASS -ok github.com/notaryproject/notation-core-go/x509 20.280s -make[1]: Leaving directory '/build/reproducible-path/golang-github-notaryproject-notation-core-go-1.3.0' +dh: command-omitted: The call to "debian/rules override_dh_auto_test" was omitted due to "DEB_BUILD_OPTIONS=nocheck" create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang dh_prep -O--builddirectory=_build -O--buildsystem=golang @@ -1931,12 +659,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/2212423/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2212423/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/2269619 and its subdirectories -I: Current time: Fri Oct 31 12:29:55 -12 2025 -I: pbuilder-time-stamp: 1761956995 +I: removing directory /srv/workspace/pbuilder/2212423 and its subdirectories +I: Current time: Fri Dec 4 20:54:20 +14 2026 +I: pbuilder-time-stamp: 1796367260