[pkg-go] Bug#907714: golang-x-text: FTBFS in buster/sid (failing tests)
Santiago Vila
sanvila at unex.es
Sat Sep 1 08:49:02 BST 2018
On Sat, Sep 01, 2018 at 03:31:00PM +0800, Shengjing Zhu wrote:
> (resend, forget to cc bts)
>
> That's the one failed test,
>
> --- FAIL: TestCountMallocs (0.00s)
> fmt_test.go:1443: Sprintf(""): got 3 allocs, want <=0
> fmt_test.go:1443: Sprintf("xxx"): got 4 allocs, want <=1
> fmt_test.go:1443: Sprintf("%x"): got 5 allocs, want <=2
> fmt_test.go:1443: Sprintf("%s"): got 5 allocs, want <=2
> fmt_test.go:1443: Sprintf("%x %x"): got 5 allocs, want <=3
> fmt_test.go:1443: Sprintf("%g"): got 7 allocs, want <=2
> fmt_test.go:1443: Fprintf(buf, "%s"): got 4 allocs, want <=1
> fmt_test.go:1443: Fprintf(buf, "%x %x %x"): got 4 allocs, want <=0
>
>
> It happens when you run tests with 1 process(GOMAXPROCS=1)
>
> The upstream bug is https://github.com/golang/go/issues/23000
>
> This test is to ensure max malloc times used, so I don't think the test
> is so important to kick packages out of testing.
>
> Can we skip this test?
If you ask me, yes, that's definitely what I would do. I expect
packages to be buildable on any Debian setup on which Debian itself
may be installed, provided there is enough RAM and hard disk.
Thanks.
More information about the Pkg-go-maintainers
mailing list