Skip to content

kie-issues#1298: Decision Services & multiple DRDs: make it possible o add external Decisions to a Decision Service #5910

kie-issues#1298: Decision Services & multiple DRDs: make it possible o add external Decisions to a Decision Service

kie-issues#1298: Decision Services & multiple DRDs: make it possible o add external Decisions to a Decision Service #5910

Triggered via pull request September 2, 2024 21:47
Status Failure
Total duration 1h 30m 37s
Artifacts 12

ci_build.yml

on: pull_request
Matrix: run
Fit to window
Zoom out
Zoom in

Annotations

11 errors, 25 warnings, and 1 notice
run (ubuntu-latest, 2)
❌ There are 12 test failures. 1416 tests succedded, though :)
[chromium] › drgElements/modelDecisionService.spec.ts:82:9 › Model Decision Service › Model Decision Service - Signature › Decision Service Input Data Signature should be not empty: packages/dmn-editor/tests-e2e/drgElements/modelDecisionService.spec.ts#L106
1) [chromium] › drgElements/modelDecisionService.spec.ts:82:9 › Model Decision Service › Model Decision Service - Signature › Decision Service Input Data Signature should be not empty Error: expect(received).toEqual(expected) // deep equality Expected: "New Decision Service(New Input Data)" Received: "New Decision Service(https://kie...3AE4.New Input Data)" 104 | await nodes.select({ name: DefaultNodeName.DECISION_SERVICE, position: NodePosition.TOP }); 105 | await decisionServicePropertiesPanel.open(); > 106 | expect(await decisionServicePropertiesPanel.getInvokingThisDecisionServiceInFeel()).toEqual( | ^ 107 | "New Decision Service(New Input Data)" 108 | ); 109 | expect(await decisionServicePropertiesPanel.getInputData()).toEqual(["New Input Data"]); at /home/runner/work/incubator-kie-tools/incubator-kie-tools/packages/dmn-editor/tests-e2e/drgElements/modelDecisionService.spec.ts:106:91
[chromium] › drgElements/modelDecisionService.spec.ts:82:9 › Model Decision Service › Model Decision Service - Signature › Decision Service Input Data Signature should be not empty: packages/dmn-editor/tests-e2e/drgElements/modelDecisionService.spec.ts#L106
1) [chromium] › drgElements/modelDecisionService.spec.ts:82:9 › Model Decision Service › Model Decision Service - Signature › Decision Service Input Data Signature should be not empty Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality Expected: "New Decision Service(New Input Data)" Received: "New Decision Service(https://kie...C32E.New Input Data)" 104 | await nodes.select({ name: DefaultNodeName.DECISION_SERVICE, position: NodePosition.TOP }); 105 | await decisionServicePropertiesPanel.open(); > 106 | expect(await decisionServicePropertiesPanel.getInvokingThisDecisionServiceInFeel()).toEqual( | ^ 107 | "New Decision Service(New Input Data)" 108 | ); 109 | expect(await decisionServicePropertiesPanel.getInputData()).toEqual(["New Input Data"]); at /home/runner/work/incubator-kie-tools/incubator-kie-tools/packages/dmn-editor/tests-e2e/drgElements/modelDecisionService.spec.ts:106:91
[chromium] › drgElements/modelDecisionService.spec.ts:82:9 › Model Decision Service › Model Decision Service - Signature › Decision Service Input Data Signature should be not empty: packages/dmn-editor/tests-e2e/drgElements/modelDecisionService.spec.ts#L106
1) [chromium] › drgElements/modelDecisionService.spec.ts:82:9 › Model Decision Service › Model Decision Service - Signature › Decision Service Input Data Signature should be not empty Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality Expected: "New Decision Service(New Input Data)" Received: "New Decision Service(https://kie...6627.New Input Data)" 104 | await nodes.select({ name: DefaultNodeName.DECISION_SERVICE, position: NodePosition.TOP }); 105 | await decisionServicePropertiesPanel.open(); > 106 | expect(await decisionServicePropertiesPanel.getInvokingThisDecisionServiceInFeel()).toEqual( | ^ 107 | "New Decision Service(New Input Data)" 108 | ); 109 | expect(await decisionServicePropertiesPanel.getInputData()).toEqual(["New Input Data"]); at /home/runner/work/incubator-kie-tools/incubator-kie-tools/packages/dmn-editor/tests-e2e/drgElements/modelDecisionService.spec.ts:106:91
[chromium] › drgElements/modelDecisionService.spec.ts:112:9 › Model Decision Service › Model Decision Service - Signature › Decision Service Input Decisions Signature should be not empty: packages/dmn-editor/tests-e2e/drgElements/modelDecisionService.spec.ts#L144
2) [chromium] › drgElements/modelDecisionService.spec.ts:112:9 › Model Decision Service › Model Decision Service - Signature › Decision Service Input Decisions Signature should be not empty Error: expect(received).toEqual(expected) // deep equality Expected: "New Decision Service(Decision Two)" Received: "New Decision Service(https://kie...734B.Decision Two)" 142 | await nodes.select({ name: DefaultNodeName.DECISION_SERVICE, position: NodePosition.TOP }); 143 | await decisionServicePropertiesPanel.open(); > 144 | expect(await decisionServicePropertiesPanel.getInvokingThisDecisionServiceInFeel()).toEqual( | ^ 145 | "New Decision Service(Decision Two)" 146 | ); 147 | expect(await decisionServicePropertiesPanel.getInputDecisions()).toEqual(["Decision Two"]); at /home/runner/work/incubator-kie-tools/incubator-kie-tools/packages/dmn-editor/tests-e2e/drgElements/modelDecisionService.spec.ts:144:91
[chromium] › drgElements/modelDecisionService.spec.ts:112:9 › Model Decision Service › Model Decision Service - Signature › Decision Service Input Decisions Signature should be not empty: packages/dmn-editor/tests-e2e/drgElements/modelDecisionService.spec.ts#L144
2) [chromium] › drgElements/modelDecisionService.spec.ts:112:9 › Model Decision Service › Model Decision Service - Signature › Decision Service Input Decisions Signature should be not empty Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality Expected: "New Decision Service(Decision Two)" Received: "New Decision Service(https://kie...3FEF.Decision Two)" 142 | await nodes.select({ name: DefaultNodeName.DECISION_SERVICE, position: NodePosition.TOP }); 143 | await decisionServicePropertiesPanel.open(); > 144 | expect(await decisionServicePropertiesPanel.getInvokingThisDecisionServiceInFeel()).toEqual( | ^ 145 | "New Decision Service(Decision Two)" 146 | ); 147 | expect(await decisionServicePropertiesPanel.getInputDecisions()).toEqual(["Decision Two"]); at /home/runner/work/incubator-kie-tools/incubator-kie-tools/packages/dmn-editor/tests-e2e/drgElements/modelDecisionService.spec.ts:144:91
[chromium] › drgElements/modelDecisionService.spec.ts:112:9 › Model Decision Service › Model Decision Service - Signature › Decision Service Input Decisions Signature should be not empty: packages/dmn-editor/tests-e2e/drgElements/modelDecisionService.spec.ts#L144
2) [chromium] › drgElements/modelDecisionService.spec.ts:112:9 › Model Decision Service › Model Decision Service - Signature › Decision Service Input Decisions Signature should be not empty Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality Expected: "New Decision Service(Decision Two)" Received: "New Decision Service(https://kie...351B.Decision Two)" 142 | await nodes.select({ name: DefaultNodeName.DECISION_SERVICE, position: NodePosition.TOP }); 143 | await decisionServicePropertiesPanel.open(); > 144 | expect(await decisionServicePropertiesPanel.getInvokingThisDecisionServiceInFeel()).toEqual( | ^ 145 | "New Decision Service(Decision Two)" 146 | ); 147 | expect(await decisionServicePropertiesPanel.getInputDecisions()).toEqual(["Decision Two"]); at /home/runner/work/incubator-kie-tools/incubator-kie-tools/packages/dmn-editor/tests-e2e/drgElements/modelDecisionService.spec.ts:144:91
[chromium] › drgElements/modelDecisionService.spec.ts:204:11 › Model Decision Service › Model Decision Service - Signature › Model Decision Service - Signature - Inputs Order › Decision Service Inputs Signature should have a default order: packages/dmn-editor/tests-e2e/drgElements/modelDecisionService.spec.ts#L215
3) [chromium] › drgElements/modelDecisionService.spec.ts:204:11 › Model Decision Service › Model Decision Service - Signature › Model Decision Service - Signature - Inputs Order › Decision Service Inputs Signature should have a default order Error: expect(received).toEqual(expected) // deep equality Expected: "New Decision Service(B, A, BB, AA)" Received: "New Decision Service(https://kie...D259.B, https://kie...D259.A, https://kie...D259.BB, https://kie...D259.AA)" 213 | await nodes.select({ name: DefaultNodeName.DECISION_SERVICE, position: NodePosition.TOP }); 214 | await decisionServicePropertiesPanel.open(); > 215 | expect(await decisionServicePropertiesPanel.getInvokingThisDecisionServiceInFeel()).toEqual( | ^ 216 | "New Decision Service(B, A, BB, AA)" 217 | ); 218 | expect(await decisionServicePropertiesPanel.getInputDecisions()).toEqual(["B", "A"]); at /home/runner/work/incubator-kie-tools/incubator-kie-tools/packages/dmn-editor/tests-e2e/drgElements/modelDecisionService.spec.ts:215:93
[chromium] › drgElements/modelDecisionService.spec.ts:204:11 › Model Decision Service › Model Decision Service - Signature › Model Decision Service - Signature - Inputs Order › Decision Service Inputs Signature should have a default order: packages/dmn-editor/tests-e2e/drgElements/modelDecisionService.spec.ts#L215
3) [chromium] › drgElements/modelDecisionService.spec.ts:204:11 › Model Decision Service › Model Decision Service - Signature › Model Decision Service - Signature - Inputs Order › Decision Service Inputs Signature should have a default order Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality Expected: "New Decision Service(B, A, BB, AA)" Received: "New Decision Service(https://kie...7650.B, https://kie...7650.A, https://kie...7650.BB, https://kie...7650.AA)" 213 | await nodes.select({ name: DefaultNodeName.DECISION_SERVICE, position: NodePosition.TOP }); 214 | await decisionServicePropertiesPanel.open(); > 215 | expect(await decisionServicePropertiesPanel.getInvokingThisDecisionServiceInFeel()).toEqual( | ^ 216 | "New Decision Service(B, A, BB, AA)" 217 | ); 218 | expect(await decisionServicePropertiesPanel.getInputDecisions()).toEqual(["B", "A"]); at /home/runner/work/incubator-kie-tools/incubator-kie-tools/packages/dmn-editor/tests-e2e/drgElements/modelDecisionService.spec.ts:215:93
[chromium] › drgElements/modelDecisionService.spec.ts:204:11 › Model Decision Service › Model Decision Service - Signature › Model Decision Service - Signature - Inputs Order › Decision Service Inputs Signature should have a default order: packages/dmn-editor/tests-e2e/drgElements/modelDecisionService.spec.ts#L215
3) [chromium] › drgElements/modelDecisionService.spec.ts:204:11 › Model Decision Service › Model Decision Service - Signature › Model Decision Service - Signature - Inputs Order › Decision Service Inputs Signature should have a default order Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality Expected: "New Decision Service(B, A, BB, AA)" Received: "New Decision Service(https://kie...4C47.B, https://kie...4C47.A, https://kie...4C47.BB, https://kie...4C47.AA)" 213 | await nodes.select({ name: DefaultNodeName.DECISION_SERVICE, position: NodePosition.TOP }); 214 | await decisionServicePropertiesPanel.open(); > 215 | expect(await decisionServicePropertiesPanel.getInvokingThisDecisionServiceInFeel()).toEqual( | ^ 216 | "New Decision Service(B, A, BB, AA)" 217 | ); 218 | expect(await decisionServicePropertiesPanel.getInputDecisions()).toEqual(["B", "A"]); at /home/runner/work/incubator-kie-tools/incubator-kie-tools/packages/dmn-editor/tests-e2e/drgElements/modelDecisionService.spec.ts:215:93
[chromium] › drgElements/modelDecisionService.spec.ts:222:11 › Model Decision Service › Model Decision Service - Signature › Model Decision Service - Signature - Inputs Order › Decision Service Inputs Signature should be reordered: packages/dmn-editor/tests-e2e/drgElements/modelDecisionService.spec.ts#L235
4) [chromium] › drgElements/modelDecisionService.spec.ts:222:11 › Model Decision Service › Model Decision Service - Signature › Model Decision Service - Signature - Inputs Order › Decision Service Inputs Signature should be reordered Error: expect(received).toEqual(expected) // deep equality Expected: "New Decision Service(A, B, AA, BB)" Received: "New Decision Service(https://kie...8886.B, https://kie...8886.A, https://kie...8886.AA, https://kie...8886.BB)" 233 | await decisionServicePropertiesPanel.moveInputData({ fromIndex: 0, toIndex: 1 }); 234 | await decisionServicePropertiesPanel.moveInputDecision({ fromIndex: 0, toIndex: 1 }); > 235 | expect(await decisionServicePropertiesPanel.getInvokingThisDecisionServiceInFeel()).toEqual( | ^ 236 | "New Decision Service(A, B, AA, BB)" 237 | ); 238 | expect(await decisionServicePropertiesPanel.getInputDecisions()).toEqual(["A", "B"]); at /home/runner/work/incubator-kie-tools/incubator-kie-tools/packages/dmn-editor/tests-e2e/drgElements/modelDecisionService.spec.ts:235:93
run (ubuntu-latest, 0)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/github-script@v6. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
run (ubuntu-latest, 1)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/github-script@v6. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
run (windows-latest, 1)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/github-script@v6. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
run (macos-13, 0)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/github-script@v6. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
run (windows-latest, 0)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/github-script@v6. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
run (macos-13, 1)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/github-script@v6. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
run (windows-latest, 2)
Restore cache failed: Dependencies file is not found in D:\a\incubator-kie-tools\incubator-kie-tools. Supported file pattern: go.sum
run (windows-latest, 2)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/github-script@v6, al-cheb/configure-pagefile-action@86589fd789a4de3e62ba628dda2cb10027b66d67, 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/
run (windows-latest, 2): packages/dmn-editor/src/diagram/Diagram.tsx#L904
React Hook useCallback has an unnecessary dependency: 'reactFlowInstance'. Either exclude it or remove the dependency array
run (windows-latest, 2): packages/dmn-editor/src/propertiesPanel/DecisionServiceProperties.tsx#L110
React Hook useMemo has a missing dependency: 'allExternalDmns'. Either include it or remove the dependency array
run (windows-latest, 2): packages/dmn-editor-envelope/src/DmnEditorRoot.tsx#L759
React Hook useEffect has missing dependencies: 'getDmnsByNamespace' and 'loadDependentModels'. Either include them or remove the dependency array
run (windows-latest, 2): packages/online-editor/src/accounts/kubernetes/ConnectToLocalKubernetesClusterWizard.tsx#L176
React Hook useEffect 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 useEffect call and refer to those specific props inside useEffect
run (macos-13, 2)
Restore cache failed: Dependencies file is not found in /Users/runner/work/incubator-kie-tools/incubator-kie-tools. Supported file pattern: go.sum
run (macos-13, 2)
Treating docker as a formula. For the cask, use homebrew/cask/docker or specify the `--cask` flag.
run (macos-13, 2)
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/
run (macos-13, 2): packages/dmn-editor/src/diagram/Diagram.tsx#L904
React Hook useCallback has an unnecessary dependency: 'reactFlowInstance'. Either exclude it or remove the dependency array
run (macos-13, 2): packages/dmn-editor/src/propertiesPanel/DecisionServiceProperties.tsx#L110
React Hook useMemo has a missing dependency: 'allExternalDmns'. Either include it or remove the dependency array
run (macos-13, 2): packages/dmn-editor-envelope/src/DmnEditorRoot.tsx#L759
React Hook useEffect has missing dependencies: 'getDmnsByNamespace' and 'loadDependentModels'. Either include them or remove the dependency array
run (macos-13, 2): packages/online-editor/src/accounts/kubernetes/ConnectToLocalKubernetesClusterWizard.tsx#L176
React Hook useEffect 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 useEffect call and refer to those specific props inside useEffect
run (ubuntu-latest, 2)
Restore cache failed: Dependencies file is not found in /home/runner/work/incubator-kie-tools/incubator-kie-tools. Supported file pattern: go.sum
run (ubuntu-latest, 2)
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/
run (ubuntu-latest, 2): packages/dmn-editor/src/diagram/Diagram.tsx#L904
React Hook useCallback has an unnecessary dependency: 'reactFlowInstance'. Either exclude it or remove the dependency array
run (ubuntu-latest, 2): packages/dmn-editor/src/propertiesPanel/DecisionServiceProperties.tsx#L110
React Hook useMemo has a missing dependency: 'allExternalDmns'. Either include it or remove the dependency array
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "Linux_2__build-artifacts", "Linux_2__end-to-end-tests-artifacts", "Linux_2__end-to-end-tests-reports", "Linux_2__tests-reports", "macOS_2__build-artifacts", "macOS_2__end-to-end-tests-artifacts", "macOS_2__end-to-end-tests-reports", "macOS_2__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/
Slow Test: packages/dmn-editor/[webkit] › drgRequirements/addKnowledgeRequirement.spec.ts#L1
packages/dmn-editor/[webkit] › drgRequirements/addKnowledgeRequirement.spec.ts took 21.8s
🎭 Playwright Run Summary
12 failed [chromium] › drgElements/modelDecisionService.spec.ts:82:9 › Model Decision Service › Model Decision Service - Signature › Decision Service Input Data Signature should be not empty [chromium] › drgElements/modelDecisionService.spec.ts:112:9 › Model Decision Service › Model Decision Service - Signature › Decision Service Input Decisions Signature should be not empty [chromium] › drgElements/modelDecisionService.spec.ts:204:11 › Model Decision Service › Model Decision Service - Signature › Model Decision Service - Signature - Inputs Order › Decision Service Inputs Signature should have a default order [chromium] › drgElements/modelDecisionService.spec.ts:222:11 › Model Decision Service › Model Decision Service - Signature › Model Decision Service - Signature - Inputs Order › Decision Service Inputs Signature should be reordered [webkit] › drgElements/modelDecisionService.spec.ts:82:9 › Model Decision Service › Model Decision Service - Signature › Decision Service Input Data Signature should be not empty [webkit] › drgElements/modelDecisionService.spec.ts:112:9 › Model Decision Service › Model Decision Service - Signature › Decision Service Input Decisions Signature should be not empty [webkit] › drgElements/modelDecisionService.spec.ts:204:11 › Model Decision Service › Model Decision Service - Signature › Model Decision Service - Signature - Inputs Order › Decision Service Inputs Signature should have a default order [webkit] › drgElements/modelDecisionService.spec.ts:222:11 › Model Decision Service › Model Decision Service - Signature › Model Decision Service - Signature - Inputs Order › Decision Service Inputs Signature should be reordered [Google Chrome] › drgElements/modelDecisionService.spec.ts:82:9 › Model Decision Service › Model Decision Service - Signature › Decision Service Input Data Signature should be not empty [Google Chrome] › drgElements/modelDecisionService.spec.ts:112:9 › Model Decision Service › Model Decision Service - Signature › Decision Service Input Decisions Signature should be not empty [Google Chrome] › drgElements/modelDecisionService.spec.ts:204:11 › Model Decision Service › Model Decision Service - Signature › Model Decision Service - Signature - Inputs Order › Decision Service Inputs Signature should have a default order [Google Chrome] › drgElements/modelDecisionService.spec.ts:222:11 › Model Decision Service › Model Decision Service - Signature › Model Decision Service - Signature - Inputs Order › Decision Service Inputs Signature should be reordered 1 flaky [webkit] › drgRequirements/addInformationRequirementWaypoint.spec.ts:49:7 › Add edge waypoint - Information Requirement › should attach multiple Information Requirement edge waypoints to the edge 99 skipped 1316 passed (1.1h)

Artifacts

Produced during runtime
Name Size
Linux_2__build-artifacts
315 MB
Linux_2__end-to-end-tests-artifacts
107 MB
Linux_2__end-to-end-tests-reports
32.6 KB
Linux_2__tests-reports
22 Bytes
Windows_2__build-artifacts
547 MB
Windows_2__end-to-end-tests-artifacts
22 Bytes
Windows_2__end-to-end-tests-reports
22 Bytes
Windows_2__tests-reports
630 Bytes
macOS_2__build-artifacts
512 MB
macOS_2__end-to-end-tests-artifacts
22 Bytes
macOS_2__end-to-end-tests-reports
22 Bytes
macOS_2__tests-reports
544 Bytes