Native build image failure: oracle.jdbc.driver.BlockSource$ThreadedCachingBlockSource
still failing on mandrel
image
#27246
Labels
Milestone
Describe the bug
On this ticket we have fixed a native issue on
ubi-quarkus-native-image:22.1-java11
but is still an issue onubi-quarkus-mandrel:22.1-java11
and JavaOpenJDK Runtime Environment Temurin-11.0.16+8 (build 11.0.16+8)
. Note the java version is very important. Same scenario with Java 11.0.14 works as expected.So, to me seems that depending on your Java version and native image you will require a different native configuration. @Ladicek FYI
I revert locally the above changes and by adding only this configuration is working in both images with Temurin-11.0.16+8 (build 11.0.16+8):
Expected behavior
No response
Actual behavior
No response
How to Reproduce?
Be sure that you are using Java Temurin-11.0.16+8
git clone https://github.com/quarkus-qe/quarkus-test-suite.git
ubi-quarkus-mandrel:22.1-java11
mvn clean verify -Dnative -Dall-modules -pl sql-db/vertx-sql -Dit.test=OracleHandlerIT -Dquarkus.native.builder-image=quay.io/quarkus/ubi-quarkus-mandrel:22.1-java11
ubi-quarkus-native-image:22.1-java11
mvn clean verify -Dnative -Dall-modules -pl sql-db/vertx-sql -Dit.test=OracleHandlerIT -Dquarkus.native.builder-image=quay.io/quarkus/ubi-quarkus-native-image:22.1-java11
Or you can have a look these logs: https://github.com/quarkus-qe/quarkus-test-suite/runs/7757069279?check_suite_focus=true
Output of
uname -a
orver
No response
Output of
java -version
openjdk version "11.0.16" 2022-07-19 OpenJDK Runtime Environment Temurin-11.0.16+8 (build 11.0.16+8) OpenJDK 64-Bit Server VM Temurin-11.0.16+8 (build 11.0.16+8, mixed mode)
GraalVM version (if different from Java)
ubi-quarkus-mandrel:22.1-java11 && ubi-quarkus-native-image:22.1-java11
Quarkus version or git rev
No response
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response
The text was updated successfully, but these errors were encountered: