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

[e2e] Tektonhubexternaldatabase testcase failing with namespace not found #1720

Open
Basavaraju-G opened this issue Sep 25, 2023 · 2 comments
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@Basavaraju-G
Copy link
Contributor

Basavaraju-G commented Sep 25, 2023

Expected Behavior

Testcases should pass.

Actual Behavior

Failed with namespace not found. https://dashboard.dogfooding.tekton.dev/#/namespaces/bastion-z/pipelineruns/tekton-operator-s390x-nightly-run-h9h6q?pipelineTask=e2e-test-operator&step=run-e2e-tests

Steps to Reproduce the Problem

  1. install kind based cluster
  2. clone operator code
  3. run ./test/e2e-test.sh

Additional Info

root@basavarg-build-vm:~# kubectl version -o yaml
clientVersion:
 buildDate: "2023-04-11T17:10:18Z"
 compiler: gc
 gitCommit: 1b4df30b3cdfeaba6024e81e559a6cd09a089d65
 gitTreeState: clean
 gitVersion: v1.27.0
 goVersion: go1.20.3
 major: "1"
 minor: "27"
 platform: linux/s390x
kustomizeVersion: v5.0.1
serverVersion:
 buildDate: "2023-06-06T12:33:20Z"
 compiler: gc
 gitCommit: 1b4df30b3cdfeaba6024e81e559a6cd09a089d65
 gitTreeState: dirty
 gitVersion: v1.27.0-dirty
 goVersion: go1.20.3
 major: "1"
 minor: 27+
 platform: linux/s390x
  • 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}'

Failure log:

--- SKIP: TestTektonChainTutorialTestSuite (0.00s)
=== RUN   TestTektonHubTestSuite
=== RUN   TestTektonHubTestSuite/Test01_DeployDefault
2023-09-21T09:17:09.635Z	debug	common/05_tektonhubdeployment_test.go:110	removing the tekton hub cr if any
2023-09-21T09:17:09.661Z	debug	common/05_tektonhubdeployment_test.go:115	test environment ready. starting the actual test
=== RUN   TestTektonHubTestSuite/Test02_DeployWithExternalDatabase
2023-09-21T09:18:24.718Z	debug	common/05_tektonhubdeployment_test.go:110	removing the tekton hub cr if any
2023-09-21T09:18:29.773Z	debug	common/05_tektonhubdeployment_test.go:115	test environment ready. starting the actual test
2023-09-21T09:18:29.847Z	debug	common/05_tektonhubdeployment_test.go:325	wait for external database deployment becomes ready	{"namespace": "hub-external-db", "deploymentName": "tekton-hub-db"}
2023-09-21T09:19:19.867Z	debug	common/05_tektonhubdeployment_test.go:331	external database deployment is ready
    05_tektonhubdeployment_test.go:350:
        	Error Trace:	/root/go/src/github.com/tektoncd/operator/test/e2e/common/05_tektonhubdeployment_test.go:350
        	            				/root/go/src/github.com/tektoncd/operator/test/e2e/common/05_tektonhubdeployment_test.go:144
        	Error:      	Received unexpected error:
        	            	namespaces "tekton-pipelines" not found
        	Test:       	TestTektonHubTestSuite/Test02_DeployWithExternalDatabase
2023-09-21T09:19:19.938Z	info	common/05_tektonhubdeployment_test.go:123	test failed, executing debug commands	{"testName": "TestTektonHubTestSuite/Test02_DeployWithExternalDatabase"}

------------------- debug information -------------------
$ kubectl get tektonconfig
@Basavaraju-G Basavaraju-G added the kind/bug Categorizes issue or PR as related to a bug. label Sep 25, 2023
@Basavaraju-G
Copy link
Contributor Author

/assign @Basavaraju-G

@jkandasa
Copy link
Member

@Basavaraju-G still, do you see this issue?

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