This repository has been archived by the owner on Mar 4, 2024. It is now read-only.
EVEREST-107 update api-tests for multinamespace #1954
Annotations
10 errors, 2 warnings, and 1 notice
Run integration tests:
api-tests/tests/backup-storages.spec.ts#L35
1) [api] › backup-storages.spec.ts:18:5 › add/list/get/delete s3 backup storage success ──────────
Error: expect(received).toBeTruthy()
Received: false
33 |
34 | // create
> 35 | expect(response.ok()).toBeTruthy()
| ^
36 | const created = await response.json()
37 |
38 | const name = created.name
at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/backup-storages.spec.ts:35:27
|
Run integration tests:
api-tests/tests/backup-storages.spec.ts#L35
1) [api] › backup-storages.spec.ts:18:5 › add/list/get/delete s3 backup storage success ──────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeTruthy()
Received: false
33 |
34 | // create
> 35 | expect(response.ok()).toBeTruthy()
| ^
36 | const created = await response.json()
37 |
38 | const name = created.name
at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/backup-storages.spec.ts:35:27
|
Run integration tests:
api-tests/tests/backup-storages.spec.ts#L35
1) [api] › backup-storages.spec.ts:18:5 › add/list/get/delete s3 backup storage success ──────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeTruthy()
Received: false
33 |
34 | // create
> 35 | expect(response.ok()).toBeTruthy()
| ^
36 | const created = await response.json()
37 |
38 | const name = created.name
at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/backup-storages.spec.ts:35:27
|
Run integration tests:
api-tests/tests/backup-storages.spec.ts#L108
2) [api] › backup-storages.spec.ts:93:5 › add/list/get/delete azure backup storage success ───────
Error: expect(received).toBeTruthy()
Received: false
106 |
107 | // create
> 108 | expect(response.ok()).toBeTruthy()
| ^
109 | const created = await response.json()
110 |
111 | const name = created.name
at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/backup-storages.spec.ts:108:27
|
Run integration tests:
api-tests/tests/backup-storages.spec.ts#L108
2) [api] › backup-storages.spec.ts:93:5 › add/list/get/delete azure backup storage success ───────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeTruthy()
Received: false
106 |
107 | // create
> 108 | expect(response.ok()).toBeTruthy()
| ^
109 | const created = await response.json()
110 |
111 | const name = created.name
at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/backup-storages.spec.ts:108:27
|
Run integration tests:
api-tests/tests/backup-storages.spec.ts#L108
2) [api] › backup-storages.spec.ts:93:5 › add/list/get/delete azure backup storage success ───────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeTruthy()
Received: false
106 |
107 | // create
> 108 | expect(response.ok()).toBeTruthy()
| ^
109 | const created = await response.json()
110 |
111 | const name = created.name
at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/backup-storages.spec.ts:108:27
|
Run integration tests:
api-tests/tests/backup-storages.spec.ts#L229
3) [api] › backup-storages.spec.ts:162:5 › create backup storage failures ────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 400
Received: 404
227 | })
228 |
> 229 | expect(response.status()).toBe(400)
| ^
230 | expect((await response.json()).message).toMatch(testCase.errorText)
231 | }
232 | })
at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/backup-storages.spec.ts:229:35
|
Run integration tests:
api-tests/tests/backup-storages.spec.ts#L229
3) [api] › backup-storages.spec.ts:162:5 › create backup storage failures ────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 400
Received: 404
227 | })
228 |
> 229 | expect(response.status()).toBe(400)
| ^
230 | expect((await response.json()).message).toMatch(testCase.errorText)
231 | }
232 | })
at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/backup-storages.spec.ts:229:35
|
Run integration tests:
api-tests/tests/backup-storages.spec.ts#L229
3) [api] › backup-storages.spec.ts:162:5 › create backup storage failures ────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 400
Received: 404
227 | })
228 |
> 229 | expect(response.status()).toBe(400)
| ^
230 | expect((await response.json()).message).toMatch(testCase.errorText)
231 | }
232 | })
at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/backup-storages.spec.ts:229:35
|
Run integration tests:
api-tests/tests/backup-storages.spec.ts#L247
4) [api] › backup-storages.spec.ts:234:5 › update backup storage failures ────────────────────────
Error: expect(received).toBeTruthy()
Received: false
245 | })
246 |
> 247 | expect(response.ok()).toBeTruthy()
| ^
248 | const created = await response.json()
249 |
250 | const name = created.name
at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/backup-storages.spec.ts:247:27
|
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/.
|
Set up Go release
Restore cache failed: Dependencies file is not found in /home/runner/work/percona-everest-backend/percona-everest-backend. Supported file pattern: go.sum
|
Run integration tests
25 failed
[api] › backup-storages.spec.ts:18:5 › add/list/get/delete s3 backup storage success ───────────
[api] › backup-storages.spec.ts:93:5 › add/list/get/delete azure backup storage success ────────
[api] › backup-storages.spec.ts:162:5 › create backup storage failures ─────────────────────────
[api] › backup-storages.spec.ts:234:5 › update backup storage failures ─────────────────────────
[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:36:5 › create monitoring instance with api key ────────────
[api] › monitoring-instances.spec.ts:56:5 › create monitoring instance with user/password ──────
[api] › monitoring-instances.spec.ts:102:5 › list monitoring instances ─────────────────────────
[api] › monitoring-instances.spec.ts:115:5 › get monitoring instance ───────────────────────────
[api] › monitoring-instances.spec.ts:128:5 › delete monitoring instance ────────────────────────
[api] › monitoring-instances.spec.ts:150:5 › patch monitoring instance ─────────────────────────
[api] › monitoring-instances.spec.ts:169:5 › patch monitoring instance secret key changes ──────
[api] › monitoring-instances.spec.ts:192:5 › patch monitoring instance type updates properly ───
[api] › monitoring-instances.spec.ts:212:5 › patch monitoring instance type fails on missing key
[api] › monitoring-instances.spec.ts:237:5 › update monitoring instances failures ──────────────
28 passed (50.8s)
|
The logs for this run have expired and are no longer available.
Loading