Skip to content
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 #1859

EVEREST-496 Add target namespaces to backup storages

EVEREST-496 Add target namespaces to backup storages #1859

Triggered via pull request January 31, 2024 15:22
Status Failure
Total duration 6m 40s
Artifacts

ci.yml

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

Annotations

17 errors, 6 warnings, and 1 notice
Test (1.21.x, false): api/everest_test.go#L63
too many arguments in call to buildProxiedURL
Test (1.21.x, false)
Process completed with exit code 2.
Check (1.21.x, false): api/everest_test.go#L63
too many arguments in call to buildProxiedURL
Check (1.21.x, false): api/auth.go#L1
[golangci-lint] reported by reviewdog 🐢 : # github.com/percona/percona-everest-backend/api [github.com/percona/percona-everest-backend/api.test] Raw Output: api/auth.go:1: : # github.com/percona/percona-everest-backend/api [github.com/percona/percona-everest-backend/api.test]
Check (1.21.x, false): api/everest_test.go#L63
[golangci-lint] reported by reviewdog 🐢 too many arguments in call to buildProxiedURL Raw Output: api/everest_test.go:63:86: too many arguments in call to buildProxiedURL have (string, string, string, string) want (string, string, string) (typecheck) // percona-everest-backend
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
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
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] β€Ί kubernetes.spec.ts:33:5 β€Ί enable/disable cluster-monitoring ──────────────────────────── 31 passed (31.5s)