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

java/security/Provider/SecurityProviderModularTest.java fails intermittently

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 9
    • Fix Version/s: 10
    • Component/s: security-libs
    • Labels:

      Description

      java/security/Provider/SecurityProviderModularTest.java fails intermittently.

      Test Security provider named 'TEST' loaded successfully

      delete: .\\build\\mbase\\ModularclientN.jar
      delete: .\\build\\mbase\\providerMetaService.jar
      test ModularTest.runTest(EXPLICIT, AUTO, true, null, [Ljava.lang.String;@7492f3e4): success

      Starting Test case: 'EXPLICIT_AUTO_NO_SERVICE'
      Client jar path : .\\build\\artifacts\\client\\ModularclientN.jar
      Service jar path : .\\build\\artifacts\\provider\\provider.jar
      Copy jar path: '.\\build\\artifacts\\client\\ModularclientN.jar' to module base path: .\\build\\mbase\\ModularclientN.jardelete: .\\build\\mbase\\ModularclientN.jar
      test ModularTest.runTest(EXPLICIT, AUTO, false, "Unable to find Test Security Provider", [Ljava.lang.String;@7492f3e4): failure
      java.nio.file.AccessDeniedException: .\\build\\artifacts\\client\\ModularclientN.jar -> .\\build\\mbase\\ModularclientN.jar
      at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:89)
      at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
      at java.base/sun.nio.fs.WindowsFileCopy.copy(WindowsFileCopy.java:202)
      at java.base/sun.nio.fs.WindowsFileSystemProvider.copy(WindowsFileSystemProvider.java:279)
      at java.base/java.nio.file.Files.copy(Files.java:1277)
      at ModularTest.copyJarsToModuleBase(ModularTest.java:239)
      at SecurityProviderModularTest.executeTestClient(SecurityProviderModularTest.java:252)
      at ModularTest.runTest(ModularTest.java:94)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ssahoo Sibabrata Sahoo
              Reporter:
              amlu Amy Lu (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: