-
Bug
-
Resolution: Cannot Reproduce
-
P4
-
8
-
x86
-
solaris
In my baseline testing of JDK8-B45 on Solaris X64, I noticed that
the following JVM/TI demo test was failing:
demo/jvmti/minst/MinstTest.java
This test failed in all eight of my Solaris X64 configs with
error messages like the following:
----------messages:(3/92)----------
command: build MinstTest
reason: Named class compiled on demand
elapsed time (seconds): 0.0
result: Passed. All files up to date
#section:main
----------messages:(3/130)----------
command: main MinstTestMinstExample
reason: User specified action: run main MinstTest MinstExample
elapsed time (seconds): 0.291
----------System.out:(10/790)----------
Starting: /work/shared/baseline_jdks/1.8.0_b45/solaris-x64/jre/bin/amd64/java -c
p /work/shared/test_results/jdk8/baseline/solaris-x64/b45/sdk-demo_jvmti-prod-se
rver-prod-mixed.solaris-x64/JTwork/classes/demo/jvmti/minst -Dtest.classes=/work
/shared/test_results/jdk8/baseline/solaris-x64/b45/sdk-demo_jvmti-prod-server-pr
od-mixed.solaris-x64/JTwork/classes/demo/jvmti/minst -d64 -Xcheck:jni -Xverify:a
ll -agentpath:/work/shared/baseline_jdks/1.8.0_b45/solaris-x64/jre/../demo/jvmti
/minst/lib/amd64/libminst.so=exclude=java/*,exclude=javax/*,exclude=com/*,exclud
e=sun/* MinstExample
ERROR: JNI: Cannot find Minst with FindClass
Exit code is 3
<beginning of Error Stream buffer>
ERROR: JNI: Cannot find Minst with FindClass
<end of buffer>
<beginning of Input Stream buffer>
<end of buffer>
----------System.err:(19/1028)----------
java version "1.8.0-ea"
Java(TM) SE Runtime Environment (build 1.8.0-ea-b45)
Java HotSpot(TM) 64-Bit Server VM (build 24.0-b14, mixed mode)
java.lang.RuntimeException: Test failed - exit return code non-zero (exitStatus=
=3)
at DemoRun.runit(DemoRun.java:217)
at DemoRun.runit(DemoRun.java:109)
at MinstTest.main(MinstTest.java:42)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:474)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:
94)
at java.lang.Thread.run(Thread.java:722)
JavaTest Message: Test threw exception: java.lang.RuntimeException: Test failed
- exit return code non-zero (exitStatus==3)
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Test failed -
exit return code non-zero (exitStatus==3)
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeExcep
tion: Test failed - exit return code non-zero (exitStatus==3)
test result: Failed. Execution failed: `main' threw exception: java.lang.Runtime
Exception: Test failed - exit return code non-zero (exitStatus==3)
the following JVM/TI demo test was failing:
demo/jvmti/minst/MinstTest.java
This test failed in all eight of my Solaris X64 configs with
error messages like the following:
----------messages:(3/92)----------
command: build MinstTest
reason: Named class compiled on demand
elapsed time (seconds): 0.0
result: Passed. All files up to date
#section:main
----------messages:(3/130)----------
command: main MinstTestMinstExample
reason: User specified action: run main MinstTest MinstExample
elapsed time (seconds): 0.291
----------System.out:(10/790)----------
Starting: /work/shared/baseline_jdks/1.8.0_b45/solaris-x64/jre/bin/amd64/java -c
p /work/shared/test_results/jdk8/baseline/solaris-x64/b45/sdk-demo_jvmti-prod-se
rver-prod-mixed.solaris-x64/JTwork/classes/demo/jvmti/minst -Dtest.classes=/work
/shared/test_results/jdk8/baseline/solaris-x64/b45/sdk-demo_jvmti-prod-server-pr
od-mixed.solaris-x64/JTwork/classes/demo/jvmti/minst -d64 -Xcheck:jni -Xverify:a
ll -agentpath:/work/shared/baseline_jdks/1.8.0_b45/solaris-x64/jre/../demo/jvmti
/minst/lib/amd64/libminst.so=exclude=java/*,exclude=javax/*,exclude=com/*,exclud
e=sun/* MinstExample
ERROR: JNI: Cannot find Minst with FindClass
Exit code is 3
<beginning of Error Stream buffer>
ERROR: JNI: Cannot find Minst with FindClass
<end of buffer>
<beginning of Input Stream buffer>
<end of buffer>
----------System.err:(19/1028)----------
java version "1.8.0-ea"
Java(TM) SE Runtime Environment (build 1.8.0-ea-b45)
Java HotSpot(TM) 64-Bit Server VM (build 24.0-b14, mixed mode)
java.lang.RuntimeException: Test failed - exit return code non-zero (exitStatus=
=3)
at DemoRun.runit(DemoRun.java:217)
at DemoRun.runit(DemoRun.java:109)
at MinstTest.main(MinstTest.java:42)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:474)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:
94)
at java.lang.Thread.run(Thread.java:722)
JavaTest Message: Test threw exception: java.lang.RuntimeException: Test failed
- exit return code non-zero (exitStatus==3)
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Test failed -
exit return code non-zero (exitStatus==3)
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeExcep
tion: Test failed - exit return code non-zero (exitStatus==3)
test result: Failed. Execution failed: `main' threw exception: java.lang.Runtime
Exception: Test failed - exit return code non-zero (exitStatus==3)