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 #1840

EVEREST-757 Implement namespaces endpoint and change dbengines to namespaced

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

Triggered via pull request January 27, 2024 08:37
Status Failure
Total duration 7m 46s
Artifacts

ci.yml

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

Annotations

12 errors, 6 warnings, and 1 notice
Check (1.21.x, false)
Process completed with exit code 1.
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] › pg-clusters.spec.ts:32:5 › create/edit/delete single node pg cluster: api-tests/tests/pg-clusters.spec.ts#L21
3) [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
[api] › pg-clusters.spec.ts:32:5 › create/edit/delete single node pg cluster: api-tests/tests/pg-clusters.spec.ts#L21
3) [api] › pg-clusters.spec.ts:32:5 › create/edit/delete single node pg cluster ────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── 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
[api] › pg-clusters.spec.ts:32:5 › create/edit/delete single node pg cluster: api-tests/tests/pg-clusters.spec.ts#L21
3) [api] › pg-clusters.spec.ts:32:5 › create/edit/delete single node pg cluster ────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── 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
[api] › pg-clusters.spec.ts:114:5 › expose pg cluster after creation: api-tests/tests/pg-clusters.spec.ts#L21
4) [api] › pg-clusters.spec.ts:114:5 › expose pg cluster after creation ────────────────────────── 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
11 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] › 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 2 flaky [api] › kubernetes.spec.ts:33:5 › enable/disable cluster-monitoring ──────────────────────────── [api] › monitoring-instances.spec.ts:36:5 › create monitoring instance with api key ──────────── 40 passed (28.3s)