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

EVEREST-256 Improved validation of database cluster CR #908

EVEREST-256 Improved validation of database cluster CR

EVEREST-256 Improved validation of database cluster CR #908

Triggered via pull request September 19, 2023 19:25
@gen1us2kgen1us2k
synchronize #166
EVEREST-256
Status Failure
Total duration 6m 34s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

ci.yml

on: pull_request
API Integration Tests
6m 24s
API Integration Tests
Matrix: Check
Matrix: Test
Fit to window
Zoom out
Zoom in

Annotations

9 errors, 3 warnings, and 1 notice
Test (1.21.x, false)
Process completed with exit code 1.
Check (1.21.x, false): api/database_cluster.go#L128
calculated cyclomatic complexity for function UpdateDatabaseCluster is 11, max is 10 (cyclop)
Check (1.21.x, false): api/database_cluster.go#L128
[golangci-lint] reported by reviewdog 🐶 calculated cyclomatic complexity for function UpdateDatabaseCluster is 11, max is 10 (cyclop) Raw Output: api/database_cluster.go:128:1: calculated cyclomatic complexity for function UpdateDatabaseCluster is 11, max is 10 (cyclop) func (e *EverestServer) UpdateDatabaseCluster(ctx echo.Context, kubernetesID string, name string) error { //nolint:funlen ^
Check (1.21.x, false)
Process completed with exit code 1.
[api] › psmdb-clusters.spec.ts:37:5 › create/edit/delete single node psmdb cluster: api-tests/tests/psmdb-clusters.spec.ts#L105
1) [api] › psmdb-clusters.spec.ts:37:5 › create/edit/delete single node psmdb cluster ──────────── Error: expect(received).toBeTruthy() Received: false 103 | }) 104 | > 105 | expect(updatedPSMDBCluster.ok()).toBeTruthy() | ^ 106 | 107 | let psmdbCluster = await request.get(`/v1/kubernetes/${kubernetesId}/database-clusters/${clusterName}`) 108 | at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/psmdb-clusters.spec.ts:105:36
[api] › psmdb-clusters.spec.ts:37:5 › create/edit/delete single node psmdb cluster: api-tests/tests/psmdb-clusters.spec.ts#L105
1) [api] › psmdb-clusters.spec.ts:37:5 › create/edit/delete single node psmdb cluster ──────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBeTruthy() Received: false 103 | }) 104 | > 105 | expect(updatedPSMDBCluster.ok()).toBeTruthy() | ^ 106 | 107 | let psmdbCluster = await request.get(`/v1/kubernetes/${kubernetesId}/database-clusters/${clusterName}`) 108 | at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/psmdb-clusters.spec.ts:105:36
[api] › psmdb-clusters.spec.ts:119:5 › expose psmdb cluster after creation: api-tests/tests/psmdb-clusters.spec.ts#L184
2) [api] › psmdb-clusters.spec.ts:119:5 › expose psmdb cluster after creation ──────────────────── Error: expect(received).toBeTruthy() Received: false 182 | }) 183 | > 184 | expect(updatedPSMDBCluster.ok()).toBeTruthy() | ^ 185 | 186 | let psmdbCluster = await request.get(`/v1/kubernetes/${kubernetesId}/database-clusters/${clusterName}`) 187 | at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/psmdb-clusters.spec.ts:184:36
[api] › psmdb-clusters.spec.ts:198:5 › expose psmdb cluster on EKS to the public internet and scale up: api-tests/tests/psmdb-clusters.spec.ts#L1
3) [api] › psmdb-clusters.spec.ts:198:5 › expose psmdb cluster on EKS to the public internet and scale up Test timeout of 30000ms exceeded.
[api] › psmdb-clusters.spec.ts:198:5 › expose psmdb cluster on EKS to the public internet and scale up: api-tests/tests/psmdb-clusters.spec.ts#L1
3) [api] › psmdb-clusters.spec.ts:198:5 › expose psmdb cluster on EKS to the public internet and scale up Pending operations: - page.waitForTimeout at tests/psmdb-clusters.spec.ts:233:16
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)
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
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
3 flaky [api] › psmdb-clusters.spec.ts:37:5 › create/edit/delete single node psmdb cluster ───────────── [api] › psmdb-clusters.spec.ts:119:5 › expose psmdb cluster after creation ───────────────────── [api] › psmdb-clusters.spec.ts:198:5 › expose psmdb cluster on EKS to the public internet and scale up 44 passed (1.1m)