-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
None
-
None
-
False
-
-
False
-
-
Description of problem:
When all pvcs are removed from config/profile/rhdh/default-config/pvcs.yaml and running the tests with make test, there are test failures. This issue is blocking the removal of the audit log pvc.
Version-Release number of selected component (if applicable):
How reproducible:
always
Steps to Reproduce:
1. remove pvcs from file 2. run make test 3.
Actual results:
• [FAILED] [0.006 seconds] when create backstage with CR configured [It] creates Backstage with disabled local DB no secret /Users/cdaley/Code/github.com/redhat-developer/rhdh-operator/integration_tests/db_test.go:113 Timeline >> ===> Error detected on Backstage reconcile: failed to initialize backstage model failed to read default value for the key pvcs.yaml, reason: GroupVersionKind not match, found: /, Kind=, expected: [/v1, Kind=PersistentVolumeClaim] [FAILED] in [It] - /Users/cdaley/Code/github.com/redhat-developer/rhdh-operator/integration_tests/suite_test.go:176 @ 11/14/24 20:21:59.08 << Timeline [FAILED] Unexpected error: <*fmt.wrapError | 0x14001c2d720>: failed to initialize backstage model failed to read default value for the key pvcs.yaml, reason: GroupVersionKind not match, found: /, Kind=, expected: [/v1, Kind=PersistentVolumeClaim] { msg: "failed to initialize backstage model failed to read default value for the key pvcs.yaml, reason: GroupVersionKind not match, found: /, Kind=, expected: [/v1, Kind=PersistentVolumeClaim]", err: <*errors.errorString | 0x14001c93050>{ s: "failed to read default value for the key pvcs.yaml, reason: GroupVersionKind not match, found: /, Kind=, expected: [/v1, Kind=PersistentVolumeClaim]", }, } occurred Summarizing 11 Failures: [FAIL] when create default backstage [It] creates runtime objects /Users/cdaley/Code/github.com/redhat-developer/rhdh-operator/integration_tests/suite_test.go:176 [FAIL] when create default backstage [It] creates runtime object using raw configuration /Users/cdaley/Code/github.com/redhat-developer/rhdh-operator/integration_tests/suite_test.go:176 [FAIL] when create backstage with CR configured [It] creates Backstage with external configuration /Users/cdaley/Code/github.com/redhat-developer/rhdh-operator/integration_tests/suite_test.go:176 [FAIL] when create backstage with CR configured [It] generates label and annotation /Users/cdaley/Code/github.com/redhat-developer/rhdh-operator/integration_tests/suite_test.go:176 [FAIL] when create backstage with CR configured [It] creates default Backstage and then update CR /Users/cdaley/Code/github.com/redhat-developer/rhdh-operator/integration_tests/suite_test.go:176 [FAIL] when create backstage with CR configured [It] creates Backstage deployment with spec.deployment /Users/cdaley/Code/github.com/redhat-developer/rhdh-operator/integration_tests/suite_test.go:176 [FAIL] when create default rhdh [It] tests rhdh config /Users/cdaley/Code/github.com/redhat-developer/rhdh-operator/integration_tests/suite_test.go:176 [FAIL] when create default rhdh [It] replaces dynamic-plugins-root volume /Users/cdaley/Code/github.com/redhat-developer/rhdh-operator/integration_tests/suite_test.go:176 [FAIL] when create backstage with CR configured [It] creates default Backstage and then update CR to not to use local DB /Users/cdaley/Code/github.com/redhat-developer/rhdh-operator/integration_tests/suite_test.go:176 [FAIL] when create backstage with CR configured [It] creates Backstage with disabled local DB and secret /Users/cdaley/Code/github.com/redhat-developer/rhdh-operator/integration_tests/suite_test.go:176 [FAIL] when create backstage with CR configured [It] creates Backstage with disabled local DB no secret /Users/cdaley/Code/github.com/redhat-developer/rhdh-operator/integration_tests/suite_test.go:176
Expected results:
all tests should pass
Additional info:
- blocks
-
RHIDP-4852 Remove Audit Log PVC from Developer Hub
- In Progress