Commit Graph

1 Commits

Author SHA1 Message Date
Jason Gustafson 3d9a5f6ae3
KAFKA-14163; Retry compilation after zinc compile cache error (#12507)
We have been seeing builds fail due to errors such as the following:
```
Timeout waiting to lock zinc-1.6.1_2.13.8_17 compiler cache (/home/jenkins/.gradle/caches/7.5.1/zinc-1.6.1_2.13.8_17). It is currently in use by another Gradle instance.
```
This patch includes a workaround: if the compilation fails due to this zinc compile cache error, then we retry it.

Reviewers: Ismael Juma <ismael@juma.me.uk>

Co-authored-by: Lucas Bradstreet <lucasbradstreet@gmail.com>
2022-08-11 14:00:06 -07:00