>>> rekor: Building community/rekor 1.3.3-r0 (using abuild 3.12.0-r0) started Wed, 22 Nov 2023 18:56:19 +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.4-r0) (2/2) Installing .makedepends-rekor (20231122.185621) Executing busybox-1.36.1-r15.trigger OK: 552 MiB in 112 packages >>> rekor: Cleaning up srcdir >>> rekor: Cleaning up pkgdir >>> rekor: Cleaning up tmpdir >>> rekor: Fetching https://distfiles.alpinelinux.org/distfiles/edge/rekor-1.3.3.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.3.3.tar.gz::https://github.com/sigstore/rekor/archive/v1.3.3.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 869k 0 869k 0 0 2181k 0 --:--:-- --:--:-- --:--:-- 3008k >>> rekor: Fetching https://distfiles.alpinelinux.org/distfiles/edge/rekor-1.3.3.tar.gz >>> rekor: Checking sha512sums... rekor-1.3.3.tar.gz: OK >>> rekor: Unpacking /var/cache/distfiles/edge/rekor-1.3.3.tar.gz... go: downloading github.com/go-openapi/strfmt v0.21.7 go: downloading github.com/mitchellh/go-homedir v1.1.0 go: downloading github.com/go-playground/validator/v10 v10.15.5 go: downloading github.com/go-openapi/swag v0.22.4 go: downloading github.com/go-openapi/runtime v0.26.0 go: downloading github.com/sassoftware/relic v7.2.1+incompatible go: downloading github.com/sigstore/sigstore v1.7.5 go: downloading github.com/secure-systems-lab/go-securesystemslib v0.7.0 go: downloading sigs.k8s.io/release-utils v0.7.6 go: downloading github.com/spf13/viper v1.17.0 go: downloading go.uber.org/zap v1.26.0 go: downloading github.com/hashicorp/go-retryablehttp v0.7.4 go: downloading github.com/in-toto/in-toto-golang v0.9.0 go: downloading github.com/spf13/pflag v1.0.5 go: downloading github.com/spf13/cobra v1.7.0 go: downloading github.com/transparency-dev/merkle v0.0.2 go: downloading github.com/go-openapi/errors v0.20.4 go: downloading golang.org/x/exp v0.0.0-20231006140011-7918f672742d go: downloading github.com/go-chi/chi v4.1.2+incompatible go: downloading github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 go: downloading golang.org/x/sync v0.4.0 go: downloading github.com/hashicorp/go-cleanhttp v0.5.2 go: downloading github.com/sigstore/protobuf-specs v0.2.1 go: downloading google.golang.org/protobuf v1.31.0 go: downloading github.com/cavaliercoder/go-rpm v0.0.0-20200122174316-8cb9fd9c31a8 go: downloading github.com/cyberphone/json-canonicalization v0.0.0-20220623050100-57a0ce2678a7 go: downloading github.com/theupdateframework/go-tuf v0.6.1 go: downloading github.com/veraison/go-cose v1.2.0 go: downloading github.com/google/trillian v1.5.3 go: downloading sigs.k8s.io/yaml v1.4.0 go: downloading github.com/blang/semver v3.5.1+incompatible go: downloading github.com/mitchellh/mapstructure v1.5.0 go: downloading golang.org/x/mod v0.13.0 go: downloading golang.org/x/crypto v0.14.0 go: downloading github.com/go-openapi/validate v0.22.1 go: downloading gopkg.in/ini.v1 v1.67.0 go: downloading github.com/oklog/ulid v1.3.1 go: downloading go.mongodb.org/mongo-driver v1.11.3 go: downloading github.com/mailru/easyjson v0.7.7 go: downloading gopkg.in/yaml.v3 v3.0.1 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 github.com/fsnotify/fsnotify v1.6.0 go: downloading github.com/sagikazarmark/slog-shim v0.1.0 go: downloading github.com/spf13/afero v1.10.0 go: downloading github.com/spf13/cast v1.5.1 go: downloading github.com/google/go-containerregistry v0.16.1 go: downloading github.com/letsencrypt/boulder v0.0.0-20221109233200-85aa52084eaf go: downloading golang.org/x/term v0.13.0 go: downloading github.com/opentracing/opentracing-go v1.2.0 go: downloading go.opentelemetry.io/otel v1.19.0 go: downloading go.opentelemetry.io/otel/trace v1.19.0 go: downloading github.com/gabriel-vasile/mimetype v1.4.2 go: downloading github.com/go-playground/universal-translator v0.18.1 go: downloading github.com/leodido/go-urn v1.2.4 go: downloading golang.org/x/text v0.13.0 go: downloading go.uber.org/multierr v1.11.0 go: downloading google.golang.org/genproto/googleapis/api v0.0.0-20231016165738-49dd2c1f3d0b go: downloading github.com/fxamacker/cbor/v2 v2.4.0 go: downloading github.com/shibumi/go-pathspec v1.3.0 go: downloading github.com/subosito/gotenv v1.6.0 go: downloading golang.org/x/sys v0.13.0 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.1.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/loads v0.21.2 go: downloading google.golang.org/genproto v0.0.0-20231016165738-49dd2c1f3d0b go: downloading github.com/go-openapi/spec v0.20.9 go: downloading gopkg.in/yaml.v2 v2.4.0 go: downloading github.com/josharian/intern v1.0.0 go: downloading github.com/go-openapi/jsonpointer v0.19.6 go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20231016165738-49dd2c1f3d0b go: downloading google.golang.org/grpc v1.59.0 go: downloading github.com/go-playground/locales v0.14.1 go: downloading github.com/x448/float16 v0.8.4 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/go-logr/logr v1.2.4 go: downloading go.opentelemetry.io/otel/metric v1.19.0 go: downloading github.com/go-logr/stdr v1.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/opencontainers/go-digest v1.0.0 go: downloading github.com/go-openapi/jsonreference v0.20.2 go: downloading github.com/godbus/dbus/v5 v5.1.0 go: downloading github.com/golang/protobuf v1.5.3 go: downloading golang.org/x/net v0.17.0 go: downloading cloud.google.com/go/profiler v0.4.0 go: downloading github.com/prometheus/client_golang v1.17.0 go: downloading github.com/rs/cors v1.10.1 go: downloading github.com/redis/go-redis/v9 v9.3.0 go: downloading github.com/docker/go-units v0.5.0 go: downloading gocloud.dev v0.34.0 go: downloading github.com/sigstore/sigstore/pkg/signature/kms/aws v1.7.5 go: downloading github.com/sigstore/sigstore/pkg/signature/kms/azure v1.7.5 go: downloading github.com/sigstore/sigstore/pkg/signature/kms/hashivault v1.7.5 go: downloading go.step.sm/crypto v0.36.1 go: downloading github.com/sigstore/sigstore/pkg/signature/kms/gcp v1.7.5 go: downloading k8s.io/klog/v2 v2.100.1 go: downloading cloud.google.com/go/pubsub v1.33.0 go: downloading google.golang.org/api v0.149.0 go: downloading cloud.google.com/go v0.110.9 go: downloading github.com/jellydator/ttlcache/v3 v3.1.0 go: downloading github.com/hashicorp/vault/api v1.10.0 go: downloading github.com/aws/aws-sdk-go-v2 v1.21.2 go: downloading github.com/aws/aws-sdk-go-v2/config v1.19.1 go: downloading github.com/aws/aws-sdk-go-v2/service/kms v1.24.7 go: downloading cloud.google.com/go/kms v1.15.3 go: downloading github.com/Azure/azure-sdk-for-go/sdk/azcore v1.8.0 go: downloading github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.4.0 go: downloading github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/azkeys v1.0.1 go: downloading github.com/go-jose/go-jose/v3 v3.0.0 go: downloading github.com/prometheus/common v0.45.0 go: downloading github.com/cespare/xxhash/v2 v2.2.0 go: downloading github.com/prometheus/procfs v0.12.0 go: downloading github.com/beorn7/perks v1.0.1 go: downloading github.com/prometheus/client_model v0.5.0 go: downloading github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f go: downloading github.com/googleapis/gax-go/v2 v2.12.0 go: downloading cloud.google.com/go/iam v1.1.3 go: downloading cloud.google.com/go/compute/metadata v0.2.3 go: downloading github.com/google/pprof v0.0.0-20231023181126-ff6d637d2a7b go: downloading github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/internal v1.0.0 go: downloading github.com/cenkalti/backoff/v3 v3.2.2 go: downloading cloud.google.com/go/compute v1.23.1 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 go.opencensus.io v0.24.0 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.1.1 go: downloading golang.org/x/oauth2 v0.13.0 go: downloading github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0 go: downloading github.com/aws/smithy-go v1.15.0 go: downloading github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.43 go: downloading github.com/aws/aws-sdk-go-v2/credentials v1.13.43 go: downloading github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.13.13 go: downloading github.com/aws/aws-sdk-go-v2/service/sso v1.15.2 go: downloading github.com/aws/aws-sdk-go-v2/internal/ini v1.3.45 go: downloading github.com/aws/aws-sdk-go-v2/service/ssooidc v1.17.3 go: downloading github.com/aws/aws-sdk-go-v2/service/sts v1.23.2 go: downloading filippo.io/edwards25519 v1.0.0 go: downloading github.com/hashicorp/go-sockaddr v1.0.2 go: downloading github.com/ryanuber/go-glob v1.0.0 go: downloading github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.37 go: downloading github.com/kylelemons/godebug v1.1.0 go: downloading github.com/google/uuid v1.4.0 go: downloading github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8 go: downloading github.com/golang-jwt/jwt/v5 v5.0.0 go: downloading github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.37 go: downloading cloud.google.com/go/storage v1.33.0 go: downloading golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 go: downloading github.com/google/wire v0.5.0 go: downloading github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da go: downloading github.com/google/s2a-go v0.1.7 go: downloading github.com/googleapis/enterprise-certificate-proxy v0.3.2 2023-11-22T18:57:28.866Z DEBUG app/root.go:134 pprof enabled false 2023-11-22T18:57:28.866Z INFO app/root.go:182 Using config file: /home/buildozer/aports/community/rekor/src/rekor-1.3.3/rekor-server.yaml 2023-11-22T18:57:28.900Z DEBUG app/root.go:134 pprof enabled false 2023-11-22T18:57:28.901Z INFO app/root.go:182 Using config file: /home/buildozer/aports/community/rekor/src/rekor-1.3.3/rekor-server.yaml 2023-11-22T18:57:28.933Z DEBUG app/root.go:134 pprof enabled false 2023-11-22T18:57:28.934Z INFO app/root.go:182 Using config file: /home/buildozer/aports/community/rekor/src/rekor-1.3.3/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.6.1 go: downloading github.com/go-redis/redismock/v9 v9.2.0 go: downloading github.com/google/go-cmp v0.6.0 go: downloading go.uber.org/goleak v1.3.0 go: downloading github.com/golang/mock v1.6.0 go: downloading github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc go: downloading software.sslmate.com/src/go-pkcs12 v0.2.0 ? github.com/sigstore/rekor/cmd/backfill-redis [no test files] ? 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 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.047s === RUN TestArtifactPFlags 2023-11-22T18:57:37.059Z 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:69 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.19s) === RUN TestValidateRekorServerURL --- PASS: TestValidateRekorServerURL (0.00s) === RUN TestValidateRetryCount --- PASS: TestValidateRetryCount (0.00s) === RUN TestSearchPFlags --- PASS: TestSearchPFlags (0.01s) === 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.238s 2023-11-22T18:57:37.925Z DEBUG app/root.go:134 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]) --gcp_cloud_profiling.enable_oc_telemetry enable Profiler spans in Cloud Tracing & Cloud Monitoring --gcp_cloud_profiling.enabled enable GCP Cloud Profiling --gcp_cloud_profiling.project_id string GCP project ID --gcp_cloud_profiling.service string a name for the service being profiled (default "rekor-server") --gcp_cloud_profiling.service_version string the version of the service being profiled (default "v1.3.3") --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.password string Redis server password --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-edge-x86") --rekor_server.new_entry_publisher string URL for pub/sub queue to send messages to when new entries are added to the log. Ignored if not set. Supported providers: [gcppubsub] --rekor_server.publish_events_json Whether to publish events in CloudEvents JSON format. Applies to all enabled event types. --rekor_server.publish_events_protobuf Whether to publish events in Protobuf wire format. Applies to all enabled event types. --rekor_server.signer string Rekor signer to use. Valid options are: [awskms://keyname, azurekms://keyname, gcpkms://keyname, hashivault://keyname, memory, ]. 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]) --search_index.storage_provider string Index Storage provider to use. Valid options are: [redis]. (default "redis") --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.445s ? github.com/sigstore/rekor/cmd/rekor-server/app [no test files] ? github.com/sigstore/rekor/pkg/events [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/indexstorage [no test files] ? github.com/sigstore/rekor/pkg/log [no test files] ? github.com/sigstore/rekor/pkg/pki/identity [no test files] ? github.com/sigstore/rekor/pkg/pki/x509/testutils [no test files] ? github.com/sigstore/rekor/pkg/pubsub [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.119s ? 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.05s) === CONT TestGetRekorClientWithUserAgent === CONT TestGetRekorClientWithRetryCount === CONT TestGetRekorClientWithCustomPath --- PASS: TestGetRekorClientWithUserAgent (0.00s) --- PASS: TestGetRekorClientWithCustomPath (0.00s) --- PASS: TestGetRekorClientWithRetryCount (1.00s) PASS ok github.com/sigstore/rekor/pkg/client 2.090s === RUN TestBuildNewEntryEvent === PAUSE TestBuildNewEntryEvent === CONT TestBuildNewEntryEvent === RUN TestBuildNewEntryEvent/missing_ID === PAUSE TestBuildNewEntryEvent/missing_ID === RUN TestBuildNewEntryEvent/valid === PAUSE TestBuildNewEntryEvent/valid === CONT TestBuildNewEntryEvent/missing_ID === CONT TestBuildNewEntryEvent/valid --- PASS: TestBuildNewEntryEvent (0.00s) --- PASS: TestBuildNewEntryEvent/missing_ID (0.00s) --- PASS: TestBuildNewEntryEvent/valid (0.00s) PASS ok github.com/sigstore/rekor/pkg/events/newentry 0.011s === RUN TestLookupIndices --- PASS: TestLookupIndices (0.00s) === RUN TestWriteIndex --- PASS: TestWriteIndex (0.00s) === RUN TestUninitializedClient --- PASS: TestUninitializedClient (0.00s) PASS ok github.com/sigstore/rekor/pkg/indexstorage/redis 0.030s === 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.01s) --- PASS: TestFactoryNewKey/valid_pgp (0.01s) --- 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.044s === 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.03s) === RUN TestCanonicalValuePublicKey --- PASS: TestCanonicalValuePublicKey (0.00s) === RUN TestVerifySignature --- PASS: TestVerifySignature (0.03s) PASS ok github.com/sigstore/rekor/pkg/pki/minisign 0.086s === RUN TestReadPublicKey --- PASS: TestReadPublicKey (0.38s) === RUN TestReadSignature --- PASS: TestReadSignature (0.00s) === RUN TestReadErrorPublicKey --- PASS: TestReadErrorPublicKey (0.00s) === RUN TestReadErrorSignature --- PASS: TestReadErrorSignature (0.00s) === RUN TestFetchPublicKey --- PASS: TestFetchPublicKey (0.16s) === RUN TestFetchSignature --- PASS: TestFetchSignature (0.00s) === RUN TestCanonicalValueSignature --- PASS: TestCanonicalValueSignature (0.04s) === RUN TestCanonicalValuePublicKey --- PASS: TestCanonicalValuePublicKey (0.28s) === RUN TestEmailAddresses --- PASS: TestEmailAddresses (0.29s) === RUN TestVerifySignature --- PASS: TestVerifySignature (0.39s) PASS ok github.com/sigstore/rekor/pkg/pki/pgp 1.569s === RUN TestSignature_Verify === RUN TestSignature_Verify/ec --- PASS: TestSignature_Verify (0.06s) --- PASS: TestSignature_Verify/ec (0.06s) === RUN TestSignature_VerifyFail === RUN TestSignature_VerifyFail/ec --- PASS: TestSignature_VerifyFail (0.01s) --- PASS: TestSignature_VerifyFail/ec (0.01s) === 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.03s) --- 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.03s) --- 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.166s === RUN TestFromOpenSSH === RUN TestFromOpenSSH/rsa sign_test.go:159: cmd /usr/bin/ssh-keygen -Y sign -n file -f /tmp/TestFromOpenSSHrsa188645232/001/id /tmp/TestFromOpenSSHrsa188645232/001/data: Signing file /tmp/TestFromOpenSSHrsa188645232/001/data Write signature to /tmp/TestFromOpenSSHrsa188645232/001/data.sig === RUN TestFromOpenSSH/ed25519 sign_test.go:159: cmd /usr/bin/ssh-keygen -Y sign -n file -f /tmp/TestFromOpenSSHed255194042301643/001/id /tmp/TestFromOpenSSHed255194042301643/001/data: Signing file /tmp/TestFromOpenSSHed255194042301643/001/data Write signature to /tmp/TestFromOpenSSHed255194042301643/001/data.sig --- PASS: TestFromOpenSSH (0.23s) --- PASS: TestFromOpenSSH/rsa (0.15s) --- PASS: TestFromOpenSSH/ed25519 (0.08s) === RUN TestToOpenSSH === RUN TestToOpenSSH/rsa sign_test.go:223: cmd /usr/bin/ssh-keygen -Y verify -f /tmp/TestToOpenSSHrsa531000017/001/allowed_signer -I test@rekor.dev -n file -s /tmp/TestToOpenSSHrsa531000017/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/TestToOpenSSHrsa531000017/001/allowed_signer -I othertest@rekor.dev -n file -s /tmp/TestToOpenSSHrsa531000017/001/oursig: Could not verify signature. sign_test.go:232: cmd /usr/bin/ssh-keygen -Y check-novalidate -n file -s /tmp/TestToOpenSSHrsa531000017/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/TestToOpenSSHed255192392181398/001/allowed_signer -I test@rekor.dev -n file -s /tmp/TestToOpenSSHed255192392181398/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/TestToOpenSSHed255192392181398/001/allowed_signer -I othertest@rekor.dev -n file -s /tmp/TestToOpenSSHed255192392181398/001/oursig: Could not verify signature. sign_test.go:232: cmd /usr/bin/ssh-keygen -Y check-novalidate -n file -s /tmp/TestToOpenSSHed255192392181398/001/oursig: Signature verification failed: incorrect signature Could not verify signature. --- PASS: TestToOpenSSH (0.38s) --- PASS: TestToOpenSSH/rsa (0.15s) --- PASS: TestToOpenSSH/ed25519 (0.23s) === RUN TestRoundTrip === RUN TestRoundTrip/rsa === RUN TestRoundTrip/ed25519 --- PASS: TestRoundTrip (0.22s) --- PASS: TestRoundTrip/rsa (0.12s) --- PASS: TestRoundTrip/ed25519 (0.02s) === RUN TestIdentities --- PASS: TestIdentities (0.00s) === RUN TestIdentitiesParsesAllKeyTypes --- PASS: TestIdentitiesParsesAllKeyTypes (0.00s) === RUN TestPubKeyParsingLimit --- PASS: TestPubKeyParsingLimit (0.01s) PASS ok github.com/sigstore/rekor/pkg/pki/ssh 0.871s === RUN TestReadPublicKey --- PASS: TestReadPublicKey (0.07s) === RUN TestReadSignature --- PASS: TestReadSignature (0.00s) === RUN TestCanonicalValue --- PASS: TestCanonicalValue (0.08s) === RUN TestVerifySignature --- PASS: TestVerifySignature (0.19s) PASS ok github.com/sigstore/rekor/pkg/pki/tuf 0.358s === RUN TestSignature_Verify === RUN TestSignature_Verify/rsa === RUN TestSignature_Verify/ec === RUN TestSignature_Verify/ed25519 --- PASS: TestSignature_Verify (0.12s) --- PASS: TestSignature_Verify/rsa (0.00s) --- PASS: TestSignature_Verify/ec (0.04s) --- PASS: TestSignature_Verify/ed25519 (0.07s) === RUN TestSignature_VerifyFail === RUN TestSignature_VerifyFail/rsa === RUN TestSignature_VerifyFail/ec === RUN TestSignature_VerifyFail/ed25519 --- PASS: TestSignature_VerifyFail (0.01s) --- PASS: TestSignature_VerifyFail/rsa (0.00s) --- PASS: TestSignature_VerifyFail/ec (0.00s) --- PASS: TestSignature_VerifyFail/ed25519 (0.00s) === RUN TestPublicKeyWithCertChain --- PASS: TestPublicKeyWithCertChain (0.15s) PASS ok github.com/sigstore/rekor/pkg/pki/x509 0.302s === RUN TestParseRef === PAUSE TestParseRef === RUN TestGCPAttrs === PAUSE TestGCPAttrs === CONT TestParseRef === CONT TestGCPAttrs === RUN TestParseRef/Valid_example === PAUSE TestParseRef/Valid_example === RUN TestGCPAttrs/Core_attrs_only === PAUSE TestGCPAttrs/Core_attrs_only === RUN TestGCPAttrs/With_optional_attrs === RUN TestParseRef/Empty_ref === PAUSE TestParseRef/Empty_ref === RUN TestParseRef/Missing_topic === PAUSE TestGCPAttrs/With_optional_attrs === CONT TestGCPAttrs/Core_attrs_only === PAUSE TestParseRef/Missing_topic === RUN TestParseRef/Wrong_scheme === PAUSE TestParseRef/Wrong_scheme === CONT TestParseRef/Valid_example === CONT TestParseRef/Missing_topic === CONT TestParseRef/Empty_ref === CONT TestGCPAttrs/With_optional_attrs --- PASS: TestGCPAttrs (0.00s) --- PASS: TestGCPAttrs/Core_attrs_only (0.00s) --- PASS: TestGCPAttrs/With_optional_attrs (0.00s) === CONT TestParseRef/Wrong_scheme --- PASS: TestParseRef (0.00s) --- PASS: TestParseRef/Valid_example (0.00s) --- PASS: TestParseRef/Missing_topic (0.00s) --- PASS: TestParseRef/Empty_ref (0.00s) --- PASS: TestParseRef/Wrong_scheme (0.00s) PASS ok github.com/sigstore/rekor/pkg/pubsub/gcp 0.033s === 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-11-22T18:57:38.510Z 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-11-22T18:57:38.513Z 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.01s) --- PASS: TestUpdateRange/empty (0.01s) --- PASS: TestUpdateRange/error_in_GetLatestSignedLogRoot (0.00s) === RUN TestNewLogRangesWithMock === RUN TestNewLogRangesWithMock/empty_path 2023-11-22T18:57:38.526Z 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.051s === RUN TestFile === RUN TestFile/valid_ecdsa === RUN TestFile/invalid_pass --- PASS: TestFile (0.11s) --- PASS: TestFile/valid_ecdsa (0.11s) --- PASS: TestFile/invalid_pass (0.00s) === RUN TestMemory --- PASS: TestMemory (0.02s) === RUN FuzzNewFile --- PASS: FuzzNewFile (0.00s) PASS ok github.com/sigstore/rekor/pkg/signer 0.182s === 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.05s) --- PASS: TestGenerateTransparencyLogEntry/valid_entry (0.04s) --- 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.01s) PASS ok github.com/sigstore/rekor/pkg/tle 0.115s === RUN TestUnmarshalEntry --- PASS: TestUnmarshalEntry (0.00s) PASS ok github.com/sigstore/rekor/pkg/types 0.083s === RUN TestAlpineType 2023-11-22T18:57:38.634Z 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-11-22T18:57:38.635Z 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.01s) === RUN TestAlpineMetadataSize --- PASS: TestAlpineMetadataSize (0.00s) === RUN FuzzPackageUnmarshal --- PASS: FuzzPackageUnmarshal (0.00s) PASS ok github.com/sigstore/rekor/pkg/types/alpine 0.119s === RUN TestNewEntryReturnType --- PASS: TestNewEntryReturnType (0.00s) === RUN TestCrossFieldValidation --- PASS: TestCrossFieldValidation (0.01s) === 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.116s === RUN TestCOSEType 2023-11-22T18:57:38.608Z 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-11-22T18:57:38.608Z 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.081s === 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.08s) --- 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.01s) --- PASS: TestV001Entry_Unmarshal/valid_with_aad (0.01s) --- PASS: TestV001Entry_Unmarshal/extra_aad (0.01s) --- PASS: TestV001Entry_Unmarshal/invalid_envelope (0.00s) --- PASS: TestV001Entry_Unmarshal/cert (0.01s) --- PASS: TestV001Entry_Unmarshal/invalid_key (0.00s) --- PASS: TestV001Entry_Unmarshal/invalid_type (0.00s) === RUN TestV001Entry_IndexKeys --- PASS: TestV001Entry_IndexKeys (0.01s) === RUN TestV001Entry_IndexKeysWrongContentType 2023-11-22T18:57:38.779Z 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:451 testing.tRunner testing/testing.go:1595 --- PASS: TestV001Entry_IndexKeysWrongContentType (0.01s) === RUN TestV001Entry_IndexKeysIntegerContentType --- PASS: TestV001Entry_IndexKeysIntegerContentType (0.01s) === RUN TestV001Entry_Attestation === RUN TestV001Entry_Attestation/no_storage 2023-11-22T18:57:38.801Z 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.02s) --- PASS: TestV001Entry_Attestation/no_storage (0.01s) --- PASS: TestV001Entry_Attestation/with_storage (0.01s) === 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.232s === RUN TestDSSEType 2023-11-22T18:57:38.663Z 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-11-22T18:57:38.663Z 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.081s === RUN TestNewEntryReturnType --- PASS: TestNewEntryReturnType (0.00s) === RUN TestV001Entry_Unmarshal === RUN TestV001Entry_Unmarshal/empty === RUN TestV001Entry_Unmarshal/missing_envelope === RUN TestV001Entry_Unmarshal/valid 2023-11-22T18:57:38.745Z INFO v0.0.1/entry.go:108 DSSEObj content or DSSE envelope is nil, returning partial set of keys === RUN TestV001Entry_Unmarshal/cert 2023-11-22T18:57:38.775Z 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-11-22T18:57:38.808Z 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.14s) --- PASS: TestV001Entry_Unmarshal/empty (0.00s) --- PASS: TestV001Entry_Unmarshal/missing_envelope (0.00s) --- PASS: TestV001Entry_Unmarshal/valid (0.01s) --- PASS: TestV001Entry_Unmarshal/cert (0.03s) --- PASS: TestV001Entry_Unmarshal/invalid (0.00s) --- PASS: TestV001Entry_Unmarshal/invalid_key (0.00s) --- PASS: TestV001Entry_Unmarshal/multi-key (0.03s) --- 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.04s) --- PASS: TestV001Entry_IndexKeys/standard (0.01s) --- PASS: TestV001Entry_IndexKeys/subject (0.01s) --- PASS: TestV001Entry_IndexKeys/slsa (0.01s) --- PASS: TestV001Entry_IndexKeys/slsa_wit_header (0.01s) === 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.270s === RUN TestRekordType 2023-11-22T18:57:40.735Z 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:63 testing.tRunner testing/testing.go:1595 2023-11-22T18:57:40.735Z 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:98 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.030s === RUN TestNewEntryReturnType --- PASS: TestNewEntryReturnType (0.00s) === RUN TestCrossFieldValidation --- PASS: TestCrossFieldValidation (0.10s) === RUN TestV001Entry_IndexKeys === RUN TestV001Entry_IndexKeys/public_key === RUN TestV001Entry_IndexKeys/cert --- PASS: TestV001Entry_IndexKeys (0.01s) --- 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.149s === RUN TestHelmType 2023-11-22T18:57:40.866Z 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-11-22T18:57:40.866Z 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.01s) PASS ok github.com/sigstore/rekor/pkg/types/helm 0.045s === 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.04s) --- PASS: TestCrossFieldValidation/empty_obj (0.00s) --- PASS: TestCrossFieldValidation/provenance_file_without_public_key (0.00s) --- PASS: TestCrossFieldValidation/public_key_without_provenance_file (0.01s) --- PASS: TestCrossFieldValidation/public_key_with_empty_provenance_file (0.01s) --- PASS: TestCrossFieldValidation/public_key_and_invalid_provenance_content (0.01s) --- PASS: TestCrossFieldValidation/provenance_content_with_invalid_public_key (0.00s) --- PASS: TestCrossFieldValidation/provenance_content_with_valid_public_key (0.02s) === 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.073s === RUN TestIntotoType 2023-11-22T18:57:40.909Z 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-11-22T18:57:40.909Z 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.027s === 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-11-22T18:57:41.028Z 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:366 testing.tRunner testing/testing.go:1595 &{ 0x5921a850 0x5921a8d0}2023-11-22T18:57:41.030Z 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-11-22T18:57:41.036Z 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:366 testing.tRunner testing/testing.go:1595 &{ 0x5921b120 0x5921b1a0}2023-11-22T18:57:41.037Z 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-11-22T18:57:41.043Z 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:366 testing.tRunner testing/testing.go:1595 &{ 0x5921b9d8 0x5921ba58}2023-11-22T18:57:41.044Z 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-11-22T18:57:41.051Z 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:366 testing.tRunner testing/testing.go:1595 &{ 0x58c411e8 0x58c41278}2023-11-22T18:57:41.053Z 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-11-22T18:57:41.058Z INFO v0.0.1/entry.go:133 unknown in_toto statement type (text), cannot extract additional index keys &{ 0x58c41b78 0x58c41bf8}2023-11-22T18:57:41.060Z INFO v0.0.1/entry.go:133 unknown in_toto statement type (), cannot extract additional index keys === RUN TestV001Entry_Unmarshal/cert 2023-11-22T18:57:41.067Z INFO v0.0.1/entry.go:133 unknown in_toto statement type (text), cannot extract additional index keys &{ 0x58e703f8 0x58e70478}2023-11-22T18:57:41.068Z 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.10s) --- 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.01s) --- PASS: TestV001Entry_Unmarshal/valid_intoto_but_hash_specified_by_client_(should_be_ignored) (0.01s) --- PASS: TestV001Entry_Unmarshal/valid_intoto_but_payloadhash_specified_by_client_(should_be_ignored) (0.01s) --- PASS: TestV001Entry_Unmarshal/valid_intoto_but_envelope_and_payloadhash_specified_by_client_(hash_values_should_be_ignored) (0.01s) --- PASS: TestV001Entry_Unmarshal/valid_dsse_but_invalid_intoto (0.01s) --- PASS: TestV001Entry_Unmarshal/cert (0.01s) --- 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-11-22T18:57:41.070Z 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:490 testing.tRunner testing/testing.go:1595 === RUN TestV001Entry_IndexKeys/subject 2023-11-22T18:57:41.071Z 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:490 testing.tRunner testing/testing.go:1595 === RUN TestV001Entry_IndexKeys/slsa 2023-11-22T18:57:41.071Z 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:490 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.137s === RUN TestNewEntryReturnType --- PASS: TestNewEntryReturnType (0.00s) === RUN TestV002Entry_Unmarshal === RUN TestV002Entry_Unmarshal/empty === RUN TestV002Entry_Unmarshal/missing_envelope === RUN TestV002Entry_Unmarshal/valid &{0x583fcd00 0x584dee10 0x584dee90}2023-11-22T18:57:41.121Z INFO v0.0.2/entry.go:113 IntotoObj DSSE payload is empty === RUN TestV002Entry_Unmarshal/cert &{0x583fd120 0x584df3f8 0x584df478}2023-11-22T18:57:41.128Z 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 &{0x583fd5c0 0x584dfb10 0x584dfb90}2023-11-22T18:57:41.146Z INFO v0.0.2/entry.go:113 IntotoObj DSSE payload is empty === RUN TestV002Entry_Unmarshal/null_array_entry --- PASS: TestV002Entry_Unmarshal (0.08s) --- PASS: TestV002Entry_Unmarshal/empty (0.00s) --- PASS: TestV002Entry_Unmarshal/missing_envelope (0.00s) --- PASS: TestV002Entry_Unmarshal/valid (0.01s) --- PASS: TestV002Entry_Unmarshal/cert (0.01s) --- PASS: TestV002Entry_Unmarshal/invalid (0.00s) --- PASS: TestV002Entry_Unmarshal/invalid_key (0.00s) --- PASS: TestV002Entry_Unmarshal/multi-key (0.02s) --- 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.02s) --- 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.146s === RUN TestJARType 2023-11-22T18:57:41.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/jar.TestJARType github.com/sigstore/rekor/pkg/types/jar/jar_test.go:58 testing.tRunner testing/testing.go:1595 2023-11-22T18:57:41.051Z 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.028s === RUN TestNewEntryReturnType --- PASS: TestNewEntryReturnType (0.00s) === RUN TestCrossFieldValidation --- PASS: TestCrossFieldValidation (0.05s) === 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.091s === RUN TestRekordType 2023-11-22T18:57:41.063Z 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-11-22T18:57:41.063Z 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.040s === RUN TestNewEntryReturnType --- PASS: TestNewEntryReturnType (0.00s) === RUN TestCrossFieldValidation --- PASS: TestCrossFieldValidation (0.11s) === 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.143s === RUN TestRfc3161Type 2023-11-22T18:57:41.068Z 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-11-22T18:57:41.068Z 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.044s === RUN TestNewEntryReturnType --- PASS: TestNewEntryReturnType (0.00s) === RUN TestCrossFieldValidation --- PASS: TestCrossFieldValidation (0.05s) === 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.096s === RUN TestRPMType 2023-11-22T18:57:41.053Z 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-11-22T18:57:41.053Z 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.029s === RUN TestNewEntryReturnType --- PASS: TestNewEntryReturnType (0.00s) === RUN TestCrossFieldValidation --- PASS: TestCrossFieldValidation (0.11s) === 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.157s === RUN TestTufType 2023-11-22T18:57:41.061Z 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-11-22T18:57:41.061Z 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.038s === 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_manifest_&_content_base64-encoded === 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.24s) --- 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.10s) --- PASS: TestCrossFieldValidation/root_with_manifest_&_content_base64-encoded (0.08s) --- 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.06s) === 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.281s ? github.com/sigstore/rekor/pkg/witness/mockclient [no test files] === 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.75s) --- PASS: TestSigningRoundtripCheckpoint/Log_Checkpoint_RSA_v0 (0.03s) --- PASS: TestSigningRoundtripCheckpoint/Log_Checkpoint_ECDSA_v0 (0.01s) --- PASS: TestSigningRoundtripCheckpoint/Log_Checkpoint_Ed25519_v0 (0.01s) --- 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.01s) === RUN TestPrefixSHA --- PASS: TestPrefixSHA (0.00s) PASS ok github.com/sigstore/rekor/pkg/util 0.773s === 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.04s) --- PASS: TestCheckpoint/valid_checkpoint (0.01s) --- PASS: TestCheckpoint/root_hash_mismatch (0.01s) PASS ok github.com/sigstore/rekor/pkg/verify 0.069s === RUN TestPublishCheckpoint --- PASS: TestPublishCheckpoint (1.02s) === RUN TestPublishCheckpointMultiple --- PASS: TestPublishCheckpointMultiple (1.01s) === RUN TestPublishCheckpointTrillianError 2023-11-22T18:57:43.347Z 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-11-22T18:57:44.348Z 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-11-22T18:57:45.354Z 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.01s) === RUN TestPublishCheckpointRedisLatestFailure 2023-11-22T18:57:46.360Z 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.01s) PASS ok github.com/sigstore/rekor/pkg/witness 6.051s >>> 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.3.3-r0.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.3.3-r0.apk >>> rekor-server*: Tracing dependencies... so:libc.musl-x86.so.1 >>> rekor-server*: Package size: 35.1 MB >>> rekor-server*: Compressing data... >>> rekor-server*: Create checksum... >>> rekor-server*: Create rekor-server-1.3.3-r0.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.3.3-r0.apk >>> rekor*: Tracing dependencies... so:libc.musl-x86.so.1 >>> rekor*: Package size: 20.0 MB >>> rekor*: Compressing data... >>> rekor*: Create checksum... >>> rekor*: Create rekor-1.3.3-r0.apk >>> rekor: Build complete at Wed, 22 Nov 2023 18:57:50 +0000 elapsed time 0h 1m 31s >>> rekor: Cleaning up srcdir >>> rekor: Cleaning up pkgdir >>> rekor: Uninstalling dependencies... (1/2) Purging .makedepends-rekor (20231122.185621) (2/2) Purging go (1.21.4-r0) Executing busybox-1.36.1-r15.trigger OK: 379 MiB in 110 packages >>> rekor: Updating the community/x86 repository index... >>> rekor: Signing the index...