Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

EVEREST-785: fix validation when creating a monitoring instance #1850

EVEREST-785: fix validation when creating a monitoring instance

EVEREST-785: fix validation when creating a monitoring instance #1850

Re-run triggered January 29, 2024 09:18
Status Success
Total duration 9m 22s
Artifacts

ci.yml

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

Annotations

9 errors, 6 warnings, and 1 notice
API Integration Tests (1.21.x, false)
Process completed with exit code 1.
[api] › database-cluster-restores.spec.ts:85:5 › list restores: api-tests/tests/database-cluster-restores.spec.ts#L147
1) [api] › database-cluster-restores.spec.ts:85:5 › list restores ──────────────────────────────── Error: expect(received).toBeTruthy() Received: false 145 | }) 146 | > 147 | expect(response.ok()).toBeTruthy() | ^ 148 | } 149 | 150 | await page.waitForTimeout(6000) at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/database-cluster-restores.spec.ts:147:27
[api] › monitoring-instances.spec.ts:128:5 › delete monitoring instance: api-tests/tests/monitoring-instances.spec.ts#L147
2) [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
2) [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:169:5 › patch monitoring instance secret key changes: api-tests/tests/monitoring-instances.spec.ts#L310
3) [api] › monitoring-instances.spec.ts:169:5 › patch monitoring instance secret key changes ───── Error: expect(received).toBeTruthy() Received: false 308 | const response = await request.post('/v1/monitoring-instances', { data }) 309 | > 310 | expect(response.ok()).toBeTruthy() | ^ 311 | } 312 | 313 | return res at createInstances (/home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/monitoring-instances.spec.ts:310:27) at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/monitoring-instances.spec.ts:170:17
[api] › psmdb-clusters.spec.ts:189:5 › expose psmdb cluster on EKS to the public internet and scale up: api-tests/tests/psmdb-clusters.spec.ts#L1
4) [api] › psmdb-clusters.spec.ts:189:5 › expose psmdb cluster on EKS to the public internet and scale up Test timeout of 30000ms exceeded.
[api] › psmdb-clusters.spec.ts:189:5 › expose psmdb cluster on EKS to the public internet and scale up: api-tests/tests/psmdb-clusters.spec.ts#L223
4) [api] › psmdb-clusters.spec.ts:189:5 › expose psmdb cluster on EKS to the public internet and scale up Error: page.waitForTimeout: Test timeout of 30000ms exceeded. 221 | }) 222 | for (let i = 0; i < 15; i++) { > 223 | await page.waitForTimeout(2000) | ^ 224 | 225 | const psmdbCluster = await request.get(`/v1/database-clusters/${clusterName}`) 226 | at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/psmdb-clusters.spec.ts:223:16
[api] › psmdb-clusters.spec.ts:189:5 › expose psmdb cluster on EKS to the public internet and scale up: api-tests/tests/psmdb-clusters.spec.ts#L1
4) [api] › psmdb-clusters.spec.ts:189:5 › expose psmdb cluster on EKS to the public internet and scale up Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
[api] › psmdb-clusters.spec.ts:189:5 › expose psmdb cluster on EKS to the public internet and scale up: api-tests/tests/psmdb-clusters.spec.ts#L223
4) [api] › psmdb-clusters.spec.ts:189:5 › expose psmdb cluster on EKS to the public internet and scale up Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.waitForTimeout: Test timeout of 30000ms exceeded. 221 | }) 222 | for (let i = 0; i < 15; i++) { > 223 | await page.waitForTimeout(2000) | ^ 224 | 225 | const psmdbCluster = await request.get(`/v1/database-clusters/${clusterName}`) 226 | at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/psmdb-clusters.spec.ts:223:16
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
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
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
4 flaky [api] › database-cluster-restores.spec.ts:85:5 › list restores ───────────────────────────────── [api] › monitoring-instances.spec.ts:128:5 › delete monitoring instance ──────────────────────── [api] › monitoring-instances.spec.ts:169:5 › patch monitoring instance secret key changes ────── [api] › psmdb-clusters.spec.ts:189:5 › expose psmdb cluster on EKS to the public internet and scale up 49 passed (2.0m)