This test fail on all Linux and Solaris platforms in the 'jdk svc' suite but it succeeds in the 'jdk management' suite.
The fact that it fails consistently in one suite but succeeds in another implies that there is something wrong with test configuration or test setup.
From jtreg log:
Starting custom launcher:
=========================
launcher : /export/local/aurora/CommonData/j2se_jdk/jdk/test/sun/management/jmxremote/bootstrap/linux-i586/launcher
libjvm : /export/local/aurora/CommonData/jdk/jre/lib/i386/server/libjvm.so
classpath : /export/local/aurora/sandbox/results/workDir/classes/sun/management/jmxremote/bootstrap:/export/local/aurora/sandbox/results/workDir/classes/lib/testlibrary
----------System.err:(23/1346)----------
java.lang.NoClassDefFoundError: jdk/testlibrary/StreamPumper
at jdk.testlibrary.ProcessTools.startProcess(ProcessTools.java:139)
at CustomLauncherTest.main(CustomLauncherTest.java:127)
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:484)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.ClassNotFoundException: jdk.testlibrary.StreamPumper
at java.net.URLClassLoader$1.run(URLClassLoader.java:372)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:360)
at java.lang.ClassLoader.loadClass(ClassLoader.java:426)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:359)
... 8 more
JavaTest Message: Test threw exception: java.lang.NoClassDefFoundError: jdk/testlibrary/StreamPumper
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.NoClassDefFoundError: jdk/testlibrary/StreamPumper
Priority Justification:
Impact: Medium, Noise in the results
Likelihood: High, happens all the time
Workaround: High, none known.
ILW = MHH => P2
Link to failures: http://vmsqe-app.russia.sun.com/surl/8S
Link to test history: http://vmsqe-app.russia.sun.com/surl/8T
RULE sun/management/jmxremote/bootstrap/CustomLauncherTest.java Exception java.lang.NoClassDefFoundError: jdk/testlibrary/StreamPumper
The fact that it fails consistently in one suite but succeeds in another implies that there is something wrong with test configuration or test setup.
From jtreg log:
Starting custom launcher:
=========================
launcher : /export/local/aurora/CommonData/j2se_jdk/jdk/test/sun/management/jmxremote/bootstrap/linux-i586/launcher
libjvm : /export/local/aurora/CommonData/jdk/jre/lib/i386/server/libjvm.so
classpath : /export/local/aurora/sandbox/results/workDir/classes/sun/management/jmxremote/bootstrap:/export/local/aurora/sandbox/results/workDir/classes/lib/testlibrary
----------System.err:(23/1346)----------
java.lang.NoClassDefFoundError: jdk/testlibrary/StreamPumper
at jdk.testlibrary.ProcessTools.startProcess(ProcessTools.java:139)
at CustomLauncherTest.main(CustomLauncherTest.java:127)
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:484)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.ClassNotFoundException: jdk.testlibrary.StreamPumper
at java.net.URLClassLoader$1.run(URLClassLoader.java:372)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:360)
at java.lang.ClassLoader.loadClass(ClassLoader.java:426)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:359)
... 8 more
JavaTest Message: Test threw exception: java.lang.NoClassDefFoundError: jdk/testlibrary/StreamPumper
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.NoClassDefFoundError: jdk/testlibrary/StreamPumper
Priority Justification:
Impact: Medium, Noise in the results
Likelihood: High, happens all the time
Workaround: High, none known.
ILW = MHH => P2
Link to failures: http://vmsqe-app.russia.sun.com/surl/8S
Link to test history: http://vmsqe-app.russia.sun.com/surl/8T
RULE sun/management/jmxremote/bootstrap/CustomLauncherTest.java Exception java.lang.NoClassDefFoundError: jdk/testlibrary/StreamPumper
- duplicates
-
JDK-8034960 Serviceability tests using @library failing with java.lang.NoClassDefFoundError
- Resolved
- is blocked by
-
CODETOOLS-7900323 Unable to build class-name wildcard
- Resolved
- relates to
-
JDK-8043915 Tests get ClassNotFoundException: com.oracle.java.testlibrary.StreamPumper
- Resolved