You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by "elguardian (via GitHub)" <gi...@apache.org> on 2024/06/07 07:51:24 UTC

[PR] [incubator-kie-issues-1286] BoundaryEvents v7 support [incubator-kie-kogito-runtimes]

elguardian opened a new pull request, #3549:
URL: https://github.com/apache/incubator-kie-kogito-runtimes/pull/3549

   Closes: https://github.com/apache/incubator-kie-issues/issues/1303


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [PR] [incubator-kie-issues-1303] BoundaryEvents v7 support [incubator-kie-kogito-runtimes]

Posted by "martinweiler (via GitHub)" <gi...@apache.org>.
martinweiler commented on code in PR #3549:
URL: https://github.com/apache/incubator-kie-kogito-runtimes/pull/3549#discussion_r1643432384


##########
jbpm/jbpm-tests/src/test/java/org/jbpm/bpmn2/IntermediateEventTest.java:
##########
@@ -66,7 +73,6 @@
 import org.jbpm.process.instance.impl.demo.SystemOutWorkItemHandler;
 import org.jbpm.test.util.NodeLeftCountDownProcessEventListener;
 import org.jbpm.test.util.ProcessCompletedCountDownProcessEventListener;
-import org.jbpm.test.utils.EventTrackerProcessListener;

Review Comment:
   Class still used in `testIntermediateCatchEventSignalWithTransformation`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [PR] [incubator-kie-issues-1303] BoundaryEvents v7 support [incubator-kie-kogito-runtimes]

Posted by "martinweiler (via GitHub)" <gi...@apache.org>.
martinweiler commented on code in PR #3549:
URL: https://github.com/apache/incubator-kie-kogito-runtimes/pull/3549#discussion_r1643434130


