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

serviceability/tmtools/jstat tests failed with Could not map vmid to user Name

XMLWordPrintable

    • x86_64
    • linux

      Two tests failed:

      serviceability/tmtools/jstat/GcTest01.java
      serviceability/tmtools/jstat/GcTest02.java

      Log:

      Committed size of the pool 'Eden Space' is 24576
      Committed size of the pool 'Eden Space' is 4096
      Committed size of the pool 'Eden Space' is 3072
      [2019-06-17T00:00:01.241385Z] Gathering output for process 23813
      [2019-06-17T00:00:01.776278Z] Waiting for completion for process 23813
      [2019-06-17T00:00:01.776462Z] Waiting for completion finished for process 23813
      Process output: Exit code: 1
      stdout:stderr:sun.jvmstat.monitor.MonitorException: 23716 not found
      at jdk.internal.jvmstat/sun.jvmstat.perfdata.monitor.protocol.local.PerfDataBuffer.<init>(PerfDataBuffer.java:84)
      at jdk.internal.jvmstat/sun.jvmstat.perfdata.monitor.protocol.local.LocalMonitoredVm.<init>(LocalMonitoredVm.java:68)
      at jdk.internal.jvmstat/sun.jvmstat.perfdata.monitor.protocol.local.MonitoredHostProvider.getMonitoredVm(MonitoredHostProvider.java:77)
      at jdk.jcmd/sun.tools.jstat.Jstat.logSamples(Jstat.java:107)
      at jdk.jcmd/sun.tools.jstat.Jstat.main(Jstat.java:70)
      Caused by: java.lang.IllegalArgumentException: Could not map vmid to user Name
      at java.base/jdk.internal.perf.Perf.attach(Native Method)
      at java.base/jdk.internal.perf.Perf.attachImpl(Perf.java:270)
      at java.base/jdk.internal.perf.Perf.attach(Perf.java:200)
      at jdk.internal.jvmstat/sun.jvmstat.perfdata.monitor.protocol.local.PerfDataBuffer.<init>(PerfDataBuffer.java:64)
      ... 4 more

            Unassigned Unassigned
            mikael Mikael Vidstedt
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: