-
Bug
-
Resolution: Not an Issue
-
P3
-
None
-
8u141
Test name(s): jdk/test/demo/jvmti/gctest/Gctest.java
Product(s) tested: JDK 8 u171 b01 ]
OS/architecture: Tested on Windows x64, Sparc v9, Linux x64
Reproducible: Always
Is it a Regression: No, test passes in JDK 8 u161 b01
Log:
----------System.out:(12/1290)----------
Starting: /scratch/export/home/aginfra/CommonData/TEST_JAVA_HOME/jre/bin/java -cp /scratch/export/home/aginfra/sandbox/results/workDir/classes/2/demo/jvmti/heapTracker -Dtest.classes=/scratch/export/home/aginfra/sandbox/results/workDir/classes/2/demo/jvmti/heapTracker -Xcheck:jni -Xverify:all -agentpath:/scratch/export/home/aginfra/CommonData/TEST_JAVA_HOME/jre/../demo/jvmti/heapTracker/lib/libheapTracker.so HeapUser
Error occurred during initialization of VM
Could not find agent library /scratch/export/home/aginfra/CommonData/TEST_JAVA_HOME/jre/../demo/jvmti/heapTracker/lib/libheapTracker.so in absolute path, with error: /scratch/export/home/aginfra/CommonData/TEST_JAVA_HOME/jre/../demo/jvmti/heapTracker/lib/libheapTracker.so: cannot open shared object file: No such file or directory
Exit code is 1
<beginning of Error Stream buffer>
<end of buffer>
<beginning of Input Stream buffer>
Error occurred during initialization of VM
Could not find agent library /scratch/export/home/aginfra/CommonData/TEST_JAVA_HOME/jre/../demo/jvmti/heapTracker/lib/libheapTracker.so in absolute path, with error: /scratch/export/home/aginfra/CommonData/TEST_JAVA_HOME/jre/../demo/jvmti/heapTracker/lib/libheapTracker.so: cannot open shared object file: No such file or directory
<end of buffer>
----------System.err:(15/906)----------
java.lang.RuntimeException: Test failed - exit return code non-zero (exitStatus==1)
at DemoRun.runit(DemoRun.java:207)
at DemoRun.runit(DemoRun.java:109)
at HeapTrackerTest.main(HeapTrackerTest.java:42)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
at java.lang.Thread.run(Thread.java:748)
JavaTest Message: Test threw exception: java.lang.RuntimeException: Test failed - exit return code non-zero (exitStatus==1)
JavaTest Message: shutting down test
Product(s) tested: JDK 8 u171 b01 ]
OS/architecture: Tested on Windows x64, Sparc v9, Linux x64
Reproducible: Always
Is it a Regression: No, test passes in JDK 8 u161 b01
Log:
----------System.out:(12/1290)----------
Starting: /scratch/export/home/aginfra/CommonData/TEST_JAVA_HOME/jre/bin/java -cp /scratch/export/home/aginfra/sandbox/results/workDir/classes/2/demo/jvmti/heapTracker -Dtest.classes=/scratch/export/home/aginfra/sandbox/results/workDir/classes/2/demo/jvmti/heapTracker -Xcheck:jni -Xverify:all -agentpath:/scratch/export/home/aginfra/CommonData/TEST_JAVA_HOME/jre/../demo/jvmti/heapTracker/lib/libheapTracker.so HeapUser
Error occurred during initialization of VM
Could not find agent library /scratch/export/home/aginfra/CommonData/TEST_JAVA_HOME/jre/../demo/jvmti/heapTracker/lib/libheapTracker.so in absolute path, with error: /scratch/export/home/aginfra/CommonData/TEST_JAVA_HOME/jre/../demo/jvmti/heapTracker/lib/libheapTracker.so: cannot open shared object file: No such file or directory
Exit code is 1
<beginning of Error Stream buffer>
<end of buffer>
<beginning of Input Stream buffer>
Error occurred during initialization of VM
Could not find agent library /scratch/export/home/aginfra/CommonData/TEST_JAVA_HOME/jre/../demo/jvmti/heapTracker/lib/libheapTracker.so in absolute path, with error: /scratch/export/home/aginfra/CommonData/TEST_JAVA_HOME/jre/../demo/jvmti/heapTracker/lib/libheapTracker.so: cannot open shared object file: No such file or directory
<end of buffer>
----------System.err:(15/906)----------
java.lang.RuntimeException: Test failed - exit return code non-zero (exitStatus==1)
at DemoRun.runit(DemoRun.java:207)
at DemoRun.runit(DemoRun.java:109)
at HeapTrackerTest.main(HeapTrackerTest.java:42)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
at java.lang.Thread.run(Thread.java:748)
JavaTest Message: Test threw exception: java.lang.RuntimeException: Test failed - exit return code non-zero (exitStatus==1)
JavaTest Message: shutting down test