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

sun/management/jmxremote/bootstrap/JMXInterfaceBindingTest.java fails by timeout

    Details

      Description

      ADDITIONAL SYSTEM INFORMATION :
      $ uname -a
      Darwin unit 17.7.0 Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64 x86_64

      $ /Library/Java/JavaVirtualMachines/jdk-10.0.2.jdk/Contents/Home/bin/java -version
      java version "10.0.2" 2018-07-17
      Java(TM) SE Runtime Environment 18.3 (build 10.0.2+13)
      Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.2+13, mixed mode)

      A DESCRIPTION OF THE PROBLEM :
      The test sun/management/jmxremote/bootstrap/JMXInterfaceBindingTest.java fails by timeout on MacOSX

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      $ ../../../jtreg/bin/jtreg -ignore:quiet -v -a -xml -testjdk:"/Library/Java/JavaVirtualMachines/jdk-10.0.2.jdk/Contents/Home/" -javaoptions:"-Djava.awt.headless=false" test/sun/management/jmxremote/bootstrap/JMXInterfaceBindingTest.java

      ACTUAL -
      #section:main
      ----------messages:(155/8435)----------
      command: main JMXInterfaceBindingTest
      reason: User specified action: run main/timeout=5 JMXInterfaceBindingTest
      Mode: othervm
      Additional options from @modules: --add-modules java.management.rmi
      Timeout information:
      Running jstack on process 71360
      2018-08-01 10:19:49
      Full thread dump Java HotSpot(TM) 64-Bit Server VM (10.0.2+13 mixed mode):

      Threads class SMR info:
      _java_thread_list=0x00007fad88901de0, length=13, elements={
      0x00007fad8a001800, 0x00007fad8800f800, 0x00007fad88010800, 0x00007fad89012800,
      0x00007fad89015800, 0x00007fad878c7800, 0x00007fad8802e000, 0x00007fad878cd800,
      0x00007fad878ce800, 0x00007fad87912000, 0x00007fad87958800, 0x00007fad88110000,
      0x00007fad8b800000
      }

      "main" #1 prio=5 os_prio=31 tid=0x00007fad8a001800 nid=0x1e03 in Object.wait() [0x000000010229f000]
         java.lang.Thread.State: WAITING (on object monitor)
      at java.lang.Object.wait(java.base@10.0.2/Native Method)
      - waiting on <0x00000006cfd59600> (a java.lang.Thread)
      at java.lang.Thread.join(java.base@10.0.2/Thread.java:1353)
      - waiting to re-lock in wait() <0x00000006cfd59600> (a java.lang.Thread)
      at java.lang.Thread.join(java.base@10.0.2/Thread.java:1427)
      at com.sun.javatest.regtest.agent.MainWrapper.main(MainWrapper.java:74)

      "Reference Handler" #2 daemon prio=10 os_prio=31 tid=0x00007fad8800f800 nid=0xa703 waiting on condition [0x000070000c913000]
         java.lang.Thread.State: RUNNABLE
      at java.lang.ref.Reference.waitForReferencePendingList(java.base@10.0.2/Native Method)
      at java.lang.ref.Reference.processPendingReferences(java.base@10.0.2/Reference.java:174)
      at java.lang.ref.Reference.access$000(java.base@10.0.2/Reference.java:44)
      at java.lang.ref.Reference$ReferenceHandler.run(java.base@10.0.2/Reference.java:138)

      "Finalizer" #3 daemon prio=8 os_prio=31 tid=0x00007fad88010800 nid=0xa503 in Object.wait() [0x000070000ca16000]
         java.lang.Thread.State: WAITING (on object monitor)
      at java.lang.Object.wait(java.base@10.0.2/Native Method)
      - waiting on <0x00000006cff09480> (a java.lang.ref.ReferenceQueue$Lock)
      at java.lang.ref.ReferenceQueue.remove(java.base@10.0.2/ReferenceQueue.java:151)
      - waiting to re-lock in wait() <0x00000006cff09480> (a java.lang.ref.ReferenceQueue$Lock)
      at java.lang.ref.ReferenceQueue.remove(java.base@10.0.2/ReferenceQueue.java:172)
      at java.lang.ref.Finalizer$FinalizerThread.run(java.base@10.0.2/Finalizer.java:216)

      "Signal Dispatcher" #4 daemon prio=9 os_prio=31 tid=0x00007fad89012800 nid=0x6003 runnable [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE

      "C2 CompilerThread0" #5 daemon prio=9 os_prio=31 tid=0x00007fad89015800 nid=0x9c03 waiting on condition [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE
         No compile task

      "C2 CompilerThread1" #6 daemon prio=9 os_prio=31 tid=0x00007fad878c7800 nid=0x9b03 waiting on condition [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE
         No compile task

      "C2 CompilerThread2" #7 daemon prio=9 os_prio=31 tid=0x00007fad8802e000 nid=0x6503 waiting on condition [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE
         No compile task

      "C1 CompilerThread3" #8 daemon prio=9 os_prio=31 tid=0x00007fad878cd800 nid=0x9803 waiting on condition [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE
         No compile task

      "Sweeper thread" #9 daemon prio=9 os_prio=31 tid=0x00007fad878ce800 nid=0x9603 runnable [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE

      "Service Thread" #10 daemon prio=9 os_prio=31 tid=0x00007fad87912000 nid=0x9303 runnable [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE

      "Common-Cleaner" #11 daemon prio=8 os_prio=31 tid=0x00007fad87958800 nid=0x6903 in Object.wait() [0x000070000d22e000]
         java.lang.Thread.State: TIMED_WAITING (on object monitor)
      at java.lang.Object.wait(java.base@10.0.2/Native Method)
      - waiting on <0x00000006cfecf6f0> (a java.lang.ref.ReferenceQueue$Lock)
      at java.lang.ref.ReferenceQueue.remove(java.base@10.0.2/ReferenceQueue.java:151)
      - waiting to re-lock in wait() <0x00000006cfecf6f0> (a java.lang.ref.ReferenceQueue$Lock)
      at jdk.internal.ref.CleanerImpl.run(java.base@10.0.2/CleanerImpl.java:148)
      at java.lang.Thread.run(java.base@10.0.2/Thread.java:844)
      at jdk.internal.misc.InnocuousThread.run(java.base@10.0.2/InnocuousThread.java:134)

      "MainThread" #13 prio=5 os_prio=31 tid=0x00007fad88110000 nid=0x6b03 runnable [0x000070000d433000]
         java.lang.Thread.State: RUNNABLE
      at java.net.Inet6AddressImpl.getHostByAddr(java.base@10.0.2/Native Method)
      at java.net.InetAddress$PlatformNameService.getHostByAddr(java.base@10.0.2/InetAddress.java:931)
      at java.net.InetAddress.getHostFromNameService(java.base@10.0.2/InetAddress.java:655)
      at java.net.InetAddress.getHostName(java.base@10.0.2/InetAddress.java:598)
      at java.net.InetAddress.getHostName(java.base@10.0.2/InetAddress.java:570)
      at JMXInterfaceBindingTest.isNonloopbackLocalhost(JMXInterfaceBindingTest.java:205)
      at JMXInterfaceBindingTest$$Lambda$2/2051011575.test(Unknown Source)
      at java.util.stream.ReferencePipeline$2$1.accept(java.base@10.0.2/ReferencePipeline.java:176)
      at java.util.Spliterators$ArraySpliterator.forEachRemaining(java.base@10.0.2/Spliterators.java:948)
      at java.util.stream.ReferencePipeline$Head.forEach(java.base@10.0.2/ReferencePipeline.java:658)
      at java.util.stream.ReferencePipeline$7$1.accept(java.base@10.0.2/ReferencePipeline.java:274)
      at java.util.Spliterators$ArraySpliterator.forEachRemaining(java.base@10.0.2/Spliterators.java:948)
      at java.util.stream.AbstractPipeline.copyInto(java.base@10.0.2/AbstractPipeline.java:484)
      at java.util.stream.AbstractPipeline.wrapAndCopyInto(java.base@10.0.2/AbstractPipeline.java:474)
      at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(java.base@10.0.2/ReduceOps.java:913)
      at java.util.stream.AbstractPipeline.evaluate(java.base@10.0.2/AbstractPipeline.java:234)
      at java.util.stream.ReferencePipeline.collect(java.base@10.0.2/ReferencePipeline.java:578)
      at JMXInterfaceBindingTest.getAddressesForLocalHost(JMXInterfaceBindingTest.java:195)
      at JMXInterfaceBindingTest.main(JMXInterfaceBindingTest.java:179)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@10.0.2/Native Method)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@10.0.2/NativeMethodAccessorImpl.java:62)
      at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@10.0.2/DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(java.base@10.0.2/Method.java:564)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
      at java.lang.Thread.run(java.base@10.0.2/Thread.java:844)

      "Attach Listener" #14 daemon prio=9 os_prio=31 tid=0x00007fad8b800000 nid=0x8e03 waiting on condition [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE

      "VM Thread" os_prio=31 tid=0x00007fad8800e800 nid=0x5703 runnable

      "GC Thread#0" os_prio=31 tid=0x00007fad8980b000 nid=0x2d03 runnable

      "GC Thread#1" os_prio=31 tid=0x00007fad8980b800 nid=0x5303 runnable

      "GC Thread#2" os_prio=31 tid=0x00007fad8980c800 nid=0x2f03 runnable

      "GC Thread#3" os_prio=31 tid=0x00007fad8980d000 nid=0x5003 runnable

      "GC Thread#4" os_prio=31 tid=0x00007fad8900f800 nid=0x3003 runnable

      "GC Thread#5" os_prio=31 tid=0x00007fad89010000 nid=0x3103 runnable

      "GC Thread#6" os_prio=31 tid=0x00007fad8980e000 nid=0x3203 runnable

      "GC Thread#7" os_prio=31 tid=0x00007fad8980e800 nid=0x4b03 runnable

      "G1 Main Marker" os_prio=31 tid=0x00007fad87836000 nid=0x3403 runnable

      "G1 Conc#0" os_prio=31 tid=0x00007fad87836800 nid=0x4803 runnable

      "G1 Conc#1" os_prio=31 tid=0x00007fad87837800 nid=0x3703 runnable

      "G1 Refine#0" os_prio=31 tid=0x00007fad878b8000 nid=0x3803 runnable

      "G1 Refine#1" os_prio=31 tid=0x00007fad878b9000 nid=0x3903 runnable

      "G1 Refine#2" os_prio=31 tid=0x00007fad878b9800 nid=0x4503 runnable

      "G1 Refine#3" os_prio=31 tid=0x00007fad89011000 nid=0x4303 runnable

      "G1 Refine#4" os_prio=31 tid=0x00007fad878ba800 nid=0x3b03 runnable

      "G1 Refine#5" os_prio=31 tid=0x00007fad878bb000 nid=0x3c03 runnable

      "G1 Refine#6" os_prio=31 tid=0x00007fad878bc000 nid=0x3f03 runnable

      "G1 Refine#7" os_prio=31 tid=0x00007fad878bc800 nid=0x3d03 runnable

      "G1 Young RemSet Sampling" os_prio=31 tid=0x00007fad8980f800 nid=0x5603 runnable
      "VM Periodic Task Thread" os_prio=31 tid=0x00007fad87916800 nid=0x9103 waiting on condition

      JNI global references: 16

      --- Timeout information end.
      elapsed time (seconds): 5.418

      ---------- BEGIN SOURCE ----------
      http://hg.openjdk.java.net/jdk10/jdk10/jdk/file/777356696811/test/sun/management/jmxremote/bootstrap/JMXInterfaceBindingTest.java
      ---------- END SOURCE ----------

      FREQUENCY : always


        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              webbuggrp Webbug Group
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: