Skip to content
New issue

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

tkn p start <pipeline-name> --showlog shows logs of only one taskrun #2015

Closed
VeereshAradhya opened this issue May 2, 2023 · 13 comments
Closed
Assignees
Labels
good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. kind/bug Categorizes issue or PR as related to a bug.
Milestone

Comments

@VeereshAradhya
Copy link
Contributor

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 version or kubectl 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

  1. tkn p start <pipeline-name> --showlog should start the pipelinerun and should show the logs of all the taskruns
  2. tkn pr logs <running-pipelinerun-name -f should show the logs of running pipelinerun and should stop once the pipelinerun finishes

Actual Behavior

  1. tkn p start <pipeline-name> --showlog starts the pipelinerun but shows log of only the first taskrun
  2. tkn pr logs <running-pipelinerun> -f -L shows the logs of the pipelinerun but hangs even after the pipelinerun is completed

Steps to Reproduce the Problem

  1. Create a pipeline with serial tasks

  2. Start the pipelinerun using tkn p start <pipeline-name> --showlog and observe the logs

  3. Create a pipeline with serial tasks

  4. Start the pipeline

  5. Run tkn pr logs -f -L and observe the logs

Additional Info

@VeereshAradhya VeereshAradhya added the kind/bug Categorizes issue or PR as related to a bug. label May 2, 2023
@pratap0007
Copy link
Contributor

/assign

@pratap0007
Copy link
Contributor

It's not reproducible, so can we close it? cc: @piyush-garg @vinamra28

@piyush-garg
Copy link
Contributor

lets close it

@concaf
Copy link
Contributor

concaf commented Aug 28, 2023

/reopen

@tekton-robot
Copy link
Contributor

@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.

@savitaashture
Copy link
Contributor

/reopen

@tekton-robot
Copy link
Contributor

@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.

@tekton-robot tekton-robot reopened this Aug 28, 2023
@piyush-garg piyush-garg added the good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. label Aug 28, 2023
@piyush-garg piyush-garg modified the milestones: 0.31.1, 1.0.0 🦁, 0.32.0 Aug 28, 2023
@savitaashture
Copy link
Contributor

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

@vinamra28
Copy link
Member

/assign

@RohanGlitched
Copy link

/assign

@piyush-garg piyush-garg modified the milestones: 0.32.0, 0.33.0, 0.34.0 Nov 21, 2023
@vinamra28 vinamra28 modified the milestones: 0.34.0, v0.35.0 Jan 9, 2024
@vinamra28
Copy link
Member

@RohanGlitched are you planning to take this up? If so, do let us know if you need some help.

@piyush-garg piyush-garg modified the milestones: 0.35.0, 0.36.0 Feb 8, 2024
@piyush-garg piyush-garg modified the milestones: 0.36.0, 0.37.0, 0.38.0 May 8, 2024
@piyush-garg piyush-garg self-assigned this May 21, 2024
@piyush-garg
Copy link
Contributor

@VeereshAradhya I think this should be working fine after #2251 Please try to see if you still face this

@piyush-garg piyush-garg modified the milestones: 0.38.0, 0.36.0 May 21, 2024
@VeereshAradhya
Copy link
Contributor Author

Verified the fix in the tkn version 0.36.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

8 participants