:beam-test-tools project fails to build locally
- Dominant language
- Java
- Stars
- 8.7k
- Forks
- 4.7k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 196
Description
Running the release-verification build (global build of everything) in turn triggers the build of the `beam-test-tools` project, which has some test infrastructure scripts that we run on Jenkins. It seems to work fine on jenkins. However running the build of the project locally fails: https://scans.gradle.com/s/kqhkzyozbpiua/console-log#L6
What seems to happen is the gradle vendoring plugin caches the dependencies locally, but fails to cache simplelru.
One workaround (based on ./gradlew :beam-test-tools:showGopathGoroot)
```
export GOPATH=$PWD/.test-infra/tools/.gogradle/project_gopath
go get github.com/hashicorp/golang-lru/simplelru
./gradlew
:beam-test-tools:build
```
It is able to find the `lrumap` and `simplelru` during the dependency resolution step, and I can see it mentioned in couple of artifacts produced by the `gogradle` plugin. But when it does `:installDepedencies` to actually copy them to `vendor` directory, this specific package is missing. This reproduces for me on a couple of different machines I tried, both on release and master branches
Imported from Jira [BEAM-7789](https://issues.apache.org/jira/browse/BEAM-7789). Original Jira may contain additional context.
Reported by: kedin.
Contributor guide
Assessment
This issue has not been assessed yet.