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 pr logs <pr-name> shows No logs found before showing the logs for a running pipeline run #969

Closed
VeereshAradhya opened this issue May 6, 2020 · 2 comments · Fixed by #989
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug.
Milestone

Comments

@VeereshAradhya
Copy link
Contributor

Version and Operating System

tkn Version:
v0.9.0

Operating System:
All

Expected Behavior

tkn pr logs <pr-name> should not show No logs found if the log is available for a running Pipelinerun

Actual Behavior

tkn pr logs <pr-name> showing No logs found before showing the logs for a running pipeline run

Steps to Reproduce the Problem

  1. Create a task which runs for sometime
  2. Create a pipeline from the task created in step 1
  3. Start the pipeline
  4. run tkn pr logs <pr-name> and observe the output

Additional Info

Below are the command logs

$ tkn pr logs first-pipeline-test-run-x422f
Pipeline still running ...
No logs found
[run-script : step-one] this is default value for task
[run-script : step-one] Hello from Python!
[run-script : step-one] this is task
[run-script : step-one] this is task
[run-script : step-one] this is task
[run-script : step-one] this is task
[run-script : step-one] this is task
$ tkn pr logs first-pipeline-test-run-x422f
Pipeline still running ...
No logs found
[run-script : step-one] this is default value for task
[run-script : step-one] Hello from Python!
[run-script : step-one] this is task
[run-script : step-one] this is task
[run-script : step-one] this is task
[run-script : step-one] this is task
[run-script : step-one] this is task
[run-script : step-one] this is task
[run-script : step-one] this is task
[run-script : step-one] this is task
[run-script : step-one] this is task
[run-script : step-one] this is task
[run-script : step-one] this is task
@piyush-garg piyush-garg added this to the 0.10.0 🐅 milestone May 7, 2020
@piyush-garg
Copy link
Contributor

/kind bug

@tekton-robot tekton-robot added the kind/bug Categorizes issue or PR as related to a bug. label May 7, 2020
@vinamra28
Copy link
Member

/assign

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants