cli
cli copied to clipboard
`tkn p start <pipeline-name> --showlog` shows logs of only one taskrun
Versions and Operating System
Operating system: Fedora tkn version: 0.30.1
-
Kubernetes version:
Output of
kubectl version:Client Version: v1.25.7 Kustomize Version: v4.5.7 Server Version: v1.24.12+ceaf338 -
Tekton Pipeline version:
Output of
tkn versionorkubectl get pods -n tekton-pipelines -l app=tekton-pipelines-controller -o=jsonpath='{.items[0].metadata.labels.version}'Client version: 0.30.1 Pipeline version: v0.44.2 Triggers version: v0.23.1 Operator version: v0.65.1 -
Operating System:
All
Expected Behavior
tkn p start <pipeline-name> --showlogshould start the pipelinerun and should show the logs of all the taskrunstkn pr logs <running-pipelinerun-name -fshould show the logs of running pipelinerun and should stop once the pipelinerun finishes
Actual Behavior
tkn p start <pipeline-name> --showlogstarts the pipelinerun but shows log of only the first taskruntkn pr logs <running-pipelinerun> -f -Lshows the logs of the pipelinerun but hangs even after the pipelinerun is completed
Steps to Reproduce the Problem
-
Create a pipeline with serial tasks
-
Start the pipelinerun using
tkn p start <pipeline-name> --showlogand observe the logs -
Create a pipeline with serial tasks
-
Start the pipeline
-
Run
tkn pr logs -f -Land observe the logs
Additional Info
/assign
It's not reproducible, so can we close it? cc: @piyush-garg @vinamra28
lets close it
/reopen
@concaf: You can't reopen an issue/PR unless you authored it or you are a collaborator.
In response to this:
/reopen
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
/reopen
@savitaashture: Reopened this issue.
In response to this:
/reopen
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
Reopening this issue because its not reproduced all the time but 5% of the time its reproduced so to address this ffirst step would be to add test to make sure the scenario
/assign
/assign
@RohanGlitched are you planning to take this up? If so, do let us know if you need some help.
@VeereshAradhya I think this should be working fine after https://github.com/tektoncd/cli/pull/2251 Please try to see if you still face this