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

com/sun/tools/attach/StartManagementAgent.java start failing after JDK-8048193

XMLWordPrintable

    • b26

        TESTFAIL:com/sun/tools/attach/StartManagementAgent.java

        com/sun/tools/attach/StartManagementAgent.java start failing after JDK-8048193, not always reproducible but the failure is more likely to happen on Windows.

        ----------System.err:(58/3822)----------
        java.lang.InternalError: Remote thread failed for unknown reason
        at sun.tools.attach.WindowsVirtualMachine.enqueue(Native Method)
        at sun.tools.attach.WindowsVirtualMachine.execute(WindowsVirtualMachine.java:96)
        at sun.tools.attach.HotSpotVirtualMachine.executeCommand(HotSpotVirtualMachine.java:261)
        at sun.tools.attach.HotSpotVirtualMachine.executeJCmd(HotSpotVirtualMachine.java:243)
        at sun.tools.attach.HotSpotVirtualMachine.startManagementAgent(HotSpotVirtualMachine.java:191)
        at StartManagementAgent.basicTests(StartManagementAgent.java:89)
        at StartManagementAgent.runTests(StartManagementAgent.java:108)
        at StartManagementAgent.main(StartManagementAgent.java:57)
        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.MainAction$SameVMRunnable.run(MainAction.java:759)
        at java.lang.Thread.run(Thread.java:745)
        java.io.IOException: Stream closed
        at java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:170)
        at java.io.BufferedInputStream.read(BufferedInputStream.java:336)
        at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
        at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
        at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
        at java.io.FilterInputStream.read(FilterInputStream.java:107)
        at jdk.testlibrary.StreamPumper.run(StreamPumper.java:112)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at jdk.testlibrary.StreamPumper$1.run(StreamPumper.java:191)
        at java.lang.Thread.run(Thread.java:745)
        java.io.IOException: No process is on the other end of the pipe
        at java.io.FileInputStream.readBytes(Native Method)
        at java.io.FileInputStream.read(FileInputStream.java:246)
        at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
        at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
        at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
        at java.io.FilterInputStream.read(FilterInputStream.java:107)
        at jdk.testlibrary.StreamPumper.run(StreamPumper.java:112)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at jdk.testlibrary.StreamPumper$1.run(StreamPumper.java:191)
        at java.lang.Thread.run(Thread.java:745)
        java.lang.InternalError: Remote thread failed for unknown reason
        at sun.tools.attach.WindowsVirtualMachine.enqueue(Native Method)
        at sun.tools.attach.WindowsVirtualMachine.execute(WindowsVirtualMachine.java:96)
        at sun.tools.attach.HotSpotVirtualMachine.executeCommand(HotSpotVirtualMachine.java:261)
        at sun.tools.attach.HotSpotVirtualMachine.executeJCmd(HotSpotVirtualMachine.java:243)
        at sun.tools.attach.HotSpotVirtualMachine.startManagementAgent(HotSpotVirtualMachine.java:191)
        at StartManagementAgent.basicTests(StartManagementAgent.java:89)
        at StartManagementAgent.runTests(StartManagementAgent.java:108)
        at StartManagementAgent.main(StartManagementAgent.java:57)
        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.MainAction$SameVMRunnable.run(MainAction.java:759)
        at java.lang.Thread.run(Thread.java:745)

        JavaTest Message: Test threw exception: java.lang.InternalError
        JavaTest Message: shutting down test

        result: Failed. Execution failed: `main' threw exception: java.lang.InternalError: Remote thread failed for unknown reason

              jbachorik Jaroslav BachorĂ­k
              amlu Amy Lu (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: