You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/06/04 12:35:57 UTC

[GitHub] [beam] damccorm opened a new issue, #19638: :beam-test-tools project fails to build locally

damccorm opened a new issue, #19638:
URL: https://github.com/apache/beam/issues/19638

   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.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org