Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 695944

Summary: app-misc/pet-0.3.6 failed (test phase)
Product: Gentoo Linux Reporter: Joonas Niilola <juippis>
Component: Current packagesAssignee: Vladimir Pavljuchenkov (SpiderX) <spiderx>
Status: RESOLVED OBSOLETE    
Severity: normal CC: kingjon3377, proxy-maint
Priority: Normal Keywords: PullRequest, TESTFAILURE
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/14382
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build with test phase

Description Joonas Niilola gentoo-dev 2019-10-01 05:26:15 UTC
When trying to emerge pet-0.3.6 with FEATURES="test" USE="test", I'm getting tons of errors like: 
# get https://proxy.golang.org/github.com/xanzy/go-gitlab/@v/v0.10.5.mod: Get https://proxy.golang.org/github.com/xanzy/go-gitlab/@v/v0.10.5.mod: dial tcp: lookup proxy.golang.org on 192.168.1.1:53: dial udp 192.168.1.1:53: connect: network is unreachable
# get https://proxy.golang.org/github.com/briandowns/spinner/@v/v0.0.0-20170614154858-48dbb65d7bd5.mod: Get https://proxy.golang.org/github.com/briandowns/spinner/@v/v0.0.0-20170614154858-48dbb65d7bd5.mod: dial tcp: lookup proxy.golang.org on 192.168.1.1:53: dial udp 192.168.1.1:53: connect: network is unreachable
# get https://proxy.golang.org/golang.org/x/sys/@v/v0.0.0-20180606202747-9527bec2660b.mod: Get https://proxy.golang.org/golang.org/x/sys/@v/v0.0.0-20180606202747-9527bec2660b.mod: dial tcp: lookup proxy.golang.org on 192.168.1.1:53: dial udp 192.168.1.1:53: connect: network is unreachable
# get https://proxy.golang.org/github.com/google/go-querystring/@v/v0.0.0-20170111101155-53e6ce116135.mod: Get https://proxy.golang.org/github.com/google/go-querystring/@v/v0.0.0-20170111101155-53e6ce116135.mod: dial tcp: lookup proxy.golang.org on 192.168.1.1:53: dial udp 192.168.1.1:53: connect: network is unreachable
go: github.com/BurntSushi/toml@v0.3.0: Get https://proxy.golang.org/github.com/%21burnt%21sushi/toml/@v/v0.3.0.mod: dial tcp: lookup proxy.golang.org on 192.168.1.1:53: dial udp 192.168.1.1:53: connect: network is unreachable


I don't know if the new eclass for go fixes this, but if not, RESTRICT="test" is the best short-term solution.
Comment 1 Vladimir Pavljuchenkov (SpiderX) 2019-10-05 17:21:20 UTC
Created attachment 591910 [details]
build with test phase

I don't see any issue with test phase.
Attaching my build.log
Comment 2 Joonas Niilola gentoo-dev 2019-10-06 08:57:14 UTC
Is this done via 'ebuild' command? I see your test phase is invoked, but your USE or FEATURES don't involve "test". Could you try through emerge, this version is in the tree now, so it should be really simple to do 

  FEATURES="test" USE="test" emerge -av =app-misc/pet-0.3.6

Also it could be helpful to clear your distfiles directory before attempting this. I believe it tries to download some go stuff, that may need to be specified before test phase.
Comment 3 Vladimir Pavljuchenkov (SpiderX) 2020-01-18 18:46:15 UTC
I don't remember how exactly test phase was invoked, but this time I did it exactly as you said:

1. Removed everything from distfiles.
2. Ran FEATURES="test" USE="test" emerge -av =app-misc/pet-0.3.6

I don't see any download during test phase.