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

EVEREST-107 update api-tests for multinamespace #1960

EVEREST-107 update api-tests for multinamespace

EVEREST-107 update api-tests for multinamespace #1960

Triggered via pull request February 9, 2024 15:12
Status Failure
Total duration 7m 31s
Artifacts

ci.yml

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

Annotations

10 errors, 6 warnings, and 1 notice
[api] › backup-storages.spec.ts:18:5 › add/list/get/delete s3 backup storage success: api-tests/tests/helpers.ts#L15
1) [api] › backup-storages.spec.ts:18:5 › add/list/get/delete s3 backup storage success ────────── Error: expect(received).toBeTruthy() Received: false at helpers.ts:15 13 | console.log(await response.json()) 14 | } > 15 | expect(response.ok()).toBeTruthy() | ^ 16 | } 17 | 18 | export const testsNs = 'everest' at checkError (/home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/helpers.ts:15:25) at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/backup-storages.spec.ts:59:5
[api] › backup-storages.spec.ts:18:5 › add/list/get/delete s3 backup storage success: api-tests/tests/helpers.ts#L15
1) [api] › backup-storages.spec.ts:18:5 › add/list/get/delete s3 backup storage success ────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBeTruthy() Received: false at helpers.ts:15 13 | console.log(await response.json()) 14 | } > 15 | expect(response.ok()).toBeTruthy() | ^ 16 | } 17 | 18 | export const testsNs = 'everest' at checkError (/home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/helpers.ts:15:25) at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/backup-storages.spec.ts:36:5
[api] › backup-storages.spec.ts:18:5 › add/list/get/delete s3 backup storage success: api-tests/tests/helpers.ts#L15
1) [api] › backup-storages.spec.ts:18:5 › add/list/get/delete s3 backup storage success ────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBeTruthy() Received: false at helpers.ts:15 13 | console.log(await response.json()) 14 | } > 15 | expect(response.ok()).toBeTruthy() | ^ 16 | } 17 | 18 | export const testsNs = 'everest' at checkError (/home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/helpers.ts:15:25) at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/backup-storages.spec.ts:36:5
[api] › database-cluster-backups.spec.ts:19:5 › create/delete database cluster backups: api-tests/tests/helpers.ts#L15
2) [api] › database-cluster-backups.spec.ts:19:5 › create/delete database cluster backups ──────── Error: expect(received).toBeTruthy() Received: false at helpers.ts:15 13 | console.log(await response.json()) 14 | } > 15 | expect(response.ok()).toBeTruthy() | ^ 16 | } 17 | 18 | export const testsNs = 'everest' at checkError (/home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/helpers.ts:15:25) at Object.createBackupStorage (/home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/helpers.ts:74:3) at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/database-cluster-backups.spec.ts:23:3
[api] › database-cluster-backups.spec.ts:19:5 › create/delete database cluster backups: api-tests/tests/helpers.ts#L15
2) [api] › database-cluster-backups.spec.ts:19:5 › create/delete database cluster backups ──────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBeTruthy() Received: false at helpers.ts:15 13 | console.log(await response.json()) 14 | } > 15 | expect(response.ok()).toBeTruthy() | ^ 16 | } 17 | 18 | export const testsNs = 'everest' at checkError (/home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/helpers.ts:15:25) at Object.createBackupStorage (/home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/helpers.ts:74:3) at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/database-cluster-backups.spec.ts:23:3
[api] › database-cluster-backups.spec.ts:19:5 › create/delete database cluster backups: api-tests/tests/helpers.ts#L15
2) [api] › database-cluster-backups.spec.ts:19:5 › create/delete database cluster backups ──────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBeTruthy() Received: false at helpers.ts:15 13 | console.log(await response.json()) 14 | } > 15 | expect(response.ok()).toBeTruthy() | ^ 16 | } 17 | 18 | export const testsNs = 'everest' at checkError (/home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/helpers.ts:15:25) at Object.createBackupStorage (/home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/helpers.ts:74:3) at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/database-cluster-backups.spec.ts:23:3
[api] › database-cluster-backups.spec.ts:56:5 › dbcluster not found: api-tests/tests/helpers.ts#L15
3) [api] › database-cluster-backups.spec.ts:56:5 › dbcluster not found ─────────────────────────── Error: expect(received).toBeTruthy() Received: false at helpers.ts:15 13 | console.log(await response.json()) 14 | } > 15 | expect(response.ok()).toBeTruthy() | ^ 16 | } 17 | 18 | export const testsNs = 'everest' at checkError (/home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/helpers.ts:15:25) at Object.createBackupStorage (/home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/helpers.ts:74:3) at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/database-cluster-backups.spec.ts:59:3
[api] › database-cluster-backups.spec.ts:56:5 › dbcluster not found: api-tests/tests/helpers.ts#L15
3) [api] › database-cluster-backups.spec.ts:56:5 › dbcluster not found ─────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBeTruthy() Received: false at helpers.ts:15 13 | console.log(await response.json()) 14 | } > 15 | expect(response.ok()).toBeTruthy() | ^ 16 | } 17 | 18 | export const testsNs = 'everest' at checkError (/home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/helpers.ts:15:25) at Object.createBackupStorage (/home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/helpers.ts:74:3) at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/database-cluster-backups.spec.ts:59:3
[api] › database-cluster-backups.spec.ts:56:5 › dbcluster not found: api-tests/tests/helpers.ts#L15
3) [api] › database-cluster-backups.spec.ts:56:5 › dbcluster not found ─────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBeTruthy() Received: false at helpers.ts:15 13 | console.log(await response.json()) 14 | } > 15 | expect(response.ok()).toBeTruthy() | ^ 16 | } 17 | 18 | export const testsNs = 'everest' at checkError (/home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/helpers.ts:15:25) at Object.createBackupStorage (/home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/helpers.ts:74:3) at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/database-cluster-backups.spec.ts:59:3
[api] › database-cluster-backups.spec.ts:84:5 › list backups: api-tests/tests/helpers.ts#L15
4) [api] › database-cluster-backups.spec.ts:84:5 › list backups ────────────────────────────────── Error: expect(received).toBeTruthy() Received: false at helpers.ts:15 13 | console.log(await response.json()) 14 | } > 15 | expect(response.ok()).toBeTruthy() | ^ 16 | } 17 | 18 | export const testsNs = 'everest' at checkError (/home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/helpers.ts:15:25) at Object.createBackupStorage (/home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/helpers.ts:74:3) at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/database-cluster-backups.spec.ts:89:3
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
22 failed [api] › backup-storages.spec.ts:18:5 › add/list/get/delete s3 backup storage success ─────────── [api] › database-cluster-backups.spec.ts:19:5 › create/delete database cluster backups ───────── [api] › database-cluster-backups.spec.ts:56:5 › dbcluster not found ──────────────────────────── [api] › database-cluster-backups.spec.ts:84:5 › list backups ─────────────────────────────────── [api] › database-cluster-restores.spec.ts:20:5 › create/update/delete database cluster restore ─ [api] › database-cluster-restores.spec.ts:86:5 › list restores ───────────────────────────────── [api] › database-cluster-restores.spec.ts:177:5 › create restore: validation errors ──────────── [api] › database-cluster.spec.ts:57:5 › create db cluster with monitoring config ─────────────── [api] › database-cluster.spec.ts:111:5 › update db cluster with a new monitoring config ──────── [api] › database-cluster.spec.ts:179:5 › update db cluster without monitoring config with a new monitoring config [api] › database-cluster.spec.ts:244:5 › update db cluster monitoring config with an empty monitoring config [api] › kubernetes.spec.ts:34:5 › enable/disable cluster-monitoring ──────────────────────────── [api] › monitoring-instances.spec.ts:37:5 › create monitoring instance with api key ──────────── [api] › monitoring-instances.spec.ts:58:5 › create monitoring instance with user/password ────── [api] › monitoring-instances.spec.ts:107:5 › list monitoring instances ───────────────────────── [api] › monitoring-instances.spec.ts:120:5 › get monitoring instance ─────────────────────────── [api] › monitoring-instances.spec.ts:133:5 › delete monitoring instance ──────────────────────── [api] › monitoring-instances.spec.ts:155:5 › patch monitoring instance ───────────────────────── [api] › monitoring-instances.spec.ts:174:5 › patch monitoring instance secret key changes ────── [api] › monitoring-instances.spec.ts:197:5 › patch monitoring instance type updates properly ─── [api] › monitoring-instances.spec.ts:217:5 › patch monitoring instance type fails on missing key [api] › monitoring-instances.spec.ts:242:5 › update monitoring instances failures ────────────── 31 passed (59.6s)