[pkg-go] Bug#850198: golang-github-dvsekhvalnov-jose2go: FTBFS randomly (failing tests)

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


Package: src:golang-github-dvsekhvalnov-jose2go
Version: 1.2-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/dvsekhvalnov/jose2go github.com/dvsekhvalnov/jose2go/aes github.com/dvsekhvalnov/jose2go/arrays github.com/dvsekhvalnov/jose2go/base64url github.com/dvsekhvalnov/jose2go/compact github.com/dvsekhvalnov/jose2go/kdf github.com/dvsekhvalnov/jose2go/keys/ecc github.com/dvsekhvalnov/jose2go/keys/rsa github.com/dvsekhvalnov/jose2go/padding
github.com/dvsekhvalnov/jose2go/base64url
github.com/dvsekhvalnov/jose2go/arrays
github.com/dvsekhvalnov/jose2go/aes
github.com/dvsekhvalnov/jose2go/compact
github.com/dvsekhvalnov/jose2go/kdf
github.com/dvsekhvalnov/jose2go/keys/ecc

[... snipped ...]

--- PASS: Test (0.00s)
PASS
ok  	github.com/dvsekhvalnov/jose2go/aes	0.004s
=== RUN   Test
OK: 6 passed
--- PASS: Test (0.00s)
PASS
ok  	github.com/dvsekhvalnov/jose2go/arrays	0.003s
=== RUN   Test
err = illegal base64 data at input byte 32
OK: 3 passed
--- PASS: Test (0.00s)
PASS
ok  	github.com/dvsekhvalnov/jose2go/base64url	0.003s
=== RUN   Test

err=illegal base64 data at input byte 4
OK: 8 passed
--- PASS: Test (0.00s)
PASS
ok  	github.com/dvsekhvalnov/jose2go/compact	0.003s
=== RUN   Test
OK: 16 passed
--- PASS: Test (0.15s)
PASS
ok  	github.com/dvsekhvalnov/jose2go/kdf	0.151s
=== RUN   Test
OK: 6 passed
--- PASS: Test (0.04s)
PASS
ok  	github.com/dvsekhvalnov/jose2go/keys/ecc	0.040s
=== RUN   Test
OK: 4 passed
--- PASS: Test (0.00s)
PASS
ok  	github.com/dvsekhvalnov/jose2go/keys/rsa	0.005s
=== RUN   Test
OK: 13 passed
--- PASS: Test (0.00s)
PASS
ok  	github.com/dvsekhvalnov/jose2go/padding	0.003s
dh_auto_test: go test -v -p 1 github.com/dvsekhvalnov/jose2go github.com/dvsekhvalnov/jose2go/aes github.com/dvsekhvalnov/jose2go/arrays github.com/dvsekhvalnov/jose2go/base64url github.com/dvsekhvalnov/jose2go/compact github.com/dvsekhvalnov/jose2go/kdf github.com/dvsekhvalnov/jose2go/keys/ecc github.com/dvsekhvalnov/jose2go/keys/rsa github.com/dvsekhvalnov/jose2go/padding returned exit code 1
debian/rules:7: 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-dvsekhvalnov-jose2go/

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

Thanks.



More information about the Pkg-go-maintainers mailing list