This repository has been archived by the owner on Mar 4, 2024. It is now read-only.
EVEREST-107 update api-tests for multinamespace #1958
ci.yml
on: pull_request
Matrix: Check
Matrix: API Integration Tests
Matrix: Test
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/backup-storages.spec.ts#L59
1) [api] › backup-storages.spec.ts:18:5 › add/list/get/delete s3 backup storage success ──────────
Error: expect(received).toBeTruthy()
Received: false
57 | const one = await request.get(`/v1/backup-storages${name}`)
58 |
> 59 | expect(one.ok()).toBeTruthy()
| ^
60 | expect((await one.json()).name).toBe(payload.name)
61 |
62 | // update
at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/backup-storages.spec.ts:59:22
|
[api] › backup-storages.spec.ts:18:5 › add/list/get/delete s3 backup storage success:
api-tests/tests/backup-storages.spec.ts#L36
1) [api] › backup-storages.spec.ts:18:5 › add/list/get/delete s3 backup storage success ──────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeTruthy()
Received: false
34 |
35 | // create
> 36 | expect(response.ok()).toBeTruthy()
| ^
37 | const created = await response.json()
38 |
39 | const name = created.name
at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/backup-storages.spec.ts:36:27
|
[api] › backup-storages.spec.ts:18:5 › add/list/get/delete s3 backup storage success:
api-tests/tests/backup-storages.spec.ts#L36
1) [api] › backup-storages.spec.ts:18:5 › add/list/get/delete s3 backup storage success ──────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeTruthy()
Received: false
34 |
35 | // create
> 36 | expect(response.ok()).toBeTruthy()
| ^
37 | const created = await response.json()
38 |
39 | const name = created.name
at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/backup-storages.spec.ts:36:27
|
[api] › database-cluster-backups.spec.ts:19:5 › create/delete database cluster backups:
api-tests/tests/helpers.ts#L67
2) [api] › database-cluster-backups.spec.ts:19:5 › create/delete database cluster backups ────────
Error: expect(received).toBeTruthy()
Received: false
at helpers.ts:67
65 | const response = await request.post(`/v1/backup-storages`, { data: storagePayload })
66 |
> 67 | expect(response.ok()).toBeTruthy()
| ^
68 | }
69 |
70 | export const deleteBackupStorage = async (request, name) => {
at Object.createBackupStorage (/home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/helpers.ts:67:25)
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#L67
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:67
65 | const response = await request.post(`/v1/backup-storages`, { data: storagePayload })
66 |
> 67 | expect(response.ok()).toBeTruthy()
| ^
68 | }
69 |
70 | export const deleteBackupStorage = async (request, name) => {
at Object.createBackupStorage (/home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/helpers.ts:67:25)
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#L67
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:67
65 | const response = await request.post(`/v1/backup-storages`, { data: storagePayload })
66 |
> 67 | expect(response.ok()).toBeTruthy()
| ^
68 | }
69 |
70 | export const deleteBackupStorage = async (request, name) => {
at Object.createBackupStorage (/home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/helpers.ts:67:25)
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#L67
3) [api] › database-cluster-backups.spec.ts:56:5 › dbcluster not found ───────────────────────────
Error: expect(received).toBeTruthy()
Received: false
at helpers.ts:67
65 | const response = await request.post(`/v1/backup-storages`, { data: storagePayload })
66 |
> 67 | expect(response.ok()).toBeTruthy()
| ^
68 | }
69 |
70 | export const deleteBackupStorage = async (request, name) => {
at Object.createBackupStorage (/home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/helpers.ts:67:25)
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#L67
3) [api] › database-cluster-backups.spec.ts:56:5 › dbcluster not found ───────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeTruthy()
Received: false
at helpers.ts:67
65 | const response = await request.post(`/v1/backup-storages`, { data: storagePayload })
66 |
> 67 | expect(response.ok()).toBeTruthy()
| ^
68 | }
69 |
70 | export const deleteBackupStorage = async (request, name) => {
at Object.createBackupStorage (/home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/helpers.ts:67:25)
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#L67
3) [api] › database-cluster-backups.spec.ts:56:5 › dbcluster not found ───────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeTruthy()
Received: false
at helpers.ts:67
65 | const response = await request.post(`/v1/backup-storages`, { data: storagePayload })
66 |
> 67 | expect(response.ok()).toBeTruthy()
| ^
68 | }
69 |
70 | export const deleteBackupStorage = async (request, name) => {
at Object.createBackupStorage (/home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/helpers.ts:67:25)
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#L67
4) [api] › database-cluster-backups.spec.ts:84:5 › list backups ──────────────────────────────────
Error: expect(received).toBeTruthy()
Received: false
at helpers.ts:67
65 | const response = await request.post(`/v1/backup-storages`, { data: storagePayload })
66 |
> 67 | expect(response.ok()).toBeTruthy()
| ^
68 | }
69 |
70 | export const deleteBackupStorage = async (request, name) => {
at Object.createBackupStorage (/home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/helpers.ts:67:25)
at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/database-cluster-backups.spec.ts:89:3
|
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
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:56:5 › create db cluster with monitoring config ───────────────
[api] › database-cluster.spec.ts:110:5 › update db cluster with a new monitoring config ────────
[api] › database-cluster.spec.ts:178:5 › update db cluster without monitoring config with a new monitoring config
[api] › database-cluster.spec.ts:243:5 › update db cluster monitoring config with an empty monitoring config
[api] › kubernetes.spec.ts:33: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 ──────────────
1 flaky
[api] › pxc-clusters.spec.ts:37:5 › create/edit/delete pxc single node cluster ─────────────────
30 passed (49.9s)
|