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

Henning Rohde commented on BEAM-3460:
-------------------------------------

I just get the tox error, when I try to repro. Debug logs show that the task 
completes:
 

15:23:11.653 [DEBUG] 
[org.gradle.internal.progress.DefaultBuildOperationExecutor] Build operation 
'Task :sdks:go:resolveBuildDependencies' completed

[...]

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':sdks:python:lint'.
> A problem occurred starting process 'command 'tox''

* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task 
':sdks:python:lint'.
at 
org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:100)
at 
org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:70)
at 
org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:62)
[...]


> On fresh checkout, failure of "./gradlew build" for Go due to "Cannot 
> recognized package: common"
> -------------------------------------------------------------------------------------------------
>
>                 Key: BEAM-3460
>                 URL: https://issues.apache.org/jira/browse/BEAM-3460
>             Project: Beam
>          Issue Type: Sub-task
>          Components: build-system, sdk-py-core
>            Reporter: Kenneth Knowles
>            Assignee: Henning Rohde
>            Priority: Major
>             Fix For: Not applicable
>
>
> After {{./gradlew clean && ./gradlew build}} the python build fails because 
> of an issue in dependency resolution in Go.
> {code}
> FAILURE: Build completed with 2 failures.
> 1: Task failed with an exception.
> -----------
> * What went wrong:
> Execution failed for task ':beam-sdks-parent:beam-sdks-python:lint'.
> > A problem occurred starting process 'command 'tox''
> * Try:
> Run with --stacktrace option to get the stack trace. Run with --info or 
> --debug option to get more log output.
> ==============================================================================
> 2: Task failed with an exception.
> -----------
> * What went wrong:
> Execution failed for task 
> ':beam-sdks-parent:beam-sdks-go:resolveBuildDependencies'.
> > Exception in resolution, message is:
>   Cannot recognized package: common
>   Resolution stack is:
>   +- github.com/apache/beam/sdks/go
>    +- golang.org/x/oauth2#30785a2c434e431ef7c507b54617d6a951d5f2b4
>     +- cloud.google.com/go#8e80142a8cf430971bc659922cabeb64c553bef5
>      +- go.opencensus.io#2191e3e86ea6a0d94dcf946813ce50cb3b88502f
>       +- 
> github.com/prometheus/client_golang#f02bfc3484a6b03d1fc00d72d86add103ef9567b
>        +- 
> github.com/prometheus/common#89604d197083d4781071d3c65855d24ecfb0a563
>         +- github.com/go-kit/kit#953e747656a7bbb5e1f998608b460458958b70cc
>          +- github.com/apache/thrift#a15060acd81d72fa364a7aab327aa8c41d02958f
> * Try:
> Run with --stacktrace option to get the stack trace. Run with --info or 
> --debug option to get more log output.
> ==============================================================================
> * Get more help at https://help.gradle.org
> BUILD FAILED in 6m 13s
> 92 actionable tasks: 92 executed
> {code}



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

Reply via email to