Skip to content

EVEREST-1500 | Enforce database-cluster-credentials permission on restores #2462

EVEREST-1500 | Enforce database-cluster-credentials permission on restores

EVEREST-1500 | Enforce database-cluster-credentials permission on restores #2462

Triggered via pull request September 19, 2024 08:41
Status Failure
Total duration 13m 5s
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

61 errors, 24 warnings, and 6 notices
Check (1.22.x, false): api/database_cluster_restore.go#L97
unnecessary trailing newline (whitespace)
Check (1.22.x, false)
Process completed with exit code 1.
Test (1.22.x, false)
Process completed with exit code 1.
[api] › monitoring-instances.spec.ts:133:5 › delete monitoring instance: api-tests/tests/monitoring-instances.spec.ts#L152
1) [api] › monitoring-instances.spec.ts:133:5 › delete monitoring instance ─────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: 2 Received: 3 150 | list = await response.json() 151 | > 152 | expect(list.filter((i) => i.name.startsWith(`${namePrefix}${testPrefix}`)).length).toBe(2) | ^ 153 | }) 154 | 155 | test('patch monitoring instance', async ({ request }) => { at /home/runner/work/everest/everest/api-tests/tests/monitoring-instances.spec.ts:152:86
[api] › monitoring-instances.spec.ts:133:5 › delete monitoring instance: api-tests/tests/monitoring-instances.spec.ts#L152
1) [api] › monitoring-instances.spec.ts:133:5 › delete monitoring instance ─────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: 2 Received: 3 150 | list = await response.json() 151 | > 152 | expect(list.filter((i) => i.name.startsWith(`${namePrefix}${testPrefix}`)).length).toBe(2) | ^ 153 | }) 154 | 155 | test('patch monitoring instance', async ({ request }) => { at /home/runner/work/everest/everest/api-tests/tests/monitoring-instances.spec.ts:152:86
[api] › monitoring-instances.spec.ts:133:5 › delete monitoring instance: api-tests/tests/monitoring-instances.spec.ts#L152
1) [api] › monitoring-instances.spec.ts:133:5 › delete monitoring instance ─────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: 2 Received: 3 150 | list = await response.json() 151 | > 152 | expect(list.filter((i) => i.name.startsWith(`${namePrefix}${testPrefix}`)).length).toBe(2) | ^ 153 | }) 154 | 155 | test('patch monitoring instance', async ({ request }) => { at /home/runner/work/everest/everest/api-tests/tests/monitoring-instances.spec.ts:152:86
[api] › monitoring-instances.spec.ts:174:5 › patch monitoring instance secret key changes: api-tests/tests/helpers.ts#L15
2) [api] › monitoring-instances.spec.ts:174:5 › patch monitoring instance secret key changes ───── Error: expect(received).toBeTruthy() Received: false at helpers.ts:15 13 | console.log(`${response.url()}: `, await response.json()); 14 | } > 15 | expect(response.ok()).toBeTruthy() | ^ 16 | } 17 | 18 | export const testsNs = 'everest' at checkError (/home/runner/work/everest/everest/api-tests/tests/helpers.ts:15:25) at /home/runner/work/everest/everest/api-tests/tests/monitoring-instances.spec.ts:191:3
[api] › pg-clusters.spec.ts:113:5 › expose pg cluster after creation: api-tests/tests/helpers.ts#L15
3) [api] › pg-clusters.spec.ts:113:5 › expose pg cluster after creation ────────────────────────── Error: expect(received).toBeTruthy() Received: false at helpers.ts:15 13 | console.log(`${response.url()}: `, await response.json()); 14 | } > 15 | expect(response.ok()).toBeTruthy() | ^ 16 | } 17 | 18 | export const testsNs = 'everest' at checkError (/home/runner/work/everest/everest/api-tests/tests/helpers.ts:15:25) at /home/runner/work/everest/everest/api-tests/tests/pg-clusters.spec.ts:178:3
[api] › pg-clusters.spec.ts:189:5 › expose pg cluster on EKS to the public internet and scale up: api-tests/tests/pg-clusters.spec.ts#L1
4) [api] › pg-clusters.spec.ts:189:5 › expose pg cluster on EKS to the public internet and scale up Test timeout of 30000ms exceeded.
[api] › pg-clusters.spec.ts:189:5 › expose pg cluster on EKS to the public internet and scale up: api-tests/tests/helpers.ts#L67
4) [api] › pg-clusters.spec.ts:189:5 › expose pg cluster on EKS to the public internet and scale up Error: page.waitForTimeout: Test timeout of 30000ms exceeded. at helpers.ts:67 65 | 66 | await request.put(`/v1/namespaces/${testsNs}/database-clusters/${name}`, { data }) > 67 | await page.waitForTimeout(1000) | ^ 68 | } 69 | } 70 | at deleteDBCluster (/home/runner/work/everest/everest/api-tests/tests/helpers.ts:67:16) at /home/runner/work/everest/everest/api-tests/tests/pg-clusters.spec.ts:256:3
API Integration Tests (1.22.x, false)
Process completed with exit code 2.
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 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-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
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 Integration Tests (1.22.x, false)
Cannot open: File exists
CLI Integration Tests (1.22.x, false)
Cannot open: File exists
CLI Integration Tests (1.22.x, false)
Cannot open: File exists
CLI Integration Tests (1.22.x, false)
Cannot open: File exists
CLI Integration Tests (1.22.x, false)
Cannot open: File exists
CLI Integration Tests (1.22.x, false)
Cannot open: File exists
CLI Integration Tests (1.22.x, false)
Cannot open: File exists
CLI Integration Tests (1.22.x, false)
Cannot open: File exists
CLI Integration Tests (1.22.x, false)
Cannot open: File exists
CLI Integration Tests (1.22.x, false)
Cannot open: File exists
🎭 Playwright Run Summary
1 failed [api] › monitoring-instances.spec.ts:133:5 › delete monitoring instance ──────────────────────── 3 flaky [api] › monitoring-instances.spec.ts:174:5 › patch monitoring instance secret key changes ────── [api] › pg-clusters.spec.ts:113:5 › expose pg cluster after creation ─────────────────────────── [api] › pg-clusters.spec.ts:189:5 › expose pg cluster on EKS to the public internet and scale up 49 passed (1.6m)
🎭 Playwright Run Summary
1 passed (3.5m)
🎭 Playwright Run Summary
1 passed (4.4m)
🎭 Playwright Run Summary
1 passed (5.5m)
🎭 Playwright Run Summary
1 passed (6.3m)
🎭 Playwright Run Summary
6 passed (1.3s)
Check (1.22.x, false)
Restore cache failed: Dependencies file is not found in /home/runner/work/everest/everest. Supported file pattern: go.sum
Test (1.22.x, false)
The following actions use a deprecated Node.js version and will be forced to run on node20: percona-platform/setup-go@v4, percona-platform/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Test (1.22.x, false)
Restore cache failed: Dependencies file is not found in /home/runner/work/everest/everest. Supported file pattern: go.sum
API Integration Tests (1.22.x, false)
The following actions use a deprecated Node.js version and will be forced to run on node20: percona-platform/setup-go@v4, percona-platform/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
API Integration Tests (1.22.x, false)
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
The following actions use a deprecated Node.js version and will be forced to run on node20: percona-platform/setup-go@v4, percona-platform/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
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 3.5m
CLI tests (test-mongo-operator) / CLI test-mongo-operator
The following actions use a deprecated Node.js version and will be forced to run on node20: percona-platform/setup-go@v4, percona-platform/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
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
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
Slow Test: cli-tests/[flows] › flow/mongodb-operator.spec.ts#L1
cli-tests/[flows] › flow/mongodb-operator.spec.ts took 4.3m
CLI tests (test-all-operators) / CLI test-all-operators
The following actions use a deprecated Node.js version and will be forced to run on node20: percona-platform/setup-go@v4, percona-platform/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
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
Slow Test: cli-tests/[flows] › flow/all-operators.spec.ts#L1
cli-tests/[flows] › flow/all-operators.spec.ts took 5.5m
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
CLI tests (test-pg-operator) / CLI test-pg-operator
The following actions use a deprecated Node.js version and will be forced to run on node20: percona-platform/setup-go@v4, percona-platform/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Slow Test: cli-tests/[flows] › flow/pg-operator.spec.ts#L1
cli-tests/[flows] › flow/pg-operator.spec.ts took 6.3m
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
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
CLI Integration Tests (1.22.x, false)
The following actions use a deprecated Node.js version and will be forced to run on node20: percona-platform/setup-go@v4, percona-platform/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
CLI Integration Tests (1.22.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.22.x, false)
Restore cache failed: Dependencies file is not found in /home/runner/work/everest/everest. Supported file pattern: go.sum

Artifacts

Produced during runtime
Name Size
cli-tests-report
185 KB
percona~everest~3EZJIA.dockerbuild
15.2 KB
test-delete-cluster-tests-report
237 KB