Details
-
Task
-
Resolution: Fixed
-
Unknown
-
None
-
None
-
None
-
Not Needed
Description
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.