We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When running a PipelineRun (such as below) or TaskRun, I expected to only see the output of my Task if everything goes well.
PipelineRun
TaskRun
Task
The entrypoint cancellation feature (from #6511) seems to log some error when it's a normal behavior (aka no cancel was called).
entrypoint
[add-uid : uid] {"level":"error","ts":1698142443.0641263,"caller":"entrypoint/entrypointer.go:178","msg":"Error while waiting for cancellation{error 26 0 context canceled}","stacktrace":"github.com/tektoncd/pipeline/pkg/entrypoint.Entrypointer.Go.func2\n\tgithub.com/tektoncd/pipeline/pkg/entrypoint/entrypointer.go:178"}
cat <<'EOF' | kubectl create -f - --- apiVersion: tekton.dev/v1 kind: Task metadata: name: uid-task spec: results: - name: uid steps: - name: uid image: alpine command: ["/bin/sh", "-c"] args: - echo "1001" | tee $(results.uid.path) --- apiVersion: tekton.dev/v1 kind: PipelineRun metadata: name: uid-pipeline-run spec: pipelineSpec: tasks: - name: add-uid taskRef: name: uid-task - name: show-uid taskSpec: steps: - name: show-uid image: alpine command: ["/bin/sh", "-c"] args: - echo $(tasks.add-uid.results.uid) EOF
Kubernetes version: 1.26
Output of kubectl version:
kubectl version
(paste your output here)
Tekton Pipeline version: main branch
main
Output of tkn version or kubectl get pods -n tekton-pipelines -l app=tekton-pipelines-controller -o=jsonpath='{.items[0].metadata.labels.version}'
tkn version
kubectl get pods -n tekton-pipelines -l app=tekton-pipelines-controller -o=jsonpath='{.items[0].metadata.labels.version}'
The text was updated successfully, but these errors were encountered:
/assign
Sorry, something went wrong.
chengjoey
Successfully merging a pull request may close this issue.
Expected Behavior
When running a
PipelineRun
(such as below) orTaskRun
, I expected to only see the output of myTask
if everything goes well.Actual Behavior
The
entrypoint
cancellation feature (from #6511) seems to log some error when it's a normal behavior (aka no cancel was called).Steps to Reproduce the Problem
PipelineRun
Additional Info
Kubernetes version: 1.26
Output of
kubectl version
:Tekton Pipeline version:
main
branchOutput of
tkn version
orkubectl get pods -n tekton-pipelines -l app=tekton-pipelines-controller -o=jsonpath='{.items[0].metadata.labels.version}'
The text was updated successfully, but these errors were encountered: