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

sun/tools/jcmd/TestJcmdSanity.java sun.jvmstat.monitor.MonitorException failure

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Cannot Reproduce
    • Affects Version/s: 9
    • Fix Version/s: None
    • Component/s: core-svc
    • Labels:
      None
    • CPU:
      sparc
    • OS:
      solaris

      Description

      sun/tools/jcmd/TestJcmdSanity.java

      [/export/local/aurora/CommonData/JDK_DIR/bin/jcmd -J-d64 -J-XX:+UsePerfData 7410 PerfCounter.print]
      7410:
      sun.jvmstat.monitor.MonitorException: 7410 not found
      at sun.jvmstat.perfdata.monitor.protocol.local.PerfDataBuffer.<init>(PerfDataBuffer.java:84)
      at sun.jvmstat.perfdata.monitor.protocol.local.LocalMonitoredVm.<init>(LocalMonitoredVm.java:68)
      at sun.jvmstat.perfdata.monitor.protocol.local.MonitoredHostProvider.getMonitoredVm(MonitoredHostProvider.java:77)
      at sun.tools.jcmd.JCmd.listCounters(JCmd.java:189)
      at sun.tools.jcmd.JCmd.main(JCmd.java:128)
      Caused by: java.lang.IllegalArgumentException: Could not map vmid to user Name
      at sun.misc.Perf.attach(Native Method)
      at sun.misc.Perf.attachImpl(Perf.java:269)
      at sun.misc.Perf.attach(Perf.java:199)
      at sun.jvmstat.perfdata.monitor.protocol.local.PerfDataBuffer.<init>(PerfDataBuffer.java:64)
      ... 4 more

      ----------System.err:(20/1464)*----------
      java.lang.RuntimeException: The line/pattern '(\\w|\\.)*\\=.*' from where the output should match can not be found: expected -1 > -1
      at jdk.testlibrary.Asserts.fail(Asserts.java:536)
      at jdk.testlibrary.Asserts.assertGreaterThan(Asserts.java:343)
      at jdk.testlibrary.OutputAnalyzer.shouldMatchByLine(OutputAnalyzer.java:512)
      at jdk.testlibrary.OutputAnalyzer.shouldMatchByLine(OutputAnalyzer.java:484)
      at jdk.testlibrary.OutputAnalyzer.shouldMatchByLineFrom(OutputAnalyzer.java:458)
      at TestJcmdSanity.matchPerfCounters(TestJcmdSanity.java:160)
      at TestJcmdSanity.testJcmdPidPerfCounterPrint(TestJcmdSanity.java:98)
      at TestJcmdSanity.main(TestJcmdSanity.java:61)
      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:502)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
      at java.lang.Thread.run(Thread.java:745)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: The line/pattern '(\\w|\\.)*\\=.*' from where the output should match can not be found: expected -1 > -1
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: The line/pattern '(\\w|\\.)*\\=.*' from where the output should match can not be found: expected -1 > -1

      log: http://aurora.ru.oracle.com/slot-gw/986534.JAVASE.NIGHTLY.VM.RT_Baseline.2015-07-03-240/results/workDir/sun/tools/jcmd/TestJcmdSanity.jtr

      http://aurora.ru.oracle.com/functional/faces/RunDetails.xhtml?names=986534.JAVASE.NIGHTLY.VM.RT_Baseline.2015-07-03-240

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ykantser Yekaterina Kantserova (Inactive)
                Reporter:
                jiangli Jiangli Zhou
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: