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

sun/management/jmxremote/bootstrap/CustomLauncherTest.java fails with error=13, Permission denied

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 11.0.1
    • Fix Version/s: 13
    • Component/s: core-svc
    • Labels:
      None

      Description

      During st_035 we are seeing sun/management/jmxremote/bootstrap/CustomLauncherTest.java reporting error=13, Permission denied

      #-----testdescription-----
      $file=/opt/jdk/jdk11local/test/jdk/sun/management/jmxremote/bootstrap/CustomLauncherTest.java
      $root=/opt/jdk/jdk11local/test/jdk
      author=Jaroslav Bachorik
      keywords=bug6434402 bug8004926 othervm
      library=/lib/testlibrary
      modules=java.management jdk.attach jdk.management.agent/jdk.internal.agent
      run=USER_SPECIFIED build jdk.testlibrary.*\nUSER_SPECIFIED build TestManager TestApplication CustomLauncherTest\nUSER_SPECIFIED main/othervm CustomLauncherTest\n
      source=CustomLauncherTest.java
      title=\

      #-----environment-----

      #-----testresult-----
      description=file\:/opt/jdk/jdk11local/test/jdk/sun/management/jmxremote/bootstrap/CustomLauncherTest.java
      elapsed=988 0\:00\:00.988
      end=Wed Nov 28 20\:48\:52 UTC 2018
      environment=regtest
      execStatus=Failed. Execution failed\: `main' threw exception\: java.io.IOException\: Cannot run program "/autohome/jdk.2135926/work/scratch/launcher"\: error\=13, Permission denied
      harnessLoaderMode=Classpath Loader
      harnessVariety=Full Bundle
      hostname=spv-t5-2-01-ld8
      javatestOS=SunOS 5.11 (sparcv9)
      javatestVersion=5.0
      jtregVersion=jtreg 4.2 fcs b12
      modules=java.management jdk.attach jdk.management.agent/jdk.internal.agent
      script=com.sun.javatest.regtest.exec.RegressionScript
      sections=script_messages build build compile build main
      start=Wed Nov 28 20\:48\:52 UTC 2018
      test=sun/management/jmxremote/bootstrap/CustomLauncherTest.java
      testJDK=/usr/jdk/jdk-11.0.1
      totalTime=988
      user.name=root
      work=/autohome/jdk.2135926/work/sun/management/jmxremote/bootstrap


      ----------System.out:(6/620)----------
      Starting custom launcher:
      =========================
        launcher : /opt/jdk/jdk11local/test/jdk/sun/management/jmxremote/bootstrap/solaris-sparcv9/launcher
        libjvm : /usr/jdk/jdk-11.0.1/lib/server/libjvm.so
        classpath : /autohome/jdk.2135926/work/classes/sun/management/jmxremote/bootstrap/CustomLauncherTest.d:/autohome/jdk.2135926/work/classes/lib/testlibrary
      [Launcher]:/autohome/jdk.2135926/work/scratch/launcher /usr/jdk/jdk-11.0.1/lib/server/libjvm.so /autohome/jdk.2135926/work/classes/sun/management/jmxremote/bootstrap/CustomLauncherTest.d:/autohome/jdk.2135926/work/classes/lib/testlibrary TestApplication
      ----------System.err:(23/1627)----------
      java.io.IOException: Cannot run program "/autohome/jdk.2135926/work/scratch/launcher": error=13, Permission denied
              at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1128)
              at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1071)
              at jdk.testlibrary.ProcessTools.startProcess(ProcessTools.java:162)
              at jdk.testlibrary.ProcessTools.startProcess(ProcessTools.java:129)
              at CustomLauncherTest.main(CustomLauncherTest.java:130)
              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:115)
              at java.base/java.lang.Thread.run(Thread.java:834)
      Caused by: java.io.IOException: error=13, Permission denied
              at java.base/java.lang.ProcessImpl.forkAndExec(Native Method)
              at java.base/java.lang.ProcessImpl.<init>(ProcessImpl.java:340)
              at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:271)
              at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1107)
              ... 10 more

        Attachments

          Activity

            People

            • Assignee:
              asapre Amit Sapre
              Reporter:
              ckavanagh Colin Kavanagh
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: