[pkg-go] Bug#852964: golang-github-hashicorp-yamux: FTBFS randomly (failing tests)

Santiago Vila sanvila at debian.org
Sat Jan 28 15:11:03 UTC 2017


Package: src:golang-github-hashicorp-yamux
Version: 0.0~git20151129.0.df94978-1
Severity: important

Dear maintainer:

I tried to build this package in stretch with "dpkg-buildpackage -A"
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/hashicorp/yamux
github.com/hashicorp/yamux
   dh_auto_test -i -O--buildsystem=golang
	go test -v -p 1 github.com/hashicorp/yamux
=== RUN   TestConst
--- PASS: TestConst (0.00s)
=== RUN   TestEncodeDecode
--- PASS: TestEncodeDecode (0.00s)

[... snipped ...]

=== RUN   TestGoAway
--- PASS: TestGoAway (0.00s)
=== RUN   TestManyStreams
--- PASS: TestManyStreams (0.60s)
=== RUN   TestManyStreams_PingPong
--- PASS: TestManyStreams_PingPong (1.30s)
=== RUN   TestHalfClose
--- PASS: TestHalfClose (0.00s)
=== RUN   TestReadDeadline
--- PASS: TestReadDeadline (0.01s)
=== RUN   TestWriteDeadline
--- PASS: TestWriteDeadline (0.05s)
=== RUN   TestBacklogExceeded
--- PASS: TestBacklogExceeded (0.02s)
=== RUN   TestKeepAlive
--- PASS: TestKeepAlive (0.20s)
=== RUN   TestKeepAlive_Timeout
--- PASS: TestKeepAlive_Timeout (0.35s)
=== RUN   TestLargeWindow
--- PASS: TestLargeWindow (0.01s)
=== RUN   TestSendData_VeryLarge
2017/01/28 00:54:09 [ERR] yamux: keepalive failed: session shutdown
--- FAIL: TestSendData_VeryLarge (20.00s)
panic: timeout [recovered]
	panic: timeout

goroutine 376 [running]:
panic(0x516d80, 0xc4201eb130)
	/usr/lib/go-1.7/src/runtime/panic.go:500 +0x1a1
testing.tRunner.func1(0xc420018900)
	/usr/lib/go-1.7/src/testing/testing.go:579 +0x25d
panic(0x516d80, 0xc4201eb130)
	/usr/lib/go-1.7/src/runtime/panic.go:458 +0x243
github.com/hashicorp/yamux.TestSendData_VeryLarge(0xc420018900)
	/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/hashicorp/yamux/session_test.go:900 +0x2f2
testing.tRunner(0xc420018900, 0x558898)
	/usr/lib/go-1.7/src/testing/testing.go:610 +0x81
created by testing.(*T).Run
	/usr/lib/go-1.7/src/testing/testing.go:646 +0x2ec
exit status 2
FAIL	github.com/hashicorp/yamux	22.833s
dh_auto_test: go test -v -p 1 github.com/hashicorp/yamux 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/build-logs/golang-github-hashicorp-yamux/

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).

Thanks.



More information about the Pkg-go-maintainers mailing list