##########
jbpm/jbpm-tests/src/test/java/org/jbpm/bpmn2/IntermediateEventTest.java:
##########
@@ -125,6 +131,34 @@ public void beforeNodeTriggered(ProcessNodeTriggeredEvent event) {
      * TESTS!
      */
 
+    @Test
+    public void testBoundaryTimerCycleISO() {
+        Application app = ProcessTestHelper.newApplication();
+        NodeLeftCountDownProcessEventListener listener = new NodeLeftCountDownProcessEventListener("Send Update", 3);
+        ProcessTestHelper.registerProcessEventListener(app, listener);
+        org.kie.kogito.process.Process<BoundaryTimerCycleISOModel> definition = BoundaryTimerCycleISOProcess.newProcess(app);
+        org.kie.kogito.process.ProcessInstance<BoundaryTimerCycleISOModel> instance = definition.createInstance(definition.createModel());
+        instance.start();
+        listener.waitTillCompleted();
+        ProcessTestHelper.completeWorkItem(instance, "john", Collections.emptyMap());
+        assertThat(instance.status()).isEqualTo(org.kie.kogito.process.ProcessInstance.STATE_COMPLETED);
+    }
+
+    @Test
+    public void testBoundaryTimerCycleISOVariable() {
+        Application app = ProcessTestHelper.newApplication();
+        NodeLeftCountDownProcessEventListener listener = new NodeLeftCountDownProcessEventListener("Send Update", 3);
+        ProcessTestHelper.registerProcessEventListener(app, listener);
+        org.kie.kogito.process.Process<BoundaryTimerCycleISOVariableModel> definition = BoundaryTimerCycleISOVariableProcess.newProcess(app);
+        BoundaryTimerCycleISOVariableModel model = definition.createModel();
+        model.setCronStr("R3/PT0.1S");

Review Comment:
   Despite the 0.1s change, both tests still take 10s to complete:
   ```
   [INFO] Running org.jbpm.bpmn2.IntermediateEventTest
   2024-06-17 15:09:22,445 [main] INFO   >>> testBoundaryTimerCycleISOVariable() <<<
   Finish Work
   2024-06-17 15:09:23,557 [pool-2-thread-1] INFO  Job f96572f2-02f7-4228-8ca8-2f8a7999da45 started
   Sending Update...
   2024-06-17 15:09:23,691 [pool-2-thread-1] INFO  Job f96572f2-02f7-4228-8ca8-2f8a7999da45 started
   Sending Update...
   2024-06-17 15:09:23,756 [pool-2-thread-2] INFO  Job f96572f2-02f7-4228-8ca8-2f8a7999da45 started
   Sending Update...
   2024-06-17 15:09:32,603 [main] INFO  Finished testBoundaryTimerCycleISOVariable()
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [PR] [incubator-kie-issues-1286] BoundaryEvents v7 support [incubator-kie-kogito-runtimes]

Posted by "kie-ci3 (via GitHub)" <gi...@apache.org>.
kie-ci3 commented on PR #3549:
URL: https://github.com/apache/incubator-kie-kogito-runtimes/pull/3549#issuecomment-2154335697

   
   **PR job** `#1` was: **UNSTABLE**
   Possible explanation: This should be test failures
   
   
   <details>
   <summary><b>Reproducer</b></summary>
   
   
   
   build-chain build full_downstream  -f 'https://raw.githubusercontent.com/${AUTHOR:apache}/incubator-kie-kogito-pipelines/${BRANCH:main}/.ci/buildchain-config-pr-cdb.yaml' -o 'bc' -p apache/incubator-kie-kogito-runtimes -u https://github.com/apache/incubator-kie-kogito-runtimes/pull/3549 --skipParallelCheckout
   
   NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution
   
   </details>
   
   
   Please look here: https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3549/1/display/redirect
   
   **Test results:**
   - PASSED: 1499
   - FAILED: 11
   
   Those are the test failures: 
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3549/1/testReport/org.jbpm.bpmn2/BrokenStructureRefTest/testProcessWithBrokenItemDefinitionUri/">org.jbpm.bpmn2.BrokenStructureRefTest.testProcessWithBrokenItemDefinitionUri</a></summary>
   Cannot invoke "java.net.URL.getPath()" because the return value of "java.lang.Class.getResource(String)" is null
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3549/1/testReport/org.jbpm.bpmn2/ErrorEventTest/testBoundaryErrorEventSubProcessExceptionMapping/">org.jbpm.bpmn2.ErrorEventTest.testBoundaryErrorEventSubProcessExceptionMapping</a></summary>
   Build Errors:<br/>Error Messages:<br/>Message [id=1, kieBase=defaultKieBase, level=ERROR, path=BPMN2-BoundaryErrorEventSubProcessExceptionMapping.bpmn2, line=-1, column=0<br/>   text=Unable to load process. : Exception class java.io.FileNotFoundException : 'BPMN2-BoundaryErrorEventSubProcessExceptionMapping.bpmn2' cannot be opened because it does not exist]<br/>---<br/>Warning Messages:<br/>---<br/>Info Messages:<br/>
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3549/1/testReport/org.jbpm.bpmn2/ErrorEventTest/testBoundaryErrorEventDefaultHandlerWithoutErrorCodeWithStructureRef/">org.jbpm.bpmn2.ErrorEventTest.testBoundaryErrorEventDefaultHandlerWithoutErrorCodeWithStructureRef</a></summary>
   Build Errors:<br/>Error Messages:<br/>Message [id=1, kieBase=defaultKieBase, level=ERROR, path=BPMN2-BoundaryErrorEventDefaultHandlerWithoutErrorCodeWithStructureRef.bpmn2, line=-1, column=0<br/>   text=Unable to load process. : Exception class java.io.FileNotFoundException : 'BPMN2-BoundaryErrorEventDefaultHandlerWithoutErrorCodeWithStructureRef.bpmn2' cannot be opened because it does not exist]<br/>---<br/>Warning Messages:<br/>---<br/>Info Messages:<br/>
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3549/1/testReport/org.jbpm.bpmn2/ErrorEventTest/testBoundaryErrorEventDefaultHandlerWithoutErrorCodeWithoutStructureRef/">org.jbpm.bpmn2.ErrorEventTest.testBoundaryErrorEventDefaultHandlerWithoutErrorCodeWithoutStructureRef</a></summary>
   Build Errors:<br/>Error Messages:<br/>Message [id=1, kieBase=defaultKieBase, level=ERROR, path=BPMN2-BoundaryErrorEventDefaultHandlerWithoutErrorCodeWithoutStructureRef.bpmn2, line=-1, column=0<br/>   text=Unable to load process. : Exception class java.io.FileNotFoundException : 'BPMN2-BoundaryErrorEventDefaultHandlerWithoutErrorCodeWithoutStructureRef.bpmn2' cannot be opened because it does not exist]<br/>---<br/>Warning Messages:<br/>---<br/>Info Messages:<br/>
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3549/1/testReport/org.jbpm.bpmn2/IntermediateEventTest/testSignalBoundaryEventOnTaskWithSignalName/">org.jbpm.bpmn2.IntermediateEventTest.testSignalBoundaryEventOnTaskWithSignalName</a></summary>
   Build Errors:<br/>Error Messages:<br/>Message [id=1, kieBase=defaultKieBase, level=ERROR, path=BPMN2-BoundarySignalWithNameEventOnTaskbpmn2.bpmn, line=-1, column=0<br/>   text=Unable to load process. : Exception class java.io.FileNotFoundException : 'BPMN2-BoundarySignalWithNameEventOnTaskbpmn2.bpmn' cannot be opened because it does not exist]<br/>---<br/>Warning Messages:<br/>---<br/>Info Messages:<br/>
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3549/1/testReport/org.jbpm.bpmn2.structureref/StructureRefTest/testInvalidBooleanStructureRefOnStart/">org.jbpm.bpmn2.structureref.StructureRefTest.testInvalidBooleanStructureRefOnStart</a></summary>
   Build Errors:<br/>Error Messages:<br/>Message [id=1, kieBase=defaultKieBase, level=ERROR, path=BPMN2-BooleanStructureRef.bpmn2, line=-1, column=0<br/>   text=Unable to load process. : Exception class java.io.FileNotFoundException : 'BPMN2-BooleanStructureRef.bpmn2' cannot be opened because it does not exist]<br/>---<br/>Warning Messages:<br/>---<br/>Info Messages:<br/>
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3549/1/testReport/org.jbpm.bpmn2.structureref/StructureRefTest/testInvalidBooleanStructureRefOnStartWithDisabledCheck/">org.jbpm.bpmn2.structureref.StructureRefTest.testInvalidBooleanStructureRefOnStartWithDisabledCheck</a></summary>
   Build Errors:<br/>Error Messages:<br/>Message [id=1, kieBase=defaultKieBase, level=ERROR, path=BPMN2-BooleanStructureRef.bpmn2, line=-1, column=0<br/>   text=Unable to load process. : Exception class java.io.FileNotFoundException : 'BPMN2-BooleanStructureRef.bpmn2' cannot be opened because it does not exist]<br/>---<br/>Warning Messages:<br/>---<br/>Info Messages:<br/>
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3549/1/testReport/org.jbpm.bpmn2.structureref/StructureRefTest/testBooleanStructureRef/">org.jbpm.bpmn2.structureref.StructureRefTest.testBooleanStructureRef</a></summary>
   Build Errors:<br/>Error Messages:<br/>Message [id=1, kieBase=defaultKieBase, level=ERROR, path=BPMN2-BooleanStructureRef.bpmn2, line=-1, column=0<br/>   text=Unable to load process. : Exception class java.io.FileNotFoundException : 'BPMN2-BooleanStructureRef.bpmn2' cannot be opened because it does not exist]<br/>---<br/>Warning Messages:<br/>---<br/>Info Messages:<br/>
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3549/1/testReport/org.jbpm.bpmn2.structureref/StructureRefTest/testNotExistingVarBooleanStructureRefOnStart/">org.jbpm.bpmn2.structureref.StructureRefTest.testNotExistingVarBooleanStructureRefOnStart</a></summary>
   Build Errors:<br/>Error Messages:<br/>Message [id=1, kieBase=defaultKieBase, level=ERROR, path=BPMN2-BooleanStructureRef.bpmn2, line=-1, column=0<br/>   text=Unable to load process. : Exception class java.io.FileNotFoundException : 'BPMN2-BooleanStructureRef.bpmn2' cannot be opened because it does not exist]<br/>---<br/>Warning Messages:<br/>---<br/>Info Messages:<br/>
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3549/1/testReport/org.jbpm.bpmn2.structureref/StructureRefTest/testNotExistingBooleanStructureRefOnWIComplete/">org.jbpm.bpmn2.structureref.StructureRefTest.testNotExistingBooleanStructureRefOnWIComplete</a></summary>
   java.lang.AssertionError: <br/>	at org.jbpm.bpmn2.structureref.StructureRefTest.testNotExistingBooleanStructureRefOnWIComplete(StructureRefTest.java:266)<br/>	at java.base/java.lang.reflect.Method.invoke(Method.java:568)<br/>	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)<br/>	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)<br/>
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3549/1/testReport/org.jbpm.bpmn2.structureref/StructureRefTest/testInvalidBooleanStructureRefOnStartVerifyErrorMsg/">org.jbpm.bpmn2.structureref.StructureRefTest.testInvalidBooleanStructureRefOnStartVerifyErrorMsg</a></summary>
   Build Errors:<br/>Error Messages:<br/>Message [id=1, kieBase=defaultKieBase, level=ERROR, path=BPMN2-BooleanStructureRef.bpmn2, line=-1, column=0<br/>   text=Unable to load process. : Exception class java.io.FileNotFoundException : 'BPMN2-BooleanStructureRef.bpmn2' cannot be opened because it does not exist]<br/>---<br/>Warning Messages:<br/>---<br/>Info Messages:<br/>
   </details>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [PR] [incubator-kie-issues-1286] BoundaryEvents v7 support [incubator-kie-kogito-runtimes]

