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

AdditionalLaunchersTest is not enabled, and fails.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 15
    • Fix Version/s: 15
    • Component/s: tools
    • Subcomponent:
    • Resolved In Build:
      b26
    • OS:
      windows_10

      Description

      1.) AdditionalLauncherTest is never run, due to the transform from jdk.jpackage to jdk.incubator.japckage

      The test has two * @test block annotations, one with ( * @requires (jpackage.test.SQETest != null) ) and the other with ( * @requires (jpackage.test.SQETest == null)

      Only the first one was updated when we moved to incubator, resulting in the tests being skiped.

      2.) When fixing that, We get a failure, which originally manifests as missing resource. There is a real missing resource in ("error.lock-resource")

      3.) This lock error is caused by the target not existing. The target is a very long path, in my case:
      C:\ade\jdk-jdk\build\windows-x64\test-support\jtreg_open_test_jdk_tools_jpackage_share_AdditionalLaunchersTest_java\scratch\0\.\testMainLauncherIsModular.f3cba718\output\MainLauncherIsModularAdditionalLaunchersTest\MainLauncherIsModularAdditionalLaunchersTest.exe

        Attachments

          Activity

            People

            • Assignee:
              herrick Andy Herrick
              Reporter:
              herrick Andy Herrick
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: