Error lines from build-log.txt
... skipping 211 lines ...
=== RUN TestCleanPath
--- PASS: TestCleanPath (0.00s)
PASS
ok github.com/tektoncd/pipeline/cmd/workingdirinit 1.101s
=== RUN TestResolver
logger.go:146: 2025-02-18T14:23:07.872Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc00051b8e0 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
logger.go:146: 2025-02-18T14:23:07.873Z ERROR TestResolver cloudevent/cloudeventclient.go:102 Unable to fetch client from context.
--- PASS: TestResolver (0.11s)
PASS
ok github.com/tektoncd/pipeline/docs/resolver-template/cmd/demoresolver 1.215s
? github.com/tektoncd/pipeline/hack/reference-docs-template [no test files]
? github.com/tektoncd/pipeline/hack/spec-gen [no test files]
? github.com/tektoncd/pipeline/internal/artifactref [no test files]
? github.com/tektoncd/pipeline/pkg/apis [no test files]
? github.com/tektoncd/pipeline/pkg/apis/config/testing [no test files]
=== RUN TestResolver
logger.go:146: 2025-02-18T14:23:09.522Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc0007047c0 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
logger.go:146: 2025-02-18T14:23:09.523Z ERROR TestResolver cloudevent/cloudeventclient.go:102 Unable to fetch client from context.
--- PASS: TestResolver (0.11s)
=== RUN TestResolver_Failure_Wrong_Scheme
logger.go:146: 2025-02-18T14:23:09.630Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc000704a60 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
logger.go:146: 2025-02-18T14:23:09.631Z ERROR TestResolver_Failure_Wrong_Scheme cloudevent/cloudeventclient.go:102 Unable to fetch client from context.
--- PASS: TestResolver_Failure_Wrong_Scheme (0.17s)
=== RUN TestResolver_Failure_InvalidUrl
logger.go:146: 2025-02-18T14:23:09.800Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc0006cc340 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
logger.go:146: 2025-02-18T14:23:09.800Z ERROR TestResolver_Failure_InvalidUrl cloudevent/cloudeventclient.go:102 Unable to fetch client from context.
--- PASS: TestResolver_Failure_InvalidUrl (0.10s)
=== RUN TestResolver_Failure_InvalidParams
logger.go:146: 2025-02-18T14:23:09.902Z INFO cache/cacheclient.go:42 CACHE CLIENT &{lru:0xc0001da840 evictedKeys:[] evictedVals:[] onEvictedCB:<nil> lock:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}}}
logger.go:146: 2025-02-18T14:23:09.903Z ERROR TestResolver_Failure_InvalidParams cloudevent/cloudeventclient.go:102 Unable to fetch client from context.
--- PASS: TestResolver_Failure_InvalidParams (0.10s)
PASS
ok github.com/tektoncd/pipeline/docs/resolver-template/cmd/resolver 1.841s
=== RUN TestLookForResults_FanOutAndWait
=== RUN TestLookForResults_FanOutAndWait/multiple_results
--- PASS: TestLookForResults_FanOutAndWait (0.00s)
... skipping 51 lines ...
=== RUN TestNewDefaultsFromConfigMap
=== RUN TestNewDefaultsFromConfigMap/config-defaults
=== RUN TestNewDefaultsFromConfigMap/config-defaults-with-pod-template
=== RUN TestNewDefaultsFromConfigMap/config-defaults-timeout-err
=== RUN TestNewDefaultsFromConfigMap/config-defaults-imagepullbackoff-timeout-err
=== RUN TestNewDefaultsFromConfigMap/config-defaults-pod-template-err
2025/02/18 14:23:09 warning: failed to decode "default-pod-template": "error unmarshaling JSON: while decoding JSON: json: unknown field \"badKey\"". Trying decode with non-strict mode
=== RUN TestNewDefaultsFromConfigMap/config-defaults-aa-pod-template-err
2025/02/18 14:23:09 warning: failed to decode "default-affinity-assistant-pod-template": "error unmarshaling JSON: while decoding JSON: json: unknown field \"badKey\"". Trying decode with non-strict mode
=== RUN TestNewDefaultsFromConfigMap/config-defaults-matrix-err
=== RUN TestNewDefaultsFromConfigMap/config-defaults-matrix
=== RUN TestNewDefaultsFromConfigMap/config-defaults-forbidden-env
=== RUN TestNewDefaultsFromConfigMap/config-defaults-container-resource-requirements-empty
=== RUN TestNewDefaultsFromConfigMap/config-defaults-container-resource-requirements-error
2025/02/18 14:23:09 warning: failed to decode "default-container-resource-requirements": "error unmarshaling JSON: while decoding JSON: json: cannot unmarshal number into Go value of type v1.ResourceRequirements". Trying decode with non-strict mode
=== RUN TestNewDefaultsFromConfigMap/config-defaults-container-resource-requirements-with-values
--- PASS: TestNewDefaultsFromConfigMap (0.02s)
--- PASS: TestNewDefaultsFromConfigMap/config-defaults (0.00s)
--- PASS: TestNewDefaultsFromConfigMap/config-defaults-with-pod-template (0.01s)
--- PASS: TestNewDefaultsFromConfigMap/config-defaults-timeout-err (0.00s)
--- PASS: TestNewDefaultsFromConfigMap/config-defaults-imagepullbackoff-timeout-err (0.00s)
--- PASS: TestNewDefaultsFromConfigMap/config-defaults-pod-template-err (0.00s)
--- PASS: TestNewDefaultsFromConfigMap/config-defaults-aa-pod-template-err (0.00s)
--- PASS: TestNewDefaultsFromConfigMap/config-defaults-matrix-err (0.00s)
--- PASS: TestNewDefaultsFromConfigMap/config-defaults-matrix (0.00s)
--- PASS: TestNewDefaultsFromConfigMap/config-defaults-forbidden-env (0.00s)
--- PASS: TestNewDefaultsFromConfigMap/config-defaults-container-resource-requirements-empty (0.00s)
--- PASS: TestNewDefaultsFromConfigMap/config-defaults-container-resource-requirements-error (0.00s)
--- PASS: TestNewDefaultsFromConfigMap/config-defaults-container-resource-requirements-with-values (0.00s)
=== RUN TestNewDefaultsFromEmptyConfigMap
--- PASS: TestNewDefaultsFromEmptyConfigMap (0.00s)
=== RUN TestEquals
=== RUN TestEquals/left_and_right_nil
=== RUN TestEquals/left_nil
... skipping 199 lines ...
=== RUN TestNewMetricsFromEmptyConfigMap
--- PASS: TestNewMetricsFromEmptyConfigMap (0.00s)
=== RUN TestNewSpireConfigFromConfigMap
--- PASS: TestNewSpireConfigFromConfigMap (0.00s)
=== RUN TestStoreLoadWithContext
logger.go:146: 2025-02-18T14:23:09.706Z DEBUG configmap/store.go:155 defaults/features/artifacts config "config-defaults" config was added or updated: &config.Defaults{DefaultTimeoutMinutes:50, DefaultServiceAccount:"tekton", DefaultManagedByLabelValue:"something-else", DefaultPodTemplate:(*pod.Template)(nil), DefaultAAPodTemplate:(*pod.AffinityAssistantTemplate)(nil), DefaultCloudEventsSink:"", DefaultTaskRunWorkspaceBinding:"", DefaultMaxMatrixCombinationsCount:256, DefaultForbiddenEnv:[]string(nil), DefaultResolverType:"git", DefaultContainerResourceRequirements:map[string]v1.ResourceRequirements(nil), DefaultImagePullBackOffTimeout:5000000000, DefaultMaximumResolutionTimeout:60000000000}
logger.go:146: 2025-02-18T14:23:09.707Z DEBUG configmap/store.go:155 defaults/features/artifacts config "feature-flags" config was added or updated: &config.FeatureFlags{DisableAffinityAssistant:true, DisableCredsInit:false, RunningInEnvWithInjectedSidecars:false, RequireGitSSHSecretKnownHosts:true, EnableAPIFields:"alpha", SendCloudEventsForRuns:true, AwaitSidecarReadiness:false, EnforceNonfalsifiability:"spire", EnableKeepPodOnCancel:true, VerificationNoMatchPolicy:"fail", EnableProvenanceInStatus:false, ResultExtractionMethod:"termination-message", MaxResultSize:4096, SetSecurityContext:true, Coschedule:"disabled", EnableCELInWhenExpression:true, EnableStepActions:true, EnableParamEnum:true, EnableArtifacts:true, DisableInlineSpec:"pipeline,pipelinerun,taskrun", EnableConciseResolverSyntax:true, EnableKubernetesSidecar:true}
logger.go:146: 2025-02-18T14:23:09.707Z DEBUG configmap/store.go:155 defaults/features/artifacts config "config-observability" config was added or updated: &config.Metrics{TaskrunLevel:"taskrun", PipelinerunLevel:"pipelinerun", RunningPipelinerunLevel:"", DurationTaskrunType:"histogram", DurationPipelinerunType:"histogram", CountWithReason:false, ThrottleWithNamespace:false}
logger.go:146: 2025-02-18T14:23:09.707Z DEBUG configmap/store.go:155 defaults/features/artifacts config "config-spire" config was added or updated: &config.SpireConfig{TrustDomain:"test.com", SocketPath:"unix:///test-spire-api/test-spire-agent.sock", ServerAddr:"test-spire-server.spire.svc.cluster.local:8081", NodeAliasPrefix:"/test-tekton-node/", MockSpire:false}
logger.go:146: 2025-02-18T14:23:09.707Z DEBUG configmap/store.go:155 defaults/features/artifacts config "config-events" config was added or updated: &config.Events{Sink:"http://events.sink", Formats:config.EventFormats{"tektonv1":struct {}{}}}
logger.go:146: 2025-02-18T14:23:09.707Z DEBUG configmap/store.go:155 defaults/features/artifacts config "config-tracing" config was added or updated: &config.Tracing{Enabled:false, Endpoint:"http://jaeger-collector.jaeger.svc.cluster.local:14268/api/traces", CredentialsSecret:""}
--- PASS: TestStoreLoadWithContext (0.01s)
=== RUN TestStoreLoadWithContext_Empty
... skipping 2687 lines ...
--- PASS: TestStepActionSpecValidate/valid_result_type_string (0.00s)
--- PASS: TestStepActionSpecValidate/valid_result_type_array (0.00s)
--- PASS: TestStepActionSpecValidate/valid_result_type_object (0.00s)
--- PASS: TestStepActionSpecValidate/valid_volumeMounts (0.00s)
=== RUN TestStepActionValidateError
=== RUN TestStepActionValidateError/inexistent_image_field
stepaction_validation_test.go:660: Actual error: missing field(s): spec.Image
=== RUN TestStepActionValidateError/object_used_in_a_string_field
stepaction_validation_test.go:660: Actual error: variable type invalid in "$(params.gitrepo)": spec.image
=== RUN TestStepActionValidateError/object_star_used_in_a_string_field
stepaction_validation_test.go:660: Actual error: variable type invalid in "$(params.gitrepo[*])": spec.image
=== RUN TestStepActionValidateError/object_used_in_a_field_that_can_accept_array_type
stepaction_validation_test.go:660: Actual error: variable type invalid in "$(params.gitrepo)": spec.args[0]
=== RUN TestStepActionValidateError/object_star_used_in_a_field_that_can_accept_array_type
stepaction_validation_test.go:660: Actual error: variable type invalid in "$(params.gitrepo[*])": spec.args[0]
=== RUN TestStepActionValidateError/non-existent_individual_key_of_an_object_param_is_used_in_task_step
stepaction_validation_test.go:660: Actual error: non-existent variable in "$(params.gitrepo.non-exist-key)": spec.args[0]
=== RUN TestStepActionValidateError/Inexistent_param_variable_with_existing
stepaction_validation_test.go:660: Actual error: non-existent variable in "$(params.foo) && $(params.inexistent)": spec.args[0]
=== RUN TestStepActionValidateError/invalid_param_reference_in_volumeMount.Name_-_not_a_param_reference
stepaction_validation_test.go:660: Actual error: invalid value: params.foo: spec.volumeMounts[0].name
expect the Name to be a single param reference
=== RUN TestStepActionValidateError/invalid_param_reference_in_volumeMount.Name_-_nested_reference
stepaction_validation_test.go:660: Actual error: invalid value: $(params.foo)-foo: spec.volumeMounts[0].name
expect the Name to be a single param reference
=== RUN TestStepActionValidateError/invalid_param_reference_in_volumeMount.Name_-_multiple_params_references
stepaction_validation_test.go:660: Actual error: invalid value: $(params.foo)$(params.bar): spec.volumeMounts[0].name
expect the Name to be a single param reference
=== RUN TestStepActionValidateError/invalid_param_reference_in_volumeMount.Name_-_not_defined_in_params
stepaction_validation_test.go:660: Actual error: non-existent variable in "$(params.foo)": spec.volumeMounts[0]
=== RUN TestStepActionValidateError/invalid_param_reference_in_volumeMount.Name_-_array_used_in_a_volumeMounts_name_field
stepaction_validation_test.go:660: Actual error: variable type invalid in "$(params.gitrepo)": spec.volumeMounts[0]
=== RUN TestStepActionValidateError/invalid_param_reference_in_volumeMount.Name_-_object_used_in_a_volumeMounts_name_field
stepaction_validation_test.go:660: Actual error: variable type invalid in "$(params.gitrepo)": spec.volumeMounts[0]
=== RUN TestStepActionValidateError/invalid_param_reference_in_volumeMount.Name_-_object_key_not_existent_in_params
stepaction_validation_test.go:660: Actual error: non-existent variable in "$(params.gitrepo.foo)": spec.volumeMounts[0]
=== RUN TestStepActionValidateError/circular_dependency_in_param_default_values
stepaction_validation_test.go:660: Actual error: param "param1" default value has a circular dependency: spec.params
param "param2" default value has a circular dependency: spec.params
=== RUN TestStepActionValidateError/complex_circular_dependency_in_param_default_values
stepaction_validation_test.go:660: Actual error: param "param1" default value has a circular dependency: spec.params
param "param2" default value has a circular dependency: spec.params
param "param3" default value has a circular dependency: spec.params
=== RUN TestStepActionValidateError/self-referential_param_default_value
stepaction_validation_test.go:660: Actual error: param "param1" default value has a circular dependency: spec.params
--- PASS: TestStepActionValidateError (0.10s)
--- PASS: TestStepActionValidateError/inexistent_image_field (0.00s)
--- PASS: TestStepActionValidateError/object_used_in_a_string_field (0.00s)
--- PASS: TestStepActionValidateError/object_star_used_in_a_string_field (0.00s)
--- PASS: TestStepActionValidateError/object_used_in_a_field_that_can_accept_array_type (0.00s)
--- PASS: TestStepActionValidateError/object_star_used_in_a_field_that_can_accept_array_type (0.00s)
... skipping 8 lines ...
--- PASS: TestStepActionValidateError/invalid_param_reference_in_volumeMount.Name_-_object_key_not_existent_in_params (0.00s)
--- PASS: TestStepActionValidateError/circular_dependency_in_param_default_values (0.00s)
--- PASS: TestStepActionValidateError/complex_circular_dependency_in_param_default_values (0.00s)
--- PASS: TestStepActionValidateError/self-referential_param_default_value (0.00s)
=== RUN TestStepActionSpecValidateError
=== RUN TestStepActionSpecValidateError/inexistent_image_field
stepaction_validation_test.go:1080: Actual error: missing field(s): Image
=== RUN TestStepActionSpecValidateError/param_default_value_references_undefined_param
stepaction_validation_test.go:1080: Actual error: param "param2" default value references param "param1" which is not defined: params
=== RUN TestStepActionSpecValidateError/command_and_script_both_used.
stepaction_validation_test.go:1080: Actual error: script cannot be used with command: script
=== RUN TestStepActionSpecValidateError/windows_script_without_alpha.
stepaction_validation_test.go:1080: Actual error: windows script support requires "enable-api-fields" feature gate to be "alpha" but it is "beta":
=== RUN TestStepActionSpecValidateError/step_script_refers_to_nonexistent_result
stepaction_validation_test.go:1080: Actual error: non-existent variable in "\n\t\t\t#!/usr/bin/env bash\n\t\t\tdate | tee $(results.non-exist.path)": script
=== RUN TestStepActionSpecValidateError/step_script_refers_to_nonexistent_stepresult
stepaction_validation_test.go:1080: Actual error: non-existent variable in "\n\t\t\t#!/usr/bin/env bash\n\t\t\tdate | tee $(step.results.non-exist.path)": script
=== RUN TestStepActionSpecValidateError/invalid_param_name_format
stepaction_validation_test.go:1080: Actual error: The format of following array and string variable names is invalid: [ 0ab a^b f oo]: params
String/Array Names:
Must only contain alphanumeric characters, hyphens (-), underscores (_), and dots (.)
Must begin with a letter or an underscore (_)
=== RUN TestStepActionSpecValidateError/invalid_object_param_format_-_object_param_name_and_key_name_shouldn't_contain_dots.
stepaction_validation_test.go:1080: Actual error: Object param name and key name format is invalid: map[invalid.name1:[invalid.key1]]: params
Object Names:
Must only contain alphanumeric characters, hyphens (-), underscores (_)
Must begin with a letter or an underscore (_)
=== RUN TestStepActionSpecValidateError/duplicated_param_names
stepaction_validation_test.go:1080: Actual error: parameter appears more than once: params[foo]
=== RUN TestStepActionSpecValidateError/invalid_param_type
stepaction_validation_test.go:1080: Actual error: invalid value: invalidtype: params.param-with-invalid-type.type
=== RUN TestStepActionSpecValidateError/param_mismatching_default/type_1
stepaction_validation_test.go:1080: Actual error: "array" type does not match default value's type: "string": params.task.default.type, params.task.type
=== RUN TestStepActionSpecValidateError/param_mismatching_default/type_2
stepaction_validation_test.go:1080: Actual error: "string" type does not match default value's type: "array": params.task.default.type, params.task.type
=== RUN TestStepActionSpecValidateError/param_mismatching_default/type_3
stepaction_validation_test.go:1080: Actual error: "array" type does not match default value's type: "object": params.task.default.type, params.task.type
=== RUN TestStepActionSpecValidateError/param_mismatching_default/type_4
stepaction_validation_test.go:1080: Actual error: "object" type does not match default value's type: "string": params.task.default.type, params.task.type
=== RUN TestStepActionSpecValidateError/PropertySpec_type_is_set_with_unsupported_type
stepaction_validation_test.go:1080: Actual error: The value type specified for these keys [key1] is invalid: params.task.properties
=== RUN TestStepActionSpecValidateError/Properties_is_missing
stepaction_validation_test.go:1080: Actual error: missing field(s): task.properties
=== RUN TestStepActionSpecValidateError/array_used_in_unaccepted_field
stepaction_validation_test.go:1080: Actual error: variable type invalid in "$(params.baz)": image
=== RUN TestStepActionSpecValidateError/array_star_used_in_unaccepted_field
stepaction_validation_test.go:1080: Actual error: variable type invalid in "$(params.baz[*])": image
=== RUN TestStepActionSpecValidateError/array_not_properly_isolated
stepaction_validation_test.go:1080: Actual error: variable is not properly isolated in "not isolated: $(params.baz)": args[0]
=== RUN TestStepActionSpecValidateError/array_star_not_properly_isolated
stepaction_validation_test.go:1080: Actual error: variable is not properly isolated in "not isolated: $(params.baz[*])": args[0]
=== RUN TestStepActionSpecValidateError/inferred_array_not_properly_isolated
stepaction_validation_test.go:1080: Actual error: variable is not properly isolated in "not isolated: $(params.baz)": args[0]
=== RUN TestStepActionSpecValidateError/inferred_array_star_not_properly_isolated
stepaction_validation_test.go:1080: Actual error: variable is not properly isolated in "not isolated: $(params.baz[*])": args[0]
=== RUN TestStepActionSpecValidateError/params_used_in_script_field
stepaction_validation_test.go:1080: Actual error: param substitution in scripts is not allowed.: script
--- PASS: TestStepActionSpecValidateError (0.11s)
--- PASS: TestStepActionSpecValidateError/inexistent_image_field (0.00s)
--- PASS: TestStepActionSpecValidateError/param_default_value_references_undefined_param (0.00s)
--- PASS: TestStepActionSpecValidateError/command_and_script_both_used. (0.00s)
--- PASS: TestStepActionSpecValidateError/windows_script_without_alpha. (0.00s)
--- PASS: TestStepActionSpecValidateError/step_script_refers_to_nonexistent_result (0.00s)
... skipping 2542 lines ...
taskrun_conversion_test.go:666: ConvertTo() = &v1.TaskRun{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, ObjectMeta:v1.ObjectMeta{Name:"foo", GenerateName:"", Namespace:"bar", SelfLink:"", UID:"", ResourceVersion:"", Generation:0, CreationTimestamp:time.Date(1, time.January, 1, 0, 0, 0, 0, time.UTC), DeletionTimestamp:<nil>, DeletionGracePeriodSeconds:(*int64)(nil), Labels:map[string]string(nil), Annotations:map[string]string{"tekton.dev/v1beta1Resources":"{\"outputs\":[{\"name\":\"gitspace\",\"resourceRef\":{\"name\":\"the-git-with-branch\"},\"paths\":[\"test-path\"]}]}"}, OwnerReferences:[]v1.OwnerReference(nil), Finalizers:[]string(nil), ManagedFields:[]v1.ManagedFieldsEntry(nil)}, Spec:v1.TaskRunSpec{Debug:(*v1.TaskRunDebug)(nil), Params:v1.Params(nil), ServiceAccountName:"", TaskRef:(*v1.TaskRef)(nil), TaskSpec:(*v1.TaskSpec)(nil), Status:"", StatusMessage:"", Retries:0, Timeout:(*v1.Duration)(nil), PodTemplate:(*pod.Template)(nil), Workspaces:[]v1.WorkspaceBinding(nil), StepSpecs:[]v1.TaskRunStepSpec(nil), SidecarSpecs:[]v1.TaskRunSidecarSpec(nil), ComputeResources:(*v1.ResourceRequirements)(nil)}, Status:v1.TaskRunStatus{Status:v1.Status{ObservedGeneration:0, Conditions:v1.Conditions(nil), Annotations:map[string]string(nil)}, TaskRunStatusFields:v1.TaskRunStatusFields{PodName:"", StartTime:<nil>, CompletionTime:<nil>, Steps:[]v1.StepState(nil), RetriesStatus:[]v1.TaskRunStatus(nil), Results:[]v1.TaskRunResult(nil), Artifacts:(*v1.Artifacts)(nil), Sidecars:[]v1.SidecarState(nil), TaskSpec:(*v1.TaskSpec)(nil), Provenance:(*v1.Provenance)(nil), SpanContext:map[string]string(nil)}}}
taskrun_conversion_test.go:671: ConvertFrom() = &v1beta1.TaskRun{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, ObjectMeta:v1.ObjectMeta{Name:"foo", GenerateName:"", Namespace:"bar", SelfLink:"", UID:"", ResourceVersion:"", Generation:0, CreationTimestamp:time.Date(1, time.January, 1, 0, 0, 0, 0, time.UTC), DeletionTimestamp:<nil>, DeletionGracePeriodSeconds:(*int64)(nil), Labels:map[string]string(nil), Annotations:map[string]string(nil), OwnerReferences:[]v1.OwnerReference(nil), Finalizers:[]string(nil), ManagedFields:[]v1.ManagedFieldsEntry(nil)}, Spec:v1beta1.TaskRunSpec{Debug:(*v1beta1.TaskRunDebug)(nil), Params:v1beta1.Params(nil), Resources:(*v1beta1.TaskRunResources)(0xc000739e60), ServiceAccountName:"", TaskRef:(*v1beta1.TaskRef)(nil), TaskSpec:(*v1beta1.TaskSpec)(nil), Status:"", StatusMessage:"", Retries:0, Timeout:(*v1.Duration)(nil), PodTemplate:(*pod.Template)(nil), Workspaces:[]v1beta1.WorkspaceBinding(nil), StepOverrides:[]v1beta1.TaskRunStepOverride(nil), SidecarOverrides:[]v1beta1.TaskRunSidecarOverride(nil), ComputeResources:(*v1.ResourceRequirements)(nil)}, Status:v1beta1.TaskRunStatus{Status:v1.Status{ObservedGeneration:0, Conditions:v1.Conditions(nil), Annotations:map[string]string(nil)}, TaskRunStatusFields:v1beta1.TaskRunStatusFields{PodName:"", StartTime:<nil>, CompletionTime:<nil>, Steps:[]v1beta1.StepState(nil), CloudEvents:[]v1beta1.CloudEventDelivery(nil), RetriesStatus:[]v1beta1.TaskRunStatus(nil), ResourcesResult:[]result.RunResult(nil), TaskRunResults:[]v1beta1.TaskRunResult(nil), Sidecars:[]v1beta1.SidecarState(nil), TaskSpec:(*v1beta1.TaskSpec)(nil), Provenance:(*v1beta1.Provenance)(nil), SpanContext:map[string]string(nil)}}}
=== RUN TestTaskRunConversionFromDeprecated/taskrun_status_task_resources
taskrun_conversion_test.go:666: ConvertTo() = &v1.TaskRun{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, ObjectMeta:v1.ObjectMeta{Name:"foo", GenerateName:"", Namespace:"bar", SelfLink:"", UID:"", ResourceVersion:"", Generation:0, CreationTimestamp:time.Date(1, time.January, 1, 0, 0, 0, 0, time.UTC), DeletionTimestamp:<nil>, DeletionGracePeriodSeconds:(*int64)(nil), Labels:map[string]string(nil), Annotations:map[string]string{"tekton.dev/v1beta1ResourcesStatus":"{\"inputs\":[{\"name\":\"input-resource\",\"type\":\"\"}],\"outputs\":[{\"name\":\"input-resource\",\"type\":\"image\"}]}"}, OwnerReferences:[]v1.OwnerReference(nil), Finalizers:[]string(nil), ManagedFields:[]v1.ManagedFieldsEntry(nil)}, Spec:v1.TaskRunSpec{Debug:(*v1.TaskRunDebug)(nil), Params:v1.Params(nil), ServiceAccountName:"", TaskRef:(*v1.TaskRef)(0xc0006d48a0), TaskSpec:(*v1.TaskSpec)(nil), Status:"", StatusMessage:"", Retries:0, Timeout:(*v1.Duration)(nil), PodTemplate:(*pod.Template)(nil), Workspaces:[]v1.WorkspaceBinding(nil), StepSpecs:[]v1.TaskRunStepSpec(nil), SidecarSpecs:[]v1.TaskRunSidecarSpec(nil), ComputeResources:(*v1.ResourceRequirements)(nil)}, Status:v1.TaskRunStatus{Status:v1.Status{ObservedGeneration:0, Conditions:v1.Conditions(nil), Annotations:map[string]string(nil)}, TaskRunStatusFields:v1.TaskRunStatusFields{PodName:"", StartTime:<nil>, CompletionTime:<nil>, Steps:[]v1.StepState(nil), RetriesStatus:[]v1.TaskRunStatus(nil), Results:[]v1.TaskRunResult(nil), Artifacts:(*v1.Artifacts)(nil), Sidecars:[]v1.SidecarState(nil), TaskSpec:(*v1.TaskSpec)(0xc0009c4600), Provenance:(*v1.Provenance)(nil), SpanContext:map[string]string(nil)}}}
taskrun_conversion_test.go:671: ConvertFrom() = &v1beta1.TaskRun{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, ObjectMeta:v1.ObjectMeta{Name:"foo", GenerateName:"", Namespace:"bar", SelfLink:"", UID:"", ResourceVersion:"", Generation:0, CreationTimestamp:time.Date(1, time.January, 1, 0, 0, 0, 0, time.UTC), DeletionTimestamp:<nil>, DeletionGracePeriodSeconds:(*int64)(nil), Labels:map[string]string(nil), Annotations:map[string]string(nil), OwnerReferences:[]v1.OwnerReference(nil), Finalizers:[]string(nil), ManagedFields:[]v1.ManagedFieldsEntry(nil)}, Spec:v1beta1.TaskRunSpec{Debug:(*v1beta1.TaskRunDebug)(nil), Params:v1beta1.Params(nil), Resources:(*v1beta1.TaskRunResources)(nil), ServiceAccountName:"", TaskRef:(*v1beta1.TaskRef)(0xc0009f85b0), TaskSpec:(*v1beta1.TaskSpec)(nil), Status:"", StatusMessage:"", Retries:0, Timeout:(*v1.Duration)(nil), PodTemplate:(*pod.Template)(nil), Workspaces:[]v1beta1.WorkspaceBinding(nil), StepOverrides:[]v1beta1.TaskRunStepOverride(nil), SidecarOverrides:[]v1beta1.TaskRunSidecarOverride(nil), ComputeResources:(*v1.ResourceRequirements)(nil)}, Status:v1beta1.TaskRunStatus{Status:v1.Status{ObservedGeneration:0, Conditions:v1.Conditions(nil), Annotations:map[string]string(nil)}, TaskRunStatusFields:v1beta1.TaskRunStatusFields{PodName:"", StartTime:<nil>, CompletionTime:<nil>, Steps:[]v1beta1.StepState(nil), CloudEvents:[]v1beta1.CloudEventDelivery(nil), RetriesStatus:[]v1beta1.TaskRunStatus(nil), ResourcesResult:[]result.RunResult(nil), TaskRunResults:[]v1beta1.TaskRunResult(nil), Sidecars:[]v1beta1.SidecarState(nil), TaskSpec:(*v1beta1.TaskSpec)(0xc0009c46c0), Provenance:(*v1beta1.Provenance)(nil), SpanContext:map[string]string(nil)}}}
=== RUN TestTaskRunConversionFromDeprecated/cloudEvents
taskrun_conversion_test.go:666: ConvertTo() = &v1.TaskRun{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, ObjectMeta:v1.ObjectMeta{Name:"foo", GenerateName:"", Namespace:"bar", SelfLink:"", UID:"", ResourceVersion:"", Generation:0, CreationTimestamp:time.Date(1, time.January, 1, 0, 0, 0, 0, time.UTC), DeletionTimestamp:<nil>, DeletionGracePeriodSeconds:(*int64)(nil), Labels:map[string]string(nil), Annotations:map[string]string{"tekton.dev/v1beta1CloudEvents":"[{\"target\":\"http//attemptedfailed\",\"status\":{\"condition\":\"Failed\",\"message\":\"iknewit\",\"retryCount\":1}},{\"target\":\"http//attemptedsucceeded\",\"status\":{\"condition\":\"Sent\",\"message\":\"\",\"retryCount\":1}}]"}, OwnerReferences:[]v1.OwnerReference(nil), Finalizers:[]string(nil), ManagedFields:[]v1.ManagedFieldsEntry(nil)}, Spec:v1.TaskRunSpec{Debug:(*v1.TaskRunDebug)(nil), Params:v1.Params(nil), ServiceAccountName:"", TaskRef:(*v1.TaskRef)(0xc0006d4ba0), TaskSpec:(*v1.TaskSpec)(nil), Status:"", StatusMessage:"", Retries:0, Timeout:(*v1.Duration)(nil), PodTemplate:(*pod.Template)(nil), Workspaces:[]v1.WorkspaceBinding(nil), StepSpecs:[]v1.TaskRunStepSpec(nil), SidecarSpecs:[]v1.TaskRunSidecarSpec(nil), ComputeResources:(*v1.ResourceRequirements)(nil)}, Status:v1.TaskRunStatus{Status:v1.Status{ObservedGeneration:0, Conditions:v1.Conditions(nil), Annotations:map[string]string(nil)}, TaskRunStatusFields:v1.TaskRunStatusFields{PodName:"", StartTime:<nil>, CompletionTime:<nil>, Steps:[]v1.StepState(nil), RetriesStatus:[]v1.TaskRunStatus(nil), Results:[]v1.TaskRunResult(nil), Artifacts:(*v1.Artifacts)(nil), Sidecars:[]v1.SidecarState(nil), TaskSpec:(*v1.TaskSpec)(nil), Provenance:(*v1.Provenance)(nil), SpanContext:map[string]string(nil)}}}
taskrun_conversion_test.go:671: ConvertFrom() = &v1beta1.TaskRun{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, ObjectMeta:v1.ObjectMeta{Name:"foo", GenerateName:"", Namespace:"bar", SelfLink:"", UID:"", ResourceVersion:"", Generation:0, CreationTimestamp:time.Date(1, time.January, 1, 0, 0, 0, 0, time.UTC), DeletionTimestamp:<nil>, DeletionGracePeriodSeconds:(*int64)(nil), Labels:map[string]string(nil), Annotations:map[string]string(nil), OwnerReferences:[]v1.OwnerReference(nil), Finalizers:[]string(nil), ManagedFields:[]v1.ManagedFieldsEntry(nil)}, Spec:v1beta1.TaskRunSpec{Debug:(*v1beta1.TaskRunDebug)(nil), Params:v1beta1.Params(nil), Resources:(*v1beta1.TaskRunResources)(nil), ServiceAccountName:"", TaskRef:(*v1beta1.TaskRef)(0xc0009f8620), TaskSpec:(*v1beta1.TaskSpec)(nil), Status:"", StatusMessage:"", Retries:0, Timeout:(*v1.Duration)(nil), PodTemplate:(*pod.Template)(nil), Workspaces:[]v1beta1.WorkspaceBinding(nil), StepOverrides:[]v1beta1.TaskRunStepOverride(nil), SidecarOverrides:[]v1beta1.TaskRunSidecarOverride(nil), ComputeResources:(*v1.ResourceRequirements)(nil)}, Status:v1beta1.TaskRunStatus{Status:v1.Status{ObservedGeneration:0, Conditions:v1.Conditions(nil), Annotations:map[string]string(nil)}, TaskRunStatusFields:v1beta1.TaskRunStatusFields{PodName:"", StartTime:<nil>, CompletionTime:<nil>, Steps:[]v1beta1.StepState(nil), CloudEvents:[]v1beta1.CloudEventDelivery{v1beta1.CloudEventDelivery{Target:"http//attemptedfailed", Status:v1beta1.CloudEventDeliveryState{Condition:"Failed", SentAt:<nil>, Error:"iknewit", RetryCount:1}}, v1beta1.CloudEventDelivery{Target:"http//attemptedsucceeded", Status:v1beta1.CloudEventDeliveryState{Condition:"Sent", SentAt:<nil>, Error:"", RetryCount:1}}}, RetriesStatus:[]v1beta1.TaskRunStatus(nil), ResourcesResult:[]result.RunResult(nil), TaskRunResults:[]v1beta1.TaskRunResult(nil), Sidecars:[]v1beta1.SidecarState(nil), TaskSpec:(*v1beta1.TaskSpec)(nil), Provenance:(*v1beta1.Provenance)(nil), SpanContext:map[string]string(nil)}}}
=== RUN TestTaskRunConversionFromDeprecated/resourcesResult
taskrun_conversion_test.go:666: ConvertTo() = &v1.TaskRun{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, ObjectMeta:v1.ObjectMeta{Name:"foo", GenerateName:"", Namespace:"bar", SelfLink:"", UID:"", ResourceVersion:"", Generation:0, CreationTimestamp:time.Date(1, time.January, 1, 0, 0, 0, 0, time.UTC), DeletionTimestamp:<nil>, DeletionGracePeriodSeconds:(*int64)(nil), Labels:map[string]string(nil), Annotations:map[string]string{"tekton.dev/v1beta1ResourcesResult":"[{\"key\":\"digest\",\"value\":\"sha256:1234\",\"resourceName\":\"source-image\"},{\"key\":\"digest-11\",\"value\":\"sha256:1234\",\"resourceName\":\"source-image\"}]"}, OwnerReferences:[]v1.OwnerReference(nil), Finalizers:[]string(nil), ManagedFields:[]v1.ManagedFieldsEntry(nil)}, Spec:v1.TaskRunSpec{Debug:(*v1.TaskRunDebug)(nil), Params:v1.Params(nil), ServiceAccountName:"", TaskRef:(*v1.TaskRef)(0xc000568ba0), TaskSpec:(*v1.TaskSpec)(nil), Status:"", StatusMessage:"", Retries:0, Timeout:(*v1.Duration)(nil), PodTemplate:(*pod.Template)(nil), Workspaces:[]v1.WorkspaceBinding(nil), StepSpecs:[]v1.TaskRunStepSpec(nil), SidecarSpecs:[]v1.TaskRunSidecarSpec(nil), ComputeResources:(*v1.ResourceRequirements)(nil)}, Status:v1.TaskRunStatus{Status:v1.Status{ObservedGeneration:0, Conditions:v1.Conditions(nil), Annotations:map[string]string(nil)}, TaskRunStatusFields:v1.TaskRunStatusFields{PodName:"", StartTime:<nil>, CompletionTime:<nil>, Steps:[]v1.StepState(nil), RetriesStatus:[]v1.TaskRunStatus(nil), Results:[]v1.TaskRunResult(nil), Artifacts:(*v1.Artifacts)(nil), Sidecars:[]v1.SidecarState(nil), TaskSpec:(*v1.TaskSpec)(nil), Provenance:(*v1.Provenance)(nil), SpanContext:map[string]string(nil)}}}
taskrun_conversion_test.go:671: ConvertFrom() = &v1beta1.TaskRun{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, ObjectMeta:v1.ObjectMeta{Name:"foo", GenerateName:"", Namespace:"bar", SelfLink:"", UID:"", ResourceVersion:"", Generation:0, CreationTimestamp:time.Date(1, time.January, 1, 0, 0, 0, 0, time.UTC), DeletionTimestamp:<nil>, DeletionGracePeriodSeconds:(*int64)(nil), Labels:map[string]string(nil), Annotations:map[string]string(nil), OwnerReferences:[]v1.OwnerReference(nil), Finalizers:[]string(nil), ManagedFields:[]v1.ManagedFieldsEntry(nil)}, Spec:v1beta1.TaskRunSpec{Debug:(*v1beta1.TaskRunDebug)(nil), Params:v1beta1.Params(nil), Resources:(*v1beta1.TaskRunResources)(nil), ServiceAccountName:"", TaskRef:(*v1beta1.TaskRef)(0xc0007b0d20), TaskSpec:(*v1beta1.TaskSpec)(nil), Status:"", StatusMessage:"", Retries:0, Timeout:(*v1.Duration)(nil), PodTemplate:(*pod.Template)(nil), Workspaces:[]v1beta1.WorkspaceBinding(nil), StepOverrides:[]v1beta1.TaskRunStepOverride(nil), SidecarOverrides:[]v1beta1.TaskRunSidecarOverride(nil), ComputeResources:(*v1.ResourceRequirements)(nil)}, Status:v1beta1.TaskRunStatus{Status:v1.Status{ObservedGeneration:0, Conditions:v1.Conditions(nil), Annotations:map[string]string(nil)}, TaskRunStatusFields:v1beta1.TaskRunStatusFields{PodName:"", StartTime:<nil>, CompletionTime:<nil>, Steps:[]v1beta1.StepState(nil), CloudEvents:[]v1beta1.CloudEventDelivery(nil), RetriesStatus:[]v1beta1.TaskRunStatus(nil), ResourcesResult:[]result.RunResult{result.RunResult{Key:"digest", Value:"sha256:1234", ResourceName:"source-image", ResultType:0}, result.RunResult{Key:"digest-11", Value:"sha256:1234", ResourceName:"source-image", ResultType:0}}, TaskRunResults:[]v1beta1.TaskRunResult(nil), Sidecars:[]v1beta1.SidecarState(nil), TaskSpec:(*v1beta1.TaskSpec)(nil), Provenance:(*v1beta1.Provenance)(nil), SpanContext:map[string]string(nil)}}}
--- PASS: TestTaskRunConversionFromDeprecated (0.01s)
--- PASS: TestTaskRunConversionFromDeprecated/input_resources (0.00s)
--- PASS: TestTaskRunConversionFromDeprecated/output_resources (0.00s)
... skipping 570 lines ...
=== RUN TestEntrypointer/all_together_now
=== RUN TestEntrypointer/multiple_wait_files
=== RUN TestEntrypointer/breakpointOnFailure_to_wait_or_not_to_wait_
=== RUN TestEntrypointer/breakpointBeforeStep_to_wait_or_not_to_wait
2025/02/18 14:23:37 debug before step breakpoint has taken effect, waiting for user's decision:
1) continue, use cmd: /tekton/debug/scripts/debug-beforestep-continue
2) fail-continue, use cmd: /tekton/debug/scripts/debug-beforestep-fail-continue
=== RUN TestEntrypointer/all_breakpoints_to_wait_or_not_to_wait
2025/02/18 14:23:37 debug before step breakpoint has taken effect, waiting for user's decision:
1) continue, use cmd: /tekton/debug/scripts/debug-beforestep-continue
2) fail-continue, use cmd: /tekton/debug/scripts/debug-beforestep-fail-continue
--- PASS: TestEntrypointer (0.31s)
--- PASS: TestEntrypointer/do_nothing (0.10s)
--- PASS: TestEntrypointer/just_entrypoint (0.07s)
--- PASS: TestEntrypointer/entrypoint_and_args (0.01s)
--- PASS: TestEntrypointer/just_args (0.01s)
--- PASS: TestEntrypointer/wait_file (0.00s)
... skipping 4 lines ...
--- PASS: TestEntrypointer/breakpointBeforeStep_to_wait_or_not_to_wait (0.01s)
--- PASS: TestEntrypointer/all_breakpoints_to_wait_or_not_to_wait (0.01s)
=== RUN TestCheckForBreakpointOnFailure
=== RUN TestCheckForBreakpointOnFailure/set_breakpoint_on_failure_and_exit_with_code_0
2025/02/18 14:23:37 debug onFailure breakpoint has taken effect, waiting for user's decision:
1) continue, use cmd: /tekton/debug/scripts/debug-continue
2) fail-continue, use cmd: /tekton/debug/scripts/debug-fail-continue
2025/02/18 14:23:37 Breakpoint exiting with exit code 0
=== RUN TestCheckForBreakpointOnFailure/unset_breakpoint_on_failure
--- PASS: TestCheckForBreakpointOnFailure (0.00s)
--- PASS: TestCheckForBreakpointOnFailure/set_breakpoint_on_failure_and_exit_with_code_0 (0.00s)
--- PASS: TestCheckForBreakpointOnFailure/unset_breakpoint_on_failure (0.00s)
=== RUN TestReadResultsFromDisk
... skipping 24 lines ...
=== RUN TestEntrypointer_OnError/the_step_is_exiting_with_0,_ignore_the_step_error_irrespective_of_no_error_with_onError_set_to_continue
=== RUN TestEntrypointer_OnError/the_step_is_exiting_with_1,_treat_the_step_error_as_failure_with_onError_set_to_stopAndFail
=== RUN TestEntrypointer_OnError/the_step_is_exiting_with_0,_treat_the_step_error_(but_there_is_none)_as_failure_with_onError_set_to_stopAndFail
=== RUN TestEntrypointer_OnError/the_step_set_debug_before_step,_and_before_step_breakpoint_fail-continue
2025/02/18 14:23:37 debug before step breakpoint has taken effect, waiting for user's decision:
1) continue, use cmd: /tekton/debug/scripts/debug-beforestep-continue
2) fail-continue, use cmd: /tekton/debug/scripts/debug-beforestep-fail-continue
2025/02/18 14:23:37 error occurred while waiting for step-one.beforestepexit : before step breakpoint error file, user decided to skip the current step execution
--- PASS: TestEntrypointer_OnError (0.18s)
--- PASS: TestEntrypointer_OnError/the_step_is_exiting_with_1,_ignore_the_step_error_when_onError_is_set_to_continue (0.09s)
--- PASS: TestEntrypointer_OnError/the_step_is_exiting_with_0,_ignore_the_step_error_irrespective_of_no_error_with_onError_set_to_continue (0.01s)
--- PASS: TestEntrypointer_OnError/the_step_is_exiting_with_1,_treat_the_step_error_as_failure_with_onError_set_to_stopAndFail (0.08s)
--- PASS: TestEntrypointer_OnError/the_step_is_exiting_with_0,_treat_the_step_error_(but_there_is_none)_as_failure_with_onError_set_to_stopAndFail (0.01s)
--- PASS: TestEntrypointer_OnError/the_step_set_debug_before_step,_and_before_step_breakpoint_fail-continue (0.00s)
... skipping 456 lines ...