[pkg-go] Bug#907713: golang-github-fsouza-go-dockerclient: FTBFS in buster/sid (failing tests)

Santiago Vila sanvila at debian.org
Fri Aug 31 19:58:07 BST 2018


Package: src:golang-github-fsouza-go-dockerclient
Version: 1.2.1-1
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep --buildsystem=golang --with=golang --builddirectory=_build
   dh_update_autotools_config -i -O--buildsystem=golang -O--builddirectory=_build
   dh_autoreconf -i -O--buildsystem=golang -O--builddirectory=_build
   dh_auto_configure -i -O--buildsystem=golang -O--builddirectory=_build
   dh_auto_build -i -O--buildsystem=golang -O--builddirectory=_build
	cd _build && go install -gcflags=\"-trimpath=/<<PKGBUILDDIR>>/_build/src\" -asmflags=\"-trimpath=/<<PKGBUILDDIR>>/_build/src\" -v -p 1 github.com/fsouza/go-dockerclient github.com/fsouza/go-dockerclient/testing
github.com/opencontainers/go-digest
github.com/opencontainers/image-spec/specs-go
github.com/opencontainers/image-spec/specs-go/v1
github.com/docker/docker/api/types/registry
github.com/docker/docker/api/types/blkiodev
github.com/docker/docker/api/types/mount
github.com/docker/docker/api/types/strslice

[... snipped ...]

--- PASS: TestRenameContainer (0.00s)
=== CONT  TestCreateContainerImageNotFound
--- PASS: TestCreateContainerImageNotFound (0.00s)
=== CONT  TestCreateContainerInvalidName
--- PASS: TestCreateContainerInvalidName (0.00s)
=== CONT  TestCreateMultipleContainersEmptyName
--- PASS: TestCreateMultipleContainersEmptyName (0.00s)
=== CONT  TestCreateContainerDuplicateName
--- PASS: TestCreateContainerDuplicateName (0.00s)
=== CONT  TestCreateContainerInvalidBody
--- PASS: TestCreateContainerInvalidBody (0.00s)
=== CONT  TestCreateContainerWithNotifyChannel
--- PASS: TestCreateContainerWithNotifyChannel (0.00s)
=== CONT  TestCreateContainer
--- PASS: TestCreateContainer (0.00s)
=== CONT  TestListContainersFilterLabels
--- PASS: TestListContainersFilterLabels (0.00s)
=== CONT  TestListRunningContainers
--- PASS: TestListRunningContainers (0.00s)
=== CONT  TestListContainers
--- PASS: TestListContainers (0.00s)
=== CONT  TestCustomHandlerRegexp
--- PASS: TestCustomHandlerRegexp (0.00s)
=== CONT  TestCustomHandler
--- PASS: TestCustomHandler (0.00s)
=== CONT  TestSetHook
--- PASS: TestSetHook (0.00s)
=== CONT  TestHandleWithHook
--- PASS: TestHandleWithHook (0.00s)
=== CONT  TestServerURLNoListener
--- PASS: TestServerURLNoListener (0.00s)
=== CONT  TestServerURL
--- PASS: TestServerURL (0.00s)
=== CONT  TestServerStopNoListener
--- PASS: TestServerStopNoListener (0.00s)
=== CONT  TestServerStop
--- PASS: TestServerStop (0.00s)
=== CONT  TestNewTLSServer
2018/08/27 09:12:05 http: TLS handshake error from 127.0.0.1:52230: EOF
--- PASS: TestNewTLSServer (0.01s)
PASS
ok  	github.com/fsouza/go-dockerclient/testing	1.575s
dh_auto_test: cd _build && go test -vet=off -v -p 1 github.com/fsouza/go-dockerclient github.com/fsouza/go-dockerclient/testing returned exit code 1
make: *** [debian/rules:11: build-indep] Error 1
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2
--------------------------------------------------------------------------------

This is just how the build ends and not necessarily the relevant part.
For full build logs please see:

https://people.debian.org/~sanvila/build-logs/golang-github-fsouza-go-dockerclient/

I suspect of a race condition or something alike, because this failure
does not seem to happen in reproducible builds. However, I can
reproduce it 100% of the time, so if you could not reproduce it, I
would gladly offer a test machine where this happens (please contact
me privately for details).

Thanks.



More information about the Pkg-go-maintainers mailing list