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

Enable AOT Jtreg tests on Windows

    Details

    • Type: Task
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 10
    • Fix Version/s: 10
    • Component/s: infrastructure
    • Labels:
      None
    • Resolved In Build:
      team

      Description

      The addition of AOT support (JDK-8172670) for Windows in JDK 10 requires a Visual Studio Installation in order to run the Jtreg AOT tests.

      The jaotc tool will attempt to execute "link.exe" from the default Windows installation directory. It will search for VS2012, VS2013 or VS2015. If link.exe is not found in any of these installations, the tests will fail.

      The AOT support for Windows was integrated without jtreg support on windows due to the lack of JPRT support. This issue is corrected with this changes in addition to the re-enabling of the jtreg tests.

        Issue Links

          Activity

          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk10/hs/rev/abbe165a81ec
          User: bobv
          Date: 2017-02-14 17:42:01 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk10/hs/rev/abbe165a81ec User: bobv Date: 2017-02-14 17:42:01 +0000
          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk10/hs/hotspot/rev/ed50feff084f
          User: bobv
          Date: 2017-02-14 17:42:03 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk10/hs/hotspot/rev/ed50feff084f User: bobv Date: 2017-02-14 17:42:03 +0000
          Hide
          sjohanss Stefan Johansson added a comment -
          All of the enabled tests failed in my latest RBT-run:
          https://jdash.se.oracle.com/rbt/rbt-stefan.johansson-8171238-20170220-1208-34359

          It looks like VS is not installed on all Aurora machines, and as stated then the tests will always fail. With this in mind I think the tests should be disabled until we have a story to support them on all our systems, not only JPRT.
          Show
          sjohanss Stefan Johansson added a comment - All of the enabled tests failed in my latest RBT-run: https://jdash.se.oracle.com/rbt/rbt-stefan.johansson-8171238-20170220-1208-34359 It looks like VS is not installed on all Aurora machines, and as stated then the tests will always fail. With this in mind I think the tests should be disabled until we have a story to support them on all our systems, not only JPRT.

            People

            • Assignee:
              bobv Bob Vandette
              Reporter:
              bobv Bob Vandette
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: