[
https://issues.apache.org/jira/browse/BEAM-9138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17031926#comment-17031926
]
Boyuan Zhang commented on BEAM-9138:
------------------------------------
This should be fixed by adding 'resolveBuildDependencies.dependsOn
":sdks:go:goBuild" to beam/.test-infra/tools/build.gradle'. But this build
target has been changed since 2.19.0:
https://github.com/apache/beam/commit/4d3295c4279a853758e4218b437a92edba63bd89.
No more issue should show up.
> beam_Release_Gradle_Build failure in Go
> ---------------------------------------
>
> Key: BEAM-9138
> URL: https://issues.apache.org/jira/browse/BEAM-9138
> Project: Beam
> Issue Type: Bug
> Components: build-system, test-failures
> Reporter: Udi Meiri
> Priority: Major
>
> Phrase: "Run Release Gradle Build"
> Recent failures:
> https://builds.apache.org/job/beam_Release_Gradle_Build/24/
> https://builds.apache.org/job/beam_Release_Gradle_Build/25/
> Seems like all of these are Go-related, and it seems like the culprit might
> be the failure in :sdks:go:resolveBuildDependencies (but I have very little
> knowledge of these tasks).
> CC: [~markflyhigh] who wrote the job, [~lostluck] who knows Go SDK
> Please help in triaging and/or assigning to someone who can look at this.
> {code}
> 13:00:15 Execution failed for task ':beam-test-tools:goVet'.
> 13:00:15 > Build failed due to return code 1 of:
> 13:00:15 Command:
> 13:00:15 /usr/bin/go vet github.com/apache/beam/.test-infra/tools
> {code}
> {code}
> 13:00:15 Execution failed for task ':beam-test-tools:goTest'.
> 13:00:15 > There are 1 failed tests. Please see
> /home/jenkins/jenkins-slave/workspace/beam_Release_Gradle_Build/src/.test-infra/tools/.gogradle/reports/test/index.html
> for more details.
> {code}
> {code}
> 13:00:15 Execution failed for task ':beam-test-tools:buildLinuxAmd64'.
> 13:00:15 > Build failed due to return code 1 of:
> 13:00:15 Command:
> 13:00:15 /usr/bin/go build -o ./.gogradle/beam-test-tools-linux-amd64
> github.com/apache/beam/.test-infra/tools
> {code}
> {code}
> 13:00:15 Execution failed for task ':sdks:go:resolveBuildDependencies'.
> 13:00:15 > Exception in resolution, message is:
> 13:00:15 Cannot resolve dependency:google.golang.org/api:
> commit='386d4e5f4f92f86e6aec85985761bba4b938a2d5',
> urls=[https://code.googlesource.com/google-api-go-client]
> 13:00:15 Resolution stack is:
> 13:00:15 +- github.com/apache/beam/sdks/go
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)