ResultFAILURE
Tests 1 failed / 420 succeeded
Started2025-03-18 15:01
Elapsed10m13s
Revisionfbab4c6605e9dfb6db9cb1bb3f5fa104b6c1031e
Refs 1316

Test Failures


pkg/chains/storage/archivista TestStorePayload_TaskRun 0.01s

go run hack/e2e.go -v --test --test_args='--ginkgo.focus=pkg\/chains\/storage\/archivista\sTestStorePayload\_TaskRun$'
{"level":"info","ts":1742310709.9009464,"logger":"fallback","caller":"archivista/archivista.go:66","msg":"Successfully uploaded DSSE envelope to Archivista, response: {Gitoid:fake-gitoid}"}
    archivista_test.go:123: 
    archivista_test.go:124: 
				from junit_L9i1jmgg.xml

Filter through log files


Show 420 Passed Tests

Show 1 Skipped Tests

Error lines from build-log.txt

... skipping 126 lines ...
    --- PASS: TestOCIArtifact_ExtractObjects/two_images (0.00s)
    --- PASS: TestOCIArtifact_ExtractObjects/resource_and_result (0.00s)
    --- PASS: TestOCIArtifact_ExtractObjects/extra (0.00s)
    --- PASS: TestOCIArtifact_ExtractObjects/images (0.00s)
    --- PASS: TestOCIArtifact_ExtractObjects/images-newline (0.01s)
=== RUN   TestExtractOCIImagesFromResults
    logger.go:146: 2025-03-18T15:10:23.687Z	DEBUG	artifacts/structured.go:64	error getting string value for empty_str_IMAGE_DIGEST
    logger.go:146: 2025-03-18T15:10:23.688Z	DEBUG	artifacts/structured.go:64	error getting string value for empty_str_IMAGE_URL
--- PASS: TestExtractOCIImagesFromResults (0.00s)
=== RUN   TestExtractSignableTargetFromResults
    logger.go:146: 2025-03-18T15:10:23.689Z	ERROR	artifacts/signable.go:258	error getting digest abc: digest string abc, not in the format of <algorithm>:<digest>
--- PASS: TestExtractSignableTargetFromResults (0.00s)
=== RUN   TestExtractStructuredTargetFromResults
    logger.go:146: 2025-03-18T15:10:23.690Z	DEBUG	artifacts/signable.go:309	Extracted Structured data from Result gcr.io/foo/bar, sha256:05f95b26ed10668b7183c1e2da98610e91372fa9f510046d4ce5812addad86b7
    logger.go:146: 2025-03-18T15:10:23.690Z	DEBUG	artifacts/signable.go:309	Extracted Structured data from Result gcr.io/foo/bar, sha1:93c56eeba9ec70f74c9bfd297d9516642d366cb5
    logger.go:146: 2025-03-18T15:10:23.690Z	DEBUG	artifacts/signable.go:306	ExtractStructuredTargetFromResults: error getting digest sha1:93c56eeba9ec70f74c9bfd297d9516642d366c5: sha1 digest sha1:93c56eeba9ec70f74c9bfd297d9516642d366c5 does not match regexp ^[a-f0-9]{40}$
    logger.go:146: 2025-03-18T15:10:23.699Z	DEBUG	artifacts/signable.go:309	Extracted Structured data from Result gcr.io/foo/bar, sha384:05f95b26ed10668b7183c1e2da98610e91372fa9f510046d4ce5812addad86b893c56eeba9ec70f74c9bfd297d951664
    logger.go:146: 2025-03-18T15:10:23.699Z	DEBUG	artifacts/signable.go:306	ExtractStructuredTargetFromResults: error getting digest sha384:0595b26ed10668b7183c1e2da98610e91372fa9f510046d4ce5812addad86b893c56eeba9ec70f74c9bfd297d951664: invalid checksum digest length
    logger.go:146: 2025-03-18T15:10:23.700Z	DEBUG	artifacts/signable.go:309	Extracted Structured data from Result gcr.io/foo/bar, sha512:05f95b26ed10668b7183c1e2da98610e91372fa9f510046d4ce5812addad86b805f95b26ed10668b7183c1e2da98610e91372fa9f510046d4ce5812addad86b8
    logger.go:146: 2025-03-18T15:10:23.700Z	DEBUG	artifacts/signable.go:306	ExtractStructuredTargetFromResults: error getting digest sha512:05f95b26ed1066b7183c1e2da98610e91372fa9f510046d4ce5812addad86b805f95b26ed10668b7183c1e2da98610e91372fa9f510046d4ce5812addad86b8: invalid checksum digest length
    logger.go:146: 2025-03-18T15:10:23.700Z	DEBUG	artifacts/signable.go:306	ExtractStructuredTargetFromResults: img2_input_no_digest_ARTIFACT_INPUTS should have digest field: map[digest: uri:gcr.io/foo/foo]
    logger.go:146: 2025-03-18T15:10:23.707Z	DEBUG	artifacts/signable.go:309	Extracted Structured data from Result projects/test-project/locations/us-west4/repositories/test-repo/mavenArtifacts/com.google.guava:guava:31.0-jre, sha256:05f95b26ed10668b7183c1e2da98610e91372fa9f510046d4ce5812addad86b5
    logger.go:146: 2025-03-18T15:10:23.707Z	DEBUG	artifacts/signable.go:309	Extracted Structured data from Result com.google.guava:guava:31.0-jre.pom, sha256:05f95b26ed10668b7183c1e2da98610e91372fa9f510046d4ce5812addad86b6
