Add inline configuration support to QuarkusUnitTest and remove obsolete test config files (#51206)
Add inline configuration support to QuarkusUnitTest and remove obsolete test config files (#51206)
This commit introduces a new API method withConfiguration(String) that enables
inline configuration for QuarkusUnitTest using Java text blocks. The method
parses key=value properties and forwards them to overrideConfigKey(...),
eliminating the need for external .properties files or multiple configuration
calls in test code.
As part of this enhancement and in relation to issue #51206, obsolete test configuration
resources such as application-unittest-onlyreactive*.properties were removed,
since Dev Services now provide datasource URLs automatically and these files were
no longer required.
A new test QuarkusUnitTestWithConfigurationTest verifies that inline configuration
is correctly applied and propagated to the MicroProfile Config runtime.
- Closes: https://github.com/quarkusio/quarkus/issues/51206
Thanks for your pull request!
Your pull request does not follow our editorial rules. Could you have a look?
- title should not contain an issue number (use
Fix #1234in the description instead)
This message is automatically generated by a bot.
@gsmet whenever you have some time, I'd really appreciate a review on this PR.
thanks for the PR @mathias82 I'll review it soon
In the meanwhile, have you checked hibernate-reactive tests are correctly working?
thanks for the PR @mathias82 I'll review it soon
In the meanwhile, have you checked
hibernate-reactivetests are correctly working?
Yes the test its working as expected @lucamolteni
@mathias82 I see you've removed withConfigurationResource from 4 compatibility tests but there are 10, why not the others?
@mathias82 I see you've removed
withConfigurationResourcefrom 4 compatibility tests but there are 10, why not the others?
I removed @WithConfigurationResource only from the tests that rely exclusively on the reactive datasource and no longer require a test container connection string.
The remaining compatibility tests still need both:
quarkus.datasource.reactive.url=${postgres.reactive.url} quarkus.datasource.jdbc.url=${postgres.blocking.url}
Those ${key} interpolations cannot be expressed through overrideConfigKey, so @WithConfigurationResource is still required there. Once we drop the JDBC configuration as well, we can remove it from those tests too.
Hope this clarifies the difference!
@lucamolteni
test(junit5-internal): replace application.properties with inline runtime config in QuarkusUnitTest
This change removes the need for external application.properties files in
QuarkusUnitTest-based tests and validates that runtime configuration can be
defined directly via withRuntimeConfiguration(...).
Key changes:
- Added new test
QuarkusUnitTestWithRuntimeConfigurationTestto assert that inline runtime configuration keys are correctly applied. - Used
QuarkusUnitTest.withRuntimeConfiguration()instead of relying on application.properties. - Removed leftover properties file usage from previous Hibernate Extensions tests, as Dev Services makes container connection strings unnecessary.
- Eliminated manual config indirection through
${...}placeholders.
@lucamolteni @radcortez
I removed the pom dependency i found another way to test it
Thank you!
:waning_crescent_moon: This workflow status is outdated as a new workflow run has been triggered.
Status for workflow Quarkus CI
This is the status report for running Quarkus CI on commit 1db7e6a0ec1f463b310d485b5bed4e056e515c5e.
Failing Jobs
| Status | Name | Step | Failures | Logs | Raw logs | Build scan |
|---|---|---|---|---|---|---|
| :x: | JVM Tests - JDK 17 | Build |
Failures | Logs | Raw logs | :mag: |
| :x: | JVM Tests - JDK 21 | Build |
Failures | Logs | Raw logs | :mag: |
| :x: | JVM Tests - JDK 21 Semeru | Build |
Failures | Logs | Raw logs | :mag: |
| :x: | JVM Tests - JDK 25 | Build |
Failures | Logs | Raw logs | :mag: |
| :x: | JVM Tests - JDK 17 Windows | Build |
Failures | Logs | Raw logs | :mag: |
| :heavy_check_mark: | JVM Integration Tests - JDK 17 | Logs | Raw logs | :mag: | ||
| :heavy_check_mark: | JVM Integration Tests - JDK 17 Windows | Logs | Raw logs | :mag: | ||
| :heavy_check_mark: | JVM Integration Tests - JDK 21 | Logs | Raw logs | :mag: | ||
| :heavy_check_mark: | JVM Integration Tests - JDK 21 Semeru | Logs | Raw logs | :mag: | ||
| :x: | JVM Integration Tests - JDK 25 | Clean Gradle temp directory |
:warning: Check → | Logs | Raw logs | :mag: |
Full information is available in the Build summary check run. You can consult the Develocity build scans.
Failures
:gear: JVM Tests - JDK 17 #
- Failing: test-framework/junit5-internal
! Skipped: extensions/agroal/deployment extensions/agroal/runtime extensions/agroal/spi and 206 more
:package: test-framework/junit5-internal
:x: io.quarkus.test.QuarkusUnitTestWithConfigurationTest. - History - More details - Source on GitHub
org.junit.jupiter.api.extension.TestInstantiationException: Failed to create test instance
at io.quarkus.test.QuarkusUnitTest.beforeAll(QuarkusUnitTest.java:722)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at io.quarkus.runner.bootstrap.RunningQuarkusApplicationImpl.instance(RunningQuarkusApplicationImpl.java:106)
at io.quarkus.test.QuarkusUnitTest.beforeAll(QuarkusUnitTest.java:714)
... 1 more
Caused by: java.lang.reflect.InvocationTargetException
:gear: JVM Tests - JDK 21 #
- Failing: test-framework/junit5-internal
! Skipped: extensions/agroal/deployment extensions/agroal/runtime extensions/agroal/spi and 206 more
:package: test-framework/junit5-internal
:x: io.quarkus.test.QuarkusUnitTestWithConfigurationTest. - History - More details - Source on GitHub
org.junit.jupiter.api.extension.TestInstantiationException: Failed to create test instance
at io.quarkus.test.QuarkusUnitTest.beforeAll(QuarkusUnitTest.java:722)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at io.quarkus.runner.bootstrap.RunningQuarkusApplicationImpl.instance(RunningQuarkusApplicationImpl.java:106)
at io.quarkus.test.QuarkusUnitTest.beforeAll(QuarkusUnitTest.java:714)
... 1 more
Caused by: java.lang.reflect.InvocationTargetException
:gear: JVM Tests - JDK 21 Semeru #
- Failing: test-framework/junit5-internal
! Skipped: extensions/agroal/deployment extensions/agroal/runtime extensions/agroal/spi and 206 more
:package: test-framework/junit5-internal
:x: io.quarkus.test.QuarkusUnitTestWithConfigurationTest. - History - More details - Source on GitHub
org.junit.jupiter.api.extension.TestInstantiationException: Failed to create test instance
at io.quarkus.test.QuarkusUnitTest.beforeAll(QuarkusUnitTest.java:722)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at io.quarkus.runner.bootstrap.RunningQuarkusApplicationImpl.instance(RunningQuarkusApplicationImpl.java:106)
at io.quarkus.test.QuarkusUnitTest.beforeAll(QuarkusUnitTest.java:714)
... 1 more
Caused by: java.lang.reflect.InvocationTargetException
:gear: JVM Tests - JDK 25 #
- Failing: test-framework/junit5-internal
! Skipped: extensions/agroal/deployment extensions/agroal/runtime extensions/agroal/spi and 206 more
:package: test-framework/junit5-internal
:x: io.quarkus.test.QuarkusUnitTestWithConfigurationTest. - History - More details - Source on GitHub
org.junit.jupiter.api.extension.TestInstantiationException: Failed to create test instance
at io.quarkus.test.QuarkusUnitTest.beforeAll(QuarkusUnitTest.java:722)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1604)
Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at io.quarkus.runner.bootstrap.RunningQuarkusApplicationImpl.instance(RunningQuarkusApplicationImpl.java:106)
at io.quarkus.test.QuarkusUnitTest.beforeAll(QuarkusUnitTest.java:714)
... 1 more
Caused by: java.lang.reflect.InvocationTargetException
:gear: JVM Tests - JDK 17 Windows #
- Failing: test-framework/junit5-internal
! Skipped: extensions/agroal/deployment extensions/agroal/runtime extensions/agroal/spi and 206 more
:package: test-framework/junit5-internal
:x: io.quarkus.test.QuarkusUnitTestWithConfigurationTest. - History - More details - Source on GitHub
org.junit.jupiter.api.extension.TestInstantiationException: Failed to create test instance
at io.quarkus.test.QuarkusUnitTest.beforeAll(QuarkusUnitTest.java:722)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at io.quarkus.runner.bootstrap.RunningQuarkusApplicationImpl.instance(RunningQuarkusApplicationImpl.java:106)
at io.quarkus.test.QuarkusUnitTest.beforeAll(QuarkusUnitTest.java:714)
... 1 more
Caused by: java.lang.reflect.InvocationTargetException
The failing test (QuarkusUnitTestWithConfigurationTest) is part of test-framework/junit5-internal, and the changes in this PR only affect vertx-http runtime and documentation
This is... obviously not true, you wrote QuarkusUnitTestWithConfigurationTest yourself and added it to Quarkus in this very PR.
Would you be relying on AI to write these comments without reviewing them, by any chance? Because while I can understand this helps do things faster, in this case that doesn't seem very helpful overall :)
While I agree this is probably not caused by a bug in Quarkus, it does seem the tests are faulty -- and the problem seems related to the trouble you had regarding the use of CDI. See https://ge.quarkus.io/s/5i7rrdz7z46m2/tests/goal/io.quarkus:quarkus-junit5-internal:surefire:test@default-test/details/io.quarkus.test.QuarkusUnitTestWithConfigurationTest?top-execution=2.
Did you manage to make this test pass locally? i.e. after building quarkus (./mvnw -Dquickly), does ./mvnw -f test-framework/junit5-internal pass for you?
EDIT: FWIW it doesn't look like the test is a "pure unit test" as intended -- something seems to be starting the whole QuarkusUnitTest machinery.
The failing test (QuarkusUnitTestWithConfigurationTest) is part of test-framework/junit5-internal, and the changes in this PR only affect vertx-http runtime and documentation
This is... obviously not true, you wrote
QuarkusUnitTestWithConfigurationTestyourself and added it to Quarkus in this very PR.Would you be relying on AI to write these comments without reviewing them, by any chance? Because while I can understand this helps do things faster, in this case that doesn't seem very helpful overall :)
While I agree this is probably not caused by a bug in Quarkus, it does seem the tests are faulty -- and the problem seems related to the trouble you had regarding the use of CDI. See https://ge.quarkus.io/s/5i7rrdz7z46m2/tests/goal/io.quarkus:quarkus-junit5-internal:surefire:test@default-test/details/io.quarkus.test.QuarkusUnitTestWithConfigurationTest?top-execution=2.
Did you manage to make this test pass locally? i.e. after building quarkus (
./mvnw -Dquickly), does./mvnw -f test-framework/junit5-internalpass for you?EDIT: FWIW it doesn't look like the test is a "pure unit test" as intended -- something seems to be starting the whole
QuarkusUnitTestmachinery.
Hi Yoann, thanks for the clarification.
No, the comment wasn’t written by AI,it was simply my mistake. I accidentally write that explanation that supposed to be to a different PR where it was relevant, and I commented it here by mistake. Apologies for the confusion.
Regarding this PR: You are correct, the failing test is part of test-framework/junit5-internal, and after reviewing it again I see that the issue is related to how the test interacts with the CDI/bootstrap lifecycle.
I’ve already pushed an update, locally its working as expected
Thanks again for pointing it out.
@lucamolteni @radcortez @yrodiere
:waning_crescent_moon: This workflow status is outdated as a new workflow run has been triggered.
Status for workflow Quarkus CI
This is the status report for running Quarkus CI on commit c3f77414a26abcdfbbbef2c32b9e5a9e17469b4f.
Failing Jobs
| Status | Name | Step | Failures | Logs | Raw logs | Build scan |
|---|---|---|---|---|---|---|
| :x: | JVM Tests - JDK 17 | Build |
Failures | Logs | Raw logs | :mag: |
| :x: | JVM Tests - JDK 21 | Build |
Failures | Logs | Raw logs | :mag: |
| :x: | JVM Tests - JDK 21 Semeru | Build |
Failures | Logs | Raw logs | :mag: |
| :x: | JVM Tests - JDK 25 | Build |
Failures | Logs | Raw logs | :mag: |
Full information is available in the Build summary check run. You can consult the Develocity build scans.
Failures
:gear: JVM Tests - JDK 17 #
- Failing: extensions/hibernate-reactive/deployment
! Skipped: extensions/panache/hibernate-reactive-panache-kotlin/deployment extensions/panache/hibernate-reactive-panache/deployment extensions/panache/hibernate-reactive-rest-data-panache/deployment and 2 more
:package: extensions/hibernate-reactive/deployment
:x: io.quarkus.hibernate.reactive.compatibility.ORMReactiveCompatbilityDifferentNamedDataSourceNamedPersistenceUnitBothUnitTest. - History - More details - Source on GitHub
java.lang.RuntimeException: Unable to create the archive
at io.quarkus.test.QuarkusUnitTest.exportArchives(QuarkusUnitTest.java:375)
at io.quarkus.test.QuarkusUnitTest.beforeAll(QuarkusUnitTest.java:614)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Caused by: java.lang.IllegalArgumentException: application-unittest-both-named-different.properties doesn't exist or can't be accessed
at org.jboss.shrinkwrap.impl.base.Validate.notNull(Validate.java:43)
at org.jboss.shrinkwrap.impl.base.container.ContainerBase.fileFromResource(ContainerBase.java:1991)
at org.jboss.shrinkwrap.impl.base.container.ContainerBase.addAsResource(ContainerBase.java:1057)
:x: io.quarkus.hibernate.reactive.compatibility.ORMReactiveCompatibilityNamedReactiveDefaultBlockingUnitTest.testBlocking line 58 - History - More details - Source on GitHub
org.hibernate.exception.SQLGrammarException:
JDBC exception executing SQL [ERROR: relation "hero" does not exist
Position: 82] [select h1_0.id,h1_0.level,h1_0.name,h1_0.otherName,h1_0.picture,h1_0.powers from hero h1_0]
at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:63)
at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:34)
at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:115)
at org.hibernate.sql.results.jdbc.internal.DeferredResultSetAccess.executeQuery(DeferredResultSetAccess.java:304)
at org.hibernate.sql.results.jdbc.internal.DeferredResultSetAccess.getResultSet(DeferredResultSetAccess.java:200)
:gear: JVM Tests - JDK 21 #
- Failing: extensions/hibernate-reactive/deployment
! Skipped: extensions/panache/hibernate-reactive-panache-kotlin/deployment extensions/panache/hibernate-reactive-panache/deployment extensions/panache/hibernate-reactive-rest-data-panache/deployment and 2 more
:package: extensions/hibernate-reactive/deployment
:x: io.quarkus.hibernate.reactive.compatibility.ORMReactiveCompatbilityDifferentNamedDataSourceNamedPersistenceUnitBothUnitTest. - History - More details - Source on GitHub
java.lang.RuntimeException: Unable to create the archive
at io.quarkus.test.QuarkusUnitTest.exportArchives(QuarkusUnitTest.java:375)
at io.quarkus.test.QuarkusUnitTest.beforeAll(QuarkusUnitTest.java:614)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
Caused by: java.lang.IllegalArgumentException: application-unittest-both-named-different.properties doesn't exist or can't be accessed
at org.jboss.shrinkwrap.impl.base.Validate.notNull(Validate.java:43)
at org.jboss.shrinkwrap.impl.base.container.ContainerBase.fileFromResource(ContainerBase.java:1991)
at org.jboss.shrinkwrap.impl.base.container.ContainerBase.addAsResource(ContainerBase.java:1057)
:x: io.quarkus.hibernate.reactive.compatibility.ORMReactiveCompatibilityNamedReactiveDefaultBlockingUnitTest.testBlocking line 58 - History - More details - Source on GitHub
org.hibernate.exception.SQLGrammarException:
JDBC exception executing SQL [ERROR: relation "hero" does not exist
Position: 82] [select h1_0.id,h1_0.level,h1_0.name,h1_0.otherName,h1_0.picture,h1_0.powers from hero h1_0]
at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:63)
at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:34)
at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:115)
at org.hibernate.sql.results.jdbc.internal.DeferredResultSetAccess.executeQuery(DeferredResultSetAccess.java:304)
at org.hibernate.sql.results.jdbc.internal.DeferredResultSetAccess.getResultSet(DeferredResultSetAccess.java:200)
:gear: JVM Tests - JDK 21 Semeru #
- Failing: extensions/hibernate-reactive/deployment
! Skipped: extensions/panache/hibernate-reactive-panache-kotlin/deployment extensions/panache/hibernate-reactive-panache/deployment extensions/panache/hibernate-reactive-rest-data-panache/deployment and 2 more
:package: extensions/hibernate-reactive/deployment
:x: io.quarkus.hibernate.reactive.compatibility.ORMReactiveCompatbilityDifferentNamedDataSourceNamedPersistenceUnitBothUnitTest. - History - More details - Source on GitHub
java.lang.RuntimeException: Unable to create the archive
at io.quarkus.test.QuarkusUnitTest.exportArchives(QuarkusUnitTest.java:375)
at io.quarkus.test.QuarkusUnitTest.beforeAll(QuarkusUnitTest.java:614)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
Caused by: java.lang.IllegalArgumentException: application-unittest-both-named-different.properties doesn't exist or can't be accessed
at org.jboss.shrinkwrap.impl.base.Validate.notNull(Validate.java:43)
at org.jboss.shrinkwrap.impl.base.container.ContainerBase.fileFromResource(ContainerBase.java:1991)
at org.jboss.shrinkwrap.impl.base.container.ContainerBase.addAsResource(ContainerBase.java:1057)
:x: io.quarkus.hibernate.reactive.compatibility.ORMReactiveCompatibilityNamedReactiveDefaultBlockingUnitTest.testBlocking line 58 - History - More details - Source on GitHub
org.hibernate.exception.SQLGrammarException:
JDBC exception executing SQL [ERROR: relation "hero" does not exist
Position: 82] [select h1_0.id,h1_0.level,h1_0.name,h1_0.otherName,h1_0.picture,h1_0.powers from hero h1_0]
at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:63)
at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:34)
at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:115)
at org.hibernate.sql.results.jdbc.internal.DeferredResultSetAccess.executeQuery(DeferredResultSetAccess.java:304)
at org.hibernate.sql.results.jdbc.internal.DeferredResultSetAccess.getResultSet(DeferredResultSetAccess.java:200)
:gear: JVM Tests - JDK 25 #
- Failing: extensions/hibernate-reactive/deployment
! Skipped: extensions/panache/hibernate-reactive-panache-kotlin/deployment extensions/panache/hibernate-reactive-panache/deployment extensions/panache/hibernate-reactive-rest-data-panache/deployment and 2 more
:package: extensions/hibernate-reactive/deployment
:x: io.quarkus.hibernate.reactive.compatibility.ORMReactiveCompatbilityDifferentNamedDataSourceNamedPersistenceUnitBothUnitTest. - History - More details - Source on GitHub
java.lang.RuntimeException: Unable to create the archive
at io.quarkus.test.QuarkusUnitTest.exportArchives(QuarkusUnitTest.java:375)
at io.quarkus.test.QuarkusUnitTest.beforeAll(QuarkusUnitTest.java:614)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1604)
Caused by: java.lang.IllegalArgumentException: application-unittest-both-named-different.properties doesn't exist or can't be accessed
at org.jboss.shrinkwrap.impl.base.Validate.notNull(Validate.java:43)
at org.jboss.shrinkwrap.impl.base.container.ContainerBase.fileFromResource(ContainerBase.java:1991)
at org.jboss.shrinkwrap.impl.base.container.ContainerBase.addAsResource(ContainerBase.java:1057)
:x: io.quarkus.hibernate.reactive.compatibility.ORMReactiveCompatibilityNamedReactiveDefaultBlockingUnitTest.testBlocking line 58 - History - More details - Source on GitHub
org.hibernate.exception.SQLGrammarException:
JDBC exception executing SQL [ERROR: relation "hero" does not exist
Position: 82] [select h1_0.id,h1_0.level,h1_0.name,h1_0.otherName,h1_0.picture,h1_0.powers from hero h1_0]
at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:63)
at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:34)
at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:115)
at org.hibernate.sql.results.jdbc.internal.DeferredResultSetAccess.executeQuery(DeferredResultSetAccess.java:304)
at org.hibernate.sql.results.jdbc.internal.DeferredResultSetAccess.getResultSet(DeferredResultSetAccess.java:200)
:waning_crescent_moon: This workflow status is outdated as a new workflow run has been triggered.
Status for workflow Quarkus CI
This is the status report for running Quarkus CI on commit e9f7a29c8041ebf02fa2753ebc657cb72a8582c1.
Failing Jobs
| Status | Name | Step | Failures | Logs | Raw logs | Build scan |
|---|---|---|---|---|---|---|
| :x: | JVM Tests - JDK 17 | Build |
Failures | Logs | Raw logs | :mag: |
| :x: | JVM Tests - JDK 21 | Build |
Failures | Logs | Raw logs | :mag: |
| :x: | JVM Tests - JDK 21 Semeru | Build |
Failures | Logs | Raw logs | :mag: |
| :x: | JVM Tests - JDK 25 | Build |
Failures | Logs | Raw logs | :mag: |
| :heavy_check_mark: | Gradle Tests - JDK 17 | Logs | Raw logs | :mag: | ||
| :x: | Gradle Tests - JDK 17 Windows | Build |
:warning: Check → | Logs | Raw logs | :construction: |
Full information is available in the Build summary check run. You can consult the Develocity build scans.
Failures
:gear: JVM Tests - JDK 17 #
- Failing: extensions/hibernate-reactive/deployment
! Skipped: extensions/panache/hibernate-reactive-panache-kotlin/deployment extensions/panache/hibernate-reactive-panache/deployment extensions/panache/hibernate-reactive-rest-data-panache/deployment and 2 more
:package: extensions/hibernate-reactive/deployment
:x: io.quarkus.hibernate.reactive.compatibility.ORMReactiveCompatbilityDifferentNamedDataSourceNamedPersistenceUnitBothUnitTest. - History - More details - Source on GitHub
java.lang.RuntimeException: Unable to create the archive
at io.quarkus.test.QuarkusUnitTest.exportArchives(QuarkusUnitTest.java:375)
at io.quarkus.test.QuarkusUnitTest.beforeAll(QuarkusUnitTest.java:614)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Caused by: java.lang.IllegalArgumentException: application-unittest-both-named-different.properties doesn't exist or can't be accessed
at org.jboss.shrinkwrap.impl.base.Validate.notNull(Validate.java:43)
at org.jboss.shrinkwrap.impl.base.container.ContainerBase.fileFromResource(ContainerBase.java:1991)
at org.jboss.shrinkwrap.impl.base.container.ContainerBase.addAsResource(ContainerBase.java:1057)
:x: io.quarkus.hibernate.reactive.compatibility.ORMReactiveCompatibilityNamedReactiveDefaultBlockingUnitTest.testBlocking line 58 - History - More details - Source on GitHub
org.hibernate.exception.SQLGrammarException:
JDBC exception executing SQL [ERROR: relation "hero" does not exist
Position: 82] [select h1_0.id,h1_0.level,h1_0.name,h1_0.otherName,h1_0.picture,h1_0.powers from hero h1_0]
at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:63)
at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:34)
at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:115)
at org.hibernate.sql.results.jdbc.internal.DeferredResultSetAccess.executeQuery(DeferredResultSetAccess.java:304)
at org.hibernate.sql.results.jdbc.internal.DeferredResultSetAccess.getResultSet(DeferredResultSetAccess.java:200)
:gear: JVM Tests - JDK 21 #
- Failing: extensions/hibernate-reactive/deployment
! Skipped: extensions/panache/hibernate-reactive-panache-kotlin/deployment extensions/panache/hibernate-reactive-panache/deployment extensions/panache/hibernate-reactive-rest-data-panache/deployment and 2 more
:package: extensions/hibernate-reactive/deployment
:x: io.quarkus.hibernate.reactive.compatibility.ORMReactiveCompatbilityDifferentNamedDataSourceNamedPersistenceUnitBothUnitTest. - History - More details - Source on GitHub
java.lang.RuntimeException: Unable to create the archive
at io.quarkus.test.QuarkusUnitTest.exportArchives(QuarkusUnitTest.java:375)
at io.quarkus.test.QuarkusUnitTest.beforeAll(QuarkusUnitTest.java:614)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
Caused by: java.lang.IllegalArgumentException: application-unittest-both-named-different.properties doesn't exist or can't be accessed
at org.jboss.shrinkwrap.impl.base.Validate.notNull(Validate.java:43)
at org.jboss.shrinkwrap.impl.base.container.ContainerBase.fileFromResource(ContainerBase.java:1991)
at org.jboss.shrinkwrap.impl.base.container.ContainerBase.addAsResource(ContainerBase.java:1057)
:x: io.quarkus.hibernate.reactive.compatibility.ORMReactiveCompatibilityNamedReactiveDefaultBlockingUnitTest.testBlocking line 58 - History - More details - Source on GitHub
org.hibernate.exception.SQLGrammarException:
JDBC exception executing SQL [ERROR: relation "hero" does not exist
Position: 82] [select h1_0.id,h1_0.level,h1_0.name,h1_0.otherName,h1_0.picture,h1_0.powers from hero h1_0]
at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:63)
at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:34)
at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:115)
at org.hibernate.sql.results.jdbc.internal.DeferredResultSetAccess.executeQuery(DeferredResultSetAccess.java:304)
at org.hibernate.sql.results.jdbc.internal.DeferredResultSetAccess.getResultSet(DeferredResultSetAccess.java:200)
:gear: JVM Tests - JDK 21 Semeru #
- Failing: extensions/hibernate-reactive/deployment
! Skipped: extensions/panache/hibernate-reactive-panache-kotlin/deployment extensions/panache/hibernate-reactive-panache/deployment extensions/panache/hibernate-reactive-rest-data-panache/deployment and 2 more
:package: extensions/hibernate-reactive/deployment
:x: io.quarkus.hibernate.reactive.compatibility.ORMReactiveCompatbilityDifferentNamedDataSourceNamedPersistenceUnitBothUnitTest. - History - More details - Source on GitHub
java.lang.RuntimeException: Unable to create the archive
at io.quarkus.test.QuarkusUnitTest.exportArchives(QuarkusUnitTest.java:375)
at io.quarkus.test.QuarkusUnitTest.beforeAll(QuarkusUnitTest.java:614)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
Caused by: java.lang.IllegalArgumentException: application-unittest-both-named-different.properties doesn't exist or can't be accessed
at org.jboss.shrinkwrap.impl.base.Validate.notNull(Validate.java:43)
at org.jboss.shrinkwrap.impl.base.container.ContainerBase.fileFromResource(ContainerBase.java:1991)
at org.jboss.shrinkwrap.impl.base.container.ContainerBase.addAsResource(ContainerBase.java:1057)
:x: io.quarkus.hibernate.reactive.compatibility.ORMReactiveCompatibilityNamedReactiveDefaultBlockingUnitTest.testBlocking line 58 - History - More details - Source on GitHub
org.hibernate.exception.SQLGrammarException:
JDBC exception executing SQL [ERROR: relation "hero" does not exist
Position: 82] [select h1_0.id,h1_0.level,h1_0.name,h1_0.otherName,h1_0.picture,h1_0.powers from hero h1_0]
at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:63)
at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:34)
at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:115)
at org.hibernate.sql.results.jdbc.internal.DeferredResultSetAccess.executeQuery(DeferredResultSetAccess.java:304)
at org.hibernate.sql.results.jdbc.internal.DeferredResultSetAccess.getResultSet(DeferredResultSetAccess.java:200)
:gear: JVM Tests - JDK 25 #
- Failing: extensions/hibernate-reactive/deployment
! Skipped: extensions/panache/hibernate-reactive-panache-kotlin/deployment extensions/panache/hibernate-reactive-panache/deployment extensions/panache/hibernate-reactive-rest-data-panache/deployment and 2 more
:package: extensions/hibernate-reactive/deployment
:x: io.quarkus.hibernate.reactive.compatibility.ORMReactiveCompatbilityDifferentNamedDataSourceNamedPersistenceUnitBothUnitTest. - History - More details - Source on GitHub
java.lang.RuntimeException: Unable to create the archive
at io.quarkus.test.QuarkusUnitTest.exportArchives(QuarkusUnitTest.java:375)
at io.quarkus.test.QuarkusUnitTest.beforeAll(QuarkusUnitTest.java:614)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1604)
Caused by: java.lang.IllegalArgumentException: application-unittest-both-named-different.properties doesn't exist or can't be accessed
at org.jboss.shrinkwrap.impl.base.Validate.notNull(Validate.java:43)
at org.jboss.shrinkwrap.impl.base.container.ContainerBase.fileFromResource(ContainerBase.java:1991)
at org.jboss.shrinkwrap.impl.base.container.ContainerBase.addAsResource(ContainerBase.java:1057)
:x: io.quarkus.hibernate.reactive.compatibility.ORMReactiveCompatibilityNamedReactiveDefaultBlockingUnitTest.testBlocking line 58 - History - More details - Source on GitHub
org.hibernate.exception.SQLGrammarException:
JDBC exception executing SQL [ERROR: relation "hero" does not exist
Position: 82] [select h1_0.id,h1_0.level,h1_0.name,h1_0.otherName,h1_0.picture,h1_0.powers from hero h1_0]
at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:63)
at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:34)
at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:115)
at org.hibernate.sql.results.jdbc.internal.DeferredResultSetAccess.executeQuery(DeferredResultSetAccess.java:304)
at org.hibernate.sql.results.jdbc.internal.DeferredResultSetAccess.getResultSet(DeferredResultSetAccess.java:200)
Flaky tests - Develocity
:gear: JVM Tests - JDK 21 Semeru
:package: extensions/micrometer-opentelemetry/deployment
:x: io.quarkus.micrometer.opentelemetry.deployment.compatibility.MicrometerTimedInterceptorTest.testTimeMethod_AsyncFailed - History
Stream has no elements-java.lang.IllegalArgumentException
java.lang.IllegalArgumentException: Stream has no elements
at io.quarkus.micrometer.opentelemetry.deployment.common.MetricDataFilter.lambda$lastReading$2(MetricDataFilter.java:213)
at java.base/java.util.Optional.orElseThrow(Optional.java:403)
at io.quarkus.micrometer.opentelemetry.deployment.common.MetricDataFilter.lastReading(MetricDataFilter.java:213)
at io.quarkus.micrometer.opentelemetry.deployment.common.MetricDataFilter.lastReadingDataPoint(MetricDataFilter.java:231)
at io.quarkus.micrometer.opentelemetry.deployment.compatibility.MicrometerTimedInterceptorTest.testTimeMethod_AsyncFailed(MicrometerTimedInterceptorTest.java:150)
:gear: Maven Tests - JDK 17 Windows
:package: integration-tests/devmode
:x: io.quarkus.test.reload.RecompilationDependenciesDevModeTest.testDependencyChangeTriggersRecompilationOfRecompilationTargets - History
Cannot load from object array because the return value of "java.util.logging.LogRecord.getParameters()" is null-java.lang.NullPointerException
java.lang.NullPointerException: Cannot load from object array because the return value of "java.util.logging.LogRecord.getParameters()" is null
at io.quarkus.test.reload.RecompilationDependenciesDevModeTest.testDependencyChangeTriggersRecompilationOfRecompilationTargets(RecompilationDependenciesDevModeTest.java:78)
:waning_crescent_moon: This workflow status is outdated as a new workflow run has been triggered.
Status for workflow Quarkus CI
This is the status report for running Quarkus CI on commit 87a0ef75e4aa1e92d6cdf190c6bf33d73ab32d3f.
Failing Jobs
| Status | Name | Step | Failures | Logs | Raw logs | Build scan |
|---|---|---|---|---|---|---|
| :x: | JVM Tests - JDK 17 | Build |
Failures | Logs | Raw logs | :mag: |
| :x: | JVM Tests - JDK 21 | Build |
Failures | Logs | Raw logs | :mag: |
| :x: | JVM Tests - JDK 21 Semeru | Build |
Failures | Logs | Raw logs | :mag: |
| :x: | JVM Tests - JDK 25 | Build |
Failures | Logs | Raw logs | :mag: |
Full information is available in the Build summary check run. You can consult the Develocity build scans.
Failures
:gear: JVM Tests - JDK 17 #
- Failing: extensions/hibernate-reactive/deployment
! Skipped: extensions/panache/hibernate-reactive-panache-common/deployment extensions/panache/hibernate-reactive-panache-kotlin/deployment extensions/panache/hibernate-reactive-panache/deployment and 3 more
:package: extensions/hibernate-reactive/deployment
:x: io.quarkus.hibernate.reactive.compatibility.ORMReactiveCompatbilityDifferentNamedDataSourceNamedPersistenceUnitBothUnitTest. - History - More details - Source on GitHub
java.lang.RuntimeException: Failed to start quarkus
at io.quarkus.runner.ApplicationImpl.doStart(Unknown Source)
at io.quarkus.runtime.Application.start(Application.java:105)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at io.quarkus.runner.bootstrap.StartupActionImpl.run(StartupActionImpl.java:350)
at io.quarkus.test.QuarkusUnitTest.beforeAll(QuarkusUnitTest.java:703)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Caused by: io.quarkus.runtime.configuration.ConfigurationException: Unable to find datasource 'named-datasource-blocking' for persistence unit 'named-pu-blocking': Bean is not active: SYNTHETIC bean [class=io.agroal.api.AgroalDataSource, id=Sg52tEBI1-CnWf35LO8n0TaijvU]
:x: io.quarkus.hibernate.reactive.compatibility.ORMReactiveCompatbilityNamedDataSourceNamedPersistenceUnitBothUnitTest. - History - More details - Source on GitHub
java.lang.RuntimeException: Failed to start quarkus
at io.quarkus.runner.ApplicationImpl.doStart(Unknown Source)
at io.quarkus.runtime.Application.start(Application.java:105)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at io.quarkus.runner.bootstrap.StartupActionImpl.run(StartupActionImpl.java:350)
at io.quarkus.test.QuarkusUnitTest.beforeAll(QuarkusUnitTest.java:703)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Caused by: io.quarkus.runtime.configuration.ConfigurationException: Unable to find datasource 'named-datasource' for persistence unit 'named-pu': Bean is not active: SYNTHETIC bean [class=io.vertx.pgclient.PgPool, id=IIm9T1--Q1cBkx-gFFUROXrsqcw]
:x: io.quarkus.hibernate.reactive.compatibility.ORMReactiveCompatibilityNamedReactiveDefaultBlockingUnitTest.testBlocking line 58 - History - More details - Source on GitHub
org.hibernate.exception.SQLGrammarException:
JDBC exception executing SQL [ERROR: relation "hero" does not exist
Position: 82] [select h1_0.id,h1_0.level,h1_0.name,h1_0.otherName,h1_0.picture,h1_0.powers from hero h1_0]
at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:63)
at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:34)
at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:115)
at org.hibernate.sql.results.jdbc.internal.DeferredResultSetAccess.executeQuery(DeferredResultSetAccess.java:304)
at org.hibernate.sql.results.jdbc.internal.DeferredResultSetAccess.getResultSet(DeferredResultSetAccess.java:200)
:gear: JVM Tests - JDK 21 #
- Failing: extensions/hibernate-reactive/deployment
! Skipped: extensions/panache/hibernate-reactive-panache-common/deployment extensions/panache/hibernate-reactive-panache-kotlin/deployment extensions/panache/hibernate-reactive-panache/deployment and 3 more
:package: extensions/hibernate-reactive/deployment
:x: io.quarkus.hibernate.reactive.compatibility.ORMReactiveCompatbilityDifferentNamedDataSourceNamedPersistenceUnitBothUnitTest. - History - More details - Source on GitHub
java.lang.RuntimeException: Failed to start quarkus
at io.quarkus.runner.ApplicationImpl.doStart(Unknown Source)
at io.quarkus.runtime.Application.start(Application.java:105)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at io.quarkus.runner.bootstrap.StartupActionImpl.run(StartupActionImpl.java:350)
at io.quarkus.test.QuarkusUnitTest.beforeAll(QuarkusUnitTest.java:703)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
Caused by: io.quarkus.runtime.configuration.ConfigurationException: Unable to find datasource 'named-datasource-blocking' for persistence unit 'named-pu-blocking': Bean is not active: SYNTHETIC bean [class=io.agroal.api.AgroalDataSource, id=Sg52tEBI1-CnWf35LO8n0TaijvU]
:x: io.quarkus.hibernate.reactive.compatibility.ORMReactiveCompatbilityNamedDataSourceNamedPersistenceUnitBothUnitTest. - History - More details - Source on GitHub
java.lang.RuntimeException: Failed to start quarkus
at io.quarkus.runner.ApplicationImpl.doStart(Unknown Source)
at io.quarkus.runtime.Application.start(Application.java:105)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at io.quarkus.runner.bootstrap.StartupActionImpl.run(StartupActionImpl.java:350)
at io.quarkus.test.QuarkusUnitTest.beforeAll(QuarkusUnitTest.java:703)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
Caused by: io.quarkus.runtime.configuration.ConfigurationException: Unable to find datasource 'named-datasource' for persistence unit 'named-pu': Bean is not active: SYNTHETIC bean [class=io.vertx.pgclient.PgPool, id=IIm9T1--Q1cBkx-gFFUROXrsqcw]
:x: io.quarkus.hibernate.reactive.compatibility.ORMReactiveCompatibilityNamedReactiveDefaultBlockingUnitTest.testBlocking line 58 - History - More details - Source on GitHub
org.hibernate.exception.SQLGrammarException:
JDBC exception executing SQL [ERROR: relation "hero" does not exist
Position: 82] [select h1_0.id,h1_0.level,h1_0.name,h1_0.otherName,h1_0.picture,h1_0.powers from hero h1_0]
at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:63)
at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:34)
at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:115)
at org.hibernate.sql.results.jdbc.internal.DeferredResultSetAccess.executeQuery(DeferredResultSetAccess.java:304)
at org.hibernate.sql.results.jdbc.internal.DeferredResultSetAccess.getResultSet(DeferredResultSetAccess.java:200)
:gear: JVM Tests - JDK 21 Semeru #
- Failing: extensions/hibernate-reactive/deployment
! Skipped: extensions/panache/hibernate-reactive-panache-common/deployment extensions/panache/hibernate-reactive-panache-kotlin/deployment extensions/panache/hibernate-reactive-panache/deployment and 3 more
:package: extensions/hibernate-reactive/deployment
:x: io.quarkus.hibernate.reactive.compatibility.ORMReactiveCompatbilityDifferentNamedDataSourceNamedPersistenceUnitBothUnitTest. - History - More details - Source on GitHub
java.lang.RuntimeException: Failed to start quarkus
at io.quarkus.runner.ApplicationImpl.doStart(Unknown Source)
at io.quarkus.runtime.Application.start(Application.java:105)
at java.base/java.lang.reflect.Method.invoke(Method.java:586)
at io.quarkus.runner.bootstrap.StartupActionImpl.run(StartupActionImpl.java:350)
at io.quarkus.test.QuarkusUnitTest.beforeAll(QuarkusUnitTest.java:703)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
Caused by: io.quarkus.runtime.configuration.ConfigurationException: Unable to find datasource 'named-datasource-blocking' for persistence unit 'named-pu-blocking': Bean is not active: SYNTHETIC bean [class=io.agroal.api.AgroalDataSource, id=Sg52tEBI1-CnWf35LO8n0TaijvU]
:x: io.quarkus.hibernate.reactive.compatibility.ORMReactiveCompatbilityNamedDataSourceNamedPersistenceUnitBothUnitTest. - History - More details - Source on GitHub
java.lang.RuntimeException: Failed to start quarkus
at io.quarkus.runner.ApplicationImpl.doStart(Unknown Source)
at io.quarkus.runtime.Application.start(Application.java:105)
at java.base/java.lang.reflect.Method.invoke(Method.java:586)
at io.quarkus.runner.bootstrap.StartupActionImpl.run(StartupActionImpl.java:350)
at io.quarkus.test.QuarkusUnitTest.beforeAll(QuarkusUnitTest.java:703)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
Caused by: io.quarkus.runtime.configuration.ConfigurationException: Unable to find datasource 'named-datasource' for persistence unit 'named-pu': Bean is not active: SYNTHETIC bean [class=io.vertx.pgclient.PgPool, id=IIm9T1--Q1cBkx-gFFUROXrsqcw]
:x: io.quarkus.hibernate.reactive.compatibility.ORMReactiveCompatibilityNamedReactiveDefaultBlockingUnitTest.testBlocking line 58 - History - More details - Source on GitHub
org.hibernate.exception.SQLGrammarException:
JDBC exception executing SQL [ERROR: relation "hero" does not exist
Position: 82] [select h1_0.id,h1_0.level,h1_0.name,h1_0.otherName,h1_0.picture,h1_0.powers from hero h1_0]
at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:63)
at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:34)
at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:115)
at org.hibernate.sql.results.jdbc.internal.DeferredResultSetAccess.executeQuery(DeferredResultSetAccess.java:304)
at org.hibernate.sql.results.jdbc.internal.DeferredResultSetAccess.getResultSet(DeferredResultSetAccess.java:200)
:gear: JVM Tests - JDK 25 #
- Failing: extensions/hibernate-reactive/deployment
! Skipped: extensions/panache/hibernate-reactive-panache-common/deployment extensions/panache/hibernate-reactive-panache-kotlin/deployment extensions/panache/hibernate-reactive-panache/deployment and 3 more
:package: extensions/hibernate-reactive/deployment
:x: io.quarkus.hibernate.reactive.compatibility.ORMReactiveCompatbilityDifferentNamedDataSourceNamedPersistenceUnitBothUnitTest. - History - More details - Source on GitHub
java.lang.RuntimeException: Failed to start quarkus
at io.quarkus.runner.ApplicationImpl.doStart(Unknown Source)
at io.quarkus.runtime.Application.start(Application.java:105)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at io.quarkus.runner.bootstrap.StartupActionImpl.run(StartupActionImpl.java:350)
at io.quarkus.test.QuarkusUnitTest.beforeAll(QuarkusUnitTest.java:703)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1604)
Caused by: io.quarkus.runtime.configuration.ConfigurationException: Unable to find datasource 'named-datasource-blocking' for persistence unit 'named-pu-blocking': Bean is not active: SYNTHETIC bean [class=io.agroal.api.AgroalDataSource, id=Sg52tEBI1-CnWf35LO8n0TaijvU]
:x: io.quarkus.hibernate.reactive.compatibility.ORMReactiveCompatbilityNamedDataSourceNamedPersistenceUnitBothUnitTest. - History - More details - Source on GitHub
java.lang.RuntimeException: Failed to start quarkus
at io.quarkus.runner.ApplicationImpl.doStart(Unknown Source)
at io.quarkus.runtime.Application.start(Application.java:105)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at io.quarkus.runner.bootstrap.StartupActionImpl.run(StartupActionImpl.java:350)
at io.quarkus.test.QuarkusUnitTest.beforeAll(QuarkusUnitTest.java:703)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1604)
Caused by: io.quarkus.runtime.configuration.ConfigurationException: Unable to find datasource 'named-datasource' for persistence unit 'named-pu': Bean is not active: SYNTHETIC bean [class=io.vertx.pgclient.PgPool, id=IIm9T1--Q1cBkx-gFFUROXrsqcw]
:x: io.quarkus.hibernate.reactive.compatibility.ORMReactiveCompatibilityNamedReactiveDefaultBlockingUnitTest.testBlocking line 58 - History - More details - Source on GitHub
org.hibernate.exception.SQLGrammarException:
JDBC exception executing SQL [ERROR: relation "hero" does not exist
Position: 82] [select h1_0.id,h1_0.level,h1_0.name,h1_0.otherName,h1_0.picture,h1_0.powers from hero h1_0]
at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:63)
at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:34)
at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:115)
at org.hibernate.sql.results.jdbc.internal.DeferredResultSetAccess.executeQuery(DeferredResultSetAccess.java:304)
at org.hibernate.sql.results.jdbc.internal.DeferredResultSetAccess.getResultSet(DeferredResultSetAccess.java:200)
Updated Hibernate Reactive compatibility tests to align with reactive-only and mixed reactive/blocking datasource configurations. Removed invalid blocking expectations for reactive-only persistence units. All three tests now pass, it was failing. ORMReactiveCompatbilityNamedDataSourceNamedPersistenceUnitBothUnitTest
- removed blocking SessionFactory
- datasource is reactive=true, jdbc=false
ORMReactiveCompatbilityDifferentNamedDataSourceNamedPersistenceUnitBothUnitTest
- reactive datasource → reactive persistence unit
- blocking datasource → blocking persistence unit
- each test injects only the matching SessionFactory
ORMReactiveCompatbilityDefaultOnlyReactiveUnitTest
- Verified reactive-only setup works without JDBC
@lucamolteni @radcortez @gsmet
:waning_crescent_moon: This workflow status is outdated as a new workflow run has been triggered.
Status for workflow Quarkus CI
This is the status report for running Quarkus CI on commit 798476a8a2417c5b135e5146ebae850ca56a1892.
Failing Jobs
| Status | Name | Step | Failures | Logs | Raw logs | Build scan |
|---|---|---|---|---|---|---|
| :heavy_check_mark: | JVM Tests - JDK 17 | Logs | Raw logs | :mag: | ||
| :heavy_check_mark: | JVM Tests - JDK 21 | Logs | Raw logs | :mag: | ||
| :heavy_check_mark: | JVM Tests - JDK 21 Semeru | Logs | Raw logs | :mag: | ||
| :x: | JVM Tests - JDK 25 | Build |
Failures | Logs | Raw logs | :mag: |
Full information is available in the Build summary check run. You can consult the Develocity build scans.
Failures
:gear: JVM Tests - JDK 25 #
- Failing: extensions/opentelemetry/deployment
! Skipped: extensions/liquibase/liquibase-mongodb/deployment extensions/micrometer-opentelemetry/deployment extensions/micrometer-registry-prometheus/deployment and 10 more
:package: extensions/opentelemetry/deployment
:x: io.quarkus.opentelemetry.deployment.traces.MutinyTracingHelperTest. - History - More details - Source on GitHub
java.lang.RuntimeException:
io.quarkus.builder.BuildException: Build failure: Build failed due to errors
[error]: Build step io.quarkus.arc.deployment.ArcProcessor#validate threw an exception: java.lang.NullPointerException: Cannot invoke "io.quarkus.arc.processor.InjectionPointInfo.isProgrammaticLookup()" because "injectionPoint" is null
at io.quarkus.arc.processor.UnusedBeans.findRemovableBeans(UnusedBeans.java:44)
at io.quarkus.arc.processor.BeanDeployment.removeUnusedBeans(BeanDeployment.java:501)
at io.quarkus.arc.processor.BeanDeployment.removeUnusedComponents(BeanDeployment.java:410)
at io.quarkus.arc.processor.BeanDeployment.init(BeanDeployment.java:357)
at io.quarkus.arc.processor.BeanProcessor.initialize(BeanProcessor.java:177)
Flaky tests - Develocity
:gear: JVM Tests - JDK 17
:package: extensions/micrometer-opentelemetry/deployment
:x: io.quarkus.micrometer.opentelemetry.deployment.compatibility.MicrometerTimedInterceptorTest.testTimeMethod_Uni - History
Stream has no elements-java.lang.IllegalArgumentException
java.lang.IllegalArgumentException: Stream has no elements
at io.quarkus.micrometer.opentelemetry.deployment.common.MetricDataFilter.lambda$lastReading$2(MetricDataFilter.java:213)
at java.base/java.util.Optional.orElseThrow(Optional.java:403)
at io.quarkus.micrometer.opentelemetry.deployment.common.MetricDataFilter.lastReading(MetricDataFilter.java:213)
at io.quarkus.micrometer.opentelemetry.deployment.common.MetricDataFilter.lastReadingDataPoint(MetricDataFilter.java:231)
at io.quarkus.micrometer.opentelemetry.deployment.compatibility.MicrometerTimedInterceptorTest.testTimeMethod_Uni(MicrometerTimedInterceptorTest.java:174)
:waning_crescent_moon: This workflow status is outdated as a new workflow run has been triggered.
Status for workflow Quarkus CI
This is the status report for running Quarkus CI on commit 51905ab322e565baac27622387a37a5b035f56c5.
:white_check_mark: The latest workflow run for the pull request has completed successfully.
It should be safe to merge provided you have a look at the other checks in the summary.
You can consult the Develocity build scans.
Flaky tests - Develocity
:gear: JVM Tests - JDK 21 Semeru
:package: extensions/micrometer-opentelemetry/deployment
:x: io.quarkus.micrometer.opentelemetry.deployment.compatibility.MicrometerTimedInterceptorTest.testTimeMethod - History
Stream has no elements-java.lang.IllegalArgumentException
java.lang.IllegalArgumentException: Stream has no elements
at io.quarkus.micrometer.opentelemetry.deployment.common.MetricDataFilter.lambda$lastReading$2(MetricDataFilter.java:214)
at java.base/java.util.Optional.orElseThrow(Optional.java:403)
at io.quarkus.micrometer.opentelemetry.deployment.common.MetricDataFilter.lastReading(MetricDataFilter.java:214)
at io.quarkus.micrometer.opentelemetry.deployment.common.MetricDataFilter.lastReadingDataPoint(MetricDataFilter.java:232)
at io.quarkus.micrometer.opentelemetry.deployment.compatibility.MicrometerTimedInterceptorTest.testTimeMethod(MicrometerTimedInterceptorTest.java:76)
@yrodiere are you satisfied with this or is there anything else to be done?
@yrodiere are you satisfied with this or is there anything else to be done?
I was planning to review this but I'm a bit busy at the moment. Will do in the following days
@mathias82 I see you've removed
withConfigurationResourcefrom 4 compatibility tests but there are 10, why not the others?I removed
@WithConfigurationResourceonly from the tests that rely exclusively on the reactive datasource and no longer require a test container connection string.The remaining compatibility tests still need both:
quarkus.datasource.reactive.url=${postgres.reactive.url} quarkus.datasource.jdbc.url=${postgres.blocking.url}
Those
${key}interpolations cannot be expressed throughoverrideConfigKey, so@WithConfigurationResourceis still required there. Once we drop the JDBC configuration as well, we can remove it from those tests too.Hope this clarifies the difference!
@lucamolteni
Also in the end all 10 tests were (correctly) changed so was this comment some sort of AI hallucination?
@mathias82 I see you've removed
withConfigurationResourcefrom 4 compatibility tests but there are 10, why not the others?I removed
@WithConfigurationResourceonly from the tests that rely exclusively on the reactive datasource and no longer require a test container connection string. The remaining compatibility tests still need both: quarkus.datasource.reactive.url=${postgres.reactive.url} quarkus.datasource.jdbc.url=${postgres.blocking.url} Those${key}interpolations cannot be expressed throughoverrideConfigKey, so@WithConfigurationResourceis still required there. Once we drop the JDBC configuration as well, we can remove it from those tests too. Hope this clarifies the difference! @lucamolteniAlso in the end all 10 tests were (correctly) changed so was this comment some sort of AI hallucination?
At the time of the comment, the tests were not working for me and I hadn’t fully understood the test setup yet, I needed to spend some more time studying the code and how the configuration was wired.
After reviewing it properly, I realized that in the final changes I didn’t actually add or rely on:
quarkus.datasource.reactive.url=${postgres.reactive.url}
quarkus.datasource.jdbc.url=${postgres.blocking.url}
So the concern raised in the earlier comment doesn’t apply to the final state of the PR. @lucamolteni