Posted by "kie-ci3 (via GitHub)" <gi...@apache.org>.
kie-ci3 commented on PR #3549:
URL: https://github.com/apache/incubator-kie-kogito-runtimes/pull/3549#issuecomment-2154638584

   
   **PR job** `#2` was: **UNSTABLE**
   Possible explanation: This should be test failures
   
   
   <details>
   <summary><b>Reproducer</b></summary>
   
   
   
   build-chain build full_downstream  -f 'https://raw.githubusercontent.com/${AUTHOR:apache}/incubator-kie-kogito-pipelines/${BRANCH:main}/.ci/buildchain-config-pr-cdb.yaml' -o 'bc' -p apache/incubator-kie-kogito-runtimes -u https://github.com/apache/incubator-kie-kogito-runtimes/pull/3549 --skipParallelCheckout
   
   NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution
   
   </details>
   
   
   Please look here: https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3549/2/display/redirect
   
   **Test results:**
   - PASSED: 3249
   - FAILED: 12
   
   Those are the test failures: 
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3549/2/testReport/org.jbpm.bpmn2/BrokenStructureRefTest/testProcessWithBrokenItemDefinitionUri/">org.jbpm.bpmn2.BrokenStructureRefTest.testProcessWithBrokenItemDefinitionUri</a></summary>
   Cannot invoke "java.net.URL.getPath()" because the return value of "java.lang.Class.getResource(String)" is null
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3549/2/testReport/org.jbpm.bpmn2/ErrorEventTest/testBoundaryErrorEventSubProcessExceptionMapping/">org.jbpm.bpmn2.ErrorEventTest.testBoundaryErrorEventSubProcessExceptionMapping</a></summary>
   Build Errors:<br/>Error Messages:<br/>Message [id=1, kieBase=defaultKieBase, level=ERROR, path=BPMN2-BoundaryErrorEventSubProcessExceptionMapping.bpmn2, line=-1, column=0<br/>   text=Unable to load process. : Exception class java.io.FileNotFoundException : 'BPMN2-BoundaryErrorEventSubProcessExceptionMapping.bpmn2' cannot be opened because it does not exist]<br/>---<br/>Warning Messages:<br/>---<br/>Info Messages:<br/>
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3549/2/testReport/org.jbpm.bpmn2/ErrorEventTest/testErrorBoundaryEventOnServiceTask/">org.jbpm.bpmn2.ErrorEventTest.testErrorBoundaryEventOnServiceTask</a></summary>
   Build Errors:<br/>Error Messages:<br/>Message [id=1, kieBase=defaultKieBase, level=ERROR, path=BPMN2-ErrorBoundaryEventOnServiceTask.bpmn2, line=-1, column=0<br/>   text=Unable to load process. : Exception class java.io.FileNotFoundException : 'BPMN2-ErrorBoundaryEventOnServiceTask.bpmn2' cannot be opened because it does not exist]<br/>---<br/>Warning Messages:<br/>---<br/>Info Messages:<br/>
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3549/2/testReport/org.jbpm.bpmn2/ErrorEventTest/testBoundaryErrorEventDefaultHandlerWithoutErrorCodeWithStructureRef/">org.jbpm.bpmn2.ErrorEventTest.testBoundaryErrorEventDefaultHandlerWithoutErrorCodeWithStructureRef</a></summary>
   Build Errors:<br/>Error Messages:<br/>Message [id=1, kieBase=defaultKieBase, level=ERROR, path=BPMN2-BoundaryErrorEventDefaultHandlerWithoutErrorCodeWithStructureRef.bpmn2, line=-1, column=0<br/>   text=Unable to load process. : Exception class java.io.FileNotFoundException : 'BPMN2-BoundaryErrorEventDefaultHandlerWithoutErrorCodeWithStructureRef.bpmn2' cannot be opened because it does not exist]<br/>---<br/>Warning Messages:<br/>---<br/>Info Messages:<br/>
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3549/2/testReport/org.jbpm.bpmn2/ErrorEventTest/testBoundaryErrorEventDefaultHandlerWithoutErrorCodeWithoutStructureRef/">org.jbpm.bpmn2.ErrorEventTest.testBoundaryErrorEventDefaultHandlerWithoutErrorCodeWithoutStructureRef</a></summary>
   Build Errors:<br/>Error Messages:<br/>Message [id=1, kieBase=defaultKieBase, level=ERROR, path=BPMN2-BoundaryErrorEventDefaultHandlerWithoutErrorCodeWithoutStructureRef.bpmn2, line=-1, column=0<br/>   text=Unable to load process. : Exception class java.io.FileNotFoundException : 'BPMN2-BoundaryErrorEventDefaultHandlerWithoutErrorCodeWithoutStructureRef.bpmn2' cannot be opened because it does not exist]<br/>---<br/>Warning Messages:<br/>---<br/>Info Messages:<br/>
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3549/2/testReport/org.jbpm.bpmn2/IntermediateEventTest/testSignalBoundaryEventOnTaskWithSignalName/">org.jbpm.bpmn2.IntermediateEventTest.testSignalBoundaryEventOnTaskWithSignalName</a></summary>
   Build Errors:<br/>Error Messages:<br/>Message [id=1, kieBase=defaultKieBase, level=ERROR, path=BPMN2-BoundarySignalWithNameEventOnTaskbpmn2.bpmn, line=-1, column=0<br/>   text=Unable to load process. : Exception class java.io.FileNotFoundException : 'BPMN2-BoundarySignalWithNameEventOnTaskbpmn2.bpmn' cannot be opened because it does not exist]<br/>---<br/>Warning Messages:<br/>---<br/>Info Messages:<br/>
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3549/2/testReport/org.jbpm.bpmn2.structureref/StructureRefTest/testInvalidBooleanStructureRefOnStart/">org.jbpm.bpmn2.structureref.StructureRefTest.testInvalidBooleanStructureRefOnStart</a></summary>
   Build Errors:<br/>Error Messages:<br/>Message [id=1, kieBase=defaultKieBase, level=ERROR, path=BPMN2-BooleanStructureRef.bpmn2, line=-1, column=0<br/>   text=Unable to load process. : Exception class java.io.FileNotFoundException : 'BPMN2-BooleanStructureRef.bpmn2' cannot be opened because it does not exist]<br/>---<br/>Warning Messages:<br/>---<br/>Info Messages:<br/>
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3549/2/testReport/org.jbpm.bpmn2.structureref/StructureRefTest/testInvalidBooleanStructureRefOnStartWithDisabledCheck/">org.jbpm.bpmn2.structureref.StructureRefTest.testInvalidBooleanStructureRefOnStartWithDisabledCheck</a></summary>
   Build Errors:<br/>Error Messages:<br/>Message [id=1, kieBase=defaultKieBase, level=ERROR, path=BPMN2-BooleanStructureRef.bpmn2, line=-1, column=0<br/>   text=Unable to load process. : Exception class java.io.FileNotFoundException : 'BPMN2-BooleanStructureRef.bpmn2' cannot be opened because it does not exist]<br/>---<br/>Warning Messages:<br/>---<br/>Info Messages:<br/>
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3549/2/testReport/org.jbpm.bpmn2.structureref/StructureRefTest/testBooleanStructureRef/">org.jbpm.bpmn2.structureref.StructureRefTest.testBooleanStructureRef</a></summary>
   Build Errors:<br/>Error Messages:<br/>Message [id=1, kieBase=defaultKieBase, level=ERROR, path=BPMN2-BooleanStructureRef.bpmn2, line=-1, column=0<br/>   text=Unable to load process. : Exception class java.io.FileNotFoundException : 'BPMN2-BooleanStructureRef.bpmn2' cannot be opened because it does not exist]<br/>---<br/>Warning Messages:<br/>---<br/>Info Messages:<br/>
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3549/2/testReport/org.jbpm.bpmn2.structureref/StructureRefTest/testNotExistingVarBooleanStructureRefOnStart/">org.jbpm.bpmn2.structureref.StructureRefTest.testNotExistingVarBooleanStructureRefOnStart</a></summary>
   Build Errors:<br/>Error Messages:<br/>Message [id=1, kieBase=defaultKieBase, level=ERROR, path=BPMN2-BooleanStructureRef.bpmn2, line=-1, column=0<br/>   text=Unable to load process. : Exception class java.io.FileNotFoundException : 'BPMN2-BooleanStructureRef.bpmn2' cannot be opened because it does not exist]<br/>---<br/>Warning Messages:<br/>---<br/>Info Messages:<br/>
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3549/2/testReport/org.jbpm.bpmn2.structureref/StructureRefTest/testNotExistingBooleanStructureRefOnWIComplete/">org.jbpm.bpmn2.structureref.StructureRefTest.testNotExistingBooleanStructureRefOnWIComplete</a></summary>
   java.lang.AssertionError: <br/>	at org.jbpm.bpmn2.structureref.StructureRefTest.testNotExistingBooleanStructureRefOnWIComplete(StructureRefTest.java:266)<br/>	at java.base/java.lang.reflect.Method.invoke(Method.java:568)<br/>	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)<br/>	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)<br/>
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3549/2/testReport/org.jbpm.bpmn2.structureref/StructureRefTest/testInvalidBooleanStructureRefOnStartVerifyErrorMsg/">org.jbpm.bpmn2.structureref.StructureRefTest.testInvalidBooleanStructureRefOnStartVerifyErrorMsg</a></summary>
   Build Errors:<br/>Error Messages:<br/>Message [id=1, kieBase=defaultKieBase, level=ERROR, path=BPMN2-BooleanStructureRef.bpmn2, line=-1, column=0<br/>   text=Unable to load process. : Exception class java.io.FileNotFoundException : 'BPMN2-BooleanStructureRef.bpmn2' cannot be opened because it does not exist]<br/>---<br/>Warning Messages:<br/>---<br/>Info Messages:<br/>
   </details>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [PR] [incubator-kie-issues-1303] BoundaryEvents v7 support [incubator-kie-kogito-runtimes]

