Closed tkobayas closed 3 months ago
I suspect this problem might come from fact that the serverless-workflow-examples-parent
is actually a sibling of modules which are using it.
I couldn't find the right place, but noticed, that the following construct is a problem on its own:
https://github.com/apache/incubator-kie-kogito-examples/blob/main/serverless-workflow-examples/pom.xml#L41
If the examples are built with "any" profile being active (either using -P or by any other activation means), this default profile is not activated at all, so the parent module falls out of the reactor.
Hi @pefernan , What do you think about @jstastny-cz 's point? : https://github.com/apache/incubator-kie-kogito-examples/pull/1987#issuecomment-2257817372 (I see that it was introduced by https://github.com/apache/incubator-kie-kogito-examples/pull/1852 )
I think this is not rushed for v10 release, but if you think this can be improved, please file a GH issue.
PR job #1
was: UNSTABLE
Possible explanation: This should be test failures
Please look here: https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-examples-pr/job/PR-1987/1/display/redirect
Test results:
Those are the test failures:
@tkobayas oh. I don't remember the reason why, but the swf examples had no parent at the time and we needed that serverless-workflow-examples-parent
so all the examples could have a common parent so they could inherit the java.module.name
... that was a quick fix we did.
IDK if removing it and setting serverless-workflow-examples
as with other examples (quarkus / springboot) would help here.
Thanks @pefernan , I filed https://github.com/apache/incubator-kie-kogito-examples/issues/1989
For now, we may go ahead with this PR.
jenkins/pr-head: This error is being seen these days. Not related to this PR.
[2024-07-30T10:20:15.960Z] [ERROR] Tests run: 4, Failures: 0, Errors: 1, Skipped: 3, Time elapsed: 80.135 s <<< FAILURE! - in org.acme.AcmeExchangeResourceIT
...
[2024-07-30T10:20:15.960Z] Caused by: org.testcontainers.containers.ContainerLaunchException: Container startup failed for image quay.io/keycloak/keycloak:23.0.7
The setup-branch change might be affected by the dev ML discussion "[DISCUSS] Kogito Examples and Properties". But at the moment, it's safe to merge, I think.
Issue:
https://github.com/apache/incubator-kie-kogito-examples/pull/1986 is a fix for 10.0.x branch, but this PR is for main branch to be a fundamental fix:
dmn-tracing-quarkus
andtrusty-tracing-quarkus-devservices