Skip to content

Build JavaScript projects in parallel from root POM #2743

Build JavaScript projects in parallel from root POM

Build JavaScript projects in parallel from root POM #2743

Triggered via push December 4, 2024 11:49
Status Failure
Total duration 1h 4m 1s
Artifacts 14

js-ci.yml

on: push
Check conditional workflows and jobs
5s
Check conditional workflows and jobs
Matrix: Admin UI E2E
Status Check - Keycloak JavaScript CI
6s
Status Check - Keycloak JavaScript CI
Fit to window
Zoom out
Zoom in

Annotations

16 errors, 41 warnings, and 1 notice
Admin UI E2E (4, chrome)
Cypress tests: 7 failed
Admin UI E2E (5, chrome)
Cypress tests: 12 failed
Admin UI E2E (2, chrome)
Cypress tests: 14 failed
[chromium] › account-security/device-activity.spec.ts:5:3 › Sign out test › Sign out one device: js/apps/account-ui/test/account-security/device-activity.spec.ts#L1
1) [chromium] › account-security/device-activity.spec.ts:5:3 › Sign out test › Sign out one device Test timeout of 30000ms exceeded.
[chromium] › account-security/device-activity.spec.ts:5:3 › Sign out test › Sign out one device: js/apps/account-ui/test/account-security/device-activity.spec.ts#L42
1) [chromium] › account-security/device-activity.spec.ts:5:3 › Sign out test › Sign out one device Error: browserContext.close: Target page, context or browser has been closed 40 | await expect(page2.getByTestId("accountSecurity")).toBeVisible(); 41 | } finally { > 42 | await context1.close(); | ^ 43 | await context2.close(); 44 | } 45 | }); at /home/runner/work/keycloak/keycloak/js/apps/account-ui/test/account-security/device-activity.spec.ts:42:7
[chromium] › account-security/device-activity.spec.ts:5:3 › Sign out test › Sign out one device: js/apps/account-ui/test/account-security/device-activity.spec.ts#L1
1) [chromium] › account-security/device-activity.spec.ts:5:3 › Sign out test › Sign out one device Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
[chromium] › account-security/device-activity.spec.ts:5:3 › Sign out test › Sign out one device: js/apps/account-ui/test/account-security/device-activity.spec.ts#L42
1) [chromium] › account-security/device-activity.spec.ts:5:3 › Sign out test › Sign out one device Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: browserContext.close: Test ended. Browser logs: <launching> /home/runner/.cache/ms-playwright/chromium_headless_shell-1148/chrome-linux/headless_shell --disable-field-trial-config --disable-background-networking --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-back-forward-cache --disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-background-pages --disable-component-update --no-default-browser-check --disable-default-apps --disable-dev-shm-usage --disable-extensions --disable-features=ImprovedCookieControls,LazyFrameLoading,GlobalMediaControls,DestroyProfileOnBrowserClose,MediaRouter,DialMediaRouteProvider,AcceptCHFrame,AutoExpandDetailsElement,CertificateTransparencyComponentUpdater,AvoidUnnecessaryBeforeUnloadCheckSync,Translate,HttpsUpgrades,PaintHolding,ThirdPartyStoragePartitioning,LensOverlay,PlzDedicatedWorker --allow-pre-commit-input --disable-hang-monitor --disable-ipc-flooding-protection --disable-popup-blocking --disable-prompt-on-repost --disable-renderer-backgrounding --force-color-profile=srgb --metrics-recording-only --no-first-run --enable-automation --password-store=basic --use-mock-keychain --no-service-autorun --export-tagged-pdf --disable-search-engine-choice-screen --unsafely-disable-devtools-self-xss-warnings --headless --hide-scrollbars --mute-audio --blink-settings=primaryHoverType=2,availableHoverTypes=2,primaryPointerType=4,availablePointerTypes=4 --no-sandbox --user-data-dir=/tmp/playwright_chromiumdev_profile-JMs4Yp --remote-debugging-pipe --no-startup-window <launched> pid=5500 [pid=5500][err] [1204/120831.601655:WARNING:sandbox_linux.cc(430)] InitializeSandbox() called with multiple threads in process gpu-process. [pid=5500][err] [1204/120831.602590:WARNING:viz_main_impl.cc(85)] VizNullHypothesis is disabled (not a warning) [pid=5500] <gracefully close start> 40 | await expect(page2.getByTestId("accountSecurity")).toBeVisible(); 41 | } finally { > 42 | await context1.close(); | ^ 43 | await context2.close(); 44 | } 45 | }); at /home/runner/work/keycloak/keycloak/js/apps/account-ui/test/account-security/device-activity.spec.ts:42:7
[chromium] › account-security/device-activity.spec.ts:5:3 › Sign out test › Sign out one device: js/apps/account-ui/test/account-security/device-activity.spec.ts#L1
1) [chromium] › account-security/device-activity.spec.ts:5:3 › Sign out test › Sign out one device Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
[chromium] › account-security/device-activity.spec.ts:5:3 › Sign out test › Sign out one device: js/apps/account-ui/test/account-security/device-activity.spec.ts#L42
1) [chromium] › account-security/device-activity.spec.ts:5:3 › Sign out test › Sign out one device Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: browserContext.close: Target page, context or browser has been closed 40 | await expect(page2.getByTestId("accountSecurity")).toBeVisible(); 41 | } finally { > 42 | await context1.close(); | ^ 43 | await context2.close(); 44 | } 45 | }); at /home/runner/work/keycloak/keycloak/js/apps/account-ui/test/account-security/device-activity.spec.ts:42:7
[chromium] › account-security/device-activity.spec.ts:47:3 › Sign out test › Sign out all devices: js/apps/account-ui/test/account-security/device-activity.spec.ts#L1
2) [chromium] › account-security/device-activity.spec.ts:47:3 › Sign out test › Sign out all devices Test timeout of 30000ms exceeded.
[chromium] › account-security/device-activity.spec.ts:47:3 › Sign out test › Sign out all devices: js/apps/account-ui/test/account-security/device-activity.spec.ts#L77
2) [chromium] › account-security/device-activity.spec.ts:47:3 › Sign out test › Sign out all devices Error: browserContext.close: Target page, context or browser has been closed 75 | ).toBeVisible(); 76 | } finally { > 77 | await context1.close(); | ^ 78 | await context2.close(); 79 | } 80 | }); at /home/runner/work/keycloak/keycloak/js/apps/account-ui/test/account-security/device-activity.spec.ts:77:7
[chromium] › account-security/device-activity.spec.ts:47:3 › Sign out test › Sign out all devices: js/apps/account-ui/test/account-security/device-activity.spec.ts#L1
2) [chromium] › account-security/device-activity.spec.ts:47:3 › Sign out test › Sign out all devices Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
[chromium] › account-security/device-activity.spec.ts:47:3 › Sign out test › Sign out all devices: js/apps/account-ui/test/account-security/device-activity.spec.ts#L77
2) [chromium] › account-security/device-activity.spec.ts:47:3 › Sign out test › Sign out all devices Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: browserContext.close: Test ended. Browser logs: <launching> /home/runner/.cache/ms-playwright/chromium_headless_shell-1148/chrome-linux/headless_shell --disable-field-trial-config --disable-background-networking --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-back-forward-cache --disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-background-pages --disable-component-update --no-default-browser-check --disable-default-apps --disable-dev-shm-usage --disable-extensions --disable-features=ImprovedCookieControls,LazyFrameLoading,GlobalMediaControls,DestroyProfileOnBrowserClose,MediaRouter,DialMediaRouteProvider,AcceptCHFrame,AutoExpandDetailsElement,CertificateTransparencyComponentUpdater,AvoidUnnecessaryBeforeUnloadCheckSync,Translate,HttpsUpgrades,PaintHolding,ThirdPartyStoragePartitioning,LensOverlay,PlzDedicatedWorker --allow-pre-commit-input --disable-hang-monitor --disable-ipc-flooding-protection --disable-popup-blocking --disable-prompt-on-repost --disable-renderer-backgrounding --force-color-profile=srgb --metrics-recording-only --no-first-run --enable-automation --password-store=basic --use-mock-keychain --no-service-autorun --export-tagged-pdf --disable-search-engine-choice-screen --unsafely-disable-devtools-self-xss-warnings --headless --hide-scrollbars --mute-audio --blink-settings=primaryHoverType=2,availableHoverTypes=2,primaryPointerType=4,availablePointerTypes=4 --no-sandbox --user-data-dir=/tmp/playwright_chromiumdev_profile-2rDAUg --remote-debugging-pipe --no-startup-window <launched> pid=5818 [pid=5818][err] [1204/121003.745570:WARNING:sandbox_linux.cc(430)] InitializeSandbox() called with multiple threads in process gpu-process. [pid=5818][err] [1204/121003.746529:WARNING:viz_main_impl.cc(85)] VizNullHypothesis is disabled (not a warning) [pid=5818] <gracefully close start> 75 | ).toBeVisible(); 76 | } finally { > 77 | await context1.close(); | ^ 78 | await context2.close(); 79 | } 80 | }); at /home/runner/work/keycloak/keycloak/js/apps/account-ui/test/account-security/device-activity.spec.ts:77:7
Admin UI E2E (1, chrome)
Cypress tests: 17 failed
Admin UI E2E (3, chrome)
Cypress tests: 21 failed
Status Check - Keycloak JavaScript CI
Process completed with exit code 1.
Check conditional workflows and jobs
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Admin Client
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Account UI
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Account UI: js/apps/account-ui/src/oid4vci/Oid4Vci.tsx#L69
React Hook useEffect has missing dependencies: 'context', 'credentialsIssuer', 'initialSelected', and 'selectOptions'. Either include them or remove the dependency array
Account UI: js/apps/account-ui/src/resources/EditTheResource.tsx#L42
React Hook useEffect has missing dependencies: 'permissions' and 'reset'. Either include them or remove the dependency array
Account UI: js/apps/account-ui/src/resources/ShareTheResource.tsx#L72
React Hook useEffect has a missing dependency: 'append'. Either include it or remove the dependency array
Account UI: js/apps/account-ui/src/utils/usePromise.ts#L73
React Hook useEffect was passed a dependency list that is not an array literal. This means we can't statically verify whether you've passed the correct dependencies
Account UI: js/apps/account-ui/src/utils/usePromise.ts#L73
React Hook useEffect has missing dependencies: 'callback' and 'factory'. Either include them or remove the dependency array. If 'callback' changes too often, find the parent component that defines it and wrap that definition in useCallback
Account UI: js/apps/account-ui/test/oid4vci/oid4vci.spec.ts#L7
Unexpected use of the `.skip()` annotation
Account UI: js/apps/account-ui/test/personal-info/personal-info.spec.ts#L71
Unexpected use of page.waitForSelector()
Account UI: js/apps/account-ui/test/personal-info/personal-info.spec.ts#L85
Unexpected use of page.waitForSelector()
Generate Test Seed
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
UI Shared
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
UI Shared: js/libs/ui-shared/src/context/KeycloakContext.tsx#L46
Unexpected reassignment of a variable which was defined outside of the component. Components and hooks should be pure and side-effect free, but variable reassignment is a form of side-effect. If this variable is used in rendering, use useState instead. (https://react.dev/reference/rules/components-and-hooks-must-be-pure#side-effects-must-run-outside-of-render)
UI Shared: js/libs/ui-shared/src/context/KeycloakContext.tsx#L81
React Hook useEffect has a missing dependency: 'environment.scope'. Either include it or remove the dependency array
UI Shared: js/libs/ui-shared/src/controls/table/KeycloakDataTable.tsx#L151
React Hook useEffect has a missing dependency: 'rowsSelectedOnPage.length'. Either include it or remove the dependency array
UI Shared: js/libs/ui-shared/src/controls/table/KeycloakDataTable.tsx#L477
React Hook useMemo has missing dependencies: 'convertToColumns', 'getNodeText', 'isPaginated', and 'unPaginatedData'. Either include them or remove the dependency array
UI Shared: js/libs/ui-shared/src/select/SingleSelect.tsx#L52
This function accesses a ref value (the `current` property), which may not be accessed during render. (https://react.dev/reference/react/useRef)
UI Shared: js/libs/ui-shared/src/select/SingleSelect.tsx#L52
Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)
UI Shared: js/libs/ui-shared/src/user-profile/MultiInputComponent.tsx#L72
React Hook useMemo has a missing dependency: 'defaultValue'. Either include it or remove the dependency array
UI Shared: js/libs/ui-shared/src/user-profile/MultiInputComponent.tsx#L99
React Hook useEffect has a missing dependency: 'name'. Either include it or remove the dependency array
UI Shared: js/libs/ui-shared/src/utils/useFetch.ts#L43
React Hook useEffect was passed a dependency list that is not an array literal. This means we can't statically verify whether you've passed the correct dependencies
UI Shared: js/libs/ui-shared/src/utils/useFetch.ts#L43
React Hook useEffect has missing dependencies: 'adminClientCall', 'callback', and 'showBoundary'. Either include them or remove the dependency array. If 'adminClientCall' changes too often, find the parent component that defines it and wrap that definition in useCallback
Admin UI
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Admin UI: js/apps/admin-ui/cypress/e2e/authentication_test.spec.ts#L84
Unexpected skipped mocha test
Admin UI: js/apps/admin-ui/cypress/e2e/client_scopes_test.spec.ts#L181
Do not wait for arbitrary time periods
Admin UI: js/apps/admin-ui/cypress/e2e/clients_test.spec.ts#L224
Do not wait for arbitrary time periods
Admin UI: js/apps/admin-ui/cypress/e2e/clients_test.spec.ts#L234
Do not wait for arbitrary time periods
Admin UI: js/apps/admin-ui/cypress/e2e/clients_test.spec.ts#L581
Do not wait for arbitrary time periods
Admin UI: js/apps/admin-ui/cypress/e2e/events_test.spec.ts#L33
Unexpected skipped mocha test
Admin UI: js/apps/admin-ui/cypress/e2e/events_test.spec.ts#L71
Do not wait for arbitrary time periods
Admin UI: js/apps/admin-ui/cypress/e2e/events_test.spec.ts#L106
Do not wait for arbitrary time periods
Admin UI: js/apps/admin-ui/cypress/e2e/i18n_test.spec.ts#L102
Unexpected skipped mocha test
Build Keycloak
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Admin UI E2E (4, chrome)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Admin UI E2E (5, chrome)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Admin UI E2E (2, chrome)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Account UI E2E
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Admin UI E2E (1, chrome)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Admin UI E2E (3, chrome)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
🎭 Playwright Run Summary
20 failed [chromium] › account-security/device-activity.spec.ts:5:3 › Sign out test › Sign out one device [chromium] › account-security/device-activity.spec.ts:47:3 › Sign out test › Sign out all devices [chromium] › account-security/linked-accounts.spec.ts:68:3 › Account linking › Linking ───────── [chromium] › account-security/signing-in.spec.ts:16:3 › Signing in › Should see only password ── [chromium] › account-security/signing-in.spec.ts:51:3 › Signing in 2 › Password removal ──────── [chromium] › account-security.spec.ts:4:1 › Check page heading ───────────────────────────────── [chromium] › applications.spec.ts:22:3 › Applications test › Single application ──────────────── [chromium] › applications.spec.ts:33:3 › Applications test › Single application twice ────────── [chromium] › applications.spec.ts:58:3 › Applications test › Two applications ────────────────── [chromium] › groups.spec.ts:5:3 › Groups page › List my groups ───────────────────────────────── [chromium] › groups.spec.ts:11:3 › Groups page › List direct and indirect groups ─────────────── [chromium] › my-resources.spec.ts:7:3 › My resources page › List my resources ────────────────── [chromium] › personal-info/personal-info.spec.ts:21:3 › Personal info page › sets basic information [chromium] › personal-info/personal-info.spec.ts:56:3 › Personal info with userprofile enabled › render user profile fields [chromium] › personal-info/personal-info.spec.ts:67:3 › Personal info with userprofile enabled › render long select options as typeahead [chromium] › personal-info/personal-info.spec.ts:81:3 › Personal info with userprofile enabled › render long list of locales as typeahead [chromium] › personal-info/personal-info.spec.ts:95:3 › Personal info with userprofile enabled › save user profile [chromium] › personal-info/personal-info.spec.ts:122:3 › Realm localization › change locale ──── [chromium] › referrer.spec.ts:8:3 › Signing in with referrer link › shows a referrer link when a matching client exists [chromium] › referrer.spec.ts:29:3 › Signing in with referrer link › shows no referrer link when an invalid URL is passed 1 skipped 3 did not run 2 passed (29.6m)

Artifacts

Produced during runtime
Name Size
account-ui-playwright-report Expired
12.1 MB
account-ui-server-log
1.27 KB
admin-ui-server-log-1-chrome
1.33 KB
admin-ui-server-log-2-chrome
1.34 KB
admin-ui-server-log-3-chrome
1.34 KB
admin-ui-server-log-4-chrome
1.34 KB
admin-ui-server-log-5-chrome
1.33 KB
cypress-videos-1-chrome Expired
36.1 MB
cypress-videos-2-chrome Expired
24.5 MB
cypress-videos-3-chrome Expired
38.3 MB
cypress-videos-4-chrome Expired
13.1 MB
cypress-videos-5-chrome Expired
21.1 MB
keycloak
140 MB
m2-keycloak.tzts Expired
347 MB