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

Daniel Oliveira commented on BEAM-13037:
----------------------------------------

This seems to be some kind of PATH issue. When I SSH into the workers, 
/snap/bin/go is there and available and I can run the go tests manually from my 
instance just fine. But when the Jenkins workers try to use go, it's not 
available, and creating a symlink from /snap/bin/go to /usr/bin/go seems to fix 
the issue.

I suspect the Jenkins agents either have some hardcoded path in their 
configuration that doesn't include the snap/bin directory, or it's cached in 
some way and it's trying to find the go binary in /usr/bin/go after it moved. 
As a workaround for now I'm creating a symlink on all the VMs as a workaround 
for now, but we should try to fix the root cause. 

> Update Golang version on Jenkins worker images.
> -----------------------------------------------
>
>                 Key: BEAM-13037
>                 URL: https://issues.apache.org/jira/browse/BEAM-13037
>             Project: Beam
>          Issue Type: Task
>          Components: sdk-go, testing
>            Reporter: Daniel Oliveira
>            Assignee: Daniel Oliveira
>            Priority: P2
>             Fix For: Not applicable
>
>
> Update the version of the `go` command on our Jenkins VMs from 1.12.X to 
> 1.16.X, to match as closely as possible the current version specified for Go 
> in our BeamModulePlugin (1.16.5).
> Follows the instructions on Confluence here: 
> https://cwiki.apache.org/confluence/display/BEAM/Jenkins+Tips#JenkinsTips-HowtoinstallandupgradesoftwareonJenkinsworkers



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to