--- PASS: TestExtractStructuredTargetFromResults (0.02s)
=== RUN   TestRetrieveMaterialsFromStructuredResults
    logger.go:146: 2025-03-18T15:10:23.709Z	DEBUG	artifacts/signable.go:309	Extracted Structured data from Result oci://gcr.io/foo/bar, sha256:05f95b26ed10668b7183c1e2da98610e91372fa9f510046d4ce5812addad86b7
    logger.go:146: 2025-03-18T15:10:23.709Z	DEBUG	artifacts/signable.go:306	ExtractStructuredTargetFromResults: img2_input_no_digest_ARTIFACT_INPUTS should have digest field: map[digest: uri:oci://gcr.io/foo/foo]
    logger.go:146: 2025-03-18T15:10:23.709Z	DEBUG	artifacts/signable.go:306	ExtractStructuredTargetFromResults: error getting digest sha:123: unsupported digest algorithm: sha:123
--- PASS: TestRetrieveMaterialsFromStructuredResults (0.00s)
=== RUN   TestValidateResults
=== RUN   TestValidateResults/valid_result
=== RUN   TestValidateResults/invalid_result_without_digest_field
=== RUN   TestValidateResults/invalid_result_without_uri_field
=== RUN   TestValidateResults/invalid_result_wrong_digest_format
... skipping 4 lines ...
    --- PASS: TestValidateResults/invalid_result_without_uri_field (0.00s)
    --- PASS: TestValidateResults/invalid_result_wrong_digest_format (0.00s)
    --- PASS: TestValidateResults/invalid_result_wrong_type_hinting (0.00s)
=== RUN   TestExtractBuildArtifactsFromResults
=== RUN   TestExtractBuildArtifactsFromResults/structured_result_without_isBuildArtifact_property
=== RUN   TestExtractBuildArtifactsFromResults/structured_result_without_expected_schema
    logger.go:146: 2025-03-18T15:10:23.711Z	DEBUG	artifacts/signable.go:324	ExtractBuildArtifactsFromResults failed validatin artifact bad-type-ARTIFACT_OUTPUTS, ignoring artifact, err: bad-type-ARTIFACT_OUTPUTS should be an object: map[]
    logger.go:146: 2025-03-18T15:10:23.712Z	DEBUG	artifacts/signable.go:324	ExtractBuildArtifactsFromResults failed validatin artifact bad-url-field-ARTIFACT_OUTPUTS, ignoring artifact, err: bad-url-field-ARTIFACT_OUTPUTS should have uri field: map[isBuildArtifact:true url:foo.com]
    logger.go:146: 2025-03-18T15:10:23.712Z	DEBUG	artifacts/signable.go:324	ExtractBuildArtifactsFromResults failed validatin artifact bad-commit-field-ARTIFACT_OUTPUTS, ignoring artifact, err: bad-commit-field-ARTIFACT_OUTPUTS should have digest field: map[commit:sha256:05f95b26ed10668b7183c1e2da98610e91372fa9f510046d4ce5812addad86b5 isBuildArtifact:true uri:gcr.io/foo/bar]
    logger.go:146: 2025-03-18T15:10:23.712Z	DEBUG	artifacts/signable.go:324	ExtractBuildArtifactsFromResults failed validatin artifact bad-digest-value-ARTIFACT_OUTPUTS, ignoring artifact, err: error getting digest sha512:baddigestvalue: invalid checksum digest length
=== RUN   TestExtractBuildArtifactsFromResults/structured_result_without_expected_type-hint
=== RUN   TestExtractBuildArtifactsFromResults/structured_result_mark_as_build_artifact
    logger.go:146: 2025-03-18T15:10:23.712Z	DEBUG	artifacts/signable.go:328	Extracted Build artifact data from Result gcr.io/foo/bar, sha256:05f95b26ed10668b7183c1e2da98610e91372fa9f510046d4ce5812addad86b5
--- PASS: TestExtractBuildArtifactsFromResults (0.00s)
    --- PASS: TestExtractBuildArtifactsFromResults/structured_result_without_isBuildArtifact_property (0.00s)
    --- PASS: TestExtractBuildArtifactsFromResults/structured_result_without_expected_schema (0.00s)
... skipping 74 lines ...
    logger.go:146: 2025-03-18T15:10:24.017Z	WARN	chains/signing.go:140	Format  configured for tekton.dev/v1/TaskRun: oci was not found
=== RUN   TestSigner_Sign/taskrun_multiple_systems,_error
    logger.go:146: 2025-03-18T15:10:24.018Z	INFO	x509/x509.go:180	Found x509 key...
    logger.go:146: 2025-03-18T15:10:24.019Z	INFO	chains/signing.go:155	Created payload of type in-toto for tekton.dev/v1/TaskRun /foo
    logger.go:146: 2025-03-18T15:10:24.020Z	INFO	chains/signing.go:170	Using wrapped envelope signer for slsa/v1
    logger.go:146: 2025-03-18T15:10:24.020Z	INFO	chains/signing.go:174	Signing object with x509
    logger.go:146: 2025-03-18T15:10:24.020Z	ERROR	chains/signing.go:206	mock error storing
=== RUN   TestSigner_Sign/pipelinerun_single_system
    logger.go:146: 2025-03-18T15:10:24.022Z	INFO	x509/x509.go:180	Found x509 key...
    logger.go:146: 2025-03-18T15:10:24.024Z	INFO	chains/signing.go:155	Created payload of type in-toto for tekton.dev/v1/PipelineRun /foo
    logger.go:146: 2025-03-18T15:10:24.024Z	INFO	chains/signing.go:170	Using wrapped envelope signer for slsa/v1
    logger.go:146: 2025-03-18T15:10:24.024Z	INFO	chains/signing.go:174	Signing object with x509
=== RUN   TestSigner_Sign/pipelinerun_multiple_systems
... skipping 3 lines ...
    logger.go:146: 2025-03-18T15:10:24.055Z	INFO	chains/signing.go:174	Signing object with x509
=== RUN   TestSigner_Sign/pipelinerun_multiple_systems,_error
    logger.go:146: 2025-03-18T15:10:24.061Z	INFO	x509/x509.go:180	Found x509 key...
    logger.go:146: 2025-03-18T15:10:24.062Z	INFO	chains/signing.go:155	Created payload of type in-toto for tekton.dev/v1/PipelineRun /foo
    logger.go:146: 2025-03-18T15:10:24.062Z	INFO	chains/signing.go:170	Using wrapped envelope signer for slsa/v1
    logger.go:146: 2025-03-18T15:10:24.062Z	INFO	chains/signing.go:174	Signing object with x509
    logger.go:146: 2025-03-18T15:10:24.064Z	ERROR	chains/signing.go:206	mock error storing
--- PASS: TestSigner_Sign (0.06s)
    --- PASS: TestSigner_Sign/taskrun_single_system (0.00s)
    --- PASS: TestSigner_Sign/taskrun_multiple_systems (0.00s)
    --- PASS: TestSigner_Sign/taskrun_multiple_systems,_error (0.00s)
    --- PASS: TestSigner_Sign/pipelinerun_single_system (0.00s)
    --- PASS: TestSigner_Sign/pipelinerun_multiple_systems (0.03s)
... skipping 78 lines ...
--- PASS: TestImageName (0.00s)
PASS
ok  	github.com/tektoncd/chains/pkg/chains/formats/simple	1.136s
=== RUN   TestSubjectDigestsAndRetrieveAllArtifactURIs
=== RUN   TestSubjectDigestsAndRetrieveAllArtifactURIs/valid_type_hinting_result_fields
=== RUN   TestSubjectDigestsAndRetrieveAllArtifactURIs/invalid/missing_digest_algorithm_name
    logger.go:146: 2025-03-18T15:10:23.764Z	ERROR	artifacts/signable.go:217	error getting digest: unsupported digest algorithm: sha1:a2e500bebfe16cf12fc56316ba72c645e1d29054541dc1ab6c286197434170a9
    logger.go:146: 2025-03-18T15:10:23.765Z	ERROR	artifacts/signable.go:217	error getting digest: unsupported digest algorithm: b2e500bebfe16cf12fc56316ba72c645e1d29054541dc1ab6c286197434170a9
    logger.go:146: 2025-03-18T15:10:23.765Z	ERROR	artifacts/signable.go:217	error getting digest: unsupported digest algorithm: sha1:a2e500bebfe16cf12fc56316ba72c645e1d29054541dc1ab6c286197434170a9
    logger.go:146: 2025-03-18T15:10:23.767Z	ERROR	artifacts/signable.go:217	error getting digest: unsupported digest algorithm: b2e500bebfe16cf12fc56316ba72c645e1d29054541dc1ab6c286197434170a9
    logger.go:146: 2025-03-18T15:10:23.768Z	ERROR	artifacts/signable.go:217	error getting digest: unsupported digest algorithm: b2e500bebfe16cf12fc56316ba72c645e1d29054541dc1ab6c286197434170a9
    logger.go:146: 2025-03-18T15:10:23.768Z	ERROR	artifacts/signable.go:217	error getting digest: unsupported digest algorithm: sha1:a2e500bebfe16cf12fc56316ba72c645e1d29054541dc1ab6c286197434170a9
    logger.go:146: 2025-03-18T15:10:23.768Z	ERROR	artifacts/signable.go:217	error getting digest: unsupported digest algorithm: b2e500bebfe16cf12fc56316ba72c645e1d29054541dc1ab6c286197434170a9
    logger.go:146: 2025-03-18T15:10:23.769Z	ERROR	artifacts/signable.go:217	error getting digest: unsupported digest algorithm: sha1:a2e500bebfe16cf12fc56316ba72c645e1d29054541dc1ab6c286197434170a9
=== RUN   TestSubjectDigestsAndRetrieveAllArtifactURIs/invalid_digest_sha
    logger.go:146: 2025-03-18T15:10:23.769Z	ERROR	artifacts/signable.go:217	error getting digest: invalid checksum digest length
    logger.go:146: 2025-03-18T15:10:23.769Z	ERROR	artifacts/signable.go:217	error getting digest: invalid checksum digest length
    logger.go:146: 2025-03-18T15:10:23.770Z	ERROR	artifacts/signable.go:217	error getting digest: invalid checksum digest length
    logger.go:146: 2025-03-18T15:10:23.770Z	ERROR	artifacts/signable.go:217	error getting digest: invalid checksum digest length
=== RUN   TestSubjectDigestsAndRetrieveAllArtifactURIs/invalid_url_value
    logger.go:146: 2025-03-18T15:10:23.784Z	DEBUG	artifacts/structured.go:64	error getting string value for 0_IMAGE_URL
    logger.go:146: 2025-03-18T15:10:23.785Z	DEBUG	artifacts/structured.go:64	error getting string value for 0_IMAGE_URL
    logger.go:146: 2025-03-18T15:10:23.785Z	DEBUG	artifacts/structured.go:64	error getting string value for 0_IMAGE_URL
    logger.go:146: 2025-03-18T15:10:23.785Z	DEBUG	artifacts/structured.go:64	error getting string value for 0_IMAGE_URL
--- PASS: TestSubjectDigestsAndRetrieveAllArtifactURIs (0.07s)
    --- PASS: TestSubjectDigestsAndRetrieveAllArtifactURIs/valid_type_hinting_result_fields (0.05s)
    --- PASS: TestSubjectDigestsAndRetrieveAllArtifactURIs/invalid/missing_digest_algorithm_name (0.01s)
    --- PASS: TestSubjectDigestsAndRetrieveAllArtifactURIs/invalid_digest_sha (0.01s)
    --- PASS: TestSubjectDigestsAndRetrieveAllArtifactURIs/invalid_url_value (0.00s)
=== RUN   TestPipelineRunObserveModeForSubjects
... skipping 16 lines ...
    logger.go:146: 2025-03-18T15:10:23.877Z	DEBUG	artifacts/signable.go:328	Extracted Build artifact data from Result gcr.io/test/img4, sha256:910700c5ace59f70588c4e2a38ed131146c9f65c94379dfe12376075fc2f338f
    logger.go:146: 2025-03-18T15:10:23.878Z	DEBUG	artifacts/signable.go:328	Extracted Build artifact data from Result gcr.io/test/img5, sha256:7492314e32aa75ff1f2cfea35b7dda85d8831929d076aab52420c3400c8c65d8
=== RUN   TestSubjectsFromBuildArtifact/no_repetead_type-hinted_build_artifacts
    logger.go:146: 2025-03-18T15:10:23.884Z	DEBUG	artifacts/signable.go:328	Extracted Build artifact data from Result gcr.io/test/img1, sha256:8b7b3e8b124f937b16a914eea7cb81ebaa8f2b0a13833797acd26d67edf4e056
    logger.go:146: 2025-03-18T15:10:23.884Z	DEBUG	artifacts/signable.go:328	Extracted Build artifact data from Result gcr.io/test/img1, sha256:8b7b3e8b124f937b16a914eea7cb81ebaa8f2b0a13833797acd26d67edf4e056
=== RUN   TestSubjectsFromBuildArtifact/malformed_digests
    logger.go:146: 2025-03-18T15:10:23.886Z	DEBUG	artifacts/signable.go:324	ExtractBuildArtifactsFromResults failed validatin artifact result2_ARTIFACT_OUTPUTS, ignoring artifact, err: error getting digest sha256@7492314e32aa75ff1f2cfea35b7dda85d8831929d076aab52420c3400c8c65d8: digest string sha256@7492314e32aa75ff1f2cfea35b7dda85d8831929d076aab52420c3400c8c65d8, not in the format of <algorithm>:<digest>
    logger.go:146: 2025-03-18T15:10:23.886Z	ERROR	artifacts/signable.go:217	error getting digest: a digest must contain exactly one '@' separator (e.g. registry/repository@digest) saw: gcr.io/test/img1@sha256@52e18b100a8da6e191a1955913ba127b75a8b38146cd9b0f573ec1d8e8ecd135
    logger.go:146: 2025-03-18T15:10:23.886Z	ERROR	artifacts/signable.go:237	error getting digest for img gcr.io/test/img2@sha256@2996854378975c2f8011ddf0526975d1aaf1790b404da7aad4bf25293055bc8b: a digest must contain exactly one '@' separator (e.g. registry/repository@digest) saw: gcr.io/test/img2@sha256@2996854378975c2f8011ddf0526975d1aaf1790b404da7aad4bf25293055bc8b
--- PASS: TestSubjectsFromBuildArtifact (0.01s)
    --- PASS: TestSubjectsFromBuildArtifact/no_type-hinted_build_artifacts (0.00s)
    --- PASS: TestSubjectsFromBuildArtifact/type-hinted_build_artifacts (0.01s)
    --- PASS: TestSubjectsFromBuildArtifact/no_repetead_type-hinted_build_artifacts (0.00s)
    --- PASS: TestSubjectsFromBuildArtifact/malformed_digests (0.00s)
PASS
ok  	github.com/tektoncd/chains/pkg/chains/formats/slsa/extract	1.853s
=== RUN   TestSubjectDigestsAndRetrieveAllArtifactURIs
=== RUN   TestSubjectDigestsAndRetrieveAllArtifactURIs/valid_type_hinting_result_fields
=== RUN   TestSubjectDigestsAndRetrieveAllArtifactURIs/invalid/missing_digest_algorithm_name
    logger.go:146: 2025-03-18T15:10:23.513Z	ERROR	artifacts/signable.go:217	error getting digest: unsupported digest algorithm: sha1:a2e500bebfe16cf12fc56316ba72c645e1d29054541dc1ab6c286197434170a9
    logger.go:146: 2025-03-18T15:10:23.513Z	ERROR	artifacts/signable.go:217	error getting digest: unsupported digest algorithm: b2e500bebfe16cf12fc56316ba72c645e1d29054541dc1ab6c286197434170a9
    logger.go:146: 2025-03-18T15:10:23.514Z	ERROR	artifacts/signable.go:217	error getting digest: unsupported digest algorithm: b2e500bebfe16cf12fc56316ba72c645e1d29054541dc1ab6c286197434170a9
    logger.go:146: 2025-03-18T15:10:23.514Z	ERROR	artifacts/signable.go:217	error getting digest: unsupported digest algorithm: sha1:a2e500bebfe16cf12fc56316ba72c645e1d29054541dc1ab6c286197434170a9
    logger.go:146: 2025-03-18T15:10:23.514Z	ERROR	artifacts/signable.go:217	error getting digest: unsupported digest algorithm: b2e500bebfe16cf12fc56316ba72c645e1d29054541dc1ab6c286197434170a9
    logger.go:146: 2025-03-18T15:10:23.514Z	ERROR	artifacts/signable.go:217	error getting digest: unsupported digest algorithm: sha1:a2e500bebfe16cf12fc56316ba72c645e1d29054541dc1ab6c286197434170a9
    logger.go:146: 2025-03-18T15:10:23.515Z	ERROR	artifacts/signable.go:217	error getting digest: unsupported digest algorithm: b2e500bebfe16cf12fc56316ba72c645e1d29054541dc1ab6c286197434170a9
    logger.go:146: 2025-03-18T15:10:23.515Z	ERROR	artifacts/signable.go:217	error getting digest: unsupported digest algorithm: sha1:a2e500bebfe16cf12fc56316ba72c645e1d29054541dc1ab6c286197434170a9
=== RUN   TestSubjectDigestsAndRetrieveAllArtifactURIs/invalid_digest_sha
    logger.go:146: 2025-03-18T15:10:23.553Z	ERROR	artifacts/signable.go:217	error getting digest: invalid checksum digest length
    logger.go:146: 2025-03-18T15:10:23.553Z	ERROR	artifacts/signable.go:217	error getting digest: invalid checksum digest length
    logger.go:146: 2025-03-18T15:10:23.553Z	ERROR	artifacts/signable.go:217	error getting digest: invalid checksum digest length
    logger.go:146: 2025-03-18T15:10:23.554Z	ERROR	artifacts/signable.go:217	error getting digest: invalid checksum digest length
=== RUN   TestSubjectDigestsAndRetrieveAllArtifactURIs/invalid_url_value
    logger.go:146: 2025-03-18T15:10:23.554Z	DEBUG	artifacts/structured.go:64	error getting string value for 0_IMAGE_URL
    logger.go:146: 2025-03-18T15:10:23.555Z	DEBUG	artifacts/structured.go:64	error getting string value for 0_IMAGE_URL
    logger.go:146: 2025-03-18T15:10:23.555Z	DEBUG	artifacts/structured.go:64	error getting string value for 0_IMAGE_URL
    logger.go:146: 2025-03-18T15:10:23.555Z	DEBUG	artifacts/structured.go:64	error getting string value for 0_IMAGE_URL
--- PASS: TestSubjectDigestsAndRetrieveAllArtifactURIs (0.05s)
    --- PASS: TestSubjectDigestsAndRetrieveAllArtifactURIs/valid_type_hinting_result_fields (0.01s)
    --- PASS: TestSubjectDigestsAndRetrieveAllArtifactURIs/invalid/missing_digest_algorithm_name (0.00s)
    --- PASS: TestSubjectDigestsAndRetrieveAllArtifactURIs/invalid_digest_sha (0.00s)
    --- PASS: TestSubjectDigestsAndRetrieveAllArtifactURIs/invalid_url_value (0.00s)
=== RUN   TestPipelineRunObserveModeForSubjects
... skipping 248 lines ...
    --- PASS: TestGetResultsWithoutBuildArtifacts/results_without_build_artifacts (0.08s)
PASS
ok  	github.com/tektoncd/chains/pkg/chains/formats/slsa/internal/results	1.801s
=== RUN   TestTaskRunCreatePayload1
--- PASS: TestTaskRunCreatePayload1 (0.17s)
=== RUN   TestPipelineRunCreatePayload
    logger.go:146: 2025-03-18T15:10:44.202Z	DEBUG	artifacts/signable.go:306	ExtractStructuredTargetFromResults: error getting digest sha256:: invalid checksum digest length
    logger.go:146: 2025-03-18T15:10:44.202Z	DEBUG	artifacts/signable.go:306	ExtractStructuredTargetFromResults: img_no_uri-ARTIFACT_OUTPUTS should have uri field: map[digest:sha256:827521c857fdcd4374f4da5442fbae2edb01e7fbae285c3ec15673d4c1daecb7]
    logger.go:146: 2025-03-18T15:10:44.203Z	DEBUG	artifacts/signable.go:309	Extracted Structured data from Result abc, sha256:827521c857fdcd4374f4da5442fbae2edb01e7fbae285c3ec15673d4c1daecb7
--- PASS: TestPipelineRunCreatePayload (0.32s)
=== RUN   TestPipelineRunCreatePayloadChildRefs
--- PASS: TestPipelineRunCreatePayloadChildRefs (0.36s)
=== RUN   TestTaskRunCreatePayload2
... skipping 14 lines ...
ok  	github.com/tektoncd/chains/pkg/chains/formats/slsa/v1	2.405s
=== RUN   TestInvocation
--- PASS: TestInvocation (0.00s)
=== RUN   TestBuildConfig
--- PASS: TestBuildConfig (0.01s)
=== RUN   TestBuildConfigMismatchStatusStepsAndTaskSpec
    logger.go:146: 2025-03-18T15:10:44.312Z	ERROR	pipelinerun/pipelinerun.go:139	Mismatch in step names for task run mismatch Status.Step.Name and Status.TaskSpec.Step.Name. Step 0: step1, StepState 0: unnamed-
    logger.go:146: 2025-03-18T15:10:44.312Z	ERROR	pipelinerun/pipelinerun.go:151	Skipping task run mismatch Status.Step.Name and Status.TaskSpec.Step.Name due to step name mismatch
    logger.go:146: 2025-03-18T15:10:44.313Z	ERROR	pipelinerun/pipelinerun.go:128	Mismatch in number of steps for task run mismatch size between Status.Steps and Status.TaskSpec.Steps. TaskSpec steps: 3, Status steps: 4
--- PASS: TestBuildConfigMismatchStatusStepsAndTaskSpec (0.01s)
=== RUN   TestBuildConfigTaskOrder
=== RUN   TestBuildConfigTaskOrder/Referencing_previous_task_via_parameter
=== RUN   TestBuildConfigTaskOrder/Referencing_previous_task_via_runAfter
=== RUN   TestBuildConfigTaskOrder/Referencing_previous_task_via_when.Input
=== RUN   TestBuildConfigTaskOrder/Referencing_previous_task_via_when.Value
... skipping 4 lines ...
    --- PASS: TestBuildConfigTaskOrder/Referencing_previous_task_via_when.Value (0.07s)
=== RUN   TestMetadata
--- PASS: TestMetadata (0.01s)
=== RUN   TestMetadataInTimeZone
--- PASS: TestMetadataInTimeZone (0.00s)
=== RUN   TestSubjectDigests
    logger.go:146: 2025-03-18T15:10:44.582Z	DEBUG	artifacts/signable.go:306	ExtractStructuredTargetFromResults: error getting digest sha256:: invalid checksum digest length
    logger.go:146: 2025-03-18T15:10:44.583Z	DEBUG	artifacts/signable.go:306	ExtractStructuredTargetFromResults: img_no_uri-ARTIFACT_OUTPUTS should have uri field: map[digest:sha256:827521c857fdcd4374f4da5442fbae2edb01e7fbae285c3ec15673d4c1daecb7]
--- PASS: TestSubjectDigests (0.00s)
PASS
ok  	github.com/tektoncd/chains/pkg/chains/formats/slsa/v1/pipelinerun	1.999s
=== RUN   TestBuildConfig
--- PASS: TestBuildConfig (0.09s)
... skipping 24 lines ...
=== RUN   TestTaskRunCreatePayload2
--- PASS: TestTaskRunCreatePayload2 (0.16s)
=== RUN   TestMultipleSubjects
--- PASS: TestMultipleSubjects (0.05s)
=== RUN   TestPipelineRunCreatePayload1
    logger.go:146: 2025-03-18T15:10:45.294Z	DEBUG	artifacts/signable.go:309	Extracted Structured data from Result abc, sha256:827521c857fdcd4374f4da5442fbae2edb01e7fbae285c3ec15673d4c1daecb7
    logger.go:146: 2025-03-18T15:10:45.295Z	DEBUG	artifacts/signable.go:306	ExtractStructuredTargetFromResults: error getting digest sha256:: invalid checksum digest length
    logger.go:146: 2025-03-18T15:10:45.296Z	DEBUG	artifacts/signable.go:306	ExtractStructuredTargetFromResults: img_no_uri-ARTIFACT_OUTPUTS should have uri field: map[digest:sha256:827521c857fdcd4374f4da5442fbae2edb01e7fbae285c3ec15673d4c1daecb7]
--- PASS: TestPipelineRunCreatePayload1 (0.15s)
PASS
ok  	github.com/tektoncd/chains/pkg/chains/formats/slsa/v2alpha3	2.465s
=== RUN   TestByProducts
--- PASS: TestByProducts (0.00s)
=== RUN   TestGenerateAttestation
    logger.go:146: 2025-03-18T15:10:45.086Z	DEBUG	artifacts/signable.go:309	Extracted Structured data from Result abc, sha256:827521c857fdcd4374f4da5442fbae2edb01e7fbae285c3ec15673d4c1daecb7
    logger.go:146: 2025-03-18T15:10:45.100Z	DEBUG	artifacts/signable.go:306	ExtractStructuredTargetFromResults: error getting digest sha256:: invalid checksum digest length
    logger.go:146: 2025-03-18T15:10:45.100Z	DEBUG	artifacts/signable.go:306	ExtractStructuredTargetFromResults: img_no_uri-ARTIFACT_OUTPUTS should have uri field: map[digest:sha256:827521c857fdcd4374f4da5442fbae2edb01e7fbae285c3ec15673d4c1daecb7]
--- PASS: TestGenerateAttestation (0.19s)
PASS
ok  	github.com/tektoncd/chains/pkg/chains/formats/slsa/v2alpha3/internal/pipelinerun	1.905s
=== RUN   TestByProducts
--- PASS: TestByProducts (0.00s)
... skipping 27 lines ...
--- PASS: TestByProducts (0.00s)
=== RUN   TestGenerateAttestation
=== RUN   TestGenerateAttestation/attestation_without_deepinspection
=== NAME  TestGenerateAttestation
    logger.go:146: 2025-03-18T15:10:58.590Z	DEBUG	artifacts/signable.go:309	Extracted Structured data from Result abc, sha256:827521c857fdcd4374f4da5442fbae2edb01e7fbae285c3ec15673d4c1daecb7
    logger.go:146: 2025-03-18T15:10:58.601Z	DEBUG	artifacts/signable.go:328	Extracted Build artifact data from Result abc, sha256:827521c857fdcd4374f4da5442fbae2edb01e7fbae285c3ec15673d4c1daecb7
    logger.go:146: 2025-03-18T15:10:58.602Z	DEBUG	artifacts/signable.go:324	ExtractBuildArtifactsFromResults failed validatin artifact img2-ARTIFACT_OUTPUTS, ignoring artifact, err: error getting digest sha256:: invalid checksum digest length
=== RUN   TestGenerateAttestation/attestation_with_deepinspection
=== NAME  TestGenerateAttestation
    logger.go:146: 2025-03-18T15:10:58.959Z	DEBUG	artifacts/signable.go:309	Extracted Structured data from Result https://github.com/tektoncd/pipeline, sha1:7f2f46e1b97df36b2b82d1b1d87c81b8b3d21601
    logger.go:146: 2025-03-18T15:10:58.959Z	DEBUG	artifacts/signable.go:309	Extracted Structured data from Result abc, sha256:827521c857fdcd4374f4da5442fbae2edb01e7fbae285c3ec15673d4c1daecb7
    logger.go:146: 2025-03-18T15:10:58.960Z	DEBUG	artifacts/signable.go:328	Extracted Build artifact data from Result abc, sha256:827521c857fdcd4374f4da5442fbae2edb01e7fbae285c3ec15673d4c1daecb7
    logger.go:146: 2025-03-18T15:10:58.961Z	DEBUG	artifacts/signable.go:324	ExtractBuildArtifactsFromResults failed validatin artifact img2-ARTIFACT_OUTPUTS, ignoring artifact, err: error getting digest sha256:: invalid checksum digest length
    logger.go:146: 2025-03-18T15:10:58.961Z	DEBUG	artifacts/signable.go:328	Extracted Build artifact data from Result gcr.io/my/image/fromstep3, sha256:827521c857fdcd4374f4da5442fbae2edb01e7fbae285c3ec15673d4c1daecb7
=== RUN   TestGenerateAttestation/attestation_with_no_repetead_subjects
=== NAME  TestGenerateAttestation
    logger.go:146: 2025-03-18T15:10:59.503Z	DEBUG	artifacts/signable.go:309	Extracted Structured data from Result https://github.com/tektoncd/pipeline, sha1:7f2f46e1b97df36b2b82d1b1d87c81b8b3d21601
    logger.go:146: 2025-03-18T15:10:59.504Z	DEBUG	artifacts/signable.go:309	Extracted Structured data from Result abc, sha256:827521c857fdcd4374f4da5442fbae2edb01e7fbae285c3ec15673d4c1daecb7
    logger.go:146: 2025-03-18T15:10:59.558Z	DEBUG	artifacts/signable.go:328	Extracted Build artifact data from Result abc, sha256:827521c857fdcd4374f4da5442fbae2edb01e7fbae285c3ec15673d4c1daecb7
    logger.go:146: 2025-03-18T15:10:59.558Z	DEBUG	artifacts/signable.go:324	ExtractBuildArtifactsFromResults failed validatin artifact img2-ARTIFACT_OUTPUTS, ignoring artifact, err: error getting digest sha256:: invalid checksum digest length
    logger.go:146: 2025-03-18T15:10:59.558Z	DEBUG	artifacts/signable.go:328	Extracted Build artifact data from Result gcr.io/common/image, sha256:33e7e52645f4859622e282167d9200da9861b3d0a6e9c93b85e9cae5526ffc0a
    logger.go:146: 2025-03-18T15:10:59.558Z	DEBUG	artifacts/signable.go:328	Extracted Build artifact data from Result gcr.io/task2/step/artifact, sha256:cb06e289303c9529cd980657a5b1a2c8a146c1b13ca08a2bbedb72ec4b7573b9
    logger.go:146: 2025-03-18T15:10:59.559Z	DEBUG	artifacts/signable.go:328	Extracted Build artifact data from Result gcr.io/common/image, sha256:33e7e52645f4859622e282167d9200da9861b3d0a6e9c93b85e9cae5526ffc0a
    logger.go:146: 2025-03-18T15:10:59.559Z	DEBUG	artifacts/signable.go:328	Extracted Build artifact data from Result gcr.io/common/image, sha256:33e7e52645f4859622e282167d9200da9861b3d0a6e9c93b85e9cae5526ffc0a
    logger.go:146: 2025-03-18T15:10:59.559Z	DEBUG	artifacts/signable.go:328	Extracted Build artifact data from Result gcr.io/common/image, sha256:33e7e52645f4859622e282167d9200da9861b3d0a6e9c93b85e9cae5526ffc0a
    logger.go:146: 2025-03-18T15:10:59.559Z	DEBUG	artifacts/signable.go:328	Extracted Build artifact data from Result gcr.io/my/image/fromstep3, sha256:827521c857fdcd4374f4da5442fbae2edb01e7fbae285c3ec15673d4c1daecb7
... skipping 88 lines ...
--- PASS: TestValidVaultAddressConnectionWithoutPortAndScheme (0.12s)
=== RUN   TestValidVaultAddressConnectionWithoutScheme
--- PASS: TestValidVaultAddressConnectionWithoutScheme (0.09s)
=== RUN   TestValidVaultAddressConnection
=== RUN   TestValidVaultAddressConnection/Validation_for_Vault_Address_with_HTTP_Url
=== RUN   TestValidVaultAddressConnection/Validation_for_Vault_Address_with_HTTPS_URL
2025/03/18 15:11:13 http: TLS handshake error from 127.0.0.1:59076: EOF
=== RUN   TestValidVaultAddressConnection/Validation_for_Vault_Address_with_Custom_Port_URL
--- PASS: TestValidVaultAddressConnection (0.02s)
    --- PASS: TestValidVaultAddressConnection/Validation_for_Vault_Address_with_HTTP_Url (0.00s)
    --- PASS: TestValidVaultAddressConnection/Validation_for_Vault_Address_with_HTTPS_URL (0.02s)
    --- PASS: TestValidVaultAddressConnection/Validation_for_Vault_Address_with_Custom_Port_URL (0.00s)
=== RUN   TestGetKMSAuthToken_NotADirectory
... skipping 54 lines ...
    --- PASS: TestInitializeBackends/pubsub (0.00s)
PASS
ok  	github.com/tektoncd/chains/pkg/chains/storage	1.510s
=== RUN   TestStorePayload_TaskRun
{"level":"info","ts":1742310709.9009464,"logger":"fallback","caller":"archivista/archivista.go:66","msg":"Successfully uploaded DSSE envelope to Archivista, response: {Gitoid:fake-gitoid}"}
    archivista_test.go:123: 
        	Error Trace:	/home/prow/go/src/github.com/tektoncd/chains/pkg/chains/storage/archivista/archivista_test.go:123
        	Error:      	Not equal: 
        	            	expected: "fake-gitoid"
        	            	actual  : ""
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -1 +1 @@
        	            	-fake-gitoid
        	            	+
        	Test:       	TestStorePayload_TaskRun
    archivista_test.go:124: 
        	Error Trace:	/home/prow/go/src/github.com/tektoncd/chains/pkg/chains/storage/archivista/archivista_test.go:124
        	Error:      	Not equal: 
        	            	expected: "http://127.0.0.1:34951"
        	            	actual  : ""
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -1 +1 @@
        	            	-http://127.0.0.1:34951
        	            	+
        	Test:       	TestStorePayload_TaskRun
--- FAIL: TestStorePayload_TaskRun (0.01s)
=== RUN   TestStorePayload_ErrorCases
=== RUN   TestStorePayload_ErrorCases/non-dsse_signature
{"level":"error","ts":1742310709.9033244,"logger":"fallback","caller":"archivista/archivista.go:57","msg":"Failed to parse DSSE envelope: %!w(*json.SyntaxError=&{invalid character 'a' looking for beginning of value 1})","stacktrace":"github.com/tektoncd/chains/pkg/chains/storage/archivista.(*Backend).StorePayload\n\t/home/prow/go/src/github.com/tektoncd/chains/pkg/chains/storage/archivista/archivista.go:57\ngithub.com/tektoncd/chains/pkg/chains/storage/archivista.TestStorePayload_ErrorCases.func2\n\t/home/prow/go/src/github.com/tektoncd/chains/pkg/chains/storage/archivista/archivista_test.go:153\ntesting.tRunner\n\t/home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.6.linux-amd64/src/testing/testing.go:1690"}
--- PASS: TestStorePayload_ErrorCases (0.00s)
    --- PASS: TestStorePayload_ErrorCases/non-dsse_signature (0.00s)
FAIL
FAIL	github.com/tektoncd/chains/pkg/chains/storage/archivista	0.260s
=== RUN   TestBackend_StorePayload
=== RUN   TestBackend_StorePayload/no_error
=== RUN   TestBackend_StorePayload/no_error_-_PipelineRun
--- PASS: TestBackend_StorePayload (0.06s)
    --- PASS: TestBackend_StorePayload/no_error (0.05s)
    --- PASS: TestBackend_StorePayload/no_error_-_PipelineRun (0.01s)
... skipping 231 lines ...
=== RUN   TestBackend_StorePayload
=== RUN   TestBackend_StorePayload/no_subject
    logger.go:146: 2025-03-18T15:11:53.971Z	INFO	pubsub/pubsub.go:55	Storing payload on Object bar/foo
    logger.go:146: 2025-03-18T15:11:53.971Z	INFO	pubsub/pubsub.go:95	Creating new "inmemory" pubsub producer for "test" topic
    logger.go:146: 2025-03-18T15:11:53.987Z	INFO	pubsub/pubsub.go:106	Configuring in-memory producer: mem://test
=== NAME  TestBackend_StorePayload
    logger.go:146: 2025-03-18T15:11:53.990Z	ERROR	pubsub/pubsub_test.go:100	pubsub: Topic has been Shutdown (code=FailedPrecondition)
--- PASS: TestBackend_StorePayload (0.02s)
    --- PASS: TestBackend_StorePayload/no_subject (0.02s)
PASS
ok  	github.com/tektoncd/chains/pkg/chains/storage/pubsub	1.498s
=== RUN   TestBackend_StorePayload
=== RUN   TestBackend_StorePayload/simple_taskrun
... skipping 64 lines ...
    --- PASS: TestGetAnnotationsPatch/empty (0.00s)
    --- PASS: TestGetAnnotationsPatch/one (0.00s)
    --- PASS: TestGetAnnotationsPatch/many (0.00s)
PASS
ok  	github.com/tektoncd/chains/pkg/patch	1.065s
=== RUN   TestUninitializedMetrics
{"level":"error","ts":1742310714.102207,"logger":"fallback","caller":"pipelinerunmetrics/metrics.go:124","msg":"Ignoring the metrics recording as recorder not initialized ","stacktrace":"github.com/tektoncd/chains/pkg/pipelinerunmetrics.(*Recorder).RecordCountMetrics\n\t/home/prow/go/src/github.com/tektoncd/chains/pkg/pipelinerunmetrics/metrics.go:124\ngithub.com/tektoncd/chains/pkg/pipelinerunmetrics.TestUninitializedMetrics\n\t/home/prow/go/src/github.com/tektoncd/chains/pkg/pipelinerunmetrics/metrics_test.go:33\ntesting.tRunner\n\t/home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.6.linux-amd64/src/testing/testing.go:1690"}
{"level":"error","ts":1742310714.1025875,"logger":"fallback","caller":"pipelinerunmetrics/metrics.go:124","msg":"Ignoring the metrics recording as recorder not initialized ","stacktrace":"github.com/tektoncd/chains/pkg/pipelinerunmetrics.(*Recorder).RecordCountMetrics\n\t/home/prow/go/src/github.com/tektoncd/chains/pkg/pipelinerunmetrics/metrics.go:124\ngithub.com/tektoncd/chains/pkg/pipelinerunmetrics.TestUninitializedMetrics\n\t/home/prow/go/src/github.com/tektoncd/chains/pkg/pipelinerunmetrics/metrics_test.go:36\ntesting.tRunner\n\t/home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.6.linux-amd64/src/testing/testing.go:1690"}
{"level":"error","ts":1742310714.1027455,"logger":"fallback","caller":"pipelinerunmetrics/metrics.go:124","msg":"Ignoring the metrics recording as recorder not initialized ","stacktrace":"github.com/tektoncd/chains/pkg/pipelinerunmetrics.(*Recorder).RecordCountMetrics\n\t/home/prow/go/src/github.com/tektoncd/chains/pkg/pipelinerunmetrics/metrics.go:124\ngithub.com/tektoncd/chains/pkg/pipelinerunmetrics.TestUninitializedMetrics\n\t/home/prow/go/src/github.com/tektoncd/chains/pkg/pipelinerunmetrics/metrics_test.go:39\ntesting.tRunner\n\t/home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.6.linux-amd64/src/testing/testing.go:1690"}
{"level":"error","ts":1742310714.1029053,"logger":"fallback","caller":"pipelinerunmetrics/metrics.go:124","msg":"Ignoring the metrics recording as recorder not initialized ","stacktrace":"github.com/tektoncd/chains/pkg/pipelinerunmetrics.(*Recorder).RecordCountMetrics\n\t/home/prow/go/src/github.com/tektoncd/chains/pkg/pipelinerunmetrics/metrics.go:124\ngithub.com/tektoncd/chains/pkg/pipelinerunmetrics.TestUninitializedMetrics\n\t/home/prow/go/src/github.com/tektoncd/chains/pkg/pipelinerunmetrics/metrics_test.go:42\ntesting.tRunner\n\t/home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.6.linux-amd64/src/testing/testing.go:1690"}
--- PASS: TestUninitializedMetrics (0.00s)
=== RUN   TestCountMetrics
--- PASS: TestCountMetrics (0.00s)
PASS
ok  	github.com/tektoncd/chains/pkg/pipelinerunmetrics	1.614s
=== RUN   TestPipelineRunInformerFilterFunc
... skipping 58 lines ...
    logger.go:146: 2025-03-18T15:12:02.578Z	INFO	pipelinerun/pipelinerun.go:62	pipelinerun is still running	{"pipelinerun": "default/pipelinerun"}
=== RUN   TestReconciler_handlePipelineRun/taskruns_completed_with_full_taskrun_status
=== RUN   TestReconciler_handlePipelineRun/taskruns_completed_with_child_references
=== RUN   TestReconciler_handlePipelineRun/taskruns_not_yet_completed_with_child_references
    logger.go:146: 2025-03-18T15:12:02.580Z	INFO	pipelinerun/pipelinerun.go:98	taskrun taskrun1 within pipelinerun is not yet finalized: status is not complete	{"pipelinerun": "default/pipelinerun"}
=== RUN   TestReconciler_handlePipelineRun/missing_taskrun_with_child_references
    logger.go:146: 2025-03-18T15:12:02.581Z	ERROR	pipelinerun/pipelinerun.go:85	Unable to get reconciled status of taskrun taskrun1 within pipelinerun	{"pipelinerun": "default/pipelinerun"}
--- PASS: TestReconciler_handlePipelineRun (0.01s)
    --- PASS: TestReconciler_handlePipelineRun/complete,_already_signed (0.00s)
    --- PASS: TestReconciler_handlePipelineRun/complete,_not_already_signed (0.00s)
    --- PASS: TestReconciler_handlePipelineRun/not_complete,_not_already_signed (0.00s)
    --- PASS: TestReconciler_handlePipelineRun/taskruns_completed_with_full_taskrun_status (0.00s)
    --- PASS: TestReconciler_handlePipelineRun/taskruns_completed_with_child_references (0.00s)
... skipping 31 lines ...
    --- PASS: TestReconciler_handleTaskRun/complete,_already_signed (0.00s)
    --- PASS: TestReconciler_handleTaskRun/complete,_not_already_signed (0.00s)
    --- PASS: TestReconciler_handleTaskRun/not_complete,_not_already_signed (0.00s)
PASS
ok  	github.com/tektoncd/chains/pkg/reconciler/taskrun	1.250s
=== RUN   TestUninitializedMetrics
{"level":"error","ts":1742310722.6827273,"logger":"fallback","caller":"taskrunmetrics/metrics.go:126","msg":"ignoring the metrics recording as recorder not initialized ","stacktrace":"github.com/tektoncd/chains/pkg/taskrunmetrics.(*Recorder).RecordCountMetrics\n\t/home/prow/go/src/github.com/tektoncd/chains/pkg/taskrunmetrics/metrics.go:126\ngithub.com/tektoncd/chains/pkg/taskrunmetrics.TestUninitializedMetrics\n\t/home/prow/go/src/github.com/tektoncd/chains/pkg/taskrunmetrics/metrics_test.go:33\ntesting.tRunner\n\t/home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.6.linux-amd64/src/testing/testing.go:1690"}
{"level":"error","ts":1742310722.6833756,"logger":"fallback","caller":"taskrunmetrics/metrics.go:126","msg":"ignoring the metrics recording as recorder not initialized ","stacktrace":"github.com/tektoncd/chains/pkg/taskrunmetrics.(*Recorder).RecordCountMetrics\n\t/home/prow/go/src/github.com/tektoncd/chains/pkg/taskrunmetrics/metrics.go:126\ngithub.com/tektoncd/chains/pkg/taskrunmetrics.TestUninitializedMetrics\n\t/home/prow/go/src/github.com/tektoncd/chains/pkg/taskrunmetrics/metrics_test.go:36\ntesting.tRunner\n\t/home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.6.linux-amd64/src/testing/testing.go:1690"}
{"level":"error","ts":1742310722.6835997,"logger":"fallback","caller":"taskrunmetrics/metrics.go:126","msg":"ignoring the metrics recording as recorder not initialized ","stacktrace":"github.com/tektoncd/chains/pkg/taskrunmetrics.(*Recorder).RecordCountMetrics\n\t/home/prow/go/src/github.com/tektoncd/chains/pkg/taskrunmetrics/metrics.go:126\ngithub.com/tektoncd/chains/pkg/taskrunmetrics.TestUninitializedMetrics\n\t/home/prow/go/src/github.com/tektoncd/chains/pkg/taskrunmetrics/metrics_test.go:39\ntesting.tRunner\n\t/home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.6.linux-amd64/src/testing/testing.go:1690"}
{"level":"error","ts":1742310722.6837583,"logger":"fallback","caller":"taskrunmetrics/metrics.go:126","msg":"ignoring the metrics recording as recorder not initialized ","stacktrace":"github.com/tektoncd/chains/pkg/taskrunmetrics.(*Recorder).RecordCountMetrics\n\t/home/prow/go/src/github.com/tektoncd/chains/pkg/taskrunmetrics/metrics.go:126\ngithub.com/tektoncd/chains/pkg/taskrunmetrics.TestUninitializedMetrics\n\t/home/prow/go/src/github.com/tektoncd/chains/pkg/taskrunmetrics/metrics_test.go:42\ntesting.tRunner\n\t/home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.6.linux-amd64/src/testing/testing.go:1690"}
--- PASS: TestUninitializedMetrics (0.00s)
=== RUN   TestCountMetrics
--- PASS: TestCountMetrics (0.00s)
PASS
ok  	github.com/tektoncd/chains/pkg/taskrunmetrics	1.230s
FAIL
Finished run, return code is 1
XML report written to /logs/artifacts/junit_L9i1jmgg.xml
===========================
==== UNIT TESTS FAILED ====
===========================
+ EXIT_VALUE=1
+ set +o xtrace