You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
QE nightlies are failing for native builds with persistence in serverless-workflow examples
For serverless-workflow-callback-quarkus:
18:53:37 [INFO] Fatal error: com.oracle.graal.pointsto.util.AnalysisError$ParsingError: Error encountered while parsing org.flywaydb.core.internal.scanner.classpath.ClassPathScanner.findResourceNamesAndParentURLs()
18:53:37 [INFO] Parsing context:
18:53:37 [INFO] at org.flywaydb.core.internal.scanner.classpath.ClassPathScanner.findResourceNamesAndParentURLs(ClassPathScanner.java:133)
[INFO] Caused by: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved method during parsing: org.flywaydb.core.internal.scanner.classpath.jboss.JBossVFSv3ClassPathLocationScanner.<init>(). This error is reported at image build time because class org.flywaydb.core.internal.scanner.classpath.ClassPathScanner is registered for linking at image build time by command line
18:53:37 [INFO] at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.phases.SharedGraphBuilderPhase$SharedBytecodeParser.reportUnresolvedElement(SharedGraphBuilderPhase.java:333)
For serverless-workflow-data-index-quarkus:
[INFO] Fatal error: com.oracle.graal.pointsto.util.AnalysisError$ParsingError: Error encountered while parsing org.flywaydb.core.FlywayExecutor.createResourceAndClassProviders(boolean)
18:59:39 [INFO] Parsing context:
18:59:39 [INFO] at org.flywaydb.core.FlywayExecutor.createResourceAndClassProviders(FlywayExecutor.java:234)
INFO] Caused by: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved method during parsing: org.flywaydb.core.internal.scanner.cloud.s3.AwsS3Scanner.<init>(java.nio.charset.Charset, boolean). This error is reported at image build time because class org.flywaydb.core.internal.scanner.Scanner is registered for linking at image build time by command line
18:59:39 [INFO] at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.phases.SharedGraphBuilderPhase$SharedBytecodeParser.reportUnresolvedElement(SharedGraphBuilderPhase.java:333)
Other examples are also failing when using profile -Ppersistence in the native build generation. It seems related to KIE flyway initializer addon change apache/incubator-kie-issues#1483
Expected behavior
Native build must be generated correctly without errors.
Actual behavior
[ERROR] The following builds failed:
[ERROR] * kogito-examples-999.0.0.redhat-2024121816/serverless-workflow-examples/serverless-workflow-callback-quarkus/pom.xml
[ERROR] * kogito-examples-999.0.0.redhat-2024121816/serverless-workflow-examples/serverless-workflow-data-index-quarkus/pom.xml
How to Reproduce?
In one of those examples execute mvn clean package -Pnative
or mvn clean package -Pnative -Ppersistence
if the persistence profile needs to be activated
Trying with different builder images give the same result, you can add following parameters in the call:
Describe the bug
QE nightlies are failing for native builds with persistence in serverless-workflow examples
For serverless-workflow-callback-quarkus:
For serverless-workflow-data-index-quarkus:
Other examples are also failing when using profile
-Ppersistence
in the native build generation. It seems related to KIE flyway initializer addon change apache/incubator-kie-issues#1483Expected behavior
Native build must be generated correctly without errors.
Actual behavior
How to Reproduce?
In one of those examples execute
mvn clean package -Pnative
or
mvn clean package -Pnative -Ppersistence
if the persistence profile needs to be activated
Trying with different builder images give the same result, you can add following parameters in the call:
Output of
uname -a
orver
x86_64 GNU/Linux
Output of
java -version
openjdk version "17.0.11" 2024-04-16
GraalVM version (if different from Java)
Java version: 21.0.5+11-LTS, vendor version: Mandrel-23.1.5.0-Final
Kogito version or git rev (or at least Quarkus version if you are using Kogito via Quarkus platform BOM)
999-SNAPSHOT (main)
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.9.6
The text was updated successfully, but these errors were encountered: