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

runtime/NMT/VirtualAllocTestType.java failed on RuntimeException missing from stdout/stderr

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Cannot Reproduce
    • Affects Version/s: 12
    • Fix Version/s: 12
    • Component/s: hotspot
    • Subcomponent:
      svc
    • OS:
      generic

      Description

      open/test/hotspot/jtreg/runtime/NMT/VirtualAllocTestType.java

      ----------System.err:(29/1671)----------
       stdout: [30839:
      ];
       stderr: [java.io.IOException: Permission denied
      at jdk.attach/sun.tools.attach.VirtualMachineImpl.open(Native Method)
      at jdk.attach/sun.tools.attach.VirtualMachineImpl.openDoor(VirtualMachineImpl.java:215)
      at jdk.attach/sun.tools.attach.VirtualMachineImpl.<init>(VirtualMachineImpl.java:71)
      at jdk.attach/sun.tools.attach.AttachProviderImpl.attachVirtualMachine(AttachProviderImpl.java:58)
      at jdk.attach/com.sun.tools.attach.VirtualMachine.attach(VirtualMachine.java:207)
      at jdk.jcmd/sun.tools.jcmd.JCmd.executeCommandForPid(JCmd.java:114)
      at jdk.jcmd/sun.tools.jcmd.JCmd.main(JCmd.java:98)
      ]
       exitValue = 1

      java.lang.RuntimeException: 'Test (reserved=256KB, committed=0KB)' missing from stdout/stderr

      at jdk.test.lib.process.OutputAnalyzer.shouldContain(OutputAnalyzer.java:150)
      at VirtualAllocTestType.main(VirtualAllocTestType.java:58)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:834)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: 'Test (reserved=256KB, committed=0KB)' missing from stdout/stderr

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gadams Gary Adams (Inactive)
                Reporter:
                ljiang Leo Jiang
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: