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

Exploring potential issue with ClassValue #40651

Closed
wants to merge 1 commit into from

Conversation

Sanne
Copy link
Member

@Sanne Sanne commented May 15, 2024

A follow up to #40630 (comment)

@quarkus-bot

This comment has been minimized.

@Sanne
Copy link
Member Author

Sanne commented May 15, 2024

So, this is triggering several test failures due to java.lang.OutOfMemoryError: Metaspace .

I suspect that it's not inherently wrong to want to use a ClassValue for this purpose, but it's triggering Metaspace growt problems because of existing classloader leaks (that's my unproved theory).

Essentially what I suspect is happening is that we have some ClassLoader leak (as we often have) and they're going undetected as the use of the regular CHM here is storing things in a quite generously scalable heap; switching the storage of these particular attributes to Metaspace makes the problem manifest as OOMs.

I'll try to verify this. However, I'm wondering which behaviour we'd prefer:

  • silent classloader leaks and move on?
  • fail aggressively, force people to address them?

@franz1981
Copy link
Contributor

franz1981 commented May 15, 2024

Wow, so it leaks the class loader?

I don't remember by heart if CV is using weak or soft ref, but if is it, maybe this is what is going on;
Some of these ref need the processing to kick in based on different config perks which can make it "too" late on the poor (CPU wise..?) CI machines...or...it is a legit leak :)

@Sanne
Copy link
Member Author

Sanne commented May 15, 2024

Wow, so it leaks the class loader?

Well not jumping to conclusions. I suppose that's a possibility as well, until ruled out, but I don't think that's likely at all as it would be a critical issues in the JVM - far more likely that we're doing something dodgy in our integration tests.

A ClassValue associates a value to a Class instance in such a way that this data can be released if the related Class is unreferenced - for example when its ClassLoader can be discarded.
It's a great feature, better than weak keys in a Map, because often the values of what you'd store would hold a reference to something which would make the Classloader references and therefore the Class as well.

However their use consumes some Metaspace as it adds some structure directly into the Class instance. Abusing the use of ClassValues might require setting a larger MaxMetaspaceSize.

What I was suggesting above is the opposite: we're storing some additional datastructures for each Class of which we're inspecting the properties with getPropertyDescriptors. I would be surprised if this could be leading to a Metaspace issue (I could be wrong - still couldn't look better at this) as these structures aren't very significant, and also we're not really passing a significant number of Class instances to this. N.B. before my change this was all being stored in a statically references ConcurrentHashMap: if this was really big we'd have noticed a problem.

This is intentionally a cache to avoid re-computing frequently the same properties for the same types. But now let's assume what happens if we actually do have a classloader leak - then the values associated to previous runs in a live-reload scenario wouldn't get discarded, and we'd keep adding additional overhead data to each such Class. I suspect that's what's happening: in this way we quickly consume the available Metaspace; with the previous solution we'd also have had a leak, but since it's not big and it's "just" consuming heap rather than Metaspace, one would hardly notice.

@quarkus-bot
Copy link

quarkus-bot bot commented May 16, 2024

Status for workflow Quarkus CI

This is the status report for running Quarkus CI on commit 0a1a694.

Failing Jobs

Status Name Step Failures Logs Raw logs Build scan
JVM Tests - JDK 17 Build Failures Logs Raw logs 🔍
JVM Tests - JDK 21 Build Failures Logs Raw logs 🚧
JVM Tests - JDK 17 Windows Build Failures Logs Raw logs 🚧
Maven Tests - JDK 17 Build Failures Logs Raw logs 🚧
Maven Tests - JDK 17 Windows Build Failures Logs Raw logs 🔍
Kubernetes Tests - JDK 17 Build Failures Logs Raw logs 🔍
Kubernetes Tests - JDK 21 Build Failures Logs Raw logs 🔍
Kubernetes Tests - JDK 17 Windows Build Failures Logs Raw logs 🔍

Full information is available in the Build summary check run.
You can consult the Develocity build scans.

Failures

⚙️ JVM Tests - JDK 17 #

- Failing: extensions/vertx-http/deployment 
! Skipped: devtools/cli extensions/agroal/deployment extensions/amazon-lambda-http/deployment and 390 more

📦 extensions/vertx-http/deployment

io.quarkus.vertx.http.testrunner.brokenonly.TestBrokenOnlyTestCase.testBrokenOnlyMode - History - More details - Source on GitHub

java.lang.RuntimeException: java.lang.OutOfMemoryError: Java heap space
	at io.quarkus.deployment.dev.IsolatedDevModeMain.accept(IsolatedDevModeMain.java:444)
	at io.quarkus.deployment.dev.IsolatedDevModeMain.accept(IsolatedDevModeMain.java:56)
	at io.quarkus.bootstrap.app.CuratedApplication.runInCl(CuratedApplication.java:138)
	at io.quarkus.bootstrap.app.CuratedApplication.runInAugmentClassLoader(CuratedApplication.java:93)
	at io.quarkus.deployment.dev.DevModeMain.start(DevModeMain.java:131)
	at io.quarkus.test.QuarkusDevModeTest.beforeEach(QuarkusDevModeTest.java:304)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)

io.quarkus.vertx.http.testrunner.includes.ExcludePatternTestCase.checkTestsAreRun - History - More details - Source on GitHub

java.lang.RuntimeException: java.lang.OutOfMemoryError: Java heap space
	at io.quarkus.deployment.dev.DevModeMain.start(DevModeMain.java:137)
	at io.quarkus.test.QuarkusDevModeTest.beforeEach(QuarkusDevModeTest.java:304)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Caused by: java.lang.OutOfMemoryError: Java heap space

io.quarkus.vertx.http.testrunner.includes.IncludePatternTestCase.checkTestsAreRun - History - More details - Source on GitHub

java.lang.RuntimeException: java.lang.OutOfMemoryError: Java heap space
	at io.quarkus.deployment.dev.DevModeMain.start(DevModeMain.java:137)
	at io.quarkus.test.QuarkusDevModeTest.beforeEach(QuarkusDevModeTest.java:304)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Caused by: java.lang.OutOfMemoryError: Java heap space

io.quarkus.vertx.http.testrunner.metaannotations.MetaAnnotationsTestCase.checkTestsAreRun - History - More details - Source on GitHub

java.lang.RuntimeException: java.lang.OutOfMemoryError: Java heap space
	at io.quarkus.deployment.dev.DevModeMain.start(DevModeMain.java:137)
	at io.quarkus.test.QuarkusDevModeTest.beforeEach(QuarkusDevModeTest.java:304)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Caused by: java.lang.OutOfMemoryError: Java heap space

io.quarkus.vertx.http.testrunner.params.TestParameterizedTestCase.testParameterizedTests - History - More details - Source on GitHub

java.lang.RuntimeException: java.lang.OutOfMemoryError: Java heap space
	at io.quarkus.deployment.dev.DevModeMain.start(DevModeMain.java:137)
	at io.quarkus.test.QuarkusDevModeTest.beforeEach(QuarkusDevModeTest.java:304)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Caused by: java.lang.OutOfMemoryError: Java heap space

io.quarkus.vertx.http.testrunner.tags.ExcludeTagsTestCase.checkTestsAreRun - History - More details - Source on GitHub

java.lang.RuntimeException: java.lang.OutOfMemoryError: Java heap space
	at io.quarkus.deployment.dev.DevModeMain.start(DevModeMain.java:137)
	at io.quarkus.test.QuarkusDevModeTest.beforeEach(QuarkusDevModeTest.java:304)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Caused by: java.lang.OutOfMemoryError: Java heap space

io.quarkus.vertx.http.testrunner.tags.IncludeTagsTestCase.checkTestsAreRun - History - More details - Source on GitHub

java.lang.RuntimeException: java.lang.OutOfMemoryError: Java heap space
	at io.quarkus.deployment.dev.DevModeMain.start(DevModeMain.java:137)
	at io.quarkus.test.QuarkusDevModeTest.beforeEach(QuarkusDevModeTest.java:304)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Caused by: java.lang.OutOfMemoryError: Java heap space

⚙️ JVM Tests - JDK 21 #

📦 extensions/vertx-http/deployment

io.quarkus.vertx.http.testrunner.TestRunnerSmokeTestCase.checkTestsAreRun line 50 - History - More details - Source on GitHub

org.awaitility.core.ConditionTimeoutException: Failed to wait for test run 1 State{lastRun=-1, running=true, inProgress=true, run=0, passed=0, failed=0, skipped=0, isBrokenOnly=false, isTestOutput=false, isInstrumentationBasedReload=false, isLiveReload=true}
	at io.quarkus.test.ContinuousTestingTestUtils.waitForNextCompletion(ContinuousTestingTestUtils.java:44)
	at io.quarkus.vertx.http.testrunner.TestRunnerSmokeTestCase.checkTestsAreRun(TestRunnerSmokeTestCase.java:50)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
Caused by: org.awaitility.core.ConditionTimeoutException: Condition returned by method "waitForNextCompletion" in class io.quarkus.test.ContinuousTestingTestUtils was not fulfilled within 1 minutes.
	at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167)

io.quarkus.vertx.http.testrunner.UnitTestTypeTestCase.testUnitMode - History - More details - Source on GitHub

java.lang.RuntimeException: java.lang.OutOfMemoryError: Metaspace
	at io.quarkus.deployment.dev.DevModeMain.start(DevModeMain.java:137)
	at io.quarkus.test.QuarkusDevModeTest.beforeEach(QuarkusDevModeTest.java:304)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
Caused by: java.lang.OutOfMemoryError: Metaspace

io.quarkus.vertx.http.testrunner.brokenonly.TestBrokenOnlyTestCase.testBrokenOnlyMode - History - More details - Source on GitHub

java.lang.RuntimeException: io.quarkus.bootstrap.BootstrapException: Failed to create the application model for null
	at io.quarkus.deployment.dev.DevModeMain.start(DevModeMain.java:137)
	at io.quarkus.test.QuarkusDevModeTest.beforeEach(QuarkusDevModeTest.java:304)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	Suppressed: java.lang.NullPointerException: Cannot invoke "io.quarkus.bootstrap.app.CuratedApplication.close()" because "io.quarkus.deployment.dev.DevModeMain.curatedApplication" is null
		at io.quarkus.deployment.dev.DevModeMain.close(DevModeMain.java:228)
		at io.quarkus.test.QuarkusDevModeTest.afterEach(QuarkusDevModeTest.java:335)

io.quarkus.vertx.http.testrunner.includes.ExcludePatternTestCase.checkTestsAreRun - History - More details - Source on GitHub

java.lang.RuntimeException: io.quarkus.bootstrap.BootstrapException: Failed to create the application model for null
	at io.quarkus.deployment.dev.DevModeMain.start(DevModeMain.java:137)
	at io.quarkus.test.QuarkusDevModeTest.beforeEach(QuarkusDevModeTest.java:304)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	Suppressed: java.lang.NullPointerException: Cannot invoke "io.quarkus.bootstrap.app.CuratedApplication.close()" because "io.quarkus.deployment.dev.DevModeMain.curatedApplication" is null
		at io.quarkus.deployment.dev.DevModeMain.close(DevModeMain.java:228)
		at io.quarkus.test.QuarkusDevModeTest.afterEach(QuarkusDevModeTest.java:335)

io.quarkus.vertx.http.testrunner.includes.IncludePatternTestCase.checkTestsAreRun - History - More details - Source on GitHub

java.lang.RuntimeException: io.quarkus.bootstrap.BootstrapException: Failed to create the application model for null
	at io.quarkus.deployment.dev.DevModeMain.start(DevModeMain.java:137)
	at io.quarkus.test.QuarkusDevModeTest.beforeEach(QuarkusDevModeTest.java:304)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	Suppressed: java.lang.NullPointerException: Cannot invoke "io.quarkus.bootstrap.app.CuratedApplication.close()" because "io.quarkus.deployment.dev.DevModeMain.curatedApplication" is null
		at io.quarkus.deployment.dev.DevModeMain.close(DevModeMain.java:228)
		at io.quarkus.test.QuarkusDevModeTest.afterEach(QuarkusDevModeTest.java:335)

io.quarkus.vertx.http.testrunner.metaannotations.MetaAnnotationsTestCase.checkTestsAreRun - History - More details - Source on GitHub

