[
https://issues.apache.org/jira/browse/BEAM-7789?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Anton Kedin updated BEAM-7789:
------------------------------
Issue Type: Bug (was: Improvement)
> :beam-test-tools project fails to build locally
> -----------------------------------------------
>
> Key: BEAM-7789
> URL: https://issues.apache.org/jira/browse/BEAM-7789
> Project: Beam
> Issue Type: Bug
> Components: testing
> Reporter: Anton Kedin
> Priority: Major
>
> 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)
> {code}
> export GOPATH=$PWD/.test-infra/tools/.gogradle/project_gopath
> go get github.com/hashicorp/golang-lru/simplelru
> ./gradlew :beam-test-tools:build
> {code}
> 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
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)