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

EVEREST-633 Rename restricted namespaces (#430) #1948

EVEREST-633 Rename restricted namespaces (#430)

EVEREST-633 Rename restricted namespaces (#430) #1948

Triggered via push February 8, 2024 16:55
Status Failure
Total duration 13m 48s
Artifacts

ci.yml

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

Annotations

11 errors, 4 warnings, and 1 notice
API Integration Tests (1.21.x, false)
Process completed with exit code 1.
[api] › auth.spec.ts:17:5 › auth header fails with invalid token: api-tests/tests/auth.spec.ts#L18
1) [api] › auth.spec.ts:17:5 › auth header fails with invalid token ────────────────────────────── Error: apiRequestContext.get: socket hang up Call log: - → GET http://127.0.0.1:8080/v1/version - user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.6167.57 Safari/537.36 - accept: application/json - accept-encoding: gzip,deflate,br - Content-Type: application/json - Authorization: *** 16 | 17 | test('auth header fails with invalid token', async ({ request }) => { > 18 | const version = await request.get('/v1/version', { | ^ 19 | headers: { 20 | Authorization: '***', 21 | }, at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/auth.spec.ts:18:33
[api] › auth.spec.ts:17:5 › auth header fails with invalid token: api-tests/tests/auth.spec.ts#L18
1) [api] › auth.spec.ts:17:5 › auth header fails with invalid token ────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: apiRequestContext.get: connect ECONNREFUSED 127.0.0.1:8080 Call log: - → GET http://127.0.0.1:8080/v1/version - user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.6167.57 Safari/537.36 - accept: application/json - accept-encoding: gzip,deflate,br - Content-Type: application/json - Authorization: *** 16 | 17 | test('auth header fails with invalid token', async ({ request }) => { > 18 | const version = await request.get('/v1/version', { | ^ 19 | headers: { 20 | Authorization: '***', 21 | }, at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/auth.spec.ts:18:33
[api] › auth.spec.ts:17:5 › auth header fails with invalid token: api-tests/tests/auth.spec.ts#L18
1) [api] › auth.spec.ts:17:5 › auth header fails with invalid token ────────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: apiRequestContext.get: connect ECONNREFUSED 127.0.0.1:8080 Call log: - → GET http://127.0.0.1:8080/v1/version - user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.6167.57 Safari/537.36 - accept: application/json - accept-encoding: gzip,deflate,br - Content-Type: application/json - Authorization: *** 16 | 17 | test('auth header fails with invalid token', async ({ request }) => { > 18 | const version = await request.get('/v1/version', { | ^ 19 | headers: { 20 | Authorization: '***', 21 | }, at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/auth.spec.ts:18:33
[api] › auth.spec.ts:26:5 › auth header is preferred over cookie: api-tests/tests/auth.spec.ts#L32
2) [api] › auth.spec.ts:26:5 › auth header is preferred over cookie ────────────────────────────── Error: apiRequestContext.get: connect ECONNREFUSED 127.0.0.1:8080 Call log: - → GET http://127.0.0.1:8080/v1/version - user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.6167.57 Safari/537.36 - accept: application/json - accept-encoding: gzip,deflate,br - Content-Type: application/json - Authorization: *** - cookie: everest_token=123 30 | const request = ctx.request 31 | > 32 | const version = await request.get('/v1/version') | ^ 33 | expect(version.ok()).toBeTruthy() 34 | }) 35 | at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/auth.spec.ts:32:33
[api] › auth.spec.ts:26:5 › auth header is preferred over cookie: api-tests/tests/auth.spec.ts#L32
2) [api] › auth.spec.ts:26:5 › auth header is preferred over cookie ────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: apiRequestContext.get: connect ECONNREFUSED 127.0.0.1:8080 Call log: - → GET http://127.0.0.1:8080/v1/version - user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.6167.57 Safari/537.36 - accept: application/json - accept-encoding: gzip,deflate,br - Content-Type: application/json - Authorization: *** - cookie: everest_token=123 30 | const request = ctx.request 31 | > 32 | const version = await request.get('/v1/version') | ^ 33 | expect(version.ok()).toBeTruthy() 34 | }) 35 | at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/auth.spec.ts:32:33
[api] › auth.spec.ts:26:5 › auth header is preferred over cookie: api-tests/tests/auth.spec.ts#L32
2) [api] › auth.spec.ts:26:5 › auth header is preferred over cookie ────────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: apiRequestContext.get: connect ECONNREFUSED 127.0.0.1:8080 Call log: - → GET http://127.0.0.1:8080/v1/version - user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.6167.57 Safari/537.36 - accept: application/json - accept-encoding: gzip,deflate,br - Content-Type: application/json - Authorization: *** - cookie: everest_token=123 30 | const request = ctx.request 31 | > 32 | const version = await request.get('/v1/version') | ^ 33 | expect(version.ok()).toBeTruthy() 34 | }) 35 | at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/auth.spec.ts:32:33
[api] › auth.spec.ts:44:7 › no authorization header › auth header fails with no content: api-tests/tests/auth.spec.ts#L45
3) [api] › auth.spec.ts:44:7 › no authorization header › auth header fails with no content ─────── Error: apiRequestContext.get: socket hang up Call log: - → GET http://127.0.0.1:8080/v1/version - user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.6167.57 Safari/537.36 - accept: application/json - accept-encoding: gzip,deflate,br - Content-Type: application/json 43 | 44 | test('auth header fails with no content', async ({ request }) => { > 45 | const version = await request.get('/v1/version') | ^ 46 | expect(version.status()).toEqual(401) 47 | }) 48 | at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/auth.spec.ts:45:35
[api] › auth.spec.ts:44:7 › no authorization header › auth header fails with no content: api-tests/tests/auth.spec.ts#L45
3) [api] › auth.spec.ts:44:7 › no authorization header › auth header fails with no content ─────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: apiRequestContext.get: connect ECONNREFUSED 127.0.0.1:8080 Call log: - → GET http://127.0.0.1:8080/v1/version - user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.6167.57 Safari/537.36 - accept: application/json - accept-encoding: gzip,deflate,br - Content-Type: application/json 43 | 44 | test('auth header fails with no content', async ({ request }) => { > 45 | const version = await request.get('/v1/version') | ^ 46 | expect(version.status()).toEqual(401) 47 | }) 48 | at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/auth.spec.ts:45:35
[api] › auth.spec.ts:44:7 › no authorization header › auth header fails with no content: api-tests/tests/auth.spec.ts#L45
3) [api] › auth.spec.ts:44:7 › no authorization header › auth header fails with no content ─────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: apiRequestContext.get: connect ECONNREFUSED 127.0.0.1:8080 Call log: - → GET http://127.0.0.1:8080/v1/version - user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.6167.57 Safari/537.36 - accept: application/json - accept-encoding: gzip,deflate,br - Content-Type: application/json 43 | 44 | test('auth header fails with no content', async ({ request }) => { > 45 | const version = await request.get('/v1/version') | ^ 46 | expect(version.status()).toEqual(401) 47 | }) 48 | at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/auth.spec.ts:45:35
[api] › auth.spec.ts:49:7 › no authorization header › auth cookie fails with invalid token: api-tests/tests/auth.spec.ts#L55
4) [api] › auth.spec.ts:49:7 › no authorization header › auth cookie fails with invalid token ──── Error: apiRequestContext.get: connect ECONNREFUSED 127.0.0.1:8080 Call log: - → GET http://127.0.0.1:8080/v1/version - user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.6167.57 Safari/537.36 - accept: application/json - accept-encoding: gzip,deflate,br - Content-Type: application/json - cookie: everest_token=123 53 | const request = ctx.request 54 | > 55 | const version = await request.get('/v1/version') | ^ 56 | expect(version.status()).toEqual(401) 57 | }) 58 | at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/auth.spec.ts:55:35
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
53 failed [api] › auth.spec.ts:17:5 › auth header fails with invalid token ─────────────────────────────── [api] › auth.spec.ts:26:5 › auth header is preferred over cookie ─────────────────────────────── [api] › auth.spec.ts:44:7 › no authorization header › auth header fails with no content ──────── [api] › auth.spec.ts:49:7 › no authorization header › auth cookie fails with invalid token ───── [api] › auth.spec.ts:59:7 › no authorization header › auth cookie works with a valid token ───── [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] › backup-storages.spec.ts:280:5 › update: backup storage not found ─────────────────────── [api] › backup-storages.spec.ts:292:5 › delete: backup storage not found ─────────────────────── [api] › backup-storages.spec.ts:300:5 › get: backup storage not found ────────────────────────── [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-cluster.spec.ts:55:5 › create db cluster with monitoring config ─────────────── [api] › database-cluster.spec.ts:109:5 › update db cluster with a new monitoring config ──────── [api] › database-cluster.spec.ts:177:5 › update db cluster without monitoring config with a new monitoring config [api] › database-cluster.spec.ts:242:5 › update db cluster monitoring config with an empty monitoring config [api] › database-engines.spec.ts:17:5 › check operators are installed ────────────────────────── [api] › database-engines.spec.ts:35:5 › get/edit database engine versions ────────────────────── [api] › kubernetes.spec.ts:21:5 › get resource usage ─────────────────────────────────────────── [api] › kubernetes.spec.ts:33:5 › enable/disable cluster-monitoring ──────────────────────────── [api] › kubernetes.spec.ts:64:5 › get cluster info ───────────────────────────────────────────── [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:77:5 › create monitoring instance missing pmm ───────────── [api] › monitoring-instances.spec.ts:89:5 › create monitoring instance missing pmm credentials ─ [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:232:5 › create monitoring instance failures ─────────────── [api] › monitoring-instances.spec.ts:237:5 › update monitoring instances failures ────────────── [api] ›