Uploaded image for project: 'Libmongocrypt'
  1. Libmongocrypt
  2. MONGOCRYPT-593

Unskip `test-java` tasks needing JDK install

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 1.9.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Not Needed

      Scope

      • Unskip test-java tasks failing to find JDK.

      Background & Motivation

      Some test-java tasks fail to locate the JDK (example):

      [2023/09/05 13:04:41.741] + JAVA_HOME=/opt/java/jdk8
      [2023/09/05 13:04:41.741] + ./gradlew -version
      [2023/09/05 13:04:41.745] ERROR: JAVA_HOME is set to an invalid directory: /opt/java/jdk8
      [2023/09/05 13:04:41.745] Please set the JAVA_HOME variable in your environment to match the
      [2023/09/05 13:04:41.745] location of your Java installation.
      

      The affected distros do not appear to have an install of the JDK:

      • "Debian 11.0" (distro: debian11-large).
      • "Ubuntu 20.04 arm64" (distro: ubuntu2004-arm64-small).
      • "Ubuntu 22.04 arm64" (distro: ubuntu2204-arm64-small).

      Once the distros have an install of the JDK available, unskip the tests. Search libmongocrypt source for this ticket ID to find the tests to unskip.

            Assignee:
            kevin.albertson@mongodb.com Kevin Albertson
            Reporter:
            kevin.albertson@mongodb.com Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: