-
Bug
-
Resolution: Fixed
-
P4
-
22
-
b13
-
aarch64
-
linux
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8316858 | 21.0.2 | Ludvig Janiuk | P4 | Resolved | Fixed | b02 |
JDK-8334972 | 17.0.13 | Sendao Yan | P4 | Resolved | Fixed | b01 |
sun/tools/jstatd/TestJstatdPortAndServer.java
Here's a log file snippet:
Start jstatd:
[/opt/mach5/mesos/work_dir/jib-master/install/jdk-22+11-769/linux-aarch64-debug.jdk/jdk-22/fastdebug/bin/jstatd -J-Xmx768m -J-XX:MaxRAMPercentage=6.25 -J-Dtest.boot.jdk=/opt/mach5/mesos/work_dir/jib-master/install/jdk/20/36/bundles/linux-aarch64/jdk-20_linux-aarch64_bin.tar.gz/jdk-20 -J-Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/cd627e65-f015-4fb1-a1d2-b6c9b8127f98-S134869/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/ceb3fbd8-908f-4ee1-a6df-319b60555d60/runs/d832f45a-e913-4697-ac67-e4b6842856e7/testoutput/test-support/jtreg_open_test_jdk_jdk_svc/tmp -J-ea -J-esa -J-XX:NativeMemoryTracking=detail -J-XX:+UsePerfData -p43023 -nTestJstatdServer]
[Jstatd-Thread]:/opt/mach5/mesos/work_dir/jib-master/install/jdk-22+11-769/linux-aarch64-debug.jdk/jdk-22/fastdebug/bin/jstatd -J-Xmx768m -J-XX:MaxRAMPercentage=6.25 -J-Dtest.boot.jdk=/opt/mach5/mesos/work_dir/jib-master/install/jdk/20/36/bundles/linux-aarch64/jdk-20_linux-aarch64_bin.tar.gz/jdk-20 -J-Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/cd627e65-f015-4fb1-a1d2-b6c9b8127f98-S134869/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/ceb3fbd8-908f-4ee1-a6df-319b60555d60/runs/d832f45a-e913-4697-ac67-e4b6842856e7/testoutput/test-support/jtreg_open_test_jdk_jdk_svc/tmp -J-ea -J-esa -J-XX:NativeMemoryTracking=detail -J-XX:+UsePerfData -p43023 -nTestJstatdServer
[Jstatd-Thread] Could not bind //:43023/TestJstatdServer to RMI Registry
[Jstatd-Thread] java.rmi.NoSuchObjectException: no such object in table
[Jstatd-Thread] at java.rmi/sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:304)
[Jstatd-Thread] at java.rmi/sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:280)
[Jstatd-Thread] at java.rmi/sun.rmi.server.UnicastRef.invoke(UnicastRef.java:382)
[Jstatd-Thread] at java.rmi/sun.rmi.registry.RegistryImpl_Stub.rebind(RegistryImpl_Stub.java:158)
[Jstatd-Thread] at java.rmi/java.rmi.Naming.rebind(Naming.java:177)
[Jstatd-Thread] at jdk.jstatd/sun.tools.jstatd.Jstatd.bind(Jstatd.java:62)
[Jstatd-Thread] at jdk.jstatd/sun.tools.jstatd.Jstatd.main(Jstatd.java:154)
Thread[#10,Finalizer,8,system] stack: (length = 7)
java.base@22-ea/java.lang.Object.wait0(Native Method)
java.base@22-ea/java.lang.Object.wait(Object.java:375)
java.base@22-ea/java.lang.Object.wait(Object.java:348)
java.base@22-ea/java.lang.ref.NativeReferenceQueue.await(NativeReferenceQueue.java:48)
java.base@22-ea/java.lang.ref.ReferenceQueue.remove0(ReferenceQueue.java:158)
java.base@22-ea/java.lang.ref.NativeReferenceQueue.remove(NativeReferenceQueue.java:89)
java.base@22-ea/java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:173)
Thread[#20,pool-1-thread-1,5,main] stack: (length = 10)
java.base@22-ea/jdk.internal.misc.Unsafe.park(Native Method)
java.base@22-ea/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:269)
java.base@22-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:1758)
java.base@22-ea/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1182)
java.base@22-ea/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:899)
java.base@22-ea/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1070)
java.base@22-ea/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
java.base@22-ea/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
java.base@22-ea/java.lang.Thread.runWith(Thread.java:1583)
java.base@22-ea/java.lang.Thread.run(Thread.java:1570)
Thread[#1,main,5,main] stack: (length = 8)
java.base@22-ea/java.lang.Object.wait0(Native Method)
java.base@22-ea/java.lang.Object.wait(Object.java:375)
java.base@22-ea/java.lang.Thread.join(Thread.java:2049)
java.base@22-ea/java.lang.Thread.join(Thread.java:2125)
app//com.sun.javatest.regtest.agent.MainActionHelper.runClass(MainActionHelper.java:219)
app//com.sun.javatest.regtest.agent.AgentServer.doMain(AgentServer.java:317)
app//com.sun.javatest.regtest.agent.AgentServer.run(AgentServer.java:242)
app//com.sun.javatest.regtest.agent.AgentServer.main(AgentServer.java:71)
Thread[#18,Common-Cleaner,8,InnocuousThreadGroup] stack: (length = 10)
java.base@22-ea/jdk.internal.misc.Unsafe.park(Native Method)
java.base@22-ea/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:269)
java.base@22-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1847)
java.base@22-ea/java.lang.ref.ReferenceQueue.await(ReferenceQueue.java:71)
java.base@22-ea/java.lang.ref.ReferenceQueue.remove0(ReferenceQueue.java:143)
java.base@22-ea/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:218)
java.base@22-ea/jdk.internal.ref.CleanerImpl.run(CleanerImpl.java:140)
java.base@22-ea/java.lang.Thread.runWith(Thread.java:1583)
java.base@22-ea/java.lang.Thread.run(Thread.java:1570)
java.base@22-ea/jdk.internal.misc.InnocuousThread.run(InnocuousThread.java:186)
Thread[#19,Notification Thread,9,system] stack: (length = 0)
Thread[#25,process reaper,10,InnocuousThreadGroup] stack: (length = 12)
java.base@22-ea/jdk.internal.misc.Unsafe.park(Native Method)
java.base@22-ea/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:410)
java.base@22-ea/java.util.concurrent.LinkedTransferQueue$DualNode.await(LinkedTransferQueue.java:452)
java.base@22-ea/java.util.concurrent.SynchronousQueue$Transferer.xferLifo(SynchronousQueue.java:194)
java.base@22-ea/java.util.concurrent.SynchronousQueue.xfer(SynchronousQueue.java:233)
java.base@22-ea/java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:336)
java.base@22-ea/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1069)
java.base@22-ea/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
java.base@22-ea/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
java.base@22-ea/java.lang.Thread.runWith(Thread.java:1583)
java.base@22-ea/java.lang.Thread.run(Thread.java:1570)
java.base@22-ea/jdk.internal.misc.InnocuousThread.run(InnocuousThread.java:186)
Thread[#9,Reference Handler,10,system] stack: (length = 3)
java.base@22-ea/java.lang.ref.Reference.waitForReferencePendingList(Native Method)
java.base@22-ea/java.lang.ref.Reference.processPendingReferences(Reference.java:246)
java.base@22-ea/java.lang.ref.Reference$ReferenceHandler.run(Reference.java:208)
Thread[#11,Signal Dispatcher,9,system] stack: (length = 0)
Thread[#48,AgentVMThread,5,AgentVMThreadGroup] stack: (length = 22)
java.base@22-ea/jdk.internal.misc.Unsafe.park(Native Method)
java.base@22-ea/java.util.concurrent.locks.LockSupport.park(LockSupport.java:221)
java.base@22-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(AbstractQueuedSynchronizer.java:754)
java.base@22-ea/java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1099)
java.base@22-ea/java.util.concurrent.CountDownLatch.await(CountDownLatch.java:230)
jdk.test.lib.thread.ProcessThread$ProcessRunnable.getProcess(ProcessThread.java:216)
jdk.test.lib.thread.ProcessThread$ProcessRunnable.getPid(ProcessThread.java:205)
jdk.test.lib.thread.ProcessThread.getPid(ProcessThread.java:103)
JstatdTest.waitOnTool(JstatdTest.java:96)
JstatdTest.tryToSetupJstatdProcess(JstatdTest.java:289)
JstatdTest.runTest(JstatdTest.java:343)
JstatdTest.doTest(JstatdTest.java:315)
TestJstatdPortAndServer.main(TestJstatdPortAndServer.java:40)
java.base@22-ea/java.lang.invoke.LambdaForm$DMH/0x00000001000c0000.invokeStatic(LambdaForm$DMH)
java.base@22-ea/java.lang.invoke.LambdaForm$MH/0x0000000100103800.invoke(LambdaForm$MH)
java.base@22-ea/java.lang.invoke.Invokers$Holder.invokeExact_MT(Invokers$Holder)
java.base@22-ea/jdk.internal.reflect.DirectMethodHandleAccessor.invokeImpl(DirectMethodHandleAccessor.java:154)
java.base@22-ea/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
java.base@22-ea/java.lang.reflect.Method.invoke(Method.java:580)
app//com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
java.base@22-ea/java.lang.Thread.runWith(Thread.java:1583)
java.base@22-ea/java.lang.Thread.run(Thread.java:1570)
Thread[#22,process reaper,10,InnocuousThreadGroup] stack: (length = 12)
java.base@22-ea/jdk.internal.misc.Unsafe.park(Native Method)
java.base@22-ea/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:410)
java.base@22-ea/java.util.concurrent.LinkedTransferQueue$DualNode.await(LinkedTransferQueue.java:452)
java.base@22-ea/java.util.concurrent.SynchronousQueue$Transferer.xferLifo(SynchronousQueue.java:194)
java.base@22-ea/java.util.concurrent.SynchronousQueue.xfer(SynchronousQueue.java:233)
java.base@22-ea/java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:336)
java.base@22-ea/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1069)
java.base@22-ea/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
java.base@22-ea/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
java.base@22-ea/java.lang.Thread.runWith(Thread.java:1583)
java.base@22-ea/java.lang.Thread.run(Thread.java:1570)
java.base@22-ea/jdk.internal.misc.InnocuousThread.run(InnocuousThread.java:186)
Thread[#65,Jstatd-Thread,5,AgentVMThreadGroup] stack: (length = 10)
java.base@22-ea/java.lang.Thread.dumpThreads(Native Method)
java.base@22-ea/java.lang.Thread.getAllStackTraces(Thread.java:2492)
jdk.test.lib.process.ProcessTools.startProcess(ProcessTools.java:327)
jdk.test.lib.process.ProcessTools.startProcess(ProcessTools.java:154)
jdk.test.lib.process.ProcessTools.startProcess(ProcessTools.java:368)
jdk.test.lib.thread.ProcessThread$ProcessRunnable.xrun(ProcessThread.java:154)
jdk.test.lib.thread.XRun.run(XRun.java:40)
java.base@22-ea/java.lang.Thread.runWith(Thread.java:1583)
java.base@22-ea/java.lang.Thread.run(Thread.java:1570)
jdk.test.lib.thread.TestThread.run(TestThread.java:123)
ProcessThread[Jstatd-Thread] failed: java.lang.RuntimeException: Started process Jstatd-Thread terminated before producing the expected output.
----------System.err:(18/821)----------
stdout: [jstatd started (bound to //:44513/TestJstatdServer)
];
stderr: []
exitValue = 143
Failed to start a process (thread dump follows)
java.lang.RuntimeException: Started process Jstatd-Thread terminated before producing the expected output.
at jdk.test.lib.process.ProcessTools.startProcess(ProcessTools.java:318)
at jdk.test.lib.process.ProcessTools.startProcess(ProcessTools.java:154)
at jdk.test.lib.process.ProcessTools.startProcess(ProcessTools.java:368)
at jdk.test.lib.thread.ProcessThread$ProcessRunnable.xrun(ProcessThread.java:154)
at jdk.test.lib.thread.XRun.run(XRun.java:40)
at java.base/java.lang.Thread.run(Thread.java:1570)
at jdk.test.lib.thread.TestThread.run(TestThread.java:123)
JavaTest Message: Test threw exception: java.lang.RuntimeException
JavaTest Message: shutting down test
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Started process Jstatd-Thread terminated before producing the expected output.
- backported by
-
JDK-8316858 TestJstatdPortAndServer.java failed with "java.rmi.NoSuchObjectException: no such object in table"
- Resolved
-
JDK-8334972 TestJstatdPortAndServer.java failed with "java.rmi.NoSuchObjectException: no such object in table"
- Resolved
- links to
-
Commit openjdk/jdk17u-dev/c858b68f
-
Commit openjdk/jdk21u/768592a5
-
Commit openjdk/jdk/1d025070
-
Review openjdk/jdk17u-dev/2547
-
Review openjdk/jdk21u/179
-
Review openjdk/jdk/15414