[pkg-go] Bug#907171: prometheus FTBFS:

Martín Ferrari tincho at tincho.org
Thu Aug 30 13:23:05 BST 2018


Ian,

On 30/08/18 09:51, Ian Campbell wrote:

> Does `nc -l -p 9090` repro the test failure perhaps?

yes, of course.

> Unless the tests are run in their own network namespace (which provides
> some guarantees over what else might be bound to a port, I can't seem
> to find logs which would confirm or deny if a netns was in use here
> though) probably the test needs to use a random port or otherwise be
> tollerant of 9090 not being available. 

Right, but this can't be done without root, and buildds do not give root.

> Maybe there is (or should be) an autopkgtest flag to request a clean
> netns be used?

This discussion is about a FTBFS bug, not about the CI system. ALso,
that would not solve the issue, as it is autopkgtest installing (and
therefore starting) prometheus.

-- 
Martín Ferrari (Tincho)



More information about the Pkg-go-maintainers mailing list