Posted by "kie-ci3 (via GitHub)" <gi...@apache.org>.
kie-ci3 commented on PR #3549:
URL: https://github.com/apache/incubator-kie-kogito-runtimes/pull/3549#issuecomment-2167570051

   
   **PR job** `#6` was: **UNSTABLE**
   Possible explanation: This should be test failures
   
   
   <details>
   <summary><b>Reproducer</b></summary>
   
   
   
   build-chain build full_downstream  -f 'https://raw.githubusercontent.com/${AUTHOR:apache}/incubator-kie-kogito-pipelines/${BRANCH:main}/.ci/buildchain-config-pr-cdb.yaml' -o 'bc' -p apache/incubator-kie-kogito-runtimes -u https://github.com/apache/incubator-kie-kogito-runtimes/pull/3549 --skipParallelCheckout
   
   NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution
   
   </details>
   
   
   Please look here: https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3549/6/display/redirect
   
   **Test results:**
   - PASSED: 3248
   - FAILED: 17
   
   Those are the test failures: 
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3549/6/testReport/org.jbpm.bpmn2/FlowTest/testInclusiveSplitAndJoinWithTimer/">org.jbpm.bpmn2.FlowTest.testInclusiveSplitAndJoinWithTimer</a></summary>
   <br/>Expected size: 2 but was: 1 in:<br/>[WorkItem 697a40de-f292-4266-8f0d-4245387a3c45 [name=Human Task, state=0, processInstanceId=e1036293-fdd0-4de7-96b0-c7159df264e2, parameters{NodeName=User Task 1}]]
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3549/6/testReport/org.jbpm.bpmn2/FlowTest/testTimerAndGateway/">org.jbpm.bpmn2.FlowTest.testTimerAndGateway</a></summary>
   <br/>Expecting actual not to be null
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3549/6/testReport/org.jbpm.bpmn2/IntermediateEventTest/testEventBasedSplitWithCronTimerAndSignal/">org.jbpm.bpmn2.IntermediateEventTest.testEventBasedSplitWithCronTimerAndSignal</a></summary>
   <br/>Expected size: 3 but was: 0 in:<br/>[]
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3549/6/testReport/org.jbpm.bpmn2/IntermediateEventTest/testIntermediateCatchEventTimerCycleWithErrorWithPersistence/">org.jbpm.bpmn2.IntermediateEventTest.testIntermediateCatchEventTimerCycleWithErrorWithPersistence</a></summary>
   <br/>expected: 2<br/> but was: 1
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3549/6/testReport/org.jbpm.bpmn2/IntermediateEventTest/testEventSubprocessMessageWithLocalVars/">org.jbpm.bpmn2.IntermediateEventTest.testEventSubprocessMessageWithLocalVars</a></summary>
   <br/>expected: null<br/> but was: WorkflowProcessInstance [Id=475f3b99-f28d-48ec-8d1f-1c2a237babef,processId=EventSubProcessWithLocalVariables,state=1]
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3549/6/testReport/org.jbpm.bpmn2/IntermediateEventTest/testIntermediateCatchEventTimerCycleWithError/">org.jbpm.bpmn2.IntermediateEventTest.testIntermediateCatchEventTimerCycleWithError</a></summary>
   <br/>expected: 3<br/> but was: 2
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3549/6/testReport/org.jbpm.bpmn2/IntermediateEventTest/testEventSubprocessTimer/">org.jbpm.bpmn2.IntermediateEventTest.testEventSubprocessTimer</a></summary>
   <br/>Expected size: 1 but was: 2 in:<br/>[EventDesciption [event=workItemCompleted, nodeId=UserTask_1, nodeName=User Task 1, eventType=workItem, nodeInstanceId=0caaac58-5bac-4ff1-b89e-6f5096c51b56, processInstanceId=7e4d02ea-3322-416c-8a29-461c675009c5, dataType=GroupedNamedDataType [groupedDataTypes={Input=[], Output=[]}], properties={}],<br/>    EventDesciption [event=timerTriggered, nodeId=StartEvent_2, nodeName=start-sub, eventType=timer, nodeInstanceId=46c373db-b8b3-4c01-891b-09f922ec10db, processInstanceId=7e4d02ea-3322-416c-8a29-461c675009c5, dataType=null, properties={TimerID=1, Period=null, Delay=500ms, Date=null}]]
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3549/6/testReport/org.jbpm.bpmn2/StandaloneBPMNProcessTest/testTimerStart/">org.jbpm.bpmn2.StandaloneBPMNProcessTest.testTimerStart</a></summary>
   <br/>Expected size: 5 but was: 3 in:<br/>["3a42bbce-69b4-4235-8923-a8e1ca9a976b",<br/>    "105369b1-1c84-497c-a995-42281a4ccc98",<br/>    "acda99e3-cc0d-482d-b6ce-bf41cb841053"]
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3549/6/testReport/org.jbpm.bpmn2/StartEventTest/testMultipleEventBasedStartEventsTimerDifferentPaths/">org.jbpm.bpmn2.StartEventTest.testMultipleEventBasedStartEventsTimerDifferentPaths</a></summary>
   <br/>Expected size: 2 but was: 1 in:<br/>["a748298f-a41d-4fe1-a9ff-b8c685b6dc4e"]
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3549/6/testReport/org.jbpm.bpmn2/StartEventTest/testMultipleStartEventsStartOnTimer/">org.jbpm.bpmn2.StartEventTest.testMultipleStartEventsStartOnTimer</a></summary>
   <br/>expected: 2<br/> but was: 1
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3549/6/testReport/org.jbpm.bpmn2/StartEventTest/testTimerStartCycleISO/">org.jbpm.bpmn2.StartEventTest.testTimerStartCycleISO</a></summary>
   <br/>expected: 6<br/> but was: 3
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3549/6/testReport/org.jbpm.bpmn2/StartEventTest/testTimerStartCycleLegacy/">org.jbpm.bpmn2.StartEventTest.testTimerStartCycleLegacy</a></summary>
   <br/>expected: 2<br/> but was: 1
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3549/6/testReport/org.jbpm.bpmn2/StartEventTest/testMultipleEventBasedStartEventsStartOnTimer/">org.jbpm.bpmn2.StartEventTest.testMultipleEventBasedStartEventsStartOnTimer</a></summary>
   <br/>expected: 2<br/> but was: 1
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3549/6/testReport/org.jbpm.bpmn2/StartEventTest/testTimerCycle/">org.jbpm.bpmn2.StartEventTest.testTimerCycle</a></summary>
   <br/>expected: 5<br/> but was: 3
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3549/6/testReport/org.jbpm.bpmn2/StartEventTest/testTimerStart/">org.jbpm.bpmn2.StartEventTest.testTimerStart</a></summary>
   <br/>expected: 5<br/> but was: 3
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3549/6/testReport/org.kie.kogito.codegen.tests/ServerlessWorkflowIT/testSingleFunctionCallWithDelayWorkflow(String)[1]/">org.kie.kogito.codegen.tests.ServerlessWorkflowIT.testSingleFunctionCallWithDelayWorkflow(String)[1]</a></summary>
   <br/>expected: 2<br/> but was: 1
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3549/6/testReport/org.kie.kogito.codegen.tests/ServerlessWorkflowIT/testSingleFunctionCallWithDelayWorkflow(String)[2]/">org.kie.kogito.codegen.tests.ServerlessWorkflowIT.testSingleFunctionCallWithDelayWorkflow(String)[2]</a></summary>
   <br/>expected: 2<br/> but was: 1
   </details>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [PR] [incubator-kie-issues-1303] BoundaryEvents v7 support [incubator-kie-kogito-runtimes]

