Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8036097

[TESTBUG] CustomLauncherTest.java fail in PIT for JDK9: Can't find jdk.testlibrary.StreamPumper

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 8u20, 9
    • Fix Version/s: None
    • Component/s: hotspot
    • Environment:

      Linux, Solaris

    • Subcomponent:
      svc
    • CPU:
      generic
    • OS:
      generic

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ykantser Yekaterina Kantserova (Inactive)
                Reporter:
                iaberg Ingemar Ã…berg (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: