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

JCK Test Case api/java_rmi/server/RMIClassLoaderSpi/index.html#Loader fails intermittently in mach5

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: 11.0.7-oracle
    • Fix Version/s: None
    • Component/s: core-libs

      Description

      please see comments section for more details

      java version "11.0.8-ea"
      Java(TM) SE Runtime Environment (build 11.0.8-ea+1-LTS-197)
      Java HotSpot(TM) 64-Bit Server VM (build 11.0.8-ea+1-LTS-197, mixed mode)

      Will load classes from file:/scratch/opt/mach5/mesos/work_dir/jib-master/install/jck/11/b15/bundles/JCK-runtime-11.jar/JCK-runtime-11/tests/api/java_rmi/server/RMIClassLoaderSpi/classes1/
      java.security.AccessControlException: access denied ("java.io.FilePermission" "/scratch/opt/mach5/mesos/work_dir/jib-master/install/jck/11/b15/bundles/JCK-runtime-11.jar/JCK-runtime-11/tests/api/java_rmi/server/RMIClassLoader/classes1/-" "read")
      at java.base/java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)
      at java.base/java.security.AccessController.checkPermission(AccessController.java:897)
      at java.base/java.lang.SecurityManager.checkPermission(SecurityManager.java:322)
      at java.rmi/sun.rmi.server.LoaderHandler$Loader.checkPermissions(LoaderHandler.java:1176)
      at java.rmi/sun.rmi.server.LoaderHandler.getClassLoader(LoaderHandler.java:324)
      at java.rmi/java.rmi.server.RMIClassLoader$2.getClassLoader(RMIClassLoader.java:653)
      at javasoft.sqe.tests.api.java.rmi.server.RMIClassLoaderSpi.LoaderTests$1.run(LoaderTests.java:75)
      at javasoft.sqe.jck.lib.SecurityTestRunner.runTestWithTCKSM(SecurityTestRunner.java:281)
      at javasoft.sqe.jck.lib.SecurityTestRunner.runTestWithPermissions(SecurityTestRunner.java:237)
      at javasoft.sqe.jck.lib.SecurityTestRunner.runTestWithAllPermissions(SecurityTestRunner.java:159)
      at javasoft.sqe.jck.lib.AllPermissionSM.testRun(AllPermissionSM.java:88)
      at javasoft.sqe.tests.api.java.rmi.server.RMIClassLoaderSpi.LoaderTests.loader0001(LoaderTests.java:86)
      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 javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:404)
      at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:193)
      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.jck.lib.ExecJCKTestSameJVMCmd$Version2Test.execute(ExecJCKTestSameJVMCmd.java:566)
      at com.sun.jck.lib.ExecJCKTestSameJVMCmd$StandardTest.run(ExecJCKTestSameJVMCmd.java:523)
      at com.sun.jck.lib.ExecJCKTestSameJVMCmd.execute(ExecJCKTestSameJVMCmd.java:407)
      at com.sun.jck.lib.ExecJCKTestSameJVMCmd.run(ExecJCKTestSameJVMCmd.java:337)
      at com.sun.javatest.agent.Agent$Task$CommandExecutor$2.run(Agent.java:899)
      at java.base/java.lang.Thread.run(Thread.java:834)
      result: Failed. test cases: 3; passed: 2; failed: 1; first test case failure: loader0001

        Attachments

        1. ErrorLog_4May.txt
          8 kB
        2. Failure_29April.txt
          8 kB
        3. graalvm_index_Loader.jtr.txt
          7 kB
        4. log.jtr
          8 kB
        5. Log28April.txt
          8 kB
        6. RMIClassLoaderSpiFailure_21April.txt
          8 kB

          Activity

            People

            • Assignee:
              rreddy Ravi Reddy
              Reporter:
              rgangadhar Ramesh Gangadhar
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated: