Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Native build image failure: oracle.jdbc.driver.BlockSource$ThreadedCachingBlockSource still failing on mandrel image #27246

Closed
pjgg opened this issue Aug 11, 2022 · 1 comment · Fixed by #27258
Labels
area/mandrel kind/bug Something isn't working
Milestone

Comments

@pjgg
Copy link
Contributor

pjgg commented Aug 11, 2022

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 on ubi-quarkus-mandrel:22.1-java11 and Java OpenJDK 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):

--initialize-at-run-time=oracle.jdbc.driver.BlockSource$ThreadedCachingBlockSource

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 or ver

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 or gradlew --version)

No response

Additional information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/mandrel kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant