[pkg-go] Bug#834959: golang-goleveldb: FTBFS too much often (failing tests)

Santiago Vila sanvila at unex.es
Sat Aug 20 23:40:39 UTC 2016


Package: src:golang-goleveldb
Version: 0+git20150819.1a9d62f-1
Severity: serious

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
	mkdir -p obj-x86_64-linux-gnu
	Copy manualtest/dbstress/key.go -> obj-x86_64-linux-gnu/src/github.com/syndtr/goleveldb/manualtest/dbstress/key.go
	Copy manualtest/dbstress/main.go -> obj-x86_64-linux-gnu/src/github.com/syndtr/goleveldb/manualtest/dbstress/main.go
	Copy manualtest/filelock/main.go -> obj-x86_64-linux-gnu/src/github.com/syndtr/goleveldb/manualtest/filelock/main.go
	Copy leveldb/storage_test.go -> obj-x86_64-linux-gnu/src/github.com/syndtr/goleveldb/leveldb/storage_test.go
	Copy leveldb/options.go -> obj-x86_64-linux-gnu/src/github.com/syndtr/goleveldb/leveldb/options.go
	Copy leveldb/external_test.go -> obj-x86_64-linux-gnu/src/github.com/syndtr/goleveldb/leveldb/external_test.go
	Copy leveldb/db_util.go -> obj-x86_64-linux-gnu/src/github.com/syndtr/goleveldb/leveldb/db_util.go

[... snipped ...]

=== RUN   TestFileStorage_Locking
--- PASS: TestFileStorage_Locking (0.00s)
	file_storage_test.go:112: OpenFile(2): got error: resource temporarily unavailable (expected)
	file_storage_test.go:135: storage lock got error: leveldb/storage: already locked (expected)
=== RUN   TestMemStorage
--- PASS: TestMemStorage (0.00s)
	mem_storage_test.go:25: storage lock got error: leveldb/storage: already locked (expected)
PASS
ok  	github.com/syndtr/goleveldb/leveldb/storage	0.002s
=== RUN   TestTable
Running Suite: Table Suite
==========================
Random Seed: 1471642108
Will run 919 of 919 specs

?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????[
 32m?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????[3
 2m?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????[32
 m?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
 ??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
 ??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
 ??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
 ?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
 [0m?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????[
 0m?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????[0
 m?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
 ???????????????
Ran 919 of 919 Specs in 8.256 seconds
SUCCESS! -- 919 Passed | 0 Failed | 0 Pending | 0 Skipped --- PASS: TestTable (8.46s)
PASS
ok  	github.com/syndtr/goleveldb/leveldb/table	8.465s
=== RUN   TestNewBuffer
--- PASS: TestNewBuffer (0.00s)
=== RUN   TestBasicOperations
--- PASS: TestBasicOperations (0.00s)
=== RUN   TestLargeByteWrites
--- PASS: TestLargeByteWrites (0.01s)
=== RUN   TestLargeByteReads
--- PASS: TestLargeByteReads (0.00s)
=== RUN   TestMixedReadsAndWrites
--- PASS: TestMixedReadsAndWrites (0.00s)
=== RUN   TestNil
--- PASS: TestNil (0.00s)
=== RUN   TestReadFrom
--- PASS: TestReadFrom (0.00s)
=== RUN   TestWriteTo
--- PASS: TestWriteTo (0.00s)
=== RUN   TestNext
--- PASS: TestNext (0.00s)
=== RUN   TestReadBytes
--- PASS: TestReadBytes (0.00s)
=== RUN   TestGrow
--- PASS: TestGrow (0.00s)
=== RUN   TestReadEmptyAtEOF
--- PASS: TestReadEmptyAtEOF (0.00s)
=== RUN   TestBufferGrowth
--- PASS: TestBufferGrowth (0.00s)
PASS
ok  	github.com/syndtr/goleveldb/leveldb/util	0.011s
dh_auto_test: go test -v -p 1 github.com/syndtr/goleveldb/leveldb github.com/syndtr/goleveldb/leveldb/cache github.com/syndtr/goleveldb/leveldb/comparer github.com/syndtr/goleveldb/leveldb/errors github.com/syndtr/goleveldb/leveldb/filter github.com/syndtr/goleveldb/leveldb/iterator github.com/syndtr/goleveldb/leveldb/journal github.com/syndtr/goleveldb/leveldb/memdb github.com/syndtr/goleveldb/leveldb/opt github.com/syndtr/goleveldb/leveldb/storage github.com/syndtr/goleveldb/leveldb/table github.com/syndtr/goleveldb/leveldb/util returned exit code 1
	cd /<<BUILDDIR>>/golang-goleveldb-0+git20150819.1a9d62f
debian/rules:14: recipe for target 'build-indep' failed
make: *** [build-indep] Error 1
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
--------------------------------------------------------------------------------

Because this source package only generates "Arch: all" packages, this
is the same as a FTBFS bug in the usual sense, and the fact that I was
doing "dpkg-buildpackage -A" does not mean anything special.

I attach two build logs. There are more here:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/golang-goleveldb.html

Thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: golang-goleveldb_0+git20150819.1a9d62f-1_amd64-20160810T1515Z.gz
Type: application/gzip
Size: 166878 bytes
Desc: 
URL: <http://lists.alioth.debian.org/pipermail/pkg-go-maintainers/attachments/20160821/31b0ba0d/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: golang-goleveldb_0+git20150819.1a9d62f-1_amd64-20160819T211904Z.gz
Type: application/gzip
Size: 206575 bytes
Desc: 
URL: <http://lists.alioth.debian.org/pipermail/pkg-go-maintainers/attachments/20160821/31b0ba0d/attachment-0003.bin>


More information about the Pkg-go-maintainers mailing list