>>> rekor: Building community/rekor 1.2.2-r4 (using abuild 3.12.0-r0) started Sat, 28 Oct 2023 01:02:00 +0000 >>> rekor: Checking sanity of /home/buildozer/aports/community/rekor/APKBUILD... >>> rekor: Analyzing dependencies... >>> rekor: Installing for build: build-base go (1/2) Installing go (1.21.3-r1) (2/2) Installing .makedepends-rekor (20231028.010202) Executing busybox-1.36.1-r13.trigger OK: 619 MiB in 108 packages >>> rekor: Cleaning up srcdir >>> rekor: Cleaning up pkgdir >>> rekor: Cleaning up tmpdir >>> rekor: Fetching https://distfiles.alpinelinux.org/distfiles/v3.19/rekor-1.2.2.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 146 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> rekor: Fetching rekor-1.2.2.tar.gz::https://github.com/sigstore/rekor/archive/v1.2.2.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 104k 0 104k 0 0 80670 0 --:--:-- 0:00:01 --:--:-- 80670 100 933k 0 933k 0 0 584k 0 --:--:-- 0:00:01 --:--:-- 3016k >>> rekor: Fetching https://distfiles.alpinelinux.org/distfiles/v3.19/rekor-1.2.2.tar.gz >>> rekor: Checking sha512sums... rekor-1.2.2.tar.gz: OK >>> rekor: Unpacking /var/cache/distfiles/v3.19/rekor-1.2.2.tar.gz... go: downloading github.com/sigstore/sigstore v1.7.1 go: downloading github.com/go-openapi/strfmt v0.21.7 go: downloading github.com/go-openapi/swag v0.22.4 go: downloading github.com/go-openapi/runtime v0.26.0 go: downloading github.com/go-playground/validator/v10 v10.14.1 go: downloading github.com/mitchellh/go-homedir v1.1.0 go: downloading github.com/spf13/cobra v1.7.0 go: downloading github.com/spf13/pflag v1.0.5 go: downloading github.com/spf13/viper v1.16.0 go: downloading github.com/transparency-dev/merkle v0.0.2 go: downloading sigs.k8s.io/release-utils v0.7.4 go: downloading github.com/sigstore/protobuf-specs v0.1.0 go: downloading github.com/hashicorp/go-cleanhttp v0.5.2 go: downloading github.com/hashicorp/go-retryablehttp v0.7.4 go: downloading github.com/go-openapi/errors v0.20.4 go: downloading github.com/go-chi/chi v4.1.2+incompatible go: downloading go.uber.org/zap v1.24.0 go: downloading github.com/google/trillian v1.5.2 go: downloading sigs.k8s.io/yaml v1.3.0 go: downloading google.golang.org/protobuf v1.31.0 go: downloading github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 go: downloading golang.org/x/sync v0.3.0 go: downloading github.com/blang/semver v3.5.1+incompatible go: downloading github.com/cyberphone/json-canonicalization v0.0.0-20220623050100-57a0ce2678a7 go: downloading github.com/mitchellh/mapstructure v1.5.0 go: downloading golang.org/x/exp v0.0.0-20230321023759-10a507213a29 go: downloading github.com/in-toto/in-toto-golang v0.9.0 go: downloading github.com/veraison/go-cose v1.1.0 go: downloading github.com/secure-systems-lab/go-securesystemslib v0.6.0 go: downloading github.com/sassoftware/relic v7.2.1+incompatible go: downloading github.com/cavaliercoder/go-rpm v0.0.0-20200122174316-8cb9fd9c31a8 go: downloading github.com/theupdateframework/go-tuf v0.5.2 go: downloading golang.org/x/mod v0.11.0 go: downloading github.com/go-openapi/validate v0.22.1 go: downloading github.com/mailru/easyjson v0.7.7 go: downloading gopkg.in/yaml.v3 v3.0.1 go: downloading github.com/oklog/ulid v1.3.1 go: downloading go.mongodb.org/mongo-driver v1.11.3 go: downloading github.com/gabriel-vasile/mimetype v1.4.2 go: downloading github.com/leodido/go-urn v1.2.4 go: downloading github.com/go-playground/universal-translator v0.18.1 go: downloading golang.org/x/crypto v0.10.0 go: downloading golang.org/x/text v0.10.0 go: downloading github.com/opentracing/opentracing-go v1.2.0 go: downloading go.opentelemetry.io/otel v1.14.0 go: downloading go.opentelemetry.io/otel/trace v1.14.0 go: downloading github.com/fsnotify/fsnotify v1.6.0 go: downloading github.com/spf13/cast v1.5.1 go: downloading github.com/spf13/afero v1.9.5 go: downloading github.com/spf13/jwalterweatherman v1.1.0 go: downloading github.com/google/go-containerregistry v0.15.2 go: downloading github.com/jedisct1/go-minisign v0.0.0-20211028175153-1c139d1cc84b go: downloading github.com/common-nighthawk/go-figure v0.0.0-20210622060536-734e95fb86be go: downloading go.uber.org/atomic v1.11.0 go: downloading go.uber.org/multierr v1.11.0 go: downloading gopkg.in/ini.v1 v1.67.0 go: downloading google.golang.org/genproto/googleapis/api v0.0.0-20230530153820-e85fd2cbaebc go: downloading gopkg.in/yaml.v2 v2.4.0 go: downloading google.golang.org/genproto v0.0.0-20230530153820-e85fd2cbaebc go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20230530153820-e85fd2cbaebc go: downloading google.golang.org/grpc v1.56.1 go: downloading github.com/shibumi/go-pathspec v1.3.0 go: downloading golang.org/x/sys v0.9.0 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 go: downloading github.com/pkg/errors v0.9.1 go: downloading github.com/go-openapi/analysis v0.21.4 go: downloading github.com/go-openapi/jsonpointer v0.19.6 go: downloading github.com/go-openapi/loads v0.21.2 go: downloading github.com/go-openapi/spec v0.20.9 go: downloading github.com/josharian/intern v1.0.0 go: downloading github.com/go-playground/locales v0.14.1 go: downloading github.com/go-logr/logr v1.2.3 go: downloading github.com/subosito/gotenv v1.4.2 go: downloading github.com/hashicorp/hcl v1.0.0 go: downloading github.com/magiconair/properties v1.8.7 go: downloading github.com/pelletier/go-toml/v2 v2.0.8 go: downloading github.com/letsencrypt/boulder v0.0.0-20221109233200-85aa52084eaf go: downloading golang.org/x/term v0.9.0 go: downloading github.com/opencontainers/go-digest v1.0.0 go: downloading golang.org/x/net v0.11.0 go: downloading github.com/x448/float16 v0.8.4 go: downloading github.com/go-logr/stdr v1.2.2 go: downloading github.com/go-openapi/jsonreference v0.20.2 go: downloading github.com/golang/protobuf v1.5.3 go: downloading github.com/howeyc/gopass v0.0.0-20210920133722-c8aef6fb66ef go: downloading github.com/zalando/go-keyring v0.2.2 go: downloading github.com/titanous/rocacheck v0.0.0-20171023193734-afe73141d399 go: downloading gopkg.in/square/go-jose.v2 v2.6.0 go: downloading github.com/godbus/dbus/v5 v5.1.0 go: downloading github.com/prometheus/client_golang v1.16.0 go: downloading github.com/redis/go-redis/v9 v9.0.5 go: downloading github.com/rs/cors v1.9.0 go: downloading github.com/docker/go-units v0.5.0 go: downloading github.com/sigstore/sigstore/pkg/signature/kms/aws v1.7.1 go: downloading github.com/sigstore/sigstore/pkg/signature/kms/azure v1.7.1 go: downloading github.com/sigstore/sigstore/pkg/signature/kms/gcp v1.7.1 go: downloading github.com/sigstore/sigstore/pkg/signature/kms/hashivault v1.7.1 go: downloading go.step.sm/crypto v0.32.2 go: downloading gocloud.dev v0.30.0 go: downloading github.com/Azure/azure-sdk-for-go/sdk/azcore v1.6.1 go: downloading github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.3.0 go: downloading github.com/go-jose/go-jose/v3 v3.0.0 go: downloading github.com/jellydator/ttlcache/v3 v3.0.1 go: downloading github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/azkeys v0.12.0 go: downloading github.com/aws/aws-sdk-go-v2 v1.18.1 go: downloading github.com/aws/aws-sdk-go-v2/config v1.18.27 go: downloading github.com/aws/aws-sdk-go-v2/service/kms v1.22.2 go: downloading github.com/prometheus/client_model v0.4.0 go: downloading github.com/prometheus/common v0.42.0 go: downloading github.com/beorn7/perks v1.0.1 go: downloading github.com/cespare/xxhash/v2 v2.2.0 go: downloading github.com/prometheus/procfs v0.10.1 go: downloading github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f go: downloading k8s.io/klog/v2 v2.100.1 go: downloading cloud.google.com/go/kms v1.12.1 go: downloading google.golang.org/api v0.128.0 go: downloading github.com/hashicorp/vault/api v1.9.2 go: downloading github.com/Azure/azure-sdk-for-go/sdk/internal v1.3.0 go: downloading github.com/AzureAD/microsoft-authentication-library-for-go v1.0.0 go: downloading cloud.google.com/go v0.110.2 go: downloading github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/internal v0.8.0 go: downloading go.opencensus.io v0.24.0 go: downloading cloud.google.com/go/compute/metadata v0.2.3 go: downloading cloud.google.com/go/compute v1.20.0 go: downloading cloud.google.com/go/iam v1.1.0 go: downloading cloud.google.com/go/storage v1.30.1 go: downloading github.com/google/wire v0.5.0 go: downloading github.com/googleapis/gax-go/v2 v2.11.0 go: downloading golang.org/x/oauth2 v0.9.0 go: downloading github.com/aws/smithy-go v1.13.5 go: downloading github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.34 go: downloading github.com/aws/aws-sdk-go-v2/credentials v1.13.26 go: downloading github.com/aws/aws-sdk-go-v2/internal/ini v1.3.35 go: downloading github.com/aws/aws-sdk-go-v2/service/sso v1.12.12 go: downloading github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.13.4 go: downloading github.com/aws/aws-sdk-go-v2/service/ssooidc v1.14.12 go: downloading github.com/aws/aws-sdk-go-v2/service/sts v1.19.2 go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.4 go: downloading filippo.io/edwards25519 v1.0.0 go: downloading github.com/kylelemons/godebug v1.1.0 go: downloading github.com/google/uuid v1.3.0 go: downloading github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8 go: downloading github.com/cenkalti/backoff/v3 v3.2.2 go: downloading github.com/hashicorp/errwrap v1.1.0 go: downloading github.com/hashicorp/go-multierror v1.1.1 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 go: downloading github.com/hashicorp/go-secure-stdlib/parseutil v0.1.7 go: downloading github.com/hashicorp/go-secure-stdlib/strutil v0.1.2 go: downloading golang.org/x/time v0.3.0 go: downloading golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 go: downloading github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.28 go: downloading github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.28 go: downloading github.com/golang-jwt/jwt/v4 v4.5.0 go: downloading github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da go: downloading github.com/ryanuber/go-glob v1.0.0 go: downloading github.com/hashicorp/go-sockaddr v1.0.2 go: downloading github.com/google/s2a-go v0.1.4 go: downloading github.com/googleapis/enterprise-certificate-proxy v0.2.5 go: downloading github.com/google/go-cmp v0.5.9 go: downloading google.golang.org/appengine v1.6.7 2023-10-28T01:02:51.697Z DEBUG app/root.go:119 pprof enabled false 2023-10-28T01:02:51.697Z INFO app/root.go:166 Using config file: /home/buildozer/aports/community/rekor/src/rekor-1.2.2/rekor-server.yaml 2023-10-28T01:02:51.716Z DEBUG app/root.go:119 pprof enabled false 2023-10-28T01:02:51.717Z INFO app/root.go:166 Using config file: /home/buildozer/aports/community/rekor/src/rekor-1.2.2/rekor-server.yaml 2023-10-28T01:02:51.735Z DEBUG app/root.go:119 pprof enabled false 2023-10-28T01:02:51.736Z INFO app/root.go:166 Using config file: /home/buildozer/aports/community/rekor/src/rekor-1.2.2/rekor-server.yaml go: downloading github.com/AdamKorcz/go-fuzz-headers-1 v0.0.0-20230618160516-e936619f9f18 go: downloading github.com/sassoftware/relic/v7 v7.5.5 go: downloading go.uber.org/goleak v1.2.1 go: downloading github.com/golang/mock v1.6.0 go: downloading github.com/go-redis/redismock/v9 v9.0.3 go: downloading github.com/davecgh/go-spew v1.1.1 go: downloading software.sslmate.com/src/go-pkcs12 v0.2.0 ? github.com/sigstore/rekor/cmd/backfill-redis [no test files] === RUN TestCover Rekor command line interface tool Usage: rekor-cli [command] Available Commands: completion Generate the autocompletion script for the specified shell get Rekor get command help Help about any command loginfo Rekor loginfo command logproof Rekor logproof command search Rekor search command upload Upload an artifact to Rekor verify Rekor verify command version Prints the version Flags: --config string config file (default is $HOME/.rekor.yaml) --format format Command output format (default default) -h, --help help for rekor-cli --rekor_server url Server address:port (default https://rekor.sigstore.dev) --retry uint Number of times to retry HTTP requests (default 3) --store_tree_state whether to store tree state in between invocations for additional verification (default true) --timeout format HTTP timeout (default 30s) Use "rekor-cli [command] --help" for more information about a command. --- PASS: TestCover (0.00s) PASS ok github.com/sigstore/rekor/cmd/rekor-cli 0.026s ? github.com/sigstore/rekor/cmd/rekor-cli/app/format [no test files] ? github.com/sigstore/rekor/cmd/rekor-cli/app/state [no test files] === RUN TestArtifactPFlags 2023-10-28T01:02:57.389Z ERROR intoto/intoto.go:90 error creating Intoto entry of version (0.0.1): %!w(*errors.errorString=&{only one public key must be provided to verify signature}) github.com/sigstore/rekor/pkg/types/intoto.(*BaseIntotoType).CreateProposedEntry github.com/sigstore/rekor/pkg/types/intoto/intoto.go:90 github.com/sigstore/rekor/pkg/types.NewProposedEntry github.com/sigstore/rekor/pkg/types/entries.go:68 github.com/sigstore/rekor/cmd/rekor-cli/app.TestArtifactPFlags github.com/sigstore/rekor/cmd/rekor-cli/app/pflags_test.go:459 testing.tRunner testing/testing.go:1595 --- PASS: TestArtifactPFlags (0.02s) === RUN TestValidateRekorServerURL --- PASS: TestValidateRekorServerURL (0.00s) === RUN TestValidateRetryCount --- PASS: TestValidateRetryCount (0.00s) === RUN TestSearchPFlags --- PASS: TestSearchPFlags (0.00s) === RUN TestParseTypeFlag --- PASS: TestParseTypeFlag (0.00s) === RUN TestSHA1 --- PASS: TestSHA1 (0.00s) === RUN TestSHA256 --- PASS: TestSHA256 (0.00s) === RUN TestSHA512 --- PASS: TestSHA512 (0.00s) PASS ok github.com/sigstore/rekor/cmd/rekor-cli/app 0.059s 2023-10-28T01:02:59.077Z DEBUG app/root.go:119 pprof enabled false === RUN TestCover Rekor fulfills the signature transparency role of sigstore's software signing infrastructure. It can also be run on its own and is designed to be extensible to work with different manifest schemas and PKI tooling Usage: rekor-server [command] Available Commands: completion Generate the autocompletion script for the specified shell help Help about any command serve start http server with configured api version Prints the version Flags: --attestation_storage_bucket string url for attestation storage bucket --cleanup-timeout duration grace period for which to wait before killing idle connections (default 10s) --config string config file (default is $HOME/.rekor-server.yaml) --enable_attestation_storage enables rich attestation storage --enable_pprof enable pprof for profiling on port 6060 --enable_stable_checkpoint publish stable checkpoints to Redis. When disabled, gossiping may not be possible if the log checkpoint updates too frequently (default true) --enabled_api_endpoints strings list of API endpoints to enable using operationId from openapi.yaml (default [searchIndex,getLogInfo,getPublicKey,getLogProof,createLogEntry,getLogEntryByIndex,getLogEntryByUUID,searchLogQuery]) --graceful-timeout duration grace period for which to wait before shutting down the server (default 15s) -h, --help help for rekor-server --host string the IP to listen on (default "localhost") --keep-alive duration sets the TCP keep-alive timeouts on accepted connections. It prunes dead TCP connections ( e.g. closing laptop mid-download) (default 3m0s) --listen-limit int limit the number of outstanding requests --log_type string logger type to use (dev/prod) (default "dev") --max-header-size byte-size controls the maximum number of bytes the server will read parsing the request header's keys and values, including the request line. It does not limit the size of the request body (default 1MB) --max_apk_metadata_size uint maximum permitted size for apk .SIGN and .PKGINFO files, in bytes; set to 0 for unlimited (default 1048576) --max_attestation_size int max size for attestation storage, in bytes (default 102400) --max_jar_metadata_size uint maximum permitted size for jar META-INF/ files, in bytes; set to 0 for unlimited (default 1048576) --max_request_body_size uint maximum size for HTTP request body, in bytes; set to 0 for unlimited --port uint16 Port to bind to (default 3000) --publish_frequency uint how often to publish a new checkpoint, in minutes (default 5) --read-timeout duration maximum duration before timing out read of the request (default 30s) --redis_server.address string Redis server address (default "127.0.0.1") --redis_server.port uint16 Redis server port (default 6379) --rekor_server.address string Address to bind to (default "127.0.0.1") --rekor_server.hostname string public hostname of instance (default "build-3-19-s390x") --rekor_server.signer string Rekor signer to use. Valid options are: [gcpkms, memory, filename containing PEM encoded private key]. Memory and file-based signers should only be used for testing. (default "memory") --rekor_server.signer-passwd string Password to decrypt signer private key --scheme strings the listeners to enable, this can be repeated and defaults to the schemes in the swagger spec (default [http]) --socket-path string the unix socket to listen on (default "/var/run/todo-list.sock") --tls-ca string the certificate authority certificate file to be used with mutual tls auth --tls-certificate string the certificate file to use for secure connections --tls-host string the IP to listen on (default "localhost") --tls-keep-alive duration sets the TCP keep-alive timeouts on accepted connections. It prunes dead TCP connections ( e.g. closing laptop mid-download) (default 3m0s) --tls-key string the private key file to use for secure connections (without passphrase) --tls-listen-limit int limit the number of outstanding requests --tls-port int the port to listen on for secure connections, defaults to a random value --tls-read-timeout duration maximum duration before timing out read of the request (default 30s) --tls-write-timeout duration maximum duration before timing out write of the response (default 30s) -t, --toggle Help message for toggle --trillian_log_server.address string Trillian log server address (default "127.0.0.1") --trillian_log_server.port uint16 Trillian log server port (default 8090) --trillian_log_server.sharding_config string path to config file for inactive shards, in JSON or YAML --trillian_log_server.tlog_id uint Trillian tree id --write-timeout duration maximum duration before timing out write of the response (default 30s) Use "rekor-server [command] --help" for more information about a command. --- PASS: TestCover (0.00s) PASS ok github.com/sigstore/rekor/cmd/rekor-server 0.024s ? github.com/sigstore/rekor/cmd/rekor-server/app [no test files] ? github.com/sigstore/rekor/pkg/fuzz [no test files] ? github.com/sigstore/rekor/pkg/generated/client [no test files] ? github.com/sigstore/rekor/pkg/generated/client/entries [no test files] ? github.com/sigstore/rekor/pkg/generated/client/index [no test files] ? github.com/sigstore/rekor/pkg/generated/client/pubkey [no test files] ? github.com/sigstore/rekor/pkg/generated/client/tlog [no test files] ? github.com/sigstore/rekor/pkg/generated/models [no test files] ? github.com/sigstore/rekor/pkg/generated/restapi [no test files] ? github.com/sigstore/rekor/pkg/generated/restapi/operations [no test files] ? github.com/sigstore/rekor/pkg/generated/restapi/operations/entries [no test files] ? github.com/sigstore/rekor/pkg/generated/restapi/operations/index [no test files] ? github.com/sigstore/rekor/pkg/generated/restapi/operations/pubkey [no test files] ? github.com/sigstore/rekor/pkg/generated/restapi/operations/tlog [no test files] ? github.com/sigstore/rekor/pkg/log [no test files] === RUN Test_Collection === RUN Test_Collection/Unique === RUN Test_Collection/Collection === RUN Test_Collection/Collection/with_'and'_operator === RUN Test_Collection/Collection/with_'or'_operator --- PASS: Test_Collection (0.00s) --- PASS: Test_Collection/Unique (0.00s) --- PASS: Test_Collection/Collection (0.00s) --- PASS: Test_Collection/Collection/with_'and'_operator (0.00s) --- PASS: Test_Collection/Collection/with_'or'_operator (0.00s) PASS ok github.com/sigstore/rekor/pkg/api 0.041s ? github.com/sigstore/rekor/pkg/pki/x509/testutils [no test files] ? github.com/sigstore/rekor/pkg/storage [no test files] ? github.com/sigstore/rekor/pkg/trillianclient [no test files] === RUN TestMakeOptions === RUN TestMakeOptions/no_opts === RUN TestMakeOptions/WithUserAgent === RUN TestMakeOptions/WithRetryCount === RUN TestMakeOptions/WithLogger === RUN TestMakeOptions/WithLoggerNil === RUN TestMakeOptions/WithInsecureTLSEnabled === RUN TestMakeOptions/WithInsecureTLSDisabled --- PASS: TestMakeOptions (0.00s) --- PASS: TestMakeOptions/no_opts (0.00s) --- PASS: TestMakeOptions/WithUserAgent (0.00s) --- PASS: TestMakeOptions/WithRetryCount (0.00s) --- PASS: TestMakeOptions/WithLogger (0.00s) --- PASS: TestMakeOptions/WithLoggerNil (0.00s) --- PASS: TestMakeOptions/WithInsecureTLSEnabled (0.00s) --- PASS: TestMakeOptions/WithInsecureTLSDisabled (0.00s) === RUN TestCreateRoundTripper === RUN TestCreateRoundTripper/always_returns_non-nil --- PASS: TestCreateRoundTripper (0.00s) --- PASS: TestCreateRoundTripper/always_returns_non-nil (0.00s) === RUN TestGetRekorClientWithUserAgent === PAUSE TestGetRekorClientWithUserAgent === RUN TestGetRekorClientWithCustomPath === PAUSE TestGetRekorClientWithCustomPath === RUN TestGetRekorClientWithRetryCount === PAUSE TestGetRekorClientWithRetryCount === RUN TestRekorLeakedGoroutine_SearchByHash --- PASS: TestRekorLeakedGoroutine_SearchByHash (1.01s) === CONT TestGetRekorClientWithUserAgent === CONT TestGetRekorClientWithCustomPath === CONT TestGetRekorClientWithRetryCount --- PASS: TestGetRekorClientWithUserAgent (0.00s) --- PASS: TestGetRekorClientWithCustomPath (0.00s) --- PASS: TestGetRekorClientWithRetryCount (1.00s) PASS ok github.com/sigstore/rekor/pkg/client 2.033s === RUN TestFactoryNewKey === RUN TestFactoryNewKey/valid_pgp === RUN TestFactoryNewKey/valid_minisign === RUN TestFactoryNewKey/valid_x509 === RUN TestFactoryNewKey/valid_ssh === RUN TestFactoryNewKey/invalid_ssh_signature === RUN TestFactoryNewKey/invalid_ssh_key === RUN TestFactoryNewKey/#00 --- PASS: TestFactoryNewKey (0.00s) --- PASS: TestFactoryNewKey/valid_pgp (0.00s) --- PASS: TestFactoryNewKey/valid_minisign (0.00s) --- PASS: TestFactoryNewKey/valid_x509 (0.00s) --- PASS: TestFactoryNewKey/valid_ssh (0.00s) --- PASS: TestFactoryNewKey/invalid_ssh_signature (0.00s) --- PASS: TestFactoryNewKey/invalid_ssh_key (0.00s) --- PASS: TestFactoryNewKey/#00 (0.00s) === RUN FuzzKeys --- PASS: FuzzKeys (0.00s) PASS ok github.com/sigstore/rekor/pkg/pki 0.021s === RUN TestReadPublicKey === RUN TestReadPublicKey/Valid_public_key_(minisign) === RUN TestReadPublicKey/Valid_public_key_(signify) --- PASS: TestReadPublicKey (0.00s) --- PASS: TestReadPublicKey/Valid_public_key_(minisign) (0.00s) --- PASS: TestReadPublicKey/Valid_public_key_(signify) (0.00s) === RUN TestReadPublicKeyErr === RUN TestReadPublicKeyErr/Not_a_valid_public_key_file === RUN TestReadPublicKeyErr/Wrong_length --- PASS: TestReadPublicKeyErr (0.00s) --- PASS: TestReadPublicKeyErr/Not_a_valid_public_key_file (0.00s) --- PASS: TestReadPublicKeyErr/Wrong_length (0.00s) === RUN TestReadSignature --- PASS: TestReadSignature (0.00s) === RUN TestReadErrorPublicKey --- PASS: TestReadErrorPublicKey (0.00s) === RUN TestReadErrorSignature --- PASS: TestReadErrorSignature (0.00s) === RUN TestCanonicalValueSignature --- PASS: TestCanonicalValueSignature (0.00s) === RUN TestCanonicalValuePublicKey --- PASS: TestCanonicalValuePublicKey (0.00s) === RUN TestVerifySignature --- PASS: TestVerifySignature (0.00s) PASS ok github.com/sigstore/rekor/pkg/pki/minisign 0.008s === RUN TestReadPublicKey --- PASS: TestReadPublicKey (0.03s) === RUN TestReadSignature --- PASS: TestReadSignature (0.00s) === RUN TestReadErrorPublicKey --- PASS: TestReadErrorPublicKey (0.00s) === RUN TestReadErrorSignature --- PASS: TestReadErrorSignature (0.00s) === RUN TestFetchPublicKey --- PASS: TestFetchPublicKey (0.01s) === RUN TestFetchSignature --- PASS: TestFetchSignature (0.00s) === RUN TestCanonicalValueSignature --- PASS: TestCanonicalValueSignature (0.01s) === RUN TestCanonicalValuePublicKey --- PASS: TestCanonicalValuePublicKey (0.04s) === RUN TestEmailAddresses --- PASS: TestEmailAddresses (0.03s) === RUN TestVerifySignature --- PASS: TestVerifySignature (0.03s) PASS ok github.com/sigstore/rekor/pkg/pki/pgp 0.162s === RUN TestSignature_Verify === RUN TestSignature_Verify/ec --- PASS: TestSignature_Verify (0.00s) --- PASS: TestSignature_Verify/ec (0.00s) === RUN TestSignature_VerifyFail === RUN TestSignature_VerifyFail/ec --- PASS: TestSignature_VerifyFail (0.00s) --- PASS: TestSignature_VerifyFail/ec (0.00s) === RUN TestEmailAddresses === RUN TestEmailAddresses/ec === RUN TestEmailAddresses/email --- PASS: TestEmailAddresses (0.00s) --- PASS: TestEmailAddresses/ec (0.00s) --- PASS: TestEmailAddresses/email (0.00s) === RUN TestSubjects === RUN TestSubjects/ec === RUN TestSubjects/email_in_subject === RUN TestSubjects/email_and_URI_in_subject_alternative_name --- PASS: TestSubjects (0.00s) --- PASS: TestSubjects/ec (0.00s) --- PASS: TestSubjects/email_in_subject (0.00s) --- PASS: TestSubjects/email_and_URI_in_subject_alternative_name (0.00s) === RUN TestIdentities === RUN TestIdentities/ec === RUN TestIdentities/email_in_subject === RUN TestIdentities/email_and_URI_in_subject_alternative_name --- PASS: TestIdentities (0.00s) --- PASS: TestIdentities/ec (0.00s) --- PASS: TestIdentities/email_in_subject (0.00s) --- PASS: TestIdentities/email_and_URI_in_subject_alternative_name (0.00s) PASS ok github.com/sigstore/rekor/pkg/pki/pkcs7 0.007s === RUN TestFromOpenSSH === RUN TestFromOpenSSH/rsa sign_test.go:159: cmd /usr/bin/ssh-keygen -Y sign -n file -f /tmp/TestFromOpenSSHrsa692855340/001/id /tmp/TestFromOpenSSHrsa692855340/001/data: Signing file /tmp/TestFromOpenSSHrsa692855340/001/data Write signature to /tmp/TestFromOpenSSHrsa692855340/001/data.sig === RUN TestFromOpenSSH/ed25519 sign_test.go:159: cmd /usr/bin/ssh-keygen -Y sign -n file -f /tmp/TestFromOpenSSHed255191467571870/001/id /tmp/TestFromOpenSSHed255191467571870/001/data: Signing file /tmp/TestFromOpenSSHed255191467571870/001/data Write signature to /tmp/TestFromOpenSSHed255191467571870/001/data.sig --- PASS: TestFromOpenSSH (0.03s) --- PASS: TestFromOpenSSH/rsa (0.02s) --- PASS: TestFromOpenSSH/ed25519 (0.01s) === RUN TestToOpenSSH === RUN TestToOpenSSH/rsa sign_test.go:223: cmd /usr/bin/ssh-keygen -Y verify -f /tmp/TestToOpenSSHrsa2301818866/001/allowed_signer -I test@rekor.dev -n file -s /tmp/TestToOpenSSHrsa2301818866/001/oursig: Good "file" signature for test@rekor.dev with RSA key SHA256:IkDRT/GXJRFrSruMf8F+ilGMaW+kFf2D4quUApK8p6E sign_test.go:227: cmd /usr/bin/ssh-keygen -Y verify -f /tmp/TestToOpenSSHrsa2301818866/001/allowed_signer -I othertest@rekor.dev -n file -s /tmp/TestToOpenSSHrsa2301818866/001/oursig: Could not verify signature. sign_test.go:232: cmd /usr/bin/ssh-keygen -Y check-novalidate -n file -s /tmp/TestToOpenSSHrsa2301818866/001/oursig: Signature verification failed: incorrect signature Could not verify signature. === RUN TestToOpenSSH/ed25519 sign_test.go:223: cmd /usr/bin/ssh-keygen -Y verify -f /tmp/TestToOpenSSHed255191952213206/001/allowed_signer -I test@rekor.dev -n file -s /tmp/TestToOpenSSHed255191952213206/001/oursig: Good "file" signature for test@rekor.dev with ED25519 key SHA256:nTfAQgoE0o29gjmx7bF3pSliPLQ/UVdzeK2QFM4qEw4 sign_test.go:227: cmd /usr/bin/ssh-keygen -Y verify -f /tmp/TestToOpenSSHed255191952213206/001/allowed_signer -I othertest@rekor.dev -n file -s /tmp/TestToOpenSSHed255191952213206/001/oursig: Could not verify signature. sign_test.go:232: cmd /usr/bin/ssh-keygen -Y check-novalidate -n file -s /tmp/TestToOpenSSHed255191952213206/001/oursig: Signature verification failed: incorrect signature Could not verify signature. --- PASS: TestToOpenSSH (0.07s) --- PASS: TestToOpenSSH/rsa (0.03s) --- PASS: TestToOpenSSH/ed25519 (0.04s) === RUN TestRoundTrip === RUN TestRoundTrip/rsa === RUN TestRoundTrip/ed25519 --- PASS: TestRoundTrip (0.04s) --- PASS: TestRoundTrip/rsa (0.03s) --- PASS: TestRoundTrip/ed25519 (0.00s) === RUN TestIdentities --- PASS: TestIdentities (0.00s) === RUN TestPubKeyParsingLimit --- PASS: TestPubKeyParsingLimit (0.00s) PASS ok github.com/sigstore/rekor/pkg/pki/ssh 0.152s === RUN TestReadPublicKey --- PASS: TestReadPublicKey (0.00s) === RUN TestReadSignature --- PASS: TestReadSignature (0.00s) === RUN TestCanonicalValue --- PASS: TestCanonicalValue (0.00s) === RUN TestVerifySignature --- PASS: TestVerifySignature (0.01s) PASS ok github.com/sigstore/rekor/pkg/pki/tuf 0.025s === RUN TestSignature_Verify === RUN TestSignature_Verify/rsa === RUN TestSignature_Verify/ec === RUN TestSignature_Verify/ed25519 --- PASS: TestSignature_Verify (0.01s) --- PASS: TestSignature_Verify/rsa (0.00s) --- PASS: TestSignature_Verify/ec (0.00s) --- PASS: TestSignature_Verify/ed25519 (0.01s) === RUN TestSignature_VerifyFail === RUN TestSignature_VerifyFail/rsa === RUN TestSignature_VerifyFail/ec === RUN TestSignature_VerifyFail/ed25519 --- PASS: TestSignature_VerifyFail (0.00s) --- PASS: TestSignature_VerifyFail/rsa (0.00s) --- PASS: TestSignature_VerifyFail/ec (0.00s) --- PASS: TestSignature_VerifyFail/ed25519 (0.00s) === RUN TestPublicKeyWithCertChain --- PASS: TestPublicKeyWithCertChain (0.00s) PASS ok github.com/sigstore/rekor/pkg/pki/x509 0.045s === RUN TestVirtualLogIndex === RUN TestVirtualLogIndex/no_ranges === RUN TestVirtualLogIndex/two_shards === RUN TestVirtualLogIndex/three_shards === RUN TestVirtualLogIndex/only_active_tree === RUN TestVirtualLogIndex/invalid_tid_passed_in --- PASS: TestVirtualLogIndex (0.00s) --- PASS: TestVirtualLogIndex/no_ranges (0.00s) --- PASS: TestVirtualLogIndex/two_shards (0.00s) --- PASS: TestVirtualLogIndex/three_shards (0.00s) --- PASS: TestVirtualLogIndex/only_active_tree (0.00s) --- PASS: TestVirtualLogIndex/invalid_tid_passed_in (0.00s) === RUN TestNewLogRanges 2023-10-28T01:03:00.965Z INFO sharding/ranges.go:68 Ranges: %v[{1 3 c2hhcmRpbmcK sharding } {2 4 }] --- PASS: TestNewLogRanges (0.00s) === RUN TestLogRanges_ResolveVirtualIndex --- PASS: TestLogRanges_ResolveVirtualIndex (0.00s) === RUN TestPublicKey === RUN TestPublicKey/empty_tree_ID === RUN TestPublicKey/tree_id_with_decoded_public_key === RUN TestPublicKey/tree_id_without_decoded_public_key === RUN TestPublicKey/invalid_tree_id === RUN TestPublicKey/pass_in_active_tree_id --- PASS: TestPublicKey (0.00s) --- PASS: TestPublicKey/empty_tree_ID (0.00s) --- PASS: TestPublicKey/tree_id_with_decoded_public_key (0.00s) --- PASS: TestPublicKey/tree_id_without_decoded_public_key (0.00s) --- PASS: TestPublicKey/invalid_tree_id (0.00s) --- PASS: TestPublicKey/pass_in_active_tree_id (0.00s) === RUN TestLogRanges_String === RUN TestLogRanges_String/empty === RUN TestLogRanges_String/one === RUN TestLogRanges_String/two --- PASS: TestLogRanges_String (0.00s) --- PASS: TestLogRanges_String/empty (0.00s) --- PASS: TestLogRanges_String/one (0.00s) --- PASS: TestLogRanges_String/two (0.00s) === RUN TestLogRanges_TotalInactiveLength === RUN TestLogRanges_TotalInactiveLength/empty === RUN TestLogRanges_TotalInactiveLength/one --- PASS: TestLogRanges_TotalInactiveLength (0.00s) --- PASS: TestLogRanges_TotalInactiveLength/empty (0.00s) --- PASS: TestLogRanges_TotalInactiveLength/one (0.00s) === RUN TestLogRanges_AllShards === RUN TestLogRanges_AllShards/empty === RUN TestLogRanges_AllShards/one === RUN TestLogRanges_AllShards/two --- PASS: TestLogRanges_AllShards (0.00s) --- PASS: TestLogRanges_AllShards/empty (0.00s) --- PASS: TestLogRanges_AllShards/one (0.00s) --- PASS: TestLogRanges_AllShards/two (0.00s) === RUN TestLogRangesFromPath === RUN TestLogRangesFromPath/empty === RUN TestLogRangesFromPath/empty_file 2023-10-28T01:03:00.966Z INFO sharding/ranges.go:82 Sharding config file contents empty, skipping init of logRange map === RUN TestLogRangesFromPath/valid_json === RUN TestLogRangesFromPath/valid_yaml === RUN TestLogRangesFromPath/invalid_json --- PASS: TestLogRangesFromPath (0.00s) --- PASS: TestLogRangesFromPath/empty (0.00s) --- PASS: TestLogRangesFromPath/empty_file (0.00s) --- PASS: TestLogRangesFromPath/valid_json (0.00s) --- PASS: TestLogRangesFromPath/valid_yaml (0.00s) --- PASS: TestLogRangesFromPath/invalid_json (0.00s) === RUN TestUpdateRange === RUN TestUpdateRange/empty === RUN TestUpdateRange/error_in_GetLatestSignedLogRoot --- PASS: TestUpdateRange (0.00s) --- PASS: TestUpdateRange/empty (0.00s) --- PASS: TestUpdateRange/error_in_GetLatestSignedLogRoot (0.00s) === RUN TestNewLogRangesWithMock === RUN TestNewLogRangesWithMock/empty_path 2023-10-28T01:03:00.968Z INFO sharding/ranges.go:50 No config file specified, skipping init of logRange map === RUN TestNewLogRangesWithMock/treeID_0 --- PASS: TestNewLogRangesWithMock (0.00s) --- PASS: TestNewLogRangesWithMock/empty_path (0.00s) --- PASS: TestNewLogRangesWithMock/treeID_0 (0.00s) === RUN TestCreateEntryIDFromParts --- PASS: TestCreateEntryIDFromParts (0.00s) === RUN TestCreateEmptyEntryID --- PASS: TestCreateEmptyEntryID (0.00s) === RUN TestPadToTreeIDLen --- PASS: TestPadToTreeIDLen (0.00s) === RUN TestReturnEntryIDString --- PASS: TestReturnEntryIDString (0.00s) === RUN TestGetUUIDFromIDString --- PASS: TestGetUUIDFromIDString (0.00s) === RUN TestGetTreeIDFromIDString --- PASS: TestGetTreeIDFromIDString (0.00s) === RUN TestTreeID === RUN TestTreeID/valid_entryID === RUN TestTreeID/invalid_entryID === RUN TestTreeID/invalid_UUID --- PASS: TestTreeID (0.00s) --- PASS: TestTreeID/valid_entryID (0.00s) --- PASS: TestTreeID/invalid_entryID (0.00s) --- PASS: TestTreeID/invalid_UUID (0.00s) === RUN TestValidateTreeID === RUN TestValidateTreeID/valid_treeID === RUN TestValidateTreeID/invalid_treeID === RUN TestValidateTreeID/invalid_UUID --- PASS: TestValidateTreeID (0.00s) --- PASS: TestValidateTreeID/valid_treeID (0.00s) --- PASS: TestValidateTreeID/invalid_treeID (0.00s) --- PASS: TestValidateTreeID/invalid_UUID (0.00s) === RUN FuzzCreateEntryIDFromParts --- PASS: FuzzCreateEntryIDFromParts (0.00s) === RUN FuzzGetUUIDFromIDString --- PASS: FuzzGetUUIDFromIDString (0.00s) === RUN FuzzGetTreeIDFromIDString --- PASS: FuzzGetTreeIDFromIDString (0.00s) === RUN FuzzPadToTreeIDLen --- PASS: FuzzPadToTreeIDLen (0.00s) === RUN FuzzReturnEntryIDString --- PASS: FuzzReturnEntryIDString (0.00s) === RUN FuzzTreeID --- PASS: FuzzTreeID (0.00s) === RUN FuzzValidateUUID --- PASS: FuzzValidateUUID (0.00s) === RUN FuzzValidateTreeID --- PASS: FuzzValidateTreeID (0.00s) === RUN FuzzValidateEntryID --- PASS: FuzzValidateEntryID (0.00s) PASS ok github.com/sigstore/rekor/pkg/sharding 0.010s === RUN TestFile === RUN TestFile/valid_ecdsa === RUN TestFile/invalid_pass --- PASS: TestFile (0.00s) --- PASS: TestFile/valid_ecdsa (0.00s) --- PASS: TestFile/invalid_pass (0.00s) === RUN TestMemory --- PASS: TestMemory (0.00s) === RUN FuzzNewFile --- PASS: FuzzNewFile (0.00s) PASS ok github.com/sigstore/rekor/pkg/signer 0.027s === RUN TestGenerateTransparencyLogEntry === RUN TestGenerateTransparencyLogEntry/valid_entry === RUN TestGenerateTransparencyLogEntry/body_is_not_valid_base64 === RUN TestGenerateTransparencyLogEntry/logID_is_not_valid_hex === RUN TestGenerateTransparencyLogEntry/rootHash_is_not_valid_hex === RUN TestGenerateTransparencyLogEntry/one_inclusion_proof_hash_is_not_valid_hex === RUN TestGenerateTransparencyLogEntry/body_is_valid_base64_but_not_valid_entry === RUN TestGenerateTransparencyLogEntry/kind/version_are_valid_but_spec_is_not_schema_valid --- PASS: TestGenerateTransparencyLogEntry (0.00s) --- PASS: TestGenerateTransparencyLogEntry/valid_entry (0.00s) --- PASS: TestGenerateTransparencyLogEntry/body_is_not_valid_base64 (0.00s) --- PASS: TestGenerateTransparencyLogEntry/logID_is_not_valid_hex (0.00s) --- PASS: TestGenerateTransparencyLogEntry/rootHash_is_not_valid_hex (0.00s) --- PASS: TestGenerateTransparencyLogEntry/one_inclusion_proof_hash_is_not_valid_hex (0.00s) --- PASS: TestGenerateTransparencyLogEntry/body_is_valid_base64_but_not_valid_entry (0.00s) --- PASS: TestGenerateTransparencyLogEntry/kind/version_are_valid_but_spec_is_not_schema_valid (0.00s) PASS ok github.com/sigstore/rekor/pkg/tle 0.040s === RUN TestUnmarshalEntry --- PASS: TestUnmarshalEntry (0.00s) PASS ok github.com/sigstore/rekor/pkg/types 0.048s === RUN TestAlpineType 2023-10-28T01:03:01.326Z ERROR types/versionmap.go:83 Could not get version from string: "not" github.com/sigstore/rekor/pkg/types.(*SemVerEntryFactoryMap).SetEntryFactory github.com/sigstore/rekor/pkg/types/versionmap.go:83 github.com/sigstore/rekor/pkg/types/alpine.TestAlpineType github.com/sigstore/rekor/pkg/types/alpine/alpine_test.go:63 testing.tRunner testing/testing.go:1595 2023-10-28T01:03:01.326Z ERROR types/versionmap.go:59 No Major.Minor.Patch elements found github.com/sigstore/rekor/pkg/types.(*SemVerEntryFactoryMap).GetEntryFactory github.com/sigstore/rekor/pkg/types/versionmap.go:59 github.com/sigstore/rekor/pkg/types.(*RekorType).VersionedUnmarshal github.com/sigstore/rekor/pkg/types/types.go:53 github.com/sigstore/rekor/pkg/types/alpine.(*BaseAlpineType).UnmarshalEntry github.com/sigstore/rekor/pkg/types/alpine/alpine.go:58 github.com/sigstore/rekor/pkg/types/alpine.TestAlpineType github.com/sigstore/rekor/pkg/types/alpine/alpine_test.go:98 testing.tRunner testing/testing.go:1595 --- PASS: TestAlpineType (0.00s) === RUN TestAlpinePackage --- PASS: TestAlpinePackage (0.00s) === RUN TestAlpineMetadataSize --- PASS: TestAlpineMetadataSize (0.00s) === RUN FuzzPackageUnmarshal --- PASS: FuzzPackageUnmarshal (0.00s) PASS ok github.com/sigstore/rekor/pkg/types/alpine 0.016s === RUN TestNewEntryReturnType --- PASS: TestNewEntryReturnType (0.00s) === RUN TestCrossFieldValidation --- PASS: TestCrossFieldValidation (0.00s) === RUN TestInsertable === RUN TestInsertable/valid_entry === RUN TestInsertable/missing_key_content === RUN TestInsertable/missing_public_key === RUN TestInsertable/missing_package_content === RUN TestInsertable/missing_package === RUN TestInsertable/empty_model --- PASS: TestInsertable (0.00s) --- PASS: TestInsertable/valid_entry (0.00s) --- PASS: TestInsertable/missing_key_content (0.00s) --- PASS: TestInsertable/missing_public_key (0.00s) --- PASS: TestInsertable/missing_package_content (0.00s) --- PASS: TestInsertable/missing_package (0.00s) --- PASS: TestInsertable/empty_model (0.00s) === RUN FuzzAlpineCreateProposedEntry --- PASS: FuzzAlpineCreateProposedEntry (0.00s) === RUN FuzzAlpineUnmarshalAndCanonicalize --- PASS: FuzzAlpineUnmarshalAndCanonicalize (0.00s) PASS ok github.com/sigstore/rekor/pkg/types/alpine/v0.0.1 0.035s === RUN TestCOSEType 2023-10-28T01:03:01.997Z ERROR types/versionmap.go:83 Could not get version from string: "not" github.com/sigstore/rekor/pkg/types.(*SemVerEntryFactoryMap).SetEntryFactory github.com/sigstore/rekor/pkg/types/versionmap.go:83 github.com/sigstore/rekor/pkg/types/cose.TestCOSEType github.com/sigstore/rekor/pkg/types/cose/cose_test.go:64 testing.tRunner testing/testing.go:1595 2023-10-28T01:03:01.998Z ERROR types/versionmap.go:59 No Major.Minor.Patch elements found github.com/sigstore/rekor/pkg/types.(*SemVerEntryFactoryMap).GetEntryFactory github.com/sigstore/rekor/pkg/types/versionmap.go:59 github.com/sigstore/rekor/pkg/types.(*RekorType).VersionedUnmarshal github.com/sigstore/rekor/pkg/types/types.go:53 github.com/sigstore/rekor/pkg/types/cose.BaseCOSEType.UnmarshalEntry github.com/sigstore/rekor/pkg/types/cose/cose.go:58 github.com/sigstore/rekor/pkg/types/cose.TestCOSEType github.com/sigstore/rekor/pkg/types/cose/cose_test.go:99 testing.tRunner testing/testing.go:1595 --- PASS: TestCOSEType (0.00s) === RUN TestCOSEDefaultVersion --- PASS: TestCOSEDefaultVersion (0.00s) === RUN TestCOSECreateProposedEntry === RUN TestCOSECreateProposedEntry/unknown_version === RUN TestCOSECreateProposedEntry/valid_version === RUN TestCOSECreateProposedEntry/default_version --- PASS: TestCOSECreateProposedEntry (0.00s) --- PASS: TestCOSECreateProposedEntry/unknown_version (0.00s) --- PASS: TestCOSECreateProposedEntry/valid_version (0.00s) --- PASS: TestCOSECreateProposedEntry/default_version (0.00s) PASS ok github.com/sigstore/rekor/pkg/types/cose 0.021s === RUN TestNewEntryReturnType --- PASS: TestNewEntryReturnType (0.00s) === RUN TestV001Entry_Unmarshal === RUN TestV001Entry_Unmarshal/empty === RUN TestV001Entry_Unmarshal/missing_data === RUN TestV001Entry_Unmarshal/missing_envelope === RUN TestV001Entry_Unmarshal/valid === RUN TestV001Entry_Unmarshal/valid_with_aad === RUN TestV001Entry_Unmarshal/extra_aad === RUN TestV001Entry_Unmarshal/invalid_envelope === RUN TestV001Entry_Unmarshal/cert === RUN TestV001Entry_Unmarshal/invalid_key === RUN TestV001Entry_Unmarshal/invalid_type --- PASS: TestV001Entry_Unmarshal (0.00s) --- PASS: TestV001Entry_Unmarshal/empty (0.00s) --- PASS: TestV001Entry_Unmarshal/missing_data (0.00s) --- PASS: TestV001Entry_Unmarshal/missing_envelope (0.00s) --- PASS: TestV001Entry_Unmarshal/valid (0.00s) --- PASS: TestV001Entry_Unmarshal/valid_with_aad (0.00s) --- PASS: TestV001Entry_Unmarshal/extra_aad (0.00s) --- PASS: TestV001Entry_Unmarshal/invalid_envelope (0.00s) --- PASS: TestV001Entry_Unmarshal/cert (0.00s) --- PASS: TestV001Entry_Unmarshal/invalid_key (0.00s) --- PASS: TestV001Entry_Unmarshal/invalid_type (0.00s) === RUN TestV001Entry_IndexKeys --- PASS: TestV001Entry_IndexKeys (0.00s) === RUN TestV001Entry_IndexKeysWrongContentType 2023-10-28T01:03:02.012Z WARN v0.0.1/entry.go:120 Failed to parse intoto statement github.com/sigstore/rekor/pkg/types/cose/v0%2e0%2e1.V001Entry.IndexKeys github.com/sigstore/rekor/pkg/types/cose/v0.0.1/entry.go:120 github.com/sigstore/rekor/pkg/types/cose/v0%2e0%2e1.TestV001Entry_IndexKeysWrongContentType github.com/sigstore/rekor/pkg/types/cose/v0.0.1/entry_test.go:443 testing.tRunner testing/testing.go:1595 --- PASS: TestV001Entry_IndexKeysWrongContentType (0.00s) === RUN TestV001Entry_IndexKeysIntegerContentType --- PASS: TestV001Entry_IndexKeysIntegerContentType (0.00s) === RUN TestV001Entry_Attestation === RUN TestV001Entry_Attestation/no_storage 2023-10-28T01:03:02.012Z INFO v0.0.1/entry.go:295 Skipping attestation storage, size 79 is greater than max 0 === RUN TestV001Entry_Attestation/with_storage --- PASS: TestV001Entry_Attestation (0.00s) --- PASS: TestV001Entry_Attestation/no_storage (0.00s) --- PASS: TestV001Entry_Attestation/with_storage (0.00s) === RUN TestGetPublicKey === RUN TestGetPublicKey/P256 === RUN TestGetPublicKey/P384 === RUN TestGetPublicKey/P521 === RUN TestGetPublicKey/RSA2048 === RUN TestGetPublicKey/Invalid_key === RUN TestGetPublicKey/Ed25519 --- PASS: TestGetPublicKey (0.00s) --- PASS: TestGetPublicKey/P256 (0.00s) --- PASS: TestGetPublicKey/P384 (0.00s) --- PASS: TestGetPublicKey/P521 (0.00s) --- PASS: TestGetPublicKey/RSA2048 (0.00s) --- PASS: TestGetPublicKey/Invalid_key (0.00s) --- PASS: TestGetPublicKey/Ed25519 (0.00s) === RUN TestV001Entry_Validate === RUN TestV001Entry_Validate/missing_message === RUN TestV001Entry_Validate/invalid_public_key --- PASS: TestV001Entry_Validate (0.00s) --- PASS: TestV001Entry_Validate/missing_message (0.00s) --- PASS: TestV001Entry_Validate/invalid_public_key (0.00s) === RUN TestInsertable === RUN TestInsertable/valid_entry === RUN TestInsertable/no_aad === RUN TestInsertable/missing_hash === RUN TestInsertable/unparsed_message === RUN TestInsertable/unparsed_public_key === RUN TestInsertable/missing_public_key === RUN TestInsertable/missing_unparsed_message === RUN TestInsertable/missing_data === RUN TestInsertable/missing_cose_obj === RUN TestInsertable/empty_obj --- PASS: TestInsertable (0.00s) --- PASS: TestInsertable/valid_entry (0.00s) --- PASS: TestInsertable/no_aad (0.00s) --- PASS: TestInsertable/missing_hash (0.00s) --- PASS: TestInsertable/unparsed_message (0.00s) --- PASS: TestInsertable/unparsed_public_key (0.00s) --- PASS: TestInsertable/missing_public_key (0.00s) --- PASS: TestInsertable/missing_unparsed_message (0.00s) --- PASS: TestInsertable/missing_data (0.00s) --- PASS: TestInsertable/missing_cose_obj (0.00s) --- PASS: TestInsertable/empty_obj (0.00s) === RUN FuzzCoseCreateProposedEntry --- PASS: FuzzCoseCreateProposedEntry (0.00s) === RUN FuzzCoseUnmarshalAndCanonicalize --- PASS: FuzzCoseUnmarshalAndCanonicalize (0.00s) PASS ok github.com/sigstore/rekor/pkg/types/cose/v0.0.1 0.035s === RUN TestDSSEType 2023-10-28T01:03:02.002Z ERROR types/versionmap.go:83 Could not get version from string: "not" github.com/sigstore/rekor/pkg/types.(*SemVerEntryFactoryMap).SetEntryFactory github.com/sigstore/rekor/pkg/types/versionmap.go:83 github.com/sigstore/rekor/pkg/types/dsse.TestDSSEType github.com/sigstore/rekor/pkg/types/dsse/dsse_test.go:60 testing.tRunner testing/testing.go:1595 2023-10-28T01:03:02.002Z ERROR types/versionmap.go:59 No Major.Minor.Patch elements found github.com/sigstore/rekor/pkg/types.(*SemVerEntryFactoryMap).GetEntryFactory github.com/sigstore/rekor/pkg/types/versionmap.go:59 github.com/sigstore/rekor/pkg/types.(*RekorType).VersionedUnmarshal github.com/sigstore/rekor/pkg/types/types.go:53 github.com/sigstore/rekor/pkg/types/dsse.BaseDSSEType.UnmarshalEntry github.com/sigstore/rekor/pkg/types/dsse/dsse.go:58 github.com/sigstore/rekor/pkg/types/dsse.TestDSSEType github.com/sigstore/rekor/pkg/types/dsse/dsse_test.go:95 testing.tRunner testing/testing.go:1595 --- PASS: TestDSSEType (0.00s) === RUN TestDSSEDefaultVersion --- PASS: TestDSSEDefaultVersion (0.00s) === RUN TestDSSECreateProposedEntry === RUN TestDSSECreateProposedEntry/unknown_version === RUN TestDSSECreateProposedEntry/valid_version === RUN TestDSSECreateProposedEntry/default_version --- PASS: TestDSSECreateProposedEntry (0.00s) --- PASS: TestDSSECreateProposedEntry/unknown_version (0.00s) --- PASS: TestDSSECreateProposedEntry/valid_version (0.00s) --- PASS: TestDSSECreateProposedEntry/default_version (0.00s) PASS ok github.com/sigstore/rekor/pkg/types/dsse 0.026s === RUN TestNewEntryReturnType --- PASS: TestNewEntryReturnType (0.00s) === RUN TestV001Entry_Unmarshal === RUN TestV001Entry_Unmarshal/empty === RUN TestV001Entry_Unmarshal/missing_envelope === RUN TestV001Entry_Unmarshal/valid 2023-10-28T01:03:02.054Z INFO v0.0.1/entry.go:108 DSSEObj content or DSSE envelope is nil, returning partial set of keys === RUN TestV001Entry_Unmarshal/cert 2023-10-28T01:03:02.055Z INFO v0.0.1/entry.go:108 DSSEObj content or DSSE envelope is nil, returning partial set of keys === RUN TestV001Entry_Unmarshal/invalid === RUN TestV001Entry_Unmarshal/invalid_key === RUN TestV001Entry_Unmarshal/multi-key 2023-10-28T01:03:02.056Z INFO v0.0.1/entry.go:108 DSSEObj content or DSSE envelope is nil, returning partial set of keys === RUN TestV001Entry_Unmarshal/null_verifier_in_array --- PASS: TestV001Entry_Unmarshal (0.00s) --- PASS: TestV001Entry_Unmarshal/empty (0.00s) --- PASS: TestV001Entry_Unmarshal/missing_envelope (0.00s) --- PASS: TestV001Entry_Unmarshal/valid (0.00s) --- PASS: TestV001Entry_Unmarshal/cert (0.00s) --- PASS: TestV001Entry_Unmarshal/invalid (0.00s) --- PASS: TestV001Entry_Unmarshal/invalid_key (0.00s) --- PASS: TestV001Entry_Unmarshal/multi-key (0.00s) --- PASS: TestV001Entry_Unmarshal/null_verifier_in_array (0.00s) === RUN TestV001Entry_IndexKeys === RUN TestV001Entry_IndexKeys/standard === RUN TestV001Entry_IndexKeys/subject === RUN TestV001Entry_IndexKeys/slsa === RUN TestV001Entry_IndexKeys/slsa_wit_header --- PASS: TestV001Entry_IndexKeys (0.00s) --- PASS: TestV001Entry_IndexKeys/standard (0.00s) --- PASS: TestV001Entry_IndexKeys/subject (0.00s) --- PASS: TestV001Entry_IndexKeys/slsa (0.00s) --- PASS: TestV001Entry_IndexKeys/slsa_wit_header (0.00s) === RUN TestInsertable === RUN TestInsertable/valid_entry === RUN TestInsertable/missing_public_keys === RUN TestInsertable/missing_envelope === RUN TestInsertable/missing_proposed_content_obj --- PASS: TestInsertable (0.00s) --- PASS: TestInsertable/valid_entry (0.00s) --- PASS: TestInsertable/missing_public_keys (0.00s) --- PASS: TestInsertable/missing_envelope (0.00s) --- PASS: TestInsertable/missing_proposed_content_obj (0.00s) === RUN FuzzDSSECreateProposedEntry --- PASS: FuzzDSSECreateProposedEntry (0.00s) === RUN FuzzDSSEUnmarshalAndCanonicalize --- PASS: FuzzDSSEUnmarshalAndCanonicalize (0.00s) PASS ok github.com/sigstore/rekor/pkg/types/dsse/v0.0.1 0.041s === RUN TestRekordType 2023-10-28T01:03:02.292Z ERROR types/versionmap.go:83 Could not get version from string: "not" github.com/sigstore/rekor/pkg/types.(*SemVerEntryFactoryMap).SetEntryFactory github.com/sigstore/rekor/pkg/types/versionmap.go:83 github.com/sigstore/rekor/pkg/types/hashedrekord.TestRekordType github.com/sigstore/rekor/pkg/types/hashedrekord/hashedrekord_test.go:59 testing.tRunner testing/testing.go:1595 2023-10-28T01:03:02.292Z ERROR types/versionmap.go:59 No Major.Minor.Patch elements found github.com/sigstore/rekor/pkg/types.(*SemVerEntryFactoryMap).GetEntryFactory github.com/sigstore/rekor/pkg/types/versionmap.go:59 github.com/sigstore/rekor/pkg/types.(*RekorType).VersionedUnmarshal github.com/sigstore/rekor/pkg/types/types.go:53 github.com/sigstore/rekor/pkg/types/hashedrekord.BaseRekordType.UnmarshalEntry github.com/sigstore/rekor/pkg/types/hashedrekord/hashedrekord.go:58 github.com/sigstore/rekor/pkg/types/hashedrekord.TestRekordType github.com/sigstore/rekor/pkg/types/hashedrekord/hashedrekord_test.go:94 testing.tRunner testing/testing.go:1595 --- PASS: TestRekordType (0.00s) === RUN FuzzHashedRekord --- PASS: FuzzHashedRekord (0.00s) PASS ok github.com/sigstore/rekor/pkg/types/hashedrekord 0.066s === RUN TestNewEntryReturnType --- PASS: TestNewEntryReturnType (0.00s) === RUN TestCrossFieldValidation --- PASS: TestCrossFieldValidation (0.00s) === RUN TestV001Entry_IndexKeys === RUN TestV001Entry_IndexKeys/public_key === RUN TestV001Entry_IndexKeys/cert --- PASS: TestV001Entry_IndexKeys (0.00s) --- PASS: TestV001Entry_IndexKeys/public_key (0.00s) --- PASS: TestV001Entry_IndexKeys/cert (0.00s) === RUN TestInsertable === RUN TestInsertable/valid_entry === RUN TestInsertable/missing_key === RUN TestInsertable/missing_key_content === RUN TestInsertable/missing_key_content#01 === RUN TestInsertable/missing_sig_content === RUN TestInsertable/missing_hash_value === RUN TestInsertable/missing_hash_algorithm === RUN TestInsertable/missing_hash_object === RUN TestInsertable/missing_data_object === RUN TestInsertable/missing_sig_object === RUN TestInsertable/empty_object --- PASS: TestInsertable (0.00s) --- PASS: TestInsertable/valid_entry (0.00s) --- PASS: TestInsertable/missing_key (0.00s) --- PASS: TestInsertable/missing_key_content (0.00s) --- PASS: TestInsertable/missing_key_content#01 (0.00s) --- PASS: TestInsertable/missing_sig_content (0.00s) --- PASS: TestInsertable/missing_hash_value (0.00s) --- PASS: TestInsertable/missing_hash_algorithm (0.00s) --- PASS: TestInsertable/missing_hash_object (0.00s) --- PASS: TestInsertable/missing_data_object (0.00s) --- PASS: TestInsertable/missing_sig_object (0.00s) --- PASS: TestInsertable/empty_object (0.00s) === RUN FuzzHashedRekordCreateProposedEntry --- PASS: FuzzHashedRekordCreateProposedEntry (0.00s) === RUN FuzzHashedRekordUnmarshalAndCanonicalize --- PASS: FuzzHashedRekordUnmarshalAndCanonicalize (0.00s) PASS ok github.com/sigstore/rekor/pkg/types/hashedrekord/v0.0.1 0.074s === RUN TestHelmType 2023-10-28T01:03:02.499Z ERROR types/versionmap.go:83 Could not get version from string: "not" github.com/sigstore/rekor/pkg/types.(*SemVerEntryFactoryMap).SetEntryFactory github.com/sigstore/rekor/pkg/types/versionmap.go:83 github.com/sigstore/rekor/pkg/types/helm.TestHelmType github.com/sigstore/rekor/pkg/types/helm/helm_test.go:59 testing.tRunner testing/testing.go:1595 2023-10-28T01:03:02.499Z ERROR types/versionmap.go:59 No Major.Minor.Patch elements found github.com/sigstore/rekor/pkg/types.(*SemVerEntryFactoryMap).GetEntryFactory github.com/sigstore/rekor/pkg/types/versionmap.go:59 github.com/sigstore/rekor/pkg/types.(*RekorType).VersionedUnmarshal github.com/sigstore/rekor/pkg/types/types.go:53 github.com/sigstore/rekor/pkg/types/helm.BaseHelmType.UnmarshalEntry github.com/sigstore/rekor/pkg/types/helm/helm.go:58 github.com/sigstore/rekor/pkg/types/helm.TestHelmType github.com/sigstore/rekor/pkg/types/helm/helm_test.go:94 testing.tRunner testing/testing.go:1595 --- PASS: TestHelmType (0.00s) === RUN TestProvenance --- PASS: TestProvenance (0.00s) PASS ok github.com/sigstore/rekor/pkg/types/helm 0.026s === RUN TestNewEntryReturnType --- PASS: TestNewEntryReturnType (0.00s) === RUN TestCrossFieldValidation === RUN TestCrossFieldValidation/empty_obj === RUN TestCrossFieldValidation/provenance_file_without_public_key === RUN TestCrossFieldValidation/public_key_without_provenance_file === RUN TestCrossFieldValidation/public_key_with_empty_provenance_file === RUN TestCrossFieldValidation/public_key_and_invalid_provenance_content === RUN TestCrossFieldValidation/provenance_content_with_invalid_public_key === RUN TestCrossFieldValidation/provenance_content_with_valid_public_key --- PASS: TestCrossFieldValidation (0.03s) --- PASS: TestCrossFieldValidation/empty_obj (0.00s) --- PASS: TestCrossFieldValidation/provenance_file_without_public_key (0.00s) --- PASS: TestCrossFieldValidation/public_key_without_provenance_file (0.00s) --- PASS: TestCrossFieldValidation/public_key_with_empty_provenance_file (0.00s) --- PASS: TestCrossFieldValidation/public_key_and_invalid_provenance_content (0.00s) --- PASS: TestCrossFieldValidation/provenance_content_with_invalid_public_key (0.00s) --- PASS: TestCrossFieldValidation/provenance_content_with_valid_public_key (0.03s) === RUN TestInsertable === RUN TestInsertable/valid_entry === RUN TestInsertable/missing_key_content === RUN TestInsertable/missing_key === RUN TestInsertable/missing_provenance_content === RUN TestInsertable/missing_provenance_obj === RUN TestInsertable/missing_chart_obj === RUN TestInsertable/empty_obj --- PASS: TestInsertable (0.00s) --- PASS: TestInsertable/valid_entry (0.00s) --- PASS: TestInsertable/missing_key_content (0.00s) --- PASS: TestInsertable/missing_key (0.00s) --- PASS: TestInsertable/missing_provenance_content (0.00s) --- PASS: TestInsertable/missing_provenance_obj (0.00s) --- PASS: TestInsertable/missing_chart_obj (0.00s) --- PASS: TestInsertable/empty_obj (0.00s) === RUN FuzzHelmCreateProposedEntry --- PASS: FuzzHelmCreateProposedEntry (0.00s) === RUN FuzzHelmUnmarshalAndCanonicalize --- PASS: FuzzHelmUnmarshalAndCanonicalize (0.00s) === RUN FuzzHelmProvenanceUnmarshal --- PASS: FuzzHelmProvenanceUnmarshal (0.00s) PASS ok github.com/sigstore/rekor/pkg/types/helm/v0.0.1 0.062s === RUN TestIntotoType 2023-10-28T01:03:03.051Z ERROR types/versionmap.go:83 Could not get version from string: "not" github.com/sigstore/rekor/pkg/types.(*SemVerEntryFactoryMap).SetEntryFactory github.com/sigstore/rekor/pkg/types/versionmap.go:83 github.com/sigstore/rekor/pkg/types/intoto.TestIntotoType github.com/sigstore/rekor/pkg/types/intoto/intoto_test.go:59 testing.tRunner testing/testing.go:1595 2023-10-28T01:03:03.052Z ERROR types/versionmap.go:59 No Major.Minor.Patch elements found github.com/sigstore/rekor/pkg/types.(*SemVerEntryFactoryMap).GetEntryFactory github.com/sigstore/rekor/pkg/types/versionmap.go:59 github.com/sigstore/rekor/pkg/types.(*RekorType).VersionedUnmarshal github.com/sigstore/rekor/pkg/types/types.go:53 github.com/sigstore/rekor/pkg/types/intoto.BaseIntotoType.UnmarshalEntry github.com/sigstore/rekor/pkg/types/intoto/intoto.go:60 github.com/sigstore/rekor/pkg/types/intoto.TestIntotoType github.com/sigstore/rekor/pkg/types/intoto/intoto_test.go:94 testing.tRunner testing/testing.go:1595 --- PASS: TestIntotoType (0.00s) PASS ok github.com/sigstore/rekor/pkg/types/intoto 0.023s === RUN TestNewEntryReturnType --- PASS: TestNewEntryReturnType (0.00s) === RUN TestV001Entry_Unmarshal === RUN TestV001Entry_Unmarshal/empty === RUN TestV001Entry_Unmarshal/missing_envelope === RUN TestV001Entry_Unmarshal/invalid_key === RUN TestV001Entry_Unmarshal/valid_intoto 2023-10-28T01:03:03.105Z ERROR v0.0.1/entry.go:112 error parsing payload as intoto statement: %!w(*json.SyntaxError=&{invalid character 'h' looking for beginning of value 1}) github.com/sigstore/rekor/pkg/types/intoto/v0%2e0%2e1.V001Entry.IndexKeys github.com/sigstore/rekor/pkg/types/intoto/v0.0.1/entry.go:112 github.com/sigstore/rekor/pkg/types/intoto/v0%2e0%2e1.TestV001Entry_Unmarshal.func1.1 github.com/sigstore/rekor/pkg/types/intoto/v0.0.1/entry_test.go:304 github.com/sigstore/rekor/pkg/types/intoto/v0%2e0%2e1.TestV001Entry_Unmarshal.func1 github.com/sigstore/rekor/pkg/types/intoto/v0.0.1/entry_test.go:358 testing.tRunner testing/testing.go:1595 &{ 0xc00004a1b0 0xc00004aeb0}2023-10-28T01:03:03.105Z INFO v0.0.1/entry.go:133 unknown in_toto statement type (), cannot extract additional index keys === RUN TestV001Entry_Unmarshal/valid_intoto_but_hash_specified_by_client_(should_be_ignored) 2023-10-28T01:03:03.106Z ERROR v0.0.1/entry.go:112 error parsing payload as intoto statement: %!w(*json.SyntaxError=&{invalid character 'h' looking for beginning of value 1}) github.com/sigstore/rekor/pkg/types/intoto/v0%2e0%2e1.V001Entry.IndexKeys github.com/sigstore/rekor/pkg/types/intoto/v0.0.1/entry.go:112 github.com/sigstore/rekor/pkg/types/intoto/v0%2e0%2e1.TestV001Entry_Unmarshal.func1.1 github.com/sigstore/rekor/pkg/types/intoto/v0.0.1/entry_test.go:304 github.com/sigstore/rekor/pkg/types/intoto/v0%2e0%2e1.TestV001Entry_Unmarshal.func1 github.com/sigstore/rekor/pkg/types/intoto/v0.0.1/entry_test.go:358 testing.tRunner testing/testing.go:1595 &{ 0xc00050e7d0 0xc00050e8d0}2023-10-28T01:03:03.106Z INFO v0.0.1/entry.go:133 unknown in_toto statement type (), cannot extract additional index keys === RUN TestV001Entry_Unmarshal/valid_intoto_but_payloadhash_specified_by_client_(should_be_ignored) 2023-10-28T01:03:03.106Z ERROR v0.0.1/entry.go:112 error parsing payload as intoto statement: %!w(*json.SyntaxError=&{invalid character 'h' looking for beginning of value 1}) github.com/sigstore/rekor/pkg/types/intoto/v0%2e0%2e1.V001Entry.IndexKeys github.com/sigstore/rekor/pkg/types/intoto/v0.0.1/entry.go:112 github.com/sigstore/rekor/pkg/types/intoto/v0%2e0%2e1.TestV001Entry_Unmarshal.func1.1 github.com/sigstore/rekor/pkg/types/intoto/v0.0.1/entry_test.go:304 github.com/sigstore/rekor/pkg/types/intoto/v0%2e0%2e1.TestV001Entry_Unmarshal.func1 github.com/sigstore/rekor/pkg/types/intoto/v0.0.1/entry_test.go:358 testing.tRunner testing/testing.go:1595 &{ 0xc00050fcb0 0xc00050fdc0}2023-10-28T01:03:03.107Z INFO v0.0.1/entry.go:133 unknown in_toto statement type (), cannot extract additional index keys === RUN TestV001Entry_Unmarshal/valid_intoto_but_envelope_and_payloadhash_specified_by_client_(hash_values_should_be_ignored) 2023-10-28T01:03:03.107Z ERROR v0.0.1/entry.go:112 error parsing payload as intoto statement: %!w(*json.SyntaxError=&{invalid character 'h' looking for beginning of value 1}) github.com/sigstore/rekor/pkg/types/intoto/v0%2e0%2e1.V001Entry.IndexKeys github.com/sigstore/rekor/pkg/types/intoto/v0.0.1/entry.go:112 github.com/sigstore/rekor/pkg/types/intoto/v0%2e0%2e1.TestV001Entry_Unmarshal.func1.1 github.com/sigstore/rekor/pkg/types/intoto/v0.0.1/entry_test.go:304 github.com/sigstore/rekor/pkg/types/intoto/v0%2e0%2e1.TestV001Entry_Unmarshal.func1 github.com/sigstore/rekor/pkg/types/intoto/v0.0.1/entry_test.go:358 testing.tRunner testing/testing.go:1595 &{ 0xc00047f3f0 0xc00047f510}2023-10-28T01:03:03.107Z INFO v0.0.1/entry.go:133 unknown in_toto statement type (), cannot extract additional index keys === RUN TestV001Entry_Unmarshal/valid_dsse_but_invalid_intoto 2023-10-28T01:03:03.107Z INFO v0.0.1/entry.go:133 unknown in_toto statement type (text), cannot extract additional index keys &{ 0xc00061ecb0 0xc00061edc0}2023-10-28T01:03:03.108Z INFO v0.0.1/entry.go:133 unknown in_toto statement type (), cannot extract additional index keys === RUN TestV001Entry_Unmarshal/cert 2023-10-28T01:03:03.108Z INFO v0.0.1/entry.go:133 unknown in_toto statement type (text), cannot extract additional index keys &{ 0xc000146e00 0xc000146f00}2023-10-28T01:03:03.109Z INFO v0.0.1/entry.go:133 unknown in_toto statement type (), cannot extract additional index keys === RUN TestV001Entry_Unmarshal/invalid === RUN TestV001Entry_Unmarshal/invalid_key#01 --- PASS: TestV001Entry_Unmarshal (0.01s) --- PASS: TestV001Entry_Unmarshal/empty (0.00s) --- PASS: TestV001Entry_Unmarshal/missing_envelope (0.00s) --- PASS: TestV001Entry_Unmarshal/invalid_key (0.00s) --- PASS: TestV001Entry_Unmarshal/valid_intoto (0.00s) --- PASS: TestV001Entry_Unmarshal/valid_intoto_but_hash_specified_by_client_(should_be_ignored) (0.00s) --- PASS: TestV001Entry_Unmarshal/valid_intoto_but_payloadhash_specified_by_client_(should_be_ignored) (0.00s) --- PASS: TestV001Entry_Unmarshal/valid_intoto_but_envelope_and_payloadhash_specified_by_client_(hash_values_should_be_ignored) (0.00s) --- PASS: TestV001Entry_Unmarshal/valid_dsse_but_invalid_intoto (0.00s) --- PASS: TestV001Entry_Unmarshal/cert (0.00s) --- PASS: TestV001Entry_Unmarshal/invalid (0.00s) --- PASS: TestV001Entry_Unmarshal/invalid_key#01 (0.00s) === RUN TestV001EntryWithoutEnvelopeOrPayloadHash --- PASS: TestV001EntryWithoutEnvelopeOrPayloadHash (0.00s) === RUN TestV001Entry_IndexKeys === RUN TestV001Entry_IndexKeys/standard 2023-10-28T01:03:03.109Z ERROR v0.0.1/entry.go:97 could not find public key to include in index keys github.com/sigstore/rekor/pkg/types/intoto/v0%2e0%2e1.V001Entry.IndexKeys github.com/sigstore/rekor/pkg/types/intoto/v0.0.1/entry.go:97 github.com/sigstore/rekor/pkg/types/intoto/v0%2e0%2e1.TestV001Entry_IndexKeys.func1 github.com/sigstore/rekor/pkg/types/intoto/v0.0.1/entry_test.go:482 testing.tRunner testing/testing.go:1595 === RUN TestV001Entry_IndexKeys/subject 2023-10-28T01:03:03.109Z ERROR v0.0.1/entry.go:97 could not find public key to include in index keys github.com/sigstore/rekor/pkg/types/intoto/v0%2e0%2e1.V001Entry.IndexKeys github.com/sigstore/rekor/pkg/types/intoto/v0.0.1/entry.go:97 github.com/sigstore/rekor/pkg/types/intoto/v0%2e0%2e1.TestV001Entry_IndexKeys.func1 github.com/sigstore/rekor/pkg/types/intoto/v0.0.1/entry_test.go:482 testing.tRunner testing/testing.go:1595 === RUN TestV001Entry_IndexKeys/slsa 2023-10-28T01:03:03.109Z ERROR v0.0.1/entry.go:97 could not find public key to include in index keys github.com/sigstore/rekor/pkg/types/intoto/v0%2e0%2e1.V001Entry.IndexKeys github.com/sigstore/rekor/pkg/types/intoto/v0.0.1/entry.go:97 github.com/sigstore/rekor/pkg/types/intoto/v0%2e0%2e1.TestV001Entry_IndexKeys.func1 github.com/sigstore/rekor/pkg/types/intoto/v0.0.1/entry_test.go:482 testing.tRunner testing/testing.go:1595 --- PASS: TestV001Entry_IndexKeys (0.00s) --- PASS: TestV001Entry_IndexKeys/standard (0.00s) --- PASS: TestV001Entry_IndexKeys/subject (0.00s) --- PASS: TestV001Entry_IndexKeys/slsa (0.00s) === RUN TestInsertable === RUN TestInsertable/valid_entry === RUN TestInsertable/missing_parsed_keyObj === RUN TestInsertable/missing_parsed_DSSE_envelope === RUN TestInsertable/missing_content === RUN TestInsertable/missing_envelope_string === RUN TestInsertable/missing_unparsed_public_key === RUN TestInsertable/empty_parsed_DSSE_envelope --- PASS: TestInsertable (0.00s) --- PASS: TestInsertable/valid_entry (0.00s) --- PASS: TestInsertable/missing_parsed_keyObj (0.00s) --- PASS: TestInsertable/missing_parsed_DSSE_envelope (0.00s) --- PASS: TestInsertable/missing_content (0.00s) --- PASS: TestInsertable/missing_envelope_string (0.00s) --- PASS: TestInsertable/missing_unparsed_public_key (0.00s) --- PASS: TestInsertable/empty_parsed_DSSE_envelope (0.00s) === RUN FuzzIntotoCreateProposedEntry --- PASS: FuzzIntotoCreateProposedEntry (0.00s) === RUN FuzzIntotoUnmarshalAndCanonicalize --- PASS: FuzzIntotoUnmarshalAndCanonicalize (0.00s) PASS ok github.com/sigstore/rekor/pkg/types/intoto/v0.0.1 0.022s === RUN TestNewEntryReturnType --- PASS: TestNewEntryReturnType (0.00s) === RUN TestV002Entry_Unmarshal === RUN TestV002Entry_Unmarshal/empty === RUN TestV002Entry_Unmarshal/missing_envelope === RUN TestV002Entry_Unmarshal/valid &{0xc00054c800 0xc0005261d0 0xc0005262d0}2023-10-28T01:03:03.183Z INFO v0.0.2/entry.go:113 IntotoObj DSSE payload is empty === RUN TestV002Entry_Unmarshal/cert &{0xc00054cb40 0xc000527700 0xc000527800}2023-10-28T01:03:03.184Z INFO v0.0.2/entry.go:113 IntotoObj DSSE payload is empty === RUN TestV002Entry_Unmarshal/invalid === RUN TestV002Entry_Unmarshal/invalid_key === RUN TestV002Entry_Unmarshal/multi-key &{0xc00054cf80 0xc0002cde70 0xc0002cdf70}2023-10-28T01:03:03.185Z INFO v0.0.2/entry.go:113 IntotoObj DSSE payload is empty === RUN TestV002Entry_Unmarshal/null_array_entry --- PASS: TestV002Entry_Unmarshal (0.00s) --- PASS: TestV002Entry_Unmarshal/empty (0.00s) --- PASS: TestV002Entry_Unmarshal/missing_envelope (0.00s) --- PASS: TestV002Entry_Unmarshal/valid (0.00s) --- PASS: TestV002Entry_Unmarshal/cert (0.00s) --- PASS: TestV002Entry_Unmarshal/invalid (0.00s) --- PASS: TestV002Entry_Unmarshal/invalid_key (0.00s) --- PASS: TestV002Entry_Unmarshal/multi-key (0.00s) --- PASS: TestV002Entry_Unmarshal/null_array_entry (0.00s) === RUN TestV002Entry_IndexKeys === RUN TestV002Entry_IndexKeys/standard === RUN TestV002Entry_IndexKeys/subject === RUN TestV002Entry_IndexKeys/slsa === RUN TestV002Entry_IndexKeys/slsa_wit_header --- PASS: TestV002Entry_IndexKeys (0.00s) --- PASS: TestV002Entry_IndexKeys/standard (0.00s) --- PASS: TestV002Entry_IndexKeys/subject (0.00s) --- PASS: TestV002Entry_IndexKeys/slsa (0.00s) --- PASS: TestV002Entry_IndexKeys/slsa_wit_header (0.00s) === RUN TestInsertable === RUN TestInsertable/valid_entry === RUN TestInsertable/valid_entry_but_hasn't_been_parsed === RUN TestInsertable/missing_sig === RUN TestInsertable/missing_key === RUN TestInsertable/empty_signatures === RUN TestInsertable/missing_payloadType === RUN TestInsertable/missing_payload === RUN TestInsertable/missing_envelope === RUN TestInsertable/missing_content --- PASS: TestInsertable (0.00s) --- PASS: TestInsertable/valid_entry (0.00s) --- PASS: TestInsertable/valid_entry_but_hasn't_been_parsed (0.00s) --- PASS: TestInsertable/missing_sig (0.00s) --- PASS: TestInsertable/missing_key (0.00s) --- PASS: TestInsertable/empty_signatures (0.00s) --- PASS: TestInsertable/missing_payloadType (0.00s) --- PASS: TestInsertable/missing_payload (0.00s) --- PASS: TestInsertable/missing_envelope (0.00s) --- PASS: TestInsertable/missing_content (0.00s) === RUN FuzzIntotoCreateProposedEntry --- PASS: FuzzIntotoCreateProposedEntry (0.00s) === RUN FuzzIntotoUnmarshalAndCanonicalize --- PASS: FuzzIntotoUnmarshalAndCanonicalize (0.00s) PASS ok github.com/sigstore/rekor/pkg/types/intoto/v0.0.2 0.047s === RUN TestJARType 2023-10-28T01:03:03.196Z ERROR types/versionmap.go:83 Could not get version from string: "not" github.com/sigstore/rekor/pkg/types.(*SemVerEntryFactoryMap).SetEntryFactory github.com/sigstore/rekor/pkg/types/versionmap.go:83 github.com/sigstore/rekor/pkg/types/jar.TestJARType github.com/sigstore/rekor/pkg/types/jar/jar_test.go:58 testing.tRunner testing/testing.go:1595 2023-10-28T01:03:03.196Z ERROR types/versionmap.go:59 No Major.Minor.Patch elements found github.com/sigstore/rekor/pkg/types.(*SemVerEntryFactoryMap).GetEntryFactory github.com/sigstore/rekor/pkg/types/versionmap.go:59 github.com/sigstore/rekor/pkg/types.(*RekorType).VersionedUnmarshal github.com/sigstore/rekor/pkg/types/types.go:53 github.com/sigstore/rekor/pkg/types/jar.(*BaseJARType).UnmarshalEntry github.com/sigstore/rekor/pkg/types/jar/jar.go:58 github.com/sigstore/rekor/pkg/types/jar.TestJARType github.com/sigstore/rekor/pkg/types/jar/jar_test.go:93 testing.tRunner testing/testing.go:1595 --- PASS: TestJARType (0.00s) === RUN FuzzJarUnmarshal --- PASS: FuzzJarUnmarshal (0.00s) PASS ok github.com/sigstore/rekor/pkg/types/jar 0.040s === RUN TestNewEntryReturnType --- PASS: TestNewEntryReturnType (0.00s) === RUN TestCrossFieldValidation --- PASS: TestCrossFieldValidation (0.01s) === RUN TestJarMetadataSize --- PASS: TestJarMetadataSize (0.00s) === RUN TestInsertable === RUN TestInsertable/valid_entry === RUN TestInsertable/missing_archive_content === RUN TestInsertable/missing_archive_obj --- PASS: TestInsertable (0.00s) --- PASS: TestInsertable/valid_entry (0.00s) --- PASS: TestInsertable/missing_archive_content (0.00s) --- PASS: TestInsertable/missing_archive_obj (0.00s) === RUN FuzzJarCreateProposedEntry --- PASS: FuzzJarCreateProposedEntry (0.00s) === RUN FuzzJarUnmarshalAndCanonicalize --- PASS: FuzzJarUnmarshalAndCanonicalize (0.00s) === RUN FuzzJarutilsVerify --- PASS: FuzzJarutilsVerify (0.00s) PASS ok github.com/sigstore/rekor/pkg/types/jar/v0.0.1 0.028s === RUN TestRekordType 2023-10-28T01:03:03.566Z ERROR types/versionmap.go:83 Could not get version from string: "not" github.com/sigstore/rekor/pkg/types.(*SemVerEntryFactoryMap).SetEntryFactory github.com/sigstore/rekor/pkg/types/versionmap.go:83 github.com/sigstore/rekor/pkg/types/rekord.TestRekordType github.com/sigstore/rekor/pkg/types/rekord/rekord_test.go:59 testing.tRunner testing/testing.go:1595 2023-10-28T01:03:03.566Z ERROR types/versionmap.go:59 No Major.Minor.Patch elements found github.com/sigstore/rekor/pkg/types.(*SemVerEntryFactoryMap).GetEntryFactory github.com/sigstore/rekor/pkg/types/versionmap.go:59 github.com/sigstore/rekor/pkg/types.(*RekorType).VersionedUnmarshal github.com/sigstore/rekor/pkg/types/types.go:53 github.com/sigstore/rekor/pkg/types/rekord.BaseRekordType.UnmarshalEntry github.com/sigstore/rekor/pkg/types/rekord/rekord.go:58 github.com/sigstore/rekor/pkg/types/rekord.TestRekordType github.com/sigstore/rekor/pkg/types/rekord/rekord_test.go:94 testing.tRunner testing/testing.go:1595 --- PASS: TestRekordType (0.00s) PASS ok github.com/sigstore/rekor/pkg/types/rekord 0.027s === RUN TestNewEntryReturnType --- PASS: TestNewEntryReturnType (0.00s) === RUN TestCrossFieldValidation --- PASS: TestCrossFieldValidation (0.02s) === RUN TestUnspecifiedPKIFormat --- PASS: TestUnspecifiedPKIFormat (0.00s) === RUN TestInsertable === RUN TestInsertable/valid_entry === RUN TestInsertable/missing_public_key_content === RUN TestInsertable/missing_public_key_obj === RUN TestInsertable/missing_format_string === RUN TestInsertable/missing_signature_content === RUN TestInsertable/missing_signature_obj === RUN TestInsertable/missing_data_content === RUN TestInsertable/missing_data_obj === RUN TestInsertable/empty_obj --- PASS: TestInsertable (0.00s) --- PASS: TestInsertable/valid_entry (0.00s) --- PASS: TestInsertable/missing_public_key_content (0.00s) --- PASS: TestInsertable/missing_public_key_obj (0.00s) --- PASS: TestInsertable/missing_format_string (0.00s) --- PASS: TestInsertable/missing_signature_content (0.00s) --- PASS: TestInsertable/missing_signature_obj (0.00s) --- PASS: TestInsertable/missing_data_content (0.00s) --- PASS: TestInsertable/missing_data_obj (0.00s) --- PASS: TestInsertable/empty_obj (0.00s) === RUN FuzzRekordCreateProposedEntry --- PASS: FuzzRekordCreateProposedEntry (0.00s) === RUN FuzzRekordUnmarshalAndCanonicalize --- PASS: FuzzRekordUnmarshalAndCanonicalize (0.00s) PASS ok github.com/sigstore/rekor/pkg/types/rekord/v0.0.1 0.086s === RUN TestRfc3161Type 2023-10-28T01:03:04.127Z ERROR types/versionmap.go:83 Could not get version from string: "not" github.com/sigstore/rekor/pkg/types.(*SemVerEntryFactoryMap).SetEntryFactory github.com/sigstore/rekor/pkg/types/versionmap.go:83 github.com/sigstore/rekor/pkg/types/rfc3161.TestRfc3161Type github.com/sigstore/rekor/pkg/types/rfc3161/rfc3161_test.go:59 testing.tRunner testing/testing.go:1595 2023-10-28T01:03:04.127Z ERROR types/versionmap.go:59 No Major.Minor.Patch elements found github.com/sigstore/rekor/pkg/types.(*SemVerEntryFactoryMap).GetEntryFactory github.com/sigstore/rekor/pkg/types/versionmap.go:59 github.com/sigstore/rekor/pkg/types.(*RekorType).VersionedUnmarshal github.com/sigstore/rekor/pkg/types/types.go:53 github.com/sigstore/rekor/pkg/types/rfc3161.BaseTimestampType.UnmarshalEntry github.com/sigstore/rekor/pkg/types/rfc3161/rfc3161.go:58 github.com/sigstore/rekor/pkg/types/rfc3161.TestRfc3161Type github.com/sigstore/rekor/pkg/types/rfc3161/rfc3161_test.go:94 testing.tRunner testing/testing.go:1595 --- PASS: TestRfc3161Type (0.00s) PASS ok github.com/sigstore/rekor/pkg/types/rfc3161 0.077s === RUN TestNewEntryReturnType --- PASS: TestNewEntryReturnType (0.00s) === RUN TestCrossFieldValidation --- PASS: TestCrossFieldValidation (0.00s) === RUN TestInsertable === RUN TestInsertable/valid_entry === RUN TestInsertable/unparsed_tsr === RUN TestInsertable/missing_tsr_content === RUN TestInsertable/missing_tsr_obj === RUN TestInsertable/missing_Rfc3161_obj === RUN TestInsertable/empty_obj --- PASS: TestInsertable (0.00s) --- PASS: TestInsertable/valid_entry (0.00s) --- PASS: TestInsertable/unparsed_tsr (0.00s) --- PASS: TestInsertable/missing_tsr_content (0.00s) --- PASS: TestInsertable/missing_tsr_obj (0.00s) --- PASS: TestInsertable/missing_Rfc3161_obj (0.00s) --- PASS: TestInsertable/empty_obj (0.00s) === RUN FuzzRfc3161CreateProposedEntry --- PASS: FuzzRfc3161CreateProposedEntry (0.00s) === RUN FuzzRfc3161UnmarshalAndCanonicalize --- PASS: FuzzRfc3161UnmarshalAndCanonicalize (0.00s) PASS ok github.com/sigstore/rekor/pkg/types/rfc3161/v0.0.1 0.064s === RUN TestRPMType 2023-10-28T01:03:04.110Z ERROR types/versionmap.go:83 Could not get version from string: "not" github.com/sigstore/rekor/pkg/types.(*SemVerEntryFactoryMap).SetEntryFactory github.com/sigstore/rekor/pkg/types/versionmap.go:83 github.com/sigstore/rekor/pkg/types/rpm.TestRPMType github.com/sigstore/rekor/pkg/types/rpm/rpm_test.go:59 testing.tRunner testing/testing.go:1595 2023-10-28T01:03:04.110Z ERROR types/versionmap.go:59 No Major.Minor.Patch elements found github.com/sigstore/rekor/pkg/types.(*SemVerEntryFactoryMap).GetEntryFactory github.com/sigstore/rekor/pkg/types/versionmap.go:59 github.com/sigstore/rekor/pkg/types.(*RekorType).VersionedUnmarshal github.com/sigstore/rekor/pkg/types/types.go:53 github.com/sigstore/rekor/pkg/types/rpm.(*BaseRPMType).UnmarshalEntry github.com/sigstore/rekor/pkg/types/rpm/rpm.go:58 github.com/sigstore/rekor/pkg/types/rpm.TestRPMType github.com/sigstore/rekor/pkg/types/rpm/rpm_test.go:94 testing.tRunner testing/testing.go:1595 --- PASS: TestRPMType (0.00s) PASS ok github.com/sigstore/rekor/pkg/types/rpm 0.028s === RUN TestNewEntryReturnType --- PASS: TestNewEntryReturnType (0.00s) === RUN TestCrossFieldValidation --- PASS: TestCrossFieldValidation (0.02s) === RUN TestInsertable === RUN TestInsertable/valid_entry === RUN TestInsertable/missing_public_key_content === RUN TestInsertable/missing_public_key_obj === RUN TestInsertable/missing_package_content === RUN TestInsertable/missing_package_obj === RUN TestInsertable/empty_obj --- PASS: TestInsertable (0.00s) --- PASS: TestInsertable/valid_entry (0.00s) --- PASS: TestInsertable/missing_public_key_content (0.00s) --- PASS: TestInsertable/missing_public_key_obj (0.00s) --- PASS: TestInsertable/missing_package_content (0.00s) --- PASS: TestInsertable/missing_package_obj (0.00s) --- PASS: TestInsertable/empty_obj (0.00s) === RUN FuzzRpmCreateProposedEntry --- PASS: FuzzRpmCreateProposedEntry (0.00s) === RUN FuzzRpmUnmarshalAndCanonicalize --- PASS: FuzzRpmUnmarshalAndCanonicalize (0.00s) PASS ok github.com/sigstore/rekor/pkg/types/rpm/v0.0.1 0.070s === RUN TestTufType 2023-10-28T01:03:04.253Z ERROR types/versionmap.go:83 Could not get version from string: "not" github.com/sigstore/rekor/pkg/types.(*SemVerEntryFactoryMap).SetEntryFactory github.com/sigstore/rekor/pkg/types/versionmap.go:83 github.com/sigstore/rekor/pkg/types/tuf.TestTufType github.com/sigstore/rekor/pkg/types/tuf/tuf_test.go:59 testing.tRunner testing/testing.go:1595 2023-10-28T01:03:04.253Z ERROR types/versionmap.go:59 No Major.Minor.Patch elements found github.com/sigstore/rekor/pkg/types.(*SemVerEntryFactoryMap).GetEntryFactory github.com/sigstore/rekor/pkg/types/versionmap.go:59 github.com/sigstore/rekor/pkg/types.(*RekorType).VersionedUnmarshal github.com/sigstore/rekor/pkg/types/types.go:53 github.com/sigstore/rekor/pkg/types/tuf.BaseTufType.UnmarshalEntry github.com/sigstore/rekor/pkg/types/tuf/tuf.go:59 github.com/sigstore/rekor/pkg/types/tuf.TestTufType github.com/sigstore/rekor/pkg/types/tuf/tuf_test.go:94 testing.tRunner testing/testing.go:1595 --- PASS: TestTufType (0.00s) PASS ok github.com/sigstore/rekor/pkg/types/tuf 0.048s === RUN TestNewEntryReturnType --- PASS: TestNewEntryReturnType (0.00s) === RUN TestCrossFieldValidation === RUN TestCrossFieldValidation/root_without_content === RUN TestCrossFieldValidation/root_without_manifest === RUN TestCrossFieldValidation/root_with_invalid_manifest_&_valid_metadata === RUN TestCrossFieldValidation/root_with_manifest_&_content === RUN TestCrossFieldValidation/root_with_invalid_key_content_&_with_manifest_with_content === RUN TestCrossFieldValidation/public_key_with_key_content_&_with_invalid_data_with_content --- PASS: TestCrossFieldValidation (0.01s) --- PASS: TestCrossFieldValidation/root_without_content (0.00s) --- PASS: TestCrossFieldValidation/root_without_manifest (0.00s) --- PASS: TestCrossFieldValidation/root_with_invalid_manifest_&_valid_metadata (0.00s) --- PASS: TestCrossFieldValidation/root_with_manifest_&_content (0.00s) --- PASS: TestCrossFieldValidation/root_with_invalid_key_content_&_with_manifest_with_content (0.00s) --- PASS: TestCrossFieldValidation/public_key_with_key_content_&_with_invalid_data_with_content (0.00s) === RUN TestInsertable === RUN TestInsertable/valid_entry === RUN TestInsertable/missing_root_content === RUN TestInsertable/missing_root_obj === RUN TestInsertable/missing_metadata_content === RUN TestInsertable/missing_metadata_content#01 === RUN TestInsertable/empty_obj --- PASS: TestInsertable (0.00s) --- PASS: TestInsertable/valid_entry (0.00s) --- PASS: TestInsertable/missing_root_content (0.00s) --- PASS: TestInsertable/missing_root_obj (0.00s) --- PASS: TestInsertable/missing_metadata_content (0.00s) --- PASS: TestInsertable/missing_metadata_content#01 (0.00s) --- PASS: TestInsertable/empty_obj (0.00s) === RUN FuzzTufCreateProposedEntry --- PASS: FuzzTufCreateProposedEntry (0.00s) === RUN FuzzTufUnmarshalAndCanonicalize --- PASS: FuzzTufUnmarshalAndCanonicalize (0.00s) PASS ok github.com/sigstore/rekor/pkg/types/tuf/v0.0.1 0.049s === RUN TestMarshalCheckpoint === RUN TestMarshalCheckpoint/bananas === RUN TestMarshalCheckpoint/the_view_from_the_tree_tops_is_great! === RUN TestMarshalCheckpoint/the_view_from_the_tree_tops_is_great!#01 --- PASS: TestMarshalCheckpoint (0.00s) --- PASS: TestMarshalCheckpoint/bananas (0.00s) --- PASS: TestMarshalCheckpoint/the_view_from_the_tree_tops_is_great! (0.00s) --- PASS: TestMarshalCheckpoint/the_view_from_the_tree_tops_is_great!#01 (0.00s) === RUN TestUnmarshalCheckpoint === RUN TestUnmarshalCheckpoint/valid_one === RUN TestUnmarshalCheckpoint/valid_with_different_ecosystem === RUN TestUnmarshalCheckpoint/valid_with_trailing_data === RUN TestUnmarshalCheckpoint/valid_with_multiple_trailing_data_lines === RUN TestUnmarshalCheckpoint/valid_with_trailing_newlines === RUN TestUnmarshalCheckpoint/invalid_-_insufficient_lines === RUN TestUnmarshalCheckpoint/invalid_-_empty_header === RUN TestUnmarshalCheckpoint/invalid_-_missing_newline_on_roothash === RUN TestUnmarshalCheckpoint/invalid_size_-_not_a_number === RUN TestUnmarshalCheckpoint/invalid_size_-_negative === RUN TestUnmarshalCheckpoint/invalid_size_-_too_large === RUN TestUnmarshalCheckpoint/invalid_roothash_-_not_base64 --- PASS: TestUnmarshalCheckpoint (0.00s) --- PASS: TestUnmarshalCheckpoint/valid_one (0.00s) --- PASS: TestUnmarshalCheckpoint/valid_with_different_ecosystem (0.00s) --- PASS: TestUnmarshalCheckpoint/valid_with_trailing_data (0.00s) --- PASS: TestUnmarshalCheckpoint/valid_with_multiple_trailing_data_lines (0.00s) --- PASS: TestUnmarshalCheckpoint/valid_with_trailing_newlines (0.00s) --- PASS: TestUnmarshalCheckpoint/invalid_-_insufficient_lines (0.00s) --- PASS: TestUnmarshalCheckpoint/invalid_-_empty_header (0.00s) --- PASS: TestUnmarshalCheckpoint/invalid_-_missing_newline_on_roothash (0.00s) --- PASS: TestUnmarshalCheckpoint/invalid_size_-_not_a_number (0.00s) --- PASS: TestUnmarshalCheckpoint/invalid_size_-_negative (0.00s) --- PASS: TestUnmarshalCheckpoint/invalid_size_-_too_large (0.00s) --- PASS: TestUnmarshalCheckpoint/invalid_roothash_-_not_base64 (0.00s) === RUN TestSigningRoundtripCheckpoint === RUN TestSigningRoundtripCheckpoint/Log_Checkpoint_RSA_v0 === RUN TestSigningRoundtripCheckpoint/Log_Checkpoint_ECDSA_v0 === RUN TestSigningRoundtripCheckpoint/Log_Checkpoint_Ed25519_v0 === RUN TestSigningRoundtripCheckpoint/Log_Checkpoint_Mismatch_v0 === RUN TestSigningRoundtripCheckpoint/Log_Checkpoint_Mismatch_v1 === RUN TestSigningRoundtripCheckpoint/Log_Checkpoint_Mismatch_v2 === RUN TestSigningRoundtripCheckpoint/Log_Checkpoint_Mismatch_v3 --- PASS: TestSigningRoundtripCheckpoint (0.10s) --- PASS: TestSigningRoundtripCheckpoint/Log_Checkpoint_RSA_v0 (0.01s) --- PASS: TestSigningRoundtripCheckpoint/Log_Checkpoint_ECDSA_v0 (0.00s) --- PASS: TestSigningRoundtripCheckpoint/Log_Checkpoint_Ed25519_v0 (0.00s) --- PASS: TestSigningRoundtripCheckpoint/Log_Checkpoint_Mismatch_v0 (0.00s) --- PASS: TestSigningRoundtripCheckpoint/Log_Checkpoint_Mismatch_v1 (0.00s) --- PASS: TestSigningRoundtripCheckpoint/Log_Checkpoint_Mismatch_v2 (0.00s) --- PASS: TestSigningRoundtripCheckpoint/Log_Checkpoint_Mismatch_v3 (0.00s) === RUN TestInvalidSigVerification === RUN TestInvalidSigVerification/Log_Checkpoint_v0 === RUN TestInvalidSigVerification/Log_Checkpoint_v0_not_base64 === RUN TestInvalidSigVerification/Log_Checkpoint_v0_invalid_signature --- PASS: TestInvalidSigVerification (0.00s) --- PASS: TestInvalidSigVerification/Log_Checkpoint_v0 (0.00s) --- PASS: TestInvalidSigVerification/Log_Checkpoint_v0_not_base64 (0.00s) --- PASS: TestInvalidSigVerification/Log_Checkpoint_v0_invalid_signature (0.00s) === RUN TestUnmarshalSignedCheckpoint === RUN TestUnmarshalSignedCheckpoint/invalid_checkpoint,_no_signatures === RUN TestUnmarshalSignedCheckpoint/valid_checkpoint,_no_signatures === RUN TestUnmarshalSignedCheckpoint/incorrect_signature_line_format === RUN TestUnmarshalSignedCheckpoint/signature_not_base64_encoded === RUN TestUnmarshalSignedCheckpoint/missing_identity === RUN TestUnmarshalSignedCheckpoint/signature_base64_encoded_but_too_short === RUN TestUnmarshalSignedCheckpoint/valid_signed_checkpoint_-_single_signature === RUN TestUnmarshalSignedCheckpoint/valid_signed_checkpoint_-_two_signatures --- PASS: TestUnmarshalSignedCheckpoint (0.00s) --- PASS: TestUnmarshalSignedCheckpoint/invalid_checkpoint,_no_signatures (0.00s) --- PASS: TestUnmarshalSignedCheckpoint/valid_checkpoint,_no_signatures (0.00s) --- PASS: TestUnmarshalSignedCheckpoint/incorrect_signature_line_format (0.00s) --- PASS: TestUnmarshalSignedCheckpoint/signature_not_base64_encoded (0.00s) --- PASS: TestUnmarshalSignedCheckpoint/missing_identity (0.00s) --- PASS: TestUnmarshalSignedCheckpoint/signature_base64_encoded_but_too_short (0.00s) --- PASS: TestUnmarshalSignedCheckpoint/valid_signed_checkpoint_-_single_signature (0.00s) --- PASS: TestUnmarshalSignedCheckpoint/valid_signed_checkpoint_-_two_signatures (0.00s) === RUN TestSignCheckpoint --- PASS: TestSignCheckpoint (0.00s) === RUN TestPrefixSHA --- PASS: TestPrefixSHA (0.00s) PASS ok github.com/sigstore/rekor/pkg/util 0.107s === RUN TestConsistency === RUN TestConsistency/zero_length_proof === RUN TestConsistency/valid_consistency_proof === RUN TestConsistency/invalid_new_sth_request === RUN TestConsistency/invalid_consistency_proof === RUN TestConsistency/invalid_consistency_-_same_size === RUN TestConsistency/invalid_consistency_-_empty_log --- PASS: TestConsistency (0.00s) --- PASS: TestConsistency/zero_length_proof (0.00s) --- PASS: TestConsistency/valid_consistency_proof (0.00s) --- PASS: TestConsistency/invalid_new_sth_request (0.00s) --- PASS: TestConsistency/invalid_consistency_proof (0.00s) --- PASS: TestConsistency/invalid_consistency_-_same_size (0.00s) --- PASS: TestConsistency/invalid_consistency_-_empty_log (0.00s) === RUN TestInclusion === RUN TestInclusion/valid_inclusion === RUN TestInclusion/invalid_inclusion_-_bad_body_hash --- PASS: TestInclusion (0.00s) --- PASS: TestInclusion/valid_inclusion (0.00s) --- PASS: TestInclusion/invalid_inclusion_-_bad_body_hash (0.00s) === RUN TestCheckpoint === RUN TestCheckpoint/valid_checkpoint === RUN TestCheckpoint/root_hash_mismatch --- PASS: TestCheckpoint (0.00s) --- PASS: TestCheckpoint/valid_checkpoint (0.00s) --- PASS: TestCheckpoint/root_hash_mismatch (0.00s) PASS ok github.com/sigstore/rekor/pkg/verify 0.032s ? github.com/sigstore/rekor/pkg/witness/mockclient [no test files] === RUN TestPublishCheckpoint --- PASS: TestPublishCheckpoint (1.00s) === RUN TestPublishCheckpointMultiple --- PASS: TestPublishCheckpointMultiple (1.00s) === RUN TestPublishCheckpointTrillianError 2023-10-28T01:03:07.296Z ERROR witness/publish_checkpoint.go:113 error getting latest checkpoint to publish: Unknown github.com/sigstore/rekor/pkg/witness.(*CheckpointPublisher).publish github.com/sigstore/rekor/pkg/witness/publish_checkpoint.go:113 github.com/sigstore/rekor/pkg/witness.(*CheckpointPublisher).StartPublisher github.com/sigstore/rekor/pkg/witness/publish_checkpoint.go:88 github.com/sigstore/rekor/pkg/witness.TestPublishCheckpointTrillianError github.com/sigstore/rekor/pkg/witness/publish_checkpoint_test.go:181 testing.tRunner testing/testing.go:1595 --- PASS: TestPublishCheckpointTrillianError (1.00s) === RUN TestPublishCheckpointInvalidTrillianResponse 2023-10-28T01:03:08.297Z ERROR witness/publish_checkpoint.go:125 error unmarshalling latest checkpoint to publish: logRootBytes too short github.com/sigstore/rekor/pkg/witness.(*CheckpointPublisher).publish github.com/sigstore/rekor/pkg/witness/publish_checkpoint.go:125 github.com/sigstore/rekor/pkg/witness.(*CheckpointPublisher).StartPublisher github.com/sigstore/rekor/pkg/witness/publish_checkpoint.go:88 github.com/sigstore/rekor/pkg/witness.TestPublishCheckpointInvalidTrillianResponse github.com/sigstore/rekor/pkg/witness/publish_checkpoint_test.go:218 testing.tRunner testing/testing.go:1595 --- PASS: TestPublishCheckpointInvalidTrillianResponse (1.00s) === RUN TestPublishCheckpointRedisFailure 2023-10-28T01:03:09.298Z ERROR witness/publish_checkpoint.go:161 error with client publishing checkpoint: redis error github.com/sigstore/rekor/pkg/witness.(*CheckpointPublisher).publish github.com/sigstore/rekor/pkg/witness/publish_checkpoint.go:161 github.com/sigstore/rekor/pkg/witness.(*CheckpointPublisher).StartPublisher github.com/sigstore/rekor/pkg/witness/publish_checkpoint.go:88 github.com/sigstore/rekor/pkg/witness.TestPublishCheckpointRedisFailure github.com/sigstore/rekor/pkg/witness/publish_checkpoint_test.go:262 testing.tRunner testing/testing.go:1595 --- PASS: TestPublishCheckpointRedisFailure (1.00s) === RUN TestPublishCheckpointRedisLatestFailure 2023-10-28T01:03:10.299Z ERROR witness/publish_checkpoint.go:189 error with client publishing latest checkpoint: error github.com/sigstore/rekor/pkg/witness.(*CheckpointPublisher).publish github.com/sigstore/rekor/pkg/witness/publish_checkpoint.go:189 github.com/sigstore/rekor/pkg/witness.(*CheckpointPublisher).StartPublisher github.com/sigstore/rekor/pkg/witness/publish_checkpoint.go:88 github.com/sigstore/rekor/pkg/witness.TestPublishCheckpointRedisLatestFailure github.com/sigstore/rekor/pkg/witness/publish_checkpoint_test.go:307 testing.tRunner testing/testing.go:1595 --- PASS: TestPublishCheckpointRedisLatestFailure (1.00s) PASS ok github.com/sigstore/rekor/pkg/witness 6.011s >>> rekor: Entering fakeroot... >>> rekor-server*: Running split function server... >>> rekor-server*: Preparing subpackage rekor-server... >>> rekor-server*: Stripping binaries >>> rekor-server*: Running postcheck for rekor-server >>> rekor-bash-completion*: Running split function bashcomp... '/home/buildozer/aports/community/rekor/pkg/rekor/usr/share/bash-completion/completions' -> '/home/buildozer/aports/community/rekor/pkg/rekor-bash-completion/usr/share/bash-completion/completions' >>> rekor-bash-completion*: Preparing subpackage rekor-bash-completion... >>> rekor-bash-completion*: Running postcheck for rekor-bash-completion >>> rekor-zsh-completion*: Running split function zshcomp... '/home/buildozer/aports/community/rekor/pkg/rekor/usr/share/zsh/site-functions' -> '/home/buildozer/aports/community/rekor/pkg/rekor-zsh-completion/usr/share/zsh/site-functions' >>> rekor-zsh-completion*: Preparing subpackage rekor-zsh-completion... >>> rekor-zsh-completion*: Running postcheck for rekor-zsh-completion >>> rekor-fish-completion*: Running split function fishcomp... '/home/buildozer/aports/community/rekor/pkg/rekor/usr/share/fish/vendor_completions.d' -> '/home/buildozer/aports/community/rekor/pkg/rekor-fish-completion/usr/share/fish/vendor_completions.d' >>> rekor-fish-completion*: Preparing subpackage rekor-fish-completion... >>> rekor-fish-completion*: Running postcheck for rekor-fish-completion >>> rekor*: Running postcheck for rekor >>> rekor*: Preparing package rekor... >>> rekor*: Stripping binaries >>> rekor-bash-completion*: Scanning shared objects >>> rekor-fish-completion*: Scanning shared objects >>> rekor-server*: Scanning shared objects >>> rekor-zsh-completion*: Scanning shared objects >>> rekor*: Scanning shared objects >>> rekor-bash-completion*: Tracing dependencies... >>> rekor-bash-completion*: Package size: 44.0 KB >>> rekor-bash-completion*: Compressing data... >>> rekor-bash-completion*: Create checksum... >>> rekor-bash-completion*: Create rekor-bash-completion-1.2.2-r4.apk >>> rekor-fish-completion*: Tracing dependencies... >>> rekor-fish-completion*: Package size: 44.0 KB >>> rekor-fish-completion*: Compressing data... >>> rekor-fish-completion*: Create checksum... >>> rekor-fish-completion*: Create rekor-fish-completion-1.2.2-r4.apk >>> rekor-server*: Tracing dependencies... so:libc.musl-s390x.so.1 >>> rekor-server*: Package size: 37.5 MB >>> rekor-server*: Compressing data... >>> rekor-server*: Create checksum... >>> rekor-server*: Create rekor-server-1.2.2-r4.apk >>> rekor-zsh-completion*: Tracing dependencies... >>> rekor-zsh-completion*: Package size: 36.0 KB >>> rekor-zsh-completion*: Compressing data... >>> rekor-zsh-completion*: Create checksum... >>> rekor-zsh-completion*: Create rekor-zsh-completion-1.2.2-r4.apk >>> rekor*: Tracing dependencies... so:libc.musl-s390x.so.1 >>> rekor*: Package size: 22.3 MB >>> rekor*: Compressing data... >>> rekor*: Create checksum... >>> rekor*: Create rekor-1.2.2-r4.apk >>> rekor: Build complete at Sat, 28 Oct 2023 01:03:16 +0000 elapsed time 0h 1m 16s >>> rekor: Cleaning up srcdir >>> rekor: Cleaning up pkgdir >>> rekor: Uninstalling dependencies... (1/2) Purging .makedepends-rekor (20231028.010202) (2/2) Purging go (1.21.3-r1) Executing busybox-1.36.1-r13.trigger OK: 435 MiB in 106 packages >>> rekor: Updating the community/s390x repository index... >>> rekor: Signing the index...