You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Wilfred Spiegelenburg (Jira)" <ji...@apache.org> on 2020/09/01 01:55:00 UTC

[jira] [Comment Edited] (YUNIKORN-389) Intermittent build failure on shim with Go 1.12

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

Wilfred Spiegelenburg edited comment on YUNIKORN-389 at 9/1/20, 1:54 AM:
-------------------------------------------------------------------------

This is an issue with the vbom.ml resolution. See this issue: https://github.com/fvbommel/util/issues/5
The vanity import was removed and I do think we can work around this pretty easily by adding the following:
{code}
replace vbom.ml/util => github.com/fvbommel/util v0.0.0-20160121211510-db5cfe13f5cc
{code}

Can you check this for me? If so we can open a new PR to get this fixed.


was (Author: wifreds):
This is an issue with the vbom.ml resolution. See this issue: https://github.com/fvbommel/util/issues/5
The vanity import was removed and I do think we can work around this pretty easily by adding the following:
{code}
replace vbom.ml/util => github.com/fvbommel/util v0.0.0-20180919145318-efcd4e0f9787
{code}

Can you check this for me? If so we can open a new PR to get this fixed.

> Intermittent build failure on shim with Go 1.12
> -----------------------------------------------
>
>                 Key: YUNIKORN-389
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-389
>             Project: Apache YuniKorn
>          Issue Type: Bug
>          Components: shim - kubernetes
>    Affects Versions: 0.10
>            Reporter: Adam Antal
>            Priority: Major
>
> On my local computer (MacOS, {{go1.12.17 darwin/amd64}} version) the shim build failed after YUNIKORN-376 was committed with the following error:
> {noformat}
> ...
> go: vbom.ml/util@v0.0.0-20160121211510-db5cfe13f5cc: unrecognized import path "vbom.ml/util" (https fetch: Get https://vbom.ml/util?go-get=1: dial tcp: lookup vbom.ml: no such host)
> ...
> go: error loading module requirements
> make: *** [build] Error 1
> {noformat}
> Steps I tried to mitigate the error:
> - clean Go cache
> - clean all the Go packages downloaded on my local
> - remove the vbom.ml dependency from go.mod
> - used VPN, full-tunnel VPN, different internet connections so that the host can be found
> Unfortunately neither of them helped. It looks a transitive dependency to me, pulled by our dependant package by the error message is odd.
> Reverting YUNIKORN-376 the build passed for me, so it might be related to that.
> However I reached out to [~kmarton] who has had the same Go version, but for her the build passed without any issues.
> After updating to {{go1.15 darwin/amd64}} on my Mac, the build passes.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org