java.lang.RuntimeException: io.quarkus.bootstrap.BootstrapException: Failed to create the application model for null
	at io.quarkus.deployment.dev.DevModeMain.start(DevModeMain.java:137)
	at io.quarkus.test.QuarkusDevModeTest.beforeEach(QuarkusDevModeTest.java:304)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	Suppressed: java.lang.NullPointerException: Cannot invoke "io.quarkus.bootstrap.app.CuratedApplication.close()" because "io.quarkus.deployment.dev.DevModeMain.curatedApplication" is null
		at io.quarkus.deployment.dev.DevModeMain.close(DevModeMain.java:228)
		at io.quarkus.test.QuarkusDevModeTest.afterEach(QuarkusDevModeTest.java:335)

io.quarkus.vertx.http.testrunner.params.TestParameterizedTestCase.testParameterizedTests - History - More details - Source on GitHub

java.lang.RuntimeException: io.quarkus.bootstrap.BootstrapException: Failed to create the application model for null
	at io.quarkus.deployment.dev.DevModeMain.start(DevModeMain.java:137)
	at io.quarkus.test.QuarkusDevModeTest.beforeEach(QuarkusDevModeTest.java:304)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	Suppressed: java.lang.NullPointerException: Cannot invoke "io.quarkus.bootstrap.app.CuratedApplication.close()" because "io.quarkus.deployment.dev.DevModeMain.curatedApplication" is null
		at io.quarkus.deployment.dev.DevModeMain.close(DevModeMain.java:228)
		at io.quarkus.test.QuarkusDevModeTest.afterEach(QuarkusDevModeTest.java:335)

io.quarkus.vertx.http.testrunner.tags.ExcludeTagsTestCase.checkTestsAreRun - History - More details - Source on GitHub

java.lang.RuntimeException: io.quarkus.bootstrap.BootstrapException: Failed to create the application model for null
	at io.quarkus.deployment.dev.DevModeMain.start(DevModeMain.java:137)
	at io.quarkus.test.QuarkusDevModeTest.beforeEach(QuarkusDevModeTest.java:304)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	Suppressed: java.lang.NullPointerException: Cannot invoke "io.quarkus.bootstrap.app.CuratedApplication.close()" because "io.quarkus.deployment.dev.DevModeMain.curatedApplication" is null
		at io.quarkus.deployment.dev.DevModeMain.close(DevModeMain.java:228)
		at io.quarkus.test.QuarkusDevModeTest.afterEach(QuarkusDevModeTest.java:335)

io.quarkus.vertx.http.testrunner.tags.IncludeTagsTestCase.checkTestsAreRun - History - More details - Source on GitHub

java.lang.RuntimeException: io.quarkus.bootstrap.BootstrapException: Failed to create the application model for null
	at io.quarkus.deployment.dev.DevModeMain.start(DevModeMain.java:137)
	at io.quarkus.test.QuarkusDevModeTest.beforeEach(QuarkusDevModeTest.java:304)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	Suppressed: java.lang.NullPointerException: Cannot invoke "io.quarkus.bootstrap.app.CuratedApplication.close()" because "io.quarkus.deployment.dev.DevModeMain.curatedApplication" is null
		at io.quarkus.deployment.dev.DevModeMain.close(DevModeMain.java:228)
		at io.quarkus.test.QuarkusDevModeTest.afterEach(QuarkusDevModeTest.java:335)

⚙️ JVM Tests - JDK 17 Windows #

📦 extensions/vertx-http/deployment

io.quarkus.vertx.http.testrunner.brokenonly.TestBrokenOnlyTestCase.testBrokenOnlyMode - History - More details - Source on GitHub

java.lang.RuntimeException: java.lang.OutOfMemoryError: Metaspace
	at io.quarkus.deployment.dev.DevModeMain.start(DevModeMain.java:137)
	at io.quarkus.test.QuarkusDevModeTest.beforeEach(QuarkusDevModeTest.java:304)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Caused by: java.lang.OutOfMemoryError: Metaspace
	at java.base/java.lang.ClassLoader.defineClass1(Native Method)
	at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1017)

