[10.0.x] NO-ISSUE: Use image-builder
and maven-m2-repo-via-http-image
to build serverless-logic-web-tools-swf-dev-mode-image
#6018
Annotations
5 errors, 13 warnings, and 4 notices
FULL → Build
Cannot invoke "org.kie.workbench.common.stunner.core.client.canvas.AbstractCanvas.disableHandlers()" because "canvas" is null
|
FULL → Build:
packages/boxed-expression-component/tests-e2e/boxedExpressions/function/populate.spec.ts#L148
1) [webkit] › boxedExpressions/function/populate.spec.ts:24:7 › Populate Boxed Function › should correctly populate boxed function
Error: Screenshot comparison failed:
665 pixels (ratio 0.01 of all image pixels) are different.
Call log:
- expect.toHaveScreenshot(boxed-function-affordability-calculation.png) with timeout 10000ms
- verifying given screenshot expectation
- waiting for locator('.boxed-expression-provider')
- locator resolved to <div class="boxed-expression-provider">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for element to be visible and stable
- element is visible and stable
- 665 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('.boxed-expression-provider')
- locator resolved to <div class="boxed-expression-provider">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for element to be visible and stable
- element is visible and stable
- captured a stable screenshot
- 665 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/incubator-kie-tools/incubator-kie-tools/packages/boxed-expression-component/tests-e2e/__screenshots__/webkit/boxedExpressions/function/boxed-function-affordability-calculation.png
Received: /home/runner/work/incubator-kie-tools/incubator-kie-tools/packages/boxed-expression-component/dist-tests-e2e/output/boxedExpressions-function-populate-Populate-Boxed-Function-should-correctly-populate-boxed-function-webkit/boxed-function-affordability-calculation-actual.png
Diff: /home/runner/work/incubator-kie-tools/incubator-kie-tools/packages/boxed-expression-component/dist-tests-e2e/output/boxedExpressions-function-populate-Populate-Boxed-Function-should-correctly-populate-boxed-function-webkit/boxed-function-affordability-calculation-diff.png
146 | // );
147 |
> 148 | await expect(boxedExpressionEditor.getContainer()).toHaveScreenshot("boxed-function-affordability-calculation.png");
| ^
149 | });
150 | });
151 |
at /home/runner/work/incubator-kie-tools/incubator-kie-tools/packages/boxed-expression-component/tests-e2e/boxedExpressions/function/populate.spec.ts:148:56
|
FULL → Build:
packages/boxed-expression-component/tests-e2e/features/resizing/resizing.spec.ts#L477
2) [webkit] › features/resizing/resizing.spec.ts:463:9 › Resizing › Relation expression › should resize column and add new columns
Error: expect(received).toHaveProperty(path, value)
Expected path: "width"
Expected value: 200
Received value: 250
475 | expect(await column2.boundingBox()).toHaveProperty("width", 100);
476 | await resizing.reset(columnsHeader);
> 477 | expect(await columnsHeader.boundingBox()).toHaveProperty("width", 200);
| ^
478 | expect(await column1.boundingBox()).toHaveProperty("width", 100);
479 | });
480 |
at /home/runner/work/incubator-kie-tools/incubator-kie-tools/packages/boxed-expression-component/tests-e2e/features/resizing/resizing.spec.ts:477:49
|
FULL → Build:
packages/dmn-editor/tests-e2e/deleteDecisionServiceWithOutput.spec.ts#L37
1) [webkit] › deleteDecisionServiceWithOutput.spec.ts:28:7 › Delete node - Decision Service with output › should delete the Decision Service node and not the Decision node
Error: Timed out 10000ms waiting for expect(received).not.toBeAttached()
Call log:
- expect.not.toBeAttached with timeout 10000ms
- waiting for locator('div[data-nodelabel="New Decision Service"]')
- locator resolved to <div tabindex="-1" data-nodelabel="New Decision Servi…>…</div>
- unexpected value "true"
- locator resolved to <div tabindex="-1" data-nodelabel="New Decision Servi…>…</div>
- unexpected value "true"
- locator resolved to <div tabindex="-1" data-nodelabel="New Decision Servi…>…</div>
- unexpected value "true"
- locator resolved to <div tabindex="-1" data-nodelabel="New Decision Servi…>…</div>
- unexpected value "true"
- locator resolved to <div tabindex="-1" data-nodelabel="New Decision Servi…>…</div>
- unexpected value "true"
- locator resolved to <div tabindex="-1" data-nodelabel="New Decision Servi…>…</div>
- unexpected value "true"
- locator resolved to <div tabindex="-1" data-nodelabel="New Decision Servi…>…</div>
- unexpected value "true"
- locator resolved to <div tabindex="-1" data-nodelabel="New Decision Servi…>…</div>
- unexpected value "true"
- locator resolved to <div tabindex="-1" data-nodelabel="New Decision Servi…>…</div>
- unexpected value "true"
- locator resolved to <div tabindex="-1" data-nodelabel="New Decision Servi…>…</div>
- unexpected value "true"
- locator resolved to <div tabindex="-1" data-nodelabel="New Decision Servi…>…</div>
- unexpected value "true"
- locator resolved to <div tabindex="-1" data-nodelabel="New Decision Servi…>…</div>
- unexpected value "true"
- locator resolved to <div tabindex="-1" data-nodelabel="New Decision Servi…>…</div>
- unexpected value "true"
- locator resolved to <div tabindex="-1" data-nodelabel="New Decision Servi…>…</div>
- unexpected value "true"
35 | await nodes.delete({ name: DefaultNodeName.DECISION_SERVICE });
36 |
> 37 | await expect(nodes.get({ name: DefaultNodeName.DECISION_SERVICE })).not.toBeAttached();
| ^
38 | await expect(nodes.get({ name: DefaultNodeName.DECISION })).toBeAttached();
39 | });
40 | });
at /home/runner/work/incubator-kie-tools/incubator-kie-tools/packages/dmn-editor/tests-e2e/deleteDecisionServiceWithOutput.spec.ts:37:77
|
FULL → Build:
packages/online-editor/tests-e2e/createFiles/samples.spec.ts#L46
1) [webkit] › createFiles/samples.spec.ts:41:9 › Sample › Home › should create a DMN sample file ─
Error: Screenshot comparison failed:
14639 pixels (ratio 0.02 of all image pixels) are different.
Call log:
- expect.toHaveScreenshot(sample-dmn.png) with timeout 30000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- 14639 pixels (ratio 0.02 of all image pixels) are different.
- waiting 100ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- captured a stable screenshot
- 14639 pixels (ratio 0.02 of all image pixels) are different.
Expected: /home/runner/work/incubator-kie-tools/incubator-kie-tools/packages/online-editor/tests-e2e/__screenshots__/webkit/createFiles/sample-dmn.png
Received: /home/runner/work/incubator-kie-tools/incubator-kie-tools/packages/online-editor/dist-tests-e2e/output/createFiles-samples-Sample-Home-should-create-a-DMN-sample-file-webkit/sample-dmn-actual.png
Diff: /home/runner/work/incubator-kie-tools/incubator-kie-tools/packages/online-editor/dist-tests-e2e/output/createFiles-samples-Sample-Home-should-create-a-DMN-sample-file-webkit/sample-dmn-diff.png
44 | await expect(page.getByRole("button", { name: "Decision Edit file name" })).toContainText("Sample");
45 | await expect(kieSandbox.getEditor().getByText("Loan Pre-Qualification")).toBeAttached();
> 46 | await expect(page).toHaveScreenshot("sample-dmn.png");
| ^
47 | });
48 |
49 | test("should create a PMML sample file", async ({ page, kieSandbox }) => {
at /home/runner/work/incubator-kie-tools/incubator-kie-tools/packages/online-editor/tests-e2e/createFiles/samples.spec.ts:46:26
|
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "Linux_0__build-artifacts", "Linux_0__end-to-end-tests-artifacts", "Linux_0__end-to-end-tests-reports", "Linux_0__tests-reports", "Linux_1__build-artifacts", "Linux_1__end-to-end-tests-artifacts", "Linux_1__end-to-end-tests-reports", "Linux_1__tests-reports", "Linux_2__build-artifacts", "Linux_2__end-to-end-tests-artifacts", "Linux_2__end-to-end-tests-reports", "Linux_2__tests-reports", "Windows_0__build-artifacts", "Windows_0__end-to-end-tests-artifacts", "Windows_0__end-to-end-tests-reports", "Windows_0__tests-reports", "Windows_1__build-artifacts", "Windows_1__end-to-end-tests-artifacts", "Windows_1__end-to-end-tests-reports", "Windows_1__tests-reports", "Windows_2__build-artifacts", "Windows_2__end-to-end-tests-artifacts", "Windows_2__end-to-end-tests-reports", "Windows_2__tests-reports".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
Setup environment
Restore cache failed: Dependencies file is not found in /home/runner/work/incubator-kie-tools/incubator-kie-tools. Supported file pattern: go.sum
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/github-script@v6, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
FULL → Build:
packages/envelope/src/embedded/EmbeddedEnvelopeFactory.tsx#L96
React Hook useMemo has a missing dependency: 'props'. Either include it or remove the dependency array. However, 'props' will change when *any* prop changes, so the preferred fix is to destructure the 'props' object outside of the useMemo call and refer to those specific props inside useMemo
|
FULL → Build:
packages/envelope/src/embedded/EmbeddedEnvelopeFactory.tsx#L101
React Hook useImperativeHandle has a missing dependency: 'props'. Either include it or remove the dependency array. However, 'props' will change when *any* prop changes, so the preferred fix is to destructure the 'props' object outside of the useImperativeHandle call and refer to those specific props inside useImperativeHandle
|
FULL → Build:
packages/import-java-classes-component/src/components/ImportJavaClasses/ImportJavaClassesWizardSecondStep.tsx#L53
React Hook useCallback has a missing dependency: 'accessorPrefixesList'. Either include it or remove the dependency array
|
FULL → Build:
packages/import-java-classes-component/src/components/ImportJavaClasses/ImportJavaClassesWizardSecondStep.tsx#L69
React Hook useCallback has a missing dependency: 'accessorPrefixesList'. Either include it or remove the dependency array
|
FULL → Build:
packages/import-java-classes-component/src/components/ImportJavaClasses/ImportJavaClassesWizardSecondStep.tsx#L82
React Hook useCallback has a missing dependency: 'denyList'. Either include it or remove the dependency array
|
FULL → Build:
packages/import-java-classes-component/src/components/ImportJavaClasses/ImportJavaClassesWizardSecondStep.tsx#L113
React Hook useCallback has a missing dependency: 'isInDenyList'. Either include it or remove the dependency array
|
FULL → Build:
packages/editor/src/embedded/embedded/EmbeddedEditor.tsx#L87
React Hook useMemo has an unnecessary dependency: 'props.file.getFileContents'. Either exclude it or remove the dependency array
|
FULL → Build:
packages/editor/src/envelope/KeyBindingsHelpOverlay/KeyBindingsHelpOverlay.tsx#L66
React Hook useMemo has missing dependencies: 'envelopeContext.operatingSystem' and 'envelopeContext.services.keyboardShortcuts'. Either include them or remove the dependency array
|
FULL → Build:
packages/editor/src/envelope/KeyBindingsHelpOverlay/KeyBindingsHelpOverlay.tsx#L66
React Hook useMemo has a complex expression in the dependency array. Extract it to a separate variable so it can be statically checked
|
FULL → Build:
packages/editor/src/envelope/KeyBindingsHelpOverlay/KeyBindingsHelpOverlay.tsx#L76
React Hook useEffect has a missing dependency: 'envelopeContext.services.keyboardShortcuts'. Either include it or remove the dependency array
|
FULL → Build
2 flaky
[webkit] › boxedExpressions/function/populate.spec.ts:24:7 › Populate Boxed Function › should correctly populate boxed function
[webkit] › features/resizing/resizing.spec.ts:463:9 › Resizing › Relation expression › should resize column and add new columns
133 skipped
480 passed (19.6m)
|
FULL → Build
1 flaky
[webkit] › deleteDecisionServiceWithOutput.spec.ts:28:7 › Delete node - Decision Service with output › should delete the Decision Service node and not the Decision node
33 skipped
959 passed (45.1m)
|
FULL → Build
4 skipped
86 passed (4.4m)
|
FULL → Build
1 flaky
[webkit] › createFiles/samples.spec.ts:41:9 › Sample › Home › should create a DMN sample file ──
72 skipped
23 passed (3.5m)
|
Loading