You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps did you take and what happened:
When a PipelineLoop contains a break Run and this Run doesn't immediately produce the "status" field at runtime, PipelineLoop controller crashes with the following stacktrace:
What did you expect to happen:
PipelineLoop controller should work just fine if the break Run doesn't immediately produce "status" field.
Additional information:
"status" field is declared as optional in Tekton:
typePipelineRunRunStatusstruct {
// PipelineTaskName is the name of the PipelineTask.PipelineTaskNamestring`json:"pipelineTaskName,omitempty"`// Status is the RunStatus for the corresponding Run// +optionalStatus*runv1alpha1.RunStatus`json:"status,omitempty"`// WhenExpressions is the list of checks guarding the execution of the PipelineTask// +optional// +listType=atomicWhenExpressions []WhenExpression`json:"whenExpressions,omitempty"`
}
so it should be supported for a run not to have it.
Environment:
Python Version (use python --version): 3.9.0
SDK Version: irrelevant
Tekton Version (use tkn version): 0.36.0
Kubernetes Version (use kubectl version): v1.22.10+IKS
OS (e.g. from /etc/os-release): irrelevant
The text was updated successfully, but these errors were encountered:
Udiknedormin
changed the title
Pipelineloops controller crashes on Run with no "status" field
PipelineLoop controller crashes on Run with no "status" field
Jun 20, 2022
/kind bug
What steps did you take and what happened:
When a PipelineLoop contains a break Run and this Run doesn't immediately produce the "status" field at runtime, PipelineLoop controller crashes with the following stacktrace:
What did you expect to happen:
PipelineLoop controller should work just fine if the break Run doesn't immediately produce "status" field.
Additional information:
"status" field is declared as optional in Tekton:
so it should be supported for a run not to have it.
Environment:
python --version
): 3.9.0tkn version
): 0.36.0kubectl version
): v1.22.10+IKS/etc/os-release
): irrelevantThe text was updated successfully, but these errors were encountered: