This repository has been archived by the owner on Mar 4, 2024. It is now read-only.
EVEREST-496 Add target namespaces to backup storages #1860
ci.yml
on: pull_request
Matrix: Check
Matrix: API Integration Tests
Matrix: Test
Annotations
14 errors, 6 warnings, and 1 notice
Check (1.21.x, false):
api/backup_storage.go#L233
calculated cyclomatic complexity for function UpdateBackupStorage is 16, max is 15 (cyclop)
|
Check (1.21.x, false):
api/backup_storage.go#L233
[golangci-lint] reported by reviewdog πΆ
calculated cyclomatic complexity for function UpdateBackupStorage is 16, max is 15 (cyclop)
Raw Output:
api/backup_storage.go:233:1: calculated cyclomatic complexity for function UpdateBackupStorage is 16, max is 15 (cyclop)
func (e *EverestServer) UpdateBackupStorage(ctx echo.Context, backupStorageName string) error { //nolint:funlen
^
|
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] βΊ backup-storages.spec.ts:17:5 βΊ add/list/get/delete s3 backup storage success:
api-tests/tests/backup-storages.spec.ts#L34
1) [api] βΊ backup-storages.spec.ts:17:5 βΊ add/list/get/delete s3 backup storage success ββββββββββ
Error: expect(received).toBeTruthy()
Received: false
32 |
33 | // create
> 34 | expect(response.ok()).toBeTruthy()
| ^
35 | const created = await response.json()
36 |
37 | const name = created.name
at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/backup-storages.spec.ts:34:25
|
[api] βΊ backup-storages.spec.ts:17:5 βΊ add/list/get/delete s3 backup storage success:
api-tests/tests/backup-storages.spec.ts#L34
1) [api] βΊ backup-storages.spec.ts:17:5 βΊ add/list/get/delete s3 backup storage success ββββββββββ
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: expect(received).toBeTruthy()
Received: false
32 |
33 | // create
> 34 | expect(response.ok()).toBeTruthy()
| ^
35 | const created = await response.json()
36 |
37 | const name = created.name
at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/backup-storages.spec.ts:34:25
|
[api] βΊ backup-storages.spec.ts:17:5 βΊ add/list/get/delete s3 backup storage success:
api-tests/tests/backup-storages.spec.ts#L34
1) [api] βΊ backup-storages.spec.ts:17:5 βΊ add/list/get/delete s3 backup storage success ββββββββββ
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: expect(received).toBeTruthy()
Received: false
32 |
33 | // create
> 34 | expect(response.ok()).toBeTruthy()
| ^
35 | const created = await response.json()
36 |
37 | const name = created.name
at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/backup-storages.spec.ts:34:25
|
[api] βΊ backup-storages.spec.ts:92:5 βΊ add/list/get/delete azure backup storage success:
api-tests/tests/backup-storages.spec.ts#L107
2) [api] βΊ backup-storages.spec.ts:92:5 βΊ add/list/get/delete azure backup storage success βββββββ
Error: expect(received).toBeTruthy()
Received: false
105 |
106 | // create
> 107 | expect(response.ok()).toBeTruthy()
| ^
108 | const created = await response.json()
109 |
110 | const name = created.name
at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/backup-storages.spec.ts:107:25
|
[api] βΊ backup-storages.spec.ts:92:5 βΊ add/list/get/delete azure backup storage success:
api-tests/tests/backup-storages.spec.ts#L107
2) [api] βΊ backup-storages.spec.ts:92:5 βΊ add/list/get/delete azure backup storage success βββββββ
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: expect(received).toBeTruthy()
Received: false
105 |
106 | // create
> 107 | expect(response.ok()).toBeTruthy()
| ^
108 | const created = await response.json()
109 |
110 | const name = created.name
at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/backup-storages.spec.ts:107:25
|
[api] βΊ backup-storages.spec.ts:92:5 βΊ add/list/get/delete azure backup storage success:
api-tests/tests/backup-storages.spec.ts#L107
2) [api] βΊ backup-storages.spec.ts:92:5 βΊ add/list/get/delete azure backup storage success βββββββ
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: expect(received).toBeTruthy()
Received: false
105 |
106 | // create
> 107 | expect(response.ok()).toBeTruthy()
| ^
108 | const created = await response.json()
109 |
110 | const name = created.name
at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/backup-storages.spec.ts:107:25
|
[api] βΊ backup-storages.spec.ts:161:5 βΊ create backup storage failures:
api-tests/tests/backup-storages.spec.ts#L229
3) [api] βΊ backup-storages.spec.ts:161:5 βΊ create backup storage failures ββββββββββββββββββββββββ
Error: expect(received).toMatch(expected)
Expected substring: "'name' is not RFC 1035 compatible"
Received string: "request body has an error: doesn't match schema #/components/schemas/CreateBackupStorageParams: Error at \"/targetNamespaces\": property \"targetNamespaces\" is missing"
227 |
228 | expect(response.status()).toBe(400)
> 229 | expect((await response.json()).message).toMatch(testCase.errorText)
| ^
230 | }
231 | })
232 |
at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/backup-storages.spec.ts:229:45
|
[api] βΊ backup-storages.spec.ts:161:5 βΊ create backup storage failures:
api-tests/tests/backup-storages.spec.ts#L229
3) [api] βΊ backup-storages.spec.ts:161:5 βΊ create backup storage failures ββββββββββββββββββββββββ
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: expect(received).toMatch(expected)
Expected substring: "'name' is not RFC 1035 compatible"
Received string: "request body has an error: doesn't match schema #/components/schemas/CreateBackupStorageParams: Error at \"/targetNamespaces\": property \"targetNamespaces\" is missing"
227 |
228 | expect(response.status()).toBe(400)
> 229 | expect((await response.json()).message).toMatch(testCase.errorText)
| ^
230 | }
231 | })
232 |
at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/backup-storages.spec.ts:229:45
|
[api] βΊ backup-storages.spec.ts:161:5 βΊ create backup storage failures:
api-tests/tests/backup-storages.spec.ts#L229
3) [api] βΊ backup-storages.spec.ts:161:5 βΊ create backup storage failures ββββββββββββββββββββββββ
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: expect(received).toMatch(expected)
Expected substring: "'name' is not RFC 1035 compatible"
Received string: "request body has an error: doesn't match schema #/components/schemas/CreateBackupStorageParams: Error at \"/targetNamespaces\": property \"targetNamespaces\" is missing"
227 |
228 | expect(response.status()).toBe(400)
> 229 | expect((await response.json()).message).toMatch(testCase.errorText)
| ^
230 | }
231 | })
232 |
at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/backup-storages.spec.ts:229:45
|
[api] βΊ backup-storages.spec.ts:233:5 βΊ update backup storage failures:
api-tests/tests/backup-storages.spec.ts#L246
4) [api] βΊ backup-storages.spec.ts:233:5 βΊ update backup storage failures ββββββββββββββββββββββββ
Error: expect(received).toBeTruthy()
Received: false
244 | })
245 |
> 246 | expect(response.ok()).toBeTruthy()
| ^
247 | const created = await response.json()
248 |
249 | const name = created.name
at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/backup-storages.spec.ts:246:25
|
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
21 failed
[api] βΊ backup-storages.spec.ts:17:5 βΊ add/list/get/delete s3 backup storage success βββββββββββ
[api] βΊ backup-storages.spec.ts:92:5 βΊ add/list/get/delete azure backup storage success ββββββββ
[api] βΊ backup-storages.spec.ts:161:5 βΊ create backup storage failures βββββββββββββββββββββββββ
[api] βΊ backup-storages.spec.ts:233:5 βΊ update backup storage failures βββββββββββββββββββββββββ
[api] βΊ database-cluster-backups.spec.ts:18:5 βΊ create/delete database cluster backups βββββββββ
[api] βΊ database-cluster-backups.spec.ts:55:5 βΊ dbcluster not found ββββββββββββββββββββββββββββ
[api] βΊ database-cluster-backups.spec.ts:83:5 βΊ list backups βββββββββββββββββββββββββββββββββββ
[api] βΊ database-cluster-restores.spec.ts:19:5 βΊ create/update/delete database cluster restore β
[api] βΊ database-cluster-restores.spec.ts:85:5 βΊ list restores βββββββββββββββββββββββββββββββββ
[api] βΊ database-cluster-restores.spec.ts:176:5 βΊ create restore: validation errors ββββββββββββ
[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
1 flaky
[api] βΊ monitoring-instances.spec.ts:212:5 βΊ patch monitoring instance type fails on missing key
31 passed (28.9s)
|