Skip to content
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

EVEREST-757 Implement namespaces endpoint and change dbengines to namespaced

EVEREST-757 Implement namespaces endpoint and change dbengines to namespaced #1842

Triggered via pull request January 28, 2024 14:33
Status Failure
Total duration 6m 55s
Artifacts

ci.yml

on: pull_request
Matrix: Check
Matrix: API Integration Tests
Matrix: Test
Fit to window
Zoom out
Zoom in

Annotations

11 errors, 6 warnings, and 1 notice
API Integration Tests (1.21.x, false)
Process completed with exit code 1.
[api] › database-engines.spec.ts:17:5 › check operators are installed: 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
[api] › database-engines.spec.ts:17:5 › check operators are installed: 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
[api] › database-engines.spec.ts:17:5 › check operators are installed: 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
[api] › database-engines.spec.ts:35:5 › get/edit database engine versions: 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
[api] › database-engines.spec.ts:35:5 › get/edit database engine versions: 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
[api] › database-engines.spec.ts:35:5 › get/edit database engine versions: 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
[api] › monitoring-instances.spec.ts:128:5 › delete monitoring instance: 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
[api] › monitoring-instances.spec.ts:128:5 › delete monitoring instance: 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
[api] › monitoring-instances.spec.ts:128:5 › delete monitoring instance: 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
[api] › pg-clusters.spec.ts:32:5 › create/edit/delete single node pg cluster: 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
Check (1.21.x, false)
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. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Check (1.21.x, false)
Restore cache failed: Dependencies file is not found in /home/runner/work/percona-everest-backend/percona-everest-backend. Supported file pattern: go.sum
Test (1.21.x, false)
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. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test (1.21.x, false)
Restore cache failed: Dependencies file is not found in /home/runner/work/percona-everest-backend/percona-everest-backend. Supported file pattern: go.sum
API Integration Tests (1.21.x, false)
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/.
API Integration Tests (1.21.x, false)
Restore cache failed: Dependencies file is not found in /home/runner/work/percona-everest-backend/percona-everest-backend. Supported file pattern: go.sum
🎭 Playwright Run Summary
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)