Cloning into '/home/prow/go/src/github.com/google/licenseclassifier'... Activated service account credentials for: [prow-account@tekton-releases.iam.gserviceaccount.com] == Running ./runner.sh backward compatibility test runner === + [[ 11 -ne 0 ]] + case $1 in + shift + [[ 10 -ne 0 ]] + case $1 in + shift + [[ 9 -ne 0 ]] + case $1 in + shift + [[ 8 -ne 0 ]] + case $1 in + shift + [[ 7 -ne 0 ]] + case $1 in + shift + [[ 6 -ne 0 ]] + case $1 in ++ cut -d = -f2 + gcloud auth activate-service-account --key-file=/etc/test-account/service-account.json Activated service account credentials for: [prow-account@tekton-releases.iam.gserviceaccount.com] + shift + [[ 5 -ne 0 ]] + case $1 in + shift + [[ 4 -ne 0 ]] + case $1 in + shift + [[ -- == \-\- ]] + shift + break + ./test/presubmit-tests.sh --unit-tests Changed files in commit c1152607e9b11d63ecc80cc0c53a2f4962dba28d: docs/config.md pkg/artifacts/signable.go pkg/artifacts/signable_test.go pkg/chains/formats/slsa/attest/attest.go pkg/chains/formats/slsa/extract/extract.go pkg/chains/formats/slsa/extract/v1beta1/extract.go pkg/chains/formats/slsa/extract/v1beta1/extract_test.go pkg/chains/formats/slsa/internal/build_definition/build_definition_test.go pkg/chains/formats/slsa/internal/external_parameters/external_parameters_test.go pkg/chains/formats/slsa/internal/internal_parameters/internal_parameters_test.go pkg/chains/formats/slsa/internal/material/material.go pkg/chains/formats/slsa/internal/material/material_test.go pkg/chains/formats/slsa/internal/material/v1beta1/material.go pkg/chains/formats/slsa/internal/material/v1beta1/material_test.go pkg/chains/formats/slsa/internal/resolved_dependencies/resolved_dependencies.go pkg/chains/formats/slsa/internal/resolved_dependencies/resolved_dependencies_test.go pkg/chains/formats/slsa/testdata/pipeline-v1/taskrun-multiple-subjects.json pkg/chains/formats/slsa/testdata/pipeline-v1beta1/pipelinerun-childrefs.json pkg/chains/formats/slsa/testdata/pipeline-v1beta1/pipelinerun1.json pkg/chains/formats/slsa/testdata/pipeline-v1beta1/pipelinerun_structured_results.json pkg/chains/formats/slsa/testdata/pipeline-v1beta1/taskrun-multiple-subjects.json pkg/chains/formats/slsa/testdata/pipeline-v1beta1/taskrun1.json pkg/chains/formats/slsa/testdata/pipeline-v1beta1/taskrun2.json pkg/chains/formats/slsa/testdata/pipeline-v1beta1/taskrun3.json pkg/chains/formats/slsa/testdata/pipeline-v1beta1/taskrun4.json pkg/chains/formats/slsa/testdata/pipeline-v1beta1/taskrun5.json pkg/chains/formats/slsa/v1/intotoite6.go pkg/chains/formats/slsa/v1/intotoite6_test.go pkg/chains/formats/slsa/v1/pipelinerun/pipelinerun.go pkg/chains/formats/slsa/v1/pipelinerun/provenance_test.go pkg/chains/formats/slsa/v1/taskrun/buildconfig.go pkg/chains/formats/slsa/v1/taskrun/buildconfig_test.go pkg/chains/formats/slsa/v1/taskrun/provenance_test.go pkg/chains/formats/slsa/v1/taskrun/taskrun.go pkg/chains/formats/slsa/v2alpha3/internal/pipelinerun/pipelinerun_test.go pkg/chains/formats/slsa/v2alpha3/internal/taskrun/taskrun_test.go pkg/chains/formats/slsa/v2alpha3/slsav2_test.go pkg/chains/formats/slsa/v2alpha4/internal/pipelinerun/pipelinerun_test.go pkg/chains/formats/slsa/v2alpha4/internal/taskrun/taskrun_test.go pkg/chains/formats/slsa/v2alpha4/slsav2_test.go pkg/chains/objects/objects.go pkg/chains/storage/docdb/docdb_test.go pkg/chains/storage/gcs/gcs.go pkg/chains/storage/gcs/gcs_test.go pkg/chains/storage/grafeas/grafeas_test.go pkg/chains/storage/oci/legacy.go pkg/chains/storage/oci/oci_test.go pkg/chains/storage/pubsub/pubsub_test.go pkg/chains/storage/tekton/tekton_test.go pkg/chains/verifier.go pkg/internal/objectloader/objectloader.go pkg/test/tekton/tekton.go test/e2e_test.go test/test_utils.go Updated property [component_manager/disable_update_check]. ============================ ==== CURRENT TEST SETUP ==== ============================ >> gcloud SDK version Google Cloud SDK 506.0.0 alpha 2025.01.10 beta 2025.01.10 bq 2.1.11 bundled-python3-unix 3.11.9 core 2025.01.10 docker-credential-gcr 1.5.0 gcloud-crc32c 1.0.0 gke-gcloud-auth-plugin 0.5.9 gsutil 5.33 kubectl 1.30.5 >> kubectl version Client Version: v1.32.0-alpha.0 Kustomize Version: v5.4.2 >> go version go: downloading go1.24.1 (linux/amd64) go version go1.24.1 linux/amd64 >> git version git version 2.43.0 ============================ ==== RUNNING UNIT TESTS ==== ============================ Running tests with 'go test -race -v ./... ' === RUN TestNoDeps === RUN TestNoDeps/github.com/tektoncd/chains/cmd/controller --- PASS: TestNoDeps (20.48s) --- PASS: TestNoDeps/github.com/tektoncd/chains/cmd/controller (20.48s) PASS ok github.com/tektoncd/chains/cmd/controller 22.057s ? github.com/tektoncd/chains/internal/backport [no test files] === RUN TestOCIArtifact_ExtractObjects === RUN TestOCIArtifact_ExtractObjects/one_result === RUN TestOCIArtifact_ExtractObjects/extra === RUN TestOCIArtifact_ExtractObjects/images === RUN TestOCIArtifact_ExtractObjects/images-newline --- PASS: TestOCIArtifact_ExtractObjects (0.07s) --- PASS: TestOCIArtifact_ExtractObjects/one_result (0.00s) --- PASS: TestOCIArtifact_ExtractObjects/extra (0.07s) --- PASS: TestOCIArtifact_ExtractObjects/images (0.00s) --- PASS: TestOCIArtifact_ExtractObjects/images-newline (0.00s) === RUN TestExtractOCIImagesFromResults logger.go:146: 2025-06-11T07:46:58.778Z DEBUG artifacts/structured.go:64 error getting string value for empty_str_IMAGE_DIGEST logger.go:146: 2025-06-11T07:46:58.779Z DEBUG artifacts/structured.go:64 error getting string value for empty_str_IMAGE_URL --- PASS: TestExtractOCIImagesFromResults (0.00s) === RUN TestExtractSignableTargetFromResults logger.go:146: 2025-06-11T07:46:58.779Z ERROR artifacts/signable.go:217 error getting digest abc: digest string abc, not in the format of : --- PASS: TestExtractSignableTargetFromResults (0.00s) === RUN TestExtractStructuredTargetFromResults logger.go:146: 2025-06-11T07:46:58.780Z DEBUG artifacts/signable.go:268 Extracted Structured data from Result gcr.io/foo/bar, sha256:05f95b26ed10668b7183c1e2da98610e91372fa9f510046d4ce5812addad86b7 logger.go:146: 2025-06-11T07:46:58.780Z DEBUG artifacts/signable.go:268 Extracted Structured data from Result gcr.io/foo/bar, sha1:93c56eeba9ec70f74c9bfd297d9516642d366cb5 logger.go:146: 2025-06-11T07:46:58.780Z DEBUG artifacts/signable.go:265 ExtractStructuredTargetFromResults: error getting digest sha1:93c56eeba9ec70f74c9bfd297d9516642d366c5: sha1 digest sha1:93c56eeba9ec70f74c9bfd297d9516642d366c5 does not match regexp ^[a-f0-9]{40}$ logger.go:146: 2025-06-11T07:46:58.780Z DEBUG artifacts/signable.go:268 Extracted Structured data from Result gcr.io/foo/bar, sha384:05f95b26ed10668b7183c1e2da98610e91372fa9f510046d4ce5812addad86b893c56eeba9ec70f74c9bfd297d951664 logger.go:146: 2025-06-11T07:46:58.780Z DEBUG artifacts/signable.go:265 ExtractStructuredTargetFromResults: error getting digest sha384:0595b26ed10668b7183c1e2da98610e91372fa9f510046d4ce5812addad86b893c56eeba9ec70f74c9bfd297d951664: invalid checksum digest length logger.go:146: 2025-06-11T07:46:58.780Z DEBUG artifacts/signable.go:268 Extracted Structured data from Result gcr.io/foo/bar, sha512:05f95b26ed10668b7183c1e2da98610e91372fa9f510046d4ce5812addad86b805f95b26ed10668b7183c1e2da98610e91372fa9f510046d4ce5812addad86b8 logger.go:146: 2025-06-11T07:46:58.780Z DEBUG artifacts/signable.go:265 ExtractStructuredTargetFromResults: error getting digest sha512:05f95b26ed1066b7183c1e2da98610e91372fa9f510046d4ce5812addad86b805f95b26ed10668b7183c1e2da98610e91372fa9f510046d4ce5812addad86b8: invalid checksum digest length logger.go:146: 2025-06-11T07:46:58.780Z DEBUG artifacts/signable.go:265 ExtractStructuredTargetFromResults: img2_input_no_digest_ARTIFACT_INPUTS should have digest field: map[digest: uri:gcr.io/foo/foo] logger.go:146: 2025-06-11T07:46:58.782Z DEBUG artifacts/signable.go:268 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-06-11T07:46:58.782Z DEBUG artifacts/signable.go:268 Extracted Structured data from Result com.google.guava:guava:31.0-jre.pom, sha256:05f95b26ed10668b7183c1e2da98610e91372fa9f510046d4ce5812addad86b6 --- PASS: TestExtractStructuredTargetFromResults (0.00s) === RUN TestRetrieveMaterialsFromStructuredResults logger.go:146: 2025-06-11T07:46:58.783Z DEBUG artifacts/signable.go:268 Extracted Structured data from Result oci://gcr.io/foo/bar, sha256:05f95b26ed10668b7183c1e2da98610e91372fa9f510046d4ce5812addad86b7 logger.go:146: 2025-06-11T07:46:58.783Z DEBUG artifacts/signable.go:265 ExtractStructuredTargetFromResults: img2_input_no_digest_ARTIFACT_INPUTS should have digest field: map[digest: uri:oci://gcr.io/foo/foo] logger.go:146: 2025-06-11T07:46:58.783Z DEBUG artifacts/signable.go:265 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 === RUN TestValidateResults/invalid_result_wrong_type_hinting --- PASS: TestValidateResults (0.00s) --- PASS: TestValidateResults/valid_result (0.00s) --- PASS: TestValidateResults/invalid_result_without_digest_field (0.00s) --- 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-06-11T07:46:58.785Z DEBUG artifacts/signable.go:283 ExtractBuildArtifactsFromResults failed validatin artifact bad-type-ARTIFACT_OUTPUTS, ignoring artifact, err: bad-type-ARTIFACT_OUTPUTS should be an object: map[] logger.go:146: 2025-06-11T07:46:58.785Z DEBUG artifacts/signable.go:283 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-06-11T07:46:58.785Z DEBUG artifacts/signable.go:283 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-06-11T07:46:58.785Z DEBUG artifacts/signable.go:283 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-06-11T07:46:58.785Z DEBUG artifacts/signable.go:287 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) --- PASS: TestExtractBuildArtifactsFromResults/structured_result_without_expected_type-hint (0.00s) --- PASS: TestExtractBuildArtifactsFromResults/structured_result_mark_as_build_artifact (0.00s) PASS ok github.com/tektoncd/chains/pkg/artifacts 1.541s === RUN TestReconciled === RUN TestReconciled/signed_success === RUN TestReconciled/signed_failed === RUN TestReconciled/signed_with_other_string === RUN TestReconciled/not_signed === RUN TestReconciled/latest_signed_success === RUN TestReconciled/latest_signed_failed === RUN TestReconciled/latest_signed_with_other_string === RUN TestReconciled/latest_not_signed --- PASS: TestReconciled (0.00s) --- PASS: TestReconciled/signed_success (0.00s) --- PASS: TestReconciled/signed_failed (0.00s) --- PASS: TestReconciled/signed_with_other_string (0.00s) --- PASS: TestReconciled/not_signed (0.00s) --- PASS: TestReconciled/latest_signed_success (0.00s) --- PASS: TestReconciled/latest_signed_failed (0.00s) --- PASS: TestReconciled/latest_signed_with_other_string (0.00s) --- PASS: TestReconciled/latest_not_signed (0.00s) === RUN TestMarkSigned === RUN TestMarkSigned/mark_taskrun === RUN TestMarkSigned/mark_pipelinerun --- PASS: TestMarkSigned (0.06s) --- PASS: TestMarkSigned/mark_taskrun (0.06s) --- PASS: TestMarkSigned/mark_pipelinerun (0.00s) === RUN TestMarkFailed === RUN TestMarkFailed/mark_taskrun_failed === RUN TestMarkFailed/mark_pipelinerun_failed --- PASS: TestMarkFailed (0.00s) --- PASS: TestMarkFailed/mark_taskrun_failed (0.00s) --- PASS: TestMarkFailed/mark_pipelinerun_failed (0.00s) === RUN TestRetryAvailble === RUN TestRetryAvailble/no_annotation_set === RUN TestRetryAvailble/annotation_<_3 === RUN TestRetryAvailble/annotation_not_a_number === RUN TestRetryAvailble/annotation_is_3 --- PASS: TestRetryAvailble (0.00s) --- PASS: TestRetryAvailble/no_annotation_set (0.00s) --- PASS: TestRetryAvailble/annotation_<_3 (0.00s) --- PASS: TestRetryAvailble/annotation_not_a_number (0.00s) --- PASS: TestRetryAvailble/annotation_is_3 (0.00s) === RUN TestAddRetry === RUN TestAddRetry/add_retry_to_taskrun === RUN TestAddRetry/add_retry_to_pipelinerun --- PASS: TestAddRetry (0.00s) --- PASS: TestAddRetry/add_retry_to_taskrun (0.00s) --- PASS: TestAddRetry/add_retry_to_pipelinerun (0.00s) === RUN TestShouldUploadTlog === RUN TestShouldUploadTlog/transparency_disabled === RUN TestShouldUploadTlog/transparency_enabled,_verify_annotation_disabled === RUN TestShouldUploadTlog/annotation_doesn't_exist === RUN TestShouldUploadTlog/annotation_exists === RUN TestShouldUploadTlog/already_uploaded --- PASS: TestShouldUploadTlog (0.00s) --- PASS: TestShouldUploadTlog/transparency_disabled (0.00s) --- PASS: TestShouldUploadTlog/transparency_enabled,_verify_annotation_disabled (0.00s) --- PASS: TestShouldUploadTlog/annotation_doesn't_exist (0.00s) --- PASS: TestShouldUploadTlog/annotation_exists (0.00s) --- PASS: TestShouldUploadTlog/already_uploaded (0.00s) === RUN TestSigner_Sign === RUN TestSigner_Sign/taskrun_single_system logger.go:146: 2025-06-11T07:46:58.892Z INFO x509/x509.go:180 Found x509 key... logger.go:146: 2025-06-11T07:46:58.894Z INFO chains/signing.go:155 Created payload of type in-toto for tekton.dev/v1/TaskRun /foo logger.go:146: 2025-06-11T07:46:58.894Z INFO chains/signing.go:170 Using wrapped envelope signer for slsa/v1 logger.go:146: 2025-06-11T07:46:58.894Z INFO chains/signing.go:174 Signing object with x509 logger.go:146: 2025-06-11T07:46:58.895Z WARN chains/signing.go:140 Format configured for tekton.dev/v1/TaskRun: oci was not found === RUN TestSigner_Sign/taskrun_multiple_systems logger.go:146: 2025-06-11T07:46:58.896Z INFO x509/x509.go:180 Found x509 key... logger.go:146: 2025-06-11T07:46:58.897Z INFO chains/signing.go:155 Created payload of type in-toto for tekton.dev/v1/TaskRun /foo logger.go:146: 2025-06-11T07:46:58.897Z INFO chains/signing.go:170 Using wrapped envelope signer for slsa/v1 logger.go:146: 2025-06-11T07:46:58.897Z INFO chains/signing.go:174 Signing object with x509 logger.go:146: 2025-06-11T07:46:58.897Z 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-06-11T07:46:58.899Z INFO x509/x509.go:180 Found x509 key... logger.go:146: 2025-06-11T07:46:58.899Z INFO chains/signing.go:155 Created payload of type in-toto for tekton.dev/v1/TaskRun /foo logger.go:146: 2025-06-11T07:46:58.899Z INFO chains/signing.go:170 Using wrapped envelope signer for slsa/v1 logger.go:146: 2025-06-11T07:46:58.900Z INFO chains/signing.go:174 Signing object with x509 logger.go:146: 2025-06-11T07:46:58.900Z ERROR chains/signing.go:206 mock error storing === RUN TestSigner_Sign/pipelinerun_single_system logger.go:146: 2025-06-11T07:46:58.902Z INFO x509/x509.go:180 Found x509 key... logger.go:146: 2025-06-11T07:46:58.902Z INFO chains/signing.go:155 Created payload of type in-toto for tekton.dev/v1/PipelineRun /foo logger.go:146: 2025-06-11T07:46:58.903Z INFO chains/signing.go:170 Using wrapped envelope signer for slsa/v1 logger.go:146: 2025-06-11T07:46:58.903Z INFO chains/signing.go:174 Signing object with x509 === RUN TestSigner_Sign/pipelinerun_multiple_systems logger.go:146: 2025-06-11T07:46:58.904Z INFO x509/x509.go:180 Found x509 key... logger.go:146: 2025-06-11T07:46:58.905Z INFO chains/signing.go:155 Created payload of type in-toto for tekton.dev/v1/PipelineRun /foo logger.go:146: 2025-06-11T07:46:58.905Z INFO chains/signing.go:170 Using wrapped envelope signer for slsa/v1 logger.go:146: 2025-06-11T07:46:58.905Z INFO chains/signing.go:174 Signing object with x509 === RUN TestSigner_Sign/pipelinerun_multiple_systems,_error logger.go:146: 2025-06-11T07:46:58.906Z INFO x509/x509.go:180 Found x509 key... logger.go:146: 2025-06-11T07:46:58.906Z INFO chains/signing.go:155 Created payload of type in-toto for tekton.dev/v1/PipelineRun /foo logger.go:146: 2025-06-11T07:46:58.907Z INFO chains/signing.go:170 Using wrapped envelope signer for slsa/v1 logger.go:146: 2025-06-11T07:46:58.907Z INFO chains/signing.go:174 Signing object with x509 logger.go:146: 2025-06-11T07:46:58.907Z ERROR chains/signing.go:206 mock error storing --- PASS: TestSigner_Sign (0.02s) --- 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.00s) --- PASS: TestSigner_Sign/pipelinerun_multiple_systems,_error (0.00s) === RUN TestSigner_Transparency === RUN TestSigner_Transparency/taskrun_in-toto logger.go:146: 2025-06-11T07:46:58.908Z INFO x509/x509.go:180 Found x509 key... logger.go:146: 2025-06-11T07:46:58.909Z INFO chains/signing.go:155 Created payload of type slsa/v1 for tekton.dev/v1/TaskRun /foo logger.go:146: 2025-06-11T07:46:58.909Z INFO chains/signing.go:170 Using wrapped envelope signer for slsa/v1 logger.go:146: 2025-06-11T07:46:58.909Z INFO chains/signing.go:174 Signing object with x509 logger.go:146: 2025-06-11T07:46:58.910Z WARN chains/signing.go:140 Format configured for tekton.dev/v1/TaskRun: oci was not found logger.go:146: 2025-06-11T07:46:58.912Z INFO x509/x509.go:180 Found x509 key... logger.go:146: 2025-06-11T07:46:58.915Z INFO chains/signing.go:155 Created payload of type slsa/v1 for tekton.dev/v1/TaskRun /foobar logger.go:146: 2025-06-11T07:46:58.915Z INFO chains/signing.go:170 Using wrapped envelope signer for slsa/v1 logger.go:146: 2025-06-11T07:46:58.915Z INFO chains/signing.go:174 Signing object with x509 logger.go:146: 2025-06-11T07:46:58.916Z INFO chains/signing.go:224 Uploaded entry to with index 0 logger.go:146: 2025-06-11T07:46:58.916Z WARN chains/signing.go:140 Format configured for tekton.dev/v1/TaskRun: oci was not found logger.go:146: 2025-06-11T07:46:58.917Z INFO x509/x509.go:180 Found x509 key... logger.go:146: 2025-06-11T07:46:58.919Z INFO chains/signing.go:155 Created payload of type slsa/v1 for tekton.dev/v1/TaskRun /mytektonobject logger.go:146: 2025-06-11T07:46:58.919Z INFO chains/signing.go:170 Using wrapped envelope signer for slsa/v1 logger.go:146: 2025-06-11T07:46:58.920Z INFO chains/signing.go:174 Signing object with x509 logger.go:146: 2025-06-11T07:46:58.921Z WARN chains/signing.go:140 Format configured for tekton.dev/v1/TaskRun: oci was not found logger.go:146: 2025-06-11T07:46:58.922Z INFO x509/x509.go:180 Found x509 key... logger.go:146: 2025-06-11T07:46:58.924Z INFO chains/signing.go:155 Created payload of type slsa/v1 for tekton.dev/v1/TaskRun /mytektonobject logger.go:146: 2025-06-11T07:46:58.924Z INFO chains/signing.go:170 Using wrapped envelope signer for slsa/v1 logger.go:146: 2025-06-11T07:46:58.925Z INFO chains/signing.go:174 Signing object with x509 logger.go:146: 2025-06-11T07:46:58.926Z INFO chains/signing.go:224 Uploaded entry to with index 1 logger.go:146: 2025-06-11T07:46:58.927Z WARN chains/signing.go:140 Format configured for tekton.dev/v1/TaskRun: oci was not found === RUN TestSigner_Transparency/pipelinerun_in-toto logger.go:146: 2025-06-11T07:46:58.977Z INFO x509/x509.go:180 Found x509 key... logger.go:146: 2025-06-11T07:46:58.978Z INFO chains/signing.go:155 Created payload of type slsa/v1 for tekton.dev/v1/PipelineRun /foo logger.go:146: 2025-06-11T07:46:58.978Z INFO chains/signing.go:170 Using wrapped envelope signer for slsa/v1 logger.go:146: 2025-06-11T07:46:58.978Z INFO chains/signing.go:174 Signing object with x509 logger.go:146: 2025-06-11T07:46:58.980Z INFO x509/x509.go:180 Found x509 key... logger.go:146: 2025-06-11T07:46:58.981Z INFO chains/signing.go:155 Created payload of type slsa/v1 for tekton.dev/v1/PipelineRun /foobar logger.go:146: 2025-06-11T07:46:58.981Z INFO chains/signing.go:170 Using wrapped envelope signer for slsa/v1 logger.go:146: 2025-06-11T07:46:58.981Z INFO chains/signing.go:174 Signing object with x509 logger.go:146: 2025-06-11T07:46:58.982Z INFO chains/signing.go:224 Uploaded entry to with index 0 logger.go:146: 2025-06-11T07:46:58.983Z INFO x509/x509.go:180 Found x509 key... logger.go:146: 2025-06-11T07:46:58.983Z INFO chains/signing.go:155 Created payload of type slsa/v1 for tekton.dev/v1/PipelineRun /mytektonobject logger.go:146: 2025-06-11T07:46:58.983Z INFO chains/signing.go:170 Using wrapped envelope signer for slsa/v1 logger.go:146: 2025-06-11T07:46:58.984Z INFO chains/signing.go:174 Signing object with x509 logger.go:146: 2025-06-11T07:46:58.985Z INFO x509/x509.go:180 Found x509 key... logger.go:146: 2025-06-11T07:46:58.985Z INFO chains/signing.go:155 Created payload of type slsa/v1 for tekton.dev/v1/PipelineRun /mytektonobject logger.go:146: 2025-06-11T07:46:58.986Z INFO chains/signing.go:170 Using wrapped envelope signer for slsa/v1 logger.go:146: 2025-06-11T07:46:58.986Z INFO chains/signing.go:174 Signing object with x509 logger.go:146: 2025-06-11T07:46:58.987Z INFO chains/signing.go:224 Uploaded entry to with index 1 --- PASS: TestSigner_Transparency (0.08s) --- PASS: TestSigner_Transparency/taskrun_in-toto (0.02s) --- PASS: TestSigner_Transparency/pipelinerun_in-toto (0.01s) === RUN TestSigningObjects === RUN TestSigningObjects/x509 logger.go:146: 2025-06-11T07:46:58.988Z INFO x509/x509.go:180 Found x509 key... === RUN TestSigningObjects/x509_twice logger.go:146: 2025-06-11T07:46:58.989Z INFO x509/x509.go:180 Found x509 key... === RUN TestSigningObjects/none --- PASS: TestSigningObjects (0.00s) --- PASS: TestSigningObjects/x509 (0.00s) --- PASS: TestSigningObjects/x509_twice (0.00s) --- PASS: TestSigningObjects/none (0.00s) === RUN TestGetRawPayload === RUN TestGetRawPayload/intoto.Statement_object === RUN TestGetRawPayload/*intoto.Statement_object === RUN TestGetRawPayload/*intoto.Statement_object_-_nil === RUN TestGetRawPayload/other_object_-_nil === RUN TestGetRawPayload/other_object_with_value --- PASS: TestGetRawPayload (0.00s) --- PASS: TestGetRawPayload/intoto.Statement_object (0.00s) --- PASS: TestGetRawPayload/*intoto.Statement_object (0.00s) --- PASS: TestGetRawPayload/*intoto.Statement_object_-_nil (0.00s) --- PASS: TestGetRawPayload/other_object_-_nil (0.00s) --- PASS: TestGetRawPayload/other_object_with_value (0.00s) PASS ok github.com/tektoncd/chains/pkg/chains 1.740s ? github.com/tektoncd/chains/pkg/chains/formats [no test files] ? github.com/tektoncd/chains/pkg/chains/formats/all [no test files] === RUN TestSimpleSigning_CreatePayload === RUN TestSimpleSigning_CreatePayload/digest === RUN TestSimpleSigning_CreatePayload/not_digest --- PASS: TestSimpleSigning_CreatePayload (0.00s) --- PASS: TestSimpleSigning_CreatePayload/digest (0.00s) --- PASS: TestSimpleSigning_CreatePayload/not_digest (0.00s) === RUN TestImageName --- PASS: TestImageName (0.00s) PASS ok github.com/tektoncd/chains/pkg/chains/formats/simple 1.059s ? github.com/tektoncd/chains/pkg/chains/formats/slsa/attest [no test files] === RUN TestSubjectDigestsAndRetrieveAllArtifactURIs === RUN TestSubjectDigestsAndRetrieveAllArtifactURIs/valid_type_hinting_result_fields === RUN TestSubjectDigestsAndRetrieveAllArtifactURIs/invalid/missing_digest_algorithm_name logger.go:146: 2025-06-11T07:46:58.679Z ERROR artifacts/signable.go:176 error getting digest: unsupported digest algorithm: sha1:a2e500bebfe16cf12fc56316ba72c645e1d29054541dc1ab6c286197434170a9 logger.go:146: 2025-06-11T07:46:58.679Z ERROR artifacts/signable.go:176 error getting digest: unsupported digest algorithm: b2e500bebfe16cf12fc56316ba72c645e1d29054541dc1ab6c286197434170a9 logger.go:146: 2025-06-11T07:46:58.680Z ERROR artifacts/signable.go:176 error getting digest: unsupported digest algorithm: sha1:a2e500bebfe16cf12fc56316ba72c645e1d29054541dc1ab6c286197434170a9 logger.go:146: 2025-06-11T07:46:58.680Z ERROR artifacts/signable.go:176 error getting digest: unsupported digest algorithm: b2e500bebfe16cf12fc56316ba72c645e1d29054541dc1ab6c286197434170a9 logger.go:146: 2025-06-11T07:46:58.680Z ERROR artifacts/signable.go:176 error getting digest: unsupported digest algorithm: sha1:a2e500bebfe16cf12fc56316ba72c645e1d29054541dc1ab6c286197434170a9 logger.go:146: 2025-06-11T07:46:58.680Z ERROR artifacts/signable.go:176 error getting digest: unsupported digest algorithm: b2e500bebfe16cf12fc56316ba72c645e1d29054541dc1ab6c286197434170a9 logger.go:146: 2025-06-11T07:46:58.681Z ERROR artifacts/signable.go:176 error getting digest: unsupported digest algorithm: sha1:a2e500bebfe16cf12fc56316ba72c645e1d29054541dc1ab6c286197434170a9 logger.go:146: 2025-06-11T07:46:58.681Z ERROR artifacts/signable.go:176 error getting digest: unsupported digest algorithm: b2e500bebfe16cf12fc56316ba72c645e1d29054541dc1ab6c286197434170a9 === RUN TestSubjectDigestsAndRetrieveAllArtifactURIs/invalid_digest_sha logger.go:146: 2025-06-11T07:46:58.682Z ERROR artifacts/signable.go:176 error getting digest: invalid checksum digest length logger.go:146: 2025-06-11T07:46:58.682Z ERROR artifacts/signable.go:176 error getting digest: invalid checksum digest length logger.go:146: 2025-06-11T07:46:58.682Z ERROR artifacts/signable.go:176 error getting digest: invalid checksum digest length logger.go:146: 2025-06-11T07:46:58.682Z ERROR artifacts/signable.go:176 error getting digest: invalid checksum digest length === RUN TestSubjectDigestsAndRetrieveAllArtifactURIs/invalid_url_value logger.go:146: 2025-06-11T07:46:58.683Z DEBUG artifacts/structured.go:64 error getting string value for 0_IMAGE_URL logger.go:146: 2025-06-11T07:46:58.683Z DEBUG artifacts/structured.go:64 error getting string value for 0_IMAGE_URL logger.go:146: 2025-06-11T07:46:58.683Z DEBUG artifacts/structured.go:64 error getting string value for 0_IMAGE_URL logger.go:146: 2025-06-11T07:46:58.683Z DEBUG artifacts/structured.go:64 error getting string value for 0_IMAGE_URL --- PASS: TestSubjectDigestsAndRetrieveAllArtifactURIs (0.08s) --- PASS: TestSubjectDigestsAndRetrieveAllArtifactURIs/valid_type_hinting_result_fields (0.07s) --- 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 === RUN TestPipelineRunObserveModeForSubjects/deep_inspection_disabled === RUN TestPipelineRunObserveModeForSubjects/deep_inspection_enabled:_no_duplication === RUN TestPipelineRunObserveModeForSubjects/deep_inspection_enabled:_2_tasks_have_same_uri_with_different_sha256_digests === RUN TestPipelineRunObserveModeForSubjects/deep_inspection_enabled:_2_taskruns_have_same_uri_with_same_sha256_digests === RUN TestPipelineRunObserveModeForSubjects/deep_inspection_enabled:_pipelinerun_and_taskrun_have_duplicated_results === RUN TestPipelineRunObserveModeForSubjects/deep_inspection_enabled:_pipelinerun_and_taskrun_have_different_results --- PASS: TestPipelineRunObserveModeForSubjects (0.02s) --- PASS: TestPipelineRunObserveModeForSubjects/deep_inspection_disabled (0.00s) --- PASS: TestPipelineRunObserveModeForSubjects/deep_inspection_enabled:_no_duplication (0.00s) --- PASS: TestPipelineRunObserveModeForSubjects/deep_inspection_enabled:_2_tasks_have_same_uri_with_different_sha256_digests (0.00s) --- PASS: TestPipelineRunObserveModeForSubjects/deep_inspection_enabled:_2_taskruns_have_same_uri_with_same_sha256_digests (0.00s) --- PASS: TestPipelineRunObserveModeForSubjects/deep_inspection_enabled:_pipelinerun_and_taskrun_have_duplicated_results (0.00s) --- PASS: TestPipelineRunObserveModeForSubjects/deep_inspection_enabled:_pipelinerun_and_taskrun_have_different_results (0.00s) === RUN TestSubjectsFromBuildArtifact === RUN TestSubjectsFromBuildArtifact/no_type-hinted_build_artifacts === RUN TestSubjectsFromBuildArtifact/type-hinted_build_artifacts logger.go:146: 2025-06-11T07:46:58.700Z DEBUG artifacts/signable.go:287 Extracted Build artifact data from Result gcr.io/test/img4, sha256:910700c5ace59f70588c4e2a38ed131146c9f65c94379dfe12376075fc2f338f logger.go:146: 2025-06-11T07:46:58.700Z DEBUG artifacts/signable.go:287 Extracted Build artifact data from Result gcr.io/test/img5, sha256:7492314e32aa75ff1f2cfea35b7dda85d8831929d076aab52420c3400c8c65d8 === RUN TestSubjectsFromBuildArtifact/no_repetead_type-hinted_build_artifacts logger.go:146: 2025-06-11T07:46:58.704Z DEBUG artifacts/signable.go:287 Extracted Build artifact data from Result gcr.io/test/img1, sha256:8b7b3e8b124f937b16a914eea7cb81ebaa8f2b0a13833797acd26d67edf4e056 logger.go:146: 2025-06-11T07:46:58.704Z DEBUG artifacts/signable.go:287 Extracted Build artifact data from Result gcr.io/test/img1, sha256:8b7b3e8b124f937b16a914eea7cb81ebaa8f2b0a13833797acd26d67edf4e056 === RUN TestSubjectsFromBuildArtifact/malformed_digests logger.go:146: 2025-06-11T07:46:58.705Z DEBUG artifacts/signable.go:283 ExtractBuildArtifactsFromResults failed validatin artifact result2_ARTIFACT_OUTPUTS, ignoring artifact, err: error getting digest sha256@7492314e32aa75ff1f2cfea35b7dda85d8831929d076aab52420c3400c8c65d8: digest string sha256@7492314e32aa75ff1f2cfea35b7dda85d8831929d076aab52420c3400c8c65d8, not in the format of : logger.go:146: 2025-06-11T07:46:58.705Z ERROR artifacts/signable.go:176 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-06-11T07:46:58.706Z ERROR artifacts/signable.go:196 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.00s) --- 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.449s === RUN TestAppendSubjects === RUN TestAppendSubjects/add_a_completely_new_subject === RUN TestAppendSubjects/add_a_subject_with_same_uri_and_digest === RUN TestAppendSubjects/add_a_subject_with_same_uri_but_different_digest === RUN TestAppendSubjects/add_a_subject_with_same_uri,_one_common_digest_and_one_different_digest --- PASS: TestAppendSubjects (0.01s) --- PASS: TestAppendSubjects/add_a_completely_new_subject (0.00s) --- PASS: TestAppendSubjects/add_a_subject_with_same_uri_and_digest (0.00s) --- PASS: TestAppendSubjects/add_a_subject_with_same_uri_but_different_digest (0.00s) --- PASS: TestAppendSubjects/add_a_subject_with_same_uri,_one_common_digest_and_one_different_digest (0.00s) === RUN TestAppendMaterials === RUN TestAppendMaterials/add_a_completely_new_material === RUN TestAppendMaterials/add_a_material_with_same_uri_and_digest === RUN TestAppendMaterials/add_a_material_with_same_uri_but_different_digest === RUN TestAppendMaterials/add_a_material_with_same_uri,_one_common_digest_and_one_different_digest --- PASS: TestAppendMaterials (0.00s) --- PASS: TestAppendMaterials/add_a_completely_new_material (0.00s) --- PASS: TestAppendMaterials/add_a_material_with_same_uri_and_digest (0.00s) --- PASS: TestAppendMaterials/add_a_material_with_same_uri_but_different_digest (0.00s) --- PASS: TestAppendMaterials/add_a_material_with_same_uri,_one_common_digest_and_one_different_digest (0.00s) PASS ok github.com/tektoncd/chains/pkg/chains/formats/slsa/internal/artifact 1.043s === RUN TestGetTaskRunBuildDefinition === RUN TestGetTaskRunBuildDefinition/test_slsa_build_type === RUN TestGetTaskRunBuildDefinition/test_default_build_type === RUN TestGetTaskRunBuildDefinition/test_tekton_build_type --- PASS: TestGetTaskRunBuildDefinition (0.18s) --- PASS: TestGetTaskRunBuildDefinition/test_slsa_build_type (0.01s) --- PASS: TestGetTaskRunBuildDefinition/test_default_build_type (0.01s) --- PASS: TestGetTaskRunBuildDefinition/test_tekton_build_type (0.08s) === RUN TestTaskRunUnsupportedBuildType --- PASS: TestTaskRunUnsupportedBuildType (0.00s) === RUN TestGetPipelineRunBuildDefinition === RUN TestGetPipelineRunBuildDefinition/test_slsa_build_type === RUN TestGetPipelineRunBuildDefinition/test_tekton_build_type === RUN TestGetPipelineRunBuildDefinition/test_default_build_type --- PASS: TestGetPipelineRunBuildDefinition (0.51s) --- PASS: TestGetPipelineRunBuildDefinition/test_slsa_build_type (0.05s) --- PASS: TestGetPipelineRunBuildDefinition/test_tekton_build_type (0.41s) --- PASS: TestGetPipelineRunBuildDefinition/test_default_build_type (0.01s) === RUN TestPipelineRunUnsupportedBuildType --- PASS: TestPipelineRunUnsupportedBuildType (0.00s) PASS ok github.com/tektoncd/chains/pkg/chains/formats/slsa/internal/build_definition 2.042s ? github.com/tektoncd/chains/pkg/chains/formats/slsa/internal/build_types [no test files] ? github.com/tektoncd/chains/pkg/chains/formats/slsa/internal/compare [no test files] === RUN TestBuildConfigSource --- PASS: TestBuildConfigSource (0.00s) === RUN TestPipelineRun === RUN TestPipelineRun/simple_pipelinerun === RUN TestPipelineRun/pipelinerun_with_remote_resolver --- PASS: TestPipelineRun (0.24s) --- PASS: TestPipelineRun/simple_pipelinerun (0.23s) --- PASS: TestPipelineRun/pipelinerun_with_remote_resolver (0.01s) === RUN TestTaskRun === RUN TestTaskRun/simple_taskrun === RUN TestTaskRun/taskrun_with_remote_resolver --- PASS: TestTaskRun (0.00s) --- PASS: TestTaskRun/simple_taskrun (0.00s) --- PASS: TestTaskRun/taskrun_with_remote_resolver (0.00s) PASS ok github.com/tektoncd/chains/pkg/chains/formats/slsa/internal/external_parameters 1.542s === RUN TestGetInternalParamters === RUN TestGetInternalParamters/SLSA_build_type === RUN TestGetInternalParamters/Tekton_build_type === RUN TestGetInternalParamters/Invalid_build_type --- PASS: TestGetInternalParamters (0.09s) --- PASS: TestGetInternalParamters/SLSA_build_type (0.08s) --- PASS: TestGetInternalParamters/Tekton_build_type (0.00s) --- PASS: TestGetInternalParamters/Invalid_build_type (0.00s) PASS ok github.com/tektoncd/chains/pkg/chains/formats/slsa/internal/internal_parameters 1.542s === RUN TestMaterialsWithResults --- PASS: TestMaterialsWithResults (0.00s) === RUN TestTaskMaterials === RUN TestTaskMaterials/materials_from_git_results_in_task_run_spec === RUN TestTaskMaterials/materials_from_git_results_in_task_spec === RUN TestTaskMaterials/materials_from_git_results_in_task_spec_and_taskrun_spec === RUN TestTaskMaterials/materials_from_step_images === RUN TestTaskMaterials/materials_from_step_and_sidecar_images --- PASS: TestTaskMaterials (0.00s) --- PASS: TestTaskMaterials/materials_from_git_results_in_task_run_spec (0.00s) --- PASS: TestTaskMaterials/materials_from_git_results_in_task_spec (0.00s) --- PASS: TestTaskMaterials/materials_from_git_results_in_task_spec_and_taskrun_spec (0.00s) --- PASS: TestTaskMaterials/materials_from_step_images (0.00s) --- PASS: TestTaskMaterials/materials_from_step_and_sidecar_images (0.00s) === RUN TestPipelineMaterials logger.go:146: 2025-06-11T07:47:11.289Z DEBUG artifacts/signable.go:268 Extracted Structured data from Result abc, sha256:827521c857fdcd4374f4da5442fbae2edb01e7fbae285c3ec15673d4c1daecb7 --- PASS: TestPipelineMaterials (0.09s) === RUN TestStructuredResultPipelineMaterials logger.go:146: 2025-06-11T07:47:11.296Z DEBUG artifacts/signable.go:268 Extracted Structured data from Result abcd, sha256:827521c857fdcd4374f4da5442fbae2edb01e7fbae285c3ec15673d4c1daecb7 --- PASS: TestStructuredResultPipelineMaterials (0.08s) === RUN TestFromImageID --- PASS: TestFromImageID (0.00s) === RUN TestFromPipelineParamsAndResults === RUN TestFromPipelineParamsAndResults/from_results === RUN TestFromPipelineParamsAndResults/from_pipelinespec === RUN TestFromPipelineParamsAndResults/from_pipelineRunSpec === RUN TestFromPipelineParamsAndResults/from_completeChain === RUN TestFromPipelineParamsAndResults/deep_inspection:_pipelinerun_param_and_task_result logger.go:146: 2025-06-11T07:47:11.380Z DEBUG artifacts/signable.go:268 Extracted Structured data from Result github.com/childtask-result, sha1:225734d92807a80158b4b7af605d768c647fdb3d --- PASS: TestFromPipelineParamsAndResults (0.00s) --- PASS: TestFromPipelineParamsAndResults/from_results (0.00s) --- PASS: TestFromPipelineParamsAndResults/from_pipelinespec (0.00s) --- PASS: TestFromPipelineParamsAndResults/from_pipelineRunSpec (0.00s) --- PASS: TestFromPipelineParamsAndResults/from_completeChain (0.00s) --- PASS: TestFromPipelineParamsAndResults/deep_inspection:_pipelinerun_param_and_task_result (0.00s) === RUN TestFromStepActionsResults === RUN TestFromStepActionsResults/no_type-hint_input === RUN TestFromStepActionsResults/git_result_type-hint_input === RUN TestFromStepActionsResults/object_result_type-hint_input logger.go:146: 2025-06-11T07:47:11.383Z DEBUG artifacts/signable.go:268 Extracted Structured data from Result https://github.com/tektoncd/pipeline, sha1:7f2f46e1b97df36b2b82d1b1d87c81b8b3d21601 logger.go:146: 2025-06-11T07:47:11.383Z DEBUG artifacts/signable.go:268 Extracted Structured data from Result https://github.com/org/repo2, sha1:05669ed367ed21569f68edee8b93c64eda91e910 === RUN TestFromStepActionsResults/no_repeated_inputs logger.go:146: 2025-06-11T07:47:11.385Z DEBUG artifacts/signable.go:268 Extracted Structured data from Result https://github.com/tektoncd/pipeline, sha1:7f2f46e1b97df36b2b82d1b1d87c81b8b3d21601 logger.go:146: 2025-06-11T07:47:11.385Z DEBUG artifacts/signable.go:268 Extracted Structured data from Result https://github.com/tektoncd/pipeline, sha1:7f2f46e1b97df36b2b82d1b1d87c81b8b3d21601 --- PASS: TestFromStepActionsResults (0.00s) --- PASS: TestFromStepActionsResults/no_type-hint_input (0.00s) --- PASS: TestFromStepActionsResults/git_result_type-hint_input (0.00s) --- PASS: TestFromStepActionsResults/object_result_type-hint_input (0.00s) --- PASS: TestFromStepActionsResults/no_repeated_inputs (0.00s) PASS ok github.com/tektoncd/chains/pkg/chains/formats/slsa/internal/material 1.694s === RUN TestMetadata === RUN TestMetadata/taskrun_metadata === RUN TestMetadata/pipelinerun_metadata --- PASS: TestMetadata (0.00s) --- PASS: TestMetadata/taskrun_metadata (0.00s) --- PASS: TestMetadata/pipelinerun_metadata (0.00s) === RUN TestMetadataInTimeZone === RUN TestMetadataInTimeZone/taskrun_metadata === RUN TestMetadataInTimeZone/pipelinerun_metadata --- PASS: TestMetadataInTimeZone (0.00s) --- PASS: TestMetadataInTimeZone/taskrun_metadata (0.00s) --- PASS: TestMetadataInTimeZone/pipelinerun_metadata (0.00s) PASS ok github.com/tektoncd/chains/pkg/chains/formats/slsa/internal/metadata 1.775s ? github.com/tektoncd/chains/pkg/chains/formats/slsa/internal/provenance [no test files] === RUN TestRemoveDuplicates === RUN TestRemoveDuplicates/no_duplicate_resolvedDependencies === RUN TestRemoveDuplicates/same_uri_and_digest === RUN TestRemoveDuplicates/same_uri_but_different_digest === RUN TestRemoveDuplicates/same_uri_but_different_digest,_swap_order === RUN TestRemoveDuplicates/task_config_must_be_present === RUN TestRemoveDuplicates/pipeline_config_must_be_present --- PASS: TestRemoveDuplicates (0.09s) --- PASS: TestRemoveDuplicates/no_duplicate_resolvedDependencies (0.00s) --- PASS: TestRemoveDuplicates/same_uri_and_digest (0.00s) --- PASS: TestRemoveDuplicates/same_uri_but_different_digest (0.00s) --- PASS: TestRemoveDuplicates/same_uri_but_different_digest,_swap_order (0.00s) --- PASS: TestRemoveDuplicates/task_config_must_be_present (0.00s) --- PASS: TestRemoveDuplicates/pipeline_config_must_be_present (0.00s) === RUN TestTaskRun === RUN TestTaskRun/resolvedDependencies_from_remote_task === RUN TestTaskRun/git_resolvedDependencies_from_taskrun_params === RUN TestTaskRun/resolvedDependencies_from_step_images === RUN TestTaskRun/resolvedDependencies_from_step_and_sidecar_images === RUN TestTaskRun/resolvedDependencies_with_nested_results logger.go:146: 2025-06-11T07:47:11.497Z DEBUG artifacts/signable.go:268 Extracted Structured data from Result https://github.com/tektoncd/pipeline, sha1:7f2f46e1b97df36b2b82d1b1d87c81b8b3d21601 --- PASS: TestTaskRun (0.01s) --- PASS: TestTaskRun/resolvedDependencies_from_remote_task (0.00s) --- PASS: TestTaskRun/git_resolvedDependencies_from_taskrun_params (0.00s) --- PASS: TestTaskRun/resolvedDependencies_from_step_images (0.00s) --- PASS: TestTaskRun/resolvedDependencies_from_step_and_sidecar_images (0.00s) --- PASS: TestTaskRun/resolvedDependencies_with_nested_results (0.00s) === RUN TestPipelineRun === RUN TestPipelineRun/test_slsa_build_type === NAME TestPipelineRun logger.go:146: 2025-06-11T07:47:11.596Z DEBUG artifacts/signable.go:268 Extracted Structured data from Result abc, sha256:827521c857fdcd4374f4da5442fbae2edb01e7fbae285c3ec15673d4c1daecb7 === RUN TestPipelineRun/test_tekton_build_type === NAME TestPipelineRun logger.go:146: 2025-06-11T07:47:11.605Z DEBUG artifacts/signable.go:268 Extracted Structured data from Result abc, sha256:827521c857fdcd4374f4da5442fbae2edb01e7fbae285c3ec15673d4c1daecb7 --- PASS: TestPipelineRun (0.60s) --- PASS: TestPipelineRun/test_slsa_build_type (0.01s) --- PASS: TestPipelineRun/test_tekton_build_type (0.50s) === RUN TestGetTaskDescriptor === RUN TestGetTaskDescriptor/slsa_task_descriptor === RUN TestGetTaskDescriptor/tekton_task_descriptor === RUN TestGetTaskDescriptor/bad_descriptor --- PASS: TestGetTaskDescriptor (0.00s) --- PASS: TestGetTaskDescriptor/slsa_task_descriptor (0.00s) --- PASS: TestGetTaskDescriptor/tekton_task_descriptor (0.00s) --- PASS: TestGetTaskDescriptor/bad_descriptor (0.00s) PASS ok github.com/tektoncd/chains/pkg/chains/formats/slsa/internal/resolved_dependencies 2.298s === RUN TestGetResultsWithoutBuildArtifacts === RUN TestGetResultsWithoutBuildArtifacts/no_results_as_input === RUN TestGetResultsWithoutBuildArtifacts/results_without_build_artifacts --- PASS: TestGetResultsWithoutBuildArtifacts (0.09s) --- PASS: TestGetResultsWithoutBuildArtifacts/no_results_as_input (0.00s) --- PASS: TestGetResultsWithoutBuildArtifacts/results_without_build_artifacts (0.01s) PASS ok github.com/tektoncd/chains/pkg/chains/formats/slsa/internal/results 1.614s ? github.com/tektoncd/chains/pkg/chains/formats/slsa/internal/slsaconfig [no test files] === RUN TestTaskRunCreatePayload1 --- PASS: TestTaskRunCreatePayload1 (0.21s) === RUN TestPipelineRunCreatePayload logger.go:146: 2025-06-11T07:47:12.702Z DEBUG artifacts/signable.go:265 ExtractStructuredTargetFromResults: error getting digest sha256:: invalid checksum digest length logger.go:146: 2025-06-11T07:47:12.702Z DEBUG artifacts/signable.go:265 ExtractStructuredTargetFromResults: img_no_uri-ARTIFACT_OUTPUTS should have uri field: map[digest:sha256:827521c857fdcd4374f4da5442fbae2edb01e7fbae285c3ec15673d4c1daecb7] logger.go:146: 2025-06-11T07:47:12.702Z DEBUG artifacts/signable.go:268 Extracted Structured data from Result abc, sha256:827521c857fdcd4374f4da5442fbae2edb01e7fbae285c3ec15673d4c1daecb7 --- PASS: TestPipelineRunCreatePayload (0.41s) === RUN TestPipelineRunCreatePayloadChildRefs --- PASS: TestPipelineRunCreatePayloadChildRefs (0.79s) === RUN TestTaskRunCreatePayload2 --- PASS: TestTaskRunCreatePayload2 (0.08s) === RUN TestMultipleSubjects --- PASS: TestMultipleSubjects (0.20s) === RUN TestNewFormatter === RUN TestNewFormatter/Ok --- PASS: TestNewFormatter (0.00s) --- PASS: TestNewFormatter/Ok (0.00s) === RUN TestCreatePayloadError === RUN TestCreatePayloadError/Invalid_type --- PASS: TestCreatePayloadError (0.00s) --- PASS: TestCreatePayloadError/Invalid_type (0.00s) === RUN TestCorrectPayloadType --- PASS: TestCorrectPayloadType (0.00s) PASS ok github.com/tektoncd/chains/pkg/chains/formats/slsa/v1 3.105s ? github.com/tektoncd/chains/pkg/chains/formats/slsa/v1/internal/protos [no test files] === RUN TestInvocation --- PASS: TestInvocation (0.00s) === RUN TestBuildConfig --- PASS: TestBuildConfig (0.06s) === RUN TestBuildConfigMismatchStatusStepsAndTaskSpec logger.go:146: 2025-06-11T07:47:15.681Z 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-06-11T07:47:15.681Z 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-06-11T07:47:15.681Z 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 --- PASS: TestBuildConfigTaskOrder (0.09s) --- PASS: TestBuildConfigTaskOrder/Referencing_previous_task_via_parameter (0.01s) --- PASS: TestBuildConfigTaskOrder/Referencing_previous_task_via_runAfter (0.01s) --- PASS: TestBuildConfigTaskOrder/Referencing_previous_task_via_when.Input (0.01s) --- PASS: TestBuildConfigTaskOrder/Referencing_previous_task_via_when.Value (0.07s) === RUN TestMetadata --- PASS: TestMetadata (0.00s) === RUN TestMetadataInTimeZone --- PASS: TestMetadataInTimeZone (0.00s) === RUN TestSubjectDigests logger.go:146: 2025-06-11T07:47:15.779Z DEBUG artifacts/signable.go:265 ExtractStructuredTargetFromResults: error getting digest sha256:: invalid checksum digest length logger.go:146: 2025-06-11T07:47:15.779Z DEBUG artifacts/signable.go:265 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.895s === RUN TestBuildConfig --- PASS: TestBuildConfig (0.03s) === RUN TestMetadata --- PASS: TestMetadata (0.00s) === RUN TestMetadataInTimeZone --- PASS: TestMetadataInTimeZone (0.00s) === RUN TestInvocation --- PASS: TestInvocation (0.00s) === RUN TestGetSubjectDigests logger.go:146: 2025-06-11T07:47:15.642Z DEBUG artifacts/signable.go:268 Extracted Structured data from Result projects/test-project-1/locations/us-west4/repositories/test-repo/mavenArtifacts/com.google.guava:guava:31.0-jre, sha256:05f95b26ed10668b7183c1e2da98610e91372fa9f510046d4ce5812addad86b5 logger.go:146: 2025-06-11T07:47:15.642Z DEBUG artifacts/signable.go:268 Extracted Structured data from Result com.google.guava:guava:1.0-jre.pom, sha256:05f95b26ed10668b7183c1e2da98610e91372fa9f510046d4ce5812addad86b6 --- PASS: TestGetSubjectDigests (0.05s) PASS ok github.com/tektoncd/chains/pkg/chains/formats/slsa/v1/taskrun 1.512s === RUN TestNewFormatter === RUN TestNewFormatter/Ok --- PASS: TestNewFormatter (0.00s) --- PASS: TestNewFormatter/Ok (0.00s) === RUN TestCreatePayloadError === RUN TestCreatePayloadError/Invalid_type --- PASS: TestCreatePayloadError (0.00s) --- PASS: TestCreatePayloadError/Invalid_type (0.00s) === RUN TestCorrectPayloadType --- PASS: TestCorrectPayloadType (0.00s) === RUN TestTaskRunCreatePayload1 --- PASS: TestTaskRunCreatePayload1 (0.10s) === RUN TestTaskRunCreatePayload2 --- PASS: TestTaskRunCreatePayload2 (0.08s) === RUN TestMultipleSubjects --- PASS: TestMultipleSubjects (0.03s) === RUN TestPipelineRunCreatePayload1 logger.go:146: 2025-06-11T07:47:16.382Z DEBUG artifacts/signable.go:268 Extracted Structured data from Result abc, sha256:827521c857fdcd4374f4da5442fbae2edb01e7fbae285c3ec15673d4c1daecb7 logger.go:146: 2025-06-11T07:47:16.384Z DEBUG artifacts/signable.go:265 ExtractStructuredTargetFromResults: error getting digest sha256:: invalid checksum digest length logger.go:146: 2025-06-11T07:47:16.384Z DEBUG artifacts/signable.go:265 ExtractStructuredTargetFromResults: img_no_uri-ARTIFACT_OUTPUTS should have uri field: map[digest:sha256:827521c857fdcd4374f4da5442fbae2edb01e7fbae285c3ec15673d4c1daecb7] --- PASS: TestPipelineRunCreatePayload1 (0.16s) PASS ok github.com/tektoncd/chains/pkg/chains/formats/slsa/v2alpha3 1.774s === RUN TestByProducts --- PASS: TestByProducts (0.06s) === RUN TestGenerateAttestation logger.go:146: 2025-06-11T07:47:16.100Z DEBUG artifacts/signable.go:268 Extracted Structured data from Result abc, sha256:827521c857fdcd4374f4da5442fbae2edb01e7fbae285c3ec15673d4c1daecb7 logger.go:146: 2025-06-11T07:47:16.100Z DEBUG artifacts/signable.go:265 ExtractStructuredTargetFromResults: error getting digest sha256:: invalid checksum digest length logger.go:146: 2025-06-11T07:47:16.101Z DEBUG artifacts/signable.go:265 ExtractStructuredTargetFromResults: img_no_uri-ARTIFACT_OUTPUTS should have uri field: map[digest:sha256:827521c857fdcd4374f4da5442fbae2edb01e7fbae285c3ec15673d4c1daecb7] --- PASS: TestGenerateAttestation (0.11s) PASS ok github.com/tektoncd/chains/pkg/chains/formats/slsa/v2alpha3/internal/pipelinerun 1.478s === RUN TestByProducts --- PASS: TestByProducts (0.00s) === RUN TestTaskRunGenerateAttestation --- PASS: TestTaskRunGenerateAttestation (0.11s) PASS ok github.com/tektoncd/chains/pkg/chains/formats/slsa/v2alpha3/internal/taskrun 1.657s === RUN TestNewFormatter === RUN TestNewFormatter/Ok --- PASS: TestNewFormatter (0.00s) --- PASS: TestNewFormatter/Ok (0.00s) === RUN TestCreatePayloadError === RUN TestCreatePayloadError/Invalid_type --- PASS: TestCreatePayloadError (0.00s) --- PASS: TestCreatePayloadError/Invalid_type (0.00s) === RUN TestCorrectPayloadType --- PASS: TestCorrectPayloadType (0.00s) === RUN TestTaskRunCreatePayload1 logger.go:146: 2025-06-11T07:47:16.381Z DEBUG artifacts/signable.go:287 Extracted Build artifact data from Result gcr.io/my/image/fromstep3, sha256:827521c857fdcd4374f4da5442fbae2edb01e7fbae285c3ec15673d4c1daecb7 --- PASS: TestTaskRunCreatePayload1 (0.10s) === RUN TestTaskRunCreatePayload2 logger.go:146: 2025-06-11T07:47:16.405Z DEBUG artifacts/signable.go:268 Extracted Structured data from Result https://github.com/tektoncd/pipeline, sha1:7f2f46e1b97df36b2b82d1b1d87c81b8b3d21601 --- PASS: TestTaskRunCreatePayload2 (0.09s) === RUN TestMultipleSubjects logger.go:146: 2025-06-11T07:47:16.495Z DEBUG artifacts/signable.go:287 Extracted Build artifact data from Result gcr.io/foo/bar, sha256:d4b63d3e24d6eef04a6dc0795cf8a73470688803d97c52cffa3c8d4efd3397b6 logger.go:146: 2025-06-11T07:47:16.495Z DEBUG artifacts/signable.go:287 Extracted Build artifact data from Result gcr.io/myimage2, sha256:9f036c6170dd7aba07e45cf2fe414c7ca792e5ede3bc3a78609e3aab4fa2ff2d --- PASS: TestMultipleSubjects (0.09s) PASS ok github.com/tektoncd/chains/pkg/chains/formats/slsa/v2alpha4 1.874s === RUN TestByProducts --- PASS: TestByProducts (0.00s) === RUN TestGenerateAttestation === RUN TestGenerateAttestation/attestation_without_deepinspection === NAME TestGenerateAttestation logger.go:146: 2025-06-11T07:47:16.195Z DEBUG artifacts/signable.go:268 Extracted Structured data from Result abc, sha256:827521c857fdcd4374f4da5442fbae2edb01e7fbae285c3ec15673d4c1daecb7 logger.go:146: 2025-06-11T07:47:16.197Z DEBUG artifacts/signable.go:287 Extracted Build artifact data from Result abc, sha256:827521c857fdcd4374f4da5442fbae2edb01e7fbae285c3ec15673d4c1daecb7 logger.go:146: 2025-06-11T07:47:16.197Z DEBUG artifacts/signable.go:283 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-06-11T07:47:16.388Z DEBUG artifacts/signable.go:268 Extracted Structured data from Result https://github.com/tektoncd/pipeline, sha1:7f2f46e1b97df36b2b82d1b1d87c81b8b3d21601 logger.go:146: 2025-06-11T07:47:16.389Z DEBUG artifacts/signable.go:268 Extracted Structured data from Result abc, sha256:827521c857fdcd4374f4da5442fbae2edb01e7fbae285c3ec15673d4c1daecb7 logger.go:146: 2025-06-11T07:47:16.390Z DEBUG artifacts/signable.go:287 Extracted Build artifact data from Result abc, sha256:827521c857fdcd4374f4da5442fbae2edb01e7fbae285c3ec15673d4c1daecb7 logger.go:146: 2025-06-11T07:47:16.390Z DEBUG artifacts/signable.go:283 ExtractBuildArtifactsFromResults failed validatin artifact img2-ARTIFACT_OUTPUTS, ignoring artifact, err: error getting digest sha256:: invalid checksum digest length logger.go:146: 2025-06-11T07:47:16.390Z DEBUG artifacts/signable.go:287 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-06-11T07:47:16.604Z DEBUG artifacts/signable.go:268 Extracted Structured data from Result https://github.com/tektoncd/pipeline, sha1:7f2f46e1b97df36b2b82d1b1d87c81b8b3d21601 logger.go:146: 2025-06-11T07:47:16.604Z DEBUG artifacts/signable.go:268 Extracted Structured data from Result abc, sha256:827521c857fdcd4374f4da5442fbae2edb01e7fbae285c3ec15673d4c1daecb7 logger.go:146: 2025-06-11T07:47:16.605Z DEBUG artifacts/signable.go:287 Extracted Build artifact data from Result abc, sha256:827521c857fdcd4374f4da5442fbae2edb01e7fbae285c3ec15673d4c1daecb7 logger.go:146: 2025-06-11T07:47:16.605Z DEBUG artifacts/signable.go:283 ExtractBuildArtifactsFromResults failed validatin artifact img2-ARTIFACT_OUTPUTS, ignoring artifact, err: error getting digest sha256:: invalid checksum digest length logger.go:146: 2025-06-11T07:47:16.606Z DEBUG artifacts/signable.go:287 Extracted Build artifact data from Result gcr.io/common/image, sha256:33e7e52645f4859622e282167d9200da9861b3d0a6e9c93b85e9cae5526ffc0a logger.go:146: 2025-06-11T07:47:16.606Z DEBUG artifacts/signable.go:287 Extracted Build artifact data from Result gcr.io/task2/step/artifact, sha256:cb06e289303c9529cd980657a5b1a2c8a146c1b13ca08a2bbedb72ec4b7573b9 logger.go:146: 2025-06-11T07:47:16.606Z DEBUG artifacts/signable.go:287 Extracted Build artifact data from Result gcr.io/common/image, sha256:33e7e52645f4859622e282167d9200da9861b3d0a6e9c93b85e9cae5526ffc0a logger.go:146: 2025-06-11T07:47:16.606Z DEBUG artifacts/signable.go:287 Extracted Build artifact data from Result gcr.io/common/image, sha256:33e7e52645f4859622e282167d9200da9861b3d0a6e9c93b85e9cae5526ffc0a logger.go:146: 2025-06-11T07:47:16.606Z DEBUG artifacts/signable.go:287 Extracted Build artifact data from Result gcr.io/common/image, sha256:33e7e52645f4859622e282167d9200da9861b3d0a6e9c93b85e9cae5526ffc0a logger.go:146: 2025-06-11T07:47:16.606Z DEBUG artifacts/signable.go:287 Extracted Build artifact data from Result gcr.io/my/image/fromstep3, sha256:827521c857fdcd4374f4da5442fbae2edb01e7fbae285c3ec15673d4c1daecb7 --- PASS: TestGenerateAttestation (0.63s) --- PASS: TestGenerateAttestation/attestation_without_deepinspection (0.19s) --- PASS: TestGenerateAttestation/attestation_with_deepinspection (0.22s) --- PASS: TestGenerateAttestation/attestation_with_no_repetead_subjects (0.11s) PASS ok github.com/tektoncd/chains/pkg/chains/formats/slsa/v2alpha4/internal/pipelinerun 2.070s === RUN TestByProducts --- PASS: TestByProducts (0.00s) === RUN TestTaskRunGenerateAttestation logger.go:146: 2025-06-11T07:47:23.810Z DEBUG artifacts/signable.go:287 Extracted Build artifact data from Result gcr.io/my/image/fromstep3, sha256:827521c857fdcd4374f4da5442fbae2edb01e7fbae285c3ec15673d4c1daecb7 --- PASS: TestTaskRunGenerateAttestation (0.19s) PASS ok github.com/tektoncd/chains/pkg/chains/formats/slsa/v2alpha4/internal/taskrun 1.690s === RUN TestPipelineRun_GetProvenance === RUN TestPipelineRun_GetProvenance/TestPipelineRun_GetProvenance --- PASS: TestPipelineRun_GetProvenance (0.00s) --- PASS: TestPipelineRun_GetProvenance/TestPipelineRun_GetProvenance (0.00s) === RUN TestTaskRun_GetProvenance === RUN TestTaskRun_GetProvenance/TestTaskRun_GetProvenance --- PASS: TestTaskRun_GetProvenance (0.00s) --- PASS: TestTaskRun_GetProvenance/TestTaskRun_GetProvenance (0.00s) === RUN TestPipelineRun_GetResults === RUN TestPipelineRun_GetResults/TestPipelineRun_GetResults --- PASS: TestPipelineRun_GetResults (0.00s) --- PASS: TestPipelineRun_GetResults/TestPipelineRun_GetResults (0.00s) === RUN TestTaskRun_GetStepImages === RUN TestTaskRun_GetStepImages/TestTaskRun_GetStepImages --- PASS: TestTaskRun_GetStepImages (0.00s) --- PASS: TestTaskRun_GetStepImages/TestTaskRun_GetStepImages (0.00s) === RUN TestTaskRun_GetSidecarImages === RUN TestTaskRun_GetSidecarImages/TestTaskRun_GetSidecarImages --- PASS: TestTaskRun_GetSidecarImages (0.00s) --- PASS: TestTaskRun_GetSidecarImages/TestTaskRun_GetSidecarImages (0.00s) === RUN TestTaskRun_GetResults === RUN TestTaskRun_GetResults/TestTaskRun_GetResults --- PASS: TestTaskRun_GetResults (0.00s) --- PASS: TestTaskRun_GetResults/TestTaskRun_GetResults (0.00s) === RUN TestPipelineRun_GetGVK --- PASS: TestPipelineRun_GetGVK (0.00s) === RUN TestTaskRun_GetGVK --- PASS: TestTaskRun_GetGVK (0.00s) === RUN TestPipelineRun_GetKindName --- PASS: TestPipelineRun_GetKindName (0.00s) === RUN TestTaskRun_GetKindName --- PASS: TestTaskRun_GetKindName (0.00s) === RUN TestPipelineRun_GetServiceAccountName --- PASS: TestPipelineRun_GetServiceAccountName (0.00s) === RUN TestTaskRun_GetServiceAccountName --- PASS: TestTaskRun_GetServiceAccountName (0.00s) === RUN TestNewTektonObject --- PASS: TestNewTektonObject (0.00s) === RUN TestPipelineRun_GetTaskRunsFromTask --- PASS: TestPipelineRun_GetTaskRunsFromTask (0.00s) === RUN TestProvenanceExists --- PASS: TestProvenanceExists (0.00s) === RUN TestPipelineRunRemoteProvenance --- PASS: TestPipelineRunRemoteProvenance (0.00s) === RUN TestTaskRunRemoteProvenance --- PASS: TestTaskRunRemoteProvenance (0.00s) === RUN TestPipelineRunIsRemote --- PASS: TestPipelineRunIsRemote (0.00s) === RUN TestTaskRunIsRemote --- PASS: TestTaskRunIsRemote (0.00s) PASS ok github.com/tektoncd/chains/pkg/chains/objects 1.494s ? github.com/tektoncd/chains/pkg/chains/provenance [no test files] ? github.com/tektoncd/chains/pkg/chains/signing [no test files] === RUN TestInValidVaultAddressTimeout --- PASS: TestInValidVaultAddressTimeout (5.06s) === RUN TestInValidVaultAddressConnectionRefused --- PASS: TestInValidVaultAddressConnectionRefused (0.00s) === RUN TestValidVaultAddressConnectionWithoutPortAndScheme --- PASS: TestValidVaultAddressConnectionWithoutPortAndScheme (0.10s) === RUN TestValidVaultAddressConnectionWithoutScheme --- PASS: TestValidVaultAddressConnectionWithoutScheme (0.03s) === RUN TestValidVaultAddressConnection === RUN TestValidVaultAddressConnection/Validation_for_Vault_Address_with_HTTP_Url === RUN TestValidVaultAddressConnection/Validation_for_Vault_Address_with_HTTPS_URL 2025/06/11 07:47:29 http: TLS handshake error from 127.0.0.1:46820: EOF === RUN TestValidVaultAddressConnection/Validation_for_Vault_Address_with_Custom_Port_URL --- PASS: TestValidVaultAddressConnection (0.18s) --- PASS: TestValidVaultAddressConnection/Validation_for_Vault_Address_with_HTTP_Url (0.17s) --- PASS: TestValidVaultAddressConnection/Validation_for_Vault_Address_with_HTTPS_URL (0.00s) --- PASS: TestValidVaultAddressConnection/Validation_for_Vault_Address_with_Custom_Port_URL (0.00s) === RUN TestGetKMSAuthToken_NotADirectory --- PASS: TestGetKMSAuthToken_NotADirectory (0.00s) === RUN TestGetKMSAuthToken_FileNotFound --- PASS: TestGetKMSAuthToken_FileNotFound (0.00s) === RUN TestGetKMSAuthToken_ValidToken --- PASS: TestGetKMSAuthToken_ValidToken (0.00s) PASS ok github.com/tektoncd/chains/pkg/chains/signing/kms 6.618s === RUN TestCreateSignerFulcioEnabledDefaultTokenFileMissing --- PASS: TestCreateSignerFulcioEnabledDefaultTokenFileMissing (0.07s) === RUN TestCreateSignerFulcioEnabled logger.go:146: 2025-06-11T07:47:31.680Z INFO x509/x509.go:99 Attempting to get id token from provider filesystem-custom-path logger.go:146: 2025-06-11T07:47:31.681Z INFO x509/x509.go:116 Signing with fulcio ... Retrieving signed certificate... --- PASS: TestCreateSignerFulcioEnabled (0.00s) === RUN TestCreateSignerFulcioEnabledFilesystemProvider logger.go:146: 2025-06-11T07:47:31.682Z INFO x509/x509.go:99 Attempting to get id token from provider filesystem-custom-path logger.go:146: 2025-06-11T07:47:31.683Z INFO x509/x509.go:116 Signing with fulcio ... Retrieving signed certificate... --- PASS: TestCreateSignerFulcioEnabledFilesystemProvider (0.01s) === RUN TestSigner_SignECDSA logger.go:146: 2025-06-11T07:47:31.688Z INFO x509/x509.go:180 Found x509 key... --- PASS: TestSigner_SignECDSA (0.00s) === RUN TestSigner_SignED25519 x509_test.go:188: skip test until ed25519 signing is implemented --- SKIP: TestSigner_SignED25519 (0.00s) PASS ok github.com/tektoncd/chains/pkg/chains/signing/x509 1.668s # github.com/tektoncd/chains/pkg/chains/storage/oci [github.com/tektoncd/chains/pkg/chains/storage/oci.test] pkg/chains/storage/oci/oci_test.go:310:38: undefined: objects.NewTaskRunObjectV1Beta1 === RUN TestInitializeBackends === RUN TestInitializeBackends/none logger.go:146: 2025-06-11T07:48:03.481Z INFO storage/storage.go:62 configured backends from config: [] logger.go:146: 2025-06-11T07:48:03.481Z INFO storage/storage.go:106 successfully initialized backends: [] storage_test.go:84: Backend: map[] === RUN TestInitializeBackends/tekton logger.go:146: 2025-06-11T07:48:03.482Z INFO storage/storage.go:62 configured backends from config: [tekton] logger.go:146: 2025-06-11T07:48:03.482Z INFO storage/storage.go:106 successfully initialized backends: [tekton] storage_test.go:84: Backend: map[tekton:0xc000416c50] === RUN TestInitializeBackends/oci logger.go:146: 2025-06-11T07:48:03.482Z INFO storage/storage.go:62 configured backends from config: [oci] logger.go:146: 2025-06-11T07:48:03.482Z INFO storage/storage.go:106 successfully initialized backends: [oci] storage_test.go:84: Backend: map[oci:0xc0005cf8c8] === RUN TestInitializeBackends/multi logger.go:146: 2025-06-11T07:48:03.483Z INFO storage/storage.go:62 configured backends from config: [oci tekton] logger.go:146: 2025-06-11T07:48:03.483Z INFO storage/storage.go:106 successfully initialized backends: [oci tekton] storage_test.go:84: Backend: map[oci:0xc0005fa588 tekton:0xc000417010] === RUN TestInitializeBackends/pubsub logger.go:146: 2025-06-11T07:48:03.483Z INFO storage/storage.go:62 configured backends from config: [pubsub] logger.go:146: 2025-06-11T07:48:03.483Z INFO storage/storage.go:106 successfully initialized backends: [pubsub] storage_test.go:84: Backend: map[pubsub:0xc00064a788] --- PASS: TestInitializeBackends (0.00s) --- PASS: TestInitializeBackends/none (0.00s) --- PASS: TestInitializeBackends/tekton (0.00s) --- PASS: TestInitializeBackends/oci (0.00s) --- PASS: TestInitializeBackends/multi (0.00s) --- PASS: TestInitializeBackends/pubsub (0.00s) PASS ok github.com/tektoncd/chains/pkg/chains/storage 1.612s ? github.com/tektoncd/chains/pkg/chains/storage/api [no test files] === RUN TestStorePayload_TaskRun {"level":"info","ts":1749628083.2889948,"logger":"fallback","caller":"archivista/archivista.go:79","msg":"Successfully uploaded DSSE envelope to Archivista, response: {Gitoid:fake-gitoid}"} --- PASS: TestStorePayload_TaskRun (0.01s) === RUN TestStorePayload_ErrorCases === RUN TestStorePayload_ErrorCases/non-dsse_signature {"level":"error","ts":1749628083.2899497,"logger":"fallback","caller":"archivista/archivista.go:70","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:70\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:139\ntesting.tRunner\n\t/home/prow/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.1.linux-amd64/src/testing/testing.go:1792"} --- PASS: TestStorePayload_ErrorCases (0.00s) --- PASS: TestStorePayload_ErrorCases/non-dsse_signature (0.00s) PASS ok github.com/tektoncd/chains/pkg/chains/storage/archivista 1.409s === RUN TestBackend_StorePayload === RUN TestBackend_StorePayload/no_error === RUN TestBackend_StorePayload/no_error_-_PipelineRun --- PASS: TestBackend_StorePayload (0.01s) --- PASS: TestBackend_StorePayload/no_error (0.01s) --- PASS: TestBackend_StorePayload/no_error_-_PipelineRun (0.00s) === RUN TestPopulateMongoServerURL === RUN TestPopulateMongoServerURL/fail_when_MONGO_SERVER_URL_is_not_set_but_storage.docdb.url_is_set === RUN TestPopulateMongoServerURL/pass_when_MONGO_SERVER_URL_is_set_and_storage.docdb.url_is_set === RUN TestPopulateMongoServerURL/storage.docdb.mongo-server-url_has_more_precedence_than_MONGO_SERVER_URL logger.go:146: 2025-06-11T07:48:03.409Z INFO docdb/docdb.go:291 setting MONGO_SERVER_URL from storage.docdb.mongo-server-url === RUN TestPopulateMongoServerURL/storage.docdb.mongo-server-url_works_solo logger.go:146: 2025-06-11T07:48:03.410Z INFO docdb/docdb.go:291 setting MONGO_SERVER_URL from storage.docdb.mongo-server-url === RUN TestPopulateMongoServerURL/storage.docdb.mongo-server-url-dir_has_precedence_over_storage.docdb.mongo-server-url_and_MONGO_SERVER_URL logger.go:146: 2025-06-11T07:48:03.410Z INFO docdb/docdb.go:283 setting MONGO_SERVER_URL from storage.docdb.mongo-server-url-dir: /tmp/TestPopulateMongoServerURL1504039909/001 --- PASS: TestPopulateMongoServerURL (0.00s) --- PASS: TestPopulateMongoServerURL/fail_when_MONGO_SERVER_URL_is_not_set_but_storage.docdb.url_is_set (0.00s) --- PASS: TestPopulateMongoServerURL/pass_when_MONGO_SERVER_URL_is_set_and_storage.docdb.url_is_set (0.00s) --- PASS: TestPopulateMongoServerURL/storage.docdb.mongo-server-url_has_more_precedence_than_MONGO_SERVER_URL (0.00s) --- PASS: TestPopulateMongoServerURL/storage.docdb.mongo-server-url_works_solo (0.00s) --- PASS: TestPopulateMongoServerURL/storage.docdb.mongo-server-url-dir_has_precedence_over_storage.docdb.mongo-server-url_and_MONGO_SERVER_URL (0.00s) === RUN TestSetMongoServerURLFromDir === RUN TestSetMongoServerURLFromDir/error_if_path_is_not_a_directory === RUN TestSetMongoServerURLFromDir/verify_if_MONGO_SERVER_URL_is_being_set_from_path === RUN TestSetMongoServerURLFromDir/no_error_if_path_does_not_exist_(it_will_be_created) --- PASS: TestSetMongoServerURLFromDir (0.00s) --- PASS: TestSetMongoServerURLFromDir/error_if_path_is_not_a_directory (0.00s) --- PASS: TestSetMongoServerURLFromDir/verify_if_MONGO_SERVER_URL_is_being_set_from_path (0.00s) --- PASS: TestSetMongoServerURLFromDir/no_error_if_path_does_not_exist_(it_will_be_created) (0.00s) === RUN TestWatchBackend === RUN TestWatchBackend/ErrNothingToWatch_when_it's_not_a_MongoDB_URL docdb_test.go:343: could not send close event to fsnotify === RUN TestWatchBackend/ErrNothingToWatch_when_not_storage.docdb.mongo-server-url-dir_not_set docdb_test.go:343: could not send close event to fsnotify --- PASS: TestWatchBackend (0.00s) --- PASS: TestWatchBackend/ErrNothingToWatch_when_it's_not_a_MongoDB_URL (0.00s) --- PASS: TestWatchBackend/ErrNothingToWatch_when_not_storage.docdb.mongo-server-url-dir_not_set (0.00s) PASS ok github.com/tektoncd/chains/pkg/chains/storage/docdb 1.533s === RUN TestBackend_StorePayload === RUN TestBackend_StorePayload/no_error,_intoto logger.go:146: 2025-06-11T07:48:03.299Z INFO gcs/gcs.go:279 Storing signature at taskrun-foo-bar/foo.uuid.signature logger.go:146: 2025-06-11T07:48:03.300Z INFO gcs/gcs.go:279 Storing signature at pipelinerun-foo-bar/foo.uuid.signature === RUN TestBackend_StorePayload/no_error,_tekton logger.go:146: 2025-06-11T07:48:03.300Z INFO gcs/gcs.go:279 Storing signature at taskrun-foo-bar/foo.uuid.signature logger.go:146: 2025-06-11T07:48:03.300Z INFO gcs/gcs.go:279 Storing signature at pipelinerun-foo-bar/foo.uuid.signature --- PASS: TestBackend_StorePayload (0.00s) --- PASS: TestBackend_StorePayload/no_error,_intoto (0.00s) --- PASS: TestBackend_StorePayload/no_error,_tekton (0.00s) PASS ok github.com/tektoncd/chains/pkg/chains/storage/gcs 1.421s === RUN TestBackend_ListOccurrences --- PASS: TestBackend_ListOccurrences (0.34s) === RUN TestGrafeasBackend_StoreAndRetrieve === RUN TestGrafeasBackend_StoreAndRetrieve/intoto_for_clone_taskrun,_no_error,_no_occurrences_created_because_no_artifacts_were_built. logger.go:146: 2025-06-11T07:48:03.636Z INFO grafeas/grafeas.go:123 No occurrences created for payload of type slsa/v1 for tekton.dev/v1/TaskRun default/git-clone === RUN TestGrafeasBackend_StoreAndRetrieve/intoto_for_build_taskrun,_no_error,_2_BUILD_occurrences_should_be_created_for_the_2_artifacts_generated. logger.go:146: 2025-06-11T07:48:03.677Z INFO grafeas/grafeas.go:125 Successfully created grafeas occurrences [gcr.io/test/kaniko-chains1@sha256:a2e500bebfe16cf12fc56316ba72c645e1d29054541dc1ab6c286197434170a9 us-central1-maven.pkg.dev/test/java@sha256:b2e500bebfe16cf12fc56316ba72c645e1d29054541dc1ab6c286197434170a9] for tekton.dev/v1/TaskRun default/artifact-build === RUN TestGrafeasBackend_StoreAndRetrieve/simplesigning_for_the_build_taskrun,_no_error,_1_ATTESTATION_occurrence_should_be_created_for_the_artifact_specified_in_storageopts.key logger.go:146: 2025-06-11T07:48:03.685Z INFO grafeas/grafeas.go:125 Successfully created grafeas occurrences [gcr.io/test/kaniko-chains1@sha256:a2e500bebfe16cf12fc56316ba72c645e1d29054541dc1ab6c286197434170a9] for tekton.dev/v1/TaskRun default/artifact-build logger.go:146: 2025-06-11T07:48:03.685Z INFO grafeas/grafeas.go:279 couldn't get URIs from payloader simplesigning, will use extract.RetrieveAllArtifactURIs method instead logger.go:146: 2025-06-11T07:48:03.687Z INFO grafeas/grafeas.go:279 couldn't get URIs from payloader simplesigning, will use extract.RetrieveAllArtifactURIs method instead === RUN TestGrafeasBackend_StoreAndRetrieve/intoto_for_the_ci_pipeline,_no_error,_2_occurrences_should_be_created_for_the_pipelinerun_for_the_2_artifact_generated. logger.go:146: 2025-06-11T07:48:03.694Z INFO grafeas/grafeas.go:125 Successfully created grafeas occurrences [gcr.io/test/kaniko-chains1@sha256:a2e500bebfe16cf12fc56316ba72c645e1d29054541dc1ab6c286197434170a9 us-central1-maven.pkg.dev/test/java@sha256:b2e500bebfe16cf12fc56316ba72c645e1d29054541dc1ab6c286197434170a9] for tekton.dev/v1/PipelineRun default/ci-pipeline === RUN TestGrafeasBackend_StoreAndRetrieve/tekton_format_for_a_taskrun,_error,_only_simplesigning_and_intoto_are_supported === RUN TestGrafeasBackend_StoreAndRetrieve/slsav1/v2alpha4_taskrun_format,_no_error logger.go:146: 2025-06-11T07:48:03.700Z DEBUG artifacts/signable.go:287 Extracted Build artifact data from Result gcr.io/img1, sha256:52e18b100a8da6e191a1955913ba127b75a8b38146cd9b0f573ec1d8e8ecd135 logger.go:146: 2025-06-11T07:48:03.700Z DEBUG artifacts/signable.go:287 Extracted Build artifact data from Result gcr.io/img4, sha256:910700c5ace59f70588c4e2a38ed131146c9f65c94379dfe12376075fc2f338f logger.go:146: 2025-06-11T07:48:03.700Z DEBUG artifacts/signable.go:287 Extracted Build artifact data from Result gcr.io/img1, sha256:52e18b100a8da6e191a1955913ba127b75a8b38146cd9b0f573ec1d8e8ecd135 logger.go:146: 2025-06-11T07:48:03.705Z INFO grafeas/grafeas.go:125 Successfully created grafeas occurrences [gcr.io/img1@sha256:52e18b100a8da6e191a1955913ba127b75a8b38146cd9b0f573ec1d8e8ecd135 gcr.io/img4@sha256:910700c5ace59f70588c4e2a38ed131146c9f65c94379dfe12376075fc2f338f gcr.io/img3@sha256:ef334b5d9704da9b325ed6d4e3e5327863847e2da6d43f81831fd1decbdb2213] for tekton.dev/v1/TaskRun default/taskrun-with-steps logger.go:146: 2025-06-11T07:48:03.705Z DEBUG artifacts/signable.go:287 Extracted Build artifact data from Result gcr.io/img1, sha256:52e18b100a8da6e191a1955913ba127b75a8b38146cd9b0f573ec1d8e8ecd135 logger.go:146: 2025-06-11T07:48:03.706Z DEBUG artifacts/signable.go:287 Extracted Build artifact data from Result gcr.io/img4, sha256:910700c5ace59f70588c4e2a38ed131146c9f65c94379dfe12376075fc2f338f logger.go:146: 2025-06-11T07:48:03.706Z DEBUG artifacts/signable.go:287 Extracted Build artifact data from Result gcr.io/img1, sha256:52e18b100a8da6e191a1955913ba127b75a8b38146cd9b0f573ec1d8e8ecd135 logger.go:146: 2025-06-11T07:48:03.706Z DEBUG artifacts/signable.go:287 Extracted Build artifact data from Result gcr.io/img1, sha256:52e18b100a8da6e191a1955913ba127b75a8b38146cd9b0f573ec1d8e8ecd135 logger.go:146: 2025-06-11T07:48:03.706Z DEBUG artifacts/signable.go:287 Extracted Build artifact data from Result gcr.io/img4, sha256:910700c5ace59f70588c4e2a38ed131146c9f65c94379dfe12376075fc2f338f logger.go:146: 2025-06-11T07:48:03.706Z DEBUG artifacts/signable.go:287 Extracted Build artifact data from Result gcr.io/img1, sha256:52e18b100a8da6e191a1955913ba127b75a8b38146cd9b0f573ec1d8e8ecd135 logger.go:146: 2025-06-11T07:48:03.709Z DEBUG artifacts/signable.go:287 Extracted Build artifact data from Result gcr.io/img1, sha256:52e18b100a8da6e191a1955913ba127b75a8b38146cd9b0f573ec1d8e8ecd135 logger.go:146: 2025-06-11T07:48:03.710Z DEBUG artifacts/signable.go:287 Extracted Build artifact data from Result gcr.io/img4, sha256:910700c5ace59f70588c4e2a38ed131146c9f65c94379dfe12376075fc2f338f logger.go:146: 2025-06-11T07:48:03.710Z DEBUG artifacts/signable.go:287 Extracted Build artifact data from Result gcr.io/img1, sha256:52e18b100a8da6e191a1955913ba127b75a8b38146cd9b0f573ec1d8e8ecd135 logger.go:146: 2025-06-11T07:48:03.710Z DEBUG artifacts/signable.go:287 Extracted Build artifact data from Result gcr.io/img1, sha256:52e18b100a8da6e191a1955913ba127b75a8b38146cd9b0f573ec1d8e8ecd135 logger.go:146: 2025-06-11T07:48:03.710Z DEBUG artifacts/signable.go:287 Extracted Build artifact data from Result gcr.io/img4, sha256:910700c5ace59f70588c4e2a38ed131146c9f65c94379dfe12376075fc2f338f logger.go:146: 2025-06-11T07:48:03.710Z DEBUG artifacts/signable.go:287 Extracted Build artifact data from Result gcr.io/img1, sha256:52e18b100a8da6e191a1955913ba127b75a8b38146cd9b0f573ec1d8e8ecd135 === RUN TestGrafeasBackend_StoreAndRetrieve/slsav1/v2alpha4_pipelinerun_format,_no_error logger.go:146: 2025-06-11T07:48:03.713Z DEBUG artifacts/signable.go:287 Extracted Build artifact data from Result gcr.io/img1, sha256:52e18b100a8da6e191a1955913ba127b75a8b38146cd9b0f573ec1d8e8ecd135 logger.go:146: 2025-06-11T07:48:03.716Z DEBUG artifacts/signable.go:287 Extracted Build artifact data from Result gcr.io/img0, sha256:e82e58757ff417de62d35689a6ff58f4a3975c331595ceda979d900d4f5de465 logger.go:146: 2025-06-11T07:48:03.718Z DEBUG artifacts/signable.go:287 Extracted Build artifact data from Result gcr.io/img1, sha256:52e18b100a8da6e191a1955913ba127b75a8b38146cd9b0f573ec1d8e8ecd135 logger.go:146: 2025-06-11T07:48:03.718Z DEBUG artifacts/signable.go:287 Extracted Build artifact data from Result gcr.io/img4, sha256:910700c5ace59f70588c4e2a38ed131146c9f65c94379dfe12376075fc2f338f logger.go:146: 2025-06-11T07:48:03.718Z DEBUG artifacts/signable.go:287 Extracted Build artifact data from Result gcr.io/img1, sha256:52e18b100a8da6e191a1955913ba127b75a8b38146cd9b0f573ec1d8e8ecd135 logger.go:146: 2025-06-11T07:48:03.781Z INFO grafeas/grafeas.go:125 Successfully created grafeas occurrences [gcr.io/img1@sha256:52e18b100a8da6e191a1955913ba127b75a8b38146cd9b0f573ec1d8e8ecd135 gcr.io/img0@sha256:e82e58757ff417de62d35689a6ff58f4a3975c331595ceda979d900d4f5de465 gcr.io/img4@sha256:910700c5ace59f70588c4e2a38ed131146c9f65c94379dfe12376075fc2f338f gcr.io/img3@sha256:ef334b5d9704da9b325ed6d4e3e5327863847e2da6d43f81831fd1decbdb2213] for tekton.dev/v1/PipelineRun default/pipeline-with-steps logger.go:146: 2025-06-11T07:48:03.781Z DEBUG artifacts/signable.go:287 Extracted Build artifact data from Result gcr.io/img1, sha256:52e18b100a8da6e191a1955913ba127b75a8b38146cd9b0f573ec1d8e8ecd135 logger.go:146: 2025-06-11T07:48:03.781Z DEBUG artifacts/signable.go:287 Extracted Build artifact data from Result gcr.io/img0, sha256:e82e58757ff417de62d35689a6ff58f4a3975c331595ceda979d900d4f5de465 logger.go:146: 2025-06-11T07:48:03.781Z DEBUG artifacts/signable.go:287 Extracted Build artifact data from Result gcr.io/img1, sha256:52e18b100a8da6e191a1955913ba127b75a8b38146cd9b0f573ec1d8e8ecd135 logger.go:146: 2025-06-11T07:48:03.781Z DEBUG artifacts/signable.go:287 Extracted Build artifact data from Result gcr.io/img4, sha256:910700c5ace59f70588c4e2a38ed131146c9f65c94379dfe12376075fc2f338f logger.go:146: 2025-06-11T07:48:03.781Z DEBUG artifacts/signable.go:287 Extracted Build artifact data from Result gcr.io/img1, sha256:52e18b100a8da6e191a1955913ba127b75a8b38146cd9b0f573ec1d8e8ecd135 logger.go:146: 2025-06-11T07:48:03.781Z DEBUG artifacts/signable.go:287 Extracted Build artifact data from Result gcr.io/img1, sha256:52e18b100a8da6e191a1955913ba127b75a8b38146cd9b0f573ec1d8e8ecd135 logger.go:146: 2025-06-11T07:48:03.782Z DEBUG artifacts/signable.go:287 Extracted Build artifact data from Result gcr.io/img0, sha256:e82e58757ff417de62d35689a6ff58f4a3975c331595ceda979d900d4f5de465 logger.go:146: 2025-06-11T07:48:03.782Z DEBUG artifacts/signable.go:287 Extracted Build artifact data from Result gcr.io/img1, sha256:52e18b100a8da6e191a1955913ba127b75a8b38146cd9b0f573ec1d8e8ecd135 logger.go:146: 2025-06-11T07:48:03.782Z DEBUG artifacts/signable.go:287 Extracted Build artifact data from Result gcr.io/img4, sha256:910700c5ace59f70588c4e2a38ed131146c9f65c94379dfe12376075fc2f338f logger.go:146: 2025-06-11T07:48:03.782Z DEBUG artifacts/signable.go:287 Extracted Build artifact data from Result gcr.io/img1, sha256:52e18b100a8da6e191a1955913ba127b75a8b38146cd9b0f573ec1d8e8ecd135 logger.go:146: 2025-06-11T07:48:03.785Z DEBUG artifacts/signable.go:287 Extracted Build artifact data from Result gcr.io/img1, sha256:52e18b100a8da6e191a1955913ba127b75a8b38146cd9b0f573ec1d8e8ecd135 logger.go:146: 2025-06-11T07:48:03.785Z DEBUG artifacts/signable.go:287 Extracted Build artifact data from Result gcr.io/img0, sha256:e82e58757ff417de62d35689a6ff58f4a3975c331595ceda979d900d4f5de465 logger.go:146: 2025-06-11T07:48:03.785Z DEBUG artifacts/signable.go:287 Extracted Build artifact data from Result gcr.io/img1, sha256:52e18b100a8da6e191a1955913ba127b75a8b38146cd9b0f573ec1d8e8ecd135 logger.go:146: 2025-06-11T07:48:03.785Z DEBUG artifacts/signable.go:287 Extracted Build artifact data from Result gcr.io/img4, sha256:910700c5ace59f70588c4e2a38ed131146c9f65c94379dfe12376075fc2f338f logger.go:146: 2025-06-11T07:48:03.785Z DEBUG artifacts/signable.go:287 Extracted Build artifact data from Result gcr.io/img1, sha256:52e18b100a8da6e191a1955913ba127b75a8b38146cd9b0f573ec1d8e8ecd135 logger.go:146: 2025-06-11T07:48:03.785Z DEBUG artifacts/signable.go:287 Extracted Build artifact data from Result gcr.io/img1, sha256:52e18b100a8da6e191a1955913ba127b75a8b38146cd9b0f573ec1d8e8ecd135 logger.go:146: 2025-06-11T07:48:03.786Z DEBUG artifacts/signable.go:287 Extracted Build artifact data from Result gcr.io/img0, sha256:e82e58757ff417de62d35689a6ff58f4a3975c331595ceda979d900d4f5de465 logger.go:146: 2025-06-11T07:48:03.786Z DEBUG artifacts/signable.go:287 Extracted Build artifact data from Result gcr.io/img1, sha256:52e18b100a8da6e191a1955913ba127b75a8b38146cd9b0f573ec1d8e8ecd135 logger.go:146: 2025-06-11T07:48:03.786Z DEBUG artifacts/signable.go:287 Extracted Build artifact data from Result gcr.io/img4, sha256:910700c5ace59f70588c4e2a38ed131146c9f65c94379dfe12376075fc2f338f logger.go:146: 2025-06-11T07:48:03.786Z DEBUG artifacts/signable.go:287 Extracted Build artifact data from Result gcr.io/img1, sha256:52e18b100a8da6e191a1955913ba127b75a8b38146cd9b0f573ec1d8e8ecd135 --- PASS: TestGrafeasBackend_StoreAndRetrieve (0.38s) --- PASS: TestGrafeasBackend_StoreAndRetrieve/intoto_for_clone_taskrun,_no_error,_no_occurrences_created_because_no_artifacts_were_built. (0.00s) --- PASS: TestGrafeasBackend_StoreAndRetrieve/intoto_for_build_taskrun,_no_error,_2_BUILD_occurrences_should_be_created_for_the_2_artifacts_generated. (0.05s) --- PASS: TestGrafeasBackend_StoreAndRetrieve/simplesigning_for_the_build_taskrun,_no_error,_1_ATTESTATION_occurrence_should_be_created_for_the_artifact_specified_in_storageopts.key (0.01s) --- PASS: TestGrafeasBackend_StoreAndRetrieve/intoto_for_the_ci_pipeline,_no_error,_2_occurrences_should_be_created_for_the_pipelinerun_for_the_2_artifact_generated. (0.01s) --- PASS: TestGrafeasBackend_StoreAndRetrieve/tekton_format_for_a_taskrun,_error,_only_simplesigning_and_intoto_are_supported (0.00s) --- PASS: TestGrafeasBackend_StoreAndRetrieve/slsav1/v2alpha4_taskrun_format,_no_error (0.01s) --- PASS: TestGrafeasBackend_StoreAndRetrieve/slsav1/v2alpha4_pipelinerun_format,_no_error (0.08s) PASS ok github.com/tektoncd/chains/pkg/chains/storage/grafeas 2.128s FAIL github.com/tektoncd/chains/pkg/chains/storage/oci [build failed] === RUN TestBackend_StorePayload === RUN TestBackend_StorePayload/no_subject logger.go:146: 2025-06-11T07:48:03.281Z INFO pubsub/pubsub.go:55 Storing payload on Object bar/foo logger.go:146: 2025-06-11T07:48:03.281Z INFO pubsub/pubsub.go:95 Creating new "inmemory" pubsub producer for "test" topic logger.go:146: 2025-06-11T07:48:03.281Z INFO pubsub/pubsub.go:106 Configuring in-memory producer: mem://test === NAME TestBackend_StorePayload logger.go:146: 2025-06-11T07:48:03.283Z ERROR pubsub/pubsub_test.go:100 pubsub: Topic has been Shutdown (code=FailedPrecondition) --- PASS: TestBackend_StorePayload (0.00s) --- PASS: TestBackend_StorePayload/no_subject (0.00s) PASS ok github.com/tektoncd/chains/pkg/chains/storage/pubsub 1.401s === RUN TestBackend_StorePayload === RUN TestBackend_StorePayload/simple_taskrun logger.go:146: 2025-06-11T07:48:03.285Z INFO tekton/tekton.go:164 Storing payload on tekton.dev/v1/TaskRun/bar/foo logger.go:146: 2025-06-11T07:48:03.303Z INFO tekton/tekton.go:130 Retrieving payload on tekton.dev/v1/TaskRun/bar/foo logger.go:146: 2025-06-11T07:48:03.304Z INFO tekton/tekton.go:87 Retrieving annotation "chains.tekton.dev/payload-mockpayload" on tekton.dev/v1/TaskRun/bar/foo logger.go:146: 2025-06-11T07:48:03.304Z INFO tekton/tekton.go:116 Retrieving signature on tekton.dev/v1/TaskRun/bar/foo logger.go:146: 2025-06-11T07:48:03.304Z INFO tekton/tekton.go:87 Retrieving annotation "chains.tekton.dev/signature-mockpayload" on tekton.dev/v1/TaskRun/bar/foo === RUN TestBackend_StorePayload/simple_pipelinerun logger.go:146: 2025-06-11T07:48:03.304Z INFO tekton/tekton.go:164 Storing payload on tekton.dev/v1/PipelineRun/bar/foo logger.go:146: 2025-06-11T07:48:03.308Z INFO tekton/tekton.go:130 Retrieving payload on tekton.dev/v1/PipelineRun/bar/foo logger.go:146: 2025-06-11T07:48:03.309Z INFO tekton/tekton.go:87 Retrieving annotation "chains.tekton.dev/payload-mockpayload" on tekton.dev/v1/PipelineRun/bar/foo logger.go:146: 2025-06-11T07:48:03.309Z INFO tekton/tekton.go:116 Retrieving signature on tekton.dev/v1/PipelineRun/bar/foo logger.go:146: 2025-06-11T07:48:03.309Z INFO tekton/tekton.go:87 Retrieving annotation "chains.tekton.dev/signature-mockpayload" on tekton.dev/v1/PipelineRun/bar/foo --- PASS: TestBackend_StorePayload (0.02s) --- PASS: TestBackend_StorePayload/simple_taskrun (0.02s) --- PASS: TestBackend_StorePayload/simple_pipelinerun (0.00s) PASS ok github.com/tektoncd/chains/pkg/chains/storage/tekton 1.427s === RUN TestNewConfigStore logger.go:146: 2025-06-11T07:48:03.293Z DEBUG configmap/store.go:155 chains config "chains-config" config was added or updated: &config.Config{Artifacts:config.ArtifactConfigs{OCI:config.Artifact{Format:"simplesigning", StorageBackend:sets.Set[string]{"oci":sets.Empty{}}, Signer:"x509", DeepInspectionEnabled:false}, PipelineRuns:config.Artifact{Format:"in-toto", StorageBackend:sets.Set[string]{"tekton":sets.Empty{}}, Signer:"x509", DeepInspectionEnabled:false}, TaskRuns:config.Artifact{Format:"in-toto", StorageBackend:sets.Set[string]{"tekton":sets.Empty{}}, Signer:"x509", DeepInspectionEnabled:false}}, Storage:config.StorageConfigs{GCS:config.GCSStorageConfig{Bucket:""}, OCI:config.OCIStorageConfig{Repository:"", Insecure:false}, Tekton:config.TektonStorageConfig{}, DocDB:config.DocDBStorageConfig{URL:"", MongoServerURL:"", MongoServerURLDir:"", MongoServerURLPath:""}, Grafeas:config.GrafeasConfig{ProjectID:"", NoteID:"", NoteHint:"This attestation note was generated by Tekton Chains"}, PubSub:config.PubSubStorageConfig{Provider:"", Topic:"", Kafka:config.KafkaStorageConfig{BootstrapServers:""}}, Archivista:config.ArchivistaStorageConfig{URL:""}}, Signers:config.SignerConfigs{X509:config.X509Signer{FulcioEnabled:false, FulcioAddr:"https://fulcio.sigstore.dev", FulcioOIDCIssuer:"https://oauth2.sigstore.dev/auth", FulcioProvider:"", IdentityTokenFile:"", TUFMirrorURL:"https://tuf-repo-cdn.sigstore.dev"}, KMS:config.KMSSigner{KMSRef:"", Auth:config.KMSAuth{Address:"", Token:"", TokenPath:"", OIDC:config.KMSAuthOIDC{Path:"", Role:""}, Spire:config.KMSAuthSpire{Sock:"", Audience:""}}}}, Builder:config.BuilderConfig{ID:"https://tekton.dev/chains/v2"}, Transparency:config.TransparencyConfig{Enabled:false, VerifyAnnotation:false, URL:"https://rekor.sigstore.dev"}, BuildDefinition:config.BuildDefinitionConfig{BuildType:"https://tekton.dev/chains/v2/slsa"}} logger.go:146: 2025-06-11T07:48:03.394Z DEBUG configmap/store.go:155 chains config "chains-config" config was added or updated: &config.Config{Artifacts:config.ArtifactConfigs{OCI:config.Artifact{Format:"simplesigning", StorageBackend:sets.Set[string]{"oci":sets.Empty{}}, Signer:"x509", DeepInspectionEnabled:false}, PipelineRuns:config.Artifact{Format:"in-toto", StorageBackend:sets.Set[string]{"tekton":sets.Empty{}}, Signer:"x509", DeepInspectionEnabled:false}, TaskRuns:config.Artifact{Format:"in-toto", StorageBackend:sets.Set[string]{"tekton":sets.Empty{}}, Signer:"x509", DeepInspectionEnabled:false}}, Storage:config.StorageConfigs{GCS:config.GCSStorageConfig{Bucket:""}, OCI:config.OCIStorageConfig{Repository:"", Insecure:false}, Tekton:config.TektonStorageConfig{}, DocDB:config.DocDBStorageConfig{URL:"", MongoServerURL:"", MongoServerURLDir:"", MongoServerURLPath:""}, Grafeas:config.GrafeasConfig{ProjectID:"", NoteID:"", NoteHint:"This attestation note was generated by Tekton Chains"}, PubSub:config.PubSubStorageConfig{Provider:"", Topic:"", Kafka:config.KafkaStorageConfig{BootstrapServers:""}}, Archivista:config.ArchivistaStorageConfig{URL:""}}, Signers:config.SignerConfigs{X509:config.X509Signer{FulcioEnabled:false, FulcioAddr:"https://fulcio.sigstore.dev", FulcioOIDCIssuer:"https://oauth2.sigstore.dev/auth", FulcioProvider:"", IdentityTokenFile:"", TUFMirrorURL:"https://tuf-repo-cdn.sigstore.dev"}, KMS:config.KMSSigner{KMSRef:"", Auth:config.KMSAuth{Address:"", Token:"", TokenPath:"", OIDC:config.KMSAuthOIDC{Path:"", Role:""}, Spire:config.KMSAuthSpire{Sock:"", Audience:""}}}}, Builder:config.BuilderConfig{ID:"https://tekton.dev/chains/v2"}, Transparency:config.TransparencyConfig{Enabled:false, VerifyAnnotation:false, URL:"https://rekor.sigstore.dev"}, BuildDefinition:config.BuildDefinitionConfig{BuildType:"https://tekton.dev/chains/v2/slsa"}} logger.go:146: 2025-06-11T07:48:03.495Z DEBUG configmap/store.go:155 chains config "chains-config" config was added or updated: &config.Config{Artifacts:config.ArtifactConfigs{OCI:config.Artifact{Format:"simplesigning", StorageBackend:sets.Set[string]{"oci":sets.Empty{}}, Signer:"x509", DeepInspectionEnabled:false}, PipelineRuns:config.Artifact{Format:"in-toto", StorageBackend:sets.Set[string]{"tekton":sets.Empty{}}, Signer:"x509", DeepInspectionEnabled:false}, TaskRuns:config.Artifact{Format:"in-toto", StorageBackend:sets.Set[string]{"tekton":sets.Empty{}}, Signer:"kms", DeepInspectionEnabled:false}}, Storage:config.StorageConfigs{GCS:config.GCSStorageConfig{Bucket:""}, OCI:config.OCIStorageConfig{Repository:"", Insecure:false}, Tekton:config.TektonStorageConfig{}, DocDB:config.DocDBStorageConfig{URL:"", MongoServerURL:"", MongoServerURLDir:"", MongoServerURLPath:""}, Grafeas:config.GrafeasConfig{ProjectID:"", NoteID:"", NoteHint:"This attestation note was generated by Tekton Chains"}, PubSub:config.PubSubStorageConfig{Provider:"", Topic:"", Kafka:config.KafkaStorageConfig{BootstrapServers:""}}, Archivista:config.ArchivistaStorageConfig{URL:""}}, Signers:config.SignerConfigs{X509:config.X509Signer{FulcioEnabled:false, FulcioAddr:"https://fulcio.sigstore.dev", FulcioOIDCIssuer:"https://oauth2.sigstore.dev/auth", FulcioProvider:"", IdentityTokenFile:"", TUFMirrorURL:"https://tuf-repo-cdn.sigstore.dev"}, KMS:config.KMSSigner{KMSRef:"", Auth:config.KMSAuth{Address:"", Token:"", TokenPath:"", OIDC:config.KMSAuthOIDC{Path:"", Role:""}, Spire:config.KMSAuthSpire{Sock:"", Audience:""}}}}, Builder:config.BuilderConfig{ID:"https://tekton.dev/chains/v2"}, Transparency:config.TransparencyConfig{Enabled:false, VerifyAnnotation:false, URL:"https://rekor.sigstore.dev"}, BuildDefinition:config.BuildDefinitionConfig{BuildType:"https://tekton.dev/chains/v2/slsa"}} --- PASS: TestNewConfigStore (0.30s) === RUN TestParse === RUN TestParse/empty === RUN TestParse/builder_configuration === RUN TestParse/storage_configuration === RUN TestParse/taskrun_multi_backend === RUN TestParse/pipelineRun_multi_backend_with_docdb === RUN TestParse/taskrun_multi_backend_disabled === RUN TestParse/oci_multi_backend === RUN TestParse/oci_multi_backend_disabled === RUN TestParse/taskrun_multi_backend,_oci_disabled === RUN TestParse/oci_multi_backend,_tekton_disabled === RUN TestParse/single === RUN TestParse/manual_transparency === RUN TestParse/extra === RUN TestParse/fulcio === RUN TestParse/rekor_-_true === RUN TestParse/rekor_-_manual === RUN TestParse/buildDefinition_-_slsa-tekton --- PASS: TestParse (0.01s) --- PASS: TestParse/empty (0.00s) --- PASS: TestParse/builder_configuration (0.00s) --- PASS: TestParse/storage_configuration (0.00s) --- PASS: TestParse/taskrun_multi_backend (0.00s) --- PASS: TestParse/pipelineRun_multi_backend_with_docdb (0.00s) --- PASS: TestParse/taskrun_multi_backend_disabled (0.00s) --- PASS: TestParse/oci_multi_backend (0.00s) --- PASS: TestParse/oci_multi_backend_disabled (0.00s) --- PASS: TestParse/taskrun_multi_backend,_oci_disabled (0.00s) --- PASS: TestParse/oci_multi_backend,_tekton_disabled (0.00s) --- PASS: TestParse/single (0.00s) --- PASS: TestParse/manual_transparency (0.00s) --- PASS: TestParse/extra (0.00s) --- PASS: TestParse/fulcio (0.00s) --- PASS: TestParse/rekor_-_true (0.00s) --- PASS: TestParse/rekor_-_manual (0.00s) --- PASS: TestParse/buildDefinition_-_slsa-tekton (0.00s) PASS ok github.com/tektoncd/chains/pkg/config 1.721s ? github.com/tektoncd/chains/pkg/internal/mocksigner [no test files] ? github.com/tektoncd/chains/pkg/internal/objectloader [no test files] === RUN TestGetAnnotationsPatch === RUN TestGetAnnotationsPatch/empty === RUN TestGetAnnotationsPatch/one === RUN TestGetAnnotationsPatch/many --- PASS: TestGetAnnotationsPatch (0.00s) --- PASS: TestGetAnnotationsPatch/empty (0.00s) --- PASS: TestGetAnnotationsPatch/one (0.00s) --- PASS: TestGetAnnotationsPatch/many (0.00s) PASS ok github.com/tektoncd/chains/pkg/patch 1.021s === RUN TestUninitializedMetrics {"level":"error","ts":1749628083.4165986,"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.24.1.linux-amd64/src/testing/testing.go:1792"} {"level":"error","ts":1749628083.4169118,"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.24.1.linux-amd64/src/testing/testing.go:1792"} {"level":"error","ts":1749628083.4170308,"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.24.1.linux-amd64/src/testing/testing.go:1792"} {"level":"error","ts":1749628083.4171371,"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.24.1.linux-amd64/src/testing/testing.go:1792"} --- PASS: TestUninitializedMetrics (0.00s) === RUN TestCountMetrics --- PASS: TestCountMetrics (0.00s) PASS ok github.com/tektoncd/chains/pkg/pipelinerunmetrics 1.589s ? github.com/tektoncd/chains/pkg/pipelinerunmetrics/fake [no test files] === RUN TestPipelineRunInformerFilterFunc === RUN TestPipelineRunInformerFilterFunc/Empty_namespaces,_should_match === RUN TestPipelineRunInformerFilterFunc/Matching_namespace === RUN TestPipelineRunInformerFilterFunc/Non-matching_namespace === RUN TestPipelineRunInformerFilterFunc/Non_PipelineRun_object --- PASS: TestPipelineRunInformerFilterFunc (0.00s) --- PASS: TestPipelineRunInformerFilterFunc/Empty_namespaces,_should_match (0.00s) --- PASS: TestPipelineRunInformerFilterFunc/Matching_namespace (0.00s) --- PASS: TestPipelineRunInformerFilterFunc/Non-matching_namespace (0.00s) --- PASS: TestPipelineRunInformerFilterFunc/Non_PipelineRun_object (0.00s) === RUN TestTaskRunInformerFilterFunc === RUN TestTaskRunInformerFilterFunc/Matching_namespace === RUN TestTaskRunInformerFilterFunc/Empty_namespaces,_should_match === RUN TestTaskRunInformerFilterFunc/Non-matching_namespace === RUN TestTaskRunInformerFilterFunc/Non_TaskRun_object --- PASS: TestTaskRunInformerFilterFunc (0.00s) --- PASS: TestTaskRunInformerFilterFunc/Matching_namespace (0.00s) --- PASS: TestTaskRunInformerFilterFunc/Empty_namespaces,_should_match (0.00s) --- PASS: TestTaskRunInformerFilterFunc/Non-matching_namespace (0.00s) --- PASS: TestTaskRunInformerFilterFunc/Non_TaskRun_object (0.00s) === RUN TestTaskRunInformerFilterFuncWithOwnership === RUN TestTaskRunInformerFilterFuncWithOwnership/Empty_namespaces_and_ownership,_should_match === RUN TestTaskRunInformerFilterFuncWithOwnership/Matching_namespace_and_ownership === RUN TestTaskRunInformerFilterFuncWithOwnership/Non-matching_namespace_and_ownership === RUN TestTaskRunInformerFilterFuncWithOwnership/No_ownership --- PASS: TestTaskRunInformerFilterFuncWithOwnership (0.00s) --- PASS: TestTaskRunInformerFilterFuncWithOwnership/Empty_namespaces_and_ownership,_should_match (0.00s) --- PASS: TestTaskRunInformerFilterFuncWithOwnership/Matching_namespace_and_ownership (0.00s) --- PASS: TestTaskRunInformerFilterFuncWithOwnership/Non-matching_namespace_and_ownership (0.00s) --- PASS: TestTaskRunInformerFilterFuncWithOwnership/No_ownership (0.00s) PASS ok github.com/tektoncd/chains/pkg/reconciler 1.317s === RUN TestReconciler_Reconcile === RUN TestReconciler_Reconcile/no_pipelineRuns logger.go:146: 2025-06-11T07:48:12.308Z DEBUG configmap/store.go:155 chains config "chains-config" config was added or updated: &config.Config{Artifacts:config.ArtifactConfigs{OCI:config.Artifact{Format:"simplesigning", StorageBackend:sets.Set[string]{"oci":sets.Empty{}}, Signer:"x509", DeepInspectionEnabled:false}, PipelineRuns:config.Artifact{Format:"in-toto", StorageBackend:sets.Set[string]{"tekton":sets.Empty{}}, Signer:"x509", DeepInspectionEnabled:false}, TaskRuns:config.Artifact{Format:"in-toto", StorageBackend:sets.Set[string]{"tekton":sets.Empty{}}, Signer:"x509", DeepInspectionEnabled:false}}, Storage:config.StorageConfigs{GCS:config.GCSStorageConfig{Bucket:""}, OCI:config.OCIStorageConfig{Repository:"", Insecure:false}, Tekton:config.TektonStorageConfig{}, DocDB:config.DocDBStorageConfig{URL:"", MongoServerURL:"", MongoServerURLDir:"", MongoServerURLPath:""}, Grafeas:config.GrafeasConfig{ProjectID:"", NoteID:"", NoteHint:"This attestation note was generated by Tekton Chains"}, PubSub:config.PubSubStorageConfig{Provider:"", Topic:"", Kafka:config.KafkaStorageConfig{BootstrapServers:""}}, Archivista:config.ArchivistaStorageConfig{URL:""}}, Signers:config.SignerConfigs{X509:config.X509Signer{FulcioEnabled:false, FulcioAddr:"https://fulcio.sigstore.dev", FulcioOIDCIssuer:"https://oauth2.sigstore.dev/auth", FulcioProvider:"", IdentityTokenFile:"", TUFMirrorURL:"https://tuf-repo-cdn.sigstore.dev"}, KMS:config.KMSSigner{KMSRef:"", Auth:config.KMSAuth{Address:"", Token:"", TokenPath:"", OIDC:config.KMSAuthOIDC{Path:"", Role:""}, Spire:config.KMSAuthSpire{Sock:"", Audience:""}}}}, Builder:config.BuilderConfig{ID:"https://tekton.dev/chains/v2"}, Transparency:config.TransparencyConfig{Enabled:false, VerifyAnnotation:false, URL:"https://rekor.sigstore.dev"}, BuildDefinition:config.BuildDefinitionConfig{BuildType:"https://tekton.dev/chains/v2/slsa"}} logger.go:146: 2025-06-11T07:48:12.308Z INFO pipelinerun/controller.go:68 could not send close event to WatchBackends()... logger.go:146: 2025-06-11T07:48:12.308Z INFO storage/storage.go:62 configured backends from config: [tekton oci tekton] logger.go:146: 2025-06-11T07:48:12.309Z INFO storage/storage.go:106 successfully initialized backends: [tekton oci] logger.go:146: 2025-06-11T07:48:12.309Z DEBUG storage/storage.go:152 no backends to watch... logger.go:146: 2025-06-11T07:48:12.309Z DEBUG storage/storage.go:152 no backends to watch... logger.go:146: 2025-06-11T07:48:12.309Z DEBUG pipelinerun/reconciler.go:206 Resource "foo/bar" no longer exists === RUN TestReconciler_Reconcile/found_PipelineRun logger.go:146: 2025-06-11T07:48:12.310Z DEBUG configmap/store.go:155 chains config "chains-config" config was added or updated: &config.Config{Artifacts:config.ArtifactConfigs{OCI:config.Artifact{Format:"simplesigning", StorageBackend:sets.Set[string]{"oci":sets.Empty{}}, Signer:"x509", DeepInspectionEnabled:false}, PipelineRuns:config.Artifact{Format:"in-toto", StorageBackend:sets.Set[string]{"tekton":sets.Empty{}}, Signer:"x509", DeepInspectionEnabled:false}, TaskRuns:config.Artifact{Format:"in-toto", StorageBackend:sets.Set[string]{"tekton":sets.Empty{}}, Signer:"x509", DeepInspectionEnabled:false}}, Storage:config.StorageConfigs{GCS:config.GCSStorageConfig{Bucket:""}, OCI:config.OCIStorageConfig{Repository:"", Insecure:false}, Tekton:config.TektonStorageConfig{}, DocDB:config.DocDBStorageConfig{URL:"", MongoServerURL:"", MongoServerURLDir:"", MongoServerURLPath:""}, Grafeas:config.GrafeasConfig{ProjectID:"", NoteID:"", NoteHint:"This attestation note was generated by Tekton Chains"}, PubSub:config.PubSubStorageConfig{Provider:"", Topic:"", Kafka:config.KafkaStorageConfig{BootstrapServers:""}}, Archivista:config.ArchivistaStorageConfig{URL:""}}, Signers:config.SignerConfigs{X509:config.X509Signer{FulcioEnabled:false, FulcioAddr:"https://fulcio.sigstore.dev", FulcioOIDCIssuer:"https://oauth2.sigstore.dev/auth", FulcioProvider:"", IdentityTokenFile:"", TUFMirrorURL:"https://tuf-repo-cdn.sigstore.dev"}, KMS:config.KMSSigner{KMSRef:"", Auth:config.KMSAuth{Address:"", Token:"", TokenPath:"", OIDC:config.KMSAuthOIDC{Path:"", Role:""}, Spire:config.KMSAuthSpire{Sock:"", Audience:""}}}}, Builder:config.BuilderConfig{ID:"https://tekton.dev/chains/v2"}, Transparency:config.TransparencyConfig{Enabled:false, VerifyAnnotation:false, URL:"https://rekor.sigstore.dev"}, BuildDefinition:config.BuildDefinitionConfig{BuildType:"https://tekton.dev/chains/v2/slsa"}} logger.go:146: 2025-06-11T07:48:12.310Z INFO pipelinerun/controller.go:68 could not send close event to WatchBackends()... logger.go:146: 2025-06-11T07:48:12.310Z INFO storage/storage.go:62 configured backends from config: [tekton oci tekton] logger.go:146: 2025-06-11T07:48:12.310Z INFO storage/storage.go:106 successfully initialized backends: [tekton oci] logger.go:146: 2025-06-11T07:48:12.310Z DEBUG storage/storage.go:152 no backends to watch... logger.go:146: 2025-06-11T07:48:12.310Z DEBUG storage/storage.go:152 no backends to watch... logger.go:146: 2025-06-11T07:48:12.311Z DEBUG pipelinerun/reconciler.go:206 Resource "foo/bar" no longer exists --- PASS: TestReconciler_Reconcile (0.00s) --- PASS: TestReconciler_Reconcile/no_pipelineRuns (0.00s) --- PASS: TestReconciler_Reconcile/found_PipelineRun (0.00s) === RUN TestReconciler_handlePipelineRun === RUN TestReconciler_handlePipelineRun/complete,_already_signed logger.go:146: 2025-06-11T07:48:12.311Z INFO pipelinerun/pipelinerun.go:69 pipelinerun has been reconciled {"pipelinerun": "default/pipelinerun"} === RUN TestReconciler_handlePipelineRun/complete,_not_already_signed === RUN TestReconciler_handlePipelineRun/not_complete,_not_already_signed logger.go:146: 2025-06-11T07:48:12.312Z 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-06-11T07:48:12.313Z 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-06-11T07:48:12.314Z ERROR pipelinerun/pipelinerun.go:85 Unable to get reconciled status of taskrun taskrun1 within pipelinerun {"pipelinerun": "default/pipelinerun"} --- PASS: TestReconciler_handlePipelineRun (0.00s) --- 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) --- PASS: TestReconciler_handlePipelineRun/taskruns_not_yet_completed_with_child_references (0.00s) --- PASS: TestReconciler_handlePipelineRun/missing_taskrun_with_child_references (0.00s) PASS ok github.com/tektoncd/chains/pkg/reconciler/pipelinerun 1.177s === RUN TestReconciler_Reconcile === RUN TestReconciler_Reconcile/no_taskruns logger.go:146: 2025-06-11T07:48:12.309Z DEBUG configmap/store.go:155 chains config "chains-config" config was added or updated: &config.Config{Artifacts:config.ArtifactConfigs{OCI:config.Artifact{Format:"simplesigning", StorageBackend:sets.Set[string]{"oci":sets.Empty{}}, Signer:"x509", DeepInspectionEnabled:false}, PipelineRuns:config.Artifact{Format:"in-toto", StorageBackend:sets.Set[string]{"tekton":sets.Empty{}}, Signer:"x509", DeepInspectionEnabled:false}, TaskRuns:config.Artifact{Format:"in-toto", StorageBackend:sets.Set[string]{"tekton":sets.Empty{}}, Signer:"x509", DeepInspectionEnabled:false}}, Storage:config.StorageConfigs{GCS:config.GCSStorageConfig{Bucket:""}, OCI:config.OCIStorageConfig{Repository:"", Insecure:false}, Tekton:config.TektonStorageConfig{}, DocDB:config.DocDBStorageConfig{URL:"", MongoServerURL:"", MongoServerURLDir:"", MongoServerURLPath:""}, Grafeas:config.GrafeasConfig{ProjectID:"", NoteID:"", NoteHint:"This attestation note was generated by Tekton Chains"}, PubSub:config.PubSubStorageConfig{Provider:"", Topic:"", Kafka:config.KafkaStorageConfig{BootstrapServers:""}}, Archivista:config.ArchivistaStorageConfig{URL:""}}, Signers:config.SignerConfigs{X509:config.X509Signer{FulcioEnabled:false, FulcioAddr:"https://fulcio.sigstore.dev", FulcioOIDCIssuer:"https://oauth2.sigstore.dev/auth", FulcioProvider:"", IdentityTokenFile:"", TUFMirrorURL:"https://tuf-repo-cdn.sigstore.dev"}, KMS:config.KMSSigner{KMSRef:"", Auth:config.KMSAuth{Address:"", Token:"", TokenPath:"", OIDC:config.KMSAuthOIDC{Path:"", Role:""}, Spire:config.KMSAuthSpire{Sock:"", Audience:""}}}}, Builder:config.BuilderConfig{ID:"https://tekton.dev/chains/v2"}, Transparency:config.TransparencyConfig{Enabled:false, VerifyAnnotation:false, URL:"https://rekor.sigstore.dev"}, BuildDefinition:config.BuildDefinitionConfig{BuildType:"https://tekton.dev/chains/v2/slsa"}} logger.go:146: 2025-06-11T07:48:12.309Z INFO taskrun/controller.go:64 could not send close event to WatchBackends()... logger.go:146: 2025-06-11T07:48:12.310Z INFO storage/storage.go:62 configured backends from config: [tekton oci tekton] logger.go:146: 2025-06-11T07:48:12.310Z INFO storage/storage.go:106 successfully initialized backends: [tekton oci] logger.go:146: 2025-06-11T07:48:12.310Z DEBUG storage/storage.go:152 no backends to watch... logger.go:146: 2025-06-11T07:48:12.310Z DEBUG storage/storage.go:152 no backends to watch... logger.go:146: 2025-06-11T07:48:12.310Z DEBUG taskrun/reconciler.go:206 Resource "foo/bar" no longer exists === RUN TestReconciler_Reconcile/found_taskrun logger.go:146: 2025-06-11T07:48:12.311Z DEBUG configmap/store.go:155 chains config "chains-config" config was added or updated: &config.Config{Artifacts:config.ArtifactConfigs{OCI:config.Artifact{Format:"simplesigning", StorageBackend:sets.Set[string]{"oci":sets.Empty{}}, Signer:"x509", DeepInspectionEnabled:false}, PipelineRuns:config.Artifact{Format:"in-toto", StorageBackend:sets.Set[string]{"tekton":sets.Empty{}}, Signer:"x509", DeepInspectionEnabled:false}, TaskRuns:config.Artifact{Format:"in-toto", StorageBackend:sets.Set[string]{"tekton":sets.Empty{}}, Signer:"x509", DeepInspectionEnabled:false}}, Storage:config.StorageConfigs{GCS:config.GCSStorageConfig{Bucket:""}, OCI:config.OCIStorageConfig{Repository:"", Insecure:false}, Tekton:config.TektonStorageConfig{}, DocDB:config.DocDBStorageConfig{URL:"", MongoServerURL:"", MongoServerURLDir:"", MongoServerURLPath:""}, Grafeas:config.GrafeasConfig{ProjectID:"", NoteID:"", NoteHint:"This attestation note was generated by Tekton Chains"}, PubSub:config.PubSubStorageConfig{Provider:"", Topic:"", Kafka:config.KafkaStorageConfig{BootstrapServers:""}}, Archivista:config.ArchivistaStorageConfig{URL:""}}, Signers:config.SignerConfigs{X509:config.X509Signer{FulcioEnabled:false, FulcioAddr:"https://fulcio.sigstore.dev", FulcioOIDCIssuer:"https://oauth2.sigstore.dev/auth", FulcioProvider:"", IdentityTokenFile:"", TUFMirrorURL:"https://tuf-repo-cdn.sigstore.dev"}, KMS:config.KMSSigner{KMSRef:"", Auth:config.KMSAuth{Address:"", Token:"", TokenPath:"", OIDC:config.KMSAuthOIDC{Path:"", Role:""}, Spire:config.KMSAuthSpire{Sock:"", Audience:""}}}}, Builder:config.BuilderConfig{ID:"https://tekton.dev/chains/v2"}, Transparency:config.TransparencyConfig{Enabled:false, VerifyAnnotation:false, URL:"https://rekor.sigstore.dev"}, BuildDefinition:config.BuildDefinitionConfig{BuildType:"https://tekton.dev/chains/v2/slsa"}} logger.go:146: 2025-06-11T07:48:12.311Z INFO taskrun/controller.go:64 could not send close event to WatchBackends()... logger.go:146: 2025-06-11T07:48:12.311Z INFO storage/storage.go:62 configured backends from config: [tekton oci tekton] logger.go:146: 2025-06-11T07:48:12.311Z INFO storage/storage.go:106 successfully initialized backends: [tekton oci] logger.go:146: 2025-06-11T07:48:12.311Z DEBUG storage/storage.go:152 no backends to watch... logger.go:146: 2025-06-11T07:48:12.311Z DEBUG storage/storage.go:152 no backends to watch... logger.go:146: 2025-06-11T07:48:12.311Z DEBUG taskrun/reconciler.go:206 Resource "foo/bar" no longer exists --- PASS: TestReconciler_Reconcile (0.00s) --- PASS: TestReconciler_Reconcile/no_taskruns (0.00s) --- PASS: TestReconciler_Reconcile/found_taskrun (0.00s) === RUN TestReconciler_handleTaskRun === RUN TestReconciler_handleTaskRun/complete,_already_signed logger.go:146: 2025-06-11T07:48:12.312Z INFO taskrun/taskrun.go:63 taskrun / has been reconciled === RUN TestReconciler_handleTaskRun/complete,_not_already_signed === RUN TestReconciler_handleTaskRun/not_complete,_not_already_signed logger.go:146: 2025-06-11T07:48:12.313Z INFO taskrun/taskrun.go:55 taskrun / is still running --- PASS: TestReconciler_handleTaskRun (0.00s) --- 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.175s === RUN TestUninitializedMetrics {"level":"error","ts":1749628092.2896202,"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.24.1.linux-amd64/src/testing/testing.go:1792"} {"level":"error","ts":1749628092.2903948,"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.24.1.linux-amd64/src/testing/testing.go:1792"} {"level":"error","ts":1749628092.291201,"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.24.1.linux-amd64/src/testing/testing.go:1792"} {"level":"error","ts":1749628092.2913313,"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.24.1.linux-amd64/src/testing/testing.go:1792"} --- PASS: TestUninitializedMetrics (0.00s) === RUN TestCountMetrics --- PASS: TestCountMetrics (0.00s) PASS ok github.com/tektoncd/chains/pkg/taskrunmetrics 1.146s ? github.com/tektoncd/chains/pkg/taskrunmetrics/fake [no test files] ? github.com/tektoncd/chains/pkg/test/tekton [no test files] FAIL Finished run, return code is 1 XML report written to /logs/artifacts/junit_p6cBUef8.xml =========================== ==== UNIT TESTS FAILED ==== =========================== + EXIT_VALUE=1 + set +o xtrace