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

java/math/BigInteger/largeMemory/SymmetricRangeTests.java failure in jdk_math_1 in Test_openjdk11_hs_sanity.openjdk_ppc64_aix #5245

Open
RadekCap opened this issue Apr 19, 2024 · 5 comments

Comments

@RadekCap
Copy link
Contributor

Test Info
Test Name: jdk_math_1
Test Duration: 1 min 42 sec
Machine: test-osuosl-aix72-ppc64-4
TRSS link for the test output: https://trss.adoptium.net/output/test?id=6620751f879917006ea746f0

Build Info
Build Name: Test_openjdk11_hs_sanity.openjdk_ppc64_aix
Jenkins Build start time: Apr 17 2024, 09:05 am
Jenkins Build URL: https://ci.adoptium.net/job/Test_openjdk11_hs_sanity.openjdk_ppc64_aix/678/
TRSS link for the build: https://trss.adoptium.net/allTestsInfo?buildId=6620743c879917006ea721ef

Java Version
openjdk version "11.0.23" 2024-04-16
OpenJDK Runtime Environment Temurin-11.0.23+9 (build 11.0.23+9)
OpenJDK 64-Bit Server VM Temurin-11.0.23+9 (build 11.0.23+9, mixed mode)

This test has been failed 33 times since Oct 14 2023, 01:37 pm
Java Version when the issue first seen
openjdk version "11.0.21" 2023-10-17
OpenJDK Runtime Environment Temurin-11.0.21+8 (build 11.0.21+8)
OpenJDK 64-Bit Server VM Temurin-11.0.21+8 (build 11.0.21+8, mixed mode)
Jenkins Build URL: https://ci.adoptium.net/job/Test_openjdk11_hs_sanity.openjdk_ppc64_aix/631/

The test failed on machine test-osuosl-aix72-ppc64-4 4 times
The test failed on machine test-osuosl-aix72-ppc64-3 6 times
The test failed on machine test-osuosl-aix72-ppc64-2 6 times
The test failed on machine test-osuosl-aix72-ppc64-1 7 times
The test failed on machine test-osuosl-aix72-ppc64-6 7 times
The test failed on machine test-osuosl-aix72-ppc64-5 3 times

Rerun in Grinder

@RadekCap
Copy link
Contributor Author

According to the deep history:
Last success: 9/6/2023, 3:26:07 AM
First failure: 10/14/2023, 3:01:07 PM
https://trss.adoptium.net/deepHistory?testId=6620751f879917006ea746f0

@RadekCap
Copy link
Contributor Author

Stacktrace
Execution failed: main' threw exception: java.lang.OutOfMemoryError: Requested array size exceeds VM limit `

Standard Error

java.lang.OutOfMemoryError: Requested array size exceeds VM limit
	at SymmetricRangeTests.testOverflowInMakePositive(SymmetricRangeTests.java:88)
	at SymmetricRangeTests.main(SymmetricRangeTests.java:624)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
	at java.base/java.lang.Thread.run(Thread.java:829)

JavaTest Message: Test threw exception: java.lang.OutOfMemoryError: Requested array size exceeds VM limit
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.lang.OutOfMemoryError: Requested array size exceeds VM limit

@RadekCap
Copy link
Contributor Author

This test has many opened bugs:
https://bugs.openjdk.org/browse/JDK-8232195?jql=text%20~%20%22SymmetricRangeTests%22

One possible solution is

These tests require huge memory and need to run with -Xmx8g

They are not actually run in standard testing by jtreg.

described in https://bugs.openjdk.org/browse/JDK-8232195

@RadekCap RadekCap changed the title jdk_math_1 FAILED in Test_openjdk11_hs_sanity.openjdk_ppc64_aix SymmetricRangeTests failure in jdk_math_1 in Test_openjdk11_hs_sanity.openjdk_ppc64_aix Apr 19, 2024
@RadekCap RadekCap changed the title SymmetricRangeTests failure in jdk_math_1 in Test_openjdk11_hs_sanity.openjdk_ppc64_aix java/math/BigInteger/largeMemory/SymmetricRangeTests.java failure in jdk_math_1 in Test_openjdk11_hs_sanity.openjdk_ppc64_aix Apr 19, 2024
@RadekCap
Copy link
Contributor Author

The same failure is on Mac - #5018

@zzambers
Copy link
Contributor

zzambers commented May 6, 2024

I took a look to jtrs, test is ran in 2 configurations by aqa-tests (one passed, the other failed):

  • with -XX:+UseCompressedOops - PASSED
  • with -XX:-UseCompressedOops - FAILED

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants