You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "yifan zou (JIRA)" <ji...@apache.org> on 2019/08/02 15:03:00 UTC

[jira] [Commented] (BEAM-7789) :beam-test-tools project fails to build locally

    [ https://issues.apache.org/jira/browse/BEAM-7789?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16898965#comment-16898965 ] 

yifan zou commented on BEAM-7789:
---------------------------------

It failed to build on Jenkins build workers as well. [https://scans.gradle.com/s/na72ytsc2r65u/failure#top=1]

> :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)