Skip to content

EVEREST-107 | API server code refactor & RBAC unit tests #3326

EVEREST-107 | API server code refactor & RBAC unit tests

EVEREST-107 | API server code refactor & RBAC unit tests #3326

Triggered via pull request December 31, 2024 10:54
Status Failure
Total duration 10m 39s
Artifacts 3

dev-be-ci.yaml

on: pull_request
Matrix: Check
Matrix: API Integration Tests
Matrix: CLI Integration Tests
Matrix: CLI tests
Matrix: Test
Merge Gatekeeper
14s
Merge Gatekeeper
Fit to window
Zoom out
Zoom in

Annotations

70 errors, 28 warnings, and 7 notices
CLI tests (test-mongo-operator) / CLI test-mongo-operator
Cannot open: File exists
CLI tests (test-mongo-operator) / CLI test-mongo-operator
Cannot open: File exists
CLI tests (test-mongo-operator) / CLI test-mongo-operator
Cannot open: File exists
CLI tests (test-mongo-operator) / CLI test-mongo-operator
Cannot open: File exists
CLI tests (test-mongo-operator) / CLI test-mongo-operator
Cannot open: File exists
CLI tests (test-mongo-operator) / CLI test-mongo-operator
Cannot open: File exists
CLI tests (test-mongo-operator) / CLI test-mongo-operator
Cannot open: File exists
CLI tests (test-mongo-operator) / CLI test-mongo-operator
Cannot open: File exists
CLI tests (test-mongo-operator) / CLI test-mongo-operator
Cannot open: File exists
CLI tests (test-mongo-operator) / CLI test-mongo-operator
Cannot open: File exists
CLI tests (test-pxc-operator) / CLI test-pxc-operator
Cannot open: File exists
CLI tests (test-pxc-operator) / CLI test-pxc-operator
Cannot open: File exists
CLI tests (test-pxc-operator) / CLI test-pxc-operator
Cannot open: File exists
CLI tests (test-pxc-operator) / CLI test-pxc-operator
Cannot open: File exists
CLI tests (test-pxc-operator) / CLI test-pxc-operator
Cannot open: File exists
CLI tests (test-pxc-operator) / CLI test-pxc-operator
Cannot open: File exists
CLI tests (test-pxc-operator) / CLI test-pxc-operator
Cannot open: File exists
CLI tests (test-pxc-operator) / CLI test-pxc-operator
Cannot open: File exists
CLI tests (test-pxc-operator) / CLI test-pxc-operator
Cannot open: File exists
CLI tests (test-pxc-operator) / CLI test-pxc-operator
Cannot open: File exists
CLI Integration Tests (1.23.x, false)
Cannot open: File exists
CLI Integration Tests (1.23.x, false)
Cannot open: File exists
CLI Integration Tests (1.23.x, false)
Cannot open: File exists
CLI Integration Tests (1.23.x, false)
Cannot open: File exists
CLI Integration Tests (1.23.x, false)
Cannot open: File exists
CLI Integration Tests (1.23.x, false)
Cannot open: File exists
CLI Integration Tests (1.23.x, false)
Cannot open: File exists
CLI Integration Tests (1.23.x, false)
Cannot open: File exists
CLI Integration Tests (1.23.x, false)
Cannot open: File exists
CLI Integration Tests (1.23.x, false)
Cannot open: File exists
CLI tests (test-pg-operator) / CLI test-pg-operator
Cannot open: File exists
CLI tests (test-pg-operator) / CLI test-pg-operator
Cannot open: File exists
CLI tests (test-pg-operator) / CLI test-pg-operator
Cannot open: File exists
CLI tests (test-pg-operator) / CLI test-pg-operator
Cannot open: File exists
CLI tests (test-pg-operator) / CLI test-pg-operator
Cannot open: File exists
CLI tests (test-pg-operator) / CLI test-pg-operator
Cannot open: File exists
CLI tests (test-pg-operator) / CLI test-pg-operator
Cannot open: File exists
CLI tests (test-pg-operator) / CLI test-pg-operator
Cannot open: File exists
CLI tests (test-pg-operator) / CLI test-pg-operator
Cannot open: File exists
CLI tests (test-pg-operator) / CLI test-pg-operator
Cannot open: File exists
CLI tests (test-all-operators) / CLI test-all-operators
Cannot open: File exists
CLI tests (test-all-operators) / CLI test-all-operators
Cannot open: File exists
CLI tests (test-all-operators) / CLI test-all-operators
Cannot open: File exists
CLI tests (test-all-operators) / CLI test-all-operators
Cannot open: File exists
CLI tests (test-all-operators) / CLI test-all-operators
Cannot open: File exists
CLI tests (test-all-operators) / CLI test-all-operators
Cannot open: File exists
CLI tests (test-all-operators) / CLI test-all-operators
Cannot open: File exists
CLI tests (test-all-operators) / CLI test-all-operators
Cannot open: File exists
CLI tests (test-all-operators) / CLI test-all-operators
Cannot open: File exists
CLI tests (test-all-operators) / CLI test-all-operators
Cannot open: File exists
[api] › database-engines.spec.ts:19:5 › check operators are installed: api-tests/tests/database-engines.spec.ts#L28
1) [api] › database-engines.spec.ts:19:5 › check operators are installed ───────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: "installed" Received: "installing" 26 | .filter((engine) => engine.spec.type !== 'postgresql') 27 | .forEach((engine) => { > 28 | expect(engine.status?.status).toBe('installed'); | ^ 29 | }); 30 | }); 31 | at forEach (/home/runner/work/everest/everest/api-tests/tests/database-engines.spec.ts:28:37) at /home/runner/work/everest/everest/api-tests/tests/database-engines.spec.ts:27:6
[api] › database-engines.spec.ts:19:5 › check operators are installed: api-tests/tests/database-engines.spec.ts#L28
1) [api] › database-engines.spec.ts:19:5 › check operators are installed ───────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: "installed" Received: "installing" 26 | .filter((engine) => engine.spec.type !== 'postgresql') 27 | .forEach((engine) => { > 28 | expect(engine.status?.status).toBe('installed'); | ^ 29 | }); 30 | }); 31 | at forEach (/home/runner/work/everest/everest/api-tests/tests/database-engines.spec.ts:28:37) at /home/runner/work/everest/everest/api-tests/tests/database-engines.spec.ts:27:6
[api] › database-engines.spec.ts:19:5 › check operators are installed: api-tests/tests/database-engines.spec.ts#L28
1) [api] › database-engines.spec.ts:19:5 › check operators are installed ───────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: "installed" Received: "installing" 26 | .filter((engine) => engine.spec.type !== 'postgresql') 27 | .forEach((engine) => { > 28 | expect(engine.status?.status).toBe('installed'); | ^ 29 | }); 30 | }); 31 | at forEach (/home/runner/work/everest/everest/api-tests/tests/database-engines.spec.ts:28:37) at /home/runner/work/everest/everest/api-tests/tests/database-engines.spec.ts:27:6
[api] › monitoring-instances.spec.ts:67:5 › create monitoring instance missing pmm: api-tests/tests/monitoring-instances.spec.ts#L77
2) [api] › monitoring-instances.spec.ts:67:5 › create monitoring instance missing pmm ──────────── Error: expect(received).toBe(expected) // Object.is equality Expected: 400 Received: 500 75 | const response = await request.post(`/v1/namespaces/${testsNs}/monitoring-instances`, { data }) 76 | > 77 | expect(response.status()).toBe(400) | ^ 78 | }) 79 | 80 | test('create monitoring instance missing pmm credentials', async ({ request }) => { at /home/runner/work/everest/everest/api-tests/tests/monitoring-instances.spec.ts:77:29
[api] › monitoring-instances.spec.ts:67:5 › create monitoring instance missing pmm: api-tests/tests/monitoring-instances.spec.ts#L77
2) [api] › monitoring-instances.spec.ts:67:5 › create monitoring instance missing pmm ──────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: 400 Received: 500 75 | const response = await request.post(`/v1/namespaces/${testsNs}/monitoring-instances`, { data }) 76 | > 77 | expect(response.status()).toBe(400) | ^ 78 | }) 79 | 80 | test('create monitoring instance missing pmm credentials', async ({ request }) => { at /home/runner/work/everest/everest/api-tests/tests/monitoring-instances.spec.ts:77:29
[api] › monitoring-instances.spec.ts:67:5 › create monitoring instance missing pmm: api-tests/tests/monitoring-instances.spec.ts#L77
2) [api] › monitoring-instances.spec.ts:67:5 › create monitoring instance missing pmm ──────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: 400 Received: 500 75 | const response = await request.post(`/v1/namespaces/${testsNs}/monitoring-instances`, { data }) 76 | > 77 | expect(response.status()).toBe(400) | ^ 78 | }) 79 | 80 | test('create monitoring instance missing pmm credentials', async ({ request }) => { at /home/runner/work/everest/everest/api-tests/tests/monitoring-instances.spec.ts:77:29
[api] › monitoring-instances.spec.ts:80:5 › create monitoring instance missing pmm credentials: api-tests/tests/monitoring-instances.spec.ts#L91
3) [api] › monitoring-instances.spec.ts:80:5 › create monitoring instance missing pmm credentials Error: expect(received).toBe(expected) // Object.is equality Expected: 400 Received: 500 89 | const response = await request.post(`/v1/namespaces/${testsNs}/monitoring-instances`, { data }) 90 | > 91 | expect(response.status()).toBe(400) | ^ 92 | }) 93 | 94 | test('list monitoring instances', async ({ request }) => { at /home/runner/work/everest/everest/api-tests/tests/monitoring-instances.spec.ts:91:29
[api] › monitoring-instances.spec.ts:80:5 › create monitoring instance missing pmm credentials: api-tests/tests/monitoring-instances.spec.ts#L91
3) [api] › monitoring-instances.spec.ts:80:5 › create monitoring instance missing pmm credentials Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: 400 Received: 500 89 | const response = await request.post(`/v1/namespaces/${testsNs}/monitoring-instances`, { data }) 90 | > 91 | expect(response.status()).toBe(400) | ^ 92 | }) 93 | 94 | test('list monitoring instances', async ({ request }) => { at /home/runner/work/everest/everest/api-tests/tests/monitoring-instances.spec.ts:91:29
[api] › monitoring-instances.spec.ts:80:5 › create monitoring instance missing pmm credentials: api-tests/tests/monitoring-instances.spec.ts#L91
3) [api] › monitoring-instances.spec.ts:80:5 › create monitoring instance missing pmm credentials Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: 400 Received: 500 89 | const response = await request.post(`/v1/namespaces/${testsNs}/monitoring-instances`, { data }) 90 | > 91 | expect(response.status()).toBe(400) | ^ 92 | }) 93 | 94 | test('list monitoring instances', async ({ request }) => { at /home/runner/work/everest/everest/api-tests/tests/monitoring-instances.spec.ts:91:29
[api] › monitoring-instances.spec.ts:222:5 › patch monitoring instance type fails on missing key: api-tests/tests/monitoring-instances.spec.ts#L238
4) [api] › monitoring-instances.spec.ts:222:5 › patch monitoring instance type fails on missing key Error: expect(received).toBe(expected) // Object.is equality Expected: 400 Received: 500 236 | const updated = await request.patch(`/v1/namespaces/${testsNs}/monitoring-instances/${name}`, { data: patchData }) 237 | > 238 | expect(updated.status()).toBe(400) | ^ 239 | 240 | const getJson = await updated.json() 241 | at /home/runner/work/everest/everest/api-tests/tests/monitoring-instances.spec.ts:238:28
CLI tests (test-namespaces) / CLI test-namespaces
Cannot open: File exists
CLI tests (test-namespaces) / CLI test-namespaces
Cannot open: File exists
CLI tests (test-namespaces) / CLI test-namespaces
Cannot open: File exists
CLI tests (test-namespaces) / CLI test-namespaces
Cannot open: File exists
CLI tests (test-namespaces) / CLI test-namespaces
Cannot open: File exists
CLI tests (test-namespaces) / CLI test-namespaces
Cannot open: File exists
CLI tests (test-namespaces) / CLI test-namespaces
Cannot open: File exists
CLI tests (test-namespaces) / CLI test-namespaces
Cannot open: File exists
CLI tests (test-namespaces) / CLI test-namespaces
Cannot open: File exists
CLI tests (test-namespaces) / CLI test-namespaces
Cannot open: File exists
Check (1.23.x, false)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check (1.23.x, false)
Restore cache failed: Dependencies file is not found in /home/runner/work/everest/everest. Supported file pattern: go.sum
CLI tests (test-mongo-operator) / CLI test-mongo-operator
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
CLI tests (test-mongo-operator) / CLI test-mongo-operator
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Slow Test: cli-tests/[flows] › flow/mongodb-operator.spec.ts#L1
cli-tests/[flows] › flow/mongodb-operator.spec.ts took 1.7m
CLI tests (test-mongo-operator) / CLI test-mongo-operator
Restore cache failed: Dependencies file is not found in /home/runner/work/everest/everest. Supported file pattern: go.sum
CLI tests (test-pxc-operator) / CLI test-pxc-operator
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
CLI tests (test-pxc-operator) / CLI test-pxc-operator
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
CLI tests (test-pxc-operator) / CLI test-pxc-operator
Restore cache failed: Dependencies file is not found in /home/runner/work/everest/everest. Supported file pattern: go.sum
Slow Test: cli-tests/[flows] › flow/pxc-operator.spec.ts#L1
cli-tests/[flows] › flow/pxc-operator.spec.ts took 1.8m
CLI Integration Tests (1.23.x, false)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
CLI Integration Tests (1.23.x, false)
Restore cache failed: Dependencies file is not found in /home/runner/work/everest/everest. Supported file pattern: go.sum
CLI tests (test-pg-operator) / CLI test-pg-operator
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
CLI tests (test-pg-operator) / CLI test-pg-operator
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Slow Test: cli-tests/[flows] › flow/pg-operator.spec.ts#L1
cli-tests/[flows] › flow/pg-operator.spec.ts took 1.9m
CLI tests (test-pg-operator) / CLI test-pg-operator
Restore cache failed: Dependencies file is not found in /home/runner/work/everest/everest. Supported file pattern: go.sum
Test (1.23.x, false)
Restore cache failed: Dependencies file is not found in /home/runner/work/everest/everest. Supported file pattern: go.sum
CLI tests (test-all-operators) / CLI test-all-operators
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
CLI tests (test-all-operators) / CLI test-all-operators
Restore cache failed: Dependencies file is not found in /home/runner/work/everest/everest. Supported file pattern: go.sum
CLI tests (test-all-operators) / CLI test-all-operators
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Slow Test: cli-tests/[flows] › flow/all-operators.spec.ts#L1
cli-tests/[flows] › flow/all-operators.spec.ts took 3.2m
API Integration Tests (1.23.x, false)
Restore cache failed: Dependencies file is not found in /home/runner/work/everest/everest. Supported file pattern: go.sum
Playwright
You are using a frozen webkit browser which does not receive updates anymore on ubuntu20.04-x64. Please update to the latest version of your operating system to test up-to-date browsers.
Slow Test: api-tests/[api] › pg-clusters.spec.ts#L1
api-tests/[api] › pg-clusters.spec.ts took 29.6s
CLI tests (test-namespaces) / CLI test-namespaces
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
CLI tests (test-namespaces) / CLI test-namespaces
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Slow Test: cli-tests/[flows] › flow/namespaces.spec.ts#L1
cli-tests/[flows] › flow/namespaces.spec.ts took 4.4m
CLI tests (test-namespaces) / CLI test-namespaces
Restore cache failed: Dependencies file is not found in /home/runner/work/everest/everest. Supported file pattern: go.sum
🎭 Playwright Run Summary
1 passed (1.7m)
🎭 Playwright Run Summary
1 passed (1.9m)
🎭 Playwright Run Summary
6 passed (1.3s)
🎭 Playwright Run Summary
1 passed (1.9m)
🎭 Playwright Run Summary
1 passed (3.3m)
🎭 Playwright Run Summary
5 failed [api] › database-engines.spec.ts:19:5 › check operators are installed ────────────────────────── [api] › monitoring-instances.spec.ts:67:5 › create monitoring instance missing pmm ───────────── [api] › monitoring-instances.spec.ts:80:5 › create monitoring instance missing pmm credentials ─ [api] › monitoring-instances.spec.ts:222:5 › patch monitoring instance type fails on missing key [api] › monitoring-instances.spec.ts:251:5 › update monitoring instances failures ────────────── 1 flaky [api] › database-cluster-backups.spec.ts:19:5 › create/delete database cluster backups ───────── 48 passed (4.2m)
🎭 Playwright Run Summary
1 passed (4.4m)

Artifacts

Produced during runtime
Name Size
cli-tests-report
186 KB
percona~everest~XHQIDP.dockerbuild
15.7 KB
test-delete-cluster-tests-report
205 KB