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

tools/jdeps/listdeps/ListModuleDeps.java failed on solaris-sparcv9 due to agent timeout

    XMLWordPrintable

Details

    Description

      Test tools/jdeps/listdeps/ListModuleDeps.java failed due to agent timeout.
      The test failed a few times lately on solaris-sparcv9 platform. See error messages below and full log can be found in attached jtr file.

      "Attach Listener" #947 daemon prio=9 os_prio=64 tid=0x00000001018dc000 nid=0x477 waiting on condition [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE

      "pool-6-thread-2" #946 prio=5 os_prio=64 tid=0x0000000103e44800 nid=0x476 waiting on condition [0xffffffff288fe000]
         java.lang.Thread.State: WAITING (parking)
      at jdk.internal.misc.Unsafe.park(java.base@9-ea/Native Method)
      - parking to wait for <0x00000007a470a2c0> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
      at java.util.concurrent.locks.LockSupport.park(java.base@9-ea/LockSupport.java:192)
      at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(java.base@9-ea/AbstractQueuedSynchronizer.java:2062)
      at java.util.concurrent.LinkedBlockingQueue.take(java.base@9-ea/LinkedBlockingQueue.java:442)
      at java.util.concurrent.ThreadPoolExecutor.getTask(java.base@9-ea/ThreadPoolExecutor.java:1086)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@9-ea/ThreadPoolExecutor.java:1146)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@9-ea/ThreadPoolExecutor.java:635)
      at java.lang.Thread.run(java.base@9-ea/Thread.java:844)

      "pool-6-thread-1" #945 prio=5 os_prio=64 tid=0x00000001058e5000 nid=0x475 waiting on condition [0xffffffff27afe000]
         java.lang.Thread.State: WAITING (parking)
      at jdk.internal.misc.Unsafe.park(java.base@9-ea/Native Method)
      - parking to wait for <0x00000007a470a2c0> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
      at java.util.concurrent.locks.LockSupport.park(java.base@9-ea/LockSupport.java:192)
      at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(java.base@9-ea/AbstractQueuedSynchronizer.java:2062)
      at java.util.concurrent.LinkedBlockingQueue.take(java.base@9-ea/LinkedBlockingQueue.java:442)
      at java.util.concurrent.ThreadPoolExecutor.getTask(java.base@9-ea/ThreadPoolExecutor.java:1086)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@9-ea/ThreadPoolExecutor.java:1146)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@9-ea/ThreadPoolExecutor.java:635)
      at java.lang.Thread.run(java.base@9-ea/Thread.java:844)

      "SameVMThread" #936 prio=5 os_prio=64 tid=0x0000000100868800 nid=0x46c runnable [0xffffffff286fa000]
         java.lang.Thread.State: RUNNABLE
      at com.sun.tools.jdeps.Analyzer$Dependences.addDep(jdk.jdeps@9-ea/Analyzer.java:302)
      at com.sun.tools.jdeps.Analyzer$Dependences.visit(jdk.jdeps@9-ea/Analyzer.java:270)
      at com.sun.tools.jdeps.Archive.visitDependences(jdk.jdeps@9-ea/Archive.java:119)
      at com.sun.tools.jdeps.Analyzer.run(jdk.jdeps@9-ea/Analyzer.java:101)
      at com.sun.tools.jdeps.DepsAnalyzer.run(jdk.jdeps@9-ea/DepsAnalyzer.java:147)
      at com.sun.tools.jdeps.DepsAnalyzer.run(jdk.jdeps@9-ea/DepsAnalyzer.java:115)
      at com.sun.tools.jdeps.ModuleExportsAnalyzer.run(jdk.jdeps@9-ea/ModuleExportsAnalyzer.java:67)
      at com.sun.tools.jdeps.JdepsTask.run(jdk.jdeps@9-ea/JdepsTask.java:546)
      at com.sun.tools.jdeps.JdepsTask.run(jdk.jdeps@9-ea/JdepsTask.java:495)
      at com.sun.tools.jdeps.Main.run(jdk.jdeps@9-ea/Main.java:64)
      at com.sun.tools.jdeps.Main$JDepsToolProvider.run(jdk.jdeps@9-ea/Main.java:73)
      at JdepsRunner.run(JdepsRunner.java:68)
      at JdepsRunner.run(JdepsRunner.java:42)
      at ListModuleDeps.testListReducedDeps(ListModuleDeps.java:95)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62)
      at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:537)
      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.TestNGAction$TestNGRunner.main(TestNGAction.java:220)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62)
      at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:537)
      at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:226)
      at java.lang.Thread.run(java.base@9-ea/Thread.java:844)

      "Thread-0" #59 daemon prio=5 os_prio=64 tid=0x0000000104968800 nid=0xff waiting on condition [0xffffffff282fe000]
         java.lang.Thread.State: WAITING (parking)
      at jdk.internal.misc.Unsafe.park(java.base@9-ea/Native Method)
      - parking to wait for <0x0000000791efa980> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
      at java.util.concurrent.locks.LockSupport.park(java.base@9-ea/LockSupport.java:192)
      at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(java.base@9-ea/AbstractQueuedSynchronizer.java:2062)
      at java.util.concurrent.LinkedBlockingQueue.take(java.base@9-ea/LinkedBlockingQueue.java:442)
      at java.util.concurrent.ThreadPoolExecutor.getTask(java.base@9-ea/ThreadPoolExecutor.java:1086)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@9-ea/ThreadPoolExecutor.java:1146)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@9-ea/ThreadPoolExecutor.java:635)
      at java.lang.Thread.run(java.base@9-ea/Thread.java:844)

      "pool-1-thread-1" #44 daemon prio=5 os_prio=64 tid=0x0000000100baa800 nid=0xf0 waiting on condition [0xffffffff2abfe000]
         java.lang.Thread.State: TIMED_WAITING (parking)
      at jdk.internal.misc.Unsafe.park(java.base@9-ea/Native Method)
      - parking to wait for <0x00000007904f07a0> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
      at java.util.concurrent.locks.LockSupport.parkNanos(java.base@9-ea/LockSupport.java:232)
      at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(java.base@9-ea/AbstractQueuedSynchronizer.java:2104)
      at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(java.base@9-ea/ScheduledThreadPoolExecutor.java:1131)
      at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(java.base@9-ea/ScheduledThreadPoolExecutor.java:848)
      at java.util.concurrent.ThreadPoolExecutor.getTask(java.base@9-ea/ThreadPoolExecutor.java:1086)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@9-ea/ThreadPoolExecutor.java:1146)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@9-ea/ThreadPoolExecutor.java:635)
      at java.lang.Thread.run(java.base@9-ea/Thread.java:844)

      "Service Thread" #43 daemon prio=9 os_prio=64 tid=0x0000000100aed800 nid=0xee runnable [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE

      "Common-Cleaner" #42 daemon prio=8 os_prio=64 tid=0x0000000100943800 nid=0xed in Object.wait() [0xffffffff2b2ff000]
         java.lang.Thread.State: TIMED_WAITING (on object monitor)
      at java.lang.Object.wait(java.base@9-ea/Native Method)
      - waiting on <no object reference available>
      at java.lang.ref.ReferenceQueue.remove(java.base@9-ea/ReferenceQueue.java:151)
      - waiting to re-lock in wait() <0x0000000790599e30> (a java.lang.ref.ReferenceQueue$Lock)
      at jdk.internal.ref.CleanerImpl.run(java.base@9-ea/CleanerImpl.java:148)
      at java.lang.Thread.run(java.base@9-ea/Thread.java:844)
      at jdk.internal.misc.InnocuousThread.run(java.base@9-ea/InnocuousThread.java:122)

      .........
      result: Error. Agent error: java.lang.Exception: Agent timed out with a timeout of 120 seconds; check console log for any additional details

      Attachments

        Issue Links

          Activity

            People

              mchung Mandy Chung
              amjiang Amanda Jiang (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: