[pkg-go] Bug#850507: golang-github-tideland-golib: FTBFS randomly (failing tests)
Santiago Vila
sanvila at debian.org
Sat Jan 7 10:16:41 UTC 2017
Package: src:golang-github-tideland-golib
Version: 4.15.1-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/tideland/golib/audit github.com/tideland/golib/cache github.com/tideland/golib/collections github.com/tideland/golib/errors github.com/tideland/golib/etc github.com/tideland/golib/feed/atom github.com/tideland/golib/feed/rss github.com/tideland/golib/feed/utils github.com/tideland/golib/identifier github.com/tideland/golib/logger github.com/tideland/golib/loop github.com/tideland/golib/mapreduce github.com/tideland/golib/monitoring github.com/tideland/golib/numerics github.com/tideland/golib/redis github.com/tideland/golib/scene github.com/tideland/golib/scroller github.com/tideland/golib/sml github.com/tideland/golib/sort github.com/tideland/golib/stringex github.com/tideland/golib/timex github.com/tideland/golib/version
github.com/tideland/golib/audit
github.com/tideland/golib/errors
github.com/tideland/golib/identifier
github.com/tideland/golib/logger
github.com/tideland/golib/loop
github.com/tideland/golib/cache
github.com/tideland/golib/collections
[... snipped ...]
version_test.go:212: parse test #15: "+"
--- PASS: TestParse (0.00s)
=== RUN TestCompare
version_test.go:320: compare test #0: "1.2.3" <> "1.2.3" -> 0 / all
version_test.go:320: compare test #1: "1.2.3" <> "1.2.4" -> -1 / patch
version_test.go:320: compare test #2: "1.2.3" <> "1.3.3" -> -1 / minor
version_test.go:320: compare test #3: "1.2.3" <> "2.2.3" -> -1 / major
version_test.go:320: compare test #4: "3.2.1" <> "1.2.3" -> 1 / major
version_test.go:320: compare test #5: "1.2.3-alpha" <> "1.2.3" -> -1 / pre-release
version_test.go:320: compare test #6: "1.2.3-alpha.1" <> "1.2.3-alpha" -> -1 / pre-release
version_test.go:320: compare test #7: "1.2.3-alpha.1" <> "1.2.3-alpha.2" -> -1 / pre-release
version_test.go:320: compare test #8: "1.2.3-alpha.4711" <> "1.2.3-alpha.471" -> 1 / pre-release
version_test.go:320: compare test #9: "1.2.3-alpha.48" <> "1.2.3-alpha.4711" -> -1 / pre-release
version_test.go:320: compare test #10: "1.2.3+alpha.1" <> "1.2.3+alpha.2" -> 0 / all
version_test.go:320: compare test #11: "1.2.3+alpha.2" <> "1.2.3+alpha.1" -> 0 / all
version_test.go:320: compare test #12: "1.2.3-alpha+alpha.2" <> "1.2.3-alpha+alpha.1" -> 0 / all
version_test.go:320: compare test #13: "1.2.3-alpha.48+alpha.2" <> "1.2.3-alpha.4711+alpha.1" -> -1 / pre-release
version_test.go:320: compare test #14: "1.2.3-alpha.2" <> "1.2.3-alpha.1b" -> 1 / pre-release
--- PASS: TestCompare (0.00s)
=== RUN TestLess
version_test.go:399: less test #0: "1.2.3" <> "1.2.3" -> false
version_test.go:399: less test #1: "1.2.3" <> "1.2.4" -> true
version_test.go:399: less test #2: "1.2.3" <> "1.3.3" -> true
version_test.go:399: less test #3: "1.2.3" <> "2.2.3" -> true
version_test.go:399: less test #4: "3.2.1" <> "1.2.3" -> false
version_test.go:399: less test #5: "1.2.3-alpha" <> "1.2.3" -> true
version_test.go:399: less test #6: "1.2.3-alpha.1" <> "1.2.3-alpha" -> true
version_test.go:399: less test #7: "1.2.3-alpha.1" <> "1.2.3-alpha.2" -> true
version_test.go:399: less test #8: "1.2.3-alpha.4711" <> "1.2.3-alpha.471" -> false
version_test.go:399: less test #9: "1.2.3-alpha.48" <> "1.2.3-alpha.4711" -> true
version_test.go:399: less test #10: "1.2.3+alpha.1" <> "1.2.3+alpha.2" -> false
version_test.go:399: less test #11: "1.2.3+alpha.2" <> "1.2.3+alpha.1" -> false
version_test.go:399: less test #12: "1.2.3-alpha+alpha.2" <> "1.2.3-alpha+alpha.1" -> false
version_test.go:399: less test #13: "1.2.3-alpha.48+alpha.2" <> "1.2.3-alpha.4711+alpha.1" -> true
version_test.go:399: less test #14: "1.2.3-alpha.2" <> "1.2.3-alpha.1b" -> false
--- PASS: TestLess (0.00s)
PASS
ok github.com/tideland/golib/version 0.004s
dh_auto_test: go test -v -p 1 -short github.com/tideland/golib/audit github.com/tideland/golib/cache github.com/tideland/golib/collections github.com/tideland/golib/errors github.com/tideland/golib/etc github.com/tideland/golib/feed/atom github.com/tideland/golib/feed/rss github.com/tideland/golib/feed/utils github.com/tideland/golib/identifier github.com/tideland/golib/logger github.com/tideland/golib/loop github.com/tideland/golib/mapreduce github.com/tideland/golib/monitoring github.com/tideland/golib/numerics github.com/tideland/golib/redis github.com/tideland/golib/scene github.com/tideland/golib/scroller github.com/tideland/golib/sml github.com/tideland/golib/sort github.com/tideland/golib/stringex github.com/tideland/golib/timex github.com/tideland/golib/version returned exit code 1
debian/rules:7: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:4: recipe for target 'build-indep' failed
make: *** [build-indep] Error 2
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-tideland-golib/
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