Posted by "martinweiler (via GitHub)" <gi...@apache.org>.
martinweiler commented on code in PR #3549:
URL: https://github.com/apache/incubator-kie-kogito-runtimes/pull/3549#discussion_r1638909264


##########
jbpm/jbpm-tests/src/test/java/org/jbpm/bpmn2/IntermediateEventTest.java:
##########
@@ -104,6 +111,33 @@ public void beforeNodeTriggered(ProcessNodeTriggeredEvent event) {
      * TESTS!
      */
 
+    @Test
+    public void testBoundaryTimerCycleCron() {
+        Application app = ProcessTestHelper.newApplication();
+        NodeCountDownProcessEventListener listener = new NodeCountDownProcessEventListener("Send Update", 3);
+        ProcessTestHelper.registerProcessEventListener(app, listener);
+        org.kie.kogito.process.Process<BoundaryTimerCycleCronModel> definition = BoundaryTimerCycleCronProcess.newProcess(app);
+        org.kie.kogito.process.ProcessInstance<BoundaryTimerCycleCronModel> instance = definition.createInstance(definition.createModel());
+        instance.start();
+        listener.waitTillCompleted();
+        ProcessTestHelper.completeWorkItem(instance, "john", Collections.emptyMap());
+        assertThat(instance.status()).isEqualTo(org.kie.kogito.process.ProcessInstance.STATE_COMPLETED);
+    }
+
+    @Test
+    public void testBoundaryTimerCycleCronVariable() {
+        Application app = ProcessTestHelper.newApplication();
+        ProcessCompletedCountDownProcessEventListener listener = new ProcessCompletedCountDownProcessEventListener();
+        ProcessTestHelper.registerProcessEventListener(app, listener);
+        org.kie.kogito.process.Process<BoundaryTimerCycleCronVariableModel> definition = BoundaryTimerCycleCronVariableProcess.newProcess(app);
+        BoundaryTimerCycleCronVariableModel model = definition.createModel();
+        model.setCronStr("PT1S");

Review Comment:
   I needed to change this to `R3/PT1S` (similar to the other test), otherwise the test fails with:
   ```
   [ERROR]   IntermediateEventTest.testBoundaryTimerCycleCronVariable:137 
   expected: 2
    but was: 5
   ```
   (I then also needed to add the `completeWorkItem` method to complete the process instance.)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [PR] [incubator-kie-issues-1303] BoundaryEvents v7 support [incubator-kie-kogito-runtimes]

Posted by "kie-ci3 (via GitHub)" <gi...@apache.org>.
kie-ci3 commented on PR #3549:
URL: https://github.com/apache/incubator-kie-kogito-runtimes/pull/3549#issuecomment-2168546535

   
   **PR job** `#7` was: **UNSTABLE**
   Possible explanation: This should be test failures
   
   
   <details>
   <summary><b>Reproducer</b></summary>
   
   
   
   build-chain build full_downstream  -f 'https://raw.githubusercontent.com/${AUTHOR:apache}/incubator-kie-kogito-pipelines/${BRANCH:main}/.ci/buildchain-config-pr-cdb.yaml' -o 'bc' -p apache/incubator-kie-kogito-runtimes -u https://github.com/apache/incubator-kie-kogito-runtimes/pull/3549 --skipParallelCheckout
   
   NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution
   
   </details>
   
   
   Please look here: https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3549/7/display/redirect
   
   **Test results:**
   - PASSED: 3249
   - FAILED: 16
   
   Those are the test failures: 
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3549/7/testReport/org.jbpm.bpmn2/FlowTest/testInclusiveSplitAndJoinWithTimer/">org.jbpm.bpmn2.FlowTest.testInclusiveSplitAndJoinWithTimer</a></summary>
   <br/>Expected size: 2 but was: 1 in:<br/>[WorkItem 502d2e9f-9427-4e79-baa6-43e82e41f3eb [name=Human Task, state=0, processInstanceId=8a0847da-32d5-4a93-82cc-61b45e0973f6, parameters{NodeName=User Task 1}]]
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3549/7/testReport/org.jbpm.bpmn2/FlowTest/testTimerAndGateway/">org.jbpm.bpmn2.FlowTest.testTimerAndGateway</a></summary>
   <br/>Expecting actual not to be null
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3549/7/testReport/org.jbpm.bpmn2/IntermediateEventTest/testEventBasedSplitWithCronTimerAndSignal/">org.jbpm.bpmn2.IntermediateEventTest.testEventBasedSplitWithCronTimerAndSignal</a></summary>
   <br/>Expected size: 3 but was: 0 in:<br/>[]
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3549/7/testReport/org.jbpm.bpmn2/IntermediateEventTest/testIntermediateCatchEventTimerCycleWithErrorWithPersistence/">org.jbpm.bpmn2.IntermediateEventTest.testIntermediateCatchEventTimerCycleWithErrorWithPersistence</a></summary>
   <br/>expected: 2<br/> but was: 1
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3549/7/testReport/org.jbpm.bpmn2/IntermediateEventTest/testEventSubprocessMessageWithLocalVars/">org.jbpm.bpmn2.IntermediateEventTest.testEventSubprocessMessageWithLocalVars</a></summary>
   <br/>expected: null<br/> but was: WorkflowProcessInstance [Id=e9f909e0-2283-43f9-a6e2-733b5d822cbf,processId=EventSubProcessWithLocalVariables,state=1]
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3549/7/testReport/org.jbpm.bpmn2/IntermediateEventTest/testIntermediateCatchEventTimerCycleWithError/">org.jbpm.bpmn2.IntermediateEventTest.testIntermediateCatchEventTimerCycleWithError</a></summary>
   <br/>expected: 3<br/> but was: 2
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3549/7/testReport/org.jbpm.bpmn2/IntermediateEventTest/testEventSubprocessTimer/">org.jbpm.bpmn2.IntermediateEventTest.testEventSubprocessTimer</a></summary>
   <br/>Expected size: 1 but was: 2 in:<br/>[EventDesciption [event=workItemCompleted, nodeId=UserTask_1, nodeName=User Task 1, eventType=workItem, nodeInstanceId=cd9cd15b-8d56-45e6-9eb1-b139bd662e26, processInstanceId=8140f8fc-13f2-4d1f-81dc-e10ece482c9b, dataType=GroupedNamedDataType [groupedDataTypes={Input=[], Output=[]}], properties={}],<br/>    EventDesciption [event=timerTriggered, nodeId=StartEvent_2, nodeName=start-sub, eventType=timer, nodeInstanceId=30dd28fc-4405-45be-8347-a36c27a7f7ed, processInstanceId=8140f8fc-13f2-4d1f-81dc-e10ece482c9b, dataType=null, properties={TimerID=1, Period=null, Delay=500ms, Date=null}]]
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3549/7/testReport/org.jbpm.bpmn2/StandaloneBPMNProcessTest/testTimerStart/">org.jbpm.bpmn2.StandaloneBPMNProcessTest.testTimerStart</a></summary>
   <br/>Expected size: 5 but was: 3 in:<br/>["f22d3744-a8ce-415a-bd1f-641c2d010bb3",<br/>    "70fd20b7-07e5-4a85-866b-942854c35328",<br/>    "e924ecf5-7f2e-4f6e-ab15-7ec0f1ba6768"]
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3549/7/testReport/org.jbpm.bpmn2/StartEventTest/testMultipleEventBasedStartEventsTimerDifferentPaths/">org.jbpm.bpmn2.StartEventTest.testMultipleEventBasedStartEventsTimerDifferentPaths</a></summary>
   <br/>Expected size: 2 but was: 1 in:<br/>["525ade68-ae7f-4f71-b5ae-0edede2b964c"]
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3549/7/testReport/org.jbpm.bpmn2/StartEventTest/testMultipleStartEventsStartOnTimer/">org.jbpm.bpmn2.StartEventTest.testMultipleStartEventsStartOnTimer</a></summary>
   <br/>expected: 2<br/> but was: 1
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3549/7/testReport/org.jbpm.bpmn2/StartEventTest/testTimerStartCycleISO/">org.jbpm.bpmn2.StartEventTest.testTimerStartCycleISO</a></summary>
   <br/>expected: 6<br/> but was: 3
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3549/7/testReport/org.jbpm.bpmn2/StartEventTest/testTimerStartCycleLegacy/">org.jbpm.bpmn2.StartEventTest.testTimerStartCycleLegacy</a></summary>
   <br/>expected: 2<br/> but was: 1
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3549/7/testReport/org.jbpm.bpmn2/StartEventTest/testMultipleEventBasedStartEventsStartOnTimer/">org.jbpm.bpmn2.StartEventTest.testMultipleEventBasedStartEventsStartOnTimer</a></summary>
   <br/>expected: 2<br/> but was: 1
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3549/7/testReport/org.jbpm.bpmn2/StartEventTest/testTimerCycle/">org.jbpm.bpmn2.StartEventTest.testTimerCycle</a></summary>
   <br/>expected: 5<br/> but was: 3
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3549/7/testReport/org.jbpm.bpmn2/StartEventTest/testTimerStart/">org.jbpm.bpmn2.StartEventTest.testTimerStart</a></summary>
   <br/>expected: 5<br/> but was: 3
   </details>
   <details>
   <summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3549/7/testReport/org.kie.kogito.codegen.tests/ServerlessWorkflowIT/testSingleFunctionCallWithDelayWorkflow(String)[1]/">org.kie.kogito.codegen.tests.ServerlessWorkflowIT.testSingleFunctionCallWithDelayWorkflow(String)[1]</a></summary>
   <br/>expected: 2<br/> but was: 1
   </details>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [PR] [incubator-kie-issues-1303] BoundaryEvents v7 support [incubator-kie-kogito-runtimes]

Posted by "elguardian (via GitHub)" <gi...@apache.org>.
elguardian commented on code in PR #3549:
URL: https://github.com/apache/incubator-kie-kogito-runtimes/pull/3549#discussion_r1644045656


##########
jbpm/jbpm-tests/src/test/java/org/jbpm/bpmn2/IntermediateEventTest.java:
##########
@@ -125,6 +131,34 @@ public void beforeNodeTriggered(ProcessNodeTriggeredEvent event) {
      * TESTS!
      */
 
+    @Test
+    public void testBoundaryTimerCycleISO() {
+        Application app = ProcessTestHelper.newApplication();
+        NodeLeftCountDownProcessEventListener listener = new NodeLeftCountDownProcessEventListener("Send Update", 3);
+        ProcessTestHelper.registerProcessEventListener(app, listener);
+        org.kie.kogito.process.Process<BoundaryTimerCycleISOModel> definition = BoundaryTimerCycleISOProcess.newProcess(app);
+        org.kie.kogito.process.ProcessInstance<BoundaryTimerCycleISOModel> instance = definition.createInstance(definition.createModel());
+        instance.start();
+        listener.waitTillCompleted();
+        ProcessTestHelper.completeWorkItem(instance, "john", Collections.emptyMap());
+        assertThat(instance.status()).isEqualTo(org.kie.kogito.process.ProcessInstance.STATE_COMPLETED);
+    }
+
+    @Test
+    public void testBoundaryTimerCycleISOVariable() {
+        Application app = ProcessTestHelper.newApplication();
+        NodeLeftCountDownProcessEventListener listener = new NodeLeftCountDownProcessEventListener("Send Update", 3);
+        ProcessTestHelper.registerProcessEventListener(app, listener);
+        org.kie.kogito.process.Process<BoundaryTimerCycleISOVariableModel> definition = BoundaryTimerCycleISOVariableProcess.newProcess(app);
+        BoundaryTimerCycleISOVariableModel model = definition.createModel();
+        model.setCronStr("R3/PT0.1S");

Review Comment:
   the node is after node left... that is the reason it triggers after the human task is completed.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org