>>> rekor: Building testing/rekor 0.9.1-r1 (using abuild 3.9.0-r2) started Thu, 21 Jul 2022 21:00:19 +0000 >>> rekor: Checking sanity of /home/buildozer/aports/testing/rekor/APKBUILD... >>> rekor: Analyzing dependencies... >>> rekor: Installing for build: build-base go (1/2) Installing go (1.18.4-r2) (2/2) Installing .makedepends-rekor (20220721.210021) Executing busybox-1.35.0-r19.trigger OK: 713 MiB in 103 packages >>> rekor: Cleaning up srcdir >>> rekor: Cleaning up pkgdir >>> rekor: Fetching https://distfiles.alpinelinux.org/distfiles/edge/rekor-0.9.1.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 663k 100 663k 0 0 5667k 0 --:--:-- --:--:-- --:--:-- 5717k >>> rekor: Fetching https://distfiles.alpinelinux.org/distfiles/edge/rekor-0.9.1.tar.gz >>> rekor: Checking sha512sums... rekor-0.9.1.tar.gz: OK >>> rekor: Unpacking /var/cache/distfiles/edge/rekor-0.9.1.tar.gz... go: downloading github.com/go-openapi/strfmt v0.21.2 go: downloading github.com/cyberphone/json-canonicalization v0.0.0-20210303052042-6bc126869bf4 go: downloading github.com/sigstore/sigstore v1.2.1-0.20220526001230-8dc4fa90a468 go: downloading github.com/spf13/viper v1.12.0 go: downloading github.com/go-openapi/runtime v0.24.1 go: downloading github.com/transparency-dev/merkle v0.0.1 go: downloading github.com/go-playground/validator/v10 v10.11.0 go: downloading github.com/in-toto/in-toto-golang v0.3.4-0.20211211042327-af1f9fb822bf go: downloading github.com/go-openapi/errors v0.20.2 go: downloading github.com/ghodss/yaml v1.0.0 go: downloading go.uber.org/zap v1.21.0 go: downloading golang.org/x/sync v0.0.0-20220513210516-0976fa681c29 go: downloading github.com/sassoftware/relic v0.0.0-20210427151427-dfb082b79b74 go: downloading github.com/asaskevich/govalidator v0.0.0-20210307081110-f21760c49a8d go: downloading github.com/theupdateframework/go-tuf v0.3.1 go: downloading github.com/veraison/go-cose v1.0.0-alpha.1 go: downloading github.com/secure-systems-lab/go-securesystemslib v0.4.0 go: downloading github.com/go-chi/chi v4.1.2+incompatible go: downloading github.com/cavaliercoder/go-rpm v0.0.0-20200122174316-8cb9fd9c31a8 go: downloading github.com/mitchellh/mapstructure v1.5.0 go: downloading github.com/google/trillian v1.4.1 go: downloading github.com/tent/canonical-json-go v0.0.0-20130607151641-96e4ba3a7613 go: downloading github.com/go-openapi/validate v0.22.0 go: downloading github.com/jedisct1/go-minisign v0.0.0-20211028175153-1c139d1cc84b go: downloading gopkg.in/ini.v1 v1.66.6 go: downloading github.com/oklog/ulid v1.3.1 go: downloading go.mongodb.org/mongo-driver v1.8.3 go: downloading github.com/fxamacker/cbor/v2 v2.4.0 go: downloading github.com/fsnotify/fsnotify v1.5.4 go: downloading github.com/spf13/cast v1.5.0 go: downloading github.com/subosito/gotenv v1.3.0 go: downloading github.com/pelletier/go-toml/v2 v2.0.1 go: downloading github.com/letsencrypt/boulder v0.0.0-20220331220046-b23ab962616e go: downloading github.com/google/go-containerregistry v0.9.0 go: downloading github.com/go-openapi/analysis v0.21.2 go: downloading github.com/go-openapi/loads v0.21.1 go: downloading github.com/go-openapi/spec v0.20.6 go: downloading go.uber.org/multierr v1.8.0 go: downloading go.uber.org/atomic v1.9.0 go: downloading github.com/x448/float16 v0.8.4 go: downloading github.com/pelletier/go-toml v1.9.5 go: downloading github.com/shibumi/go-pathspec v1.3.0 go: downloading github.com/zalando/go-keyring v0.1.1 go: downloading github.com/howeyc/gopass v0.0.0-20190910152052-7cb4b85ec19c go: downloading github.com/google/certificate-transparency-go v1.1.2-0.20210512142713-bed466244fa6 go: downloading google.golang.org/genproto v0.0.0-20220519153652-3a47de7e79bd go: downloading google.golang.org/grpc v1.47.0 go: downloading github.com/titanous/rocacheck v0.0.0-20171023193734-afe73141d399 go: downloading github.com/go-stack/stack v1.8.1 go: downloading github.com/prometheus/client_golang v1.12.2 go: downloading gocloud.dev v0.24.1-0.20211119014450-028788aaaa4c go: downloading github.com/mediocregopher/radix/v4 v4.1.0 go: downloading github.com/rs/cors v1.8.2 go: downloading github.com/urfave/negroni v1.0.0 go: downloading github.com/golang/glog v0.0.0-20210429001901-424d2337a529 go: downloading cloud.google.com/go/kms v1.4.0 go: downloading github.com/ReneKroon/ttlcache/v2 v2.11.0 go: downloading cloud.google.com/go v0.100.2 go: downloading github.com/tilinna/clock v1.1.0 go: downloading github.com/googleapis/gax-go/v2 v2.4.0 go: downloading google.golang.org/api v0.81.0 go: downloading cloud.google.com/go/iam v0.3.0 go: downloading golang.org/x/xerrors v0.0.0-20220517211312-f3a8303e98df go: downloading cloud.google.com/go/storage v1.22.1 go: downloading github.com/google/wire v0.5.0 go: downloading cloud.google.com/go/compute v1.6.1 go: downloading github.com/googleapis/go-type-adapters v1.0.0 go: downloading github.com/google/go-cmp v0.5.8 2022-07-21T21:00:53.410Z DEBUG app/root.go:89 pprof enabled false 2022-07-21T21:00:53.411Z INFO app/root.go:129 Using config file: /home/buildozer/aports/testing/rekor/src/rekor-0.9.1/rekor-server.yaml 2022-07-21T21:00:53.456Z DEBUG app/root.go:89 pprof enabled false 2022-07-21T21:00:53.457Z INFO app/root.go:129 Using config file: /home/buildozer/aports/testing/rekor/src/rekor-0.9.1/rekor-server.yaml 2022-07-21T21:00:53.495Z DEBUG app/root.go:89 pprof enabled false 2022-07-21T21:00:53.495Z INFO app/root.go:129 Using config file: /home/buildozer/aports/testing/rekor/src/rekor-0.9.1/rekor-server.yaml go: downloading go.uber.org/goleak v1.1.12 ? github.com/sigstore/rekor/cmd/rekor-cli [no test files] === RUN TestArtifactPFlags --- PASS: TestArtifactPFlags (0.03s) === RUN TestValidateRekorServerURL --- PASS: TestValidateRekorServerURL (0.00s) === RUN TestSearchPFlags --- PASS: TestSearchPFlags (0.00s) PASS ok github.com/sigstore/rekor/cmd/rekor-cli/app 0.065s ? github.com/sigstore/rekor/cmd/rekor-cli/app/format [no test files] ? github.com/sigstore/rekor/cmd/rekor-cli/app/state [no test files] ? github.com/sigstore/rekor/cmd/rekor-server [no test files] ? github.com/sigstore/rekor/cmd/rekor-server/app [no test files] ? github.com/sigstore/rekor/pkg/api [no test files] === RUN TestMakeOptions === RUN TestMakeOptions/no_opts === RUN TestMakeOptions/WithUserAgent --- PASS: TestMakeOptions (0.00s) --- PASS: TestMakeOptions/no_opts (0.00s) --- PASS: TestMakeOptions/WithUserAgent (0.00s) === RUN TestCreateRoundTripper === RUN TestCreateRoundTripper/always_returns_non-nil --- PASS: TestCreateRoundTripper (0.00s) --- PASS: TestCreateRoundTripper/always_returns_non-nil (0.00s) === RUN TestAPIKey === PAUSE TestAPIKey === RUN TestGetRekorClientWithOptions === PAUSE TestGetRekorClientWithOptions === CONT TestAPIKey === CONT TestGetRekorClientWithOptions === RUN TestAPIKey/GetLogInfo === RUN TestAPIKey/GetPublicKey --- PASS: TestGetRekorClientWithOptions (0.00s) --- PASS: TestAPIKey (0.00s) --- PASS: TestAPIKey/GetLogInfo (0.00s) --- PASS: TestAPIKey/GetPublicKey (0.00s) PASS ok github.com/sigstore/rekor/pkg/client 0.089s ? 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/server [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/server [no test files] ? github.com/sigstore/rekor/pkg/generated/restapi/operations/tlog [no test files] ? github.com/sigstore/rekor/pkg/log [no test files] === RUN 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) PASS ok github.com/sigstore/rekor/pkg/pki 0.062s === 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.028s === RUN TestReadPublicKey --- PASS: TestReadPublicKey (0.01s) === RUN TestReadSignature --- PASS: TestReadSignature (0.00s) === RUN TestReadErrorPublicKey --- PASS: TestReadErrorPublicKey (0.00s) === RUN TestReadErrorSignature --- PASS: TestReadErrorSignature (0.00s) === RUN TestFetchPublicKey --- PASS: TestFetchPublicKey (0.01s) === RUN TestFetchSignature --- PASS: TestFetchSignature (0.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.185s === RUN TestSignature_Verify === RUN TestSignature_Verify/ec --- PASS: TestSignature_Verify (0.00s) --- PASS: TestSignature_Verify/ec (0.00s) === RUN TestSignature_VerifyFail === RUN TestSignature_VerifyFail/ec --- PASS: TestSignature_VerifyFail (0.00s) --- PASS: TestSignature_VerifyFail/ec (0.00s) === RUN TestEmailAddresses === RUN TestEmailAddresses/ec === RUN TestEmailAddresses/email --- PASS: TestEmailAddresses (0.00s) --- PASS: TestEmailAddresses/ec (0.00s) --- PASS: TestEmailAddresses/email (0.00s) PASS ok github.com/sigstore/rekor/pkg/pki/pkcs7 0.024s === RUN TestFromOpenSSH === RUN TestFromOpenSSH/rsa sign_test.go:159: cmd /usr/bin/ssh-keygen -Y sign -n file -f /tmp/TestFromOpenSSHrsa2908195419/001/id /tmp/TestFromOpenSSHrsa2908195419/001/data: Signing file /tmp/TestFromOpenSSHrsa2908195419/001/data Write signature to /tmp/TestFromOpenSSHrsa2908195419/001/data.sig === RUN TestFromOpenSSH/ed25519 sign_test.go:159: cmd /usr/bin/ssh-keygen -Y sign -n file -f /tmp/TestFromOpenSSHed25519724490555/001/id /tmp/TestFromOpenSSHed25519724490555/001/data: Signing file /tmp/TestFromOpenSSHed25519724490555/001/data Write signature to /tmp/TestFromOpenSSHed25519724490555/001/data.sig --- PASS: TestFromOpenSSH (0.08s) --- PASS: TestFromOpenSSH/rsa (0.07s) --- PASS: TestFromOpenSSH/ed25519 (0.01s) === RUN TestToOpenSSH === RUN TestToOpenSSH/rsa sign_test.go:223: cmd /usr/bin/ssh-keygen -Y verify -f /tmp/TestToOpenSSHrsa501952315/001/allowed_signer -I test@rekor.dev -n file -s /tmp/TestToOpenSSHrsa501952315/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/TestToOpenSSHrsa501952315/001/allowed_signer -I othertest@rekor.dev -n file -s /tmp/TestToOpenSSHrsa501952315/001/oursig: Could not verify signature. sign_test.go:232: cmd /usr/bin/ssh-keygen -Y check-novalidate -n file -s /tmp/TestToOpenSSHrsa501952315/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/TestToOpenSSHed255191751554082/001/allowed_signer -I test@rekor.dev -n file -s /tmp/TestToOpenSSHed255191751554082/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/TestToOpenSSHed255191751554082/001/allowed_signer -I othertest@rekor.dev -n file -s /tmp/TestToOpenSSHed255191751554082/001/oursig: Could not verify signature. sign_test.go:232: cmd /usr/bin/ssh-keygen -Y check-novalidate -n file -s /tmp/TestToOpenSSHed255191751554082/001/oursig: Signature verification failed: incorrect signature Could not verify signature. --- PASS: TestToOpenSSH (0.13s) --- PASS: TestToOpenSSH/rsa (0.08s) --- 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) PASS ok github.com/sigstore/rekor/pkg/pki/ssh 0.277s === RUN TestReadPublicKey --- PASS: TestReadPublicKey (0.01s) === RUN TestReadSignature --- PASS: TestReadSignature (0.00s) === RUN TestCanonicalValue --- PASS: TestCanonicalValue (0.01s) === RUN TestVerifySignature --- PASS: TestVerifySignature (0.05s) PASS ok github.com/sigstore/rekor/pkg/pki/tuf 0.093s === RUN TestSignature_Verify === RUN TestSignature_Verify/rsa === RUN TestSignature_Verify/ec === RUN TestSignature_Verify/ed25519 --- PASS: TestSignature_Verify (0.01s) --- PASS: TestSignature_Verify/rsa (0.00s) --- PASS: TestSignature_Verify/ec (0.00s) --- PASS: TestSignature_Verify/ed25519 (0.00s) === 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.01s) PASS ok github.com/sigstore/rekor/pkg/pki/x509 0.048s ? github.com/sigstore/rekor/pkg/pki/x509/testutils [no test files] === 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 2022-07-21T21:00:56.853Z INFO sharding/ranges.go:67 Ranges: %v[{1 3 c2hhcmRpbmcK sharding } {2 4 }] --- PASS: TestNewLogRanges (0.00s) === RUN TestLogRangesFromPath --- PASS: TestLogRangesFromPath (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 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) PASS ok github.com/sigstore/rekor/pkg/sharding 0.019s === RUN TestMemory --- PASS: TestMemory (0.00s) PASS ok github.com/sigstore/rekor/pkg/signer 0.014s ? github.com/sigstore/rekor/pkg/storage [no test files] === RUN TestNewEntry --- PASS: TestNewEntry (0.00s) PASS ok github.com/sigstore/rekor/pkg/types 0.054s === RUN TestAlpineType 2022-07-21T21:00:57.024Z 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:54 testing.tRunner testing/testing.go:1439 2022-07-21T21:00:57.024Z 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:51 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:89 testing.tRunner testing/testing.go:1439 --- PASS: TestAlpineType (0.00s) === RUN TestAlpinePackage --- PASS: TestAlpinePackage (0.00s) PASS ok github.com/sigstore/rekor/pkg/types/alpine 0.059s === RUN TestNewEntryReturnType --- PASS: TestNewEntryReturnType (0.00s) === RUN TestCrossFieldValidation --- PASS: TestCrossFieldValidation (0.00s) PASS ok github.com/sigstore/rekor/pkg/types/alpine/v0.0.1 0.047s === RUN TestCOSEType 2022-07-21T21:00:56.967Z 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:55 testing.tRunner testing/testing.go:1439 2022-07-21T21:00:56.967Z 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:51 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:90 testing.tRunner testing/testing.go:1439 --- 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.048s === RUN TestNewEntryReturnType --- PASS: TestNewEntryReturnType (0.00s) === RUN TestV001Entry_Unmarshal === RUN TestV001Entry_Unmarshal/empty === RUN TestV001Entry_Unmarshal/missing_data === RUN TestV001Entry_Unmarshal/missing_envelope === RUN TestV001Entry_Unmarshal/valid === RUN TestV001Entry_Unmarshal/valid_with_aad === RUN TestV001Entry_Unmarshal/extra_aad === RUN TestV001Entry_Unmarshal/invalid_envelope === RUN TestV001Entry_Unmarshal/cert === RUN TestV001Entry_Unmarshal/invalid_key === RUN TestV001Entry_Unmarshal/invalid_type --- PASS: TestV001Entry_Unmarshal (0.00s) --- PASS: TestV001Entry_Unmarshal/empty (0.00s) --- PASS: TestV001Entry_Unmarshal/missing_data (0.00s) --- PASS: TestV001Entry_Unmarshal/missing_envelope (0.00s) --- PASS: TestV001Entry_Unmarshal/valid (0.00s) --- PASS: TestV001Entry_Unmarshal/valid_with_aad (0.00s) --- PASS: TestV001Entry_Unmarshal/extra_aad (0.00s) --- PASS: TestV001Entry_Unmarshal/invalid_envelope (0.00s) --- PASS: TestV001Entry_Unmarshal/cert (0.00s) --- PASS: TestV001Entry_Unmarshal/invalid_key (0.00s) --- PASS: TestV001Entry_Unmarshal/invalid_type (0.00s) === RUN TestV001Entry_IndexKeys --- PASS: TestV001Entry_IndexKeys (0.00s) === RUN TestV001Entry_IndexKeysWrongContentType 2022-07-21T21:00:57.172Z 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:385 testing.tRunner testing/testing.go:1439 --- PASS: TestV001Entry_IndexKeysWrongContentType (0.00s) === RUN TestV001Entry_IndexKeysIntegerContentType --- PASS: TestV001Entry_IndexKeysIntegerContentType (0.00s) === RUN TestV001Entry_Attestation === RUN TestV001Entry_Attestation/no_storage 2022-07-21T21:00:57.173Z INFO v0.0.1/entry.go:295 Skipping attestation storage, size 79 is greater than max 0 === RUN TestV001Entry_Attestation/with_storage --- PASS: TestV001Entry_Attestation (0.00s) --- PASS: TestV001Entry_Attestation/no_storage (0.00s) --- PASS: TestV001Entry_Attestation/with_storage (0.00s) === RUN TestGetPublicKey === RUN TestGetPublicKey/P256 === RUN TestGetPublicKey/P384 === RUN TestGetPublicKey/P521 === RUN TestGetPublicKey/RSA2048 === RUN TestGetPublicKey/Invalid_key === RUN TestGetPublicKey/Ed25519 --- PASS: TestGetPublicKey (0.00s) --- PASS: TestGetPublicKey/P256 (0.00s) --- PASS: TestGetPublicKey/P384 (0.00s) --- PASS: TestGetPublicKey/P521 (0.00s) --- PASS: TestGetPublicKey/RSA2048 (0.00s) --- PASS: TestGetPublicKey/Invalid_key (0.00s) --- PASS: TestGetPublicKey/Ed25519 (0.00s) === RUN TestV001Entry_Validate === RUN TestV001Entry_Validate/missing_message === RUN TestV001Entry_Validate/invalid_public_key --- PASS: TestV001Entry_Validate (0.00s) --- PASS: TestV001Entry_Validate/missing_message (0.00s) --- PASS: TestV001Entry_Validate/invalid_public_key (0.00s) PASS ok github.com/sigstore/rekor/pkg/types/cose/v0.0.1 0.036s === RUN TestRekordType 2022-07-21T21:00:56.988Z 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:54 testing.tRunner testing/testing.go:1439 2022-07-21T21:00:56.988Z 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:51 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:89 testing.tRunner testing/testing.go:1439 --- PASS: TestRekordType (0.00s) PASS ok github.com/sigstore/rekor/pkg/types/hashedrekord 0.061s === RUN TestNewEntryReturnType --- PASS: TestNewEntryReturnType (0.00s) === RUN TestCrossFieldValidation --- PASS: TestCrossFieldValidation (0.01s) === 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) PASS ok github.com/sigstore/rekor/pkg/types/hashedrekord/v0.0.1 0.041s === RUN TestHelmType 2022-07-21T21:00:57.016Z 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:54 testing.tRunner testing/testing.go:1439 2022-07-21T21:00:57.016Z 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:51 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:89 testing.tRunner testing/testing.go:1439 --- PASS: TestHelmType (0.00s) === RUN TestProvenance --- PASS: TestProvenance (0.00s) PASS ok github.com/sigstore/rekor/pkg/types/helm 0.063s === 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.01s) --- 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) PASS ok github.com/sigstore/rekor/pkg/types/helm/v0.0.1 0.040s === RUN TestIntotoType 2022-07-21T21:00:56.997Z ERROR types/versionmap.go:83 Could not get version from string: "not" github.com/sigstore/rekor/pkg/types.(*SemVerEntryFactoryMap).SetEntryFactory github.com/sigstore/rekor/pkg/types/versionmap.go:83 github.com/sigstore/rekor/pkg/types/intoto.TestIntotoType github.com/sigstore/rekor/pkg/types/intoto/intoto_test.go:54 testing.tRunner testing/testing.go:1439 2022-07-21T21:00:56.997Z 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:51 github.com/sigstore/rekor/pkg/types/intoto.BaseIntotoType.UnmarshalEntry github.com/sigstore/rekor/pkg/types/intoto/intoto.go:58 github.com/sigstore/rekor/pkg/types/intoto.TestIntotoType github.com/sigstore/rekor/pkg/types/intoto/intoto_test.go:89 testing.tRunner testing/testing.go:1439 --- PASS: TestIntotoType (0.00s) PASS ok github.com/sigstore/rekor/pkg/types/intoto 0.060s === RUN TestNewEntryReturnType --- PASS: TestNewEntryReturnType (0.00s) === RUN TestV001Entry_Unmarshal === RUN TestV001Entry_Unmarshal/empty === RUN TestV001Entry_Unmarshal/missing_envelope === RUN TestV001Entry_Unmarshal/missing_envelope#01 === RUN TestV001Entry_Unmarshal/valid_intoto 2022-07-21T21:00:57.747Z ERROR v0.0.1/entry.go:113 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:113 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:264 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:291 testing.tRunner testing/testing.go:1439 2022-07-21T21:00:57.748Z INFO v0.0.1/entry.go:269 Skipping attestation storage, size 24 is greater than max 0 &{ 0xc0002315a0 }=== RUN TestV001Entry_Unmarshal/valid_dsse_but_invalid_intoto 2022-07-21T21:00:57.750Z ERROR v0.0.1/entry.go:113 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:113 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:264 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:291 testing.tRunner testing/testing.go:1439 2022-07-21T21:00:57.751Z INFO v0.0.1/entry.go:269 Skipping attestation storage, size 24 is greater than max 0 &{ 0xc0003b30a0 }=== RUN TestV001Entry_Unmarshal/cert 2022-07-21T21:00:57.753Z ERROR v0.0.1/entry.go:113 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:113 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:264 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:291 testing.tRunner testing/testing.go:1439 2022-07-21T21:00:57.754Z INFO v0.0.1/entry.go:269 Skipping attestation storage, size 24 is greater than max 0 &{ 0xc0004cc720 }=== RUN TestV001Entry_Unmarshal/invalid === RUN TestV001Entry_Unmarshal/invalid_key --- PASS: TestV001Entry_Unmarshal (0.01s) --- PASS: TestV001Entry_Unmarshal/empty (0.00s) --- PASS: TestV001Entry_Unmarshal/missing_envelope (0.00s) --- PASS: TestV001Entry_Unmarshal/missing_envelope#01 (0.00s) --- PASS: TestV001Entry_Unmarshal/valid_intoto (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 (0.00s) === RUN TestV001Entry_IndexKeys === RUN TestV001Entry_IndexKeys/standard 2022-07-21T21:00:57.756Z 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:373 testing.tRunner testing/testing.go:1439 === RUN TestV001Entry_IndexKeys/subject 2022-07-21T21:00:57.756Z 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:373 testing.tRunner testing/testing.go:1439 === RUN TestV001Entry_IndexKeys/slsa 2022-07-21T21:00:57.757Z 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:373 testing.tRunner testing/testing.go:1439 --- PASS: TestV001Entry_IndexKeys (0.00s) --- PASS: TestV001Entry_IndexKeys/standard (0.00s) --- PASS: TestV001Entry_IndexKeys/subject (0.00s) --- PASS: TestV001Entry_IndexKeys/slsa (0.00s) === RUN TestIndexKeysNoContentHash 2022-07-21T21:00:57.757Z ERROR v0.0.1/entry.go:81 could not find content digest 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:81 github.com/sigstore/rekor/pkg/types/intoto/v0%2e0%2e1.TestIndexKeysNoContentHash github.com/sigstore/rekor/pkg/types/intoto/v0.0.1/entry_test.go:412 testing.tRunner testing/testing.go:1439 2022-07-21T21:00:57.757Z 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.TestIndexKeysNoContentHash github.com/sigstore/rekor/pkg/types/intoto/v0.0.1/entry_test.go:412 testing.tRunner testing/testing.go:1439 --- PASS: TestIndexKeysNoContentHash (0.00s) PASS ok github.com/sigstore/rekor/pkg/types/intoto/v0.0.1 0.038s === RUN TestJARType 2022-07-21T21:00:56.989Z 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:53 testing.tRunner testing/testing.go:1439 2022-07-21T21:00:56.989Z 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:51 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:88 testing.tRunner testing/testing.go:1439 --- PASS: TestJARType (0.00s) PASS ok github.com/sigstore/rekor/pkg/types/jar 0.059s === RUN TestNewEntryReturnType --- PASS: TestNewEntryReturnType (0.00s) === RUN TestCrossFieldValidation --- PASS: TestCrossFieldValidation (0.02s) PASS ok github.com/sigstore/rekor/pkg/types/jar/v0.0.1 0.047s === RUN TestRekordType 2022-07-21T21:00:57.029Z 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:54 testing.tRunner testing/testing.go:1439 2022-07-21T21:00:57.030Z 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:51 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:89 testing.tRunner testing/testing.go:1439 --- PASS: TestRekordType (0.00s) PASS ok github.com/sigstore/rekor/pkg/types/rekord 0.043s === RUN TestNewEntryReturnType --- PASS: TestNewEntryReturnType (0.00s) === RUN TestCrossFieldValidation --- PASS: TestCrossFieldValidation (0.02s) PASS ok github.com/sigstore/rekor/pkg/types/rekord/v0.0.1 0.042s === RUN TestRfc3161Type 2022-07-21T21:00:57.033Z 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:54 testing.tRunner testing/testing.go:1439 2022-07-21T21:00:57.033Z 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:51 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:89 testing.tRunner testing/testing.go:1439 --- PASS: TestRfc3161Type (0.00s) PASS ok github.com/sigstore/rekor/pkg/types/rfc3161 0.032s === RUN TestNewEntryReturnType --- PASS: TestNewEntryReturnType (0.00s) === RUN TestCrossFieldValidation --- PASS: TestCrossFieldValidation (0.01s) PASS ok github.com/sigstore/rekor/pkg/types/rfc3161/v0.0.1 0.020s === RUN TestRPMType 2022-07-21T21:00:57.069Z 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:54 testing.tRunner testing/testing.go:1439 2022-07-21T21:00:57.069Z 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:51 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:89 testing.tRunner testing/testing.go:1439 --- PASS: TestRPMType (0.00s) PASS ok github.com/sigstore/rekor/pkg/types/rpm 0.015s === RUN TestNewEntryReturnType --- PASS: TestNewEntryReturnType (0.00s) === RUN TestCrossFieldValidation --- PASS: TestCrossFieldValidation (0.01s) PASS ok github.com/sigstore/rekor/pkg/types/rpm/v0.0.1 0.034s === RUN TestTufType 2022-07-21T21:00:57.879Z 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:54 testing.tRunner testing/testing.go:1439 2022-07-21T21:00:57.879Z 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:51 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:89 testing.tRunner testing/testing.go:1439 --- PASS: TestTufType (0.00s) PASS ok github.com/sigstore/rekor/pkg/types/tuf 0.011s === RUN TestNewEntryReturnType --- PASS: TestNewEntryReturnType (0.00s) === RUN TestCrossFieldValidation --- PASS: TestCrossFieldValidation (0.01s) PASS ok github.com/sigstore/rekor/pkg/types/tuf/v0.0.1 0.033s === RUN TestMarshalCheckpoint === RUN TestMarshalCheckpoint/bananas === RUN TestMarshalCheckpoint/the_view_from_the_tree_tops_is_great! === RUN TestMarshalCheckpoint/the_view_from_the_tree_tops_is_great!#01 --- PASS: TestMarshalCheckpoint (0.00s) --- PASS: TestMarshalCheckpoint/bananas (0.00s) --- PASS: TestMarshalCheckpoint/the_view_from_the_tree_tops_is_great! (0.00s) --- PASS: TestMarshalCheckpoint/the_view_from_the_tree_tops_is_great!#01 (0.00s) === RUN TestUnmarshalCheckpoint === RUN TestUnmarshalCheckpoint/valid_one === RUN TestUnmarshalCheckpoint/valid_with_different_ecosystem === RUN TestUnmarshalCheckpoint/valid_with_trailing_data === RUN TestUnmarshalCheckpoint/valid_with_multiple_trailing_data_lines === RUN TestUnmarshalCheckpoint/valid_with_trailing_newlines === RUN TestUnmarshalCheckpoint/invalid_-_insufficient_lines === RUN TestUnmarshalCheckpoint/invalid_-_empty_header === RUN TestUnmarshalCheckpoint/invalid_-_missing_newline_on_roothash === RUN TestUnmarshalCheckpoint/invalid_size_-_not_a_number === RUN TestUnmarshalCheckpoint/invalid_size_-_negative === RUN TestUnmarshalCheckpoint/invalid_size_-_too_large === RUN TestUnmarshalCheckpoint/invalid_roothash_-_not_base64 --- PASS: TestUnmarshalCheckpoint (0.00s) --- PASS: TestUnmarshalCheckpoint/valid_one (0.00s) --- PASS: TestUnmarshalCheckpoint/valid_with_different_ecosystem (0.00s) --- PASS: TestUnmarshalCheckpoint/valid_with_trailing_data (0.00s) --- PASS: TestUnmarshalCheckpoint/valid_with_multiple_trailing_data_lines (0.00s) --- PASS: TestUnmarshalCheckpoint/valid_with_trailing_newlines (0.00s) --- PASS: TestUnmarshalCheckpoint/invalid_-_insufficient_lines (0.00s) --- PASS: TestUnmarshalCheckpoint/invalid_-_empty_header (0.00s) --- PASS: TestUnmarshalCheckpoint/invalid_-_missing_newline_on_roothash (0.00s) --- PASS: TestUnmarshalCheckpoint/invalid_size_-_not_a_number (0.00s) --- PASS: TestUnmarshalCheckpoint/invalid_size_-_negative (0.00s) --- PASS: TestUnmarshalCheckpoint/invalid_size_-_too_large (0.00s) --- PASS: TestUnmarshalCheckpoint/invalid_roothash_-_not_base64 (0.00s) === RUN TestSigningRoundtripCheckpoint === RUN TestSigningRoundtripCheckpoint/Log_Checkpoint_RSA_v0 === RUN TestSigningRoundtripCheckpoint/Log_Checkpoint_ECDSA_v0 === RUN TestSigningRoundtripCheckpoint/Log_Checkpoint_Ed25519_v0 === RUN TestSigningRoundtripCheckpoint/Log_Checkpoint_Mismatch_v0 === RUN TestSigningRoundtripCheckpoint/Log_Checkpoint_Mismatch_v1 === RUN TestSigningRoundtripCheckpoint/Log_Checkpoint_Mismatch_v2 === RUN TestSigningRoundtripCheckpoint/Log_Checkpoint_Mismatch_v3 --- PASS: TestSigningRoundtripCheckpoint (0.69s) --- PASS: TestSigningRoundtripCheckpoint/Log_Checkpoint_RSA_v0 (0.01s) --- PASS: TestSigningRoundtripCheckpoint/Log_Checkpoint_ECDSA_v0 (0.00s) --- PASS: TestSigningRoundtripCheckpoint/Log_Checkpoint_Ed25519_v0 (0.00s) --- PASS: TestSigningRoundtripCheckpoint/Log_Checkpoint_Mismatch_v0 (0.00s) --- PASS: TestSigningRoundtripCheckpoint/Log_Checkpoint_Mismatch_v1 (0.00s) --- PASS: TestSigningRoundtripCheckpoint/Log_Checkpoint_Mismatch_v2 (0.00s) --- PASS: TestSigningRoundtripCheckpoint/Log_Checkpoint_Mismatch_v3 (0.00s) === RUN TestInvalidSigVerification === RUN TestInvalidSigVerification/Log_Checkpoint_v0 === RUN TestInvalidSigVerification/Log_Checkpoint_v0_not_base64 === RUN TestInvalidSigVerification/Log_Checkpoint_v0_invalid_signature --- PASS: TestInvalidSigVerification (0.00s) --- PASS: TestInvalidSigVerification/Log_Checkpoint_v0 (0.00s) --- PASS: TestInvalidSigVerification/Log_Checkpoint_v0_not_base64 (0.00s) --- PASS: TestInvalidSigVerification/Log_Checkpoint_v0_invalid_signature (0.00s) === RUN TestUnmarshalSignedCheckpoint === RUN TestUnmarshalSignedCheckpoint/invalid_checkpoint,_no_signatures === RUN TestUnmarshalSignedCheckpoint/valid_checkpoint,_no_signatures === RUN TestUnmarshalSignedCheckpoint/incorrect_signature_line_format === RUN TestUnmarshalSignedCheckpoint/signature_not_base64_encoded === RUN TestUnmarshalSignedCheckpoint/missing_identity === RUN TestUnmarshalSignedCheckpoint/signature_base64_encoded_but_too_short === RUN TestUnmarshalSignedCheckpoint/valid_signed_checkpoint_-_single_signature === RUN TestUnmarshalSignedCheckpoint/valid_signed_checkpoint_-_two_signatures --- PASS: TestUnmarshalSignedCheckpoint (0.00s) --- PASS: TestUnmarshalSignedCheckpoint/invalid_checkpoint,_no_signatures (0.00s) --- PASS: TestUnmarshalSignedCheckpoint/valid_checkpoint,_no_signatures (0.00s) --- PASS: TestUnmarshalSignedCheckpoint/incorrect_signature_line_format (0.00s) --- PASS: TestUnmarshalSignedCheckpoint/signature_not_base64_encoded (0.00s) --- PASS: TestUnmarshalSignedCheckpoint/missing_identity (0.00s) --- PASS: TestUnmarshalSignedCheckpoint/signature_base64_encoded_but_too_short (0.00s) --- PASS: TestUnmarshalSignedCheckpoint/valid_signed_checkpoint_-_single_signature (0.00s) --- PASS: TestUnmarshalSignedCheckpoint/valid_signed_checkpoint_-_two_signatures (0.00s) === RUN TestMarshalTimestampNote === RUN TestMarshalTimestampNote/Timestamp_Note_v0 === RUN TestMarshalTimestampNote/Timestamp_Note_v1 === RUN TestMarshalTimestampNote/Timestamp_Note_v7 --- PASS: TestMarshalTimestampNote (0.00s) --- PASS: TestMarshalTimestampNote/Timestamp_Note_v0 (0.00s) --- PASS: TestMarshalTimestampNote/Timestamp_Note_v1 (0.00s) --- PASS: TestMarshalTimestampNote/Timestamp_Note_v7 (0.00s) === RUN TestUnmarshalTimestampNote === RUN TestUnmarshalTimestampNote/valid_one === RUN TestUnmarshalTimestampNote/valid_with_different_ecosystem === RUN TestUnmarshalTimestampNote/valid_with_trailing_data === RUN TestUnmarshalTimestampNote/valid_with_trailing_newlines === RUN TestUnmarshalTimestampNote/invalid_-_insufficient_lines === RUN TestUnmarshalTimestampNote/invalid_-_empty_header === RUN TestUnmarshalTimestampNote/invalid_-_missing_newline === RUN TestUnmarshalTimestampNote/invalid_sha_-_not_a_valid_sha === RUN TestUnmarshalTimestampNote/invalid_base64_-_nonce === RUN TestUnmarshalTimestampNote/invalid_time === RUN TestUnmarshalTimestampNote/invalid_radius_-_not_an_int === RUN TestUnmarshalTimestampNote/invalid_cert_chain_-_not_a_url --- PASS: TestUnmarshalTimestampNote (0.00s) --- PASS: TestUnmarshalTimestampNote/valid_one (0.00s) --- PASS: TestUnmarshalTimestampNote/valid_with_different_ecosystem (0.00s) --- PASS: TestUnmarshalTimestampNote/valid_with_trailing_data (0.00s) --- PASS: TestUnmarshalTimestampNote/valid_with_trailing_newlines (0.00s) --- PASS: TestUnmarshalTimestampNote/invalid_-_insufficient_lines (0.00s) --- PASS: TestUnmarshalTimestampNote/invalid_-_empty_header (0.00s) --- PASS: TestUnmarshalTimestampNote/invalid_-_missing_newline (0.00s) --- PASS: TestUnmarshalTimestampNote/invalid_sha_-_not_a_valid_sha (0.00s) --- PASS: TestUnmarshalTimestampNote/invalid_base64_-_nonce (0.00s) --- PASS: TestUnmarshalTimestampNote/invalid_time (0.00s) --- PASS: TestUnmarshalTimestampNote/invalid_radius_-_not_an_int (0.00s) --- PASS: TestUnmarshalTimestampNote/invalid_cert_chain_-_not_a_url (0.00s) === RUN TestSigningRoundtripTimestampNote === RUN TestSigningRoundtripTimestampNote/Timestamp_Note_RSA_v0 === RUN TestSigningRoundtripTimestampNote/Timestamp_Note_ECDSA_v0 === RUN TestSigningRoundtripTimestampNote/Timestamp_Note_ED25519_v0 === RUN TestSigningRoundtripTimestampNote/Timestamp_Note_Mismatch_v0 === RUN TestSigningRoundtripTimestampNote/Timestamp_Note_Mismatch_v1 === RUN TestSigningRoundtripTimestampNote/Timestamp_Note_Mismatch_v2 === RUN TestSigningRoundtripTimestampNote/Timestamp_Note_Mismatch_v3 --- PASS: TestSigningRoundtripTimestampNote (0.49s) --- PASS: TestSigningRoundtripTimestampNote/Timestamp_Note_RSA_v0 (0.01s) --- PASS: TestSigningRoundtripTimestampNote/Timestamp_Note_ECDSA_v0 (0.00s) --- PASS: TestSigningRoundtripTimestampNote/Timestamp_Note_ED25519_v0 (0.00s) --- PASS: TestSigningRoundtripTimestampNote/Timestamp_Note_Mismatch_v0 (0.00s) --- PASS: TestSigningRoundtripTimestampNote/Timestamp_Note_Mismatch_v1 (0.00s) --- PASS: TestSigningRoundtripTimestampNote/Timestamp_Note_Mismatch_v2 (0.00s) --- PASS: TestSigningRoundtripTimestampNote/Timestamp_Note_Mismatch_v3 (0.00s) === RUN TestInvalidSigVerificationTimestampNote === RUN TestInvalidSigVerificationTimestampNote/Timestamp_Note_v0 === RUN TestInvalidSigVerificationTimestampNote/Timestamp_Note_v0_-_not_base_64 === RUN TestInvalidSigVerificationTimestampNote/Timestamp_Note_v0_invalid_signature --- PASS: TestInvalidSigVerificationTimestampNote (0.00s) --- PASS: TestInvalidSigVerificationTimestampNote/Timestamp_Note_v0 (0.00s) --- PASS: TestInvalidSigVerificationTimestampNote/Timestamp_Note_v0_-_not_base_64 (0.00s) --- PASS: TestInvalidSigVerificationTimestampNote/Timestamp_Note_v0_invalid_signature (0.00s) === RUN TestUnmarshalSignedTimestampNote === RUN TestUnmarshalSignedTimestampNote/invalid_timestamp_note,_no_signatures === RUN TestUnmarshalSignedTimestampNote/valid_timestamp_note,_no_signatures === RUN TestUnmarshalSignedTimestampNote/incorrect_signature_line_format === RUN TestUnmarshalSignedTimestampNote/signature_not_base64_encoded === RUN TestUnmarshalSignedTimestampNote/missing_identity === RUN TestUnmarshalSignedTimestampNote/signature_base64_encoded_but_too_short === RUN TestUnmarshalSignedTimestampNote/valid_signed_timestamp_note_-_single_signature === RUN TestUnmarshalSignedTimestampNote/valid_signed_timestamp_note_-_two_signatures --- PASS: TestUnmarshalSignedTimestampNote (0.00s) --- PASS: TestUnmarshalSignedTimestampNote/invalid_timestamp_note,_no_signatures (0.00s) --- PASS: TestUnmarshalSignedTimestampNote/valid_timestamp_note,_no_signatures (0.00s) --- PASS: TestUnmarshalSignedTimestampNote/incorrect_signature_line_format (0.00s) --- PASS: TestUnmarshalSignedTimestampNote/signature_not_base64_encoded (0.00s) --- PASS: TestUnmarshalSignedTimestampNote/missing_identity (0.00s) --- PASS: TestUnmarshalSignedTimestampNote/signature_base64_encoded_but_too_short (0.00s) --- PASS: TestUnmarshalSignedTimestampNote/valid_signed_timestamp_note_-_single_signature (0.00s) --- PASS: TestUnmarshalSignedTimestampNote/valid_signed_timestamp_note_-_two_signatures (0.00s) PASS ok github.com/sigstore/rekor/pkg/util 1.212s >>> rekor: Entering fakeroot... >>> rekor-server*: Running split function server... >>> rekor-server*: Preparing subpackage rekor-server... >>> rekor-server*: Stripping binaries >>> rekor-server*: Running postcheck for rekor-server >>> rekor-bash-completion*: Running split function bashcomp... '/home/buildozer/aports/testing/rekor/pkg/rekor/usr/share/bash-completion/completions' -> '/home/buildozer/aports/testing/rekor/pkg/rekor-bash-completion/usr/share/bash-completion/completions' >>> rekor-bash-completion*: Preparing subpackage rekor-bash-completion... >>> rekor-bash-completion*: Running postcheck for rekor-bash-completion >>> rekor-zsh-completion*: Running split function zshcomp... '/home/buildozer/aports/testing/rekor/pkg/rekor/usr/share/zsh/site-functions' -> '/home/buildozer/aports/testing/rekor/pkg/rekor-zsh-completion/usr/share/zsh/site-functions' >>> rekor-zsh-completion*: Preparing subpackage rekor-zsh-completion... >>> rekor-zsh-completion*: Running postcheck for rekor-zsh-completion >>> rekor-fish-completion*: Running split function fishcomp... '/home/buildozer/aports/testing/rekor/pkg/rekor/usr/share/fish/completions' -> '/home/buildozer/aports/testing/rekor/pkg/rekor-fish-completion/usr/share/fish/completions' >>> rekor-fish-completion*: Preparing subpackage rekor-fish-completion... >>> rekor-fish-completion*: Running postcheck for rekor-fish-completion >>> rekor*: Running postcheck for rekor >>> rekor*: Preparing package rekor... >>> rekor*: Stripping binaries >>> rekor-bash-completion*: Scanning shared objects >>> rekor-fish-completion*: Scanning shared objects >>> rekor-server*: Scanning shared objects >>> rekor-zsh-completion*: Scanning shared objects >>> rekor*: Scanning shared objects >>> rekor-bash-completion*: Tracing dependencies... >>> rekor-bash-completion*: Package size: 44.0 KB >>> rekor-bash-completion*: Compressing data... >>> rekor-bash-completion*: Create checksum... >>> rekor-bash-completion*: Create rekor-bash-completion-0.9.1-r1.apk >>> rekor-fish-completion*: Tracing dependencies... >>> rekor-fish-completion*: Package size: 36.0 KB >>> rekor-fish-completion*: Compressing data... >>> rekor-fish-completion*: Create checksum... >>> rekor-fish-completion*: Create rekor-fish-completion-0.9.1-r1.apk >>> rekor-server*: Tracing dependencies... so:libc.musl-x86_64.so.1 >>> rekor-server*: Package size: 26.4 MB >>> rekor-server*: Compressing data... >>> rekor-server*: Create checksum... >>> rekor-server*: Create rekor-server-0.9.1-r1.apk >>> rekor-zsh-completion*: Tracing dependencies... >>> rekor-zsh-completion*: Package size: 36.0 KB >>> rekor-zsh-completion*: Compressing data... >>> rekor-zsh-completion*: Create checksum... >>> rekor-zsh-completion*: Create rekor-zsh-completion-0.9.1-r1.apk >>> rekor*: Tracing dependencies... so:libc.musl-x86_64.so.1 >>> rekor*: Package size: 19.4 MB >>> rekor*: Compressing data... >>> rekor*: Create checksum... >>> rekor*: Create rekor-0.9.1-r1.apk >>> rekor: Build complete at Thu, 21 Jul 2022 21:01:01 +0000 elapsed time 0h 0m 42s >>> rekor: Cleaning up srcdir >>> rekor: Cleaning up pkgdir >>> rekor: Uninstalling dependencies... (1/2) Purging .makedepends-rekor (20220721.210021) (2/2) Purging go (1.18.4-r2) Executing busybox-1.35.0-r19.trigger OK: 333 MiB in 101 packages >>> rekor: Updating the testing/x86_64 repository index... >>> rekor: Signing the index...