>>> rekor: Building community/rekor 1.3.6-r0 (using abuild 3.14.0-r0) started Fri, 18 Oct 2024 06:34:05 +0000 >>> rekor: Validating /home/buildozer/aports/community/rekor/APKBUILD... >>> WARNING: rekor: Setting the maintainer with a comment is deprecated. Use maintainer="kpcyrd " instead >>> rekor: Analyzing dependencies... >>> rekor: Installing for build: build-base go (1/2) Installing go (1.23.2-r0) (2/2) Installing .makedepends-rekor (20241018.063415) Executing busybox-1.36.1-r32.trigger OK: 426 MiB in 102 packages >>> rekor: Cleaning up srcdir >>> rekor: Cleaning up pkgdir >>> rekor: Cleaning up tmpdir >>> rekor: Fetching https://distfiles.alpinelinux.org/distfiles/edge/rekor-1.3.6.tar.gz >>> rekor: Fetching https://distfiles.alpinelinux.org/distfiles/edge/rekor-1.3.6.tar.gz >>> rekor: Checking sha512sums... rekor-1.3.6.tar.gz: OK >>> rekor: Unpacking /var/cache/distfiles/rekor-1.3.6.tar.gz... go: downloading github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 go: downloading github.com/veraison/go-cose v1.2.1 go: downloading google.golang.org/protobuf v1.33.0 go: downloading github.com/go-openapi/swag v0.23.0 go: downloading github.com/go-openapi/strfmt v0.23.0 go: downloading github.com/mitchellh/go-homedir v1.1.0 go: downloading github.com/go-chi/chi v4.1.2+incompatible go: downloading go.uber.org/zap v1.27.0 go: downloading github.com/spf13/pflag v1.0.5 go: downloading github.com/transparency-dev/merkle v0.0.2 go: downloading github.com/go-openapi/runtime v0.28.0 go: downloading github.com/in-toto/in-toto-golang v0.9.0 go: downloading github.com/sigstore/sigstore v1.8.3 go: downloading sigs.k8s.io/release-utils v0.7.7 go: downloading github.com/sassoftware/relic v7.2.1+incompatible go: downloading github.com/spf13/cobra v1.8.0 go: downloading github.com/spf13/viper v1.18.2 go: downloading github.com/sigstore/protobuf-specs v0.3.0 go: downloading github.com/secure-systems-lab/go-securesystemslib v0.8.0 go: downloading golang.org/x/sync v0.6.0 go: downloading github.com/google/trillian v1.6.0 go: downloading sigs.k8s.io/yaml v1.4.0 go: downloading github.com/cyberphone/json-canonicalization v0.0.0-20220623050100-57a0ce2678a7 go: downloading github.com/go-openapi/errors v0.22.0 go: downloading github.com/hashicorp/go-cleanhttp v0.5.2 go: downloading github.com/hashicorp/go-retryablehttp v0.7.5 go: downloading golang.org/x/exp v0.0.0-20231006140011-7918f672742d go: downloading github.com/blang/semver v3.5.1+incompatible go: downloading github.com/mitchellh/mapstructure v1.5.0 go: downloading github.com/theupdateframework/go-tuf v0.7.0 go: downloading github.com/cavaliercoder/go-rpm v0.0.0-20200122174316-8cb9fd9c31a8 go: downloading golang.org/x/mod v0.16.0 go: downloading github.com/jedisct1/go-minisign v0.0.0-20211028175153-1c139d1cc84b go: downloading golang.org/x/crypto v0.21.0 go: downloading github.com/go-openapi/validate v0.24.0 go: downloading github.com/mailru/easyjson v0.7.7 go: downloading gopkg.in/yaml.v3 v3.0.1 go: downloading gopkg.in/ini.v1 v1.67.0 go: downloading github.com/google/uuid v1.6.0 go: downloading github.com/oklog/ulid v1.3.1 go: downloading go.mongodb.org/mongo-driver v1.14.0 go: downloading github.com/fsnotify/fsnotify v1.7.0 go: downloading github.com/sagikazarmark/slog-shim v0.1.0 go: downloading github.com/spf13/afero v1.11.0 go: downloading github.com/spf13/cast v1.6.0 go: downloading go.uber.org/multierr v1.11.0 go: downloading github.com/common-nighthawk/go-figure v0.0.0-20210622060536-734e95fb86be go: downloading github.com/google/go-containerregistry v0.19.0 go: downloading github.com/letsencrypt/boulder v0.0.0-20230907030200-6d76a0f91e1e go: downloading golang.org/x/term v0.18.0 go: downloading github.com/shibumi/go-pathspec v1.3.0 go: downloading golang.org/x/sys v0.18.0 go: downloading github.com/opentracing/opentracing-go v1.2.0 go: downloading go.opentelemetry.io/otel v1.24.0 go: downloading go.opentelemetry.io/otel/trace v1.24.0 go: downloading github.com/josharian/intern v1.0.0 go: downloading github.com/subosito/gotenv v1.6.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 google.golang.org/genproto/googleapis/api v0.0.0-20240311173647-c811ad7063a7 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 go: downloading github.com/go-openapi/analysis v0.23.0 go: downloading github.com/go-openapi/loads v0.22.0 go: downloading github.com/go-openapi/spec v0.21.0 go: downloading github.com/pkg/errors v0.9.1 go: downloading golang.org/x/text v0.14.0 go: downloading github.com/go-openapi/jsonpointer v0.21.0 go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20240318140521-94a12d6c2237 go: downloading google.golang.org/grpc v1.62.1 go: downloading google.golang.org/genproto v0.0.0-20240311173647-c811ad7063a7 go: downloading gopkg.in/yaml.v2 v2.4.0 go: downloading github.com/go-logr/logr v1.4.1 go: downloading go.opentelemetry.io/otel/metric v1.24.0 go: downloading github.com/howeyc/gopass v0.0.0-20210920133722-c8aef6fb66ef go: downloading github.com/zalando/go-keyring v0.2.3 go: downloading github.com/go-logr/stdr v1.2.2 go: downloading github.com/x448/float16 v0.8.4 go: downloading github.com/opencontainers/go-digest v1.0.0 go: downloading github.com/go-openapi/jsonreference v0.21.0 go: downloading github.com/godbus/dbus/v5 v5.1.0 go: downloading github.com/titanous/rocacheck v0.0.0-20171023193734-afe73141d399 go: downloading gopkg.in/go-jose/go-jose.v2 v2.6.3 go: downloading golang.org/x/net v0.22.0 go: downloading github.com/golang/protobuf v1.5.4 go: downloading cloud.google.com/go/profiler v0.4.0 go: downloading github.com/prometheus/client_golang v1.19.0 go: downloading github.com/redis/go-redis/v9 v9.5.1 go: downloading github.com/rs/cors v1.10.1 go: downloading github.com/docker/go-units v0.5.0 go: downloading cloud.google.com/go/pubsub v1.37.0 go: downloading gocloud.dev v0.37.0 go: downloading google.golang.org/api v0.172.0 go: downloading github.com/sigstore/sigstore/pkg/signature/kms/aws v1.8.3 go: downloading github.com/sigstore/sigstore/pkg/signature/kms/azure v1.8.3 go: downloading github.com/sigstore/sigstore/pkg/signature/kms/gcp v1.8.3 go: downloading github.com/sigstore/sigstore/pkg/signature/kms/hashivault v1.8.3 go: downloading go.step.sm/crypto v0.44.2 go: downloading k8s.io/klog/v2 v2.120.0 go: downloading github.com/go-sql-driver/mysql v1.8.1 go: downloading github.com/jmoiron/sqlx v1.3.5 go: downloading cloud.google.com/go v0.112.1 go: downloading filippo.io/edwards25519 v1.1.0 go: downloading github.com/jellydator/ttlcache/v3 v3.2.0 go: downloading github.com/aws/aws-sdk-go-v2 v1.26.0 go: downloading github.com/aws/aws-sdk-go-v2/service/kms v1.30.0 go: downloading github.com/aws/aws-sdk-go-v2/config v1.27.9 go: downloading github.com/go-jose/go-jose/v3 v3.0.3 go: downloading github.com/Azure/azure-sdk-for-go/sdk/azcore v1.10.0 go: downloading github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.5.1 go: downloading github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/azkeys v1.1.0 go: downloading github.com/hashicorp/vault/api v1.12.2 go: downloading github.com/prometheus/common v0.48.0 go: downloading github.com/prometheus/client_model v0.5.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 cloud.google.com/go/kms v1.15.8 go: downloading github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f go: downloading cloud.google.com/go/iam v1.1.6 go: downloading github.com/googleapis/gax-go/v2 v2.12.3 go: downloading go.opencensus.io v0.24.0 go: downloading cloud.google.com/go/compute/metadata v0.2.3 go: downloading github.com/google/pprof v0.0.0-20231023181126-ff6d637d2a7b go: downloading cloud.google.com/go/compute v1.25.0 go: downloading golang.org/x/oauth2 v0.18.0 go: downloading github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/internal v1.0.0 go: downloading github.com/Azure/azure-sdk-for-go/sdk/internal v1.5.2 go: downloading github.com/AzureAD/microsoft-authentication-library-for-go v1.2.2 go: downloading github.com/cenkalti/backoff/v3 v3.2.2 go: downloading github.com/hashicorp/errwrap v1.1.0 go: downloading github.com/hashicorp/go-multierror v1.1.1 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 go: downloading github.com/hashicorp/go-secure-stdlib/strutil v0.1.2 go: downloading github.com/hashicorp/go-secure-stdlib/parseutil v0.1.7 go: downloading golang.org/x/time v0.5.0 go: downloading github.com/ryanuber/go-glob v1.0.0 go: downloading github.com/aws/smithy-go v1.20.1 go: downloading github.com/aws/aws-sdk-go-v2/credentials v1.17.9 go: downloading github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.0 go: downloading github.com/aws/aws-sdk-go-v2/internal/ini v1.8.0 go: downloading github.com/aws/aws-sdk-go-v2/service/sso v1.20.3 go: downloading github.com/aws/aws-sdk-go-v2/service/sts v1.28.5 go: downloading github.com/aws/aws-sdk-go-v2/service/ssooidc v1.23.3 go: downloading github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.4 go: downloading github.com/hashicorp/go-sockaddr v1.0.2 go: downloading github.com/kylelemons/godebug v1.1.0 go: downloading github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c go: downloading github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.4 go: downloading github.com/golang-jwt/jwt/v5 v5.2.1 go: downloading github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.11.1 go: downloading github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.6 go: downloading golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 go: downloading github.com/google/wire v0.6.0 go: downloading github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.16.9 go: downloading cloud.google.com/go/storage v1.39.1 go: downloading github.com/aws/aws-sdk-go-v2/service/s3 v1.51.4 go: downloading github.com/aws/aws-sdk-go v1.51.6 go: downloading github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da go: downloading github.com/jmespath/go-jmespath v0.4.0 go: downloading github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.1 go: downloading github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.3.5 go: downloading github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.3 go: downloading github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.17.3 go: downloading go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0 go: downloading github.com/googleapis/enterprise-certificate-proxy v0.3.2 go: downloading github.com/google/s2a-go v0.1.7 go: downloading go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 go: downloading github.com/felixge/httpsnoop v1.0.4 2024-10-18T06:35:29.533Z DEBUG app/root.go:146 pprof enabled false 2024-10-18T06:35:29.534Z INFO app/root.go:194 Using config file: /home/buildozer/aports/community/rekor/src/rekor-1.3.6/rekor-server.yaml 2024-10-18T06:35:29.570Z DEBUG app/root.go:146 pprof enabled false 2024-10-18T06:35:29.571Z INFO app/root.go:194 Using config file: /home/buildozer/aports/community/rekor/src/rekor-1.3.6/rekor-server.yaml 2024-10-18T06:35:29.607Z DEBUG app/root.go:146 pprof enabled false 2024-10-18T06:35:29.608Z INFO app/root.go:194 Using config file: /home/buildozer/aports/community/rekor/src/rekor-1.3.6/rekor-server.yaml go: downloading github.com/google/go-cmp v0.6.0 go: downloading go.uber.org/goleak v1.3.0 go: downloading github.com/AdamKorcz/go-fuzz-headers-1 v0.0.0-20230919221257-8b5d3ce2d11d go: downloading github.com/sassoftware/relic/v7 v7.6.2 go: downloading github.com/golang/mock v1.6.0 go: downloading github.com/go-redis/redismock/v9 v9.2.0 go: downloading github.com/DATA-DOG/go-sqlmock v1.5.2 go: downloading github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc go: downloading software.sslmate.com/src/go-pkcs12 v0.4.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.044s === RUN TestArtifactPFlags 2024-10-18T06:35:38.675Z 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:1690 --- PASS: TestArtifactPFlags (0.05s) === RUN TestValidateRekorServerURL --- PASS: TestValidateRekorServerURL (0.00s) === RUN TestValidateRetryCount --- PASS: TestValidateRetryCount (0.00s) === RUN TestSearchPFlags --- PASS: TestSearchPFlags (0.00s) === RUN TestParseTypeFlag --- PASS: TestParseTypeFlag (0.00s) === RUN TestSHA1 --- PASS: TestSHA1 (0.00s) === RUN TestSHA256 --- PASS: TestSHA256 (0.00s) === RUN TestSHA512 --- PASS: TestSHA512 (0.00s) PASS ok github.com/sigstore/rekor/cmd/rekor-cli/app 0.094s 2024-10-18T06:35:40.173Z DEBUG app/root.go:146 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.6") --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") --http-request-id-header-name string name of HTTP Request Header to use as request correlation ID (default "X-Request-Id") --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.enable-tls Whether to enable TLS verification when connecting to Redis endpoint --redis_server.insecure-skip-verify Whether to skip TLS verification when connecting to Redis endpoint, only applicable when 'redis_server.enable-tls' is set to 'true' --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-3-21-loongarch64") --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.mysql.conn_max_idletime duration maximum connection idle time --search_index.mysql.conn_max_lifetime duration maximum connection lifetime --search_index.mysql.dsn string DSN for index storage using MySQL --search_index.mysql.max_idle_connections int maximum idle connections --search_index.mysql.max_open_connections int maximum open connections --search_index.storage_provider string Index Storage provider to use. Valid options are: [redis, mysql]. (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 --trace-string-prefix string if set, this will be used to prefix the 'trace' field when outputting structured logs --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.040s ? 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.110s ? 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.02s) === 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.042s === 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.016s === RUN TestLookupIndices --- PASS: TestLookupIndices (0.00s) === RUN TestWriteIndex 2024-10-18T06:35:40.201Z DEBUG mysql/mysql.go:124 WriteIndex affected 1 rows --- PASS: TestWriteIndex (0.00s) === RUN TestUninitializedClient --- PASS: TestUninitializedClient (0.00s) PASS ok github.com/sigstore/rekor/pkg/indexstorage/mysql 0.015s === 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.022s === RUN TestFactoryNewKey === RUN TestFactoryNewKey/valid_pgp === RUN TestFactoryNewKey/valid_minisign === RUN TestFactoryNewKey/valid_x509 === RUN TestFactoryNewKey/valid_ssh === RUN TestFactoryNewKey/invalid_ssh_signature === RUN TestFactoryNewKey/invalid_ssh_key === RUN TestFactoryNewKey/#00 --- PASS: TestFactoryNewKey (0.00s) --- PASS: TestFactoryNewKey/valid_pgp (0.00s) --- PASS: TestFactoryNewKey/valid_minisign (0.00s) --- PASS: TestFactoryNewKey/valid_x509 (0.00s) --- PASS: TestFactoryNewKey/valid_ssh (0.00s) --- PASS: TestFactoryNewKey/invalid_ssh_signature (0.00s) --- PASS: TestFactoryNewKey/invalid_ssh_key (0.00s) --- PASS: TestFactoryNewKey/#00 (0.00s) === RUN FuzzKeys --- PASS: FuzzKeys (0.00s) PASS ok github.com/sigstore/rekor/pkg/pki 0.016s === RUN TestReadPublicKey === RUN TestReadPublicKey/Valid_public_key_(minisign) === RUN TestReadPublicKey/Valid_public_key_(signify) --- PASS: TestReadPublicKey (0.00s) --- PASS: TestReadPublicKey/Valid_public_key_(minisign) (0.00s) --- PASS: TestReadPublicKey/Valid_public_key_(signify) (0.00s) === RUN TestReadPublicKeyErr === RUN TestReadPublicKeyErr/Not_a_valid_public_key_file === RUN TestReadPublicKeyErr/Wrong_length --- PASS: TestReadPublicKeyErr (0.00s) --- PASS: TestReadPublicKeyErr/Not_a_valid_public_key_file (0.00s) --- PASS: TestReadPublicKeyErr/Wrong_length (0.00s) === RUN TestReadSignature --- PASS: TestReadSignature (0.00s) === RUN TestReadErrorPublicKey --- PASS: TestReadErrorPublicKey (0.00s) === RUN TestReadErrorSignature --- PASS: TestReadErrorSignature (0.00s) === RUN TestCanonicalValueSignature --- PASS: TestCanonicalValueSignature (0.00s) === RUN TestCanonicalValuePublicKey --- PASS: TestCanonicalValuePublicKey (0.00s) === RUN TestVerifySignature --- PASS: TestVerifySignature (0.00s) PASS ok github.com/sigstore/rekor/pkg/pki/minisign 0.020s === RUN TestReadPublicKey --- PASS: TestReadPublicKey (0.02s) === RUN TestReadSignature --- PASS: TestReadSignature (0.00s) === RUN TestReadErrorPublicKey --- PASS: TestReadErrorPublicKey (0.00s) === RUN TestReadErrorSignature --- PASS: TestReadErrorSignature (0.00s) === RUN TestFetchPublicKey --- PASS: TestFetchPublicKey (0.02s) === RUN TestFetchSignature --- PASS: TestFetchSignature (0.01s) === RUN TestCanonicalValueSignature --- PASS: TestCanonicalValueSignature (0.01s) === RUN TestCanonicalValuePublicKey --- PASS: TestCanonicalValuePublicKey (0.02s) === RUN TestEmailAddresses --- PASS: TestEmailAddresses (0.02s) === RUN TestVerifySignature --- PASS: TestVerifySignature (0.03s) PASS ok github.com/sigstore/rekor/pkg/pki/pgp 0.153s === RUN TestSignature_Verify === RUN TestSignature_Verify/ec --- PASS: TestSignature_Verify (0.01s) --- PASS: TestSignature_Verify/ec (0.01s) === RUN TestSignature_VerifyFail === RUN TestSignature_VerifyFail/ec --- PASS: TestSignature_VerifyFail (0.00s) --- PASS: TestSignature_VerifyFail/ec (0.00s) === RUN TestEmailAddresses === RUN TestEmailAddresses/ec === RUN TestEmailAddresses/email --- PASS: TestEmailAddresses (0.00s) --- PASS: TestEmailAddresses/ec (0.00s) --- PASS: TestEmailAddresses/email (0.00s) === RUN TestSubjects === RUN TestSubjects/ec === RUN TestSubjects/email_in_subject === RUN TestSubjects/email_and_URI_in_subject_alternative_name --- PASS: TestSubjects (0.01s) --- PASS: TestSubjects/ec (0.00s) --- PASS: TestSubjects/email_in_subject (0.00s) --- PASS: TestSubjects/email_and_URI_in_subject_alternative_name (0.00s) === RUN TestIdentities === RUN TestIdentities/ec === RUN TestIdentities/email_in_subject === RUN TestIdentities/email_and_URI_in_subject_alternative_name --- PASS: TestIdentities (0.00s) --- PASS: TestIdentities/ec (0.00s) --- PASS: TestIdentities/email_in_subject (0.00s) --- PASS: TestIdentities/email_and_URI_in_subject_alternative_name (0.00s) PASS ok github.com/sigstore/rekor/pkg/pki/pkcs7 0.036s === RUN TestFromOpenSSH === RUN TestFromOpenSSH/rsa sign_test.go:159: cmd /usr/bin/ssh-keygen -Y sign -n file -f /tmp/TestFromOpenSSHrsa1827833297/001/id /tmp/TestFromOpenSSHrsa1827833297/001/data: Signing file /tmp/TestFromOpenSSHrsa1827833297/001/data Write signature to /tmp/TestFromOpenSSHrsa1827833297/001/data.sig === RUN TestFromOpenSSH/ed25519 sign_test.go:159: cmd /usr/bin/ssh-keygen -Y sign -n file -f /tmp/TestFromOpenSSHed255193145310994/001/id /tmp/TestFromOpenSSHed255193145310994/001/data: Signing file /tmp/TestFromOpenSSHed255193145310994/001/data Write signature to /tmp/TestFromOpenSSHed255193145310994/001/data.sig --- PASS: TestFromOpenSSH (0.06s) --- PASS: TestFromOpenSSH/rsa (0.05s) --- PASS: TestFromOpenSSH/ed25519 (0.01s) === RUN TestToOpenSSH === RUN TestToOpenSSH/rsa sign_test.go:223: cmd /usr/bin/ssh-keygen -Y verify -f /tmp/TestToOpenSSHrsa3810197455/001/allowed_signer -I test@rekor.dev -n file -s /tmp/TestToOpenSSHrsa3810197455/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/TestToOpenSSHrsa3810197455/001/allowed_signer -I othertest@rekor.dev -n file -s /tmp/TestToOpenSSHrsa3810197455/001/oursig: Could not verify signature. sign_test.go:232: cmd /usr/bin/ssh-keygen -Y check-novalidate -n file -s /tmp/TestToOpenSSHrsa3810197455/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/TestToOpenSSHed255192145601481/001/allowed_signer -I test@rekor.dev -n file -s /tmp/TestToOpenSSHed255192145601481/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/TestToOpenSSHed255192145601481/001/allowed_signer -I othertest@rekor.dev -n file -s /tmp/TestToOpenSSHed255192145601481/001/oursig: Could not verify signature. sign_test.go:232: cmd /usr/bin/ssh-keygen -Y check-novalidate -n file -s /tmp/TestToOpenSSHed255192145601481/001/oursig: Signature verification failed: incorrect signature Could not verify signature. --- PASS: TestToOpenSSH (0.11s) --- PASS: TestToOpenSSH/rsa (0.06s) --- PASS: TestToOpenSSH/ed25519 (0.05s) === RUN TestRoundTrip === RUN TestRoundTrip/rsa === RUN TestRoundTrip/ed25519 --- PASS: TestRoundTrip (0.04s) --- PASS: TestRoundTrip/rsa (0.02s) --- PASS: TestRoundTrip/ed25519 (0.00s) === RUN TestIdentities --- PASS: TestIdentities (0.00s) === RUN TestIdentitiesParsesAllKeyTypes --- PASS: TestIdentitiesParsesAllKeyTypes (0.00s) === RUN TestPubKeyParsingLimit --- PASS: TestPubKeyParsingLimit (0.00s) PASS ok github.com/sigstore/rekor/pkg/pki/ssh 0.232s === RUN TestReadPublicKey --- PASS: TestReadPublicKey (0.02s) === RUN TestReadSignature --- PASS: TestReadSignature (0.00s) === RUN TestCanonicalValue --- PASS: TestCanonicalValue (0.02s) === RUN TestVerifySignature --- PASS: TestVerifySignature (0.05s) PASS ok github.com/sigstore/rekor/pkg/pki/tuf 0.106s === RUN TestSignature_Verify === RUN TestSignature_Verify/rsa === RUN TestSignature_Verify/ec === RUN TestSignature_Verify/ed25519 --- PASS: TestSignature_Verify (0.02s) --- PASS: TestSignature_Verify/rsa (0.00s) --- PASS: TestSignature_Verify/ec (0.01s) --- PASS: TestSignature_Verify/ed25519 (0.01s) === RUN TestSignature_VerifyFail === RUN TestSignature_VerifyFail/rsa === RUN TestSignature_VerifyFail/ec === RUN TestSignature_VerifyFail/ed25519 --- PASS: TestSignature_VerifyFail (0.00s) --- PASS: TestSignature_VerifyFail/rsa (0.00s) --- PASS: TestSignature_VerifyFail/ec (0.00s) --- PASS: TestSignature_VerifyFail/ed25519 (0.00s) === RUN TestPublicKeyWithCertChain --- PASS: TestPublicKeyWithCertChain (0.02s) PASS ok github.com/sigstore/rekor/pkg/pki/x509 0.052s === RUN TestParseRef === PAUSE TestParseRef === RUN TestGCPAttrs === PAUSE TestGCPAttrs === CONT TestParseRef === RUN TestParseRef/Valid_example === PAUSE TestParseRef/Valid_example === RUN TestParseRef/Empty_ref === PAUSE TestParseRef/Empty_ref === CONT TestGCPAttrs === RUN TestGCPAttrs/Core_attrs_only === RUN TestParseRef/Missing_topic === PAUSE TestParseRef/Missing_topic === PAUSE TestGCPAttrs/Core_attrs_only === RUN TestParseRef/Wrong_scheme === PAUSE TestParseRef/Wrong_scheme === RUN TestGCPAttrs/With_optional_attrs === CONT TestParseRef/Valid_example === PAUSE TestGCPAttrs/With_optional_attrs === CONT TestGCPAttrs/Core_attrs_only === CONT TestParseRef/Empty_ref === CONT TestGCPAttrs/With_optional_attrs === CONT TestParseRef/Missing_topic === CONT TestParseRef/Wrong_scheme --- PASS: TestGCPAttrs (0.00s) --- PASS: TestGCPAttrs/Core_attrs_only (0.00s) --- PASS: TestGCPAttrs/With_optional_attrs (0.00s) --- PASS: TestParseRef (0.00s) --- PASS: TestParseRef/Valid_example (0.00s) --- PASS: TestParseRef/Empty_ref (0.00s) --- PASS: TestParseRef/Missing_topic (0.00s) --- PASS: TestParseRef/Wrong_scheme (0.00s) PASS ok github.com/sigstore/rekor/pkg/pubsub/gcp 0.028s === 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 2024-10-18T06:35:40.465Z 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 2024-10-18T06:35:40.467Z 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 2024-10-18T06:35:40.480Z 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.036s === RUN TestFile === RUN TestFile/valid_ecdsa === RUN TestFile/invalid_pass --- PASS: TestFile (0.01s) --- PASS: TestFile/valid_ecdsa (0.01s) --- PASS: TestFile/invalid_pass (0.00s) === RUN TestMemory --- PASS: TestMemory (0.00s) === RUN FuzzNewFile --- PASS: FuzzNewFile (0.00s) PASS ok github.com/sigstore/rekor/pkg/signer 0.049s === 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.01s) --- PASS: TestGenerateTransparencyLogEntry/valid_entry (0.01s) --- PASS: TestGenerateTransparencyLogEntry/body_is_not_valid_base64 (0.00s) --- PASS: TestGenerateTransparencyLogEntry/logID_is_not_valid_hex (0.00s) --- PASS: TestGenerateTransparencyLogEntry/rootHash_is_not_valid_hex (0.00s) --- PASS: TestGenerateTransparencyLogEntry/one_inclusion_proof_hash_is_not_valid_hex (0.00s) --- PASS: TestGenerateTransparencyLogEntry/body_is_valid_base64_but_not_valid_entry (0.00s) --- PASS: TestGenerateTransparencyLogEntry/kind/version_are_valid_but_spec_is_not_schema_valid (0.00s) PASS ok github.com/sigstore/rekor/pkg/tle 0.041s === RUN TestUnmarshalEntry --- PASS: TestUnmarshalEntry (0.00s) PASS ok github.com/sigstore/rekor/pkg/types 0.024s === RUN TestAlpineType 2024-10-18T06:35:40.467Z 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:1690 2024-10-18T06:35:40.467Z 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:1690 --- PASS: TestAlpineType (0.00s) === RUN TestAlpinePackage --- PASS: TestAlpinePackage (0.00s) === RUN TestAlpineMetadataSize --- PASS: TestAlpineMetadataSize (0.00s) === RUN FuzzPackageUnmarshal --- PASS: FuzzPackageUnmarshal (0.00s) PASS ok github.com/sigstore/rekor/pkg/types/alpine 0.019s === 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.032s === RUN TestCOSEType 2024-10-18T06:35:40.467Z 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:1690 2024-10-18T06:35:40.468Z 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:1690 --- 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.019s === 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.01s) --- PASS: TestV001Entry_Unmarshal/empty (0.00s) --- PASS: TestV001Entry_Unmarshal/missing_data (0.00s) --- PASS: TestV001Entry_Unmarshal/missing_envelope (0.00s) --- PASS: TestV001Entry_Unmarshal/valid (0.00s) --- PASS: TestV001Entry_Unmarshal/valid_with_aad (0.00s) --- PASS: TestV001Entry_Unmarshal/extra_aad (0.00s) --- PASS: TestV001Entry_Unmarshal/invalid_envelope (0.00s) --- PASS: TestV001Entry_Unmarshal/cert (0.00s) --- PASS: TestV001Entry_Unmarshal/invalid_key (0.00s) --- PASS: TestV001Entry_Unmarshal/invalid_type (0.00s) === RUN TestV001Entry_IndexKeys --- PASS: TestV001Entry_IndexKeys (0.00s) === RUN TestV001Entry_IndexKeysWrongContentType 2024-10-18T06:35:40.484Z 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:1690 --- PASS: TestV001Entry_IndexKeysWrongContentType (0.00s) === RUN TestV001Entry_IndexKeysIntegerContentType --- PASS: TestV001Entry_IndexKeysIntegerContentType (0.00s) === RUN TestV001Entry_Attestation === RUN TestV001Entry_Attestation/no_storage 2024-10-18T06:35:40.489Z INFO v0.0.1/entry.go:298 Skipping attestation storage, size 79 is greater than max 0 === RUN TestV001Entry_Attestation/with_storage --- PASS: TestV001Entry_Attestation (0.00s) --- PASS: TestV001Entry_Attestation/no_storage (0.00s) --- PASS: TestV001Entry_Attestation/with_storage (0.00s) === RUN TestGetPublicKey === RUN TestGetPublicKey/P256 === RUN TestGetPublicKey/P384 === RUN TestGetPublicKey/P521 === RUN TestGetPublicKey/RSA2048 === RUN TestGetPublicKey/Invalid_key === RUN TestGetPublicKey/Ed25519 --- PASS: TestGetPublicKey (0.01s) --- 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.051s === RUN TestDSSEType 2024-10-18T06:35:40.468Z 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:1690 2024-10-18T06:35:40.468Z 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:1690 --- 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.019s === RUN TestNewEntryReturnType --- PASS: TestNewEntryReturnType (0.00s) === RUN TestV001Entry_Unmarshal === RUN TestV001Entry_Unmarshal/empty === RUN TestV001Entry_Unmarshal/missing_envelope === RUN TestV001Entry_Unmarshal/valid 2024-10-18T06:35:40.490Z INFO v0.0.1/entry.go:108 DSSEObj content or DSSE envelope is nil, returning partial set of keys === RUN TestV001Entry_Unmarshal/cert 2024-10-18T06:35:40.494Z INFO v0.0.1/entry.go:108 DSSEObj content or DSSE envelope is nil, returning partial set of keys === RUN TestV001Entry_Unmarshal/key_with_IEEE_P1361_sig 2024-10-18T06:35:40.496Z INFO v0.0.1/entry.go:108 DSSEObj content or DSSE envelope is nil, returning partial set of keys === RUN TestV001Entry_Unmarshal/cert_with_IEEE_P1361_sig 2024-10-18T06:35:40.498Z 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 2024-10-18T06:35:40.508Z 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.04s) --- PASS: TestV001Entry_Unmarshal/empty (0.00s) --- PASS: TestV001Entry_Unmarshal/missing_envelope (0.00s) --- PASS: TestV001Entry_Unmarshal/valid (0.00s) --- PASS: TestV001Entry_Unmarshal/cert (0.00s) --- PASS: TestV001Entry_Unmarshal/key_with_IEEE_P1361_sig (0.00s) --- PASS: TestV001Entry_Unmarshal/cert_with_IEEE_P1361_sig (0.00s) --- PASS: TestV001Entry_Unmarshal/invalid (0.00s) --- PASS: TestV001Entry_Unmarshal/invalid_key (0.00s) --- PASS: TestV001Entry_Unmarshal/multi-key (0.01s) --- 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.01s) --- PASS: TestV001Entry_IndexKeys/standard (0.00s) --- PASS: TestV001Entry_IndexKeys/subject (0.00s) --- PASS: TestV001Entry_IndexKeys/slsa (0.00s) --- PASS: TestV001Entry_IndexKeys/slsa_wit_header (0.00s) === RUN TestInsertable === RUN TestInsertable/valid_entry === RUN TestInsertable/missing_public_keys === RUN TestInsertable/missing_envelope === RUN TestInsertable/missing_proposed_content_obj --- PASS: TestInsertable (0.00s) --- PASS: TestInsertable/valid_entry (0.00s) --- PASS: TestInsertable/missing_public_keys (0.00s) --- PASS: TestInsertable/missing_envelope (0.00s) --- PASS: TestInsertable/missing_proposed_content_obj (0.00s) === RUN TestCanonicalizeHandlesInvalidInput --- PASS: TestCanonicalizeHandlesInvalidInput (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.066s === RUN TestRekordType 2024-10-18T06:35:40.467Z 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:1690 2024-10-18T06:35:40.467Z 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:1690 --- PASS: TestRekordType (0.00s) === RUN FuzzHashedRekord --- PASS: FuzzHashedRekord (0.00s) PASS ok github.com/sigstore/rekor/pkg/types/hashedrekord 0.019s === RUN TestNewEntryReturnType --- PASS: TestNewEntryReturnType (0.00s) === RUN TestRejectsSHA1 --- PASS: TestRejectsSHA1 (0.00s) === RUN TestCrossFieldValidation --- PASS: TestCrossFieldValidation (0.04s) === RUN TestV001Entry_IndexKeys === RUN TestV001Entry_IndexKeys/public_key === RUN TestV001Entry_IndexKeys/cert --- PASS: TestV001Entry_IndexKeys (0.00s) --- PASS: TestV001Entry_IndexKeys/public_key (0.00s) --- PASS: TestV001Entry_IndexKeys/cert (0.00s) === RUN TestInsertable === RUN TestInsertable/valid_entry === RUN TestInsertable/missing_key === RUN TestInsertable/missing_key_content === RUN TestInsertable/missing_key_content#01 === RUN TestInsertable/missing_sig_content === RUN TestInsertable/missing_hash_value === RUN TestInsertable/missing_hash_algorithm === RUN TestInsertable/missing_hash_object === RUN TestInsertable/missing_data_object === RUN TestInsertable/missing_sig_object === RUN TestInsertable/empty_object --- PASS: TestInsertable (0.00s) --- PASS: TestInsertable/valid_entry (0.00s) --- PASS: TestInsertable/missing_key (0.00s) --- PASS: TestInsertable/missing_key_content (0.00s) --- PASS: TestInsertable/missing_key_content#01 (0.00s) --- PASS: TestInsertable/missing_sig_content (0.00s) --- PASS: TestInsertable/missing_hash_value (0.00s) --- PASS: TestInsertable/missing_hash_algorithm (0.00s) --- PASS: TestInsertable/missing_hash_object (0.00s) --- PASS: TestInsertable/missing_data_object (0.00s) --- PASS: TestInsertable/missing_sig_object (0.00s) --- PASS: TestInsertable/empty_object (0.00s) === RUN FuzzHashedRekordCreateProposedEntry --- PASS: FuzzHashedRekordCreateProposedEntry (0.00s) === RUN FuzzHashedRekordUnmarshalAndCanonicalize --- PASS: FuzzHashedRekordUnmarshalAndCanonicalize (0.00s) PASS ok github.com/sigstore/rekor/pkg/types/hashedrekord/v0.0.1 0.066s === RUN TestHelmType 2024-10-18T06:35:40.468Z 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:1690 2024-10-18T06:35:40.468Z 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:1690 --- PASS: TestHelmType (0.00s) === RUN TestProvenance --- PASS: TestProvenance (0.00s) PASS ok github.com/sigstore/rekor/pkg/types/helm 0.018s === 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.02s) --- PASS: TestCrossFieldValidation/empty_obj (0.00s) --- PASS: TestCrossFieldValidation/provenance_file_without_public_key (0.00s) --- PASS: TestCrossFieldValidation/public_key_without_provenance_file (0.00s) --- PASS: TestCrossFieldValidation/public_key_with_empty_provenance_file (0.00s) --- PASS: TestCrossFieldValidation/public_key_and_invalid_provenance_content (0.00s) --- PASS: TestCrossFieldValidation/provenance_content_with_invalid_public_key (0.00s) --- PASS: TestCrossFieldValidation/provenance_content_with_valid_public_key (0.01s) === 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.047s === RUN TestIntotoType 2024-10-18T06:35:40.481Z 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:1690 2024-10-18T06:35:40.482Z 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:1690 --- PASS: TestIntotoType (0.00s) PASS ok github.com/sigstore/rekor/pkg/types/intoto 0.028s === 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 2024-10-18T06:35:40.485Z 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:1690 &{ 0xc000428630 0xc0004287b0}2024-10-18T06:35:40.492Z 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) 2024-10-18T06:35:40.497Z 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:1690 &{ 0xc00038c160 0xc00038c260}2024-10-18T06:35:40.499Z 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) 2024-10-18T06:35:40.501Z 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:1690 &{ 0xc000048340 0xc000048fc0}2024-10-18T06:35:40.502Z 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) 2024-10-18T06:35:40.504Z 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:1690 &{ 0xc0001f54c0 0xc0001f55e0}2024-10-18T06:35:40.506Z 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 2024-10-18T06:35:40.507Z INFO v0.0.1/entry.go:133 unknown in_toto statement type (text), cannot extract additional index keys &{ 0xc000264ba0 0xc000264ca0}2024-10-18T06:35:40.509Z INFO v0.0.1/entry.go:133 unknown in_toto statement type (), cannot extract additional index keys === RUN TestV001Entry_Unmarshal/cert 2024-10-18T06:35:40.511Z INFO v0.0.1/entry.go:133 unknown in_toto statement type (text), cannot extract additional index keys &{ 0xc0002662b0 0xc0002663b0}2024-10-18T06:35:40.512Z 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.04s) --- 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.00s) --- PASS: TestV001Entry_Unmarshal/valid_intoto_but_envelope_and_payloadhash_specified_by_client_(hash_values_should_be_ignored) (0.00s) --- PASS: TestV001Entry_Unmarshal/valid_dsse_but_invalid_intoto (0.00s) --- PASS: TestV001Entry_Unmarshal/cert (0.00s) --- PASS: TestV001Entry_Unmarshal/invalid (0.00s) --- PASS: TestV001Entry_Unmarshal/invalid_key#01 (0.00s) === RUN TestV001EntryWithoutEnvelopeOrPayloadHash --- PASS: TestV001EntryWithoutEnvelopeOrPayloadHash (0.00s) === RUN TestV001Entry_IndexKeys === RUN TestV001Entry_IndexKeys/standard 2024-10-18T06:35:40.515Z 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:1690 === RUN TestV001Entry_IndexKeys/subject 2024-10-18T06:35:40.515Z 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:1690 === RUN TestV001Entry_IndexKeys/slsa 2024-10-18T06:35:40.515Z 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:1690 --- 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.065s === RUN TestNewEntryReturnType --- PASS: TestNewEntryReturnType (0.00s) === RUN TestV002Entry_Unmarshal === RUN TestV002Entry_Unmarshal/empty === RUN TestV002Entry_Unmarshal/missing_envelope === RUN TestV002Entry_Unmarshal/valid &{0xc000408d80 0xc0003fd920 0xc0003fda20}2024-10-18T06:35:40.487Z INFO v0.0.2/entry.go:113 IntotoObj DSSE payload is empty === RUN TestV002Entry_Unmarshal/cert &{0xc000409080 0xc00047a510 0xc00047a610}2024-10-18T06:35:40.490Z 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 &{0xc000409400 0xc00047b2f0 0xc00047b3f0}2024-10-18T06:35:40.495Z INFO v0.0.2/entry.go:113 IntotoObj DSSE payload is empty === RUN TestV002Entry_Unmarshal/null_array_entry --- PASS: TestV002Entry_Unmarshal (0.02s) --- PASS: TestV002Entry_Unmarshal/empty (0.00s) --- PASS: TestV002Entry_Unmarshal/missing_envelope (0.00s) --- PASS: TestV002Entry_Unmarshal/valid (0.00s) --- PASS: TestV002Entry_Unmarshal/cert (0.00s) --- PASS: TestV002Entry_Unmarshal/invalid (0.00s) --- PASS: TestV002Entry_Unmarshal/invalid_key (0.00s) --- PASS: TestV002Entry_Unmarshal/multi-key (0.00s) --- PASS: TestV002Entry_Unmarshal/null_array_entry (0.00s) === RUN TestV002Entry_IndexKeys === RUN TestV002Entry_IndexKeys/standard === RUN TestV002Entry_IndexKeys/subject === RUN TestV002Entry_IndexKeys/slsa === RUN TestV002Entry_IndexKeys/slsa_wit_header --- PASS: TestV002Entry_IndexKeys (0.01s) --- 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.055s === RUN TestJARType 2024-10-18T06:35:40.470Z 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:1690 2024-10-18T06:35:40.471Z 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:1690 --- PASS: TestJARType (0.00s) === RUN FuzzJarUnmarshal --- PASS: FuzzJarUnmarshal (0.00s) PASS ok github.com/sigstore/rekor/pkg/types/jar 0.017s === RUN TestNewEntryReturnType --- PASS: TestNewEntryReturnType (0.00s) === RUN TestCrossFieldValidation --- PASS: TestCrossFieldValidation (0.03s) === 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.051s === RUN TestRekordType 2024-10-18T06:35:40.469Z 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:1690 2024-10-18T06:35:40.469Z 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:1690 --- PASS: TestRekordType (0.00s) PASS ok github.com/sigstore/rekor/pkg/types/rekord 0.015s === RUN TestNewEntryReturnType --- PASS: TestNewEntryReturnType (0.00s) === RUN TestCrossFieldValidation --- PASS: TestCrossFieldValidation (0.03s) === 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.048s === RUN TestRfc3161Type 2024-10-18T06:35:40.472Z 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:1690 2024-10-18T06:35:40.474Z 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:1690 --- PASS: TestRfc3161Type (0.00s) PASS ok github.com/sigstore/rekor/pkg/types/rfc3161 0.021s === RUN TestNewEntryReturnType --- PASS: TestNewEntryReturnType (0.00s) === RUN TestCrossFieldValidation --- PASS: TestCrossFieldValidation (0.02s) === 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.041s === RUN TestRPMType 2024-10-18T06:35:41.405Z 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:1690 2024-10-18T06:35:41.405Z 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:1690 --- PASS: TestRPMType (0.00s) PASS ok github.com/sigstore/rekor/pkg/types/rpm 0.012s === RUN TestNewEntryReturnType --- PASS: TestNewEntryReturnType (0.00s) === RUN TestCrossFieldValidation --- PASS: TestCrossFieldValidation (0.02s) === RUN TestInsertable === RUN TestInsertable/valid_entry === RUN TestInsertable/missing_public_key_content === RUN TestInsertable/missing_public_key_obj === RUN TestInsertable/missing_package_content === RUN TestInsertable/missing_package_obj === RUN TestInsertable/empty_obj --- PASS: TestInsertable (0.00s) --- PASS: TestInsertable/valid_entry (0.00s) --- PASS: TestInsertable/missing_public_key_content (0.00s) --- PASS: TestInsertable/missing_public_key_obj (0.00s) --- PASS: TestInsertable/missing_package_content (0.00s) --- PASS: TestInsertable/missing_package_obj (0.00s) --- PASS: TestInsertable/empty_obj (0.00s) === RUN FuzzRpmCreateProposedEntry --- PASS: FuzzRpmCreateProposedEntry (0.00s) === RUN FuzzRpmUnmarshalAndCanonicalize --- PASS: FuzzRpmUnmarshalAndCanonicalize (0.00s) PASS ok github.com/sigstore/rekor/pkg/types/rpm/v0.0.1 0.029s === RUN TestTufType 2024-10-18T06:35:41.583Z 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:1690 2024-10-18T06:35:41.584Z 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:1690 --- PASS: TestTufType (0.00s) PASS ok github.com/sigstore/rekor/pkg/types/tuf 0.012s === 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.06s) --- 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.02s) --- PASS: TestCrossFieldValidation/root_with_manifest_&_content_base64-encoded (0.02s) --- 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.01s) === 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.076s === 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_With_Timestamp === RUN TestSigningRoundtripCheckpoint/Log_Checkpoint_With_Multiple_Other_Contents === 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.64s) --- PASS: TestSigningRoundtripCheckpoint/Log_Checkpoint_RSA_v0 (0.01s) --- PASS: TestSigningRoundtripCheckpoint/Log_Checkpoint_ECDSA_v0 (0.00s) --- PASS: TestSigningRoundtripCheckpoint/Log_Checkpoint_Ed25519_v0 (0.00s) --- PASS: TestSigningRoundtripCheckpoint/Log_Checkpoint_With_Timestamp (0.00s) --- PASS: TestSigningRoundtripCheckpoint/Log_Checkpoint_With_Multiple_Other_Contents (0.00s) --- PASS: TestSigningRoundtripCheckpoint/Log_Checkpoint_Mismatch_v0 (0.00s) --- PASS: TestSigningRoundtripCheckpoint/Log_Checkpoint_Mismatch_v1 (0.00s) --- PASS: TestSigningRoundtripCheckpoint/Log_Checkpoint_Mismatch_v2 (0.00s) --- PASS: TestSigningRoundtripCheckpoint/Log_Checkpoint_Mismatch_v3 (0.00s) === RUN TestInvalidSigVerification === RUN TestInvalidSigVerification/Log_Checkpoint_v0 === RUN TestInvalidSigVerification/Log_Checkpoint_v0_not_base64 === RUN TestInvalidSigVerification/Log_Checkpoint_v0_invalid_signature --- PASS: TestInvalidSigVerification (0.00s) --- PASS: TestInvalidSigVerification/Log_Checkpoint_v0 (0.00s) --- PASS: TestInvalidSigVerification/Log_Checkpoint_v0_not_base64 (0.00s) --- PASS: TestInvalidSigVerification/Log_Checkpoint_v0_invalid_signature (0.00s) === RUN TestUnmarshalSignedCheckpoint === RUN TestUnmarshalSignedCheckpoint/invalid_checkpoint,_no_signatures === RUN TestUnmarshalSignedCheckpoint/valid_checkpoint,_no_signatures === RUN TestUnmarshalSignedCheckpoint/incorrect_signature_line_format === RUN TestUnmarshalSignedCheckpoint/signature_not_base64_encoded === RUN TestUnmarshalSignedCheckpoint/missing_identity === RUN TestUnmarshalSignedCheckpoint/signature_base64_encoded_but_too_short === RUN TestUnmarshalSignedCheckpoint/valid_signed_checkpoint_-_single_signature === RUN TestUnmarshalSignedCheckpoint/valid_signed_checkpoint_-_two_signatures --- PASS: TestUnmarshalSignedCheckpoint (0.00s) --- PASS: TestUnmarshalSignedCheckpoint/invalid_checkpoint,_no_signatures (0.00s) --- PASS: TestUnmarshalSignedCheckpoint/valid_checkpoint,_no_signatures (0.00s) --- PASS: TestUnmarshalSignedCheckpoint/incorrect_signature_line_format (0.00s) --- PASS: TestUnmarshalSignedCheckpoint/signature_not_base64_encoded (0.00s) --- PASS: TestUnmarshalSignedCheckpoint/missing_identity (0.00s) --- PASS: TestUnmarshalSignedCheckpoint/signature_base64_encoded_but_too_short (0.00s) --- PASS: TestUnmarshalSignedCheckpoint/valid_signed_checkpoint_-_single_signature (0.00s) --- PASS: TestUnmarshalSignedCheckpoint/valid_signed_checkpoint_-_two_signatures (0.00s) === RUN TestSignCheckpoint --- PASS: TestSignCheckpoint (0.00s) === RUN TestPrefixSHA --- PASS: TestPrefixSHA (0.00s) === RUN TestUnprefixSHA --- PASS: TestUnprefixSHA (0.00s) PASS ok github.com/sigstore/rekor/pkg/util 0.650s === RUN TestConsistency === RUN TestConsistency/zero_length_proof === RUN TestConsistency/valid_consistency_proof === RUN TestConsistency/invalid_new_sth_request === RUN TestConsistency/invalid_consistency_proof === RUN TestConsistency/invalid_consistency_-_same_size === RUN TestConsistency/invalid_consistency_-_empty_log --- PASS: TestConsistency (0.00s) --- PASS: TestConsistency/zero_length_proof (0.00s) --- PASS: TestConsistency/valid_consistency_proof (0.00s) --- PASS: TestConsistency/invalid_new_sth_request (0.00s) --- PASS: TestConsistency/invalid_consistency_proof (0.00s) --- PASS: TestConsistency/invalid_consistency_-_same_size (0.00s) --- PASS: TestConsistency/invalid_consistency_-_empty_log (0.00s) === RUN TestInclusion === RUN TestInclusion/valid_inclusion === RUN TestInclusion/invalid_inclusion_-_bad_body_hash --- PASS: TestInclusion (0.00s) --- PASS: TestInclusion/valid_inclusion (0.00s) --- PASS: TestInclusion/invalid_inclusion_-_bad_body_hash (0.00s) === RUN TestCheckpoint === RUN TestCheckpoint/valid_checkpoint === RUN TestCheckpoint/root_hash_mismatch --- PASS: TestCheckpoint (0.00s) --- PASS: TestCheckpoint/valid_checkpoint (0.00s) --- PASS: TestCheckpoint/root_hash_mismatch (0.00s) PASS ok github.com/sigstore/rekor/pkg/verify 0.015s ? github.com/sigstore/rekor/pkg/witness/mockclient [no test files] === RUN TestPublishCheckpoint --- PASS: TestPublishCheckpoint (1.00s) === RUN TestPublishCheckpointMultiple --- PASS: TestPublishCheckpointMultiple (1.00s) === RUN TestPublishCheckpointTrillianError 2024-10-18T06:35:44.582Z 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:1690 --- PASS: TestPublishCheckpointTrillianError (1.00s) === RUN TestPublishCheckpointInvalidTrillianResponse 2024-10-18T06:35:45.583Z 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:1690 --- PASS: TestPublishCheckpointInvalidTrillianResponse (1.00s) === RUN TestPublishCheckpointRedisFailure 2024-10-18T06:35:46.584Z ERROR witness/publish_checkpoint.go:163 error with client publishing checkpoint: redis error github.com/sigstore/rekor/pkg/witness.(*CheckpointPublisher).publish github.com/sigstore/rekor/pkg/witness/publish_checkpoint.go:163 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:1690 --- PASS: TestPublishCheckpointRedisFailure (1.00s) === RUN TestPublishCheckpointRedisLatestFailure 2024-10-18T06:35:47.586Z ERROR witness/publish_checkpoint.go:191 error with client publishing latest checkpoint: error github.com/sigstore/rekor/pkg/witness.(*CheckpointPublisher).publish github.com/sigstore/rekor/pkg/witness/publish_checkpoint.go:191 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:1690 --- PASS: TestPublishCheckpointRedisLatestFailure (1.00s) PASS ok github.com/sigstore/rekor/pkg/witness 6.020s >>> 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... '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... '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... '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: 23.4 KB >>> rekor-bash-completion*: Compressing data... >>> rekor-bash-completion*: Create checksum... >>> rekor-bash-completion*: Create rekor-bash-completion-1.3.6-r0.apk >>> rekor-fish-completion*: Tracing dependencies... >>> rekor-fish-completion*: Package size: 19.7 KB >>> rekor-fish-completion*: Compressing data... >>> rekor-fish-completion*: Create checksum... >>> rekor-fish-completion*: Create rekor-fish-completion-1.3.6-r0.apk >>> rekor-server*: Tracing dependencies... so:libc.musl-loongarch64.so.1 >>> rekor-server*: Package size: 50.0 MB >>> rekor-server*: Compressing data... >>> rekor-server*: Create checksum... >>> rekor-server*: Create rekor-server-1.3.6-r0.apk >>> rekor-zsh-completion*: Tracing dependencies... >>> rekor-zsh-completion*: Package size: 15.4 KB >>> rekor-zsh-completion*: Compressing data... >>> rekor-zsh-completion*: Create checksum... >>> rekor-zsh-completion*: Create rekor-zsh-completion-1.3.6-r0.apk >>> rekor*: Tracing dependencies... so:libc.musl-loongarch64.so.1 >>> rekor*: Package size: 21.1 MB >>> rekor*: Compressing data... >>> rekor*: Create checksum... >>> rekor*: Create rekor-1.3.6-r0.apk >>> rekor: Build complete at Fri, 18 Oct 2024 06:35:51 +0000 elapsed time 0h 1m 46s >>> rekor: Cleaning up srcdir >>> rekor: Cleaning up pkgdir >>> rekor: Uninstalling dependencies... (1/2) Purging .makedepends-rekor (20241018.063415) (2/2) Purging go (1.23.2-r0) Executing busybox-1.36.1-r32.trigger OK: 243 MiB in 100 packages >>> rekor: Updating the community/loongarch64 repository index... >>> rekor: Signing the index...