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

GCS artifact proxy is breaking the build when credentials are not available

Details

    • Bug
    • Status: Resolved
    • P0
    • Resolution: Fixed
    • None
    • 2.5.0
    • sdk-go
    • None

    Description

      When running the maven build in a machine without the valid auth credentials the module breaks like this:

      
      {{[INFO] --- mvn-golang-wrapper:2.1.6:build (go-build) @ beam-runners-gcp-gcsproxy ---}}
      {{[INFO] Prepared command line : bin/go build -buildmode=default -o /home/ismael/upstream/beam/runners/gcp/gcsproxy/target/gcsproxy github.com/apache/beam/cmd/gcsproxy}}
      {{[ERROR] }}
      {{[ERROR] ---------Exec.Err---------}}
      {{[ERROR] # github.com/apache/beam/sdks/go/pkg/beam/util/gcsx}}
      {{[ERROR] github.com/apache/beam/sdks/go/pkg/beam/util/gcsx/gcs.go:46:37: undefined: option.WithoutAuthentication}}
      {{[ERROR] }}
      {{------------------------------------------------------------------------}}
      
      {{[INFO] Apache Beam :: Runners :: Google Cloud Platform :: GCS artifact proxy FAILURE [  1.038 s]}}
      {{------------------------------------------------------------------------}}
      {{[INFO] BUILD FAILURE}}
      {{------------------------------------------------------------------------}}
      {{[ERROR] Failed to execute goal com.igormaznitsa:mvn-golang-wrapper:2.1.6:build (go-build) on project beam-runners-gcp-gcsproxy: Can't find generated target file : /home/ismael/upstream/beam/runners/gcp/gcsproxy/target/gcsproxy -> [Help 1]}}
      {{[ERROR] }}
      
      

      Attachments

        Issue Links

          Activity

            People

              herohde Henning Rohde
              iemejia Ismaël Mejía
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 10m
                  1h 10m