-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
Pipelines 1.20.0
-
2
-
False
-
-
False
-
-
Description of problem:
CLI : Getting error "Failed to watch" err="context canceled" logger="UnhandledError" reflector="k8s.io/client-go/informers/factory.go:160" type="*v1.Pod" when streaming pipelineRun logs
Prerequisites (if any, like setup, operators/versions):
Steps to Reproduce
- Install 1.20 operator & download 1.20 opc/tkn cli
- Create a new test namespace
- Apply the below files in the test namespace and create pipelineRun
https://raw.githubusercontent.com/openshift-pipelines/release-tests/refs/heads/master/testdata/ecosystem/pipelines/cache-stepactions-python.yaml
{}https://raw.githubusercontent.com/openshift-pipelines/release-tests/refs/heads/master/testdata/pvc/pvc.yaml - Check the logs of the pipelineRun using opc/tkn CLI
Actual results:
Getting below error when using tkn/opc to fetch the logs
"Failed to watch" err="context canceled" logger="UnhandledError" reflector="k8s.io/client-go/informers/factory.go:160" type="*v1.Pod"
$ tkn version Client version: 0.42.0 Chains version: v0.25.1 Pipeline version: v1.3.1 Triggers version: v0.33.0 Operator version: v0.77.0 Hub version: v1.22.3
$ opc version OpenShift Pipelines Client: 1.20.0 Tekton CLI: 0.42.0 Pipelines as Code CLI: 0.37.0 Tekton Results CLI: 0.16.0 Manual Approval Gate CLI: 0.7.0
Expected results:
Logs should be streamed without any errors when using CLI
Reproducibility (Always/Intermittent/Only Once):
Intermittent
Acceptance criteria:
Definition of Done:
Build Details:
Additional info (Such as Logs, Screenshots, etc):