beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henning Rohde (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BEAM-4015) GCS artifact proxy is breaking the build when credentials are not available
Date Thu, 05 Apr 2018 19:20:00 GMT

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

Henning Rohde commented on BEAM-4015:
-------------------------------------

This is a compile error. I've seen it before if the go libraries are too old. The gradle (but
not maven) build locks the dependency versions, so the simplest path forward is probably to
remove the maven one. 

Is this your personal machine, btw? Alternatively, "go get -u all" should also fix it.

> GCS artifact proxy is breaking the build when credentials are not available
> ---------------------------------------------------------------------------
>
>                 Key: BEAM-4015
>                 URL: https://issues.apache.org/jira/browse/BEAM-4015
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-go
>            Reporter: Ismaël Mejía
>            Assignee: Henning Rohde
>            Priority: Blocker
>
> When running the maven build in a machine without the valid auth credentials the module
breaks like this:
> {code:bash}
> {{[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] }}
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message