tektoncd / tektoncd/operator

[e2e] Tektonhubexternaldatabase testcase failing with namespace not found

Open
#1,720 2 comments 0 reactions 1 assignee View on GitHub

@Basavaraju-G is already working on this.

Since Sep 25, 2023.

kind/bug
Dominant language
Go
Stars
608
Forks
263
Avg merge
1d 3h
Merged PRs (30d)
125

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.