io.quarkus.vertx.http.testrunner.includes.ExcludePatternTestCase.checkTestsAreRun - History - More details - Source on GitHub

java.lang.RuntimeException: io.quarkus.bootstrap.BootstrapException: Failed to create the application model for null
	at io.quarkus.deployment.dev.DevModeMain.start(DevModeMain.java:137)
	at io.quarkus.test.QuarkusDevModeTest.beforeEach(QuarkusDevModeTest.java:304)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	Suppressed: java.lang.NullPointerException: Cannot invoke "io.quarkus.bootstrap.app.CuratedApplication.close()" because "io.quarkus.deployment.dev.DevModeMain.curatedApplication" is null
		at io.quarkus.deployment.dev.DevModeMain.close(DevModeMain.java:228)
		at io.quarkus.test.QuarkusDevModeTest.afterEach(QuarkusDevModeTest.java:335)

io.quarkus.vertx.http.testrunner.includes.IncludePatternTestCase.checkTestsAreRun - History - More details - Source on GitHub

java.lang.RuntimeException: io.quarkus.bootstrap.BootstrapException: Failed to create the application model for null
	at io.quarkus.deployment.dev.DevModeMain.start(DevModeMain.java:137)
	at io.quarkus.test.QuarkusDevModeTest.beforeEach(QuarkusDevModeTest.java:304)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	Suppressed: java.lang.NullPointerException: Cannot invoke "io.quarkus.bootstrap.app.CuratedApplication.close()" because "io.quarkus.deployment.dev.DevModeMain.curatedApplication" is null
		at io.quarkus.deployment.dev.DevModeMain.close(DevModeMain.java:228)
		at io.quarkus.test.QuarkusDevModeTest.afterEach(QuarkusDevModeTest.java:335)

io.quarkus.vertx.http.testrunner.metaannotations.MetaAnnotationsTestCase.checkTestsAreRun - History - More details - Source on GitHub

java.lang.RuntimeException: io.quarkus.bootstrap.BootstrapException: Failed to create the application model for null
	at io.quarkus.deployment.dev.DevModeMain.start(DevModeMain.java:137)
	at io.quarkus.test.QuarkusDevModeTest.beforeEach(QuarkusDevModeTest.java:304)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	Suppressed: java.lang.NullPointerException: Cannot invoke "io.quarkus.bootstrap.app.CuratedApplication.close()" because "io.quarkus.deployment.dev.DevModeMain.curatedApplication" is null
		at io.quarkus.deployment.dev.DevModeMain.close(DevModeMain.java:228)
		at io.quarkus.test.QuarkusDevModeTest.afterEach(QuarkusDevModeTest.java:335)

io.quarkus.vertx.http.testrunner.params.TestParameterizedTestCase.testParameterizedTests - History - More details - Source on GitHub

java.lang.RuntimeException: io.quarkus.bootstrap.BootstrapException: Failed to create the application model for null
	at io.quarkus.deployment.dev.DevModeMain.start(DevModeMain.java:137)
	at io.quarkus.test.QuarkusDevModeTest.beforeEach(QuarkusDevModeTest.java:304)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	Suppressed: java.lang.NullPointerException: Cannot invoke "io.quarkus.bootstrap.app.CuratedApplication.close()" because "io.quarkus.deployment.dev.DevModeMain.curatedApplication" is null
		at io.quarkus.deployment.dev.DevModeMain.close(DevModeMain.java:228)
		at io.quarkus.test.QuarkusDevModeTest.afterEach(QuarkusDevModeTest.java:335)

io.quarkus.vertx.http.testrunner.tags.ExcludeTagsTestCase.checkTestsAreRun - History - More details - Source on GitHub

java.lang.RuntimeException: io.quarkus.bootstrap.BootstrapException: Failed to create the application model for null
	at io.quarkus.deployment.dev.DevModeMain.start(DevModeMain.java:137)
	at io.quarkus.test.QuarkusDevModeTest.beforeEach(QuarkusDevModeTest.java:304)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	Suppressed: java.lang.NullPointerException: Cannot invoke "io.quarkus.bootstrap.app.CuratedApplication.close()" because "io.quarkus.deployment.dev.DevModeMain.curatedApplication" is null
		at io.quarkus.deployment.dev.DevModeMain.close(DevModeMain.java:228)
		at io.quarkus.test.QuarkusDevModeTest.afterEach(QuarkusDevModeTest.java:335)

