[pkg-go] Bug#850197: golang-github-dgryski-go-bits: FTBFS randomly (failing tests)

Santiago Vila sanvila at debian.org
Wed Jan 4 23:51:02 UTC 2017


Package: src:golang-github-dgryski-go-bits
Version: 0.0~git20151205.0.86c69b3-1
Severity: important

Dear maintainer:

I tried to build this package in stretch with "dpkg-buildpackage -A"
(which is what the "Arch: all" autobuilder would do to build it)
but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep --buildsystem=golang --with=golang
   dh_testdir -i -O--buildsystem=golang
   dh_update_autotools_config -i -O--buildsystem=golang
   dh_auto_configure -i -O--buildsystem=golang
   dh_auto_build -i -O--buildsystem=golang
	go install -v -p 1 github.com/dgryski/go-bits
github.com/dgryski/go-bits
   dh_auto_test -i -O--buildsystem=golang
	go test -v -p 1 github.com/dgryski/go-bits
=== RUN   TestQuickCtz
--- PASS: TestQuickCtz (0.00s)
=== RUN   TestQuickClz

[... snipped ...]

	/usr/lib/go-1.7/src/runtime/asm_amd64.s:2086 +0x1 fp=0xc420044fa8 sp=0xc420044fa0
created by testing.(*T).Run
	/usr/lib/go-1.7/src/testing/testing.go:646 +0x2ec

goroutine 1 [chan receive]:
testing.(*T).Run(0xc420018180, 0x53cf14, 0xf, 0x54be38, 0xc42003fd01)
	/usr/lib/go-1.7/src/testing/testing.go:647 +0x316
testing.RunTests.func1(0xc420018180)
	/usr/lib/go-1.7/src/testing/testing.go:793 +0x6d
testing.tRunner(0xc420018180, 0xc42003fe20)
	/usr/lib/go-1.7/src/testing/testing.go:610 +0x81
testing.RunTests(0x54be58, 0x5dd7c0, 0x3, 0x3, 0x53c471)
	/usr/lib/go-1.7/src/testing/testing.go:799 +0x2f5
testing.(*M).Run(0xc42003fee8, 0xc42000e510)
	/usr/lib/go-1.7/src/testing/testing.go:743 +0x85
main.main()
	github.com/dgryski/go-bits/_test/_testmain.go:58 +0xc6

rax    0x54be20
rbx    0x38fc2ffac2fd9401
rcx    0x54be50
rdx    0x38fc2ffac2fd9401
rdi    0xc4200449b8
rsi    0x479100
rbp    0xc420044998
rsp    0xc420044970
r8     0x18b
r9     0xc42000ff48
r10    0x50e6a0
r11    0x0
r12    0x10
r13    0x1f50
r14    0x1f6
r15    0x582480
rip    0x479105
rflags 0x10216
cs     0x33
fs     0x0
gs     0x0
exit status 2
FAIL	github.com/dgryski/go-bits	0.022s
dh_auto_test: go test -v -p 1 github.com/dgryski/go-bits returned exit code 1
debian/rules:4: recipe for target 'build-indep' failed
make: *** [build-indep] Error 1
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
--------------------------------------------------------------------------------

This is just how the build ends, not necessarily the relevant part.

I've put several build logs here:

https://people.debian.org/~sanvila/golang-github-dgryski-go-bits/

If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the page for this package.

The bug should be reproducible with sbuild on a single CPU virtual machine,
provided you try enough times (as the failure happens randomly).

After building 200 times, the failure rate observed here is about 17%.

Thanks.



More information about the Pkg-go-maintainers mailing list