Re: [PR] [incubator-kie-issues#2154] Support for suspendUntil operation for User Tasks in WS-HT lifecycle [incubator-kie-kogito-runtimes]
josedee merged PR #4164: URL: https://github.com/apache/incubator-kie-kogito-runtimes/pull/4164 -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
Re: [PR] [incubator-kie-issues#2154] Support for suspendUntil operation for User Tasks in WS-HT lifecycle [incubator-kie-kogito-runtimes]
kie-ci3 commented on PR #4164:
URL:
https://github.com/apache/incubator-kie-kogito-runtimes/pull/4164#issuecomment-3825646938
**PR job** `#19` was: **UNSTABLE**
Possible explanation: This should be test failures
Reproducer
build-chain build full_downstream -f
'https://raw.githubusercontent.com/${AUTHOR:apache}/incubator-kie-kogito-pipelines/${BRANCH:main}/.ci/buildchain-config-pr-cdb.yaml'
-o 'bc' -p apache/incubator-kie-kogito-runtimes -u
https://github.com/apache/incubator-kie-kogito-runtimes/pull/4164
--skipParallelCheckout
NOTE: To install the build-chain tool, please refer to
https://github.com/kiegroup/github-action-build-chain#local-execution
Please look here:
https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4164/19/display/redirect
**Test results:**
- PASSED: 3884
- FAILED: 5
Those are the test failures:
https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4164/19/testReport/org.kie.kogito.addons.jwt.it/JwtParserIT/testJwtParserWorkflowEndToEnd/";>org.kie.kogito.addons.jwt.it.JwtParserIT.testJwtParserWorkflowEndToEnd
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build
failure: Build failed due to errors [error]: Build step
io.quarkus.devservices.keycloak.KeycloakDevServicesProcessor#startKeycloakContainer
threw an exception: java.lang.RuntimeException:
org.testcontainers.containers.ContainerLaunchException: Container startup
failed for image quay.io/keycloak/keycloak:26.1.3 at
io.quarkus.devservices.keycloak.KeycloakDevServicesProcessor.startKeycloakContainer(KeycloakDevServicesProcessor.java:250)
at
java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:732)
at
io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:856)
at io.quarkus.builder.BuildContext.run(BuildContext.java:255) at
org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18) at
org.jboss.threads.EnhancedQueueExecutor$Task.doRunWith(EnhancedQueueExecutor.java:2675)
at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQu
eueExecutor.java:2654) at
org.jboss.threads.EnhancedQueueExecutor.runThreadBody(EnhancedQueueExecutor.java:1627)
at
org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1594)
at java.base/java.lang.Thread.run(Thread.java:840) at
org.jboss.threads.JBossThread.run(JBossThread.java:499)Caused by:
org.testcontainers.containers.ContainerLaunchException: Container startup
failed for image quay.io/keycloak/keycloak:26.1.3 at
org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:346)
at
org.testcontainers.containers.GenericContainer.start(GenericContainer.java:317)
at
io.quarkus.devservices.keycloak.KeycloakDevServicesProcessor.lambda$startContainer$4(KeycloakDevServicesProcessor.java:421)
at java.base/java.util.Optional.orElseGet(Optional.java:364) at
io.quarkus.devservices.keycloak.KeycloakDevServicesProcessor.startContainer(KeycloakDevServicesProcessor.java:447)
at io.quarkus.devser
vices.keycloak.KeycloakDevServicesProcessor.startKeycloakContainer(KeycloakDevServicesProcessor.java:200)
... 10 moreCaused by: org.rnorth.ducttape.RetryCountExceededException:
Retry limit hit with exception at
org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:88)
at
org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:331)
... 15 moreCaused by:
org.testcontainers.containers.ContainerLaunchException: Could not create/start
container at
org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:551)
at
org.testcontainers.containers.GenericContainer.lambda$doStart$0(GenericContainer.java:341)
at
org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:81)
... 16 moreCaused by:
org.testcontainers.containers.ContainerLaunchException: Timed out waiting for
log output matching '.*Keycloak.*started.*' at
org.testcontainers.containers.wait
.strategy.LogMessageWaitStrategy.waitUntilReady(LogMessageWaitStrategy.java:47)
at
org.testcontainers.containers.wait.strategy.AbstractWaitStrategy.waitUntilReady(AbstractWaitStrategy.java:52)
at
org.testcontainers.containers.GenericContainer.waitUntilContainerStarted(GenericContainer.java:904)
at
org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:487)
... 18 more
https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4164/19/testReport/org.kie.kogito.addons.quarkus.knative.serving.customfunctions.it/KnativeServingAddonIT/___/";>org.kie.kogito.addons.quarkus.knative.serving.customfunctions.it.KnativeServingAddonIT.(?)
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build
failure: Build failed due to errors [error]: Build
Re: [PR] [incubator-kie-issues#2154] Support for suspendUntil operation for User Tasks in WS-HT lifecycle [incubator-kie-kogito-runtimes]
pefernan commented on PR #4164: URL: https://github.com/apache/incubator-kie-kogito-runtimes/pull/4164#issuecomment-3824120950 Great work @josedee waiting for ci to get some greens! -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
Re: [PR] [incubator-kie-issues#2154] Support for suspendUntil operation for User Tasks in WS-HT lifecycle [incubator-kie-kogito-runtimes]
kie-ci3 commented on PR #4164:
URL:
https://github.com/apache/incubator-kie-kogito-runtimes/pull/4164#issuecomment-3822964246
**PR job** `#16` was: **UNSTABLE**
Possible explanation: This should be test failures
Reproducer
build-chain build full_downstream -f
'https://raw.githubusercontent.com/${AUTHOR:apache}/incubator-kie-kogito-pipelines/${BRANCH:main}/.ci/buildchain-config-pr-cdb.yaml'
-o 'bc' -p apache/incubator-kie-kogito-runtimes -u
https://github.com/apache/incubator-kie-kogito-runtimes/pull/4164
--skipParallelCheckout
NOTE: To install the build-chain tool, please refer to
https://github.com/kiegroup/github-action-build-chain#local-execution
Please look here:
https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4164/16/display/redirect
**Test results:**
- PASSED: 3885
- FAILED: 4
Those are the test failures:
https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4164/16/testReport/org.kie.kogito.addons.jwt.it/JwtParserIT/testJwtParserWorkflowEndToEnd/";>org.kie.kogito.addons.jwt.it.JwtParserIT.testJwtParserWorkflowEndToEnd
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build
failure: Build failed due to errors [error]: Build step
io.quarkus.devservices.keycloak.KeycloakDevServicesProcessor#startKeycloakContainer
threw an exception: java.lang.RuntimeException:
org.testcontainers.containers.ContainerLaunchException: Container startup
failed for image quay.io/keycloak/keycloak:26.1.3 at
io.quarkus.devservices.keycloak.KeycloakDevServicesProcessor.startKeycloakContainer(KeycloakDevServicesProcessor.java:250)
at
java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:732)
at
io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:856)
at io.quarkus.builder.BuildContext.run(BuildContext.java:255) at
org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18) at
org.jboss.threads.EnhancedQueueExecutor$Task.doRunWith(EnhancedQueueExecutor.java:2675)
at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQu
eueExecutor.java:2654) at
org.jboss.threads.EnhancedQueueExecutor.runThreadBody(EnhancedQueueExecutor.java:1627)
at
org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1594)
at java.base/java.lang.Thread.run(Thread.java:840) at
org.jboss.threads.JBossThread.run(JBossThread.java:499)Caused by:
org.testcontainers.containers.ContainerLaunchException: Container startup
failed for image quay.io/keycloak/keycloak:26.1.3 at
org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:346)
at
org.testcontainers.containers.GenericContainer.start(GenericContainer.java:317)
at
io.quarkus.devservices.keycloak.KeycloakDevServicesProcessor.lambda$startContainer$4(KeycloakDevServicesProcessor.java:421)
at java.base/java.util.Optional.orElseGet(Optional.java:364) at
io.quarkus.devservices.keycloak.KeycloakDevServicesProcessor.startContainer(KeycloakDevServicesProcessor.java:447)
at io.quarkus.devser
vices.keycloak.KeycloakDevServicesProcessor.startKeycloakContainer(KeycloakDevServicesProcessor.java:200)
... 10 moreCaused by: org.rnorth.ducttape.RetryCountExceededException:
Retry limit hit with exception at
org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:88)
at
org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:331)
... 15 moreCaused by:
org.testcontainers.containers.ContainerLaunchException: Could not create/start
container at
org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:551)
at
org.testcontainers.containers.GenericContainer.lambda$doStart$0(GenericContainer.java:341)
at
org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:81)
... 16 moreCaused by:
org.testcontainers.containers.ContainerLaunchException: Timed out waiting for
log output matching '.*Keycloak.*started.*' at
org.testcontainers.containers.wait
.strategy.LogMessageWaitStrategy.waitUntilReady(LogMessageWaitStrategy.java:47)
at
org.testcontainers.containers.wait.strategy.AbstractWaitStrategy.waitUntilReady(AbstractWaitStrategy.java:52)
at
org.testcontainers.containers.GenericContainer.waitUntilContainerStarted(GenericContainer.java:904)
at
org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:487)
... 18 more
https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4164/16/testReport/org.kie.kogito.addons.quarkus.knative.serving.customfunctions.it/KnativeServingAddonIT/___/";>org.kie.kogito.addons.quarkus.knative.serving.customfunctions.it.KnativeServingAddonIT.(?)
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build
failure: Build failed due to errors [error]: Build
Re: [PR] [incubator-kie-issues#2154] Support for suspendUntil operation for User Tasks in WS-HT lifecycle [incubator-kie-kogito-runtimes]
josedee commented on code in PR #4164:
URL:
https://github.com/apache/incubator-kie-kogito-runtimes/pull/4164#discussion_r2742101525
##
jbpm/jbpm-usertask/src/main/java/org/kie/kogito/usertask/impl/lifecycle/WsHumanTaskLifeCycle.java:
##
@@ -361,16 +379,98 @@ public Optional
fail(UserTaskInstance userTaskInstance,
private Optional suspend(UserTaskInstance
userTaskInstance, UserTaskTransitionToken token, IdentityProvider
identityProvider) {
if (userTaskInstance.getStatus() != null) {
+var suspendUntil = token.data().get(PARAMETER_SUSPEND_UNTIL) !=
null ? (String) token.data().get(PARAMETER_SUSPEND_UNTIL) : (String)
userTaskInstance.getMetadata().get(SUSPEND_UNTIL);
+
+if (suspendUntil != null) {
+ZonedDateTime expirationTime =
parseTemporalValue(suspendUntil);
+
+UserTaskInstanceJobDescription jobDescription =
UserTaskInstanceJobDescription.newUserTaskInstanceJobDescriptionBuilder()
+.id(UUID.randomUUID().toString())
+.expirationTime(ExactExpirationTime.of(expirationTime))
+.userTaskInstanceId(userTaskInstance.getId())
+
.processId(userTaskInstance.getProcessInfo().getProcessId())
+
.processInstanceId(userTaskInstance.getProcessInfo().getProcessInstanceId())
+
.rootProcessInstanceId(userTaskInstance.getProcessInfo().getRootProcessInstanceId())
+
.rootProcessId(userTaskInstance.getProcessInfo().getRootProcessId())
+.metadata(userTaskInstance.getMetadata())
+.build();
+
+LOG.debug("Suspending usertask with id {} until {}",
userTaskInstance.getId(), expirationTime);
+
+String jobId =
userTaskInstance.getJobsService().scheduleJob(jobDescription);
+userTaskInstance.getMetadata().put(SUSPENDED_TASK_JOB_ID,
jobId);
+}
+
userTaskInstance.getMetadata().put("PreviousStatus",
userTaskInstance.getStatus().getName());
}
return Optional.empty();
}
+private static ZonedDateTime parseTemporalValue(String input) {
+if (input == null || input.isBlank()) {
Review Comment:
I feel both serve different purpose and it will be better to keep them
separate
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
Re: [PR] [incubator-kie-issues#2154] Support for suspendUntil operation for User Tasks in WS-HT lifecycle [incubator-kie-kogito-runtimes]
pefernan commented on code in PR #4164:
URL:
https://github.com/apache/incubator-kie-kogito-runtimes/pull/4164#discussion_r2741118676
##
jbpm/jbpm-usertask/src/main/java/org/kie/kogito/usertask/impl/lifecycle/WsHumanTaskLifeCycle.java:
##
@@ -361,16 +379,98 @@ public Optional
fail(UserTaskInstance userTaskInstance,
private Optional suspend(UserTaskInstance
userTaskInstance, UserTaskTransitionToken token, IdentityProvider
identityProvider) {
if (userTaskInstance.getStatus() != null) {
+var suspendUntil = token.data().get(PARAMETER_SUSPEND_UNTIL) !=
null ? (String) token.data().get(PARAMETER_SUSPEND_UNTIL) : (String)
userTaskInstance.getMetadata().get(SUSPEND_UNTIL);
+
+if (suspendUntil != null) {
+ZonedDateTime expirationTime =
parseTemporalValue(suspendUntil);
+
+UserTaskInstanceJobDescription jobDescription =
UserTaskInstanceJobDescription.newUserTaskInstanceJobDescriptionBuilder()
+.id(UUID.randomUUID().toString())
+.expirationTime(ExactExpirationTime.of(expirationTime))
+.userTaskInstanceId(userTaskInstance.getId())
+
.processId(userTaskInstance.getProcessInfo().getProcessId())
+
.processInstanceId(userTaskInstance.getProcessInfo().getProcessInstanceId())
+
.rootProcessInstanceId(userTaskInstance.getProcessInfo().getRootProcessInstanceId())
+
.rootProcessId(userTaskInstance.getProcessInfo().getRootProcessId())
+.metadata(userTaskInstance.getMetadata())
+.build();
+
+LOG.debug("Suspending usertask with id {} until {}",
userTaskInstance.getId(), expirationTime);
+
+String jobId =
userTaskInstance.getJobsService().scheduleJob(jobDescription);
+userTaskInstance.getMetadata().put(SUSPENDED_TASK_JOB_ID,
jobId);
+}
+
userTaskInstance.getMetadata().put("PreviousStatus",
userTaskInstance.getStatus().getName());
}
return Optional.empty();
}
+private static ZonedDateTime parseTemporalValue(String input) {
+if (input == null || input.isBlank()) {
Review Comment:
We are doing something simliar in Deadline helper. wouldn't it be possible
to reuse that?
##
api/kogito-api/src/main/java/org/kie/kogito/usertask/UserTaskInstance.java:
##
@@ -155,4 +156,6 @@ public interface UserTaskInstance {
void setPotentialUsers(Set potentialUsers);
UserTaskLifeCycle getUserTaskLifeCycle();
+
+JobsService getJobsService();
Review Comment:
I'd not add this in the public API, I think it's safe to keep the getter in
the `DefaultUserTaskInstance` and do the cast (as we do in other places) in the
lifecycle tiself.
##
jbpm/jbpm-usertask/src/main/java/org/kie/kogito/usertask/impl/lifecycle/WsHumanTaskLifeCycle.java:
##
@@ -361,16 +379,98 @@ public Optional
fail(UserTaskInstance userTaskInstance,
private Optional suspend(UserTaskInstance
userTaskInstance, UserTaskTransitionToken token, IdentityProvider
identityProvider) {
if (userTaskInstance.getStatus() != null) {
+var suspendUntil = token.data().get(PARAMETER_SUSPEND_UNTIL) !=
null ? (String) token.data().get(PARAMETER_SUSPEND_UNTIL) : (String)
userTaskInstance.getMetadata().get(SUSPEND_UNTIL);
+
+if (suspendUntil != null) {
+ZonedDateTime expirationTime =
parseTemporalValue(suspendUntil);
+
+UserTaskInstanceJobDescription jobDescription =
UserTaskInstanceJobDescription.newUserTaskInstanceJobDescriptionBuilder()
+.id(UUID.randomUUID().toString())
+.expirationTime(ExactExpirationTime.of(expirationTime))
+.userTaskInstanceId(userTaskInstance.getId())
+
.processId(userTaskInstance.getProcessInfo().getProcessId())
+
.processInstanceId(userTaskInstance.getProcessInfo().getProcessInstanceId())
+
.rootProcessInstanceId(userTaskInstance.getProcessInfo().getRootProcessInstanceId())
+
.rootProcessId(userTaskInstance.getProcessInfo().getRootProcessId())
+.metadata(userTaskInstance.getMetadata())
+.build();
+
+LOG.debug("Suspending usertask with id {} until {}",
userTaskInstance.getId(), expirationTime);
+
+String jobId =
userTaskInstance.getJobsService().scheduleJob(jobDescription);
+userTaskInstance.getMetadata().put(SUSPENDED_TASK_JOB_ID,
jobId);
+}
+
userTaskInstance.getMetadata().put("PreviousStatus",
userTaskInstance.getStatus().getName());
}
return Optional.empty();
}
+private static ZonedDateTime parseTemporalValue(S
Re: [PR] [incubator-kie-issues#2154] Support for suspendUntil operation for User Tasks in WS-HT lifecycle [incubator-kie-kogito-runtimes]
kie-ci3 commented on PR #4164:
URL:
https://github.com/apache/incubator-kie-kogito-runtimes/pull/4164#issuecomment-3816921379
**PR job** `#14` was: **UNSTABLE**
Possible explanation: This should be test failures
Reproducer
build-chain build full_downstream -f
'https://raw.githubusercontent.com/${AUTHOR:apache}/incubator-kie-kogito-pipelines/${BRANCH:main}/.ci/buildchain-config-pr-cdb.yaml'
-o 'bc' -p apache/incubator-kie-kogito-runtimes -u
https://github.com/apache/incubator-kie-kogito-runtimes/pull/4164
--skipParallelCheckout
NOTE: To install the build-chain tool, please refer to
https://github.com/kiegroup/github-action-build-chain#local-execution
Please look here:
https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4164/14/display/redirect
**Test results:**
- PASSED: 3885
- FAILED: 4
Those are the test failures:
https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4164/14/testReport/org.kie.kogito.addons.jwt.it/JwtParserIT/testJwtParserWorkflowEndToEnd/";>org.kie.kogito.addons.jwt.it.JwtParserIT.testJwtParserWorkflowEndToEnd
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build
failure: Build failed due to errors [error]: Build step
io.quarkus.devservices.keycloak.KeycloakDevServicesProcessor#startKeycloakContainer
threw an exception: java.lang.RuntimeException:
org.testcontainers.containers.ContainerLaunchException: Container startup
failed for image quay.io/keycloak/keycloak:26.1.3 at
io.quarkus.devservices.keycloak.KeycloakDevServicesProcessor.startKeycloakContainer(KeycloakDevServicesProcessor.java:250)
at
java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:732)
at
io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:856)
at io.quarkus.builder.BuildContext.run(BuildContext.java:255) at
org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18) at
org.jboss.threads.EnhancedQueueExecutor$Task.doRunWith(EnhancedQueueExecutor.java:2675)
at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQu
eueExecutor.java:2654) at
org.jboss.threads.EnhancedQueueExecutor.runThreadBody(EnhancedQueueExecutor.java:1627)
at
org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1594)
at java.base/java.lang.Thread.run(Thread.java:840) at
org.jboss.threads.JBossThread.run(JBossThread.java:499)Caused by:
org.testcontainers.containers.ContainerLaunchException: Container startup
failed for image quay.io/keycloak/keycloak:26.1.3 at
org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:346)
at
org.testcontainers.containers.GenericContainer.start(GenericContainer.java:317)
at
io.quarkus.devservices.keycloak.KeycloakDevServicesProcessor.lambda$startContainer$4(KeycloakDevServicesProcessor.java:421)
at java.base/java.util.Optional.orElseGet(Optional.java:364) at
io.quarkus.devservices.keycloak.KeycloakDevServicesProcessor.startContainer(KeycloakDevServicesProcessor.java:447)
at io.quarkus.devser
vices.keycloak.KeycloakDevServicesProcessor.startKeycloakContainer(KeycloakDevServicesProcessor.java:200)
... 10 moreCaused by: org.rnorth.ducttape.RetryCountExceededException:
Retry limit hit with exception at
org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:88)
at
org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:331)
... 15 moreCaused by:
org.testcontainers.containers.ContainerLaunchException: Could not create/start
container at
org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:551)
at
org.testcontainers.containers.GenericContainer.lambda$doStart$0(GenericContainer.java:341)
at
org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:81)
... 16 moreCaused by:
org.testcontainers.containers.ContainerLaunchException: Timed out waiting for
log output matching '.*Keycloak.*started.*' at
org.testcontainers.containers.wait
.strategy.LogMessageWaitStrategy.waitUntilReady(LogMessageWaitStrategy.java:47)
at
org.testcontainers.containers.wait.strategy.AbstractWaitStrategy.waitUntilReady(AbstractWaitStrategy.java:52)
at
org.testcontainers.containers.GenericContainer.waitUntilContainerStarted(GenericContainer.java:904)
at
org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:487)
... 18 more
https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4164/14/testReport/org.kie.kogito.addons.quarkus.knative.serving.customfunctions.it/KnativeServingAddonIT/___/";>org.kie.kogito.addons.quarkus.knative.serving.customfunctions.it.KnativeServingAddonIT.(?)
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build
failure: Build failed due to errors [error]: Build
Re: [PR] [incubator-kie-issues#2154] Support for suspendUntil operation for User Tasks in WS-HT lifecycle [incubator-kie-kogito-runtimes]
josedee commented on code in PR #4164:
URL:
https://github.com/apache/incubator-kie-kogito-runtimes/pull/4164#discussion_r2740153998
##
quarkus/integration-tests/integration-tests-quarkus-wshumantasks/src/test/java/org/jbpm/usertask/jpa/it/WsHumanTaskLifeCycleIT.java:
##
@@ -206,7 +206,291 @@ public void testSuspendAndResumeTransition() {
complete(taskId, user);
-isProcessCompleted(processId);
+isProcessCompleted(processId, pid);
+}
+
+@Test
+public void testSuspendUntilWithDuration() throws InterruptedException {
+var user = "dave";
+var potentialUsers = new String[] { "john", "dave" };
+var processId = "manager_multiple_users";
+var pid = startProcessInstance(processId);
+var taskId = getTaskId(user, pid);
+verifyTask(processId, pid, taskId, user, "Ready", potentialUsers);
+
+suspendWithDurationOrTimestamp(taskId, user, "PT5S");
+Thread.sleep(1);
+verifyTaskStatus(taskId, user, "Ready");
+
+claim(taskId, user);
+start(taskId, user);
+complete(taskId, user);
+
+isProcessCompleted(processId, pid);
+}
+
+@Test
+public void testSuspendUntilWithTimestamp() throws InterruptedException {
+var user = "dave";
+var potentialUsers = new String[] { "john", "dave" };
+var processId = "manager_multiple_users";
+var pid = startProcessInstance(processId);
+var taskId = getTaskId(user, pid);
+verifyTask(processId, pid, taskId, user, "Ready", potentialUsers);
+
+claim(taskId, user);
+
+suspendWithDurationOrTimestamp(taskId, user,
ZonedDateTime.now().plusSeconds(5).toString());
+Thread.sleep(1);
+verifyTaskStatus(taskId, user, "Reserved");
+
+start(taskId, user);
+complete(taskId, user);
+
+isProcessCompleted(processId, pid);
+}
+
+@Test
+public void testSuspendUntilWithInvalidDurationOrTimestamp() {
+var user = "dave";
+var potentialUsers = new String[] { "john", "dave" };
+var processId = "manager_multiple_users";
+var pid = startProcessInstance(processId);
+var taskId = getTaskId(user, pid);
+verifyTask(processId, pid, taskId, user, "Ready", potentialUsers);
+
+suspendWithInvalidDurationOrTimestamp(taskId, user, "INVALID");
+verifyTaskStatus(taskId, user, "Ready");
+
+claim(taskId, user);
+start(taskId, user);
+complete(taskId, user);
+
+isProcessCompleted(processId, pid);
+}
+
+@Test
+public void testSuspendUntilWithNegativeDuration() {
+var user = "dave";
+var potentialUsers = new String[] { "john", "dave" };
+var processId = "manager_multiple_users";
+var pid = startProcessInstance(processId);
+var taskId = getTaskId(user, pid);
+verifyTask(processId, pid, taskId, user, "Ready", potentialUsers);
+
+suspendWithInvalidDurationOrTimestamp(taskId, user, "PT-1H");
+verifyTaskStatus(taskId, user, "Ready");
+
+claim(taskId, user);
+start(taskId, user);
+complete(taskId, user);
+
+isProcessCompleted(processId, pid);
+}
+
+@Test
+public void testSuspendUntilMultipleStatesWithDuration() throws
InterruptedException {
+var user = "dave";
+var potentialUsers = new String[] { "john", "dave" };
+var processId = "manager_multiple_users";
+var pid = startProcessInstance(processId);
+var taskId = getTaskId(user, pid);
+verifyTask(processId, pid, taskId, user, "Ready", potentialUsers);
+
+suspendWithDurationOrTimestamp(taskId, user, "PT5S");
+Thread.sleep(1);
+verifyTaskStatus(taskId, user, "Ready");
+
+claim(taskId, user);
+suspendWithDurationOrTimestamp(taskId, user, "PT5S");
+Thread.sleep(1);
+verifyTaskStatus(taskId, user, "Reserved");
+
+start(taskId, user);
+suspendWithDurationOrTimestamp(taskId, user, "PT5S");
+Thread.sleep(1);
+verifyTaskStatus(taskId, user, "InProgress");
+
+complete(taskId, user);
+isProcessCompleted(processId, pid);
+}
+
+@Test
+public void testSuspendUntilInProcessDefinition() throws
InterruptedException {
+var user = "dave";
+var potentialUsers = new String[] { "john", "dave" };
+var processId = "suspend_until";
+var pid = startProcessInstance(processId);
+var taskId = getTaskId(user, pid);
+verifyTask(processId, pid, taskId, user, "Ready", potentialUsers);
+
+suspend(taskId, user);
+Thread.sleep(8000);
+verifyTaskStatus(taskId, user, "Ready");
+
+claim(taskId, user);
+start(taskId, user);
+complete(taskId, user);
+
+isProcessCompleted(processId, pid);
+}
+
+@Test
+public void testSuspendUntilInProcessDefinit
Re: [PR] [incubator-kie-issues#2154] Support for suspendUntil operation for User Tasks in WS-HT lifecycle [incubator-kie-kogito-runtimes]
josedee commented on code in PR #4164:
URL:
https://github.com/apache/incubator-kie-kogito-runtimes/pull/4164#discussion_r2739972611
##
quarkus/integration-tests/integration-tests-quarkus-wshumantasks/src/test/java/org/jbpm/usertask/jpa/it/WsHumanTaskLifeCycleIT.java:
##
@@ -494,26 +783,26 @@ public String startProcessInstance(String processId) {
return pid;
}
-private void isProcessCompleted(String processId) {
+private void isProcessCompleted(String processId, String pid) {
given()
.accept(ContentType.JSON)
.when()
-.get("/{processId}", processId)
+.get("/{processId}/{pid}", processId, pid)
.then()
-.statusCode(200)
-.body("$.size()", is(0));
+.statusCode(404);
}
-private String getTaskId(String user) {
+private String getTaskId(String user, String pid) {
return given().contentType(ContentType.JSON)
.when()
.queryParam("user", user)
.get(USER_TASKS_ENDPOINT)
.then()
.statusCode(200)
-.body("$.size()", is(1))
.extract()
-.path("[0].id");
+.jsonPath()
+.param("pid", pid)
+.getString("find { it.processInfo.processInstanceId == pid
}.id");
Review Comment:
Sure
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
Re: [PR] [incubator-kie-issues#2154] Support for suspendUntil operation for User Tasks in WS-HT lifecycle [incubator-kie-kogito-runtimes]
martinweiler commented on PR #4164: URL: https://github.com/apache/incubator-kie-kogito-runtimes/pull/4164#issuecomment-3813030218 Very nice work @josedee! I like the test coverage in the IT tests for all the different scenarios. I also couldn't find any issues when testing the functionality manually. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
Re: [PR] [incubator-kie-issues#2154] Support for suspendUntil operation for User Tasks in WS-HT lifecycle [incubator-kie-kogito-runtimes]
martinweiler commented on code in PR #4164:
URL:
https://github.com/apache/incubator-kie-kogito-runtimes/pull/4164#discussion_r2737913040
##
quarkus/integration-tests/integration-tests-quarkus-wshumantasks/src/test/java/org/jbpm/usertask/jpa/it/WsHumanTaskLifeCycleIT.java:
##
@@ -494,26 +783,26 @@ public String startProcessInstance(String processId) {
return pid;
}
-private void isProcessCompleted(String processId) {
+private void isProcessCompleted(String processId, String pid) {
given()
.accept(ContentType.JSON)
.when()
-.get("/{processId}", processId)
+.get("/{processId}/{pid}", processId, pid)
.then()
-.statusCode(200)
-.body("$.size()", is(0));
+.statusCode(404);
}
-private String getTaskId(String user) {
+private String getTaskId(String user, String pid) {
return given().contentType(ContentType.JSON)
.when()
.queryParam("user", user)
.get(USER_TASKS_ENDPOINT)
.then()
.statusCode(200)
-.body("$.size()", is(1))
.extract()
-.path("[0].id");
+.jsonPath()
+.param("pid", pid)
+.getString("find { it.processInfo.processInstanceId == pid
}.id");
Review Comment:
Side note: While this is a nice solution, we need to expand the usertask
endpoint to return tasks for a specific process instance OOTB. Could you please
create a JIRA?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
Re: [PR] [incubator-kie-issues#2154] Support for suspendUntil operation for User Tasks in WS-HT lifecycle [incubator-kie-kogito-runtimes]
martinweiler commented on code in PR #4164:
URL:
https://github.com/apache/incubator-kie-kogito-runtimes/pull/4164#discussion_r2737907551
##
quarkus/integration-tests/integration-tests-quarkus-wshumantasks/src/test/java/org/jbpm/usertask/jpa/it/WsHumanTaskLifeCycleIT.java:
##
@@ -206,7 +206,291 @@ public void testSuspendAndResumeTransition() {
complete(taskId, user);
-isProcessCompleted(processId);
+isProcessCompleted(processId, pid);
+}
+
+@Test
+public void testSuspendUntilWithDuration() throws InterruptedException {
+var user = "dave";
+var potentialUsers = new String[] { "john", "dave" };
+var processId = "manager_multiple_users";
+var pid = startProcessInstance(processId);
+var taskId = getTaskId(user, pid);
+verifyTask(processId, pid, taskId, user, "Ready", potentialUsers);
+
+suspendWithDurationOrTimestamp(taskId, user, "PT5S");
+Thread.sleep(1);
+verifyTaskStatus(taskId, user, "Ready");
+
+claim(taskId, user);
+start(taskId, user);
+complete(taskId, user);
+
+isProcessCompleted(processId, pid);
+}
+
+@Test
+public void testSuspendUntilWithTimestamp() throws InterruptedException {
+var user = "dave";
+var potentialUsers = new String[] { "john", "dave" };
+var processId = "manager_multiple_users";
+var pid = startProcessInstance(processId);
+var taskId = getTaskId(user, pid);
+verifyTask(processId, pid, taskId, user, "Ready", potentialUsers);
+
+claim(taskId, user);
+
+suspendWithDurationOrTimestamp(taskId, user,
ZonedDateTime.now().plusSeconds(5).toString());
+Thread.sleep(1);
+verifyTaskStatus(taskId, user, "Reserved");
+
+start(taskId, user);
+complete(taskId, user);
+
+isProcessCompleted(processId, pid);
+}
+
+@Test
+public void testSuspendUntilWithInvalidDurationOrTimestamp() {
+var user = "dave";
+var potentialUsers = new String[] { "john", "dave" };
+var processId = "manager_multiple_users";
+var pid = startProcessInstance(processId);
+var taskId = getTaskId(user, pid);
+verifyTask(processId, pid, taskId, user, "Ready", potentialUsers);
+
+suspendWithInvalidDurationOrTimestamp(taskId, user, "INVALID");
+verifyTaskStatus(taskId, user, "Ready");
+
+claim(taskId, user);
+start(taskId, user);
+complete(taskId, user);
+
+isProcessCompleted(processId, pid);
+}
+
+@Test
+public void testSuspendUntilWithNegativeDuration() {
+var user = "dave";
+var potentialUsers = new String[] { "john", "dave" };
+var processId = "manager_multiple_users";
+var pid = startProcessInstance(processId);
+var taskId = getTaskId(user, pid);
+verifyTask(processId, pid, taskId, user, "Ready", potentialUsers);
+
+suspendWithInvalidDurationOrTimestamp(taskId, user, "PT-1H");
+verifyTaskStatus(taskId, user, "Ready");
+
+claim(taskId, user);
+start(taskId, user);
+complete(taskId, user);
+
+isProcessCompleted(processId, pid);
+}
+
+@Test
+public void testSuspendUntilMultipleStatesWithDuration() throws
InterruptedException {
+var user = "dave";
+var potentialUsers = new String[] { "john", "dave" };
+var processId = "manager_multiple_users";
+var pid = startProcessInstance(processId);
+var taskId = getTaskId(user, pid);
+verifyTask(processId, pid, taskId, user, "Ready", potentialUsers);
+
+suspendWithDurationOrTimestamp(taskId, user, "PT5S");
+Thread.sleep(1);
+verifyTaskStatus(taskId, user, "Ready");
+
+claim(taskId, user);
+suspendWithDurationOrTimestamp(taskId, user, "PT5S");
+Thread.sleep(1);
+verifyTaskStatus(taskId, user, "Reserved");
+
+start(taskId, user);
+suspendWithDurationOrTimestamp(taskId, user, "PT5S");
+Thread.sleep(1);
+verifyTaskStatus(taskId, user, "InProgress");
+
+complete(taskId, user);
+isProcessCompleted(processId, pid);
+}
+
+@Test
+public void testSuspendUntilInProcessDefinition() throws
InterruptedException {
+var user = "dave";
+var potentialUsers = new String[] { "john", "dave" };
+var processId = "suspend_until";
+var pid = startProcessInstance(processId);
+var taskId = getTaskId(user, pid);
+verifyTask(processId, pid, taskId, user, "Ready", potentialUsers);
+
+suspend(taskId, user);
+Thread.sleep(8000);
+verifyTaskStatus(taskId, user, "Ready");
+
+claim(taskId, user);
+start(taskId, user);
+complete(taskId, user);
+
+isProcessCompleted(processId, pid);
+}
+
+@Test
+public void testSuspendUntilInProcessDe
Re: [PR] [incubator-kie-issues#2154] Support for suspendUntil operation for User Tasks in WS-HT lifecycle [incubator-kie-kogito-runtimes]
martinweiler commented on code in PR #4164:
URL:
https://github.com/apache/incubator-kie-kogito-runtimes/pull/4164#discussion_r2737887957
##
quarkus/integration-tests/integration-tests-quarkus-wshumantasks/src/test/java/org/jbpm/usertask/jpa/it/WsHumanTaskLifeCycleIT.java:
##
@@ -206,7 +206,291 @@ public void testSuspendAndResumeTransition() {
complete(taskId, user);
-isProcessCompleted(processId);
+isProcessCompleted(processId, pid);
+}
+
+@Test
+public void testSuspendUntilWithDuration() throws InterruptedException {
+var user = "dave";
+var potentialUsers = new String[] { "john", "dave" };
+var processId = "manager_multiple_users";
+var pid = startProcessInstance(processId);
+var taskId = getTaskId(user, pid);
+verifyTask(processId, pid, taskId, user, "Ready", potentialUsers);
+
+suspendWithDurationOrTimestamp(taskId, user, "PT5S");
+Thread.sleep(1);
Review Comment:
For all these tests, can we try to minimize the execution time?
* `PT1S` instead of `PT5S`
* Remove `Thread.sleep(..)`
* Replace with something like the following in the `verifyTaskStatus` method:
```
await().atMost(Duration.ofSeconds(5))
.untilAsserted(() -> given()
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
Re: [PR] [incubator-kie-issues#2154] Support for suspendUntil operation for User Tasks in WS-HT lifecycle [incubator-kie-kogito-runtimes]
martinweiler commented on code in PR #4164:
URL:
https://github.com/apache/incubator-kie-kogito-runtimes/pull/4164#discussion_r2737871345
##
jbpm/jbpm-usertask/src/main/java/org/kie/kogito/usertask/impl/DefaultUserTaskInstance.java:
##
@@ -771,13 +775,23 @@ public void stopNotCompletedReassignments() {
public void trigger(UserTaskInstanceJobDescription jobDescription) {
LOG.trace("trigger timer in user tasks {} and job {}", this,
jobDescription);
+resumeIfSuspensionExpired(jobDescription);
checkAndSendNotification(jobDescription, notStartedDeadlinesTimers,
this::startNotification);
checkAndSendNotification(jobDescription, notCompletedDeadlinesTimers,
this::endNotification);
checkAndReassign(jobDescription, notStartedReassignmentsTimers);
checkAndReassign(jobDescription, notCompletedReassignmentsTimers);
this.updatePersistence();
}
+private void resumeIfSuspensionExpired(UserTaskInstanceJobDescription
jobDescription) {
+var jobId = (String) getMetadata().get("SuspendedTaskJobId");
+if (getStatus().getName().equals("Suspended") &&
jobDescription.id().equals(jobId)) {
+LOG.info("Auto resuming suspended task with id:{} after
expiration", getId());
Review Comment:
Please change to `DEBUG` 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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
Re: [PR] [incubator-kie-issues#2154] Support for suspendUntil operation for User Tasks in WS-HT lifecycle [incubator-kie-kogito-runtimes]
martinweiler commented on code in PR #4164:
URL:
https://github.com/apache/incubator-kie-kogito-runtimes/pull/4164#discussion_r2737866949
##
jbpm/jbpm-usertask/src/main/java/org/kie/kogito/usertask/impl/lifecycle/WsHumanTaskLifeCycle.java:
##
@@ -361,16 +374,96 @@ public Optional
fail(UserTaskInstance userTaskInstance,
private Optional suspend(UserTaskInstance
userTaskInstance, UserTaskTransitionToken token, IdentityProvider
identityProvider) {
if (userTaskInstance.getStatus() != null) {
+var suspendUntil = token.data().get(PARAMETER_SUSPEND_UNTIL) !=
null ? (String) token.data().get(PARAMETER_SUSPEND_UNTIL) : (String)
userTaskInstance.getMetadata().get(SUSPEND_UNTIL);
+
+if (suspendUntil != null) {
+ZonedDateTime expirationTime =
parseTemporalValue(suspendUntil);
+
+UserTaskInstanceJobDescription jobDescription =
UserTaskInstanceJobDescription.newUserTaskInstanceJobDescriptionBuilder()
+.id(UUID.randomUUID().toString())
+.expirationTime(ExactExpirationTime.of(expirationTime))
+.userTaskInstanceId(userTaskInstance.getId())
+
.processId(userTaskInstance.getProcessInfo().getProcessId())
+
.processInstanceId(userTaskInstance.getProcessInfo().getProcessInstanceId())
+
.rootProcessInstanceId(userTaskInstance.getProcessInfo().getRootProcessInstanceId())
+
.rootProcessId(userTaskInstance.getProcessInfo().getRootProcessId())
+.metadata(userTaskInstance.getMetadata())
+.build();
+
Review Comment:
For debugging/troubleshooting purposes, I'd suggest to add a DEBUG log
message 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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
Re: [PR] [incubator-kie-issues#2154] Support for suspendUntil operation for User Tasks in WS-HT lifecycle [incubator-kie-kogito-runtimes]
kie-ci3 commented on PR #4164:
URL:
https://github.com/apache/incubator-kie-kogito-runtimes/pull/4164#issuecomment-3812401460
**PR job** `#13` was: **UNSTABLE**
Possible explanation: This should be test failures
Reproducer
build-chain build full_downstream -f
'https://raw.githubusercontent.com/${AUTHOR:apache}/incubator-kie-kogito-pipelines/${BRANCH:main}/.ci/buildchain-config-pr-cdb.yaml'
-o 'bc' -p apache/incubator-kie-kogito-runtimes -u
https://github.com/apache/incubator-kie-kogito-runtimes/pull/4164
--skipParallelCheckout
NOTE: To install the build-chain tool, please refer to
https://github.com/kiegroup/github-action-build-chain#local-execution
Please look here:
https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4164/13/display/redirect
**Test results:**
- PASSED: 3879
- FAILED: 3
Those are the test failures:
https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4164/13/testReport/org.kie.persistence.postgresql/PostgresqlProcessInstancesIT/___/";>org.kie.persistence.postgresql.PostgresqlProcessInstancesIT.(?)
Container startup failed for image mirror.gcr.io/postgres:15.9-alpine3.20
https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4164/13/testReport/org.kie.kogito.addons.quarkus.knative.serving.customfunctions.it/KnativeServingAddonIT/___/";>org.kie.kogito.addons.quarkus.knative.serving.customfunctions.it.KnativeServingAddonIT.(?)
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build
failure: Build failed due to errors [error]: Build step
io.quarkus.devservices.keycloak.KeycloakDevServicesProcessor#startKeycloakContainer
threw an exception: java.lang.RuntimeException:
org.testcontainers.containers.ContainerLaunchException: Container startup
failed for image quay.io/keycloak/keycloak:26.1.3 at
io.quarkus.devservices.keycloak.KeycloakDevServicesProcessor.startKeycloakContainer(KeycloakDevServicesProcessor.java:250)
at
java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:732)
at
io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:856)
at io.quarkus.builder.BuildContext.run(BuildContext.java:255) at
org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18) at
org.jboss.threads.EnhancedQueueExecutor$Task.doRunWith(EnhancedQueueExecutor.java:2675)
at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQu
eueExecutor.java:2654) at
org.jboss.threads.EnhancedQueueExecutor.runThreadBody(EnhancedQueueExecutor.java:1627)
at
org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1594)
at java.base/java.lang.Thread.run(Thread.java:840) at
org.jboss.threads.JBossThread.run(JBossThread.java:499)Caused by:
org.testcontainers.containers.ContainerLaunchException: Container startup
failed for image quay.io/keycloak/keycloak:26.1.3 at
org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:346)
at
org.testcontainers.containers.GenericContainer.start(GenericContainer.java:317)
at
io.quarkus.devservices.keycloak.KeycloakDevServicesProcessor.lambda$startContainer$4(KeycloakDevServicesProcessor.java:421)
at java.base/java.util.Optional.orElseGet(Optional.java:364) at
io.quarkus.devservices.keycloak.KeycloakDevServicesProcessor.startContainer(KeycloakDevServicesProcessor.java:447)
at io.quarkus.devser
vices.keycloak.KeycloakDevServicesProcessor.startKeycloakContainer(KeycloakDevServicesProcessor.java:200)
... 10 moreCaused by: org.rnorth.ducttape.RetryCountExceededException:
Retry limit hit with exception at
org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:88)
at
org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:331)
... 15 moreCaused by:
org.testcontainers.containers.ContainerLaunchException: Could not create/start
container at
org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:551)
at
org.testcontainers.containers.GenericContainer.lambda$doStart$0(GenericContainer.java:341)
at
org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:81)
... 16 moreCaused by:
org.testcontainers.containers.ContainerLaunchException: Timed out waiting for
log output matching '.*Keycloak.*started.*' at
org.testcontainers.containers.wait
.strategy.LogMessageWaitStrategy.waitUntilReady(LogMessageWaitStrategy.java:47)
at
org.testcontainers.containers.wait.strategy.AbstractWaitStrategy.waitUntilReady(AbstractWaitStrategy.java:52)
at
org.testcontainers.containers.GenericContainer.waitUntilContainerStarted(GenericContainer.java:904)
at
org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:487)
... 18 more
https://ci-builds.apache.org/job/KIE/job/kogito/jo
Re: [PR] [incubator-kie-issues#2154] Support for suspendUntil operation for User Tasks in WS-HT lifecycle [incubator-kie-kogito-runtimes]
kie-ci3 commented on PR #4164:
URL:
https://github.com/apache/incubator-kie-kogito-runtimes/pull/4164#issuecomment-3810447955
**PR job** `#12` was: **UNSTABLE**
Possible explanation: This should be test failures
Reproducer
build-chain build full_downstream -f
'https://raw.githubusercontent.com/${AUTHOR:apache}/incubator-kie-kogito-pipelines/${BRANCH:main}/.ci/buildchain-config-pr-cdb.yaml'
-o 'bc' -p apache/incubator-kie-kogito-runtimes -u
https://github.com/apache/incubator-kie-kogito-runtimes/pull/4164
--skipParallelCheckout
NOTE: To install the build-chain tool, please refer to
https://github.com/kiegroup/github-action-build-chain#local-execution
Please look here:
https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4164/12/display/redirect
**Test results:**
- PASSED: 3901
- FAILED: 6
Those are the test failures:
https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4164/12/testReport/org.jbpm.usertask.jpa.it/WsHumanTaskLifeCycleIT/PR_check___Build_projects___testSuspendUntilWithPastTimestamp/";>PR
check / Build projects /
org.jbpm.usertask.jpa.it.WsHumanTaskLifeCycleIT.testSuspendUntilWithPastTimestamp
1 expectation failed.Expected status code <400> but was <500>.
https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4164/12/testReport/org.jbpm.usertask.jpa.it/WsHumanTaskLifeCycleIT/PR_check___Build_projects___testSuspendUntilWithInvalidRepeatTimerFormat/";>PR
check / Build projects /
org.jbpm.usertask.jpa.it.WsHumanTaskLifeCycleIT.testSuspendUntilWithInvalidRepeatTimerFormat
1 expectation failed.Expected status code <400> but was <500>.
https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4164/12/testReport/org.jbpm.usertask.jpa.it/WsHumanTaskLifeCycleIT/PR_check___Build_projects___testSuspendUntilWithInvalidDurationOrTimestamp/";>PR
check / Build projects /
org.jbpm.usertask.jpa.it.WsHumanTaskLifeCycleIT.testSuspendUntilWithInvalidDurationOrTimestamp
1 expectation failed.Expected status code <400> but was <500>.
https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4164/12/testReport/org.jbpm.usertask.jpa.it/WsHumanTaskLifeCycleIT/PR_check___Build_projects___testSuspendUntilWithPastTimestamp/";>PR
check / Build projects /
org.jbpm.usertask.jpa.it.WsHumanTaskLifeCycleIT.testSuspendUntilWithPastTimestamp
1 expectation failed.Expected status code <400> but was <500>.
https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4164/12/testReport/org.jbpm.usertask.jpa.it/WsHumanTaskLifeCycleIT/PR_check___Build_projects___testSuspendUntilWithInvalidRepeatTimerFormat/";>PR
check / Build projects /
org.jbpm.usertask.jpa.it.WsHumanTaskLifeCycleIT.testSuspendUntilWithInvalidRepeatTimerFormat
1 expectation failed.Expected status code <400> but was <500>.
https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4164/12/testReport/org.jbpm.usertask.jpa.it/WsHumanTaskLifeCycleIT/PR_check___Build_projects___testSuspendUntilWithInvalidDurationOrTimestamp/";>PR
check / Build projects /
org.jbpm.usertask.jpa.it.WsHumanTaskLifeCycleIT.testSuspendUntilWithInvalidDurationOrTimestamp
1 expectation failed.Expected status code <400> but was <500>.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
Re: [PR] [incubator-kie-issues#2154] Support for suspendUntil operation for User Tasks in WS-HT lifecycle [incubator-kie-kogito-runtimes]
kie-ci3 commented on PR #4164:
URL:
https://github.com/apache/incubator-kie-kogito-runtimes/pull/4164#issuecomment-3804304050
**PR job** `#10` was: **UNSTABLE**
Possible explanation: This should be test failures
Reproducer
build-chain build full_downstream -f
'https://raw.githubusercontent.com/${AUTHOR:apache}/incubator-kie-kogito-pipelines/${BRANCH:main}/.ci/buildchain-config-pr-cdb.yaml'
-o 'bc' -p apache/incubator-kie-kogito-runtimes -u
https://github.com/apache/incubator-kie-kogito-runtimes/pull/4164
--skipParallelCheckout
NOTE: To install the build-chain tool, please refer to
https://github.com/kiegroup/github-action-build-chain#local-execution
Please look here:
https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4164/10/display/redirect
**Test results:**
- PASSED: 3872
- FAILED: 4
Those are the test failures:
https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4164/10/testReport/org.kie.kogito.addons.jwt.it/JwtParserIT/testJwtParserWorkflowEndToEnd/";>org.kie.kogito.addons.jwt.it.JwtParserIT.testJwtParserWorkflowEndToEnd
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build
failure: Build failed due to errors [error]: Build step
io.quarkus.devservices.keycloak.KeycloakDevServicesProcessor#startKeycloakContainer
threw an exception: java.lang.RuntimeException:
org.testcontainers.containers.ContainerLaunchException: Container startup
failed for image quay.io/keycloak/keycloak:26.1.3 at
io.quarkus.devservices.keycloak.KeycloakDevServicesProcessor.startKeycloakContainer(KeycloakDevServicesProcessor.java:250)
at
java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:732)
at
io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:856)
at io.quarkus.builder.BuildContext.run(BuildContext.java:255) at
org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18) at
org.jboss.threads.EnhancedQueueExecutor$Task.doRunWith(EnhancedQueueExecutor.java:2675)
at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQu
eueExecutor.java:2654) at
org.jboss.threads.EnhancedQueueExecutor.runThreadBody(EnhancedQueueExecutor.java:1627)
at
org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1594)
at java.base/java.lang.Thread.run(Thread.java:840) at
org.jboss.threads.JBossThread.run(JBossThread.java:499)Caused by:
org.testcontainers.containers.ContainerLaunchException: Container startup
failed for image quay.io/keycloak/keycloak:26.1.3 at
org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:346)
at
org.testcontainers.containers.GenericContainer.start(GenericContainer.java:317)
at
io.quarkus.devservices.keycloak.KeycloakDevServicesProcessor.lambda$startContainer$4(KeycloakDevServicesProcessor.java:421)
at java.base/java.util.Optional.orElseGet(Optional.java:364) at
io.quarkus.devservices.keycloak.KeycloakDevServicesProcessor.startContainer(KeycloakDevServicesProcessor.java:447)
at io.quarkus.devser
vices.keycloak.KeycloakDevServicesProcessor.startKeycloakContainer(KeycloakDevServicesProcessor.java:200)
... 10 moreCaused by: org.rnorth.ducttape.RetryCountExceededException:
Retry limit hit with exception at
org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:88)
at
org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:331)
... 15 moreCaused by:
org.testcontainers.containers.ContainerLaunchException: Could not create/start
container at
org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:551)
at
org.testcontainers.containers.GenericContainer.lambda$doStart$0(GenericContainer.java:341)
at
org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:81)
... 16 moreCaused by:
org.testcontainers.containers.ContainerLaunchException: Timed out waiting for
log output matching '.*Keycloak.*started.*' at
org.testcontainers.containers.wait
.strategy.LogMessageWaitStrategy.waitUntilReady(LogMessageWaitStrategy.java:47)
at
org.testcontainers.containers.wait.strategy.AbstractWaitStrategy.waitUntilReady(AbstractWaitStrategy.java:52)
at
org.testcontainers.containers.GenericContainer.waitUntilContainerStarted(GenericContainer.java:904)
at
org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:487)
... 18 more
https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4164/10/testReport/org.kie.kogito.addons.quarkus.knative.serving.customfunctions.it/KnativeServingAddonIT/___/";>org.kie.kogito.addons.quarkus.knative.serving.customfunctions.it.KnativeServingAddonIT.(?)
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build
failure: Build failed due to errors [error]: Build
Re: [PR] [incubator-kie-issues#2154] Support for suspendUntil operation for User Tasks in WS-HT lifecycle [incubator-kie-kogito-runtimes]
kie-ci3 commented on PR #4164:
URL:
https://github.com/apache/incubator-kie-kogito-runtimes/pull/4164#issuecomment-3786015892
**PR job** `#9` was: **UNSTABLE**
Possible explanation: This should be test failures
Reproducer
build-chain build full_downstream -f
'https://raw.githubusercontent.com/${AUTHOR:apache}/incubator-kie-kogito-pipelines/${BRANCH:main}/.ci/buildchain-config-pr-cdb.yaml'
-o 'bc' -p apache/incubator-kie-kogito-runtimes -u
https://github.com/apache/incubator-kie-kogito-runtimes/pull/4164
--skipParallelCheckout
NOTE: To install the build-chain tool, please refer to
https://github.com/kiegroup/github-action-build-chain#local-execution
Please look here:
https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4164/9/display/redirect
**Test results:**
- PASSED: 3872
- FAILED: 4
Those are the test failures:
https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4164/9/testReport/org.kie.kogito.addons.jwt.it/JwtParserIT/testJwtParserWorkflowEndToEnd/";>org.kie.kogito.addons.jwt.it.JwtParserIT.testJwtParserWorkflowEndToEnd
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build
failure: Build failed due to errors [error]: Build step
io.quarkus.devservices.keycloak.KeycloakDevServicesProcessor#startKeycloakContainer
threw an exception: java.lang.RuntimeException:
org.testcontainers.containers.ContainerLaunchException: Container startup
failed for image quay.io/keycloak/keycloak:26.1.3 at
io.quarkus.devservices.keycloak.KeycloakDevServicesProcessor.startKeycloakContainer(KeycloakDevServicesProcessor.java:250)
at
java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:732)
at
io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:856)
at io.quarkus.builder.BuildContext.run(BuildContext.java:255) at
org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18) at
org.jboss.threads.EnhancedQueueExecutor$Task.doRunWith(EnhancedQueueExecutor.java:2675)
at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQu
eueExecutor.java:2654) at
org.jboss.threads.EnhancedQueueExecutor.runThreadBody(EnhancedQueueExecutor.java:1627)
at
org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1594)
at java.base/java.lang.Thread.run(Thread.java:840) at
org.jboss.threads.JBossThread.run(JBossThread.java:499)Caused by:
org.testcontainers.containers.ContainerLaunchException: Container startup
failed for image quay.io/keycloak/keycloak:26.1.3 at
org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:346)
at
org.testcontainers.containers.GenericContainer.start(GenericContainer.java:317)
at
io.quarkus.devservices.keycloak.KeycloakDevServicesProcessor.lambda$startContainer$4(KeycloakDevServicesProcessor.java:421)
at java.base/java.util.Optional.orElseGet(Optional.java:364) at
io.quarkus.devservices.keycloak.KeycloakDevServicesProcessor.startContainer(KeycloakDevServicesProcessor.java:447)
at io.quarkus.devser
vices.keycloak.KeycloakDevServicesProcessor.startKeycloakContainer(KeycloakDevServicesProcessor.java:200)
... 10 moreCaused by: org.rnorth.ducttape.RetryCountExceededException:
Retry limit hit with exception at
org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:88)
at
org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:331)
... 15 moreCaused by:
org.testcontainers.containers.ContainerLaunchException: Could not create/start
container at
org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:551)
at
org.testcontainers.containers.GenericContainer.lambda$doStart$0(GenericContainer.java:341)
at
org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:81)
... 16 moreCaused by:
org.testcontainers.containers.ContainerLaunchException: Timed out waiting for
log output matching '.*Keycloak.*started.*' at
org.testcontainers.containers.wait
.strategy.LogMessageWaitStrategy.waitUntilReady(LogMessageWaitStrategy.java:47)
at
org.testcontainers.containers.wait.strategy.AbstractWaitStrategy.waitUntilReady(AbstractWaitStrategy.java:52)
at
org.testcontainers.containers.GenericContainer.waitUntilContainerStarted(GenericContainer.java:904)
at
org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:487)
... 18 more
https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4164/9/testReport/org.kie.kogito.addons.quarkus.knative.serving.customfunctions.it/KnativeServingAddonIT/___/";>org.kie.kogito.addons.quarkus.knative.serving.customfunctions.it.KnativeServingAddonIT.(?)
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build
failure: Build failed due to errors [error]: Build step
Re: [PR] [incubator-kie-issues#2154] Support for suspendUntil operation for User Tasks in WS-HT lifecycle [incubator-kie-kogito-runtimes]
josedee commented on code in PR #4164:
URL:
https://github.com/apache/incubator-kie-kogito-runtimes/pull/4164#discussion_r2717118977
##
jbpm/jbpm-usertask/src/main/java/org/kie/kogito/usertask/impl/lifecycle/WsHumanTaskLifeCycle.java:
##
@@ -45,8 +51,11 @@ public class WsHumanTaskLifeCycle implements
UserTaskLifeCycle {
private static final String PARAMETER_DELEGATED_USER = "DELEGATED_USER";
private static final String PARAMETER_FORWARDED_USERS = "FORWARDED_USERS";
private static final String PARAMETER_NOMINATED_USERS = "NOMINATED_USERS";
+private static final String PARAMETER_SUSPEND_UNTIL = "SUSPEND_UNTIL";
private static final String SKIPPABLE = "Skippable";
+private static final String SUSPEND_UNTIL = "SuspendUntil";
Review Comment:
I have changed the parameter to `suspendUntil` for both rest endpoint and
the the task metadata attribute
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
Re: [PR] [incubator-kie-issues#2154] Support for suspendUntil operation for User Tasks in WS-HT lifecycle [incubator-kie-kogito-runtimes]
kie-ci3 commented on PR #4164:
URL:
https://github.com/apache/incubator-kie-kogito-runtimes/pull/4164#issuecomment-3778991202
**PR job** `#8` was: **UNSTABLE**
Possible explanation: This should be test failures
Reproducer
build-chain build full_downstream -f
'https://raw.githubusercontent.com/${AUTHOR:apache}/incubator-kie-kogito-pipelines/${BRANCH:main}/.ci/buildchain-config-pr-cdb.yaml'
-o 'bc' -p apache/incubator-kie-kogito-runtimes -u
https://github.com/apache/incubator-kie-kogito-runtimes/pull/4164
--skipParallelCheckout
NOTE: To install the build-chain tool, please refer to
https://github.com/kiegroup/github-action-build-chain#local-execution
Please look here:
https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4164/8/display/redirect
**Test results:**
- PASSED: 3862
- FAILED: 4
Those are the test failures:
https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4164/8/testReport/org.kie.kogito.addons.jwt.it/JwtParserIT/testJwtParserWorkflowEndToEnd/";>org.kie.kogito.addons.jwt.it.JwtParserIT.testJwtParserWorkflowEndToEnd
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build
failure: Build failed due to errors [error]: Build step
io.quarkus.devservices.keycloak.KeycloakDevServicesProcessor#startKeycloakContainer
threw an exception: java.lang.RuntimeException:
org.testcontainers.containers.ContainerLaunchException: Container startup
failed for image quay.io/keycloak/keycloak:26.1.3 at
io.quarkus.devservices.keycloak.KeycloakDevServicesProcessor.startKeycloakContainer(KeycloakDevServicesProcessor.java:250)
at
java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:732)
at
io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:856)
at io.quarkus.builder.BuildContext.run(BuildContext.java:255) at
org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18) at
org.jboss.threads.EnhancedQueueExecutor$Task.doRunWith(EnhancedQueueExecutor.java:2675)
at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQu
eueExecutor.java:2654) at
org.jboss.threads.EnhancedQueueExecutor.runThreadBody(EnhancedQueueExecutor.java:1627)
at
org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1594)
at java.base/java.lang.Thread.run(Thread.java:840) at
org.jboss.threads.JBossThread.run(JBossThread.java:499)Caused by:
org.testcontainers.containers.ContainerLaunchException: Container startup
failed for image quay.io/keycloak/keycloak:26.1.3 at
org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:346)
at
org.testcontainers.containers.GenericContainer.start(GenericContainer.java:317)
at
io.quarkus.devservices.keycloak.KeycloakDevServicesProcessor.lambda$startContainer$4(KeycloakDevServicesProcessor.java:421)
at java.base/java.util.Optional.orElseGet(Optional.java:364) at
io.quarkus.devservices.keycloak.KeycloakDevServicesProcessor.startContainer(KeycloakDevServicesProcessor.java:447)
at io.quarkus.devser
vices.keycloak.KeycloakDevServicesProcessor.startKeycloakContainer(KeycloakDevServicesProcessor.java:200)
... 10 moreCaused by: org.rnorth.ducttape.RetryCountExceededException:
Retry limit hit with exception at
org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:88)
at
org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:331)
... 15 moreCaused by:
org.testcontainers.containers.ContainerLaunchException: Could not create/start
container at
org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:551)
at
org.testcontainers.containers.GenericContainer.lambda$doStart$0(GenericContainer.java:341)
at
org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:81)
... 16 moreCaused by:
org.testcontainers.containers.ContainerLaunchException: Timed out waiting for
log output matching '.*Keycloak.*started.*' at
org.testcontainers.containers.wait
.strategy.LogMessageWaitStrategy.waitUntilReady(LogMessageWaitStrategy.java:47)
at
org.testcontainers.containers.wait.strategy.AbstractWaitStrategy.waitUntilReady(AbstractWaitStrategy.java:52)
at
org.testcontainers.containers.GenericContainer.waitUntilContainerStarted(GenericContainer.java:904)
at
org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:487)
... 18 more
https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4164/8/testReport/org.kie.kogito.addons.quarkus.knative.serving.customfunctions.it/KnativeServingAddonIT/___/";>org.kie.kogito.addons.quarkus.knative.serving.customfunctions.it.KnativeServingAddonIT.(?)
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build
failure: Build failed due to errors [error]: Build step
Re: [PR] [incubator-kie-issues#2154] Support for suspendUntil operation for User Tasks in WS-HT lifecycle [incubator-kie-kogito-runtimes]
kie-ci3 commented on PR #4164:
URL:
https://github.com/apache/incubator-kie-kogito-runtimes/pull/4164#issuecomment-3771928879
**PR job** `#7` was: **UNSTABLE**
Possible explanation: This should be test failures
Reproducer
build-chain build full_downstream -f
'https://raw.githubusercontent.com/${AUTHOR:apache}/incubator-kie-kogito-pipelines/${BRANCH:main}/.ci/buildchain-config-pr-cdb.yaml'
-o 'bc' -p apache/incubator-kie-kogito-runtimes -u
https://github.com/apache/incubator-kie-kogito-runtimes/pull/4164
--skipParallelCheckout
NOTE: To install the build-chain tool, please refer to
https://github.com/kiegroup/github-action-build-chain#local-execution
Please look here:
https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4164/7/display/redirect
**Test results:**
- PASSED: 3861
- FAILED: 5
Those are the test failures:
https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4164/7/testReport/org.kie.kogito.addons.jwt.it/JwtParserIT/testJwtParserWorkflowEndToEnd/";>org.kie.kogito.addons.jwt.it.JwtParserIT.testJwtParserWorkflowEndToEnd
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build
failure: Build failed due to errors [error]: Build step
io.quarkus.devservices.keycloak.KeycloakDevServicesProcessor#startKeycloakContainer
threw an exception: java.lang.RuntimeException:
org.testcontainers.containers.ContainerLaunchException: Container startup
failed for image quay.io/keycloak/keycloak:26.1.3 at
io.quarkus.devservices.keycloak.KeycloakDevServicesProcessor.startKeycloakContainer(KeycloakDevServicesProcessor.java:250)
at
java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:732)
at
io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:856)
at io.quarkus.builder.BuildContext.run(BuildContext.java:255) at
org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18) at
org.jboss.threads.EnhancedQueueExecutor$Task.doRunWith(EnhancedQueueExecutor.java:2675)
at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQu
eueExecutor.java:2654) at
org.jboss.threads.EnhancedQueueExecutor.runThreadBody(EnhancedQueueExecutor.java:1627)
at
org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1594)
at java.base/java.lang.Thread.run(Thread.java:840) at
org.jboss.threads.JBossThread.run(JBossThread.java:499)Caused by:
org.testcontainers.containers.ContainerLaunchException: Container startup
failed for image quay.io/keycloak/keycloak:26.1.3 at
org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:346)
at
org.testcontainers.containers.GenericContainer.start(GenericContainer.java:317)
at
io.quarkus.devservices.keycloak.KeycloakDevServicesProcessor.lambda$startContainer$4(KeycloakDevServicesProcessor.java:421)
at java.base/java.util.Optional.orElseGet(Optional.java:364) at
io.quarkus.devservices.keycloak.KeycloakDevServicesProcessor.startContainer(KeycloakDevServicesProcessor.java:447)
at io.quarkus.devser
vices.keycloak.KeycloakDevServicesProcessor.startKeycloakContainer(KeycloakDevServicesProcessor.java:200)
... 10 moreCaused by: org.rnorth.ducttape.RetryCountExceededException:
Retry limit hit with exception at
org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:88)
at
org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:331)
... 15 moreCaused by:
org.testcontainers.containers.ContainerLaunchException: Could not create/start
container at
org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:551)
at
org.testcontainers.containers.GenericContainer.lambda$doStart$0(GenericContainer.java:341)
at
org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:81)
... 16 moreCaused by:
org.testcontainers.containers.ContainerLaunchException: Timed out waiting for
log output matching '.*Keycloak.*started.*' at
org.testcontainers.containers.wait
.strategy.LogMessageWaitStrategy.waitUntilReady(LogMessageWaitStrategy.java:47)
at
org.testcontainers.containers.wait.strategy.AbstractWaitStrategy.waitUntilReady(AbstractWaitStrategy.java:52)
at
org.testcontainers.containers.GenericContainer.waitUntilContainerStarted(GenericContainer.java:904)
at
org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:487)
... 18 more
https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4164/7/testReport/org.kie.kogito.addons.quarkus.knative.serving.customfunctions.it/KnativeServingAddonIT/___/";>org.kie.kogito.addons.quarkus.knative.serving.customfunctions.it.KnativeServingAddonIT.(?)
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build
failure: Build failed due to errors [error]: Build step
Re: [PR] [incubator-kie-issues#2154] Support for suspendUntil operation for User Tasks in WS-HT lifecycle [incubator-kie-kogito-runtimes]
martinweiler commented on code in PR #4164:
URL:
https://github.com/apache/incubator-kie-kogito-runtimes/pull/4164#discussion_r2706241494
##
jbpm/jbpm-usertask/src/main/java/org/kie/kogito/usertask/impl/lifecycle/WsHumanTaskLifeCycle.java:
##
@@ -45,8 +51,11 @@ public class WsHumanTaskLifeCycle implements
UserTaskLifeCycle {
private static final String PARAMETER_DELEGATED_USER = "DELEGATED_USER";
private static final String PARAMETER_FORWARDED_USERS = "FORWARDED_USERS";
private static final String PARAMETER_NOMINATED_USERS = "NOMINATED_USERS";
+private static final String PARAMETER_SUSPEND_UNTIL = "SUSPEND_UNTIL";
private static final String SKIPPABLE = "Skippable";
+private static final String SUSPEND_UNTIL = "SuspendUntil";
Review Comment:
This must be aligned with v8 for backwards compatibility, so I think it
should be `suspendUntil`
https://github.com/kiegroup/jbpm/blob/main/jbpm-flow/src/main/java/org/jbpm/workflow/instance/node/HumanTaskNodeInstance.java#L36
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
Re: [PR] [incubator-kie-issues#2154] Support for suspendUntil operation for User Tasks in WS-HT lifecycle [incubator-kie-kogito-runtimes]
kie-ci3 commented on PR #4164:
URL:
https://github.com/apache/incubator-kie-kogito-runtimes/pull/4164#issuecomment-3760160876
**PR job** `#6` was: **UNSTABLE**
Possible explanation: This should be test failures
Reproducer
build-chain build full_downstream -f
'https://raw.githubusercontent.com/${AUTHOR:apache}/incubator-kie-kogito-pipelines/${BRANCH:main}/.ci/buildchain-config-pr-cdb.yaml'
-o 'bc' -p apache/incubator-kie-kogito-runtimes -u
https://github.com/apache/incubator-kie-kogito-runtimes/pull/4164
--skipParallelCheckout
NOTE: To install the build-chain tool, please refer to
https://github.com/kiegroup/github-action-build-chain#local-execution
Please look here:
https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4164/6/display/redirect
**Test results:**
- PASSED: 3841
- FAILED: 4
Those are the test failures:
https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4164/6/testReport/org.kie.kogito.addons.jwt.it/JwtParserIT/testJwtParserWorkflowEndToEnd/";>org.kie.kogito.addons.jwt.it.JwtParserIT.testJwtParserWorkflowEndToEnd
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build
failure: Build failed due to errors [error]: Build step
io.quarkus.devservices.keycloak.KeycloakDevServicesProcessor#startKeycloakContainer
threw an exception: java.lang.RuntimeException:
org.testcontainers.containers.ContainerLaunchException: Container startup
failed for image quay.io/keycloak/keycloak:26.1.3 at
io.quarkus.devservices.keycloak.KeycloakDevServicesProcessor.startKeycloakContainer(KeycloakDevServicesProcessor.java:250)
at
java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:732)
at
io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:856)
at io.quarkus.builder.BuildContext.run(BuildContext.java:255) at
org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18) at
org.jboss.threads.EnhancedQueueExecutor$Task.doRunWith(EnhancedQueueExecutor.java:2675)
at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQu
eueExecutor.java:2654) at
org.jboss.threads.EnhancedQueueExecutor.runThreadBody(EnhancedQueueExecutor.java:1627)
at
org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1594)
at java.base/java.lang.Thread.run(Thread.java:840) at
org.jboss.threads.JBossThread.run(JBossThread.java:499)Caused by:
org.testcontainers.containers.ContainerLaunchException: Container startup
failed for image quay.io/keycloak/keycloak:26.1.3 at
org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:346)
at
org.testcontainers.containers.GenericContainer.start(GenericContainer.java:317)
at
io.quarkus.devservices.keycloak.KeycloakDevServicesProcessor.lambda$startContainer$4(KeycloakDevServicesProcessor.java:421)
at java.base/java.util.Optional.orElseGet(Optional.java:364) at
io.quarkus.devservices.keycloak.KeycloakDevServicesProcessor.startContainer(KeycloakDevServicesProcessor.java:447)
at io.quarkus.devser
vices.keycloak.KeycloakDevServicesProcessor.startKeycloakContainer(KeycloakDevServicesProcessor.java:200)
... 10 moreCaused by: org.rnorth.ducttape.RetryCountExceededException:
Retry limit hit with exception at
org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:88)
at
org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:331)
... 15 moreCaused by:
org.testcontainers.containers.ContainerLaunchException: Could not create/start
container at
org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:551)
at
org.testcontainers.containers.GenericContainer.lambda$doStart$0(GenericContainer.java:341)
at
org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:81)
... 16 moreCaused by:
org.testcontainers.containers.ContainerLaunchException: Timed out waiting for
log output matching '.*Keycloak.*started.*' at
org.testcontainers.containers.wait
.strategy.LogMessageWaitStrategy.waitUntilReady(LogMessageWaitStrategy.java:47)
at
org.testcontainers.containers.wait.strategy.AbstractWaitStrategy.waitUntilReady(AbstractWaitStrategy.java:52)
at
org.testcontainers.containers.GenericContainer.waitUntilContainerStarted(GenericContainer.java:904)
at
org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:487)
... 18 more
https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4164/6/testReport/org.kie.kogito.addons.quarkus.knative.serving.customfunctions.it/KnativeServingAddonIT/___/";>org.kie.kogito.addons.quarkus.knative.serving.customfunctions.it.KnativeServingAddonIT.(?)
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build
failure: Build failed due to errors [error]: Build step
Re: [PR] [incubator-kie-issues#2154] Support for suspendUntil operation for User Tasks in WS-HT lifecycle [incubator-kie-kogito-runtimes]
kie-ci3 commented on PR #4164:
URL:
https://github.com/apache/incubator-kie-kogito-runtimes/pull/4164#issuecomment-3759455827
**PR job** `#5` was: **UNSTABLE**
Possible explanation: This should be test failures
Reproducer
build-chain build full_downstream -f
'https://raw.githubusercontent.com/${AUTHOR:apache}/incubator-kie-kogito-pipelines/${BRANCH:main}/.ci/buildchain-config-pr-cdb.yaml'
-o 'bc' -p apache/incubator-kie-kogito-runtimes -u
https://github.com/apache/incubator-kie-kogito-runtimes/pull/4164
--skipParallelCheckout
NOTE: To install the build-chain tool, please refer to
https://github.com/kiegroup/github-action-build-chain#local-execution
Please look here:
https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4164/5/display/redirect
**Test results:**
- PASSED: 3437
- FAILED: 6
Those are the test failures:
https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4164/5/testReport/org.kie.kogito.mongodb/KogitoProcessInstancesFactoryIT/___/";>org.kie.kogito.mongodb.KogitoProcessInstancesFactoryIT.(?)
Container startup failed for image mirror.gcr.io/library/mongo:5.0.31
https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4164/5/testReport/org.kie.kogito.mongodb/MongoDBProcessInstancesIT/___/";>org.kie.kogito.mongodb.MongoDBProcessInstancesIT.(?)
Container startup failed for image mirror.gcr.io/library/mongo:5.0.31
https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4164/5/testReport/org.kie.kogito.mongodb/PersistentProcessInstancesIT/___/";>org.kie.kogito.mongodb.PersistentProcessInstancesIT.(?)
Container startup failed for image mirror.gcr.io/library/mongo:5.0.31
https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4164/5/testReport/org.kie.kogito.mongodb/PersistentProcessInstancesWithLockIT/___/";>org.kie.kogito.mongodb.PersistentProcessInstancesWithLockIT.(?)
Container startup failed for image mirror.gcr.io/library/mongo:5.0.31
https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4164/5/testReport/org.kie.kogito.mongodb.correlation/MongoDBCorrelationServiceIT/___/";>org.kie.kogito.mongodb.correlation.MongoDBCorrelationServiceIT.(?)
Container startup failed for image mirror.gcr.io/library/mongo:5.0.31
https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4164/5/testReport/org.kie.kogito.mongodb.transaction/AbstractTransactionManagerIT/___/";>org.kie.kogito.mongodb.transaction.AbstractTransactionManagerIT.(?)
Container startup failed for image mirror.gcr.io/library/mongo:5.0.31
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
Re: [PR] [incubator-kie-issues#2154] Support for suspendUntil operation for User Tasks in WS-HT lifecycle [incubator-kie-kogito-runtimes]
kie-ci3 commented on PR #4164:
URL:
https://github.com/apache/incubator-kie-kogito-runtimes/pull/4164#issuecomment-3753915487
**PR job** `#2` was: **UNSTABLE**
Possible explanation: This should be test failures
Reproducer
build-chain build full_downstream -f
'https://raw.githubusercontent.com/${AUTHOR:apache}/incubator-kie-kogito-pipelines/${BRANCH:main}/.ci/buildchain-config-pr-cdb.yaml'
-o 'bc' -p apache/incubator-kie-kogito-runtimes -u
https://github.com/apache/incubator-kie-kogito-runtimes/pull/4164
--skipParallelCheckout
NOTE: To install the build-chain tool, please refer to
https://github.com/kiegroup/github-action-build-chain#local-execution
Please look here:
https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4164/2/display/redirect
**Test results:**
- PASSED: 3821
- FAILED: 5
Those are the test failures:
https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4164/2/testReport/org.kie.kogito.addons.jwt.it/JwtParserIT/testJwtParserWorkflowEndToEnd/";>org.kie.kogito.addons.jwt.it.JwtParserIT.testJwtParserWorkflowEndToEnd
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build
failure: Build failed due to errors [error]: Build step
io.quarkus.devservices.keycloak.KeycloakDevServicesProcessor#startKeycloakContainer
threw an exception: java.lang.RuntimeException:
org.testcontainers.containers.ContainerLaunchException: Container startup
failed for image quay.io/keycloak/keycloak:26.1.3 at
io.quarkus.devservices.keycloak.KeycloakDevServicesProcessor.startKeycloakContainer(KeycloakDevServicesProcessor.java:250)
at
java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:732)
at
io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:856)
at io.quarkus.builder.BuildContext.run(BuildContext.java:255) at
org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18) at
org.jboss.threads.EnhancedQueueExecutor$Task.doRunWith(EnhancedQueueExecutor.java:2675)
at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQu
eueExecutor.java:2654) at
org.jboss.threads.EnhancedQueueExecutor.runThreadBody(EnhancedQueueExecutor.java:1627)
at
org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1594)
at java.base/java.lang.Thread.run(Thread.java:840) at
org.jboss.threads.JBossThread.run(JBossThread.java:499)Caused by:
org.testcontainers.containers.ContainerLaunchException: Container startup
failed for image quay.io/keycloak/keycloak:26.1.3 at
org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:346)
at
org.testcontainers.containers.GenericContainer.start(GenericContainer.java:317)
at
io.quarkus.devservices.keycloak.KeycloakDevServicesProcessor.lambda$startContainer$4(KeycloakDevServicesProcessor.java:421)
at java.base/java.util.Optional.orElseGet(Optional.java:364) at
io.quarkus.devservices.keycloak.KeycloakDevServicesProcessor.startContainer(KeycloakDevServicesProcessor.java:447)
at io.quarkus.devser
vices.keycloak.KeycloakDevServicesProcessor.startKeycloakContainer(KeycloakDevServicesProcessor.java:200)
... 10 moreCaused by: org.rnorth.ducttape.RetryCountExceededException:
Retry limit hit with exception at
org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:88)
at
org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:331)
... 15 moreCaused by:
org.testcontainers.containers.ContainerLaunchException: Could not create/start
container at
org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:551)
at
org.testcontainers.containers.GenericContainer.lambda$doStart$0(GenericContainer.java:341)
at
org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:81)
... 16 moreCaused by:
org.testcontainers.containers.ContainerLaunchException: Timed out waiting for
log output matching '.*Keycloak.*started.*' at
org.testcontainers.containers.wait
.strategy.LogMessageWaitStrategy.waitUntilReady(LogMessageWaitStrategy.java:47)
at
org.testcontainers.containers.wait.strategy.AbstractWaitStrategy.waitUntilReady(AbstractWaitStrategy.java:52)
at
org.testcontainers.containers.GenericContainer.waitUntilContainerStarted(GenericContainer.java:904)
at
org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:487)
... 18 more
https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4164/2/testReport/org.kie.kogito.addons.quarkus.knative.serving.customfunctions.it/KnativeServingAddonIT/___/";>org.kie.kogito.addons.quarkus.knative.serving.customfunctions.it.KnativeServingAddonIT.(?)
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build
failure: Build failed due to errors [error]: Build step
Re: [PR] [incubator-kie-issues#2154] Support for suspendUntil operation for User Tasks in WS-HT lifecycle [incubator-kie-kogito-runtimes]
kie-ci3 commented on PR #4164:
URL:
https://github.com/apache/incubator-kie-kogito-runtimes/pull/4164#issuecomment-3738744473
**PR job** `#1` was: **UNSTABLE**
Possible explanation: This should be test failures
Reproducer
build-chain build full_downstream -f
'https://raw.githubusercontent.com/${AUTHOR:apache}/incubator-kie-kogito-pipelines/${BRANCH:main}/.ci/buildchain-config-pr-cdb.yaml'
-o 'bc' -p apache/incubator-kie-kogito-runtimes -u
https://github.com/apache/incubator-kie-kogito-runtimes/pull/4164
--skipParallelCheckout
NOTE: To install the build-chain tool, please refer to
https://github.com/kiegroup/github-action-build-chain#local-execution
Please look here:
https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4164/1/display/redirect
**Test results:**
- PASSED: 3705
- FAILED: 4
Those are the test failures:
https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4164/1/testReport/org.kie.kogito.addons.jwt.it/JwtParserIT/testJwtParserWorkflowEndToEnd/";>org.kie.kogito.addons.jwt.it.JwtParserIT.testJwtParserWorkflowEndToEnd
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build
failure: Build failed due to errors [error]: Build step
io.quarkus.devservices.keycloak.KeycloakDevServicesProcessor#startKeycloakContainer
threw an exception: java.lang.RuntimeException:
org.testcontainers.containers.ContainerLaunchException: Container startup
failed for image quay.io/keycloak/keycloak:26.1.3 at
io.quarkus.devservices.keycloak.KeycloakDevServicesProcessor.startKeycloakContainer(KeycloakDevServicesProcessor.java:250)
at
java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:732)
at
io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:856)
at io.quarkus.builder.BuildContext.run(BuildContext.java:255) at
org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18) at
org.jboss.threads.EnhancedQueueExecutor$Task.doRunWith(EnhancedQueueExecutor.java:2675)
at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQu
eueExecutor.java:2654) at
org.jboss.threads.EnhancedQueueExecutor.runThreadBody(EnhancedQueueExecutor.java:1627)
at
org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1594)
at java.base/java.lang.Thread.run(Thread.java:840) at
org.jboss.threads.JBossThread.run(JBossThread.java:499)Caused by:
org.testcontainers.containers.ContainerLaunchException: Container startup
failed for image quay.io/keycloak/keycloak:26.1.3 at
org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:346)
at
org.testcontainers.containers.GenericContainer.start(GenericContainer.java:317)
at
io.quarkus.devservices.keycloak.KeycloakDevServicesProcessor.lambda$startContainer$4(KeycloakDevServicesProcessor.java:421)
at java.base/java.util.Optional.orElseGet(Optional.java:364) at
io.quarkus.devservices.keycloak.KeycloakDevServicesProcessor.startContainer(KeycloakDevServicesProcessor.java:447)
at io.quarkus.devser
vices.keycloak.KeycloakDevServicesProcessor.startKeycloakContainer(KeycloakDevServicesProcessor.java:200)
... 10 moreCaused by: org.rnorth.ducttape.RetryCountExceededException:
Retry limit hit with exception at
org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:88)
at
org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:331)
... 15 moreCaused by:
org.testcontainers.containers.ContainerLaunchException: Could not create/start
container at
org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:551)
at
org.testcontainers.containers.GenericContainer.lambda$doStart$0(GenericContainer.java:341)
at
org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:81)
... 16 moreCaused by:
org.testcontainers.containers.ContainerLaunchException: Timed out waiting for
log output matching '.*Keycloak.*started.*' at
org.testcontainers.containers.wait
.strategy.LogMessageWaitStrategy.waitUntilReady(LogMessageWaitStrategy.java:47)
at
org.testcontainers.containers.wait.strategy.AbstractWaitStrategy.waitUntilReady(AbstractWaitStrategy.java:52)
at
org.testcontainers.containers.GenericContainer.waitUntilContainerStarted(GenericContainer.java:904)
at
org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:487)
... 18 more
https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-4164/1/testReport/org.kie.kogito.addons.quarkus.knative.serving.customfunctions.it/KnativeServingAddonIT/___/";>org.kie.kogito.addons.quarkus.knative.serving.customfunctions.it.KnativeServingAddonIT.(?)
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build
failure: Build failed due to errors [error]: Build step
