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

EVEREST-489 Added version endpoint #1164

EVEREST-489 Added version endpoint

EVEREST-489 Added version endpoint #1164

Triggered via pull request October 13, 2023 13:41
@gen1us2kgen1us2k
synchronize #235
EVEREST-489
Status Failure
Total duration 6m 11s
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 2s
API Integration Tests
Matrix: Check
Matrix: Test
Fit to window
Zoom out
Zoom in

Annotations

11 errors, 3 warnings, and 1 notice
Check (1.21.x, false): api/version.go#L11
exported method `EverestServer.VersionInfo` should have comment or be unexported (golint)
Check (1.21.x, false)
Process completed with exit code 1.
[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
1) [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
1) [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:269:14
[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#L271
1) [api] › psmdb-clusters.spec.ts:198:5 › expose psmdb cluster on EKS to the public internet and scale up Error: apiRequestContext.get: Request context disposed. =========================== logs =========================== → GET http://127.0.0.1:8080/v1/kubernetes/5a7a6af5-cf08-4615-8fc5-af026c31afe4/database-clusters/eks-psmdb user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.5938.62 Safari/537.36 accept: application/json accept-encoding: gzip,deflate,br Content-Type: application/json ============================================================ 269 | await page.waitForTimeout(1000) 270 | > 271 | psmdbCluster = await request.get(`/v1/kubernetes/${kubernetesId}/database-clusters/${clusterName}`) | ^ 272 | expect(psmdbCluster.status()).toBe(404) 273 | }) 274 | at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/psmdb-clusters.spec.ts:271:32
[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#L247
1) [api] › psmdb-clusters.spec.ts:198:5 › expose psmdb cluster on EKS to the public internet and scale up Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: 3 Received: 2 245 | expect(result.metadata.name).toBe(clusterName) 246 | expect(result.spec).toMatchObject(psmdbPayload.spec) > 247 | expect(result.status.size).toBe(3) | ^ 248 | 249 | psmdbPayload.spec = result.spec 250 | psmdbPayload.metadata = result.metadata at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/psmdb-clusters.spec.ts:247:32
[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#L247
1) [api] › psmdb-clusters.spec.ts:198:5 › expose psmdb cluster on EKS to the public internet and scale up Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: 3 Received: 2 245 | expect(result.metadata.name).toBe(clusterName) 246 | expect(result.spec).toMatchObject(psmdbPayload.spec) > 247 | expect(result.status.size).toBe(3) | ^ 248 | 249 | psmdbPayload.spec = result.spec 250 | psmdbPayload.metadata = result.metadata at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/psmdb-clusters.spec.ts:247:32
[api] › database-cluster.spec.ts:72:5 › create db cluster with monitoring config: api-tests/tests/database-cluster.spec.ts#L66
2) [api] › database-cluster.spec.ts:72:5 › create db cluster with monitoring config ────────────── Error: expect(received).toBeTruthy() Received: false 64 | let res = await request.delete(`/v1/monitoring-instances/${monitoringConfigName1}`) 65 | > 66 | expect(res.ok()).toBeTruthy() | ^ 67 | 68 | res = await request.delete(`/v1/monitoring-instances/${monitoringConfigName2}`) 69 | expect(res.ok()).toBeTruthy() at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/database-cluster.spec.ts:66:20
[api] › psmdb-clusters.spec.ts:37:5 › create/edit/delete single node psmdb cluster: api-tests/tests/psmdb-clusters.spec.ts#L105
3) [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:119:5 › expose psmdb cluster after creation: api-tests/tests/psmdb-clusters.spec.ts#L184
4) [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 Integration Tests
Process completed with exit code 2.
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
1 failed [api] › psmdb-clusters.spec.ts:198:5 › expose psmdb cluster on EKS to the public internet and scale up 3 flaky [api] › database-cluster.spec.ts:72:5 › create db cluster with monitoring config ─────────────── [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 ───────────────────── 45 passed (1.3m)