[pkg-go] Bug#850200: golang-github-google-gofuzz: FTBFS randomly (failing tests)

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

Package: src:golang-github-google-gofuzz
Version: 0.0~git20150903.0.e4af62d-2
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/google/gofuzz
   dh_auto_test -i -O--buildsystem=golang
	go test -v -p 1 github.com/google/gofuzz
=== RUN   TestFuzz_basic
--- PASS: TestFuzz_basic (0.00s)
=== RUN   TestFuzz_structptr
--- FAIL: TestFuzz_structptr (0.00s)
	fuzz_test.go:96: a not nil seems to not be getting set, was zero value 10 times
	fuzz_test.go:96: as seems to not be getting set, was zero value 10 times
=== RUN   TestFuzz_structmap
--- PASS: TestFuzz_structmap (0.00s)
=== RUN   TestFuzz_structslice
--- PASS: TestFuzz_structslice (0.00s)
=== RUN   TestFuzz_custom
--- PASS: TestFuzz_custom (0.00s)
=== RUN   TestFuzz_interface
--- PASS: TestFuzz_interface (0.00s)
=== RUN   TestFuzz_interfaceAndFunc
--- PASS: TestFuzz_interfaceAndFunc (0.00s)
=== RUN   TestFuzz_noCustom
--- PASS: TestFuzz_noCustom (0.00s)
=== RUN   ExampleSimple
--- PASS: ExampleSimple (0.00s)
=== RUN   ExampleCustom
--- PASS: ExampleCustom (0.00s)
=== RUN   ExampleComplex
--- PASS: ExampleComplex (0.00s)
=== RUN   ExampleMap
--- PASS: ExampleMap (0.00s)
=== RUN   ExampleSingle
--- PASS: ExampleSingle (0.00s)
=== RUN   ExampleEnum
--- PASS: ExampleEnum (0.00s)
exit status 1
FAIL	github.com/google/gofuzz	0.008s
dh_auto_test: go test -v -p 1 github.com/google/gofuzz 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:


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 6%.


More information about the Pkg-go-maintainers mailing list