The following test failed in the JDK15 CI:
serviceability/dcmd/framework/InvalidCommandTest.java
Here's a snippet from the log file:
----------------------------------------
test InvalidCommandTest.jmx(): success
debugee.stdout> Test Java process started!
debugee.stderr> Exception in thread "main" nsk.share.Failure: Unable to attach for IOPipe connection to localhost:64837 for 120000ms timeout:
debugee.stderr> java.net.ConnectException: Connection refused
debugee.stderr> at nsk.share.jpda.BasicSocketConnection.continueAttach(SocketConnection.java:281)
debugee.stderr> at nsk.share.jpda.SocketConnection.continueAttach(SocketConnection.java:485)
debugee.stderr> at nsk.share.jpda.SocketIOPipe.connect(SocketIOPipe.java:240)
debugee.stderr> at nsk.share.jpda.IOPipe.connect(IOPipe.java:88)
debugee.stderr> at nsk.share.jpda.SocketIOPipe.println(SocketIOPipe.java:181)
debugee.stderr> at process.TestJavaProcess.main(TestJavaProcess.java:47)
test InvalidCommandTest.mainClass(): failure
nsk.share.Failure: Unable to send object throw not established IOPipe connection:
quit
at nsk.share.jpda.SocketConnection.writeObject(SocketConnection.java:564)
at nsk.share.jpda.SocketIOPipe.println(SocketIOPipe.java:183)
at TestProcessLauncher.quit(TestProcessLauncher.java:80)
at InvalidCommandTest.mainClass(InvalidCommandTest.java:62)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:639)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:821)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1131)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
at org.testng.TestRunner.privateRun(TestRunner.java:773)
at org.testng.TestRunner.run(TestRunner.java:623)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
at org.testng.SuiteRunner.run(SuiteRunner.java:259)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1185)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1110)
at org.testng.TestNG.run(TestNG.java:1018)
at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:94)
at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:54)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:832)
Running DCMD 'asdf' through 'PidJcmdExecutor'
Executing command '[/scratch/mesos/jib-master/install/jdk-15+16-662/macosx-x64-debug.jdk/jdk-15/fastdebug/bin/jcmd, 73136, asdf]'
[2020-03-24T07:15:01.517175Z] Gathering output for process 73275
[2020-03-24T07:15:02.232425Z] Waiting for completion for process 73275
[2020-03-24T07:15:02.232609Z] Waiting for completion finished for process 73275
Command returned with exit code 1
---------------- stdout ----------------
The above IOPipe failure appears to be the reason for the test failure.
Do not be confused by these parts of the log file:
---------------- stderr ----------------
java.lang.IllegalArgumentException: Unknown diagnostic command
----------------------------------------
The above is the error message on stderr that this test is looking for.
The above is not the reason for the test failure.
---------------- stderr ----------------
java.lang.IllegalArgumentException: Unknown diagnostic command: asdf
at jdk.test.lib.dcmd.JMXExecutor.executeImpl(JMXExecutor.java:105)
at jdk.test.lib.dcmd.CommandExecutor.execute(CommandExecutor.java:61)
at jdk.test.lib.dcmd.CommandExecutor.execute(CommandExecutor.java:43)
at InvalidCommandTest.run(InvalidCommandTest.java:46)
at InvalidCommandTest.jmx(InvalidCommandTest.java:73)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:639)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:821)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1131)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
at org.testng.TestRunner.privateRun(TestRunner.java:773)
at org.testng.TestRunner.run(TestRunner.java:623)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
at org.testng.SuiteRunner.run(SuiteRunner.java:259)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1185)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1110)
at org.testng.TestNG.run(TestNG.java:1018)
at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:94)
at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:54)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:832)
Caused by: javax.management.ReflectionException
at jdk.management/com.sun.management.internal.DiagnosticCommandImpl.invoke(DiagnosticCommandImpl.java:273)
at java.management/com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:809)
at java.management/com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
at jdk.test.lib.dcmd.JMXExecutor.executeImpl(JMXExecutor.java:96)
... 33 more
Caused by: java.lang.NoSuchMethodException: Method asdf with signature [[Ljava.lang.String;] not found
... 37 more
----------------------------------------
The above is the IllegalArgumentException that this test is look for.
The above is not the reason for the test failure.
serviceability/dcmd/framework/InvalidCommandTest.java
Here's a snippet from the log file:
----------------------------------------
test InvalidCommandTest.jmx(): success
debugee.stdout> Test Java process started!
debugee.stderr> Exception in thread "main" nsk.share.Failure: Unable to attach for IOPipe connection to localhost:64837 for 120000ms timeout:
debugee.stderr> java.net.ConnectException: Connection refused
debugee.stderr> at nsk.share.jpda.BasicSocketConnection.continueAttach(SocketConnection.java:281)
debugee.stderr> at nsk.share.jpda.SocketConnection.continueAttach(SocketConnection.java:485)
debugee.stderr> at nsk.share.jpda.SocketIOPipe.connect(SocketIOPipe.java:240)
debugee.stderr> at nsk.share.jpda.IOPipe.connect(IOPipe.java:88)
debugee.stderr> at nsk.share.jpda.SocketIOPipe.println(SocketIOPipe.java:181)
debugee.stderr> at process.TestJavaProcess.main(TestJavaProcess.java:47)
test InvalidCommandTest.mainClass(): failure
nsk.share.Failure: Unable to send object throw not established IOPipe connection:
quit
at nsk.share.jpda.SocketConnection.writeObject(SocketConnection.java:564)
at nsk.share.jpda.SocketIOPipe.println(SocketIOPipe.java:183)
at TestProcessLauncher.quit(TestProcessLauncher.java:80)
at InvalidCommandTest.mainClass(InvalidCommandTest.java:62)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:639)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:821)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1131)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
at org.testng.TestRunner.privateRun(TestRunner.java:773)
at org.testng.TestRunner.run(TestRunner.java:623)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
at org.testng.SuiteRunner.run(SuiteRunner.java:259)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1185)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1110)
at org.testng.TestNG.run(TestNG.java:1018)
at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:94)
at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:54)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:832)
Running DCMD 'asdf' through 'PidJcmdExecutor'
Executing command '[/scratch/mesos/jib-master/install/jdk-15+16-662/macosx-x64-debug.jdk/jdk-15/fastdebug/bin/jcmd, 73136, asdf]'
[2020-03-24T07:15:01.517175Z] Gathering output for process 73275
[2020-03-24T07:15:02.232425Z] Waiting for completion for process 73275
[2020-03-24T07:15:02.232609Z] Waiting for completion finished for process 73275
Command returned with exit code 1
---------------- stdout ----------------
The above IOPipe failure appears to be the reason for the test failure.
Do not be confused by these parts of the log file:
---------------- stderr ----------------
java.lang.IllegalArgumentException: Unknown diagnostic command
----------------------------------------
The above is the error message on stderr that this test is looking for.
The above is not the reason for the test failure.
---------------- stderr ----------------
java.lang.IllegalArgumentException: Unknown diagnostic command: asdf
at jdk.test.lib.dcmd.JMXExecutor.executeImpl(JMXExecutor.java:105)
at jdk.test.lib.dcmd.CommandExecutor.execute(CommandExecutor.java:61)
at jdk.test.lib.dcmd.CommandExecutor.execute(CommandExecutor.java:43)
at InvalidCommandTest.run(InvalidCommandTest.java:46)
at InvalidCommandTest.jmx(InvalidCommandTest.java:73)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:639)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:821)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1131)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
at org.testng.TestRunner.privateRun(TestRunner.java:773)
at org.testng.TestRunner.run(TestRunner.java:623)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
at org.testng.SuiteRunner.run(SuiteRunner.java:259)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1185)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1110)
at org.testng.TestNG.run(TestNG.java:1018)
at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:94)
at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:54)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:832)
Caused by: javax.management.ReflectionException
at jdk.management/com.sun.management.internal.DiagnosticCommandImpl.invoke(DiagnosticCommandImpl.java:273)
at java.management/com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:809)
at java.management/com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
at jdk.test.lib.dcmd.JMXExecutor.executeImpl(JMXExecutor.java:96)
... 33 more
Caused by: java.lang.NoSuchMethodException: Method asdf with signature [[Ljava.lang.String;] not found
... 37 more
----------------------------------------
The above is the IllegalArgumentException that this test is look for.
The above is not the reason for the test failure.
- duplicates
-
JDK-8237388 serviceability/dcmd/framework/VMVersionTest.java fails with connection refused error.
- Resolved
- relates to
-
JDK-8237388 serviceability/dcmd/framework/VMVersionTest.java fails with connection refused error.
- Resolved