Repository navigation
Open
Description
Failure link
Failure output (captured from console output)
java.lang.Throwable
at java.base/java.lang.Thread.dumpStack(Thread.java:511)
at Basic.fail(Basic.java:2730)
at Basic.check(Basic.java:2733)
at Basic.realMain(Basic.java:1777)
at Basic.main(Basic.java:2740)
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:834)
java.lang.Throwable
at java.base/java.lang.Thread.dumpStack(Thread.java:511)
at Basic.fail(Basic.java:2730)
at Basic.check(Basic.java:2733)
at Basic.realMain(Basic.java:1778)
at Basic.main(Basic.java:2740)
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:834)
java.lang.Throwable
at java.base/java.lang.Thread.dumpStack(Thread.java:511)
at Basic.fail(Basic.java:2730)
at Basic.check(Basic.java:2733)
at Basic.realMain(Basic.java:1779)
at Basic.main(Basic.java:2740)
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:834)
>'0'< not equal to '1'
java.lang.Throwable
at java.base/java.lang.Thread.dumpStack(Thread.java:511)
at Basic.fail(Basic.java:2730)
at Basic.fail(Basic.java:2731)
at Basic.equal(Basic.java:2737)
at Basic.realMain(Basic.java:1780)
at Basic.main(Basic.java:2740)
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:834)
java.lang.AssertionError: Some tests failed
at Basic.main(Basic.java:2742)
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:834)
JavaTest Message: Test threw exception: java.lang.AssertionError: Some tests failed
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.AssertionError: Some tests failed
This test launches a child process and expects it to throw OOM, but the child process does not always throw OOM on the aarch64 test machine simply because the machine has large memory (128GB)
The child process creates an array with Integer.MAX_VALUE elements, but this is not large enough to always trigger OOM on the machine with 128GB memory.
Activity
Akira1Saitoh commentedon Mar 31, 2020
@knn-k @0xdaryl
Akira1Saitoh commentedon Mar 31, 2020
@smlambert Can you give us some advice on this, please?
I wonder if I can set
-Xmxoption only to this test (actually, a child process this test spawns) so that OOM is always thrown as expected. Is it possible?knn-k commentedon Apr 2, 2020
@smlambert
Can you give us a comment on this, please? It looks like a testcase failure. Thanks.
smlambert commentedon Apr 2, 2020
Since this testcase comes from the openjdk project we do not directly change the settings of the individual testcase but try to raise the issue upstream for a fix (though for local runs, it can be done as part of the test here by passing -mx value, see Examples at https://openjdk.java.net/jtreg/tag-spec.html).
To request an upstream fix, we could try to raise an issue in JBS (Java Bug Database) at the OpenJDK project to correct it as you suggest.
We have a jbs slack channel at AdoptOpenJDK where we ask for help from people with rights to raise upstream issues against openjdk (otherwise you have to send an email to a mailing list, which may or may not get attention).
knn-k commentedon Apr 3, 2020
This test is already excluded in https://github.com/AdoptOpenJDK/openjdk-tests/blob/f5d240cfa768d00475ae5e3e2f06daf7a168550c/openjdk/ProblemList_openjdk11-openj9.txt#L41 for
aix-allfor a different reason.Shall I open a pull request for excluding the test for
linux-aarch64?OpenJ9 AArch64: Exclude two ProcessBuilder tests
knn-k commentedon Apr 3, 2020
I opened adoptium/aqa-tests#1716 for excluding ProcessBuilder tests on AArch64.
OpenJ9 AArch64: Exclude two ProcessBuilder tests (#1716)
JasonFengJ9 commentedon Aug 24, 2020
Similar errors occurred JDK11 Windows at https://ci.eclipse.org/openj9/job/Test_openjdk11_j9_sanity.openjdk_x86-64_windows_Nightly/127/consoleFull
JasonFengJ9 commentedon Oct 5, 2020
Another occurrence is at https://ci.eclipse.org/openj9/job/Test_openjdk11_j9_sanity.openjdk_x86-64_windows_Nightly/169/consoleFull.
Since these failures are across platforms, the
archlabel and issue title should be updated.pshipton commentedon Oct 5, 2020
@JasonFengJ9 the list of failures isn't the same, and the aarch64 test is excluded, pls open another issue for the Windows failures.
JasonFengJ9 commentedon Oct 6, 2020
@pshipton Sure, just created #10793 for
JDK11 Windows, and we can determine later if they are dups.