pipeline: e2e TestGitPipelineRun test fails on newly installed pipeline
Expected Behavior
TestGitPipelineRun test should pass
Actual Behavior
TestGitPipelineRun test fails because of timeout. Corresponding taskrun is created but no pod is started.
Usually second attempt is successful.
# oc get tr -A
NAMESPACE NAME SUCCEEDED REASON STARTTIME COMPLETIONTIME
arendelle-8nxtw git-check-pipeline-run-git-check-72mth
# oc get pod -n arendelle-8nxtw
No resources found in arendelle-8nxtw namespace.
Steps to Reproduce the Problem
- Install k8s cluster using
kind - Install nightly pipeline build
kubectl apply --filename https://storage.googleapis.com/tekton-releases-nightly/pipeline/latest/release.yaml
- Run the test just after pipeline is installed
# go test -v -tags=e2e -count=1 ./test -run ^TestGitPipelineRun/tekton_@_master_with_PR_refspec
- Wait 10mins and get the error
# go test -v -tags=e2e -count=1 ./test -run ^TestGitPipelineRun/tekton_@_master_with_PR_refspec
Using kubeconfig at `/root/.kube/config` with cluster ``
Cluster information
- Version: v1.19.1
- BuildDate: 2020-09-14T07:30:52Z
- GoVersion: go1.15
- Platform: linux/amd64
=== RUN TestGitPipelineRun
=== RUN TestGitPipelineRun/tekton_@_master_with_PR_refspec
=== PAUSE TestGitPipelineRun/tekton_@_master_with_PR_refspec
=== CONT TestGitPipelineRun/tekton_@_master_with_PR_refspec
init_test.go:147: Create namespace arendelle-8nxtw to deploy to
init_test.go:163: Verify SA "default" is created in namespace "arendelle-8nxtw"
git_checkout_test.go:103: Creating Git PipelineResource git-source-resource
git_checkout_test.go:119: Creating PipelineRun git-check-pipeline-run
panic: test timed out after 10m0s
...
FAIL github.com/tektoncd/pipeline/test 600.088s
FAIL
Additional Info
- Kubernetes version:
# kubectl version
Client Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.0", GitCommit:"af46c47ce925f4c4ad5cc8d1fca46c7b77d13b38", GitTreeState:"clean", BuildDate:"2020-12-08T17:59:43Z", GoVersion:"go1.15.5", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.1", GitCommit:"206bcadf021e76c27513500ca24182692aabd17e", GitTreeState:"clean", BuildDate:"2020-09-14T07:30:52Z", GoVersion:"go1.15", Compiler:"gc", Platform:"linux/amd64"}
- Tekton Pipeline version:
# tkn version
Client version: 0.11.0
Pipeline version: v20201210-d58a1ae68f
Triggers version: unknown
/kind bug
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 22 (12 by maintainers)
Using the
runtime.tracepackage I’m able to isolate 8x 75s-long calls tohttp.dialConnFor, that look like they’re all spawned from theaws-sdk-gopackage. So at least in my case I think this accounts for the ten minute delay: