Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-7789

:beam-test-tools project fails to build locally

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: testing
    • Labels:

      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

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              kedin Anton Kedin
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: