Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 695944 - app-misc/pet-0.3.6 failed (test phase)
Summary: app-misc/pet-0.3.6 failed (test phase)
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Vladimir Pavljuchenkov (SpiderX)
URL:
Whiteboard:
Keywords: PullRequest, TESTFAILURE
Depends on:
Blocks:
 
Reported: 2019-10-01 05:26 UTC by Joonas Niilola
Modified: 2020-05-24 18:49 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build with test phase (build.log.gz,38.38 KB, application/gzip)
2019-10-05 17:21 UTC, Vladimir Pavljuchenkov (SpiderX)
Details

Note You need to log in before you can comment on or make changes to this bug.
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.