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

JDK16 TEST: java/lang/StringBuilder/HugeCapacity.java failures #10582

Closed
JasonFengJ9 opened this issue Sep 11, 2020 · 1 comment
Closed

JDK16 TEST: java/lang/StringBuilder/HugeCapacity.java failures #10582

JasonFengJ9 opened this issue Sep 11, 2020 · 1 comment
Labels
jdk16 perm excluded The test is unsuitable and permanently excluded. test failure

Comments

@JasonFengJ9
Copy link
Member

Failure link

From an internal build Test_openjdknext_j9_sanity.openjdk_ppc64le_linux_Nightly/288:

22:25:25  openjdk version "16-internal" 2021-03-16
22:25:25  OpenJDK Runtime Environment (build 16-internal+0-adhoc.jenkins.BuildJDKnextppc64lelinuxNightly)
22:25:25  Eclipse OpenJ9 VM (build master-5ef8df8f481, JRE 16 Linux ppc64le-64-Bit Compressed References 20200910_326 (JIT enabled, AOT enabled)
22:25:25  OpenJ9   - 5ef8df8f481
22:25:25  OMR      - 58b0c18383a
22:25:25  JCL      - 15ca9bbabd5 based on jdk-16+14)

For example, to rebuild the failed tests in =https://hyc-runtimes-jenkins.swg-devops.com/job/Grinder, use the following links:
23:03:39 https://hyc-runtimes-jenkins.swg-devops.com/job/Grinder/parambuild/?JDK_VERSION=16&JDK_IMPL=openj9&BUILD_LIST=openjdk&PLATFORM=ppc64le_linux&TARGET=jdk_lang_j9_0

Optional info

Failure output (captured from console output)

22:39:30  --------------------------------------------------
22:39:41  TEST: java/lang/StringBuilder/HugeCapacity.java

22:39:41  STDERR:
22:39:41  java.lang.OutOfMemoryError: Required length exceeds implementation limit
22:39:41  	at java.base/java.lang.AbstractStringBuilder.newCapacity(AbstractStringBuilder.java:259)
22:39:41  	at java.base/java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:229)
22:39:41  	at java.base/java.lang.AbstractStringBuilder.ensureCapacity(AbstractStringBuilder.java:213)
22:39:41  	at java.base/java.lang.StringBuilder.ensureCapacity(StringBuilder.java:87)
22:39:41  	at HugeCapacity.testLatin1(HugeCapacity.java:49)
22:39:41  	at HugeCapacity.main(HugeCapacity.java:37)
22:39:41  	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
22:39:41  	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
22:39:41  	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
22:39:41  	at java.base/java.lang.reflect.Method.invoke(Method.java:564)
22:39:41  	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
22:39:41  	at java.base/java.lang.Thread.run(Thread.java:845)
22:39:41  java.lang.RuntimeException: 1 tests failed
22:39:41  	at HugeCapacity.main(HugeCapacity.java:42)
22:39:41  	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
22:39:41  	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
22:39:41  	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
22:39:41  	at java.base/java.lang.reflect.Method.invoke(Method.java:564)
22:39:41  	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
22:39:41  	at java.base/java.lang.Thread.run(Thread.java:845)
22:39:41 
@pshipton pshipton added the jdk16 label Sep 16, 2020
pshipton added a commit to pshipton/openjdk-tests that referenced this issue Jan 5, 2021
The test is not compatible with OpenJ9.
a) It requires `-XX:+CompactStrings` to be the default.
b) It assumes `new byte[Integer.MAX_VALUE]` throws OOM, but OpenJ9
supports this.

The test exists prior to Java 16, but contains `@ignore` so doesn't run.
From Java 16 it contains `@requires (sun.arch.data.model == "64" &
os.maxMemory >= 6G)`.

Issue eclipse-openj9/openj9#10582

Signed-off-by: Peter Shipton <Peter_Shipton@ca.ibm.com>
@pshipton
Copy link
Member

pshipton commented Jan 5, 2021

Created adoptium/aqa-tests#2141 to perm exclude the test.

smlambert pushed a commit to adoptium/aqa-tests that referenced this issue Jan 5, 2021
The test is not compatible with OpenJ9.
a) It requires `-XX:+CompactStrings` to be the default.
b) It assumes `new byte[Integer.MAX_VALUE]` throws OOM, but OpenJ9
supports this.

The test exists prior to Java 16, but contains `@ignore` so doesn't run.
From Java 16 it contains `@requires (sun.arch.data.model == "64" &
os.maxMemory >= 6G)`.

Issue eclipse-openj9/openj9#10582

Signed-off-by: Peter Shipton <Peter_Shipton@ca.ibm.com>
@pshipton pshipton closed this as completed Jan 5, 2021
@babsingh babsingh added the perm excluded The test is unsuitable and permanently excluded. label Jan 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
jdk16 perm excluded The test is unsuitable and permanently excluded. test failure
Projects
None yet
Development

No branches or pull requests

3 participants