[MONGOCRYPT-590] Gradle may hang in CONFIGURING step Created: 30/Aug/23 Updated: 02/Oct/23 |
|
| Status: | Backlog |
| Project: | Libmongocrypt |
| Component/s: | Java binding |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Build Failure | Priority: | Minor - P4 |
| Reporter: | Kevin Albertson | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Consistent hangs are observed running gradle on the Java bindings with JDK 8 when -DgitRevision is not set. This may be causing a task timeout in the publish-java task. Here is an example publish-java timeout task. To reproduce: Spawn a ubuntu1804-small or rhel90-dbx-perf-large host and run:
Results in a hang ending with this message:
The hang appears when evaluating gitDescribe and defaultDownloadRevision. The hang does not appear with JDK 9:
Results in an expected java.lang.NoClassDefFoundError unable to locate the built libmongocrypt library. Background & MotivationThis was discovered when implementing a benchmark for |