Skip to content

[UI] EVEREST-1616 Set affinity rules in DB creation wizard and Components page #1692

[UI] EVEREST-1616 Set affinity rules in DB creation wizard and Components page

[UI] EVEREST-1616 Set affinity rules in DB creation wizard and Components page #1692

Triggered via pull request January 21, 2025 12:23
Status Failure
Total duration 20m 58s
Artifacts 1

dev-fe-gatekeeper.yaml

on: pull_request
Cache PNPM
16s
Cache PNPM
permission_checks
3s
permission_checks
E2E_tests_workflow  /  e2e
20m 23s
E2E_tests_workflow / e2e
Matrix: CI_checks
Merge Gatekeeper
16s
Merge Gatekeeper
Fit to window
Zoom out
Zoom in

Annotations

13 errors, 20 warnings, and 1 notice
CI_checks (test)
@percona/everest#test: command (/home/runner/work/everest/everest/ui/apps/everest) /home/runner/setup-pnpm/node_modules/.bin/pnpm run test exited (1)
src/components/cluster-form/affinity/affinity-form-dialog/affinity-form-dialog.test.tsx > AffinityFormDialog > MongoDB > sharding enabled allows all components: ui/apps/everest/src/components/cluster-form/affinity/affinity-form-dialog/affinity-form-dialog.test.tsx#L123
AssertionError: expected false to be truthy - Expected + Received - true + false ❯ forEach src/components/cluster-form/affinity/affinity-form-dialog/affinity-form-dialog.test.tsx:123:11 ❯ src/components/cluster-form/affinity/affinity-form-dialog/affinity-form-dialog.test.tsx:120:45
src/components/cluster-form/affinity/affinity-form-dialog/affinity-form-dialog.test.tsx > AffinityFormDialog > PostgreSQL > sharding enabled allows all components: ui/apps/everest/src/components/cluster-form/affinity/affinity-form-dialog/affinity-form-dialog.test.tsx#L153
AssertionError: expected false to be truthy - Expected + Received - true + false ❯ forEach src/components/cluster-form/affinity/affinity-form-dialog/affinity-form-dialog.test.tsx:153:11 ❯ src/components/cluster-form/affinity/affinity-form-dialog/affinity-form-dialog.test.tsx:150:28
CI_checks (test)
Process completed with exit code 2.
CI_checks (build)
The job was canceled because "test" failed.
CI_checks (build)
The operation was canceled.
[pr] › ../pr/db-cluster/db-wizard/create-db-cluster/affinity.e2e.ts:92:3 › Affinity via wizard › Affinity rule creation: ui/apps/everest/.e2e/pr/db-cluster/db-wizard/create-db-cluster/affinity.e2e.ts#L1
1) [pr] › ../pr/db-cluster/db-wizard/create-db-cluster/affinity.e2e.ts:92:3 › Affinity via wizard › Affinity rule creation Test timeout of 30000ms exceeded.
[pr] › ../pr/db-cluster/db-wizard/create-db-cluster/affinity.e2e.ts:92:3 › Affinity via wizard › Affinity rule creation: ui/apps/everest/.e2e/pr/db-cluster/db-wizard/create-db-cluster/affinity.e2e.ts#L42
1) [pr] › ../pr/db-cluster/db-wizard/create-db-cluster/affinity.e2e.ts:92:3 › Affinity via wizard › Affinity rule creation Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for getByRole('option', { name: 'Proxy', exact: true }) 40 | if (component) { 41 | await page.getByTestId('select-component-button').click(); > 42 | await page.getByRole('option', { name: component, exact: true }).click(); | ^ 43 | } 44 | 45 | if (weight) { at fillAffinityRuleForm (/home/runner/work/everest/everest/ui/apps/everest/.e2e/pr/db-cluster/db-wizard/create-db-cluster/affinity.e2e.ts:42:70) at addAffinityRule (/home/runner/work/everest/everest/ui/apps/everest/.e2e/pr/db-cluster/db-wizard/create-db-cluster/affinity.e2e.ts:72:3) at /home/runner/work/everest/everest/ui/apps/everest/.e2e/pr/db-cluster/db-wizard/create-db-cluster/affinity.e2e.ts:156:5
[pr] › ../pr/db-cluster/db-wizard/create-db-cluster/affinity.e2e.ts:92:3 › Affinity via wizard › Affinity rule creation: ui/apps/everest/.e2e/pr/db-cluster/db-wizard/create-db-cluster/affinity.e2e.ts#L1
1) [pr] › ../pr/db-cluster/db-wizard/create-db-cluster/affinity.e2e.ts:92:3 › Affinity via wizard › Affinity rule creation Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
[pr] › ../pr/db-cluster/db-wizard/create-db-cluster/affinity.e2e.ts:92:3 › Affinity via wizard › Affinity rule creation: ui/apps/everest/.e2e/pr/db-cluster/db-wizard/create-db-cluster/affinity.e2e.ts#L42
1) [pr] › ../pr/db-cluster/db-wizard/create-db-cluster/affinity.e2e.ts:92:3 › Affinity via wizard › Affinity rule creation Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for getByRole('option', { name: 'Proxy', exact: true }) 40 | if (component) { 41 | await page.getByTestId('select-component-button').click(); > 42 | await page.getByRole('option', { name: component, exact: true }).click(); | ^ 43 | } 44 | 45 | if (weight) { at fillAffinityRuleForm (/home/runner/work/everest/everest/ui/apps/everest/.e2e/pr/db-cluster/db-wizard/create-db-cluster/affinity.e2e.ts:42:70) at addAffinityRule (/home/runner/work/everest/everest/ui/apps/everest/.e2e/pr/db-cluster/db-wizard/create-db-cluster/affinity.e2e.ts:72:3) at /home/runner/work/everest/everest/ui/apps/everest/.e2e/pr/db-cluster/db-wizard/create-db-cluster/affinity.e2e.ts:156:5
[pr] › ../pr/db-cluster/db-wizard/create-db-cluster/affinity.e2e.ts:92:3 › Affinity via wizard › Affinity rule creation: ui/apps/everest/.e2e/pr/db-cluster/db-wizard/create-db-cluster/affinity.e2e.ts#L1
1) [pr] › ../pr/db-cluster/db-wizard/create-db-cluster/affinity.e2e.ts:92:3 › Affinity via wizard › Affinity rule creation Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
[pr] › ../pr/db-cluster/db-wizard/create-db-cluster/affinity.e2e.ts:92:3 › Affinity via wizard › Affinity rule creation: ui/apps/everest/.e2e/pr/db-cluster/db-wizard/create-db-cluster/affinity.e2e.ts#L42
1) [pr] › ../pr/db-cluster/db-wizard/create-db-cluster/affinity.e2e.ts:92:3 › Affinity via wizard › Affinity rule creation Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for getByRole('option', { name: 'Proxy', exact: true }) 40 | if (component) { 41 | await page.getByTestId('select-component-button').click(); > 42 | await page.getByRole('option', { name: component, exact: true }).click(); | ^ 43 | } 44 | 45 | if (weight) { at fillAffinityRuleForm (/home/runner/work/everest/everest/ui/apps/everest/.e2e/pr/db-cluster/db-wizard/create-db-cluster/affinity.e2e.ts:42:70) at addAffinityRule (/home/runner/work/everest/everest/ui/apps/everest/.e2e/pr/db-cluster/db-wizard/create-db-cluster/affinity.e2e.ts:72:3) at /home/runner/work/everest/everest/ui/apps/everest/.e2e/pr/db-cluster/db-wizard/create-db-cluster/affinity.e2e.ts:156:5
E2E_tests_workflow / e2e
Process completed with exit code 1.
CI_checks (lint)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
CI_checks (lint): ui/packages/design/src/themes/base/BaseTheme.tsx#L106
Fast refresh only works when a file only exports components. Move your component(s) to a separate file
CI_checks (lint): ui/packages/ui-lib/src/table/usePersistentColumnVisibility.ts#L45
React Hook useEffect has a missing dependency: 'key'. Either include it or remove the dependency array
CI_checks (lint): ui/apps/everest/src/components/cluster-form/resources/resources.tsx#L192
React Hook useEffect has missing dependencies: 'cpuInputName', 'diskInputName', 'memoryInputName', and 'sizeOptions'. Either include them or remove the dependency array
CI_checks (lint): ui/apps/everest/src/components/cluster-form/resources/resources.tsx#L200
React Hook useEffect has a missing dependency: 'diskInputName'. Either include it or remove the dependency array
CI_checks (lint): ui/apps/everest/src/components/cluster-form/resources/resources.tsx#L209
React Hook useEffect has missing dependencies: 'resourceSizePerUnit', 'resourceSizePerUnitInputName', and 'sizeOptions'. Either include them or remove the dependency array
CI_checks (lint): ui/apps/everest/src/components/cluster-form/resources/resources.tsx#L219
React Hook useEffect has missing dependencies: 'resourceSizePerUnit', 'resourceSizePerUnitInputName', and 'sizeOptions'. Either include them or remove the dependency array
CI_checks (lint): ui/apps/everest/src/components/cluster-form/resources/resources.tsx#L228
React Hook useEffect has missing dependencies: 'resourceSizePerUnit', 'resourceSizePerUnitInputName', and 'sizeOptions'. Either include them or remove the dependency array
CI_checks (lint): ui/apps/everest/src/components/protected-route/ProtectedRoute.tsx#L19
React Hook useEffect has missing dependencies: 'location.pathname' and 'setRedirectRoute'. Either include them or remove the dependency array
CI_checks (lint): ui/apps/everest/src/components/schedule-form-dialog/schedule-form-wrapper/schedule-form-wrapper.tsx#L62
React Hook useEffect has a missing dependency: 'trigger'. Either include it or remove the dependency array
CI_checks (lint): ui/apps/everest/src/contexts/auth/auth.provider.tsx#L131
React Hook useCallback has a missing dependency: 'isSsoEnabled'. Either include it or remove the dependency array
CI_checks (format)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
CI_checks (test)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
E2E_tests_workflow / e2e
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: ui/apps/everest/.e2e/[pr] › ../pr/db-cluster-details/edit-db-cluster/db-version-upgrade.e2e.ts#L1
ui/apps/everest/.e2e/[pr] › ../pr/db-cluster-details/edit-db-cluster/db-version-upgrade.e2e.ts took 1.9m
Slow Test: ui/apps/everest/.e2e/[pr] › ../pr/db-cluster/db-wizard/create-db-cluster/sharding.e2e.ts#L1
ui/apps/everest/.e2e/[pr] › ../pr/db-cluster/db-wizard/create-db-cluster/sharding.e2e.ts took 1.6m
Slow Test: ui/apps/everest/.e2e/[pr] › ../pr/db-cluster-details/edit-db-cluster/resources-step.e2e.ts#L1
ui/apps/everest/.e2e/[pr] › ../pr/db-cluster-details/edit-db-cluster/resources-step.e2e.ts took 1.3m
Slow Test: ui/apps/everest/.e2e/[pr] › ../pr/db-cluster/db-wizard/create-db-cluster/create-db-cluster.e2e.ts#L1
ui/apps/everest/.e2e/[pr] › ../pr/db-cluster/db-wizard/create-db-cluster/create-db-cluster.e2e.ts took 54.6s
Slow Test: ui/apps/everest/.e2e/[rbac] › ../pr/rbac/restores.e2e.ts#L1
ui/apps/everest/.e2e/[rbac] › ../pr/rbac/restores.e2e.ts took 36.3s
E2E_tests_workflow / e2e
Error while fetching latest Helm release: TypeError: fetch failed. Using default version v3.13.3
🎭 Playwright Run Summary
1 failed [pr] › ../pr/db-cluster/db-wizard/create-db-cluster/affinity.e2e.ts:92:3 › Affinity via wizard › Affinity rule creation 10 skipped 104 passed (13.4m)

Artifacts

Produced during runtime
Name Size
playwright-report
201 MB