You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by "tiagodolphine (via GitHub)" <gi...@apache.org> on 2023/10/27 11:43:31 UTC
[PR] [KOGITO-9909] Fix concurrency on incoming data-index events adding lock and merge + fix for duplicate key on process definition indexing [incubator-kie-kogito-apps]
tiagodolphine opened a new pull request, #1906:
URL: https://github.com/apache/incubator-kie-kogito-apps/pull/1906
Many thanks for submitting your Pull Request :heart:!
Please make sure that your PR meets the following requirements:
- [ ] You have read the [contributors guide](https://github.com/apache/incubator-kie-kogito-runtimes#contributing-to-kogito)
- [ ] Pull Request title is properly formatted: `KOGITO-XYZ Subject`
- [ ] Pull Request title contains the target branch if not targeting main: `[0.9.x] KOGITO-XYZ Subject`
- [ ] Pull Request contains link to the JIRA issue
- [ ] Pull Request contains link to any dependent or related Pull Request
- [ ] Pull Request contains description of the issue
- [ ] Pull Request does not include fixes for issues other than the main ticket
<details>
<summary>
How to replicate CI configuration locally?
</summary>
Build Chain tool does "simple" maven build(s), the builds are just Maven commands, but because the repositories relates and depends on each other and any change in API or class method could affect several of those repositories there is a need to use [build-chain tool](https://github.com/kiegroup/github-action-build-chain) to handle cross repository builds and be sure that we always use latest version of the code for each repository.
[build-chain tool](https://github.com/kiegroup/github-action-build-chain) is a build tool which can be used on command line locally or in Github Actions workflow(s), in case you need to change multiple repositories and send multiple dependent pull requests related with a change you can easily reproduce the same build by executing it on Github hosted environment or locally in your development environment. See [local execution](https://github.com/kiegroup/github-action-build-chain#local-execution) details to get more information about it.
</details>
<details>
<summary>
How to retest this PR or trigger a specific build:
</summary>
- for <b>pull request checks</b>
Please add comment: <b>Jenkins retest this</b>
- for a <b>specific pull request check</b>
Please add comment: <b>Jenkins (re)run [kogito-apps|kogito-examples] tests</b>
- for <b>quarkus branch checks</b>
Run checks against Quarkus current used branch
Please add comment: <b>Jenkins run quarkus-branch</b>
- for a <b>quarkus branch specific check</b>
Run checks against Quarkus current used branch
Please add comment: <b>Jenkins (re)run [kogito-apps|kogito-examples] quarkus-branch</b>
- for <b>quarkus main checks</b>
Run checks against Quarkus main branch
Please add comment: <b>Jenkins run quarkus-main</b>
- for a <b>specific quarkus main check</b>
Run checks against Quarkus main branch
Please add comment: <b>Jenkins (re)run [kogito-apps|kogito-examples] quarkus-main</b>
- for <b>quarkus lts checks</b>
Run checks against Quarkus lts branch
Please add comment: <b>Jenkins run quarkus-lts</b>
- for a <b>specific quarkus lts check</b>
Run checks against Quarkus lts branch
Please add comment: <b>Jenkins (re)run [kogito-apps|kogito-examples] quarkus-lts</b>
- for <b>native checks</b>
Run native checks
Please add comment: <b>Jenkins run native</b>
- for a <b>specific native check</b>
Run native checks
Please add comment: <b>Jenkins (re)run [kogito-apps|kogito-examples] native</b>
- for <b>native lts checks</b>
Run native checks against quarkus lts branch
Please add comment: <b>Jenkins run native-lts</b>
- for a <b>specific native lts check</b>
Run native checks against quarkus lts branch
Please add comment: <b>Jenkins (re)run [kogito-apps|kogito-examples] native-lts</b>
</details>
<details>
<summary>
How to backport a pull request to a different branch?
</summary>
In order to automatically create a **backporting pull request** please add one or more labels having the following format `backport-<branch-name>`, where `<branch-name>` is the name of the branch where the pull request must be backported to (e.g., `backport-7.67.x` to backport the original PR to the `7.67.x` branch).
> **NOTE**: **backporting** is an action aiming to move a change (usually a commit) from a branch (usually the main one) to another one, which is generally referring to a still maintained release branch. Keeping it simple: it is about to move a specific change or a set of them from one branch to another.
Once the original pull request is successfully merged, the automated action will create one backporting pull request per each label (with the previous format) that has been added.
If something goes wrong, the author will be notified and at this point a manual backporting is needed.
> **NOTE**: this automated backporting is triggered whenever a pull request on `main` branch is labeled or closed, but both conditions must be satisfied to get the new PR created.
</details>
<details>
<summary>
Quarkus-3 PR check is failing ... what to do ?
</summary>
The Quarkus 3 check is applying patches from the `.ci/environments/quarkus-3/patches`.
The first patch, called `0001_before_sh.patch`, is generated from Openrewrite `.ci/environments/quarkus-3/quarkus3.yml` recipe. The patch is created to speed up the check. But it may be that some changes in the PR broke this patch.
No panic, there is an easy way to regenerate it. You just need to comment on the PR:
```
jenkins rewrite quarkus-3
```
and it should, after some minutes (~20/30min) apply a commit on the PR with the patch regenerated.
Other patches were generated manually. If any of it fails, you will need to manually update it... and push your changes.
</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] [KOGITO-9909] Fix concurrency on incoming data-index events adding lock and merge + fix for duplicate key on process definition indexing [incubator-kie-kogito-apps]
Posted by "elguardian (via GitHub)" <gi...@apache.org>.
elguardian commented on code in PR #1906:
URL: https://github.com/apache/incubator-kie-kogito-apps/pull/1906#discussion_r1390899232
##########
data-index/data-index-common/src/main/java/org/kie/kogito/index/service/IndexingService.java:
##########
@@ -69,6 +71,34 @@ public class IndexingService {
Instance<UserTaskInstanceEventMerger> userTaskInstanceMergers;
public void indexProcessInstanceEvent(ProcessInstanceDataEvent<?> event) {
+ //retry in case of rare but possible race condition during the insert for the first registry
+ ProcessInstance pi = executeWithRetry(event, this::handleProcessInstanceEvent, "indexing process instance");
+
+ ProcessDefinition definition = pi.getDefinition();
+
+ if (definition != null && !manager.getProcessDefinitionsCache().containsKey(definition.getKey())) {
+ //retry in case of rare but possible race condition during the insert for the first registry
+ executeWithRetry(definition, this::handleProcessDefinition, "indexing process definition");
Review Comment:
I would be more incline to create a new queue with the process definition an solve this problem by design instead of setting retry logic in here.
--
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] [KOGITO-9909] Fix concurrency on incoming data-index events adding lock and merge + fix for duplicate key on process definition indexing [incubator-kie-kogito-apps]
Posted by "tiagodolphine (via GitHub)" <gi...@apache.org>.
tiagodolphine commented on code in PR #1906:
URL: https://github.com/apache/incubator-kie-kogito-apps/pull/1906#discussion_r1390935004
##########
data-index/data-index-common/src/main/java/org/kie/kogito/index/service/IndexingService.java:
##########
@@ -69,6 +71,34 @@ public class IndexingService {
Instance<UserTaskInstanceEventMerger> userTaskInstanceMergers;
public void indexProcessInstanceEvent(ProcessInstanceDataEvent<?> event) {
+ //retry in case of rare but possible race condition during the insert for the first registry
+ ProcessInstance pi = executeWithRetry(event, this::handleProcessInstanceEvent, "indexing process instance");
+
+ ProcessDefinition definition = pi.getDefinition();
+
+ if (definition != null && !manager.getProcessDefinitionsCache().containsKey(definition.getKey())) {
+ //retry in case of rare but possible race condition during the insert for the first registry
+ executeWithRetry(definition, this::handleProcessDefinition, "indexing process definition");
Review Comment:
@elguardian 👍 to the use of a queue strategy, this was brought in some discussions, for example with kafka as a requirement we could rely on the partition+key to guarantee the consumption as a queue per process instance id, but with http+knative this is more difficult, we probably would need some control in DB for example, anyway, the goal of this PR is just to be a quick fix to unblock some use cases and to open a follow up PR after a design of a more elegant solution for such issue, and to TBH this might occur on other types of events not only the ones related to the process instance.
cc @wmedvede @fjtirado ˆ
##########
data-index/data-index-common/src/main/java/org/kie/kogito/index/service/IndexingService.java:
##########
@@ -69,6 +71,34 @@ public class IndexingService {
Instance<UserTaskInstanceEventMerger> userTaskInstanceMergers;
public void indexProcessInstanceEvent(ProcessInstanceDataEvent<?> event) {
+ //retry in case of rare but possible race condition during the insert for the first registry
+ ProcessInstance pi = executeWithRetry(event, this::handleProcessInstanceEvent, "indexing process instance");
+
+ ProcessDefinition definition = pi.getDefinition();
+
+ if (definition != null && !manager.getProcessDefinitionsCache().containsKey(definition.getKey())) {
+ //retry in case of rare but possible race condition during the insert for the first registry
+ executeWithRetry(definition, this::handleProcessDefinition, "indexing process definition");
Review Comment:
@elguardian 👍 to the use of a queue strategy, this was brought in some discussions, for example with kafka as a requirement we could rely on the partition+key to guarantee the consumption as a queue per process instance id, but with http+knative this is more difficult, we probably would need some control in DB for example, anyway, the goal of this PR is just to be a quick fix to unblock some use cases and to open a follow up PR after a design of a more elegant solution for such issue, and to TBH this might occur on other types of events not only the ones related to the process instance.
cc @wmedvede @fjtirado ˆ
--
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] [KOGITO-9909] Fix concurrency on incoming data-index events adding lock and merge + fix for duplicate key on process definition indexing [incubator-kie-kogito-apps]
Posted by "kie-ci3 (via GitHub)" <gi...@apache.org>.
kie-ci3 commented on PR #1906:
URL: https://github.com/apache/incubator-kie-kogito-apps/pull/1906#issuecomment-1802464341
**PR job** `#21` 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-apps -u https://github.com/apache/incubator-kie-kogito-apps/pull/1906 --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-apps-pr/job/PR-1906/21/display/redirect
**Test results:**
- PASSED: 1653
- FAILED: 18
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-apps-pr/job/PR-1906/21/testReport/org.kie.kogito.it.jobs/CallbackStateTimeoutsIT/PR_check___Build_projects___callbackStateTimeoutsExceeded/">PR check / Build projects / org.kie.kogito.it.jobs.CallbackStateTimeoutsIT.callbackStateTimeoutsExceeded</a></summary>
Assertion condition defined as a lambda expression in org.kie.kogito.test.utils.ProcessInstancesRESTTestUtils that uses java.lang.String, java.lang.Stringjava.lang.String 1 expectation failed.<br/>Expected status code <404> but was <200>.<br/> within 10 seconds.
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/21/testReport/org.kie.kogito.it.jobs/MultipleTimerInstancesIT/PR_check___Build_projects___boundaryTimerEvent/">PR check / Build projects / org.kie.kogito.it.jobs.MultipleTimerInstancesIT.boundaryTimerEvent</a></summary>
Assertion condition defined as a lambda expression in org.kie.kogito.test.utils.ProcessInstancesRESTTestUtils that uses java.lang.String, java.lang.Stringjava.lang.String 1 expectation failed.<br/>Expected status code <404> but was <200>.<br/> within 2 minutes.
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/21/testReport/org.kie.kogito.it.jobs/MultipleTimerInstancesIT/PR_check___Build_projects___timerEvent/">PR check / Build projects / org.kie.kogito.it.jobs.MultipleTimerInstancesIT.timerEvent</a></summary>
Assertion condition defined as a lambda expression in org.kie.kogito.test.utils.ProcessInstancesRESTTestUtils that uses java.lang.String, java.lang.Stringjava.lang.String 1 expectation failed.<br/>Expected status code <404> but was <200>.<br/> within 2 minutes.
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/21/testReport/org.kie.kogito.it.jobs/MultipleTimerInstancesIT/PR_check___Build_projects___eventStateTimeouts/">PR check / Build projects / org.kie.kogito.it.jobs.MultipleTimerInstancesIT.eventStateTimeouts</a></summary>
Assertion condition defined as a lambda expression in org.kie.kogito.test.utils.ProcessInstancesRESTTestUtils that uses java.lang.String, java.lang.Stringjava.lang.String 1 expectation failed.<br/>Expected status code <404> but was <200>.<br/> within 2 minutes.
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/21/testReport/org.kie.kogito.it.jobs/ProcessAsyncIT/PR_check___Build_projects___testAsync/">PR check / Build projects / org.kie.kogito.it.jobs.ProcessAsyncIT.testAsync</a></summary>
Assertion condition defined as a lambda expression in org.kie.kogito.it.jobs.BaseProcessAsyncIT 1 expectation failed.<br/>JSON path hello doesn't match.<br/>Expected: Hello Tiago<br/> Actual: null<br/> within 5 minutes.
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/21/testReport/org.kie.kogito.it.jobs/ProcessTimerIT/PR_check___Build_projects___testBoundaryTimersOnTask/">PR check / Build projects / org.kie.kogito.it.jobs.ProcessTimerIT.testBoundaryTimersOnTask</a></summary>
Assertion condition defined as a lambda expression in org.kie.kogito.it.jobs.BaseProcessTimerIT 1 expectation failed.<br/>Expected status code <404> but was <200>.<br/> within 10 seconds.
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/21/testReport/org.kie.kogito.it.jobs/ProcessTimerIT/PR_check___Build_projects___testTimerCycle/">PR check / Build projects / org.kie.kogito.it.jobs.ProcessTimerIT.testTimerCycle</a></summary>
Assertion condition defined as a lambda expression in org.kie.kogito.it.jobs.BaseProcessTimerIT 1 expectation failed.<br/>Expected status code <404> but was <200>.<br/> within 10 seconds.
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/21/testReport/org.kie.kogito.it.jobs/ProcessTimerIT/PR_check___Build_projects___testTimers/">PR check / Build projects / org.kie.kogito.it.jobs.ProcessTimerIT.testTimers</a></summary>
Assertion condition defined as a lambda expression in org.kie.kogito.it.jobs.BaseProcessTimerIT 1 expectation failed.<br/>Expected status code <404> but was <200>.<br/> within 10 seconds.
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/21/testReport/org.kie.kogito.it.jobs/SwitchStateTimeoutsIT/PR_check___Build_projects___switchStateEventConditionTimeoutsTransitionTimeoutsExceeded/">PR check / Build projects / org.kie.kogito.it.jobs.SwitchStateTimeoutsIT.switchStateEventConditionTimeoutsTransitionTimeoutsExceeded</a></summary>
Assertion condition defined as a lambda expression in org.kie.kogito.test.utils.ProcessInstancesRESTTestUtils that uses java.lang.String, java.lang.Stringjava.lang.String 1 expectation failed.<br/>Expected status code <404> but was <200>.<br/> within 3 minutes.
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/21/testReport/org.kie.kogito.it.jobs/WorkflowTimeoutsIT/PR_check___Build_projects___workflowTimeoutExceeded/">PR check / Build projects / org.kie.kogito.it.jobs.WorkflowTimeoutsIT.workflowTimeoutExceeded</a></summary>
Assertion condition defined as a lambda expression in org.kie.kogito.test.utils.ProcessInstancesRESTTestUtils that uses java.lang.String, java.lang.Stringjava.lang.String 1 expectation failed.<br/>Expected status code <404> but was <200>.<br/> within 3 minutes.
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/21/testReport/org.kie.kogito.index.service/InmemoryPostgreSqlIndexingServiceIT/testConcurrentProcessInstanceIndex/">org.kie.kogito.index.service.InmemoryPostgreSqlIndexingServiceIT.testConcurrentProcessInstanceIndex</a></summary>
javax.persistence.PessimisticLockException: could not obtain pessimistic lock
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/21/testReport/org.kie.kogito.index.service/OracleIndexingServiceIT/testConcurrentProcessInstanceIndex/">org.kie.kogito.index.service.OracleIndexingServiceIT.testConcurrentProcessInstanceIndex</a></summary>
javax.persistence.PersistenceException: org.hibernate.exception.ConstraintViolationException: could not execute statement
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/21/testReport/org.kie.kogito.index.service/PostgreSqlIndexingServiceIT/testConcurrentProcessInstanceIndex/">org.kie.kogito.index.service.PostgreSqlIndexingServiceIT.testConcurrentProcessInstanceIndex</a></summary>
javax.persistence.PessimisticLockException: could not obtain pessimistic lock
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/21/testReport/org.kie.kogito.index.oracle.query/UserTaskInstanceEntityQueryIT/testUserTaskInstanceQuery/">org.kie.kogito.index.oracle.query.UserTaskInstanceEntityQueryIT.testUserTaskInstanceQuery</a></summary>
org.hibernate.exception.ConstraintViolationException: could not execute statement
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/21/testReport/org.kie.kogito.index.oracle.storage/UserTaskInstanceStorageIT/testUserTaskInstanceEntity/">org.kie.kogito.index.oracle.storage.UserTaskInstanceStorageIT.testUserTaskInstanceEntity</a></summary>
<br/>expected: 0L<br/> but was: 2L
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/21/testReport/org.kie.kogito.index.postgresql.query/UserTaskInstanceEntityQueryIT/testUserTaskInstanceQuery/">org.kie.kogito.index.postgresql.query.UserTaskInstanceEntityQueryIT.testUserTaskInstanceQuery</a></summary>
org.hibernate.exception.ConstraintViolationException: could not execute statement
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/21/testReport/org.kie.kogito.index.postgresql.storage/ProcessInstanceStorageIT/testProcessInstanceEntity/">org.kie.kogito.index.postgresql.storage.ProcessInstanceStorageIT.testProcessInstanceEntity</a></summary>
<br/>Expecting value to be false but was true
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/21/testReport/org.kie.kogito.index.postgresql.storage/UserTaskInstanceStorageIT/testUserTaskInstanceEntity/">org.kie.kogito.index.postgresql.storage.UserTaskInstanceStorageIT.testUserTaskInstanceEntity</a></summary>
<br/>expected: 0L<br/> but was: 2L
</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] [KOGITO-9909] Fix concurrency on incoming data-index events adding lock and merge + fix for duplicate key on process definition indexing [incubator-kie-kogito-apps]
Posted by "elguardian (via GitHub)" <gi...@apache.org>.
elguardian commented on code in PR #1906:
URL: https://github.com/apache/incubator-kie-kogito-apps/pull/1906#discussion_r1386266499
##########
data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/storage/AbstractStorage.java:
##########
@@ -83,10 +87,19 @@ public V get(String key) {
}
@Override
- @Transactional
+ @Transactional(REQUIRES_NEW)
Review Comment:
this is going to cause problems as in-flight transactions will be suspended by tx manager. given that this is not nested tx this can go well and the parent fail at some point leaving inconsistencies in the data.
--
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] [KOGITO-9909] Fix concurrency on incoming data-index events adding lock and merge + fix for duplicate key on process definition indexing [incubator-kie-kogito-apps]
Posted by "kie-ci3 (via GitHub)" <gi...@apache.org>.
kie-ci3 commented on PR #1906:
URL: https://github.com/apache/incubator-kie-kogito-apps/pull/1906#issuecomment-1789674409
**PR job** `#11` 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-apps -u https://github.com/apache/incubator-kie-kogito-apps/pull/1906 --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-apps-pr/job/PR-1906/11/display/redirect
**Test results:**
- PASSED: 2768
- FAILED: 7
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-apps-pr/job/PR-1906/11/testReport/org.kie.kogito.index.inmemory/ProcessDataIndexInMemoryIT/testProcessInstanceEvents/">org.kie.kogito.index.inmemory.ProcessDataIndexInMemoryIT.testProcessInstanceEvents</a></summary>
Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.<br/>JSON path data.UserTaskInstances[0].comments.size() doesn't match.<br/>Expected: is <0><br/> Actual: <1><br/> within 30 seconds.
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/11/testReport/org.kie.kogito.index.oracle/ProcessDataIndexOracleHttpIT/testProcessInstanceEvents/">org.kie.kogito.index.oracle.ProcessDataIndexOracleHttpIT.testProcessInstanceEvents</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.index.test.quarkus.http.DataIndexOracleHttpQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/11/testReport/org.kie.kogito.index.oracle/ProcessDataIndexOracleKafkaIT/testProcessInstanceEvents/">org.kie.kogito.index.oracle.ProcessDataIndexOracleKafkaIT.testProcessInstanceEvents</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.index.test.quarkus.kafka.DataIndexOracleQuarkusKafkaTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/11/testReport/org.kie.kogito.index/ProcessDataIndexInfinispanIT/testProcessInstanceEvents/">org.kie.kogito.index.ProcessDataIndexInfinispanIT.testProcessInstanceEvents</a></summary>
1 expectation failed.<br/>JSON path errors doesn't match.<br/>Expected: null<br/> Actual: <[{message=Exception while fetching data (/UserTaskInstanceCommentUpdate) : Index 0 out of bounds for length 0, locations=[{line=1, column=12}], path=[UserTaskInstanceCommentUpdate], extensions={classification=DataFetchingException}}]><br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/11/testReport/org.kie.kogito.index/ProcessDataIndexMongoDBIT/testProcessInstanceEvents/">org.kie.kogito.index.ProcessDataIndexMongoDBIT.testProcessInstanceEvents</a></summary>
1 expectation failed.<br/>JSON path data.UserTaskInstances[0].potentialGroups[0] doesn't match.<br/>Expected: managers<br/> Actual: null<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/11/testReport/org.kie.kogito.index/ProcessDataIndexOracleIT/testProcessInstanceEvents/">org.kie.kogito.index.ProcessDataIndexOracleIT.testProcessInstanceEvents</a></summary>
Failed to load ApplicationContext
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/11/testReport/org.kie.kogito.index/ProcessDataIndexPostgreSqlIT/testProcessInstanceEvents/">org.kie.kogito.index.ProcessDataIndexPostgreSqlIT.testProcessInstanceEvents</a></summary>
Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.<br/>JSON path data.UserTaskInstances[0].comments.size() doesn't match.<br/>Expected: is <0><br/> Actual: <1><br/> within 30 seconds.
</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] [KOGITO-9909] Fix concurrency on incoming data-index events adding lock and merge + fix for duplicate key on process definition indexing [incubator-kie-kogito-apps]
Posted by "tiagodolphine (via GitHub)" <gi...@apache.org>.
tiagodolphine merged PR #1906:
URL: https://github.com/apache/incubator-kie-kogito-apps/pull/1906
--
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] [KOGITO-9909] Fix concurrency on incoming data-index events adding lock and merge + fix for duplicate key on process definition indexing [incubator-kie-kogito-apps]
Posted by "kie-ci3 (via GitHub)" <gi...@apache.org>.
kie-ci3 commented on PR #1906:
URL: https://github.com/apache/incubator-kie-kogito-apps/pull/1906#issuecomment-1804007766
**PR job** `#23` 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-apps -u https://github.com/apache/incubator-kie-kogito-apps/pull/1906 --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-apps-pr/job/PR-1906/23/display/redirect
**Test results:**
- PASSED: 2821
- FAILED: 6
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-apps-pr/job/PR-1906/23/testReport/org.kie.kogito.index/ProcessDataIndexOracleIT/testProcessInstanceEvents/">org.kie.kogito.index.ProcessDataIndexOracleIT.testProcessInstanceEvents</a></summary>
Failed to load ApplicationContext
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/23/testReport/org.kie.kogito.index.oracle.query/UserTaskInstanceEntityQueryIT/testUserTaskInstanceQuery/">org.kie.kogito.index.oracle.query.UserTaskInstanceEntityQueryIT.testUserTaskInstanceQuery</a></summary>
org.hibernate.exception.ConstraintViolationException: could not execute statement
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/23/testReport/org.kie.kogito.index.oracle.storage/UserTaskInstanceStorageIT/testUserTaskInstanceEntity/">org.kie.kogito.index.oracle.storage.UserTaskInstanceStorageIT.testUserTaskInstanceEntity</a></summary>
<br/>expected: 0L<br/> but was: 2L
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/23/testReport/org.kie.kogito.index.postgresql.query/UserTaskInstanceEntityQueryIT/testUserTaskInstanceQuery/">org.kie.kogito.index.postgresql.query.UserTaskInstanceEntityQueryIT.testUserTaskInstanceQuery</a></summary>
org.hibernate.exception.ConstraintViolationException: could not execute statement
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/23/testReport/org.kie.kogito.index.postgresql.storage/ProcessInstanceStorageIT/testProcessInstanceEntity/">org.kie.kogito.index.postgresql.storage.ProcessInstanceStorageIT.testProcessInstanceEntity</a></summary>
<br/>Expecting value to be false but was true
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/23/testReport/org.kie.kogito.index.postgresql.storage/UserTaskInstanceStorageIT/testUserTaskInstanceEntity/">org.kie.kogito.index.postgresql.storage.UserTaskInstanceStorageIT.testUserTaskInstanceEntity</a></summary>
<br/>expected: 0L<br/> but was: 2L
</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] [KOGITO-9909] Fix concurrency on incoming data-index events adding lock and merge + fix for duplicate key on process definition indexing [incubator-kie-kogito-apps]
Posted by "kie-ci3 (via GitHub)" <gi...@apache.org>.
kie-ci3 commented on PR #1906:
URL: https://github.com/apache/incubator-kie-kogito-apps/pull/1906#issuecomment-1809476003
**PR job** `#30` 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-apps -u https://github.com/apache/incubator-kie-kogito-apps/pull/1906 --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-apps-pr/job/PR-1906/30/display/redirect
**Test results:**
- PASSED: 2820
- FAILED: 3
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-apps-pr/job/PR-1906/30/testReport/org.kie.kogito.index.oracle/ProcessDataIndexOracleHttpIT/testProcessInstanceEvents/">org.kie.kogito.index.oracle.ProcessDataIndexOracleHttpIT.testProcessInstanceEvents</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.index.test.quarkus.http.DataIndexOracleHttpQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/30/testReport/org.kie.kogito.index.oracle/ProcessDataIndexOracleKafkaIT/testProcessInstanceEvents/">org.kie.kogito.index.oracle.ProcessDataIndexOracleKafkaIT.testProcessInstanceEvents</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.index.test.quarkus.kafka.DataIndexOracleQuarkusKafkaTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/30/testReport/org.kie.kogito.index/ProcessDataIndexOracleIT/testProcessInstanceEvents/">org.kie.kogito.index.ProcessDataIndexOracleIT.testProcessInstanceEvents</a></summary>
Failed to load ApplicationContext
</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] [KOGITO-9909] Fix concurrency on incoming data-index events adding lock and merge + fix for duplicate key on process definition indexing [incubator-kie-kogito-apps]
Posted by "fjtirado (via GitHub)" <gi...@apache.org>.
fjtirado commented on code in PR #1906:
URL: https://github.com/apache/incubator-kie-kogito-apps/pull/1906#discussion_r1395632486
##########
data-index/data-index-common/src/main/java/org/kie/kogito/index/service/IndexingService.java:
##########
@@ -69,6 +71,34 @@ public class IndexingService {
Instance<UserTaskInstanceEventMerger> userTaskInstanceMergers;
public void indexProcessInstanceEvent(ProcessInstanceDataEvent<?> event) {
+ //retry in case of rare but possible race condition during the insert for the first registry
+ ProcessInstance pi = executeWithRetry(event, this::handleProcessInstanceEvent, "indexing process instance");
+
+ ProcessDefinition definition = pi.getDefinition();
+
+ if (definition != null && !manager.getProcessDefinitionsCache().containsKey(definition.getKey())) {
+ //retry in case of rare but possible race condition during the insert for the first registry
+ executeWithRetry(definition, this::handleProcessDefinition, "indexing process definition");
+ LOGGER.debug("Stored Process Definition: {}", definition);
+ }
+ }
+
+ private ProcessDefinition handleProcessDefinition(ProcessDefinition definition) {
+ return manager.getProcessDefinitionsCache().put(definition.getKey(), definition);
+ }
+
+ private <R, T> R executeWithRetry(T input, Function<T, R> toExecute, String logMessage) {
+ R response;
+ try {
+ response = toExecute.apply(input);
+ } catch (ConcurrentModificationException e) {
+ LOGGER.warn("Retrying {} for {} {}", logMessage, input, e.getMessage());
+ response = toExecute.apply(input);
Review Comment:
Should not we add a configurable dealy here (and a limit for retries)?
That way, a user can disable retry if he want (but setting limit to 0)
--
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] [KOGITO-9909] Fix concurrency on incoming data-index events adding lock and merge + fix for duplicate key on process definition indexing [incubator-kie-kogito-apps]
Posted by "fjtirado (via GitHub)" <gi...@apache.org>.
fjtirado commented on code in PR #1906:
URL: https://github.com/apache/incubator-kie-kogito-apps/pull/1906#discussion_r1379839239
##########
data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/storage/AbstractStorage.java:
##########
@@ -84,10 +88,19 @@ public V get(String key) {
}
@Override
- @Transactional
+ @Transactional(REQUIRES_NEW)
public V put(String key, V value) {
- repository.deleteById(key);
- repository.persist(mapToEntity.apply(value));
+ E persistedEntity = repository.findById(key, LockModeType.PESSIMISTIC_WRITE);
Review Comment:
As discussed, I would add a comment here explaining why we are not using just merge.
Reason being that we want to use pessimistic locking just for the update operation
--
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] [KOGITO-9909] Fix concurrency on incoming data-index events adding lock and merge + fix for duplicate key on process definition indexing [incubator-kie-kogito-apps]
Posted by "kie-ci3 (via GitHub)" <gi...@apache.org>.
kie-ci3 commented on PR #1906:
URL: https://github.com/apache/incubator-kie-kogito-apps/pull/1906#issuecomment-1800114503
**PR job** `#18` 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-apps -u https://github.com/apache/incubator-kie-kogito-apps/pull/1906 --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-apps-pr/job/PR-1906/18/display/redirect
**Test results:**
- PASSED: 2688
- FAILED: 9
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-apps-pr/job/PR-1906/18/testReport/org.kie.kogito.index.inmemory/ProcessDataIndexInMemoryIT/testProcessInstanceEvents/">org.kie.kogito.index.inmemory.ProcessDataIndexInMemoryIT.testProcessInstanceEvents</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.index.test.quarkus.DataIndexInMemoryQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/18/testReport/org.kie.kogito.index.oracle/ProcessDataIndexOracleHttpIT/testProcessInstanceEvents/">org.kie.kogito.index.oracle.ProcessDataIndexOracleHttpIT.testProcessInstanceEvents</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.index.test.quarkus.http.DataIndexOracleHttpQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/18/testReport/org.kie.kogito.index.oracle/ProcessDataIndexOracleKafkaIT/testProcessInstanceEvents/">org.kie.kogito.index.oracle.ProcessDataIndexOracleKafkaIT.testProcessInstanceEvents</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.index.test.quarkus.kafka.DataIndexOracleQuarkusKafkaTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/18/testReport/org.kie.kogito.index.postgresql/ProcessDataIndexPostgreSqlHttpIT/testProcessInstanceEvents/">org.kie.kogito.index.postgresql.ProcessDataIndexPostgreSqlHttpIT.testProcessInstanceEvents</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.index.test.quarkus.http.DataIndexPostgreSqlHttpQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/18/testReport/org.kie.kogito.index.postgresql/ProcessDataIndexPostgreSqlKafkaIT/testProcessInstanceEvents/">org.kie.kogito.index.postgresql.ProcessDataIndexPostgreSqlKafkaIT.testProcessInstanceEvents</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.index.test.quarkus.kafka.DataIndexPostgreSqlQuarkusKafkaTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/18/testReport/org.kie.kogito.index/ProcessDataIndexOracleIT/testProcessInstanceEvents/">org.kie.kogito.index.ProcessDataIndexOracleIT.testProcessInstanceEvents</a></summary>
Failed to load ApplicationContext
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/18/testReport/org.kie.kogito.index/ProcessDataIndexPostgreSqlIT/testProcessInstanceEvents/">org.kie.kogito.index.ProcessDataIndexPostgreSqlIT.testProcessInstanceEvents</a></summary>
Failed to load ApplicationContext
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/18/testReport/org.kie.kogito.it.jobs/ProcessTimerIT/PR_check___Build_projects___testDeleteTimerCycle/">PR check / Build projects / org.kie.kogito.it.jobs.ProcessTimerIT.testDeleteTimerCycle</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.JobServiceCompositeQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/18/testReport/org.kie.kogito.trusty.service.common/KeycloakTrustyServiceIT/___/">org.kie.kogito.trusty.service.common.KeycloakTrustyServiceIT.(?)</a></summary>
java.lang.reflect.InvocationTargetException
</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] [KOGITO-9909] Fix concurrency on incoming data-index events adding lock and merge + fix for duplicate key on process definition indexing [incubator-kie-kogito-apps]
Posted by "elguardian (via GitHub)" <gi...@apache.org>.
elguardian commented on code in PR #1906:
URL: https://github.com/apache/incubator-kie-kogito-apps/pull/1906#discussion_r1386267769
##########
data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/storage/AbstractStorage.java:
##########
@@ -84,10 +88,19 @@ public V get(String key) {
}
@Override
- @Transactional
+ @Transactional(REQUIRES_NEW)
Review Comment:
As per comment above. this is not really a good idea. This will create inconsistency in the data.
--
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] [KOGITO-9909] Fix concurrency on incoming data-index events adding lock and merge + fix for duplicate key on process definition indexing [incubator-kie-kogito-apps]
Posted by "kie-ci3 (via GitHub)" <gi...@apache.org>.
kie-ci3 commented on PR #1906:
URL: https://github.com/apache/incubator-kie-kogito-apps/pull/1906#issuecomment-1788201127
**PR job** `#8` 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-apps -u https://github.com/apache/incubator-kie-kogito-apps/pull/1906 --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-apps-pr/job/PR-1906/8/display/redirect
**Test results:**
- PASSED: 2817
- 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-apps-pr/job/PR-1906/8/testReport/org.kie.kogito.index.inmemory/ProcessDataIndexInMemoryIT/testProcessInstanceEvents/">org.kie.kogito.index.inmemory.ProcessDataIndexInMemoryIT.testProcessInstanceEvents</a></summary>
Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.<br/>JSON path data.UserTaskInstances[0].comments.size() doesn't match.<br/>Expected: is <0><br/> Actual: <1><br/> within 30 seconds.
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/8/testReport/org.kie.kogito.index.oracle/ProcessDataIndexOracleHttpIT/testProcessInstanceEvents/">org.kie.kogito.index.oracle.ProcessDataIndexOracleHttpIT.testProcessInstanceEvents</a></summary>
Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.<br/>JSON path data.ProcessDefinitions.size() doesn't match.<br/>Expected: is <1><br/> Actual: <0><br/> within 30 seconds.
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/8/testReport/org.kie.kogito.index.oracle/ProcessDataIndexOracleKafkaIT/testProcessInstanceEvents/">org.kie.kogito.index.oracle.ProcessDataIndexOracleKafkaIT.testProcessInstanceEvents</a></summary>
Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.<br/>JSON path data.ProcessDefinitions.size() doesn't match.<br/>Expected: is <1><br/> Actual: <0><br/> within 30 seconds.
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/8/testReport/org.kie.kogito.index.postgresql/ProcessDataIndexPostgreSqlHttpIT/testProcessInstanceEvents/">org.kie.kogito.index.postgresql.ProcessDataIndexPostgreSqlHttpIT.testProcessInstanceEvents</a></summary>
Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.<br/>JSON path data.UserTaskInstances[0].comments.size() doesn't match.<br/>Expected: is <0><br/> Actual: <1><br/> within 30 seconds.
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/8/testReport/org.kie.kogito.index.postgresql/ProcessDataIndexPostgreSqlKafkaIT/testProcessInstanceEvents/">org.kie.kogito.index.postgresql.ProcessDataIndexPostgreSqlKafkaIT.testProcessInstanceEvents</a></summary>
Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.<br/>JSON path data.UserTaskInstances[0].comments.size() doesn't match.<br/>Expected: is <0><br/> Actual: <1><br/> within 30 seconds.
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/8/testReport/org.kie.kogito.index/ProcessDataIndexOracleIT/testProcessInstanceEvents/">org.kie.kogito.index.ProcessDataIndexOracleIT.testProcessInstanceEvents</a></summary>
Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.<br/>JSON path data.ProcessDefinitions.size() doesn't match.<br/>Expected: is <1><br/> Actual: <0><br/> within 30 seconds.
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/8/testReport/org.kie.kogito.index/ProcessDataIndexPostgreSqlIT/testProcessInstanceEvents/">org.kie.kogito.index.ProcessDataIndexPostgreSqlIT.testProcessInstanceEvents</a></summary>
Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.<br/>JSON path data.UserTaskInstances[0].comments.size() doesn't match.<br/>Expected: is <0><br/> Actual: <1><br/> within 30 seconds.
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/8/testReport/org.kie.kogito.index.service/OracleIndexingServiceIT/testConcurrentProcessInstanceIndex/">org.kie.kogito.index.service.OracleIndexingServiceIT.testConcurrentProcessInstanceIndex</a></summary>
javax.enterprise.context.ContextNotActiveException: Cannot use the EntityManager/Session because neither a transaction nor a CDI request context is active. Consider adding @Transactional to your method to automatically activate a transaction, or @ActivateRequestContext if you have valid reasons not to use transactions.
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/8/testReport/org.kie.kogito.index.service/OracleIndexingServiceIT/testProcessInstanceIndex/">org.kie.kogito.index.service.OracleIndexingServiceIT.testProcessInstanceIndex</a></summary>
Assertion condition defined as a lambda expression in org.kie.kogito.index.service.AbstractIndexingServiceIT that uses java.lang.String, java.lang.Stringorg.kie.kogito.event.process.ProcessInstanceStateDataEvent 1 expectation failed.<br/>JSON path data.ProcessDefinitions[0].id doesn't match.<br/>Expected: is "travels"<br/> Actual: null<br/> within 30 seconds.
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/8/testReport/org.kie.kogito.index.oracle.query/ProcessDefinitionEntityQueryIT/testProcessDefinitionQuery/">org.kie.kogito.index.oracle.query.ProcessDefinitionEntityQueryIT.testProcessDefinitionQuery</a></summary>
Provided id of the wrong type for class org.kie.kogito.index.oracle.model.ProcessDefinitionEntity. Expected: class org.kie.kogito.index.oracle.model.ProcessDefinitionEntityId, got class java.lang.String
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/8/testReport/org.kie.kogito.index.oracle.storage/ProcessDefinitionStorageIT/testProcessInstanceEntity/">org.kie.kogito.index.oracle.storage.ProcessDefinitionStorageIT.testProcessInstanceEntity</a></summary>
Provided id of the wrong type for class org.kie.kogito.index.oracle.model.ProcessDefinitionEntity. Expected: class org.kie.kogito.index.oracle.model.ProcessDefinitionEntityId, got class java.lang.String
</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] [KOGITO-9909] Fix concurrency on incoming data-index events adding lock and merge + fix for duplicate key on process definition indexing [incubator-kie-kogito-apps]
Posted by "wmedvede (via GitHub)" <gi...@apache.org>.
wmedvede commented on code in PR #1906:
URL: https://github.com/apache/incubator-kie-kogito-apps/pull/1906#discussion_r1377429276
##########
data-index/data-index-common/src/main/java/org/kie/kogito/index/service/IndexingService.java:
##########
@@ -69,6 +71,34 @@ public class IndexingService {
Instance<UserTaskInstanceEventMerger> userTaskInstanceMergers;
public void indexProcessInstanceEvent(ProcessInstanceDataEvent<?> event) {
+ //retry in case of rare but possible race condition during the insert for the first registry
+ ProcessInstance pi = executeWithRetry(event, this::handleProcessInstanceEvent, "indexing process instance");
+
+ ProcessDefinition definition = pi.getDefinition();
+
+ if (definition != null && !manager.getProcessDefinitionsCache().containsKey(definition.getKey())) {
+ //retry in case of rare but possible race condition during the insert for the first registry
+ executeWithRetry(definition, this::handleProcessDefinition, "indexing process definition");
Review Comment:
Hi Tiago, not sure if this is related with what we chatted Yesterday, but in which case do we need this "executeWithRetry" ?
--
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] [KOGITO-9909] Fix concurrency on incoming data-index events adding lock and merge + fix for duplicate key on process definition indexing [incubator-kie-kogito-apps]
Posted by "tiagodolphine (via GitHub)" <gi...@apache.org>.
tiagodolphine commented on code in PR #1906:
URL: https://github.com/apache/incubator-kie-kogito-apps/pull/1906#discussion_r1395637144
##########
data-index/data-index-common/src/main/java/org/kie/kogito/index/service/IndexingService.java:
##########
@@ -69,6 +71,34 @@ public class IndexingService {
Instance<UserTaskInstanceEventMerger> userTaskInstanceMergers;
public void indexProcessInstanceEvent(ProcessInstanceDataEvent<?> event) {
+ //retry in case of rare but possible race condition during the insert for the first registry
+ ProcessInstance pi = executeWithRetry(event, this::handleProcessInstanceEvent, "indexing process instance");
+
+ ProcessDefinition definition = pi.getDefinition();
+
+ if (definition != null && !manager.getProcessDefinitionsCache().containsKey(definition.getKey())) {
+ //retry in case of rare but possible race condition during the insert for the first registry
+ executeWithRetry(definition, this::handleProcessDefinition, "indexing process definition");
+ LOGGER.debug("Stored Process Definition: {}", definition);
+ }
+ }
+
+ private ProcessDefinition handleProcessDefinition(ProcessDefinition definition) {
+ return manager.getProcessDefinitionsCache().put(definition.getKey(), definition);
+ }
+
+ private <R, T> R executeWithRetry(T input, Function<T, R> toExecute, String logMessage) {
+ R response;
+ try {
+ response = toExecute.apply(input);
+ } catch (ConcurrentModificationException e) {
+ LOGGER.warn("Retrying {} for {} {}", logMessage, input, e.getMessage());
+ response = toExecute.apply(input);
Review Comment:
see that with the current impl it is very simple just retrying once and no delay, we can add that, but it would be better as I mentioned in the other comment to use `smallrye-fault-tolerance`.
--
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] [KOGITO-9909] Fix concurrency on incoming data-index events adding lock and merge + fix for duplicate key on process definition indexing [incubator-kie-kogito-apps]
Posted by "kie-ci3 (via GitHub)" <gi...@apache.org>.
kie-ci3 commented on PR #1906:
URL: https://github.com/apache/incubator-kie-kogito-apps/pull/1906#issuecomment-1817660922
**PR job** `#39` 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-apps -u https://github.com/apache/incubator-kie-kogito-apps/pull/1906 --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-apps-pr/job/PR-1906/39/display/redirect
**Test results:**
- PASSED: 2510
- FAILED: 7
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-apps-pr/job/PR-1906/39/testReport/org.kie.kogito.it.jobs/ProcessTimerIT/PR_check___Build_projects___testDeleteTimerCycle/">PR check / Build projects / org.kie.kogito.it.jobs.ProcessTimerIT.testDeleteTimerCycle</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.JobServiceCompositeQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/39/testReport/org.kie.kogito.addons.quarkus.data.index.it/InfinispanQuarkusAddonDataIndexPersistenceIT/PR_check___Build_projects___testDataIndexAddon/">PR check / Build projects / org.kie.kogito.addons.quarkus.data.index.it.InfinispanQuarkusAddonDataIndexPersistenceIT.testDataIndexAddon</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.index.test.quarkus.http.DataIndexInfinispanHttpQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/39/testReport/org.kie.kogito.addons.quarkus.data.index.it/InfinispanQuarkusAddonDataIndexPersistenceIT/PR_check___Build_projects___testDataIndexAddon/">PR check / Build projects / org.kie.kogito.addons.quarkus.data.index.it.InfinispanQuarkusAddonDataIndexPersistenceIT.testDataIndexAddon</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.index.test.quarkus.http.DataIndexInfinispanHttpQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/39/testReport/org.kie.kogito.addons.quarkus.data.index.it/MongoQuarkusAddonDataIndexPersistenceIT/PR_check___Build_projects___testDataIndexAddon/">PR check / Build projects / org.kie.kogito.addons.quarkus.data.index.it.MongoQuarkusAddonDataIndexPersistenceIT.testDataIndexAddon</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.index.test.quarkus.http.DataIndexMongoDBHttpQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/39/testReport/org.kie.kogito.addons.quarkus.data.index.it/MongoQuarkusAddonDataIndexPersistenceIT/PR_check___Build_projects___testDataIndexAddon/">PR check / Build projects / org.kie.kogito.addons.quarkus.data.index.it.MongoQuarkusAddonDataIndexPersistenceIT.testDataIndexAddon</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.index.test.quarkus.http.DataIndexMongoDBHttpQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/39/testReport/org.kie.kogito.addons.quarkus.data.index.it/PostgreSQLQuarkusAddonDataIndexPersistenceIT/PR_check___Build_projects___testDataIndexAddon/">PR check / Build projects / org.kie.kogito.addons.quarkus.data.index.it.PostgreSQLQuarkusAddonDataIndexPersistenceIT.testDataIndexAddon</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.index.test.quarkus.http.DataIndexPostgreSqlHttpQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/39/testReport/org.kie.kogito.addons.quarkus.data.index.it/PostgreSQLQuarkusAddonDataIndexPersistenceIT/PR_check___Build_projects___testDataIndexAddon/">PR check / Build projects / org.kie.kogito.addons.quarkus.data.index.it.PostgreSQLQuarkusAddonDataIndexPersistenceIT.testDataIndexAddon</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.index.test.quarkus.http.DataIndexPostgreSqlHttpQuarkusTestResource
</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] [KOGITO-9909] Fix concurrency on incoming data-index events adding lock and merge + fix for duplicate key on process definition indexing [incubator-kie-kogito-apps]
Posted by "kie-ci3 (via GitHub)" <gi...@apache.org>.
kie-ci3 commented on PR #1906:
URL: https://github.com/apache/incubator-kie-kogito-apps/pull/1906#issuecomment-1804831644
**PR job** `#24` 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-apps -u https://github.com/apache/incubator-kie-kogito-apps/pull/1906 --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-apps-pr/job/PR-1906/24/display/redirect
**Test results:**
- PASSED: 2810
- FAILED: 1
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-apps-pr/job/PR-1906/24/testReport/org.kie.kogito.jitexecutor.dmn/OneOfEachTypeTest/allTypes/">org.kie.kogito.jitexecutor.dmn.OneOfEachTypeTest.allTypes</a></summary>
java.lang.RuntimeException: Failed to start quarkus
</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] [KOGITO-9909] Fix concurrency on incoming data-index events adding lock and merge + fix for duplicate key on process definition indexing [incubator-kie-kogito-apps]
Posted by "tiagodolphine (via GitHub)" <gi...@apache.org>.
tiagodolphine commented on code in PR #1906:
URL: https://github.com/apache/incubator-kie-kogito-apps/pull/1906#discussion_r1377689947
##########
data-index/data-index-common/src/main/java/org/kie/kogito/index/service/IndexingService.java:
##########
@@ -69,6 +71,34 @@ public class IndexingService {
Instance<UserTaskInstanceEventMerger> userTaskInstanceMergers;
public void indexProcessInstanceEvent(ProcessInstanceDataEvent<?> event) {
+ //retry in case of rare but possible race condition during the insert for the first registry
+ ProcessInstance pi = executeWithRetry(event, this::handleProcessInstanceEvent, "indexing process instance");
+
+ ProcessDefinition definition = pi.getDefinition();
+
+ if (definition != null && !manager.getProcessDefinitionsCache().containsKey(definition.getKey())) {
+ //retry in case of rare but possible race condition during the insert for the first registry
+ executeWithRetry(definition, this::handleProcessDefinition, "indexing process definition");
Review Comment:
the retry is basically to overcome possible issue during the insert, where it is not possible to use the lock since the registry is not yet persisted, so in this situation the retry might solve the issue, for the concurrency in update we can use the lock at row level.
--
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] [KOGITO-9909] Fix concurrency on incoming data-index events adding lock and merge + fix for duplicate key on process definition indexing [incubator-kie-kogito-apps]
Posted by "tiagodolphine (via GitHub)" <gi...@apache.org>.
tiagodolphine commented on PR #1906:
URL: https://github.com/apache/incubator-kie-kogito-apps/pull/1906#issuecomment-1805805628
PR was updated with some refactoring based on the comments and configuration to run the tests/integration tests, please can you take another round of review?
Thanks.
--
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] [KOGITO-9909] Fix concurrency on incoming data-index events adding lock and merge + fix for duplicate key on process definition indexing [incubator-kie-kogito-apps]
Posted by "tiagodolphine (via GitHub)" <gi...@apache.org>.
tiagodolphine commented on PR #1906:
URL: https://github.com/apache/incubator-kie-kogito-apps/pull/1906#issuecomment-1813254034
Ok, finally green CI, anything else? otherwise I'll proceed with the merge.
Thanks.
--
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] [KOGITO-9909] Fix concurrency on incoming data-index events adding lock and merge + fix for duplicate key on process definition indexing [incubator-kie-kogito-apps]
Posted by "tiagodolphine (via GitHub)" <gi...@apache.org>.
tiagodolphine commented on code in PR #1906:
URL: https://github.com/apache/incubator-kie-kogito-apps/pull/1906#discussion_r1377690541
##########
data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/storage/AbstractStorage.java:
##########
@@ -83,10 +87,19 @@ public V get(String key) {
}
@Override
- @Transactional
+ @Transactional(REQUIRES_NEW)
Review Comment:
yes, I need to replicate the changes to Oracle
--
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] [KOGITO-9909] Fix concurrency on incoming data-index events adding lock and merge + fix for duplicate key on process definition indexing [incubator-kie-kogito-apps]
Posted by "tiagodolphine (via GitHub)" <gi...@apache.org>.
tiagodolphine commented on code in PR #1906:
URL: https://github.com/apache/incubator-kie-kogito-apps/pull/1906#discussion_r1389432407
##########
data-index/data-index-common/src/main/java/org/kie/kogito/index/service/IndexingService.java:
##########
@@ -69,6 +71,34 @@ public class IndexingService {
Instance<UserTaskInstanceEventMerger> userTaskInstanceMergers;
public void indexProcessInstanceEvent(ProcessInstanceDataEvent<?> event) {
+ //retry in case of rare but possible race condition during the insert for the first registry
+ ProcessInstance pi = executeWithRetry(event, this::handleProcessInstanceEvent, "indexing process instance");
+
+ ProcessDefinition definition = pi.getDefinition();
+
+ if (definition != null && !manager.getProcessDefinitionsCache().containsKey(definition.getKey())) {
+ //retry in case of rare but possible race condition during the insert for the first registry
+ executeWithRetry(definition, this::handleProcessDefinition, "indexing process definition");
Review Comment:
this is not a particular problem for MongoDB, this is a general problem related to concurrency to insert/update the a registry with the same identifier/primary key, and it was realized with PostgreSQL at first.
One option is to use `smallrye-fault-tolerance` where we have more control for the retry policy and make the code cleaner, this would avoid introducing the retry method but introduce a new dependency.
--
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] [KOGITO-9909] Fix concurrency on incoming data-index events adding lock and merge + fix for duplicate key on process definition indexing [incubator-kie-kogito-apps]
Posted by "tiagodolphine (via GitHub)" <gi...@apache.org>.
tiagodolphine commented on code in PR #1906:
URL: https://github.com/apache/incubator-kie-kogito-apps/pull/1906#discussion_r1389442094
##########
data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/storage/ProcessDefinitionEntityStorage.java:
##########
@@ -68,6 +69,11 @@ public Optional<ProcessDefinitionEntity> findByIdOptional(String key) {
return repository.findByIdOptional(new ProcessDefinitionEntityId(key));
}
+ @Override
+ public ProcessDefinitionEntity findById(String s, LockModeType lockModeType) {
Review Comment:
done
--
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] [KOGITO-9909] Fix concurrency on incoming data-index events adding lock and merge + fix for duplicate key on process definition indexing [incubator-kie-kogito-apps]
Posted by "elguardian (via GitHub)" <gi...@apache.org>.
elguardian commented on code in PR #1906:
URL: https://github.com/apache/incubator-kie-kogito-apps/pull/1906#discussion_r1395311241
##########
data-index/data-index-common/src/main/java/org/kie/kogito/index/service/IndexingService.java:
##########
@@ -69,6 +71,34 @@ public class IndexingService {
Instance<UserTaskInstanceEventMerger> userTaskInstanceMergers;
public void indexProcessInstanceEvent(ProcessInstanceDataEvent<?> event) {
+ //retry in case of rare but possible race condition during the insert for the first registry
+ ProcessInstance pi = executeWithRetry(event, this::handleProcessInstanceEvent, "indexing process instance");
+
+ ProcessDefinition definition = pi.getDefinition();
+
+ if (definition != null && !manager.getProcessDefinitionsCache().containsKey(definition.getKey())) {
+ //retry in case of rare but possible race condition during the insert for the first registry
+ executeWithRetry(definition, this::handleProcessDefinition, "indexing process definition");
Review Comment:
I don't think we need such complexity for normal scenarios but yeah, different strategies can be supported. If you send all events through queue all store operations are serialize so in most general case scenario we should be good. Worst scenario some operations will fail in complex setups if we don't setup properly the id. For instance in database you can ensure that an operation in database cannot fail atomically with the standard MERGE SQL. And hibernate can ensure definining properly the id.
--
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] [KOGITO-9909] Fix concurrency on incoming data-index events adding lock and merge + fix for duplicate key on process definition indexing [incubator-kie-kogito-apps]
Posted by "kie-ci3 (via GitHub)" <gi...@apache.org>.
kie-ci3 commented on PR #1906:
URL: https://github.com/apache/incubator-kie-kogito-apps/pull/1906#issuecomment-1811647789
**PR job** `#34` 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-apps -u https://github.com/apache/incubator-kie-kogito-apps/pull/1906 --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-apps-pr/job/PR-1906/34/display/redirect
**Test results:**
- PASSED: 2259
- FAILED: 57
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-apps-pr/job/PR-1906/34/testReport/org.kie.kogito.index.infinispan/ProcessDataIndexInfinispanHttpIT/testProcessInstanceEvents/">org.kie.kogito.index.infinispan.ProcessDataIndexInfinispanHttpIT.testProcessInstanceEvents</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.index.test.quarkus.http.DataIndexInfinispanHttpQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/34/testReport/org.kie.kogito.index.infinispan/ProcessDataIndexInfinispanKafkaIT/testProcessInstanceEvents/">org.kie.kogito.index.infinispan.ProcessDataIndexInfinispanKafkaIT.testProcessInstanceEvents</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.index.test.quarkus.kafka.DataIndexInfinispanQuarkusKafkaTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/34/testReport/org.kie.kogito.index.inmemory/ProcessDataIndexInMemoryIT/testProcessInstanceEvents/">org.kie.kogito.index.inmemory.ProcessDataIndexInMemoryIT.testProcessInstanceEvents</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.index.test.quarkus.DataIndexInMemoryQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/34/testReport/org.kie.kogito.index.mongodb/ProcessDataIndexMongoDBHttpIT/testProcessInstanceEvents/">org.kie.kogito.index.mongodb.ProcessDataIndexMongoDBHttpIT.testProcessInstanceEvents</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.index.test.quarkus.http.DataIndexMongoDBHttpQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/34/testReport/org.kie.kogito.index.mongodb/ProcessDataIndexMongoDBKafkaIT/testProcessInstanceEvents/">org.kie.kogito.index.mongodb.ProcessDataIndexMongoDBKafkaIT.testProcessInstanceEvents</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.index.test.quarkus.kafka.DataIndexMongoDBQuarkusKafkaTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/34/testReport/org.kie.kogito.index.oracle/ProcessDataIndexOracleHttpIT/testProcessInstanceEvents/">org.kie.kogito.index.oracle.ProcessDataIndexOracleHttpIT.testProcessInstanceEvents</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.index.test.quarkus.http.DataIndexOracleHttpQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/34/testReport/org.kie.kogito.index.oracle/ProcessDataIndexOracleKafkaIT/testProcessInstanceEvents/">org.kie.kogito.index.oracle.ProcessDataIndexOracleKafkaIT.testProcessInstanceEvents</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.index.test.quarkus.kafka.DataIndexOracleQuarkusKafkaTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/34/testReport/org.kie.kogito.index.postgresql/ProcessDataIndexPostgreSqlHttpIT/testProcessInstanceEvents/">org.kie.kogito.index.postgresql.ProcessDataIndexPostgreSqlHttpIT.testProcessInstanceEvents</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.index.test.quarkus.http.DataIndexPostgreSqlHttpQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/34/testReport/org.kie.kogito.index.postgresql/ProcessDataIndexPostgreSqlKafkaIT/testProcessInstanceEvents/">org.kie.kogito.index.postgresql.ProcessDataIndexPostgreSqlKafkaIT.testProcessInstanceEvents</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.index.test.quarkus.kafka.DataIndexPostgreSqlQuarkusKafkaTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/34/testReport/org.kie.kogito.index/ProcessDataIndexInfinispanIT/testProcessInstanceEvents/">org.kie.kogito.index.ProcessDataIndexInfinispanIT.testProcessInstanceEvents</a></summary>
Failed to load ApplicationContext
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/34/testReport/org.kie.kogito.index/ProcessDataIndexMongoDBIT/testProcessInstanceEvents/">org.kie.kogito.index.ProcessDataIndexMongoDBIT.testProcessInstanceEvents</a></summary>
Failed to load ApplicationContext
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/34/testReport/org.kie.kogito.index/ProcessDataIndexOracleIT/testProcessInstanceEvents/">org.kie.kogito.index.ProcessDataIndexOracleIT.testProcessInstanceEvents</a></summary>
Failed to load ApplicationContext
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/34/testReport/org.kie.kogito.index/ProcessDataIndexPostgreSqlIT/testProcessInstanceEvents/">org.kie.kogito.index.ProcessDataIndexPostgreSqlIT.testProcessInstanceEvents</a></summary>
Failed to load ApplicationContext
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/34/testReport/org.kie.kogito.it.jobs/JobServiceLeaderIT/___/">org.kie.kogito.it.jobs.JobServiceLeaderIT.(?)</a></summary>
Container startup failed
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/34/testReport/org.kie.kogito.it.jobs/CallbackStateTimeoutsIT/PR_check___Build_projects___callbackStateTimeoutsExceeded/">PR check / Build projects / org.kie.kogito.it.jobs.CallbackStateTimeoutsIT.callbackStateTimeoutsExceeded</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.JobServiceCompositeQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/34/testReport/org.kie.kogito.it.jobs/CallbackStateTimeoutsIT/PR_check___Build_projects___callbackStateTimeoutsExceeded/">PR check / Build projects / org.kie.kogito.it.jobs.CallbackStateTimeoutsIT.callbackStateTimeoutsExceeded</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.JobServiceCompositeQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/34/testReport/org.kie.kogito.it.jobs/CallbackStateTimeoutsIT/PR_check___Build_projects___callbackStateTimeoutsExceeded/">PR check / Build projects / org.kie.kogito.it.jobs.CallbackStateTimeoutsIT.callbackStateTimeoutsExceeded</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.JobServiceCompositeQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/34/testReport/org.kie.kogito.it.jobs/MultipleTimerInstancesIT/PR_check___Build_projects___boundaryTimerEvent/">PR check / Build projects / org.kie.kogito.it.jobs.MultipleTimerInstancesIT.boundaryTimerEvent</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.JobServiceCompositeQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/34/testReport/org.kie.kogito.it.jobs/MultipleTimerInstancesIT/PR_check___Build_projects___boundaryTimerEvent/">PR check / Build projects / org.kie.kogito.it.jobs.MultipleTimerInstancesIT.boundaryTimerEvent</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.JobServiceCompositeQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/34/testReport/org.kie.kogito.it.jobs/MultipleTimerInstancesIT/PR_check___Build_projects___boundaryTimerEvent/">PR check / Build projects / org.kie.kogito.it.jobs.MultipleTimerInstancesIT.boundaryTimerEvent</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.JobServiceCompositeQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/34/testReport/org.kie.kogito.it.jobs/MultipleTimerInstancesIT/PR_check___Build_projects___boundaryTimerEvent/">PR check / Build projects / org.kie.kogito.it.jobs.MultipleTimerInstancesIT.boundaryTimerEvent</a></summary>
Failed to load ApplicationContext
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/34/testReport/org.kie.kogito.it.jobs/MultipleTimerInstancesIT/PR_check___Build_projects___timerEvent/">PR check / Build projects / org.kie.kogito.it.jobs.MultipleTimerInstancesIT.timerEvent</a></summary>
Failed to load ApplicationContext
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/34/testReport/org.kie.kogito.it.jobs/ProcessAsyncIT/PR_check___Build_projects___testAsync/">PR check / Build projects / org.kie.kogito.it.jobs.ProcessAsyncIT.testAsync</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.JobServiceCompositeQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/34/testReport/org.kie.kogito.it.jobs/ProcessAsyncIT/PR_check___Build_projects___testAsync/">PR check / Build projects / org.kie.kogito.it.jobs.ProcessAsyncIT.testAsync</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.JobServiceCompositeQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/34/testReport/org.kie.kogito.it.jobs/ProcessAsyncIT/PR_check___Build_projects___testAsync/">PR check / Build projects / org.kie.kogito.it.jobs.ProcessAsyncIT.testAsync</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.JobServiceCompositeQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/34/testReport/org.kie.kogito.it.jobs/ProcessAsyncIT/PR_check___Build_projects___testAsync/">PR check / Build projects / org.kie.kogito.it.jobs.ProcessAsyncIT.testAsync</a></summary>
Failed to load ApplicationContext
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/34/testReport/org.kie.kogito.it.jobs/ProcessTimerIT/PR_check___Build_projects___testDeleteTimerCycle/">PR check / Build projects / org.kie.kogito.it.jobs.ProcessTimerIT.testDeleteTimerCycle</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.JobServiceCompositeQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/34/testReport/org.kie.kogito.it.jobs/ProcessTimerIT/PR_check___Build_projects___testDeleteTimerCycle/">PR check / Build projects / org.kie.kogito.it.jobs.ProcessTimerIT.testDeleteTimerCycle</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.JobServiceCompositeQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/34/testReport/org.kie.kogito.it.jobs/ProcessTimerIT/PR_check___Build_projects___testDeleteTimerCycle/">PR check / Build projects / org.kie.kogito.it.jobs.ProcessTimerIT.testDeleteTimerCycle</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.JobServiceCompositeQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/34/testReport/org.kie.kogito.it.jobs/ProcessTimerIT/PR_check___Build_projects___testDeleteTimerCycle/">PR check / Build projects / org.kie.kogito.it.jobs.ProcessTimerIT.testDeleteTimerCycle</a></summary>
Failed to load ApplicationContext
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/34/testReport/org.kie.kogito.it.jobs/ProcessTimerIT/PR_check___Build_projects___testBoundaryTimersOnTask/">PR check / Build projects / org.kie.kogito.it.jobs.ProcessTimerIT.testBoundaryTimersOnTask</a></summary>
Failed to load ApplicationContext
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/34/testReport/org.kie.kogito.it.jobs/ProcessTimerIT/PR_check___Build_projects___testTimerCycle/">PR check / Build projects / org.kie.kogito.it.jobs.ProcessTimerIT.testTimerCycle</a></summary>
Failed to load ApplicationContext
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/34/testReport/org.kie.kogito.it.jobs/ProcessTimerIT/PR_check___Build_projects___testTimers/">PR check / Build projects / org.kie.kogito.it.jobs.ProcessTimerIT.testTimers</a></summary>
Failed to load ApplicationContext
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/34/testReport/org.kie.kogito.it.jobs/ProcessTimerIT/PR_check___Build_projects___testDeleteBoundaryTimersOnTask/">PR check / Build projects / org.kie.kogito.it.jobs.ProcessTimerIT.testDeleteBoundaryTimersOnTask</a></summary>
Failed to load ApplicationContext
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/34/testReport/org.kie.kogito.it.jobs/ProcessTimerIT/PR_check___Build_projects___testCancelTimer/">PR check / Build projects / org.kie.kogito.it.jobs.ProcessTimerIT.testCancelTimer</a></summary>
Failed to load ApplicationContext
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/34/testReport/org.kie.kogito.it.jobs/SwitchStateTimeoutsIT/PR_check___Build_projects___switchStateEventConditionTimeoutsTransitionTimeoutsExceeded/">PR check / Build projects / org.kie.kogito.it.jobs.SwitchStateTimeoutsIT.switchStateEventConditionTimeoutsTransitionTimeoutsExceeded</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.JobServiceCompositeQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/34/testReport/org.kie.kogito.it.jobs/SwitchStateTimeoutsIT/PR_check___Build_projects___switchStateEventConditionTimeoutsTransitionTimeoutsExceeded/">PR check / Build projects / org.kie.kogito.it.jobs.SwitchStateTimeoutsIT.switchStateEventConditionTimeoutsTransitionTimeoutsExceeded</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.JobServiceCompositeQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/34/testReport/org.kie.kogito.it.jobs/SwitchStateTimeoutsIT/PR_check___Build_projects___switchStateEventConditionTimeoutsTransitionTimeoutsExceeded/">PR check / Build projects / org.kie.kogito.it.jobs.SwitchStateTimeoutsIT.switchStateEventConditionTimeoutsTransitionTimeoutsExceeded</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.JobServiceCompositeQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/34/testReport/org.kie.kogito.it.jobs/WorkflowTimeoutsIT/PR_check___Build_projects___workflowTimeoutExceeded/">PR check / Build projects / org.kie.kogito.it.jobs.WorkflowTimeoutsIT.workflowTimeoutExceeded</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.JobServiceCompositeQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/34/testReport/org.kie.kogito.it.jobs/WorkflowTimeoutsIT/PR_check___Build_projects___workflowTimeoutExceeded/">PR check / Build projects / org.kie.kogito.it.jobs.WorkflowTimeoutsIT.workflowTimeoutExceeded</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.JobServiceCompositeQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/34/testReport/org.kie.kogito.it.jobs/WorkflowTimeoutsIT/PR_check___Build_projects___workflowTimeoutExceeded/">PR check / Build projects / org.kie.kogito.it.jobs.WorkflowTimeoutsIT.workflowTimeoutExceeded</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.JobServiceCompositeQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/34/testReport/org.kie.kogito.addons.quarkus.data.index.it/InfinispanQuarkusAddonDataIndexPersistenceIT/PR_check___Build_projects___testDataIndexAddon/">PR check / Build projects / org.kie.kogito.addons.quarkus.data.index.it.InfinispanQuarkusAddonDataIndexPersistenceIT.testDataIndexAddon</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.index.test.quarkus.http.DataIndexInfinispanHttpQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/34/testReport/org.kie.kogito.addons.quarkus.data.index.it/InfinispanQuarkusAddonDataIndexPersistenceIT/PR_check___Build_projects___testDataIndexAddon/">PR check / Build projects / org.kie.kogito.addons.quarkus.data.index.it.InfinispanQuarkusAddonDataIndexPersistenceIT.testDataIndexAddon</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.index.test.quarkus.http.DataIndexInfinispanHttpQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/34/testReport/org.kie.kogito.addons.quarkus.data.index.it/MongoQuarkusAddonDataIndexPersistenceIT/PR_check___Build_projects___testDataIndexAddon/">PR check / Build projects / org.kie.kogito.addons.quarkus.data.index.it.MongoQuarkusAddonDataIndexPersistenceIT.testDataIndexAddon</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.index.test.quarkus.http.DataIndexMongoDBHttpQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/34/testReport/org.kie.kogito.addons.quarkus.data.index.it/MongoQuarkusAddonDataIndexPersistenceIT/PR_check___Build_projects___testDataIndexAddon/">PR check / Build projects / org.kie.kogito.addons.quarkus.data.index.it.MongoQuarkusAddonDataIndexPersistenceIT.testDataIndexAddon</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.index.test.quarkus.http.DataIndexMongoDBHttpQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/34/testReport/org.kie.kogito.addons.quarkus.data.index.it/PostgreSQLQuarkusAddonDataIndexPersistenceIT/PR_check___Build_projects___testDataIndexAddon/">PR check / Build projects / org.kie.kogito.addons.quarkus.data.index.it.PostgreSQLQuarkusAddonDataIndexPersistenceIT.testDataIndexAddon</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.index.test.quarkus.http.DataIndexPostgreSqlHttpQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/34/testReport/org.kie.kogito.addons.quarkus.data.index.it/PostgreSQLQuarkusAddonDataIndexPersistenceIT/PR_check___Build_projects___testDataIndexAddon/">PR check / Build projects / org.kie.kogito.addons.quarkus.data.index.it.PostgreSQLQuarkusAddonDataIndexPersistenceIT.testDataIndexAddon</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.index.test.quarkus.http.DataIndexPostgreSqlHttpQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/34/testReport/org.kie.kogito.addons.quarkus.data.index.it/InfinispanQuarkusAddonDataIndexIT/PR_check___Build_projects___testDataIndexAddon/">PR check / Build projects / org.kie.kogito.addons.quarkus.data.index.it.InfinispanQuarkusAddonDataIndexIT.testDataIndexAddon</a></summary>
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors<br/> [error]: Build step io.quarkus.infinispan.client.deployment.devservices.InfinispanDevServiceProcessor#startInfinispanContainers threw an exception: java.lang.RuntimeException: org.testcontainers.containers.ContainerLaunchException: Container startup failed<br/> at io.quarkus.infinispan.client.deployment.devservices.InfinispanDevServiceProcessor.startInfinispanContainers(InfinispanDevServiceProcessor.java:110)<br/> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br/> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)<br/> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br/> at java.base/java.lang.reflect.Method.invoke(Method.java:566)<br/> at io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:909)<br/> at io.quarkus
.builder.BuildContext.run(BuildContext.java:281)<br/> at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)<br/> at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2449)<br/> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1478)<br/> at java.base/java.lang.Thread.run(Thread.java:829)<br/> at org.jboss.threads.JBossThread.run(JBossThread.java:501)<br/>Caused by: org.testcontainers.containers.ContainerLaunchException: Container startup failed<br/> at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:349)<br/> at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:322)<br/> at io.quarkus.infinispan.client.deployment.devservices.InfinispanDevServiceProcessor.lambda$startContainer$1(InfinispanDevServiceProcessor.java:165)<br/> at java.base/java.util.Optional.orElseGet(Optional.java:369)<br/> at io.quarkus.infinispan.client.deployment.devservices.InfinispanDev
ServiceProcessor.startContainer(InfinispanDevServiceProcessor.java:175)<br/> at io.quarkus.infinispan.client.deployment.devservices.InfinispanDevServiceProcessor.startInfinispanContainers(InfinispanDevServiceProcessor.java:97)<br/> ... 11 more<br/>Caused by: org.rnorth.ducttape.RetryCountExceededException: Retry limit hit with exception<br/> at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:88)<br/> at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:334)<br/> ... 16 more<br/>Caused by: org.testcontainers.containers.ContainerLaunchException: Could not create/start container<br/> at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:542)<br/> at org.testcontainers.containers.GenericContainer.lambda$doStart$0(GenericContainer.java:344)<br/> at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:81)<br/> ... 17 more<br/>Caused by: org.testcontainers.containers.ContainerLaun
chException: Container startup failed<br/> at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:349)<br/> at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:322)<br/> at org.testcontainers.utility.RyukResourceReaper.maybeStart(RyukResourceReaper.java:78)<br/> at org.testcontainers.utility.RyukResourceReaper.register(RyukResourceReaper.java:68)<br/> at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:423)<br/> ... 19 more<br/>Caused by: org.testcontainers.containers.ContainerFetchException: Can't get Docker image: RemoteDockerImage(imageName=quay.io/infinispan-test/ryuk:0.3.3, imagePullPolicy=DefaultPullPolicy(), imageNameSubstitutor=org.testcontainers.utility.ImageNameSubstitutor$LogWrappedImageNameSubstitutor@612c4539)<br/> at org.testcontainers.containers.GenericContainer.getDockerImageName(GenericContainer.java:1371)<br/> at org.testcontainers.containers.GenericContainer.logger(GenericContainer.jav
a:651)<br/> at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:331)<br/> ... 23 more<br/>Caused by: org.testcontainers.containers.ContainerFetchException: Failed to get Docker client for quay.io/infinispan-test/ryuk:0.3.3<br/> at org.testcontainers.images.RemoteDockerImage.resolve(RemoteDockerImage.java:121)<br/> at org.testcontainers.images.RemoteDockerImage.resolve(RemoteDockerImage.java:28)<br/> at org.testcontainers.utility.LazyFuture.getResolvedValue(LazyFuture.java:17)<br/> at org.testcontainers.utility.LazyFuture.get(LazyFuture.java:39)<br/> at org.testcontainers.containers.GenericContainer.getDockerImageName(GenericContainer.java:1369)<br/> ... 25 more<br/>Caused by: com.github.dockerjava.api.exception.DockerClientException: Could not pull image: error pulling image configuration: download failed after attempts=1: error parsing HTTP 403 response body: invalid character '<' looking for beginning of value: "<?xml version=\"1.0\" encoding=\"UTF-8\"?
>\n<Error><Code>SignatureDoesNotMatch</Code><Message>The request signature we calculated does not match the signature you provided. Check your key and signing method.</Message><AWSAccessKeyId>AKIAI5LUAQGPZRPNKSJA</AWSAccessKeyId><StringToSign>AWS4-HMAC-SHA256\n20231114T215511Z\n20231114/us-east-1/s3/aws4_request\ndadc71327078e9a629c02d4f26bdbe16e3894a051c7ef8432c8fbd6363c1d1a0</StringToSign><SignatureProvided>389fe8974cde45faad6ec94bcff072c550d55e40bf5fef15cb2323f341f25d18</SignatureProvided><StringToSignBytes>41 57 53 34 2d 48 4d 41 43 2d 53 48 41 32 35 36 0a 32 30 32 33 31 31 31 34 54 32 31 35 35 31 31 5a 0a 32 30 32 33 31 31 31 34 2f 75 73 2d 65 61 73 74 2d 31 2f 73 33 2f 61 77 73 34 5f 72 65 71 75 65 73 74 0a 64 61 64 63 37 31 33 32 37 30 37 38 65 39 61 36 32 39 63 30 32 64 34 66 32 36 62 64 62 65 31 36 65 33 38 39 34 61 30 35 31 63 37 65 66 38 34 33 32 63 38 66 62 64 36 33 36 33 63 31 64 31 61 30</StringToSignBytes><CanonicalRequest>GET\n/quayio-production-s3/sha256/64/64f4b02d
c9864d9621d248e55835408a03b3cd8239b790e610c71c29ea45a3b9\nX-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAI5LUAQGPZRPNKSJA%2F20231114%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231114T215511Z&X-Amz-Expires=600&X-Amz-SignedHeaders=host\nhost:quayio-production-s3.s3.amazonaws.com\n\nhost\nUNSIGNED-PAYLOAD</CanonicalRequest><CanonicalRequestBytes>47 45 54 0a 2f 71 75 61 79 69 6f 2d 70 72 6f 64 75 63 74 69 6f 6e 2d 73 33 2f 73 68 61 32 35 36 2f 36 34 2f 36 34 66 34 62 30 32 64 63 39 38 36 34 64 39 36 32 31 64 32 34 38 65 35 35 38 33 35 34 30 38 61 30 33 62 33 63 64 38 32 33 39 62 37 39 30 65 36 31 30 63 37 31 63 32 39 65 61 34 35 61 33 62 39 0a 58 2d 41 6d 7a 2d 41 6c 67 6f 72 69 74 68 6d 3d 41 57 53 34 2d 48 4d 41 43 2d 53 48 41 32 35 36 26 58 2d 41 6d 7a 2d 43 72 65 64 65 6e 74 69 61 6c 3d 41 4b 49 41 49 35 4c 55 41 51 47 50 5a 52 50 4e 4b 53 4a 41 25 32 46 32 30 32 33 31 31 31 34 25 32 46 75 73 2d 65 61 73 74 2d 31 25 32 46 73 33 25 32 46 61 77 73 34 5f 72 65
71 75 65 73 74 26 58 2d 41 6d 7a 2d 44 61 74 65 3d 32 30 32 33 31 31 31 34 54 32 31 35 35 31 31 5a 26 58 2d 41 6d 7a 2d 45 78 70 69 72 65 73 3d 36 30 30 26 58 2d 41 6d 7a 2d 53 69 67 6e 65 64 48 65 61 64 65 72 73 3d 68 6f 73 74 0a 68 6f 73 74 3a 71 75 61 79 69 6f 2d 70 72 6f 64 75 63 74 69 6f 6e 2d 73 33 2e 73 33 2e 61 6d 61 7a 6f 6e 61 77 73 2e 63 6f 6d 0a 0a 68 6f 73 74 0a 55 4e 53 49 47 4e 45 44 2d 50 41 59 4c 4f 41 44</CanonicalRequestBytes><RequestId>Q0SP0KKKM3QN4ZJ0</RequestId><HostId>RC/k0FQllDvluPo75QWEqupAZaZqJ8J/kWU1/QwOW61mG6nayyAK46YXkIqrXT+Xt+Ei2vrrxq1Px6MZGe5dMA==</HostId></Error>"<br/> at com.github.dockerjava.api.command.PullImageResultCallback.checkDockerClientPullSuccessful(PullImageResultCallback.java:97)<br/> at com.github.dockerjava.api.command.PullImageResultCallback.throwFirstError(PullImageResultCallback.java:112)<br/> at com.github.dockerjava.api.async.ResultCallbackTemplate.awaitCompletion(ResultCallbackTemplate.java:93)<br/> at org.testcontainers.images.Ti
meLimitedLoggedPullImageResultCallback.awaitCompletion(TimeLimitedLoggedPullImageResultCallback.java:58)<br/> at org.testcontainers.images.RemoteDockerImage.resolve(RemoteDockerImage.java:96)<br/> ... 29 more<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/34/testReport/org.kie.kogito.addons.quarkus.data.index.it/InfinispanQuarkusAddonDataIndexIT/PR_check___Build_projects___testDataIndexAddon/">PR check / Build projects / org.kie.kogito.addons.quarkus.data.index.it.InfinispanQuarkusAddonDataIndexIT.testDataIndexAddon</a></summary>
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors<br/> [error]: Build step io.quarkus.infinispan.client.deployment.devservices.InfinispanDevServiceProcessor#startInfinispanContainers threw an exception: java.lang.RuntimeException: org.testcontainers.containers.ContainerLaunchException: Container startup failed<br/> at io.quarkus.infinispan.client.deployment.devservices.InfinispanDevServiceProcessor.startInfinispanContainers(InfinispanDevServiceProcessor.java:110)<br/> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br/> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)<br/> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br/> at java.base/java.lang.reflect.Method.invoke(Method.java:566)<br/> at io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:909)<br/> at io.quarkus
.builder.BuildContext.run(BuildContext.java:281)<br/> at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)<br/> at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2449)<br/> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1478)<br/> at java.base/java.lang.Thread.run(Thread.java:829)<br/> at org.jboss.threads.JBossThread.run(JBossThread.java:501)<br/>Caused by: org.testcontainers.containers.ContainerLaunchException: Container startup failed<br/> at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:349)<br/> at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:322)<br/> at io.quarkus.infinispan.client.deployment.devservices.InfinispanDevServiceProcessor.lambda$startContainer$1(InfinispanDevServiceProcessor.java:165)<br/> at java.base/java.util.Optional.orElseGet(Optional.java:369)<br/> at io.quarkus.infinispan.client.deployment.devservices.InfinispanDev
ServiceProcessor.startContainer(InfinispanDevServiceProcessor.java:175)<br/> at io.quarkus.infinispan.client.deployment.devservices.InfinispanDevServiceProcessor.startInfinispanContainers(InfinispanDevServiceProcessor.java:97)<br/> ... 11 more<br/>Caused by: org.rnorth.ducttape.RetryCountExceededException: Retry limit hit with exception<br/> at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:88)<br/> at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:334)<br/> ... 16 more<br/>Caused by: org.testcontainers.containers.ContainerLaunchException: Could not create/start container<br/> at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:542)<br/> at org.testcontainers.containers.GenericContainer.lambda$doStart$0(GenericContainer.java:344)<br/> at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:81)<br/> ... 17 more<br/>Caused by: org.testcontainers.containers.ContainerLaun
chException: Container startup failed<br/> at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:349)<br/> at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:322)<br/> at org.testcontainers.utility.RyukResourceReaper.maybeStart(RyukResourceReaper.java:78)<br/> at org.testcontainers.utility.RyukResourceReaper.register(RyukResourceReaper.java:68)<br/> at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:423)<br/> ... 19 more<br/>Caused by: org.testcontainers.containers.ContainerFetchException: Can't get Docker image: RemoteDockerImage(imageName=quay.io/infinispan-test/ryuk:0.3.3, imagePullPolicy=DefaultPullPolicy(), imageNameSubstitutor=org.testcontainers.utility.ImageNameSubstitutor$LogWrappedImageNameSubstitutor@16c6ac26)<br/> at org.testcontainers.containers.GenericContainer.getDockerImageName(GenericContainer.java:1371)<br/> at org.testcontainers.containers.GenericContainer.logger(GenericContainer.jav
a:651)<br/> at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:331)<br/> ... 23 more<br/>Caused by: org.testcontainers.containers.ContainerFetchException: Failed to get Docker client for quay.io/infinispan-test/ryuk:0.3.3<br/> at org.testcontainers.images.RemoteDockerImage.resolve(RemoteDockerImage.java:121)<br/> at org.testcontainers.images.RemoteDockerImage.resolve(RemoteDockerImage.java:28)<br/> at org.testcontainers.utility.LazyFuture.getResolvedValue(LazyFuture.java:17)<br/> at org.testcontainers.utility.LazyFuture.get(LazyFuture.java:39)<br/> at org.testcontainers.containers.GenericContainer.getDockerImageName(GenericContainer.java:1369)<br/> ... 25 more<br/>Caused by: com.github.dockerjava.api.exception.DockerClientException: Could not pull image: error pulling image configuration: download failed after attempts=1: error parsing HTTP 403 response body: invalid character '<' looking for beginning of value: "<?xml version=\"1.0\" encoding=\"UTF-8\"?
>\n<Error><Code>SignatureDoesNotMatch</Code><Message>The request signature we calculated does not match the signature you provided. Check your key and signing method.</Message><AWSAccessKeyId>AKIAI5LUAQGPZRPNKSJA</AWSAccessKeyId><StringToSign>AWS4-HMAC-SHA256\n20231114T215433Z\n20231114/us-east-1/s3/aws4_request\n74810eb5a58d6c0039ceac3307cbf6e2e293b114d681525379521037058f79ea</StringToSign><SignatureProvided>347e108316e7b53aa93917ba7f6d7a906900ace177c7abff8bef8326dffb04c0</SignatureProvided><StringToSignBytes>41 57 53 34 2d 48 4d 41 43 2d 53 48 41 32 35 36 0a 32 30 32 33 31 31 31 34 54 32 31 35 34 33 33 5a 0a 32 30 32 33 31 31 31 34 2f 75 73 2d 65 61 73 74 2d 31 2f 73 33 2f 61 77 73 34 5f 72 65 71 75 65 73 74 0a 37 34 38 31 30 65 62 35 61 35 38 64 36 63 30 30 33 39 63 65 61 63 33 33 30 37 63 62 66 36 65 32 65 32 39 33 62 31 31 34 64 36 38 31 35 32 35 33 37 39 35 32 31 30 33 37 30 35 38 66 37 39 65 61</StringToSignBytes><CanonicalRequest>GET\n/quayio-production-s3/sha256/64/64f4b02d
c9864d9621d248e55835408a03b3cd8239b790e610c71c29ea45a3b9\nX-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAI5LUAQGPZRPNKSJA%2F20231114%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231114T215433Z&X-Amz-Expires=600&X-Amz-SignedHeaders=host\nhost:quayio-production-s3.s3.amazonaws.com\n\nhost\nUNSIGNED-PAYLOAD</CanonicalRequest><CanonicalRequestBytes>47 45 54 0a 2f 71 75 61 79 69 6f 2d 70 72 6f 64 75 63 74 69 6f 6e 2d 73 33 2f 73 68 61 32 35 36 2f 36 34 2f 36 34 66 34 62 30 32 64 63 39 38 36 34 64 39 36 32 31 64 32 34 38 65 35 35 38 33 35 34 30 38 61 30 33 62 33 63 64 38 32 33 39 62 37 39 30 65 36 31 30 63 37 31 63 32 39 65 61 34 35 61 33 62 39 0a 58 2d 41 6d 7a 2d 41 6c 67 6f 72 69 74 68 6d 3d 41 57 53 34 2d 48 4d 41 43 2d 53 48 41 32 35 36 26 58 2d 41 6d 7a 2d 43 72 65 64 65 6e 74 69 61 6c 3d 41 4b 49 41 49 35 4c 55 41 51 47 50 5a 52 50 4e 4b 53 4a 41 25 32 46 32 30 32 33 31 31 31 34 25 32 46 75 73 2d 65 61 73 74 2d 31 25 32 46 73 33 25 32 46 61 77 73 34 5f 72 65
71 75 65 73 74 26 58 2d 41 6d 7a 2d 44 61 74 65 3d 32 30 32 33 31 31 31 34 54 32 31 35 34 33 33 5a 26 58 2d 41 6d 7a 2d 45 78 70 69 72 65 73 3d 36 30 30 26 58 2d 41 6d 7a 2d 53 69 67 6e 65 64 48 65 61 64 65 72 73 3d 68 6f 73 74 0a 68 6f 73 74 3a 71 75 61 79 69 6f 2d 70 72 6f 64 75 63 74 69 6f 6e 2d 73 33 2e 73 33 2e 61 6d 61 7a 6f 6e 61 77 73 2e 63 6f 6d 0a 0a 68 6f 73 74 0a 55 4e 53 49 47 4e 45 44 2d 50 41 59 4c 4f 41 44</CanonicalRequestBytes><RequestId>P3P57AAMK7RYAC7C</RequestId><HostId>r23FYQBjRLQr9ZsNbQf4TvGg9GuV/TWwGa+JD0HTorWByubLAV/c87nYZvHdXIxjvzbxdAGyeBo=</HostId></Error>"<br/> at com.github.dockerjava.api.command.PullImageResultCallback.checkDockerClientPullSuccessful(PullImageResultCallback.java:97)<br/> at com.github.dockerjava.api.command.PullImageResultCallback.throwFirstError(PullImageResultCallback.java:112)<br/> at com.github.dockerjava.api.async.ResultCallbackTemplate.awaitCompletion(ResultCallbackTemplate.java:93)<br/> at org.testcontainers.images.TimeLimitedLog
gedPullImageResultCallback.awaitCompletion(TimeLimitedLoggedPullImageResultCallback.java:58)<br/> at org.testcontainers.images.RemoteDockerImage.resolve(RemoteDockerImage.java:96)<br/> ... 29 more<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/34/testReport/org.kie.kogito.explainability.rest/KeycloakExplainabilityServiceIT/shouldReturnUnauthorized/">org.kie.kogito.explainability.rest.KeycloakExplainabilityServiceIT.shouldReturnUnauthorized</a></summary>
java.lang.reflect.InvocationTargetException
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/34/testReport/org.kie.kogito.jobs.service.resource/KeycloakJobServiceTest/___/">org.kie.kogito.jobs.service.resource.KeycloakJobServiceTest.(?)</a></summary>
java.lang.reflect.InvocationTargetException
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/34/testReport/org.kie.kogito.persistence.infinispan.cache/InfinispanStorageIT/testGet/">org.kie.kogito.persistence.infinispan.cache.InfinispanStorageIT.testGet</a></summary>
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors<br/> [error]: Build step io.quarkus.infinispan.client.deployment.devservices.InfinispanDevServiceProcessor#startInfinispanContainers threw an exception: java.lang.RuntimeException: org.testcontainers.containers.ContainerFetchException: Can't get Docker image: RemoteDockerImage(imageName=quay.io/infinispan/server:14.0, imagePullPolicy=DefaultPullPolicy(), imageNameSubstitutor=org.testcontainers.utility.ImageNameSubstitutor$ChainedImageNameSubstitutor@6c46134c)<br/> at io.quarkus.infinispan.client.deployment.devservices.InfinispanDevServiceProcessor.startInfinispanContainers(InfinispanDevServiceProcessor.java:110)<br/> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br/> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)<br/> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Del
egatingMethodAccessorImpl.java:43)<br/> at java.base/java.lang.reflect.Method.invoke(Method.java:566)<br/> at io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:909)<br/> at io.quarkus.builder.BuildContext.run(BuildContext.java:281)<br/> at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)<br/> at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2449)<br/> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1478)<br/> at java.base/java.lang.Thread.run(Thread.java:829)<br/> at org.jboss.threads.JBossThread.run(JBossThread.java:501)<br/>Caused by: org.testcontainers.containers.ContainerFetchException: Can't get Docker image: RemoteDockerImage(imageName=quay.io/infinispan/server:14.0, imagePullPolicy=DefaultPullPolicy(), imageNameSubstitutor=org.testcontainers.utility.ImageNameSubstitutor$ChainedImageNameSubstitutor@6c46134c)<br/> at org.testcontainers.containers.GenericContainer.getDockerIma
geName(GenericContainer.java:1371)<br/> at org.testcontainers.containers.GenericContainer.logger(GenericContainer.java:651)<br/> at org.infinispan.server.test.core.InfinispanContainer.<init>(InfinispanContainer.java:51)<br/> at org.infinispan.server.test.core.InfinispanContainer.<init>(InfinispanContainer.java:38)<br/> at io.quarkus.infinispan.client.deployment.devservices.InfinispanDevServiceProcessor$QuarkusInfinispanContainer.<init>(InfinispanDevServiceProcessor.java:201)<br/> at io.quarkus.infinispan.client.deployment.devservices.InfinispanDevServiceProcessor.lambda$startContainer$1(InfinispanDevServiceProcessor.java:162)<br/> at java.base/java.util.Optional.orElseGet(Optional.java:369)<br/> at io.quarkus.infinispan.client.deployment.devservices.InfinispanDevServiceProcessor.startContainer(InfinispanDevServiceProcessor.java:175)<br/> at io.quarkus.infinispan.client.deployment.devservices.InfinispanDevServiceProcessor.startInfinispanContainers(InfinispanDevServiceProcessor.java:9
7)<br/> ... 11 more<br/>Caused by: org.testcontainers.containers.ContainerFetchException: Failed to get Docker client for quay.io/infinispan/server:14.0<br/> at org.testcontainers.images.RemoteDockerImage.resolve(RemoteDockerImage.java:121)<br/> at org.testcontainers.images.RemoteDockerImage.resolve(RemoteDockerImage.java:28)<br/> at org.testcontainers.utility.LazyFuture.getResolvedValue(LazyFuture.java:17)<br/> at org.testcontainers.utility.LazyFuture.get(LazyFuture.java:39)<br/> at org.testcontainers.containers.GenericContainer.getDockerImageName(GenericContainer.java:1369)<br/> ... 19 more<br/>Caused by: com.github.dockerjava.api.exception.DockerClientException: Could not pull image: error pulling image configuration: download failed after attempts=1: error parsing HTTP 403 response body: invalid character '<' looking for beginning of value: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Error><Code>SignatureDoesNotMatch</Code><Message>The request signature we calculated does not
match the signature you provided. Check your key and signing method.</Message><AWSAccessKeyId>AKIAI5LUAQGPZRPNKSJA</AWSAccessKeyId><StringToSign>AWS4-HMAC-SHA256\n20231114T203034Z\n20231114/us-east-1/s3/aws4_request\necbaa970b32512e9e68b2e827b387dc2a3f0b1a16023fcd0c82cd0067fc2af50</StringToSign><SignatureProvided>776a487a06716011f5a8fe7a99f6b6e8fb81035dd89bffa1401b8b0e24e44af7</SignatureProvided><StringToSignBytes>41 57 53 34 2d 48 4d 41 43 2d 53 48 41 32 35 36 0a 32 30 32 33 31 31 31 34 54 32 30 33 30 33 34 5a 0a 32 30 32 33 31 31 31 34 2f 75 73 2d 65 61 73 74 2d 31 2f 73 33 2f 61 77 73 34 5f 72 65 71 75 65 73 74 0a 65 63 62 61 61 39 37 30 62 33 32 35 31 32 65 39 65 36 38 62 32 65 38 32 37 62 33 38 37 64 63 32 61 33 66 30 62 31 61 31 36 30 32 33 66 63 64 30 63 38 32 63 64 30 30 36 37 66 63 32 61 66 35 30</StringToSignBytes><CanonicalRequest>GET\n/quayio-production-s3/sha256/f0/f07546bae71e6238851ad84742565ba4bac621382d7b945248e2495dc6be62ad\nX-Amz-Algorithm=AWS4-HMAC-SHA256&X-A
mz-Credential=AKIAI5LUAQGPZRPNKSJA%2F20231114%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231114T203034Z&X-Amz-Expires=600&X-Amz-SignedHeaders=host\nhost:quayio-production-s3.s3.amazonaws.com\n\nhost\nUNSIGNED-PAYLOAD</CanonicalRequest><CanonicalRequestBytes>47 45 54 0a 2f 71 75 61 79 69 6f 2d 70 72 6f 64 75 63 74 69 6f 6e 2d 73 33 2f 73 68 61 32 35 36 2f 66 30 2f 66 30 37 35 34 36 62 61 65 37 31 65 36 32 33 38 38 35 31 61 64 38 34 37 34 32 35 36 35 62 61 34 62 61 63 36 32 31 33 38 32 64 37 62 39 34 35 32 34 38 65 32 34 39 35 64 63 36 62 65 36 32 61 64 0a 58 2d 41 6d 7a 2d 41 6c 67 6f 72 69 74 68 6d 3d 41 57 53 34 2d 48 4d 41 43 2d 53 48 41 32 35 36 26 58 2d 41 6d 7a 2d 43 72 65 64 65 6e 74 69 61 6c 3d 41 4b 49 41 49 35 4c 55 41 51 47 50 5a 52 50 4e 4b 53 4a 41 25 32 46 32 30 32 33 31 31 31 34 25 32 46 75 73 2d 65 61 73 74 2d 31 25 32 46 73 33 25 32 46 61 77 73 34 5f 72 65 71 75 65 73 74 26 58 2d 41 6d 7a 2d 44 61 74 65 3d 32 30 32 33 31 31 31 34 54 32 30 33 30 33 34 5a
26 58 2d 41 6d 7a 2d 45 78 70 69 72 65 73 3d 36 30 30 26 58 2d 41 6d 7a 2d 53 69 67 6e 65 64 48 65 61 64 65 72 73 3d 68 6f 73 74 0a 68 6f 73 74 3a 71 75 61 79 69 6f 2d 70 72 6f 64 75 63 74 69 6f 6e 2d 73 33 2e 73 33 2e 61 6d 61 7a 6f 6e 61 77 73 2e 63 6f 6d 0a 0a 68 6f 73 74 0a 55 4e 53 49 47 4e 45 44 2d 50 41 59 4c 4f 41 44</CanonicalRequestBytes><RequestId>PSW1XAWQZ274VBWE</RequestId><HostId>xhduI8aFI07TJrLw1H5ZS5IFIjY5SFSx+r1sJqIoTM8tLwLG7Qh+fHZznMBeQoiEMk8vPPT08TMSLYSgtGAgVl6uWBG6CycW</HostId></Error>"<br/> at com.github.dockerjava.api.command.PullImageResultCallback.checkDockerClientPullSuccessful(PullImageResultCallback.java:97)<br/> at com.github.dockerjava.api.command.PullImageResultCallback.throwFirstError(PullImageResultCallback.java:112)<br/> at com.github.dockerjava.api.async.ResultCallbackTemplate.awaitCompletion(ResultCallbackTemplate.java:93)<br/> at org.testcontainers.images.TimeLimitedLoggedPullImageResultCallback.awaitCompletion(TimeLimitedLoggedPullImageResultCal
lback.java:58)<br/> at org.testcontainers.images.RemoteDockerImage.resolve(RemoteDockerImage.java:96)<br/> ... 23 more<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/34/testReport/org.kie.kogito.security/KeycloakSecurityCommonsServiceIT/meTest/">org.kie.kogito.security.KeycloakSecurityCommonsServiceIT.meTest</a></summary>
java.lang.reflect.InvocationTargetException
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/34/testReport/org.kie.kogito.trusty.ui/KeycloakTrustyUIServiceIT/___/">org.kie.kogito.trusty.ui.KeycloakTrustyUIServiceIT.(?)</a></summary>
java.lang.reflect.InvocationTargetException
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/34/testReport/org.kie.kogito.trusty.ui/StaticContentTest/testIndexHtml/">org.kie.kogito.trusty.ui.StaticContentTest.testIndexHtml</a></summary>
java.lang.reflect.InvocationTargetException
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/34/testReport/org.kie.kogito.trusty.service.common/KeycloakTrustyServiceIT/___/">org.kie.kogito.trusty.service.common.KeycloakTrustyServiceIT.(?)</a></summary>
java.lang.reflect.InvocationTargetException
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/34/testReport/org.kie.kogito.trusty.service.common.api/DecisionsApiV1IT/testGetExecutionById/">org.kie.kogito.trusty.service.common.api.DecisionsApiV1IT.testGetExecutionById</a></summary>
java.lang.reflect.InvocationTargetException
</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] [KOGITO-9909] Fix concurrency on incoming data-index events adding lock and merge + fix for duplicate key on process definition indexing [incubator-kie-kogito-apps]
Posted by "fjtirado (via GitHub)" <gi...@apache.org>.
fjtirado commented on code in PR #1906:
URL: https://github.com/apache/incubator-kie-kogito-apps/pull/1906#discussion_r1379839597
##########
data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/storage/AbstractStorage.java:
##########
@@ -84,10 +88,19 @@ public V get(String key) {
}
@Override
- @Transactional
+ @Transactional(REQUIRES_NEW)
Review Comment:
Why we require always a new transaction in this scenario?
--
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] [KOGITO-9909] Fix concurrency on incoming data-index events adding lock and merge + fix for duplicate key on process definition indexing [incubator-kie-kogito-apps]
Posted by "kie-ci3 (via GitHub)" <gi...@apache.org>.
kie-ci3 commented on PR #1906:
URL: https://github.com/apache/incubator-kie-kogito-apps/pull/1906#issuecomment-1797680620
**PR job** `#16` 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-apps -u https://github.com/apache/incubator-kie-kogito-apps/pull/1906 --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-apps-pr/job/PR-1906/16/display/redirect
**Test results:**
- PASSED: 2780
- FAILED: 4
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-apps-pr/job/PR-1906/16/testReport/org.kie.kogito.index.inmemory/ProcessDataIndexInMemoryIT/testProcessInstanceEvents/">org.kie.kogito.index.inmemory.ProcessDataIndexInMemoryIT.testProcessInstanceEvents</a></summary>
Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.<br/>JSON path data.UserTaskInstances[0].comments.size() doesn't match.<br/>Expected: is <0><br/> Actual: <1><br/> within 30 seconds.
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/16/testReport/org.kie.kogito.index.postgresql/ProcessDataIndexPostgreSqlHttpIT/testProcessInstanceEvents/">org.kie.kogito.index.postgresql.ProcessDataIndexPostgreSqlHttpIT.testProcessInstanceEvents</a></summary>
Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.<br/>JSON path data.UserTaskInstances[0].comments.size() doesn't match.<br/>Expected: is <0><br/> Actual: <1><br/> within 30 seconds.
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/16/testReport/org.kie.kogito.index.postgresql/ProcessDataIndexPostgreSqlKafkaIT/testProcessInstanceEvents/">org.kie.kogito.index.postgresql.ProcessDataIndexPostgreSqlKafkaIT.testProcessInstanceEvents</a></summary>
Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.<br/>JSON path data.UserTaskInstances[0].comments.size() doesn't match.<br/>Expected: is <0><br/> Actual: <1><br/> within 30 seconds.
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/16/testReport/org.kie.kogito.index/ProcessDataIndexPostgreSqlIT/testProcessInstanceEvents/">org.kie.kogito.index.ProcessDataIndexPostgreSqlIT.testProcessInstanceEvents</a></summary>
Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.<br/>JSON path data.UserTaskInstances[0].comments.size() doesn't match.<br/>Expected: is <0><br/> Actual: <1><br/> within 30 seconds.
</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] [KOGITO-9909] Fix concurrency on incoming data-index events adding lock and merge + fix for duplicate key on process definition indexing [incubator-kie-kogito-apps]
Posted by "kie-ci3 (via GitHub)" <gi...@apache.org>.
kie-ci3 commented on PR #1906:
URL: https://github.com/apache/incubator-kie-kogito-apps/pull/1906#issuecomment-1801134084
**PR job** `#20` 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-apps -u https://github.com/apache/incubator-kie-kogito-apps/pull/1906 --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-apps-pr/job/PR-1906/20/display/redirect
**Test results:**
- PASSED: 2810
- 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-apps-pr/job/PR-1906/20/testReport/org.kie.kogito.index.service/InfinispanDomainIndexingServiceIT/testIndexingDomainParallelEvents/">org.kie.kogito.index.service.InfinispanDomainIndexingServiceIT.testIndexingDomainParallelEvents</a></summary>
Cannot invoke method size() on null object
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/20/testReport/org.kie.kogito.index.service/InfinispanDomainIndexingServiceIT/testAddProtoFile/">org.kie.kogito.index.service.InfinispanDomainIndexingServiceIT.testAddProtoFile</a></summary>
Assertion condition defined as a lambda expression in org.kie.kogito.index.service.AbstractIndexingServiceIT that uses java.lang.String, java.lang.Stringorg.kie.kogito.event.usertask.UserTaskInstanceStateDataEvent 1 expectation failed.<br/>JSON path data.UserTaskInstances[0].id doesn't match.<br/>Expected: is "bd1d8df1-fa85-4a80-9121-03613a363669"<br/> Actual: null<br/> within 30 seconds.
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/20/testReport/org.kie.kogito.index.service/InfinispanDomainIndexingServiceIT/testIndexingDomainUsingUserTaskEventFirst/">org.kie.kogito.index.service.InfinispanDomainIndexingServiceIT.testIndexingDomainUsingUserTaskEventFirst</a></summary>
1 expectation failed.<br/>JSON path data.Travels[0].id doesn't match.<br/>Expected: is "81a932fa-e943-4bdb-a98b-8cd48b3a63b9"<br/> Actual: null<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/20/testReport/org.kie.kogito.index.service/InfinispanDomainIndexingServiceIT/testIndexingDomainUsingProcessEventFirst/">org.kie.kogito.index.service.InfinispanDomainIndexingServiceIT.testIndexingDomainUsingProcessEventFirst</a></summary>
1 expectation failed.<br/>JSON path data.Travels[0].id doesn't match.<br/>Expected: is "f5f1c9c2-e163-40fa-a98f-31ec0d800f91"<br/> Actual: null<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/20/testReport/org.kie.kogito.index.service.graphql/InfinispanWebSocketSubscriptionIT/testUserTaskInstanceSubscription/">org.kie.kogito.index.service.graphql.InfinispanWebSocketSubscriptionIT.testUserTaskInstanceSubscription</a></summary>
java.util.concurrent.TimeoutException<br/> at java.base/java.util.concurrent.CompletableFuture.timedGet(CompletableFuture.java:1886)<br/> at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2021)<br/> at org.kie.kogito.index.service.graphql.AbstractWebSocketSubscriptionIT.assertUserTaskInstanceSubscription(AbstractWebSocketSubscriptionIT.java:197)<br/> at org.kie.kogito.index.service.graphql.AbstractWebSocketSubscriptionIT.testUserTaskInstanceSubscription(AbstractWebSocketSubscriptionIT.java:119)<br/> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br/> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)<br/> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br/> at java.base/java.lang.reflect.Method.invoke(Method.java:566)<br/> at io.quarkus.test.junit.QuarkusTestExtension.runExtensionMethod(QuarkusTestExtension.jav
a:999)<br/> at io.quarkus.test.junit.QuarkusTestExtension.interceptTestMethod(QuarkusTestExtension.java:813)<br/> at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)<br/> at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)<br/> at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)<br/> at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156)<br/> at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:147)<br/> at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:86)<br/> at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvok
er.java:103)<br/> at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)<br/> at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)<br/> at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)<br/> at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)<br/> at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)<br/> at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92)<br/> at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86)<br/> at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:217)<br/
> at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)<br/> at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:213)<br/> at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:138)<br/> at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:68)<br/> at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)<br/> at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)<br/> at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)<br/> at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)<br/> at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:13
9)<br/> at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)<br/> at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)<br/> at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)<br/> at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)<br/> at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)<br/> at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)<br/> at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)<br/> at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)<br/> at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)<br/> at org.junit.pla
tform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)<br/> at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)<br/> at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)<br/> at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)<br/> at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)<br/> at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)<br/> at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)<br/> at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)<br/> at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)<br/> at
org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)<br/> at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)<br/> at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)<br/> at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)<br/> at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)<br/> at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)<br/> at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)<br/> at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)<br/> at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutio
nOrchestrator.java:147)<br/> at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:127)<br/> at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:90)<br/> at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:55)<br/> at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:102)<br/> at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:54)<br/> at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)<br/> at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86)<br/> at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86)<br/> at org.apache.maven.surefire.junitplatform.LazyLauncher.execute(Lazy
Launcher.java:56)<br/> at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:184)<br/> at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:148)<br/> at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:122)<br/> at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)<br/> at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)<br/> at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)<br/> at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/20/testReport/org.kie.kogito.index.service.graphql.query/InfinispanGraphQLRuntimesQueriesIT/testGetTaskSchema/">org.kie.kogito.index.service.graphql.query.InfinispanGraphQLRuntimesQueriesIT.testGetTaskSchema</a></summary>
<br/>Wanted but not invoked:<br/>kogitoRuntimeClient.getUserTaskSchema(<br/> "http://localhost:8080",<br/> <Capturing argument>,<br/> "jdoe",<br/> [managers, users, IT]<br/>);<br/>-> at org.kie.kogito.index.service.graphql.query.AbstractGraphQLRuntimesQueriesIT.testGetTaskSchema(AbstractGraphQLRuntimesQueriesIT.java:270)<br/>Actually, there were zero interactions with this mock.<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/20/testReport/org.kie.kogito.index.service.graphql.query/InfinispanGraphQLRuntimesQueriesIT/testUpdateUserTaskInstance/">org.kie.kogito.index.service.graphql.query.InfinispanGraphQLRuntimesQueriesIT.testUpdateUserTaskInstance</a></summary>
<br/>Wanted but not invoked:<br/>kogitoRuntimeClient.updateUserTaskInstance(<br/> "http://localhost:8080",<br/> <Capturing argument>,<br/> "jdoe",<br/> [managers, users, IT],<br/> <Capturing argument><br/>);<br/>-> at org.kie.kogito.index.service.graphql.query.AbstractGraphQLRuntimesQueriesIT.testUpdateUserTaskInstance(AbstractGraphQLRuntimesQueriesIT.java:295)<br/>Actually, there were zero interactions with this mock.<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/20/testReport/org.kie.kogito.index.service.graphql.query/InfinispanGraphQLRuntimesQueriesIT/testUpdateUserTaskInstanceAttachment/">org.kie.kogito.index.service.graphql.query.InfinispanGraphQLRuntimesQueriesIT.testUpdateUserTaskInstanceAttachment</a></summary>
<br/>Wanted but not invoked:<br/>kogitoRuntimeClient.updateUserTaskInstanceAttachment(<br/> "http://localhost:8080",<br/> <Capturing argument>,<br/> "jdoe",<br/> [managers, users, IT],<br/> "33a67da7-6d10-4639-8ef1-c936b1120eab",<br/> "attachmentName",<br/> "http://localhost:8080"<br/>);<br/>-> at org.kie.kogito.index.service.graphql.query.AbstractGraphQLRuntimesQueriesIT.testUpdateUserTaskInstanceAttachment(AbstractGraphQLRuntimesQueriesIT.java:456)<br/>Actually, there were zero interactions with this mock.<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/20/testReport/org.kie.kogito.index.service.graphql.query/InfinispanGraphQLRuntimesQueriesIT/testCreateTaskAttachment/">org.kie.kogito.index.service.graphql.query.InfinispanGraphQLRuntimesQueriesIT.testCreateTaskAttachment</a></summary>
<br/>Wanted but not invoked:<br/>kogitoRuntimeClient.createUserTaskInstanceAttachment(<br/> "http://localhost:8080",<br/> <Capturing argument>,<br/> "jdoe",<br/> [managers, users, IT],<br/> "attachment name",<br/> "https://drive.google.com/file/d/1Z_Lipg2jzY9TNewTaskAttachmentUri"<br/>);<br/>-> at org.kie.kogito.index.service.graphql.query.AbstractGraphQLRuntimesQueriesIT.testCreateTaskAttachment(AbstractGraphQLRuntimesQueriesIT.java:421)<br/>Actually, there were zero interactions with this mock.<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/20/testReport/org.kie.kogito.index.service.graphql.query/InfinispanGraphQLRuntimesQueriesIT/testDeleteUserTaskInstanceComment/">org.kie.kogito.index.service.graphql.query.InfinispanGraphQLRuntimesQueriesIT.testDeleteUserTaskInstanceComment</a></summary>
<br/>Wanted but not invoked:<br/>kogitoRuntimeClient.deleteUserTaskInstanceComment(<br/> "http://localhost:8080",<br/> <Capturing argument>,<br/> "jdoe",<br/> [managers, users, IT],<br/> "34d24098-e9dc-4c43-b7f5-1847e259c0ed"<br/>);<br/>-> at org.kie.kogito.index.service.graphql.query.AbstractGraphQLRuntimesQueriesIT.testDeleteUserTaskInstanceComment(AbstractGraphQLRuntimesQueriesIT.java:388)<br/>Actually, there were zero interactions with this mock.<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/20/testReport/org.kie.kogito.index.service.graphql.query/InfinispanGraphQLRuntimesQueriesIT/testUpdateUserTaskInstanceComment/">org.kie.kogito.index.service.graphql.query.InfinispanGraphQLRuntimesQueriesIT.testUpdateUserTaskInstanceComment</a></summary>
<br/>Wanted but not invoked:<br/>kogitoRuntimeClient.updateUserTaskInstanceComment(<br/> "http://localhost:8080",<br/> <Capturing argument>,<br/> "jdoe",<br/> [managers, users, IT],<br/> "4b0b556c-2132-41ef-befd-a0e95e060490",<br/> "commentContent"<br/>);<br/>-> at org.kie.kogito.index.service.graphql.query.AbstractGraphQLRuntimesQueriesIT.testUpdateUserTaskInstanceComment(AbstractGraphQLRuntimesQueriesIT.java:358)<br/>Actually, there were zero interactions with this mock.<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/20/testReport/org.kie.kogito.index.service.graphql.query/InfinispanGraphQLRuntimesQueriesIT/testCreateTaskComment/">org.kie.kogito.index.service.graphql.query.InfinispanGraphQLRuntimesQueriesIT.testCreateTaskComment</a></summary>
<br/>Wanted but not invoked:<br/>kogitoRuntimeClient.createUserTaskInstanceComment(<br/> "http://localhost:8080",<br/> <Capturing argument>,<br/> "jdoe",<br/> [managers, users, IT],<br/> "Comment to add"<br/>);<br/>-> at org.kie.kogito.index.service.graphql.query.AbstractGraphQLRuntimesQueriesIT.testCreateTaskComment(AbstractGraphQLRuntimesQueriesIT.java:326)<br/>Actually, there were zero interactions with this mock.<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/20/testReport/org.kie.kogito.index.service.graphql.query/InfinispanGraphQLRuntimesQueriesIT/testDeleteUserTaskInstanceAttachment/">org.kie.kogito.index.service.graphql.query.InfinispanGraphQLRuntimesQueriesIT.testDeleteUserTaskInstanceAttachment</a></summary>
<br/>Wanted but not invoked:<br/>kogitoRuntimeClient.deleteUserTaskInstanceAttachment(<br/> "http://localhost:8080",<br/> <Capturing argument>,<br/> "jdoe",<br/> [managers, users, IT],<br/> "c77f7bda-dafc-4d6e-84f3-7b0085aae0fe"<br/>);<br/>-> at org.kie.kogito.index.service.graphql.query.AbstractGraphQLRuntimesQueriesIT.testDeleteUserTaskInstanceAttachment(AbstractGraphQLRuntimesQueriesIT.java:487)<br/>Actually, there were zero interactions with this mock.<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/20/testReport/org.kie.kogito.index.service.messaging/InfinispanDomainMessagingHttpConsumerIT/testUserTaskInstanceEvent/">org.kie.kogito.index.service.messaging.InfinispanDomainMessagingHttpConsumerIT.testUserTaskInstanceEvent</a></summary>
Assertion condition defined as a lambda expression in org.kie.kogito.index.service.messaging.AbstractDomainMessagingConsumerIT that uses java.lang.String 1 expectation failed.<br/>JSON path data.Travels[0].id doesn't match.<br/>Expected: is "2308e23d-9998-47e9-a772-a078cf5b891b"<br/> Actual: null<br/> within 30 seconds.
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/20/testReport/org.kie.kogito.index.service.messaging/InfinispanMessagingHttpConsumerIT/testUserTaskInstanceEvent/">org.kie.kogito.index.service.messaging.InfinispanMessagingHttpConsumerIT.testUserTaskInstanceEvent</a></summary>
Assertion condition defined as a lambda expression in org.kie.kogito.index.service.messaging.AbstractMessagingConsumerIT that uses java.lang.String 1 expectation failed.<br/>JSON path data.UserTaskInstances.size() doesn't match.<br/>Expected: is <1><br/> Actual: <0><br/> within 30 seconds.
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/20/testReport/org.kie.kogito.index.oracle.query/UserTaskInstanceEntityQueryIT/testUserTaskInstanceQuery/">org.kie.kogito.index.oracle.query.UserTaskInstanceEntityQueryIT.testUserTaskInstanceQuery</a></summary>
org.hibernate.exception.ConstraintViolationException: could not execute statement
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/20/testReport/org.kie.kogito.index.oracle.storage/UserTaskInstanceStorageIT/testUserTaskInstanceEntity/">org.kie.kogito.index.oracle.storage.UserTaskInstanceStorageIT.testUserTaskInstanceEntity</a></summary>
<br/>expected: 0L<br/> but was: 2L
</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] [KOGITO-9909] Fix concurrency on incoming data-index events adding lock and merge + fix for duplicate key on process definition indexing [incubator-kie-kogito-apps]
Posted by "tiagodolphine (via GitHub)" <gi...@apache.org>.
tiagodolphine commented on code in PR #1906:
URL: https://github.com/apache/incubator-kie-kogito-apps/pull/1906#discussion_r1389442706
##########
data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/storage/AbstractStorage.java:
##########
@@ -84,10 +88,19 @@ public V get(String key) {
}
@Override
- @Transactional
+ @Transactional(REQUIRES_NEW)
public V put(String key, V value) {
- repository.deleteById(key);
- repository.persist(mapToEntity.apply(value));
+ E persistedEntity = repository.findById(key, LockModeType.PESSIMISTIC_WRITE);
Review Comment:
added
--
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] [KOGITO-9909] Fix concurrency on incoming data-index events adding lock and merge + fix for duplicate key on process definition indexing [incubator-kie-kogito-apps]
Posted by "tiagodolphine (via GitHub)" <gi...@apache.org>.
tiagodolphine commented on PR #1906:
URL: https://github.com/apache/incubator-kie-kogito-apps/pull/1906#issuecomment-1782836018
@nmirasch I'll provide an integration test that is missing.
--
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] [KOGITO-9909] Fix concurrency on incoming data-index events adding lock and merge + fix for duplicate key on process definition indexing [incubator-kie-kogito-apps]
Posted by "fjtirado (via GitHub)" <gi...@apache.org>.
fjtirado commented on code in PR #1906:
URL: https://github.com/apache/incubator-kie-kogito-apps/pull/1906#discussion_r1379839239
##########
data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/storage/AbstractStorage.java:
##########
@@ -84,10 +88,19 @@ public V get(String key) {
}
@Override
- @Transactional
+ @Transactional(REQUIRES_NEW)
public V put(String key, V value) {
- repository.deleteById(key);
- repository.persist(mapToEntity.apply(value));
+ E persistedEntity = repository.findById(key, LockModeType.PESSIMISTIC_WRITE);
Review Comment:
As discussed, I would add a comment here explaining why we are not using just merge here.
Reason being that we want to use pessimistic locking just for the update operation
--
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] [KOGITO-9909] Fix concurrency on incoming data-index events adding lock and merge + fix for duplicate key on process definition indexing [incubator-kie-kogito-apps]
Posted by "elguardian (via GitHub)" <gi...@apache.org>.
elguardian commented on code in PR #1906:
URL: https://github.com/apache/incubator-kie-kogito-apps/pull/1906#discussion_r1386264390
##########
data-index/data-index-common/src/main/java/org/kie/kogito/index/service/IndexingService.java:
##########
@@ -69,6 +71,34 @@ public class IndexingService {
Instance<UserTaskInstanceEventMerger> userTaskInstanceMergers;
public void indexProcessInstanceEvent(ProcessInstanceDataEvent<?> event) {
+ //retry in case of rare but possible race condition during the insert for the first registry
+ ProcessInstance pi = executeWithRetry(event, this::handleProcessInstanceEvent, "indexing process instance");
+
+ ProcessDefinition definition = pi.getDefinition();
+
+ if (definition != null && !manager.getProcessDefinitionsCache().containsKey(definition.getKey())) {
+ //retry in case of rare but possible race condition during the insert for the first registry
+ executeWithRetry(definition, this::handleProcessDefinition, "indexing process definition");
Review Comment:
I don't think this is the best place to put this logic. As this belongs to a particular problem in mongo db probably the best place is to fix it in there. I would argue that the logic for this belongs to the common service.
--
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] [KOGITO-9909] Fix concurrency on incoming data-index events adding lock and merge + fix for duplicate key on process definition indexing [incubator-kie-kogito-apps]
Posted by "kie-ci3 (via GitHub)" <gi...@apache.org>.
kie-ci3 commented on PR #1906:
URL: https://github.com/apache/incubator-kie-kogito-apps/pull/1906#issuecomment-1816907348
**PR job** `#37` 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-apps -u https://github.com/apache/incubator-kie-kogito-apps/pull/1906 --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-apps-pr/job/PR-1906/37/display/redirect
**Test results:**
- PASSED: 1929
- FAILED: 56
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-apps-pr/job/PR-1906/37/testReport/org.kie.kogito.it.jobs/JobServiceLeaderIT/___/">org.kie.kogito.it.jobs.JobServiceLeaderIT.(?)</a></summary>
Could not find a valid Docker environment. Please see logs and check configuration
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/37/testReport/org.kie.kogito.it.jobs/CallbackStateTimeoutsIT/PR_check___Build_projects___callbackStateTimeoutsExceeded/">PR check / Build projects / org.kie.kogito.it.jobs.CallbackStateTimeoutsIT.callbackStateTimeoutsExceeded</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.KogitoServiceRandomPortQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/37/testReport/org.kie.kogito.it.jobs/CallbackStateTimeoutsIT/PR_check___Build_projects___callbackStateTimeoutsExceeded/">PR check / Build projects / org.kie.kogito.it.jobs.CallbackStateTimeoutsIT.callbackStateTimeoutsExceeded</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.KogitoServiceRandomPortQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/37/testReport/org.kie.kogito.it.jobs/CallbackStateTimeoutsIT/PR_check___Build_projects___callbackStateTimeoutsExceeded/">PR check / Build projects / org.kie.kogito.it.jobs.CallbackStateTimeoutsIT.callbackStateTimeoutsExceeded</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.KogitoServiceRandomPortQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/37/testReport/org.kie.kogito.it.jobs/MultipleTimerInstancesIT/PR_check___Build_projects___boundaryTimerEvent/">PR check / Build projects / org.kie.kogito.it.jobs.MultipleTimerInstancesIT.boundaryTimerEvent</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.KogitoServiceRandomPortQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/37/testReport/org.kie.kogito.it.jobs/MultipleTimerInstancesIT/PR_check___Build_projects___boundaryTimerEvent/">PR check / Build projects / org.kie.kogito.it.jobs.MultipleTimerInstancesIT.boundaryTimerEvent</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.KogitoServiceRandomPortQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/37/testReport/org.kie.kogito.it.jobs/MultipleTimerInstancesIT/PR_check___Build_projects___boundaryTimerEvent/">PR check / Build projects / org.kie.kogito.it.jobs.MultipleTimerInstancesIT.boundaryTimerEvent</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.KogitoServiceRandomPortQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/37/testReport/org.kie.kogito.it.jobs/MultipleTimerInstancesIT/PR_check___Build_projects___boundaryTimerEvent/">PR check / Build projects / org.kie.kogito.it.jobs.MultipleTimerInstancesIT.boundaryTimerEvent</a></summary>
Failed to load ApplicationContext
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/37/testReport/org.kie.kogito.it.jobs/MultipleTimerInstancesIT/PR_check___Build_projects___timerEvent/">PR check / Build projects / org.kie.kogito.it.jobs.MultipleTimerInstancesIT.timerEvent</a></summary>
Failed to load ApplicationContext
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/37/testReport/org.kie.kogito.it.jobs/ProcessAsyncIT/PR_check___Build_projects___testAsync/">PR check / Build projects / org.kie.kogito.it.jobs.ProcessAsyncIT.testAsync</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.KogitoServiceRandomPortQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/37/testReport/org.kie.kogito.it.jobs/ProcessAsyncIT/PR_check___Build_projects___testAsync/">PR check / Build projects / org.kie.kogito.it.jobs.ProcessAsyncIT.testAsync</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.KogitoServiceRandomPortQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/37/testReport/org.kie.kogito.it.jobs/ProcessAsyncIT/PR_check___Build_projects___testAsync/">PR check / Build projects / org.kie.kogito.it.jobs.ProcessAsyncIT.testAsync</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.KogitoServiceRandomPortQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/37/testReport/org.kie.kogito.it.jobs/ProcessAsyncIT/PR_check___Build_projects___testAsync/">PR check / Build projects / org.kie.kogito.it.jobs.ProcessAsyncIT.testAsync</a></summary>
Failed to load ApplicationContext
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/37/testReport/org.kie.kogito.it.jobs/ProcessTimerIT/PR_check___Build_projects___testDeleteTimerCycle/">PR check / Build projects / org.kie.kogito.it.jobs.ProcessTimerIT.testDeleteTimerCycle</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.KogitoServiceRandomPortQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/37/testReport/org.kie.kogito.it.jobs/ProcessTimerIT/PR_check___Build_projects___testDeleteTimerCycle/">PR check / Build projects / org.kie.kogito.it.jobs.ProcessTimerIT.testDeleteTimerCycle</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.KogitoServiceRandomPortQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/37/testReport/org.kie.kogito.it.jobs/ProcessTimerIT/PR_check___Build_projects___testDeleteTimerCycle/">PR check / Build projects / org.kie.kogito.it.jobs.ProcessTimerIT.testDeleteTimerCycle</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.KogitoServiceRandomPortQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/37/testReport/org.kie.kogito.it.jobs/ProcessTimerIT/PR_check___Build_projects___testDeleteTimerCycle/">PR check / Build projects / org.kie.kogito.it.jobs.ProcessTimerIT.testDeleteTimerCycle</a></summary>
Failed to load ApplicationContext
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/37/testReport/org.kie.kogito.it.jobs/ProcessTimerIT/PR_check___Build_projects___testBoundaryTimersOnTask/">PR check / Build projects / org.kie.kogito.it.jobs.ProcessTimerIT.testBoundaryTimersOnTask</a></summary>
Failed to load ApplicationContext
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/37/testReport/org.kie.kogito.it.jobs/ProcessTimerIT/PR_check___Build_projects___testTimerCycle/">PR check / Build projects / org.kie.kogito.it.jobs.ProcessTimerIT.testTimerCycle</a></summary>
Failed to load ApplicationContext
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/37/testReport/org.kie.kogito.it.jobs/ProcessTimerIT/PR_check___Build_projects___testTimers/">PR check / Build projects / org.kie.kogito.it.jobs.ProcessTimerIT.testTimers</a></summary>
Failed to load ApplicationContext
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/37/testReport/org.kie.kogito.it.jobs/ProcessTimerIT/PR_check___Build_projects___testDeleteBoundaryTimersOnTask/">PR check / Build projects / org.kie.kogito.it.jobs.ProcessTimerIT.testDeleteBoundaryTimersOnTask</a></summary>
Failed to load ApplicationContext
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/37/testReport/org.kie.kogito.it.jobs/ProcessTimerIT/PR_check___Build_projects___testCancelTimer/">PR check / Build projects / org.kie.kogito.it.jobs.ProcessTimerIT.testCancelTimer</a></summary>
Failed to load ApplicationContext
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/37/testReport/org.kie.kogito.it.jobs/SwitchStateTimeoutsIT/PR_check___Build_projects___switchStateEventConditionTimeoutsTransitionTimeoutsExceeded/">PR check / Build projects / org.kie.kogito.it.jobs.SwitchStateTimeoutsIT.switchStateEventConditionTimeoutsTransitionTimeoutsExceeded</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.KogitoServiceRandomPortQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/37/testReport/org.kie.kogito.it.jobs/SwitchStateTimeoutsIT/PR_check___Build_projects___switchStateEventConditionTimeoutsTransitionTimeoutsExceeded/">PR check / Build projects / org.kie.kogito.it.jobs.SwitchStateTimeoutsIT.switchStateEventConditionTimeoutsTransitionTimeoutsExceeded</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.KogitoServiceRandomPortQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/37/testReport/org.kie.kogito.it.jobs/SwitchStateTimeoutsIT/PR_check___Build_projects___switchStateEventConditionTimeoutsTransitionTimeoutsExceeded/">PR check / Build projects / org.kie.kogito.it.jobs.SwitchStateTimeoutsIT.switchStateEventConditionTimeoutsTransitionTimeoutsExceeded</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.KogitoServiceRandomPortQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/37/testReport/org.kie.kogito.it.jobs/WorkflowTimeoutsIT/PR_check___Build_projects___workflowTimeoutExceeded/">PR check / Build projects / org.kie.kogito.it.jobs.WorkflowTimeoutsIT.workflowTimeoutExceeded</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.KogitoServiceRandomPortQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/37/testReport/org.kie.kogito.it.jobs/WorkflowTimeoutsIT/PR_check___Build_projects___workflowTimeoutExceeded/">PR check / Build projects / org.kie.kogito.it.jobs.WorkflowTimeoutsIT.workflowTimeoutExceeded</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.KogitoServiceRandomPortQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/37/testReport/org.kie.kogito.it.jobs/WorkflowTimeoutsIT/PR_check___Build_projects___workflowTimeoutExceeded/">PR check / Build projects / org.kie.kogito.it.jobs.WorkflowTimeoutsIT.workflowTimeoutExceeded</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.KogitoServiceRandomPortQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/37/testReport/org.kie.kogito.index.mongodb.query/DomainQueryIT/test/">org.kie.kogito.index.mongodb.query.DomainQueryIT.test</a></summary>
java.lang.reflect.InvocationTargetException
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/37/testReport/org.kie.kogito.index.oracle.mapper/JobEntityMapperIT/testMapToModel/">org.kie.kogito.index.oracle.mapper.JobEntityMapperIT.testMapToModel</a></summary>
java.lang.reflect.InvocationTargetException
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/37/testReport/org.kie.kogito.index.postgresql.reporting/ProcessInstanceVariableMappingIT/testProcessInstanceVariableMapping_Partitioned/">org.kie.kogito.index.postgresql.reporting.ProcessInstanceVariableMappingIT.testProcessInstanceVariableMapping_Partitioned</a></summary>
java.lang.reflect.InvocationTargetException
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/37/testReport/org.kie.kogito.index.postgresql.mapper/JobEntityMapperIT/testMapToModel/">org.kie.kogito.index.postgresql.mapper.JobEntityMapperIT.testMapToModel</a></summary>
java.lang.reflect.InvocationTargetException
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/37/testReport/org.kie.kogito.addons.quarkus.data.index.it/InfinispanQuarkusAddonDataIndexPersistenceIT/PR_check___Build_projects___testDataIndexAddon/">PR check / Build projects / org.kie.kogito.addons.quarkus.data.index.it.InfinispanQuarkusAddonDataIndexPersistenceIT.testDataIndexAddon</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.index.test.quarkus.http.DataIndexInfinispanHttpQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/37/testReport/org.kie.kogito.addons.quarkus.data.index.it/InfinispanQuarkusAddonDataIndexPersistenceIT/PR_check___Build_projects___testDataIndexAddon/">PR check / Build projects / org.kie.kogito.addons.quarkus.data.index.it.InfinispanQuarkusAddonDataIndexPersistenceIT.testDataIndexAddon</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.index.test.quarkus.http.DataIndexInfinispanHttpQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/37/testReport/org.kie.kogito.addons.quarkus.data.index.it/MongoQuarkusAddonDataIndexPersistenceIT/PR_check___Build_projects___testDataIndexAddon/">PR check / Build projects / org.kie.kogito.addons.quarkus.data.index.it.MongoQuarkusAddonDataIndexPersistenceIT.testDataIndexAddon</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.index.test.quarkus.http.DataIndexMongoDBHttpQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/37/testReport/org.kie.kogito.addons.quarkus.data.index.it/MongoQuarkusAddonDataIndexPersistenceIT/PR_check___Build_projects___testDataIndexAddon/">PR check / Build projects / org.kie.kogito.addons.quarkus.data.index.it.MongoQuarkusAddonDataIndexPersistenceIT.testDataIndexAddon</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.index.test.quarkus.http.DataIndexMongoDBHttpQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/37/testReport/org.kie.kogito.addons.quarkus.data.index.it/PostgreSQLQuarkusAddonDataIndexPersistenceIT/PR_check___Build_projects___testDataIndexAddon/">PR check / Build projects / org.kie.kogito.addons.quarkus.data.index.it.PostgreSQLQuarkusAddonDataIndexPersistenceIT.testDataIndexAddon</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.index.test.quarkus.http.DataIndexPostgreSqlHttpQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/37/testReport/org.kie.kogito.addons.quarkus.data.index.it/PostgreSQLQuarkusAddonDataIndexPersistenceIT/PR_check___Build_projects___testDataIndexAddon/">PR check / Build projects / org.kie.kogito.addons.quarkus.data.index.it.PostgreSQLQuarkusAddonDataIndexPersistenceIT.testDataIndexAddon</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.index.test.quarkus.http.DataIndexPostgreSqlHttpQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/37/testReport/org.kie.kogito.addons.quarkus.data.index.it/InfinispanQuarkusAddonDataIndexIT/PR_check___Build_projects___testDataIndexAddon/">PR check / Build projects / org.kie.kogito.addons.quarkus.data.index.it.InfinispanQuarkusAddonDataIndexIT.testDataIndexAddon</a></summary>
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors<br/> [error]: Build step io.quarkus.infinispan.client.deployment.devservices.InfinispanDevServiceProcessor#startInfinispanContainers threw an exception: java.lang.RuntimeException: org.testcontainers.containers.ContainerFetchException: Can't get Docker image: RemoteDockerImage(imageName=quay.io/infinispan/server:14.0, imagePullPolicy=DefaultPullPolicy(), imageNameSubstitutor=org.testcontainers.utility.ImageNameSubstitutor$LogWrappedImageNameSubstitutor@2566123a)<br/> at io.quarkus.infinispan.client.deployment.devservices.InfinispanDevServiceProcessor.startInfinispanContainers(InfinispanDevServiceProcessor.java:110)<br/> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br/> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)<br/> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:43)<br/> at java.base/java.lang.reflect.Method.invoke(Method.java:566)<br/> at io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:909)<br/> at io.quarkus.builder.BuildContext.run(BuildContext.java:281)<br/> at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)<br/> at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2449)<br/> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1478)<br/> at java.base/java.lang.Thread.run(Thread.java:829)<br/> at org.jboss.threads.JBossThread.run(JBossThread.java:501)<br/>Caused by: org.testcontainers.containers.ContainerFetchException: Can't get Docker image: RemoteDockerImage(imageName=quay.io/infinispan/server:14.0, imagePullPolicy=DefaultPullPolicy(), imageNameSubstitutor=org.testcontainers.utility.ImageNameSubstitutor$LogWrappedImageNameSubstitutor@2566123a)<br/> at org.testcontainers.containers.GenericContainer.getDoc
kerImageName(GenericContainer.java:1371)<br/> at org.testcontainers.containers.GenericContainer.logger(GenericContainer.java:651)<br/> at org.infinispan.server.test.core.InfinispanContainer.<init>(InfinispanContainer.java:51)<br/> at org.infinispan.server.test.core.InfinispanContainer.<init>(InfinispanContainer.java:38)<br/> at io.quarkus.infinispan.client.deployment.devservices.InfinispanDevServiceProcessor$QuarkusInfinispanContainer.<init>(InfinispanDevServiceProcessor.java:201)<br/> at io.quarkus.infinispan.client.deployment.devservices.InfinispanDevServiceProcessor.lambda$startContainer$1(InfinispanDevServiceProcessor.java:162)<br/> at java.base/java.util.Optional.orElseGet(Optional.java:369)<br/> at io.quarkus.infinispan.client.deployment.devservices.InfinispanDevServiceProcessor.startContainer(InfinispanDevServiceProcessor.java:175)<br/> at io.quarkus.infinispan.client.deployment.devservices.InfinispanDevServiceProcessor.startInfinispanContainers(InfinispanDevServiceProcessor.
java:97)<br/> ... 11 more<br/>Caused by: java.lang.IllegalStateException: Previous attempts to find a Docker environment failed. Will not retry. Please see logs and check configuration<br/> at org.testcontainers.dockerclient.DockerClientProviderStrategy.getFirstValidStrategy(DockerClientProviderStrategy.java:212)<br/> at org.testcontainers.DockerClientFactory.getOrInitializeStrategy(DockerClientFactory.java:150)<br/> at org.testcontainers.DockerClientFactory.client(DockerClientFactory.java:186)<br/> at org.testcontainers.images.LocalImagesCache.get(LocalImagesCache.java:31)<br/> at org.testcontainers.images.AbstractImagePullPolicy.shouldPull(AbstractImagePullPolicy.java:18)<br/> at org.testcontainers.images.RemoteDockerImage.resolve(RemoteDockerImage.java:70)<br/> at org.testcontainers.images.RemoteDockerImage.resolve(RemoteDockerImage.java:28)<br/> at org.testcontainers.utility.LazyFuture.getResolvedValue(LazyFuture.java:17)<br/> at org.testcontainers.utility.LazyFuture.get(LazyFut
ure.java:39)<br/> at org.testcontainers.containers.GenericContainer.getDockerImageName(GenericContainer.java:1369)<br/> ... 19 more<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/37/testReport/org.kie.kogito.addons.quarkus.data.index.it/InfinispanQuarkusAddonDataIndexIT/PR_check___Build_projects___testDataIndexAddon/">PR check / Build projects / org.kie.kogito.addons.quarkus.data.index.it.InfinispanQuarkusAddonDataIndexIT.testDataIndexAddon</a></summary>
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors<br/> [error]: Build step io.quarkus.infinispan.client.deployment.devservices.InfinispanDevServiceProcessor#startInfinispanContainers threw an exception: java.lang.RuntimeException: org.testcontainers.containers.ContainerFetchException: Can't get Docker image: RemoteDockerImage(imageName=quay.io/infinispan/server:14.0, imagePullPolicy=DefaultPullPolicy(), imageNameSubstitutor=org.testcontainers.utility.ImageNameSubstitutor$LogWrappedImageNameSubstitutor@4eb9849b)<br/> at io.quarkus.infinispan.client.deployment.devservices.InfinispanDevServiceProcessor.startInfinispanContainers(InfinispanDevServiceProcessor.java:110)<br/> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br/> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)<br/> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:43)<br/> at java.base/java.lang.reflect.Method.invoke(Method.java:566)<br/> at io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:909)<br/> at io.quarkus.builder.BuildContext.run(BuildContext.java:281)<br/> at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)<br/> at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2449)<br/> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1478)<br/> at java.base/java.lang.Thread.run(Thread.java:829)<br/> at org.jboss.threads.JBossThread.run(JBossThread.java:501)<br/>Caused by: org.testcontainers.containers.ContainerFetchException: Can't get Docker image: RemoteDockerImage(imageName=quay.io/infinispan/server:14.0, imagePullPolicy=DefaultPullPolicy(), imageNameSubstitutor=org.testcontainers.utility.ImageNameSubstitutor$LogWrappedImageNameSubstitutor@4eb9849b)<br/> at org.testcontainers.containers.GenericContainer.getDoc
kerImageName(GenericContainer.java:1371)<br/> at org.testcontainers.containers.GenericContainer.logger(GenericContainer.java:651)<br/> at org.infinispan.server.test.core.InfinispanContainer.<init>(InfinispanContainer.java:51)<br/> at org.infinispan.server.test.core.InfinispanContainer.<init>(InfinispanContainer.java:38)<br/> at io.quarkus.infinispan.client.deployment.devservices.InfinispanDevServiceProcessor$QuarkusInfinispanContainer.<init>(InfinispanDevServiceProcessor.java:201)<br/> at io.quarkus.infinispan.client.deployment.devservices.InfinispanDevServiceProcessor.lambda$startContainer$1(InfinispanDevServiceProcessor.java:162)<br/> at java.base/java.util.Optional.orElseGet(Optional.java:369)<br/> at io.quarkus.infinispan.client.deployment.devservices.InfinispanDevServiceProcessor.startContainer(InfinispanDevServiceProcessor.java:175)<br/> at io.quarkus.infinispan.client.deployment.devservices.InfinispanDevServiceProcessor.startInfinispanContainers(InfinispanDevServiceProcessor.
java:97)<br/> ... 11 more<br/>Caused by: java.lang.IllegalStateException: Previous attempts to find a Docker environment failed. Will not retry. Please see logs and check configuration<br/> at org.testcontainers.dockerclient.DockerClientProviderStrategy.getFirstValidStrategy(DockerClientProviderStrategy.java:212)<br/> at org.testcontainers.DockerClientFactory.getOrInitializeStrategy(DockerClientFactory.java:150)<br/> at org.testcontainers.DockerClientFactory.client(DockerClientFactory.java:186)<br/> at org.testcontainers.images.LocalImagesCache.get(LocalImagesCache.java:31)<br/> at org.testcontainers.images.AbstractImagePullPolicy.shouldPull(AbstractImagePullPolicy.java:18)<br/> at org.testcontainers.images.RemoteDockerImage.resolve(RemoteDockerImage.java:70)<br/> at org.testcontainers.images.RemoteDockerImage.resolve(RemoteDockerImage.java:28)<br/> at org.testcontainers.utility.LazyFuture.getResolvedValue(LazyFuture.java:17)<br/> at org.testcontainers.utility.LazyFuture.get(LazyFut
ure.java:39)<br/> at org.testcontainers.containers.GenericContainer.getDockerImageName(GenericContainer.java:1369)<br/> ... 19 more<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/37/testReport/org.kie.kogito.addons.quarkus.data.index.it/MongoQuarkusAddonDataIndexIT/PR_check___Build_projects___testDataIndexAddon/">PR check / Build projects / org.kie.kogito.addons.quarkus.data.index.it.MongoQuarkusAddonDataIndexIT.testDataIndexAddon</a></summary>
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors<br/> [error]: Build step io.quarkus.mongodb.deployment.DevServicesMongoProcessor#startMongo threw an exception: java.lang.RuntimeException: java.lang.IllegalStateException: Previous attempts to find a Docker environment failed. Will not retry. Please see logs and check configuration<br/> at io.quarkus.mongodb.deployment.DevServicesMongoProcessor.startMongo(DevServicesMongoProcessor.java:106)<br/> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br/> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)<br/> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br/> at java.base/java.lang.reflect.Method.invoke(Method.java:566)<br/> at io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:909)<br/> at io.quarkus.builder.BuildContext.r
un(BuildContext.java:281)<br/> at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)<br/> at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2449)<br/> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1478)<br/> at java.base/java.lang.Thread.run(Thread.java:829)<br/> at org.jboss.threads.JBossThread.run(JBossThread.java:501)<br/>Caused by: java.lang.IllegalStateException: Previous attempts to find a Docker environment failed. Will not retry. Please see logs and check configuration<br/> at org.testcontainers.dockerclient.DockerClientProviderStrategy.getFirstValidStrategy(DockerClientProviderStrategy.java:212)<br/> at org.testcontainers.DockerClientFactory.getOrInitializeStrategy(DockerClientFactory.java:150)<br/> at org.testcontainers.DockerClientFactory.client(DockerClientFactory.java:186)<br/> at org.testcontainers.DockerClientFactory$1.getDockerClient(DockerClientFactory.java:104)<br/> at com.github.do
ckerjava.api.DockerClientDelegate.authConfig(DockerClientDelegate.java:108)<br/> at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:321)<br/> at io.quarkus.mongodb.deployment.DevServicesMongoProcessor.startMongo(DevServicesMongoProcessor.java:171)<br/> at io.quarkus.mongodb.deployment.DevServicesMongoProcessor.startMongo(DevServicesMongoProcessor.java:96)<br/> ... 11 more<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/37/testReport/org.kie.kogito.addons.quarkus.data.index.it/MongoQuarkusAddonDataIndexIT/PR_check___Build_projects___testDataIndexAddon/">PR check / Build projects / org.kie.kogito.addons.quarkus.data.index.it.MongoQuarkusAddonDataIndexIT.testDataIndexAddon</a></summary>
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors<br/> [error]: Build step io.quarkus.mongodb.deployment.DevServicesMongoProcessor#startMongo threw an exception: java.lang.RuntimeException: java.lang.IllegalStateException: Previous attempts to find a Docker environment failed. Will not retry. Please see logs and check configuration<br/> at io.quarkus.mongodb.deployment.DevServicesMongoProcessor.startMongo(DevServicesMongoProcessor.java:106)<br/> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br/> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)<br/> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br/> at java.base/java.lang.reflect.Method.invoke(Method.java:566)<br/> at io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:909)<br/> at io.quarkus.builder.BuildContext.r
un(BuildContext.java:281)<br/> at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)<br/> at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2449)<br/> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1478)<br/> at java.base/java.lang.Thread.run(Thread.java:829)<br/> at org.jboss.threads.JBossThread.run(JBossThread.java:501)<br/>Caused by: java.lang.IllegalStateException: Previous attempts to find a Docker environment failed. Will not retry. Please see logs and check configuration<br/> at org.testcontainers.dockerclient.DockerClientProviderStrategy.getFirstValidStrategy(DockerClientProviderStrategy.java:212)<br/> at org.testcontainers.DockerClientFactory.getOrInitializeStrategy(DockerClientFactory.java:150)<br/> at org.testcontainers.DockerClientFactory.client(DockerClientFactory.java:186)<br/> at org.testcontainers.DockerClientFactory$1.getDockerClient(DockerClientFactory.java:104)<br/> at com.github.do
ckerjava.api.DockerClientDelegate.authConfig(DockerClientDelegate.java:108)<br/> at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:321)<br/> at io.quarkus.mongodb.deployment.DevServicesMongoProcessor.startMongo(DevServicesMongoProcessor.java:171)<br/> at io.quarkus.mongodb.deployment.DevServicesMongoProcessor.startMongo(DevServicesMongoProcessor.java:96)<br/> ... 11 more<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/37/testReport/org.kie.kogito.addons.quarkus.data.index.it/PostgreSQLQuarkusAddonDataIndexIT/PR_check___Build_projects___testDataIndexAddon/">PR check / Build projects / org.kie.kogito.addons.quarkus.data.index.it.PostgreSQLQuarkusAddonDataIndexIT.testDataIndexAddon</a></summary>
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors<br/> [error]: Build step io.quarkus.datasource.deployment.devservices.DevServicesDatasourceProcessor#launchDatabases threw an exception: java.lang.RuntimeException: java.lang.IllegalStateException: Previous attempts to find a Docker environment failed. Will not retry. Please see logs and check configuration<br/> at io.quarkus.datasource.deployment.devservices.DevServicesDatasourceProcessor.startDevDb(DevServicesDatasourceProcessor.java:345)<br/> at io.quarkus.datasource.deployment.devservices.DevServicesDatasourceProcessor.launchDatabases(DevServicesDatasourceProcessor.java:136)<br/> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br/> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)<br/> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
<br/> at java.base/java.lang.reflect.Method.invoke(Method.java:566)<br/> at io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:909)<br/> at io.quarkus.builder.BuildContext.run(BuildContext.java:281)<br/> at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)<br/> at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2449)<br/> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1478)<br/> at java.base/java.lang.Thread.run(Thread.java:829)<br/> at org.jboss.threads.JBossThread.run(JBossThread.java:501)<br/>Caused by: java.lang.IllegalStateException: Previous attempts to find a Docker environment failed. Will not retry. Please see logs and check configuration<br/> at org.testcontainers.dockerclient.DockerClientProviderStrategy.getFirstValidStrategy(DockerClientProviderStrategy.java:212)<br/> at org.testcontainers.DockerClientFactory.getOrInitializeStrategy(DockerClientFactory.java:150)<br/> at o
rg.testcontainers.DockerClientFactory.client(DockerClientFactory.java:186)<br/> at org.testcontainers.DockerClientFactory$1.getDockerClient(DockerClientFactory.java:104)<br/> at com.github.dockerjava.api.DockerClientDelegate.authConfig(DockerClientDelegate.java:108)<br/> at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:321)<br/> at io.quarkus.devservices.postgresql.deployment.PostgresqlDevServicesProcessor$1.startDatabase(PostgresqlDevServicesProcessor.java:65)<br/> at io.quarkus.datasource.deployment.devservices.DevServicesDatasourceProcessor.startDevDb(DevServicesDatasourceProcessor.java:282)<br/> ... 12 more<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/37/testReport/org.kie.kogito.addons.quarkus.data.index.it/PostgreSQLQuarkusAddonDataIndexIT/PR_check___Build_projects___testDataIndexAddon/">PR check / Build projects / org.kie.kogito.addons.quarkus.data.index.it.PostgreSQLQuarkusAddonDataIndexIT.testDataIndexAddon</a></summary>
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors<br/> [error]: Build step io.quarkus.datasource.deployment.devservices.DevServicesDatasourceProcessor#launchDatabases threw an exception: java.lang.RuntimeException: java.lang.IllegalStateException: Previous attempts to find a Docker environment failed. Will not retry. Please see logs and check configuration<br/> at io.quarkus.datasource.deployment.devservices.DevServicesDatasourceProcessor.startDevDb(DevServicesDatasourceProcessor.java:345)<br/> at io.quarkus.datasource.deployment.devservices.DevServicesDatasourceProcessor.launchDatabases(DevServicesDatasourceProcessor.java:136)<br/> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br/> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)<br/> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
<br/> at java.base/java.lang.reflect.Method.invoke(Method.java:566)<br/> at io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:909)<br/> at io.quarkus.builder.BuildContext.run(BuildContext.java:281)<br/> at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)<br/> at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2449)<br/> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1478)<br/> at java.base/java.lang.Thread.run(Thread.java:829)<br/> at org.jboss.threads.JBossThread.run(JBossThread.java:501)<br/>Caused by: java.lang.IllegalStateException: Previous attempts to find a Docker environment failed. Will not retry. Please see logs and check configuration<br/> at org.testcontainers.dockerclient.DockerClientProviderStrategy.getFirstValidStrategy(DockerClientProviderStrategy.java:212)<br/> at org.testcontainers.DockerClientFactory.getOrInitializeStrategy(DockerClientFactory.java:150)<br/> at o
rg.testcontainers.DockerClientFactory.client(DockerClientFactory.java:186)<br/> at org.testcontainers.DockerClientFactory$1.getDockerClient(DockerClientFactory.java:104)<br/> at com.github.dockerjava.api.DockerClientDelegate.authConfig(DockerClientDelegate.java:108)<br/> at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:321)<br/> at io.quarkus.devservices.postgresql.deployment.PostgresqlDevServicesProcessor$1.startDatabase(PostgresqlDevServicesProcessor.java:65)<br/> at io.quarkus.datasource.deployment.devservices.DevServicesDatasourceProcessor.startDevDb(DevServicesDatasourceProcessor.java:282)<br/> ... 12 more<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/37/testReport/org.kie.kogito.explainability.rest/KeycloakExplainabilityServiceIT/shouldReturnUnauthorized/">org.kie.kogito.explainability.rest.KeycloakExplainabilityServiceIT.shouldReturnUnauthorized</a></summary>
java.lang.reflect.InvocationTargetException
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/37/testReport/org.kie.kogito.jobs.service.resource/KeycloakJobServiceTest/___/">org.kie.kogito.jobs.service.resource.KeycloakJobServiceTest.(?)</a></summary>
java.lang.reflect.InvocationTargetException
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/37/testReport/org.kie.kogito.persistence.infinispan.cache/InfinispanStorageIT/testGet/">org.kie.kogito.persistence.infinispan.cache.InfinispanStorageIT.testGet</a></summary>
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors<br/> [error]: Build step io.quarkus.infinispan.client.deployment.devservices.InfinispanDevServiceProcessor#startInfinispanContainers threw an exception: java.lang.RuntimeException: org.testcontainers.containers.ContainerFetchException: Can't get Docker image: RemoteDockerImage(imageName=quay.io/infinispan/server:14.0, imagePullPolicy=DefaultPullPolicy(), imageNameSubstitutor=org.testcontainers.utility.ImageNameSubstitutor$ChainedImageNameSubstitutor@130171a1)<br/> at io.quarkus.infinispan.client.deployment.devservices.InfinispanDevServiceProcessor.startInfinispanContainers(InfinispanDevServiceProcessor.java:110)<br/> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br/> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)<br/> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Del
egatingMethodAccessorImpl.java:43)<br/> at java.base/java.lang.reflect.Method.invoke(Method.java:566)<br/> at io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:909)<br/> at io.quarkus.builder.BuildContext.run(BuildContext.java:281)<br/> at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)<br/> at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2449)<br/> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1478)<br/> at java.base/java.lang.Thread.run(Thread.java:829)<br/> at org.jboss.threads.JBossThread.run(JBossThread.java:501)<br/>Caused by: org.testcontainers.containers.ContainerFetchException: Can't get Docker image: RemoteDockerImage(imageName=quay.io/infinispan/server:14.0, imagePullPolicy=DefaultPullPolicy(), imageNameSubstitutor=org.testcontainers.utility.ImageNameSubstitutor$ChainedImageNameSubstitutor@130171a1)<br/> at org.testcontainers.containers.GenericContainer.getDockerIma
geName(GenericContainer.java:1371)<br/> at org.testcontainers.containers.GenericContainer.logger(GenericContainer.java:651)<br/> at org.infinispan.server.test.core.InfinispanContainer.<init>(InfinispanContainer.java:51)<br/> at org.infinispan.server.test.core.InfinispanContainer.<init>(InfinispanContainer.java:38)<br/> at io.quarkus.infinispan.client.deployment.devservices.InfinispanDevServiceProcessor$QuarkusInfinispanContainer.<init>(InfinispanDevServiceProcessor.java:201)<br/> at io.quarkus.infinispan.client.deployment.devservices.InfinispanDevServiceProcessor.lambda$startContainer$1(InfinispanDevServiceProcessor.java:162)<br/> at java.base/java.util.Optional.orElseGet(Optional.java:369)<br/> at io.quarkus.infinispan.client.deployment.devservices.InfinispanDevServiceProcessor.startContainer(InfinispanDevServiceProcessor.java:175)<br/> at io.quarkus.infinispan.client.deployment.devservices.InfinispanDevServiceProcessor.startInfinispanContainers(InfinispanDevServiceProcessor.java:9
7)<br/> ... 11 more<br/>Caused by: java.lang.IllegalStateException: Previous attempts to find a Docker environment failed. Will not retry. Please see logs and check configuration<br/> at org.testcontainers.dockerclient.DockerClientProviderStrategy.getFirstValidStrategy(DockerClientProviderStrategy.java:212)<br/> at org.testcontainers.DockerClientFactory.getOrInitializeStrategy(DockerClientFactory.java:150)<br/> at org.testcontainers.DockerClientFactory.client(DockerClientFactory.java:186)<br/> at org.testcontainers.images.LocalImagesCache.get(LocalImagesCache.java:31)<br/> at org.testcontainers.images.AbstractImagePullPolicy.shouldPull(AbstractImagePullPolicy.java:18)<br/> at org.testcontainers.images.RemoteDockerImage.resolve(RemoteDockerImage.java:70)<br/> at org.testcontainers.images.RemoteDockerImage.resolve(RemoteDockerImage.java:28)<br/> at org.testcontainers.utility.LazyFuture.getResolvedValue(LazyFuture.java:17)<br/> at org.testcontainers.utility.LazyFuture.get(LazyFuture.ja
va:39)<br/> at org.testcontainers.containers.GenericContainer.getDockerImageName(GenericContainer.java:1369)<br/> ... 19 more<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/37/testReport/org.kie.kogito.persistence.mongodb/HealthCheckIT/testHealthCheck/">org.kie.kogito.persistence.mongodb.HealthCheckIT.testHealthCheck</a></summary>
java.lang.reflect.InvocationTargetException
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/37/testReport/org.kie.kogito.persistence.oracle/OracleStorageServiceIT/testQuery_Equal/">org.kie.kogito.persistence.oracle.OracleStorageServiceIT.testQuery_Equal</a></summary>
java.lang.reflect.InvocationTargetException
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/37/testReport/org.kie.kogito.persistence.postgresql/PostgresStorageServiceIT/testQuery_Equal/">org.kie.kogito.persistence.postgresql.PostgresStorageServiceIT.testQuery_Equal</a></summary>
java.lang.reflect.InvocationTargetException
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/37/testReport/org.kie.kogito.persistence.postgresql.reporting/BasicTypeMappingIT/testBasicTypeMappingDelete/">org.kie.kogito.persistence.postgresql.reporting.BasicTypeMappingIT.testBasicTypeMappingDelete</a></summary>
java.lang.reflect.InvocationTargetException
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/37/testReport/org.kie.kogito.security/KeycloakSecurityCommonsServiceIT/meTest/">org.kie.kogito.security.KeycloakSecurityCommonsServiceIT.meTest</a></summary>
java.lang.reflect.InvocationTargetException
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/37/testReport/org.kie.kogito.trusty.ui/StaticContentTest/testIndexHtml/">org.kie.kogito.trusty.ui.StaticContentTest.testIndexHtml</a></summary>
java.lang.reflect.InvocationTargetException
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/37/testReport/org.kie.kogito.trusty.service.common/KeycloakTrustyServiceIT/___/">org.kie.kogito.trusty.service.common.KeycloakTrustyServiceIT.(?)</a></summary>
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors<br/> [error]: Build step io.quarkus.kafka.client.deployment.DevServicesKafkaProcessor#startKafkaDevService threw an exception: java.lang.RuntimeException: java.lang.IllegalStateException: Previous attempts to find a Docker environment failed. Will not retry. Please see logs and check configuration<br/> at io.quarkus.kafka.client.deployment.DevServicesKafkaProcessor.startKafkaDevService(DevServicesKafkaProcessor.java:105)<br/> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br/> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)<br/> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br/> at java.base/java.lang.reflect.Method.invoke(Method.java:566)<br/> at io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:909)<br/> at io.
quarkus.builder.BuildContext.run(BuildContext.java:281)<br/> at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)<br/> at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2449)<br/> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1478)<br/> at java.base/java.lang.Thread.run(Thread.java:829)<br/> at org.jboss.threads.JBossThread.run(JBossThread.java:501)<br/>Caused by: java.lang.IllegalStateException: Previous attempts to find a Docker environment failed. Will not retry. Please see logs and check configuration<br/> at org.testcontainers.dockerclient.DockerClientProviderStrategy.getFirstValidStrategy(DockerClientProviderStrategy.java:212)<br/> at org.testcontainers.DockerClientFactory.getOrInitializeStrategy(DockerClientFactory.java:150)<br/> at org.testcontainers.DockerClientFactory.client(DockerClientFactory.java:186)<br/> at org.testcontainers.DockerClientFactory$1.getDockerClient(DockerClientFactory.j
ava:104)<br/> at com.github.dockerjava.api.DockerClientDelegate.authConfig(DockerClientDelegate.java:108)<br/> at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:321)<br/> at io.quarkus.kafka.client.deployment.DevServicesKafkaProcessor.lambda$startKafka$5(DevServicesKafkaProcessor.java:236)<br/> at java.base/java.util.Optional.orElseGet(Optional.java:369)<br/> at io.quarkus.kafka.client.deployment.DevServicesKafkaProcessor.startKafka(DevServicesKafkaProcessor.java:282)<br/> at io.quarkus.kafka.client.deployment.DevServicesKafkaProcessor.startKafkaDevService(DevServicesKafkaProcessor.java:95)<br/> ... 11 more<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/37/testReport/org.kie.kogito.trusty.service.common.api/DecisionsApiV1IT/testGetExecutionById/">org.kie.kogito.trusty.service.common.api.DecisionsApiV1IT.testGetExecutionById</a></summary>
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors<br/> [error]: Build step io.quarkus.kafka.client.deployment.DevServicesKafkaProcessor#startKafkaDevService threw an exception: java.lang.RuntimeException: java.lang.IllegalStateException: Previous attempts to find a Docker environment failed. Will not retry. Please see logs and check configuration<br/> at io.quarkus.kafka.client.deployment.DevServicesKafkaProcessor.startKafkaDevService(DevServicesKafkaProcessor.java:105)<br/> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br/> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)<br/> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br/> at java.base/java.lang.reflect.Method.invoke(Method.java:566)<br/> at io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:909)<br/> at io.
quarkus.builder.BuildContext.run(BuildContext.java:281)<br/> at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)<br/> at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2449)<br/> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1478)<br/> at java.base/java.lang.Thread.run(Thread.java:829)<br/> at org.jboss.threads.JBossThread.run(JBossThread.java:501)<br/>Caused by: java.lang.IllegalStateException: Previous attempts to find a Docker environment failed. Will not retry. Please see logs and check configuration<br/> at org.testcontainers.dockerclient.DockerClientProviderStrategy.getFirstValidStrategy(DockerClientProviderStrategy.java:212)<br/> at org.testcontainers.DockerClientFactory.getOrInitializeStrategy(DockerClientFactory.java:150)<br/> at org.testcontainers.DockerClientFactory.client(DockerClientFactory.java:186)<br/> at org.testcontainers.DockerClientFactory$1.getDockerClient(DockerClientFactory.j
ava:104)<br/> at com.github.dockerjava.api.DockerClientDelegate.authConfig(DockerClientDelegate.java:108)<br/> at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:321)<br/> at io.quarkus.kafka.client.deployment.DevServicesKafkaProcessor.lambda$startKafka$5(DevServicesKafkaProcessor.java:236)<br/> at java.base/java.util.Optional.orElseGet(Optional.java:369)<br/> at io.quarkus.kafka.client.deployment.DevServicesKafkaProcessor.startKafka(DevServicesKafkaProcessor.java:282)<br/> at io.quarkus.kafka.client.deployment.DevServicesKafkaProcessor.startKafkaDevService(DevServicesKafkaProcessor.java:95)<br/> ... 11 more<br/>
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/37/testReport/org.kie.kogito.trusty.service.redis/RedisTrustyServiceIT/testStoreExplainabilityResult_Counterfactual/">org.kie.kogito.trusty.service.redis.RedisTrustyServiceIT.testStoreExplainabilityResult_Counterfactual</a></summary>
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors<br/> [error]: Build step io.quarkus.kafka.client.deployment.DevServicesKafkaProcessor#startKafkaDevService threw an exception: java.lang.RuntimeException: java.lang.IllegalStateException: Previous attempts to find a Docker environment failed. Will not retry. Please see logs and check configuration<br/> at io.quarkus.kafka.client.deployment.DevServicesKafkaProcessor.startKafkaDevService(DevServicesKafkaProcessor.java:105)<br/> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br/> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)<br/> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br/> at java.base/java.lang.reflect.Method.invoke(Method.java:566)<br/> at io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:909)<br/> at io.
quarkus.builder.BuildContext.run(BuildContext.java:281)<br/> at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18)<br/> at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2449)<br/> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1478)<br/> at java.base/java.lang.Thread.run(Thread.java:829)<br/> at org.jboss.threads.JBossThread.run(JBossThread.java:501)<br/>Caused by: java.lang.IllegalStateException: Previous attempts to find a Docker environment failed. Will not retry. Please see logs and check configuration<br/> at org.testcontainers.dockerclient.DockerClientProviderStrategy.getFirstValidStrategy(DockerClientProviderStrategy.java:212)<br/> at org.testcontainers.DockerClientFactory.getOrInitializeStrategy(DockerClientFactory.java:150)<br/> at org.testcontainers.DockerClientFactory.client(DockerClientFactory.java:186)<br/> at org.testcontainers.DockerClientFactory$1.getDockerClient(DockerClientFactory.j
ava:104)<br/> at com.github.dockerjava.api.DockerClientDelegate.authConfig(DockerClientDelegate.java:108)<br/> at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:321)<br/> at io.quarkus.kafka.client.deployment.DevServicesKafkaProcessor.lambda$startKafka$5(DevServicesKafkaProcessor.java:236)<br/> at java.base/java.util.Optional.orElseGet(Optional.java:369)<br/> at io.quarkus.kafka.client.deployment.DevServicesKafkaProcessor.startKafka(DevServicesKafkaProcessor.java:282)<br/> at io.quarkus.kafka.client.deployment.DevServicesKafkaProcessor.startKafkaDevService(DevServicesKafkaProcessor.java:95)<br/> ... 11 more<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] [KOGITO-9909] Fix concurrency on incoming data-index events adding lock and merge + fix for duplicate key on process definition indexing [incubator-kie-kogito-apps]
Posted by "tiagodolphine (via GitHub)" <gi...@apache.org>.
tiagodolphine commented on code in PR #1906:
URL: https://github.com/apache/incubator-kie-kogito-apps/pull/1906#discussion_r1389443785
##########
data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/storage/AbstractStorage.java:
##########
@@ -84,10 +88,19 @@ public V get(String key) {
}
@Override
- @Transactional
+ @Transactional(REQUIRES_NEW)
Review Comment:
👍 I replied in the other comment.
##########
data-index/data-index-storage/data-index-storage-oracle/src/main/java/org/kie/kogito/index/oracle/storage/AbstractStorage.java:
##########
@@ -84,10 +88,19 @@ public V get(String key) {
}
@Override
- @Transactional
+ @Transactional(REQUIRES_NEW)
Review Comment:
👍 I replied in the other comment.
--
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] [KOGITO-9909] Fix concurrency on incoming data-index events adding lock and merge + fix for duplicate key on process definition indexing [incubator-kie-kogito-apps]
Posted by "kie-ci3 (via GitHub)" <gi...@apache.org>.
kie-ci3 commented on PR #1906:
URL: https://github.com/apache/incubator-kie-kogito-apps/pull/1906#issuecomment-1786588463
**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-apps -u https://github.com/apache/incubator-kie-kogito-apps/pull/1906 --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-apps-pr/job/PR-1906/7/display/redirect
**Test results:**
- PASSED: 2822
- FAILED: 6
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-apps-pr/job/PR-1906/7/testReport/org.kie.kogito.index.inmemory/ProcessDataIndexInMemoryIT/testProcessInstanceEvents/">org.kie.kogito.index.inmemory.ProcessDataIndexInMemoryIT.testProcessInstanceEvents</a></summary>
Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.<br/>JSON path data.UserTaskInstances[0].comments.size() doesn't match.<br/>Expected: is <0><br/> Actual: <1><br/> within 30 seconds.
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/7/testReport/org.kie.kogito.index.postgresql/ProcessDataIndexPostgreSqlHttpIT/testProcessInstanceEvents/">org.kie.kogito.index.postgresql.ProcessDataIndexPostgreSqlHttpIT.testProcessInstanceEvents</a></summary>
Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.<br/>JSON path data.UserTaskInstances[0].comments.size() doesn't match.<br/>Expected: is <0><br/> Actual: <1><br/> within 30 seconds.
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/7/testReport/org.kie.kogito.index.postgresql/ProcessDataIndexPostgreSqlKafkaIT/testProcessInstanceEvents/">org.kie.kogito.index.postgresql.ProcessDataIndexPostgreSqlKafkaIT.testProcessInstanceEvents</a></summary>
Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.<br/>JSON path data.UserTaskInstances[0].comments.size() doesn't match.<br/>Expected: is <0><br/> Actual: <1><br/> within 30 seconds.
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/7/testReport/org.kie.kogito.index/ProcessDataIndexPostgreSqlIT/testProcessInstanceEvents/">org.kie.kogito.index.ProcessDataIndexPostgreSqlIT.testProcessInstanceEvents</a></summary>
Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.<br/>JSON path data.UserTaskInstances[0].comments.size() doesn't match.<br/>Expected: is <0><br/> Actual: <1><br/> within 30 seconds.
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/7/testReport/org.kie.kogito.index.service/MongoDomainIndexingServiceIT/testConcurrentProcessInstanceIndex/">org.kie.kogito.index.service.MongoDomainIndexingServiceIT.testConcurrentProcessInstanceIndex</a></summary>
com.mongodb.MongoWriteException: Write operation error on server 172.17.0.1:42893. Write error: WriteError{code=11000, message='E11000 duplicate key error collection: kogito.processinstances index: _id_ dup key: { _id: "9bb2c2b2-d412-49f4-ba03-5523702cb5b2" }', details={}}.
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/7/testReport/org.kie.kogito.index.service/OracleIndexingServiceIT/testConcurrentProcessInstanceIndex/">org.kie.kogito.index.service.OracleIndexingServiceIT.testConcurrentProcessInstanceIndex</a></summary>
javax.enterprise.context.ContextNotActiveException: Cannot use the EntityManager/Session because neither a transaction nor a CDI request context is active. Consider adding @Transactional to your method to automatically activate a transaction, or @ActivateRequestContext if you have valid reasons not to use transactions.
</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] [KOGITO-9909] Fix concurrency on incoming data-index events adding lock and merge + fix for duplicate key on process definition indexing [incubator-kie-kogito-apps]
Posted by "wmedvede (via GitHub)" <gi...@apache.org>.
wmedvede commented on code in PR #1906:
URL: https://github.com/apache/incubator-kie-kogito-apps/pull/1906#discussion_r1377434369
##########
data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/storage/AbstractStorage.java:
##########
@@ -83,10 +87,19 @@ public V get(String key) {
}
@Override
- @Transactional
+ @Transactional(REQUIRES_NEW)
Review Comment:
shall we need this merging capability for the other persistence types, oracle for example?
--
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] [KOGITO-9909] Fix concurrency on incoming data-index events adding lock and merge + fix for duplicate key on process definition indexing [incubator-kie-kogito-apps]
Posted by "tiagodolphine (via GitHub)" <gi...@apache.org>.
tiagodolphine commented on code in PR #1906:
URL: https://github.com/apache/incubator-kie-kogito-apps/pull/1906#discussion_r1389441548
##########
data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/storage/AbstractStorage.java:
##########
@@ -83,10 +87,19 @@ public V get(String key) {
}
@Override
- @Transactional
+ @Transactional(REQUIRES_NEW)
Review Comment:
the main idea was to isolate the put operation in a dedicated transaction since we are flushing it now, but yeah I agree it might interfere with transactions out of this scope, so better to avoid it, a refactor was done.
--
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] [KOGITO-9909] Fix concurrency on incoming data-index events adding lock and merge + fix for duplicate key on process definition indexing [incubator-kie-kogito-apps]
Posted by "kie-ci3 (via GitHub)" <gi...@apache.org>.
kie-ci3 commented on PR #1906:
URL: https://github.com/apache/incubator-kie-kogito-apps/pull/1906#issuecomment-1799348053
**PR job** `#17` 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-apps -u https://github.com/apache/incubator-kie-kogito-apps/pull/1906 --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-apps-pr/job/PR-1906/17/display/redirect
**Test results:**
- PASSED: 2743
- FAILED: 7
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-apps-pr/job/PR-1906/17/testReport/org.kie.kogito.index.inmemory/ProcessDataIndexInMemoryIT/testProcessInstanceEvents/">org.kie.kogito.index.inmemory.ProcessDataIndexInMemoryIT.testProcessInstanceEvents</a></summary>
Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.<br/>JSON path data.UserTaskInstances[0].comments.size() doesn't match.<br/>Expected: is <0><br/> Actual: <1><br/> within 30 seconds.
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/17/testReport/org.kie.kogito.index.oracle/ProcessDataIndexOracleHttpIT/testProcessInstanceEvents/">org.kie.kogito.index.oracle.ProcessDataIndexOracleHttpIT.testProcessInstanceEvents</a></summary>
Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.<br/>JSON path data.UserTaskInstances[0].comments.size() doesn't match.<br/>Expected: is <0><br/> Actual: <1><br/> within 30 seconds.
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/17/testReport/org.kie.kogito.index.oracle/ProcessDataIndexOracleKafkaIT/testProcessInstanceEvents/">org.kie.kogito.index.oracle.ProcessDataIndexOracleKafkaIT.testProcessInstanceEvents</a></summary>
Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.<br/>JSON path data.UserTaskInstances[0].comments.size() doesn't match.<br/>Expected: is <0><br/> Actual: <1><br/> within 30 seconds.
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/17/testReport/org.kie.kogito.index.postgresql/ProcessDataIndexPostgreSqlHttpIT/testProcessInstanceEvents/">org.kie.kogito.index.postgresql.ProcessDataIndexPostgreSqlHttpIT.testProcessInstanceEvents</a></summary>
Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.<br/>JSON path data.UserTaskInstances[0].comments.size() doesn't match.<br/>Expected: is <0><br/> Actual: <1><br/> within 30 seconds.
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/17/testReport/org.kie.kogito.index.postgresql/ProcessDataIndexPostgreSqlKafkaIT/testProcessInstanceEvents/">org.kie.kogito.index.postgresql.ProcessDataIndexPostgreSqlKafkaIT.testProcessInstanceEvents</a></summary>
Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.<br/>JSON path data.UserTaskInstances[0].comments.size() doesn't match.<br/>Expected: is <0><br/> Actual: <1><br/> within 30 seconds.
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/17/testReport/org.kie.kogito.index/ProcessDataIndexOracleIT/testProcessInstanceEvents/">org.kie.kogito.index.ProcessDataIndexOracleIT.testProcessInstanceEvents</a></summary>
Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.<br/>JSON path data.UserTaskInstances[0].comments.size() doesn't match.<br/>Expected: is <0><br/> Actual: <1><br/> within 30 seconds.
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/17/testReport/org.kie.kogito.index/ProcessDataIndexPostgreSqlIT/testProcessInstanceEvents/">org.kie.kogito.index.ProcessDataIndexPostgreSqlIT.testProcessInstanceEvents</a></summary>
Assertion condition defined as a lambda expression in org.kie.kogito.index.AbstractProcessDataIndexIT 1 expectation failed.<br/>JSON path data.UserTaskInstances[0].comments.size() doesn't match.<br/>Expected: is <0><br/> Actual: <1><br/> within 30 seconds.
</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] [KOGITO-9909] Fix concurrency on incoming data-index events adding lock and merge + fix for duplicate key on process definition indexing [incubator-kie-kogito-apps]
Posted by "tiagodolphine (via GitHub)" <gi...@apache.org>.
tiagodolphine commented on code in PR #1906:
URL: https://github.com/apache/incubator-kie-kogito-apps/pull/1906#discussion_r1377690931
##########
data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/storage/ProcessDefinitionEntityStorage.java:
##########
@@ -68,6 +69,11 @@ public Optional<ProcessDefinitionEntity> findByIdOptional(String key) {
return repository.findByIdOptional(new ProcessDefinitionEntityId(key));
}
+ @Override
+ public ProcessDefinitionEntity findById(String s, LockModeType lockModeType) {
Review Comment:
yes, I need to replicate the changes to Oracle
--
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] [KOGITO-9909] Fix concurrency on incoming data-index events adding lock and merge + fix for duplicate key on process definition indexing [incubator-kie-kogito-apps]
Posted by "kie-ci3 (via GitHub)" <gi...@apache.org>.
kie-ci3 commented on PR #1906:
URL: https://github.com/apache/incubator-kie-kogito-apps/pull/1906#issuecomment-1783130280
**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-apps -u https://github.com/apache/incubator-kie-kogito-apps/pull/1906 --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-apps-pr/job/PR-1906/1/display/redirect
**Test results:**
- PASSED: 1566
- 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-apps-pr/job/PR-1906/1/testReport/org.kie.kogito.index.inmemory/ProcessDataIndexInMemoryIT/testProcessInstanceEvents/">org.kie.kogito.index.inmemory.ProcessDataIndexInMemoryIT.testProcessInstanceEvents</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.index.test.quarkus.DataIndexInMemoryQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/1/testReport/org.kie.kogito.index.postgresql/ProcessDataIndexPostgreSqlHttpIT/testProcessInstanceEvents/">org.kie.kogito.index.postgresql.ProcessDataIndexPostgreSqlHttpIT.testProcessInstanceEvents</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.index.test.quarkus.http.DataIndexPostgreSqlHttpQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/1/testReport/org.kie.kogito.index.postgresql/ProcessDataIndexPostgreSqlKafkaIT/testProcessInstanceEvents/">org.kie.kogito.index.postgresql.ProcessDataIndexPostgreSqlKafkaIT.testProcessInstanceEvents</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.index.test.quarkus.kafka.DataIndexPostgreSqlQuarkusKafkaTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/1/testReport/org.kie.kogito.index/ProcessDataIndexPostgreSqlIT/testProcessInstanceEvents/">org.kie.kogito.index.ProcessDataIndexPostgreSqlIT.testProcessInstanceEvents</a></summary>
Failed to load ApplicationContext
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/1/testReport/org.kie.kogito.it.jobs/ProcessTimerIT/PR_check___Build_projects___testDeleteTimerCycle/">PR check / Build projects / org.kie.kogito.it.jobs.ProcessTimerIT.testDeleteTimerCycle</a></summary>
java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to start Quarkus test resource class org.kie.kogito.test.resources.JobServiceCompositeQuarkusTestResource
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/1/testReport/org.kie.kogito.index.service/InfinispanDomainIndexingServiceIT/testProcessInstanceIndex/">org.kie.kogito.index.service.InfinispanDomainIndexingServiceIT.testProcessInstanceIndex</a></summary>
Assertion condition defined as a lambda expression in org.kie.kogito.index.service.AbstractIndexingServiceIT that uses java.lang.String, java.lang.Stringorg.kie.kogito.event.process.ProcessInstanceStateDataEvent, org.kie.kogito.event.process.ProcessInstanceStateDataEventjava.lang.String 1 expectation failed.<br/>JSON path data.ProcessInstances[0].definition.name doesn't match.<br/>Expected: is "NrunJtnXiL"<br/> Actual: FjXTKDFLzk<br/> within 30 seconds.
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/1/testReport/org.kie.kogito.index.service/InfinispanDomainIndexingServiceIT/testAddProtoFile/">org.kie.kogito.index.service.InfinispanDomainIndexingServiceIT.testAddProtoFile</a></summary>
Assertion condition defined as a lambda expression in org.kie.kogito.index.service.AbstractIndexingServiceIT that uses java.lang.String, java.lang.Stringorg.kie.kogito.event.process.ProcessInstanceStateDataEvent, org.kie.kogito.event.process.ProcessInstanceStateDataEventjava.lang.String 1 expectation failed.<br/>JSON path data.ProcessInstances[0].definition.name doesn't match.<br/>Expected: is "YIZBFSppRn"<br/> Actual: QQkhaewTaL<br/> within 30 seconds.
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/1/testReport/org.kie.kogito.index.service/InfinispanDomainIndexingServiceIT/testProcessInstanceDomainIndex/">org.kie.kogito.index.service.InfinispanDomainIndexingServiceIT.testProcessInstanceDomainIndex</a></summary>
Assertion condition defined as a lambda expression in org.kie.kogito.index.service.AbstractIndexingServiceIT that uses java.lang.String, java.lang.Stringorg.kie.kogito.event.process.ProcessInstanceStateDataEvent, org.kie.kogito.event.process.ProcessInstanceStateDataEventjava.lang.String 1 expectation failed.<br/>JSON path data.ProcessInstances[0].definition.name doesn't match.<br/>Expected: is "nUwYwlktSn"<br/> Actual: oafwGxUvsg<br/> within 30 seconds.
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/1/testReport/org.kie.kogito.index.service/MongoDomainIndexingServiceIT/testProcessInstanceIndex/">org.kie.kogito.index.service.MongoDomainIndexingServiceIT.testProcessInstanceIndex</a></summary>
Assertion condition defined as a lambda expression in org.kie.kogito.index.service.AbstractIndexingServiceIT that uses java.lang.String, java.lang.Stringorg.kie.kogito.event.process.ProcessInstanceStateDataEvent, org.kie.kogito.event.process.ProcessInstanceStateDataEventjava.lang.String 1 expectation failed.<br/>JSON path data.ProcessInstances[0].definition.name doesn't match.<br/>Expected: is "yJHzOgfVJA"<br/> Actual: QDpnqpqfhJ<br/> within 30 seconds.
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/1/testReport/org.kie.kogito.index.service/MongoDomainIndexingServiceIT/testAddProtoFile/">org.kie.kogito.index.service.MongoDomainIndexingServiceIT.testAddProtoFile</a></summary>
Assertion condition defined as a lambda expression in org.kie.kogito.index.service.AbstractIndexingServiceIT that uses java.lang.String, java.lang.Stringorg.kie.kogito.event.process.ProcessInstanceStateDataEvent, org.kie.kogito.event.process.ProcessInstanceStateDataEventjava.lang.String 1 expectation failed.<br/>JSON path data.ProcessInstances[0].definition.name doesn't match.<br/>Expected: is "yRxkoWhlus"<br/> Actual: ptgmKMMFiq<br/> within 30 seconds.
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/1/testReport/org.kie.kogito.index.service/MongoDomainIndexingServiceIT/testProcessInstanceDomainIndex/">org.kie.kogito.index.service.MongoDomainIndexingServiceIT.testProcessInstanceDomainIndex</a></summary>
Assertion condition defined as a lambda expression in org.kie.kogito.index.service.AbstractIndexingServiceIT that uses java.lang.String, java.lang.Stringorg.kie.kogito.event.process.ProcessInstanceStateDataEvent, org.kie.kogito.event.process.ProcessInstanceStateDataEventjava.lang.String 1 expectation failed.<br/>JSON path data.ProcessInstances[0].definition.name doesn't match.<br/>Expected: is "cDctVgOuTy"<br/> Actual: xdsRQNbHYI<br/> within 30 seconds.
</details>
<details>
<summary><a href="https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-apps-pr/job/PR-1906/1/testReport/org.kie.kogito.index.service/OracleIndexingServiceIT/testProcessInstanceIndex/">org.kie.kogito.index.service.OracleIndexingServiceIT.testProcessInstanceIndex</a></summary>
Assertion condition defined as a lambda expression in org.kie.kogito.index.service.AbstractIndexingServiceIT that uses java.lang.String, java.lang.Stringorg.kie.kogito.event.process.ProcessInstanceStateDataEvent, org.kie.kogito.event.process.ProcessInstanceStateDataEventjava.lang.String 1 expectation failed.<br/>JSON path data.ProcessInstances[0].definition.name doesn't match.<br/>Expected: is "MnKMXEYNym"<br/> Actual: HZCRLuOUPV<br/> within 30 seconds.
</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] [KOGITO-9909] Fix concurrency on incoming data-index events adding lock and merge + fix for duplicate key on process definition indexing [incubator-kie-kogito-apps]
Posted by "sonarcloud[bot] (via GitHub)" <gi...@apache.org>.
sonarcloud[bot] commented on PR #1906:
URL: https://github.com/apache/incubator-kie-kogito-apps/pull/1906#issuecomment-1790273831
Kudos, SonarCloud Quality Gate passed! [](https://sonarcloud.io/dashboard?id=apache_incubator-kie-kogito-apps&pullRequest=1906)
[](https://sonarcloud.io/project/issues?id=apache_incubator-kie-kogito-apps&pullRequest=1906&resolved=false&types=BUG) [](https://sonarcloud.io/project/issues?id=apache_incubator-kie-kogito-apps&pullRequest=1906&resolved=false&types=BUG) [0 Bugs](https://sonarcloud.io/project/issues?id=apache_incubator-kie-kogito-apps&pullRequest=1906&resolved=false&types=BUG)
[](https://sonarcloud.io/project/issues?id=apache_incubator-kie-kogito-apps&pullRequest=1906&resolved=false&types=VULNERABILITY) [](https://sonarcloud.io/project/issues?id=apache_incubator-kie-kogito-apps&pullRequest=1906&resolved=false&types=VULNERABILITY) [0 Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_incubator-kie-kogito-apps&pullRequest=1906&resolved=false&types=VULNERABILITY)
[](https://sonarcloud.io/project/security_hotspots?id=apache_incubator-kie-kogito-apps&pullRequest=1906&resolved=false&types=SECURITY_HOTSPOT) [](https://sonarcloud.io/project/security_hotspots?id=apache_incubator-kie-kogito-apps&pullRequest=1906&resolved=false&types=SECURITY_HOTSPOT) [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_incubator-kie-kogito-apps&pullRequest=1906&resolved=false&types=SECURITY_HOTSPOT)
[](https://sonarcloud.io/project/issues?id=apache_incubator-kie-kogito-apps&pullRequest=1906&resolved=false&types=CODE_SMELL) [](https://sonarcloud.io/project/issues?id=apache_incubator-kie-kogito-apps&pullRequest=1906&resolved=false&types=CODE_SMELL) [0 Code Smells](https://sonarcloud.io/project/issues?id=apache_incubator-kie-kogito-apps&pullRequest=1906&resolved=false&types=CODE_SMELL)
[](https://sonarcloud.io/component_measures?id=apache_incubator-kie-kogito-apps&pullRequest=1906) No Coverage information
[](https://sonarcloud.io/component_measures?id=apache_incubator-kie-kogito-apps&pullRequest=1906&metric=duplicated_lines_density&view=list) No Duplication information
--
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] [KOGITO-9909] Fix concurrency on incoming data-index events adding lock and merge + fix for duplicate key on process definition indexing [incubator-kie-kogito-apps]
Posted by "wmedvede (via GitHub)" <gi...@apache.org>.
wmedvede commented on code in PR #1906:
URL: https://github.com/apache/incubator-kie-kogito-apps/pull/1906#discussion_r1377436022
##########
data-index/data-index-storage/data-index-storage-postgresql/src/main/java/org/kie/kogito/index/postgresql/storage/ProcessDefinitionEntityStorage.java:
##########
@@ -68,6 +69,11 @@ public Optional<ProcessDefinitionEntity> findByIdOptional(String key) {
return repository.findByIdOptional(new ProcessDefinitionEntityId(key));
}
+ @Override
+ public ProcessDefinitionEntity findById(String s, LockModeType lockModeType) {
Review Comment:
same here, sall we need to implement this concept in the other db types?
--
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