io.quarkus.vertx.http.testrunner.tags.IncludeTagsTestCase.checkTestsAreRun - History - More details - Source on GitHub

java.lang.RuntimeException: io.quarkus.bootstrap.BootstrapException: Failed to create the application model for null
	at io.quarkus.deployment.dev.DevModeMain.start(DevModeMain.java:137)
	at io.quarkus.test.QuarkusDevModeTest.beforeEach(QuarkusDevModeTest.java:304)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	Suppressed: java.lang.NullPointerException: Cannot invoke "io.quarkus.bootstrap.app.CuratedApplication.close()" because "io.quarkus.deployment.dev.DevModeMain.curatedApplication" is null
		at io.quarkus.deployment.dev.DevModeMain.close(DevModeMain.java:228)
		at io.quarkus.test.QuarkusDevModeTest.afterEach(QuarkusDevModeTest.java:335)

⚙️ Maven Tests - JDK 17 #

📦 integration-tests/maven

io.quarkus.maven.it.BuildIT.testMultiBuildMode line 131 - History - More details - Source on GitHub

org.opentest4j.AssertionFailedError: 

expected: 0
 but was: 1
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)

io.quarkus.maven.it.BuildIT.testMultiBuildMode line 131 - History - More details - Source on GitHub

org.opentest4j.AssertionFailedError: 

expected: 0
 but was: 1
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)

⚙️ Maven Tests - JDK 17 Windows #

- Failing: integration-tests/devmode integration-tests/maven 

📦 integration-tests/devmode

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.2.5:test (default-test) on project quarkus-integration-test-devmode:

Please refer to D:\a\quarkus\quarkus\integration-tests\devmode\target\surefire-reports for the individual test results.
Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
There was an error in the forked process

📦 integration-tests/maven

io.quarkus.maven.it.BuildIT.testMultiBuildMode line 131 - History - More details - Source on GitHub

org.opentest4j.AssertionFailedError: 

expected: 0
 but was: 1
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)

io.quarkus.maven.it.BuildIT.testMultiBuildMode line 131 - History - More details - Source on GitHub

org.opentest4j.AssertionFailedError: 

expected: 0
 but was: 1
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)

⚙️ Kubernetes Tests - JDK 17 #

- Failing: integration-tests/kubernetes/quarkus-standard-way 

📦 integration-tests/kubernetes/quarkus-standard-way

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.2.5:test (default-test) on project quarkus-integration-test-kubernetes-standard:

Please refer to /home/runner/work/quarkus/quarkus/integration-tests/kubernetes/quarkus-standard-way/target/surefire-reports for the individual test results.
Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
There was an error in the forked process


⚙️ Kubernetes Tests - JDK 21 #

- Failing: integration-tests/kubernetes/quarkus-standard-way 

📦 integration-tests/kubernetes/quarkus-standard-way

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.2.5:test (default-test) on project quarkus-integration-test-kubernetes-standard:

Please refer to /home/runner/work/quarkus/quarkus/integration-tests/kubernetes/quarkus-standard-way/target/surefire-reports for the individual test results.
Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
There was an error in the forked process


⚙️ Kubernetes Tests - JDK 17 Windows #

- Failing: integration-tests/kubernetes/quarkus-standard-way 

📦 integration-tests/kubernetes/quarkus-standard-way

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.2.5:test (default-test) on project quarkus-integration-test-kubernetes-standard:

Please refer to D:\a\quarkus\quarkus\integration-tests\kubernetes\quarkus-standard-way\target\surefire-reports for the individual test results.
Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
There was an error in the forked process

@Sanne
Copy link
Member Author

Sanne commented May 20, 2024

I'll close this as I don't expect to have time soon to dig into details. But would be nice to eventually dig deeper and get rid of all classloader leaks.

@Sanne Sanne closed this May 20, 2024
@quarkus-bot quarkus-bot bot added the triage/invalid This doesn't seem right label May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants