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

Different log output for tkn t logs and tkn tr logs #2234

Open
Senjuti256 opened this issue Feb 1, 2024 · 1 comment
Open

Different log output for tkn t logs and tkn tr logs #2234

Senjuti256 opened this issue Feb 1, 2024 · 1 comment
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug.
Milestone

Comments

@Senjuti256
Copy link
Contributor

Senjuti256 commented Feb 1, 2024

Versions and Operating System

  • Kubernetes version:

Output of tkn version

Client Version: v1.25.0
Kustomize Version: v4.5.7
Server Version: v1.26.1

  • 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.33.0
     Pipeline version: v0.56.0
     Triggers version: v0.25.3
    
    
  • Operating System:

     Fedora release 37
    

Expected Behavior

Running tkn t log and tkn tr log gives a different representation but they are expected to be the same.

Actual Behavior

$ tkn t ls
NAME         DESCRIPTION   AGE
echo-task                  33 minutes ago
print-task                 33 minutes ago

$ tkn tr ls
NAME                           STARTED          DURATION   STATUS
echo-pipeline-run-echo-task    33 minutes ago   5s         Succeeded
echo-pipeline-run-print-task   33 minutes ago   7s         Succeeded

$ tkn t logs
? Select task: echo-task
Hello, Tekton!

$ tkn tr logs
? Select taskrun: echo-pipeline-run-echo-task started 34 minutes ago
[echo] Hello, Tekton!

Steps to Reproduce the Problem

  1. Create sample Task and Taskrun YAML files.
  2. Run tkn t logs.
  3. Run tkn tr logs
  4. Compare both.

Additional Info

@Senjuti256 Senjuti256 added the kind/bug Categorizes issue or PR as related to a bug. label Feb 1, 2024
@vinamra28 vinamra28 added this to the 0.38.0 milestone May 21, 2024
@vinamra28
Copy link
Member

/assign @Senjuti256

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

No branches or pull requests

2 participants