This repository has been archived by the owner on Mar 4, 2024. It is now read-only.
EVEREST-757 Implement namespaces endpoint and change dbengines to namespaced #1842
Annotations
11 errors, 2 warnings, and 1 notice
Provision monitoring
Process completed with exit code 1.
|
Run integration tests:
api-tests/tests/database-engines.spec.ts#L20
1) [api] › database-engines.spec.ts:17:5 › check operators are installed ─────────────────────────
Error: expect(received).toBeTruthy()
Received: false
18 | const enginesList = await request.get(`/v1/database-engines`)
19 |
> 20 | expect(enginesList.ok()).toBeTruthy()
| ^
21 |
22 | const engines = (await enginesList.json()).items
23 |
at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/database-engines.spec.ts:20:28
|
Run integration tests:
api-tests/tests/database-engines.spec.ts#L20
1) [api] › database-engines.spec.ts:17:5 › check operators are installed ─────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeTruthy()
Received: false
18 | const enginesList = await request.get(`/v1/database-engines`)
19 |
> 20 | expect(enginesList.ok()).toBeTruthy()
| ^
21 |
22 | const engines = (await enginesList.json()).items
23 |
at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/database-engines.spec.ts:20:28
|
Run integration tests:
api-tests/tests/database-engines.spec.ts#L20
1) [api] › database-engines.spec.ts:17:5 › check operators are installed ─────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeTruthy()
Received: false
18 | const enginesList = await request.get(`/v1/database-engines`)
19 |
> 20 | expect(enginesList.ok()).toBeTruthy()
| ^
21 |
22 | const engines = (await enginesList.json()).items
23 |
at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/database-engines.spec.ts:20:28
|
Run integration tests:
api-tests/tests/database-engines.spec.ts#L39
2) [api] › database-engines.spec.ts:35:5 › get/edit database engine versions ─────────────────────
Error: expect(received).toBeTruthy()
Received: false
37 | let engineResponse = await request.get(`/v1/database-engines/percona-server-mongodb-operator`)
38 |
> 39 | expect(engineResponse.ok()).toBeTruthy()
| ^
40 |
41 | const engineData = await engineResponse.json()
42 | const availableVersions = engineData.status.availableVersions
at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/database-engines.spec.ts:39:31
|
Run integration tests:
api-tests/tests/database-engines.spec.ts#L39
2) [api] › database-engines.spec.ts:35:5 › get/edit database engine versions ─────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeTruthy()
Received: false
37 | let engineResponse = await request.get(`/v1/database-engines/percona-server-mongodb-operator`)
38 |
> 39 | expect(engineResponse.ok()).toBeTruthy()
| ^
40 |
41 | const engineData = await engineResponse.json()
42 | const availableVersions = engineData.status.availableVersions
at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/database-engines.spec.ts:39:31
|
Run integration tests:
api-tests/tests/database-engines.spec.ts#L39
2) [api] › database-engines.spec.ts:35:5 › get/edit database engine versions ─────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeTruthy()
Received: false
37 | let engineResponse = await request.get(`/v1/database-engines/percona-server-mongodb-operator`)
38 |
> 39 | expect(engineResponse.ok()).toBeTruthy()
| ^
40 |
41 | const engineData = await engineResponse.json()
42 | const availableVersions = engineData.status.availableVersions
at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/database-engines.spec.ts:39:31
|
Run integration tests:
api-tests/tests/monitoring-instances.spec.ts#L147
3) [api] › monitoring-instances.spec.ts:128:5 › delete monitoring instance ───────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 2
Received: 3
145 | list = await response.json()
146 |
> 147 | expect(list.filter((i) => i.name.startsWith(`${namePrefix}${testPrefix}`)).length).toBe(2)
| ^
148 | })
149 |
150 | test('patch monitoring instance', async ({ request }) => {
at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/monitoring-instances.spec.ts:147:86
|
Run integration tests:
api-tests/tests/monitoring-instances.spec.ts#L147
3) [api] › monitoring-instances.spec.ts:128:5 › delete monitoring instance ───────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 2
Received: 3
145 | list = await response.json()
146 |
> 147 | expect(list.filter((i) => i.name.startsWith(`${namePrefix}${testPrefix}`)).length).toBe(2)
| ^
148 | })
149 |
150 | test('patch monitoring instance', async ({ request }) => {
at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/monitoring-instances.spec.ts:147:86
|
Run integration tests:
api-tests/tests/monitoring-instances.spec.ts#L147
3) [api] › monitoring-instances.spec.ts:128:5 › delete monitoring instance ───────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 2
Received: 3
145 | list = await response.json()
146 |
> 147 | expect(list.filter((i) => i.name.startsWith(`${namePrefix}${testPrefix}`)).length).toBe(2)
| ^
148 | })
149 |
150 | test('patch monitoring instance', async ({ request }) => {
at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/monitoring-instances.spec.ts:147:86
|
Run integration tests:
api-tests/tests/pg-clusters.spec.ts#L21
4) [api] › pg-clusters.spec.ts:32:5 › create/edit/delete single node pg cluster ──────────────────
TypeError: Cannot read properties of undefined (reading 'availableVersions')
19 | test.beforeAll(async ({ request }) => {
20 | const engineResponse = await request.get(`/v1/database-engines/percona-postgresql-operator`)
> 21 | const availableVersions = (await engineResponse.json()).status.availableVersions.engine
| ^
22 |
23 | for (const k in availableVersions) {
24 | if (availableVersions[k].status === 'recommended') {
at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/pg-clusters.spec.ts:21:66
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: percona-platform/setup-go@v4, percona-platform/cache@v3, medyagh/setup-minikube@latest. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Set up Go release
Restore cache failed: Dependencies file is not found in /home/runner/work/percona-everest-backend/percona-everest-backend. Supported file pattern: go.sum
|
Run integration tests
12 failed
[api] › database-engines.spec.ts:17:5 › check operators are installed ──────────────────────────
[api] › database-engines.spec.ts:35:5 › get/edit database engine versions ──────────────────────
[api] › monitoring-instances.spec.ts:128:5 › delete monitoring instance ────────────────────────
[api] › pg-clusters.spec.ts:32:5 › create/edit/delete single node pg cluster ───────────────────
[api] › pg-clusters.spec.ts:114:5 › expose pg cluster after creation ───────────────────────────
[api] › pg-clusters.spec.ts:192:5 › expose pg cluster on EKS to the public internet and scale up
[api] › psmdb-clusters.spec.ts:23:5 › create/edit/delete single node psmdb cluster ─────────────
[api] › psmdb-clusters.spec.ts:105:5 › expose psmdb cluster after creation ─────────────────────
[api] › psmdb-clusters.spec.ts:189:5 › expose psmdb cluster on EKS to the public internet and scale up
[api] › pxc-clusters.spec.ts:36:5 › create/edit/delete pxc single node cluster ─────────────────
[api] › pxc-clusters.spec.ts:126:5 › expose pxc cluster after creation ─────────────────────────
[api] › pxc-clusters.spec.ts:204:5 › expose pxc cluster on EKS to the public internet and scale up
41 passed (30.3s)
|
The logs for this run have expired and are no longer available.
Loading