aqa-tests
aqa-tests copied to clipboard
vmTestbase/vm/mlvm/mixed/stress/java/findDeadlock/TestDescription.java fails on AIX (OOM)
Test fails on AIX:
vmTestbase/vm/mlvm/mixed/stress/java/findDeadlock/TestDescription.java
Output:
...
18:08:43 STDOUT:
18:08:43 [0.005s][info][gc] Using G1
18:08:43 [0.401s][info][gc] GC(0) Pause Young (Normal) (G1 Evacuation Pause) 47M->2M(512M) 9.040ms
18:08:43 [0.401s][info][safepoint] Safepoint "G1CollectForAllocation", Time since last: 366415172 ns, Reaching safepoint: 650252 ns, At safepoint: 9072078 ns, Leaving safepoint: 24350 ns, Total: 9746680 ns, Threads: 5 runnable, 93 total
18:08:43 [0.581s][info][safepoint] Safepoint "FindDeadlocks", Time since last: 179796789 ns, Reaching safepoint: 160093 ns, At safepoint: 173221 ns, Leaving safepoint: 9756 ns, Total: 343070 ns, Threads: 0 runnable, 1014 total
18:08:43 [0.719s][warning][os,thread] Failed to start thread "Unknown thread" - pthread_create failed (11=EAGAIN) for attributes: stacksize: 2112k, guardsize: 0k, detached.
18:08:43 [0.719s][warning][os,thread] Number of threads approx. running in the VM: 1143
18:08:43 [0.719s][warning][os,thread] Checking JVM parameter MaxExpectedDataSegmentSize (currently 8388608k) might be helpful
18:08:43 [0.719s][warning][os,thread] Failed to start the native thread for java.lang.Thread "Thread-1741"
18:08:43 [17:8:27.937] # ERROR: Test caught an exception:
18:08:43 [17:8:27.941] # ERROR: java.lang.OutOfMemoryError: unable to create native thread: possibly out of memory or process/resource limits reached
18:08:43 [17:8:27.941] # ERROR: at java.base/java.lang.Thread.start0(Native Method)
18:08:43 [17:8:27.941] # ERROR: at java.base/java.lang.Thread.start(Thread.java:1417)
18:08:43 [17:8:27.941] # ERROR: at vm.mlvm.mixed.stress.java.findDeadlock.INDIFY_Test.test(INDIFY_Test.java:18244)
18:08:43 [17:8:27.941] # ERROR: at vm.mlvm.mixed.stress.java.findDeadlock.INDIFY_Test.run(INDIFY_Test.java:18203)
18:08:43 [17:8:27.941] # ERROR: at vm.mlvm.share.MlvmTestExecutor.runMlvmTestInstance(MlvmTestExecutor.java:398)
18:08:43 [17:8:27.941] # ERROR: at vm.mlvm.share.MlvmTestExecutor.runMlvmTest(MlvmTestExecutor.java:343)
18:08:43 [17:8:27.942] # ERROR: at vm.mlvm.share.MlvmTestExecutor.launch(MlvmTestExecutor.java:247)
18:08:43 [17:8:27.942] # ERROR: at vm.mlvm.share.MlvmTestExecutor.launch(MlvmTestExecutor.java:190)
18:08:43 [17:8:27.942] # ERROR: at vm.mlvm.share.MlvmTestExecutor.launch(MlvmTestExecutor.java:161)
18:08:43 [17:8:27.942] # ERROR: at vm.mlvm.share.MlvmTest.launch(MlvmTest.java:325)
18:08:43 [17:8:27.942] # ERROR: at vm.mlvm.mixed.stress.java.findDeadlock.INDIFY_Test.main(INDIFY_Test.java:18339)
18:08:43 [17:8:27.942] # ERROR: at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
18:08:43 [17:8:27.942] # ERROR: at java.base/java.lang.reflect.Method.invoke(Method.java:565)
18:08:43 [17:8:27.942] # ERROR: at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
18:08:43 [17:8:27.942] # ERROR: at java.base/java.lang.Thread.run(Thread.java:1474)
18:08:43 The following stacktrace is for failure analysis.
18:08:43 nsk.share.TestFailure: Test caught an exception: java.lang.OutOfMemoryError: unable to create native thread: possibly out of memory or process/resource limits reached
18:08:43 at nsk.share.Log.logExceptionForFailureAnalysis(Log.java:309)
18:08:43 at nsk.share.Log.complain(Log.java:280)
18:08:43 at nsk.share.Log.complain(Log.java:291)
18:08:43 at vm.mlvm.share.Env.complain(Env.java:172)
18:08:43 at vm.mlvm.share.MlvmTestExecutor.launch(MlvmTestExecutor.java:249)
18:08:43 at vm.mlvm.share.MlvmTestExecutor.launch(MlvmTestExecutor.java:190)
18:08:43 at vm.mlvm.share.MlvmTestExecutor.launch(MlvmTestExecutor.java:161)
18:08:43 at vm.mlvm.share.MlvmTest.launch(MlvmTest.java:325)
18:08:43 at vm.mlvm.mixed.stress.java.findDeadlock.INDIFY_Test.main(INDIFY_Test.java:18339)
18:08:43 at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
18:08:43 at java.base/java.lang.reflect.Method.invoke(Method.java:565)
18:08:43 at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
18:08:43 at java.base/java.lang.Thread.run(Thread.java:1474)
18:08:43 [17:8:27.952] ### TRACE 1: TEST FAILED
18:08:43 STDERR:
18:08:43 rerun:
18:08:43 cd /home/jenkins/workspace/Grinder/aqa-tests/TKG/output_17621893267564/hotspot_vmTestbase_vm_mlvm_0/work/scratch && \
18:08:43 DISPLAY=unix:0 \
18:08:43 HOME=/home/jenkins \
18:08:43 LANG=C \
18:08:43 PATH=/bin:/usr/bin:/usr/sbin \
18:08:43 TZ=UTC0 \
18:08:43 CLASSPATH=/home/jenkins/workspace/Grinder/aqa-tests/TKG/output_17621893267564/hotspot_vmTestbase_vm_mlvm_0/work/classes/vmTestbase/vm/mlvm/mixed/stress/java/findDeadlock/TestDescription.d:/home/jenkins/workspace/Grinder/aqa-tests/openjdk/openjdk-jdk/test/hotspot/jtreg/vmTestbase/vm/mlvm/mixed/stress/java/findDeadlock:/home/jenkins/workspace/Grinder/aqa-tests/TKG/output_17621893267564/hotspot_vmTestbase_vm_mlvm_0/work/classes/vmTestbase/vm/mlvm/mixed/stress/java/findDeadlock/TestDescription.d/vmTestbase:/home/jenkins/workspace/Grinder/aqa-tests/openjdk/openjdk-jdk/test/hotspot/jtreg/vmTestbase:/home/jenkins/workspace/Grinder/aqa-tests/TKG/output_17621893267564/hotspot_vmTestbase_vm_mlvm_0/work/classes/vmTestbase/vm/mlvm/mixed/stress/java/findDeadlock/TestDescription.d/test/lib:/home/jenkins/workspace/Grinder/aqa-tests/openjdk/openjdk-jdk/test/lib:/home/jenkins/workspace/Grinder/jvmtest/openjdk/jtreg/lib/javatest.jar:/home/jenkins/workspace/Grinder/jvmtest/openjdk/jtreg/lib/jtreg.jar \
18:08:43 /home/jenkins/workspace/Grinder/jdkbinary/j2sdk-image/bin/java \
18:08:43 -Dtest.vm.opts='-ea -esa -Xmx512m' \
18:08:43 -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m' \
18:08:43 -Dtest.compiler.opts= \
18:08:43 -Dtest.java.opts= \
18:08:43 -Dtest.jdk=/home/jenkins/workspace/Grinder/jdkbinary/j2sdk-image \
18:08:43 -Dcompile.jdk=/home/jenkins/workspace/Grinder/jdkbinary/j2sdk-image \
18:08:43 -Dtest.timeout.factor=8.0 \
18:08:43 -Dtest.nativepath=/home/jenkins/workspace/Grinder/jdkbinary/openjdk-test-image/hotspot/jtreg/native \
18:08:43 -Dtest.root=/home/jenkins/workspace/Grinder/aqa-tests/openjdk/openjdk-jdk/test/hotspot/jtreg \
18:08:43 -Dtest.name=vmTestbase/vm/mlvm/mixed/stress/java/findDeadlock/TestDescription.java \
18:08:43 -Dtest.verbose=Verbose[p=NONE,f=FULL,e=FULL,t=true,m=false] \
18:08:43 -Dtest.file=/home/jenkins/workspace/Grinder/aqa-tests/openjdk/openjdk-jdk/test/hotspot/jtreg/vmTestbase/vm/mlvm/mixed/stress/java/findDeadlock/TestDescription.java \
18:08:43 -Dtest.main.class=TestDescription \
18:08:43 -Dtest.src=/home/jenkins/workspace/Grinder/aqa-tests/openjdk/openjdk-jdk/test/hotspot/jtreg/vmTestbase/vm/mlvm/mixed/stress/java/findDeadlock \
18:08:43 -Dtest.src.path=/home/jenkins/workspace/Grinder/aqa-tests/openjdk/openjdk-jdk/test/hotspot/jtreg/vmTestbase/vm/mlvm/mixed/stress/java/findDeadlock:/home/jenkins/workspace/Grinder/aqa-tests/openjdk/openjdk-jdk/test/hotspot/jtreg/vmTestbase:/home/jenkins/workspace/Grinder/aqa-tests/openjdk/openjdk-jdk/test/lib \
18:08:43 -Dtest.classes=/home/jenkins/workspace/Grinder/aqa-tests/TKG/output_17621893267564/hotspot_vmTestbase_vm_mlvm_0/work/classes/vmTestbase/vm/mlvm/mixed/stress/java/findDeadlock/TestDescription.d \
18:08:43 -Dtest.class.path=/home/jenkins/workspace/Grinder/aqa-tests/TKG/output_17621893267564/hotspot_vmTestbase_vm_mlvm_0/work/classes/vmTestbase/vm/mlvm/mixed/stress/java/findDeadlock/TestDescription.d:/home/jenkins/workspace/Grinder/aqa-tests/TKG/output_17621893267564/hotspot_vmTestbase_vm_mlvm_0/work/classes/vmTestbase/vm/mlvm/mixed/stress/java/findDeadlock/TestDescription.d/vmTestbase:/home/jenkins/workspace/Grinder/aqa-tests/TKG/output_17621893267564/hotspot_vmTestbase_vm_mlvm_0/work/classes/vmTestbase/vm/mlvm/mixed/stress/java/findDeadlock/TestDescription.d/test/lib \
18:08:43 -Dtest.class.path.prefix=/home/jenkins/workspace/Grinder/aqa-tests/TKG/output_17621893267564/hotspot_vmTestbase_vm_mlvm_0/work/classes/vmTestbase/vm/mlvm/mixed/stress/java/findDeadlock/TestDescription.d:/home/jenkins/workspace/Grinder/aqa-tests/openjdk/openjdk-jdk/test/hotspot/jtreg/vmTestbase/vm/mlvm/mixed/stress/java/findDeadlock:/home/jenkins/workspace/Grinder/aqa-tests/TKG/output_17621893267564/hotspot_vmTestbase_vm_mlvm_0/work/classes/vmTestbase/vm/mlvm/mixed/stress/java/findDeadlock/TestDescription.d/vmTestbase:/home/jenkins/workspace/Grinder/aqa-tests/TKG/output_17621893267564/hotspot_vmTestbase_vm_mlvm_0/work/classes/vmTestbase/vm/mlvm/mixed/stress/java/findDeadlock/TestDescription.d/test/lib \
18:08:43 -ea \
18:08:43 -esa \
18:08:43 -Xmx512m \
18:08:43 -Djava.library.path=/home/jenkins/workspace/Grinder/jdkbinary/openjdk-test-image/hotspot/jtreg/native \
18:08:43 -Xlog:gc,safepoint \
18:08:43 com.sun.javatest.regtest.agent.MainWrapper /home/jenkins/workspace/Grinder/aqa-tests/TKG/output_17621893267564/hotspot_vmTestbase_vm_mlvm_0/work/vmTestbase/vm/mlvm/mixed/stress/java/findDeadlock/TestDescription.d/main.0.jta To see code that takes more time to safepoint run with: main/othervm -XX:+SafepointTimeout -XX:+UnlockDiagnosticVMOptions -XX:+AbortVMOnSafepointTimeout -XX:SafepointTimeoutDelay=500 -XX:+PrintSystemDictionaryAtExit -Xlog:gc,safepoint vm.mlvm.mixed.stress.java.findDeadlock.INDIFY_Test
18:08:43
18:08:43 TEST RESULT: Failed. Execution failed: Execution failed