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

com/sun/jdi/FinalizerTest.java intermittently fails #5705

Closed
smlambert opened this issue Oct 17, 2024 · 2 comments · Fixed by #5724
Closed

com/sun/jdi/FinalizerTest.java intermittently fails #5705

smlambert opened this issue Oct 17, 2024 · 2 comments · Fixed by #5724
Assignees

Comments

@smlambert
Copy link
Contributor

smlambert commented Oct 17, 2024

This test regularly fails due to OOM on many platforms and across multiple versions. It keeps cropping up during release triage since March 2024 (see https://github.com/adoptium/aqa-tests/issues?q=is%3Aissue+FinalizerTest) and is considered a nuisance test.

[2024-10-16T22:46:16.750Z] Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
[2024-10-16T22:46:16.750Z] at java.base/java.lang.ref.Finalizer.runFinalization(Finalizer.java:145)
[2024-10-16T22:46:16.750Z] at java.base/java.lang.ref.Reference$1.runFinalization(Reference.java:331)
[2024-10-16T22:46:16.750Z] at java.base/java.lang.Runtime.runFinalization(Runtime.java:788)
[2024-10-16T22:46:16.750Z] at java.base/java.lang.System.runFinalization(System.java:1985)
[2024-10-16T22:46:16.750Z] at FinalizerTarg.waitForAFinalizer(FinalizerTest.java:100)
[2024-10-16T22:46:16.750Z] at FinalizerTarg.main(FinalizerTest.java:111)

We should consider excluding it, or see if there are options that allow it to be more stable on the variety of test nodes we have.

@sophia-guo
Copy link
Contributor

Also build/AbsPathsInImage.java https://github.com/adoptium/aqa-tests/issues?q=is%3Aissue+AbsPathsInImage.java+

[2024-10-17T03:32:27.521Z] TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.OutOfMemoryError: Java heap space

@sophia-guo
Copy link
Contributor

build/AbsPathsInImage.java should be excluded by propagate the eclipse problemlist to jdk23 and jdk24

sophia-guo added a commit to sophia-guo/openjdk-tests that referenced this issue Oct 29, 2024
LongyuZhang pushed a commit that referenced this issue Oct 30, 2024
* com/sun/jdi/FinalizerTest.java

#5705

Signed-off-by: Sophia Guo <[email protected]>

* #3234

Signed-off-by: Sophia Guo <[email protected]>

* Adding vendor exclude list

Signed-off-by: Sophia Guo <[email protected]>

* https://bugs.openjdk.org/browse/JDK-8339713

Signed-off-by: Sophia Guo <[email protected]>

* Headless for win32

Signed-off-by: Sophia Guo <[email protected]>

---------

Signed-off-by: Sophia Guo <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants