-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Labels
area/testingkind/bugSomething isn't workingSomething isn't workingtriage/needs-reproducerWe are waiting for a reproducer.We are waiting for a reproducer.
Milestone
Description
Describe the bug
When upgrading from Quarkus 3.18.2
to 3.18.3
our @QuarkusTest
s start to throw OutOfMemoryError
.
It seems the issue is isolated in quarkus-junit5
dependency or one of its transitives, when I upgrade the rest of dependencies and leave that, things work fine.
Perhaps something to do with this change? But I'm not sure...
8203603
Expected behavior
Tests pass without OutOfMemoryError
Actual behavior
Tests annotated with @QuarkusTest
hang and eventually run out of memory with different errors each time.
Example errors:
java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
[error]: Build step io.quarkus.arc.deployment.ArcProcessor#registerBeans threw an exception: java.lang.OutOfMemoryError: Java heap space
java.lang.RuntimeException: java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
[error]: Build step io.quarkus.arc.deployment.ArcProcessor#registerBeans threw an exception: java.lang.OutOfMemoryError: Java heap space
at io.quarkus.test.junit.QuarkusTestExtension.throwBootFailureException(QuarkusTestExtension.java:611)
at io.quarkus.test.junit.QuarkusTestExtension.interceptTestClassConstructor(QuarkusTestExtension.java:695)
at java.base/java.util.Optional.orElseGet(Optional.java:364)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Caused by: java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
[error]: Build step io.quarkus.arc.deployment.ArcProcessor#registerBeans threw an exception: java.lang.OutOfMemoryError: Java heap space
at io.quarkus.runner.bootstrap.AugmentActionImpl.runAugment(AugmentActionImpl.java:354)
at io.quarkus.runner.bootstrap.AugmentActionImpl.createInitialRuntimeApplication(AugmentActionImpl.java:271)
at io.quarkus.runner.bootstrap.AugmentActionImpl.createInitialRuntimeApplication(AugmentActionImpl.java:61)
at io.quarkus.test.junit.QuarkusTestExtension.doJavaStart(QuarkusTestExtension.java:195)
at io.quarkus.test.junit.QuarkusTestExtension.ensureStarted(QuarkusTestExtension.java:578)
at io.quarkus.test.junit.QuarkusTestExtension.beforeAll(QuarkusTestExtension.java:628)
... 1 more
Caused by: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
[error]: Build step io.quarkus.arc.deployment.ArcProcessor#registerBeans threw an exception: java.lang.OutOfMemoryError: Java heap space
at io.quarkus.builder.Execution.run(Execution.java:124)
at io.quarkus.builder.BuildExecutionBuilder.execute(BuildExecutionBuilder.java:79)
at io.quarkus.deployment.QuarkusAugmentor.run(QuarkusAugmentor.java:161)
at io.quarkus.runner.bootstrap.AugmentActionImpl.runAugment(AugmentActionImpl.java:350)
... 6 more
Caused by: java.lang.OutOfMemoryError: Java heap space
How to Reproduce?
No response
Output of uname -a
or ver
OSX and Linux
Output of java -version
17.0
Quarkus version or git rev
3.18.3
Build tool (ie. output of mvnw --version
or gradlew --version
)
Gradle 8.12.1
Additional information
I've also tried version 3.19.0
and the issue has NOT been resolved.
Metadata
Metadata
Assignees
Labels
area/testingkind/bugSomething isn't workingSomething isn't workingtriage/needs-reproducerWe are waiting for a reproducer.We are waiting for a reproducer.