[pkg-go] Bug#837624: golang-goleveldb: FTBFS in testing (failing tests)

Santiago Vila sanvila at unex.es
Mon Sep 12 22:08:55 UTC 2016


Package: src:golang-goleveldb
Version: 0+git20160825.6ae1797-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/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
	Copy leveldb/table.go -> obj-x86_64-linux-gnu/src/github.com/syndtr/goleveldb/leveldb/table.go

[... snipped ...]

	file_storage_test.go:150: OpenFile(2): got error: resource temporarily unavailable (expected)
	file_storage_test.go:169: OpenFile(5): got error: resource temporarily unavailable (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: 1473714669
Will run 320 of 320 specs

?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????[
 32m?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????[3
 2m?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????[32
 m?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
Ran 320 of 320 Specs in 6.481 seconds
SUCCESS! -- 320 Passed | 0 Failed | 0 Pending | 0 Skipped --- PASS: TestTable (6.54s)
PASS
ok  	github.com/syndtr/goleveldb/leveldb/table	6.547s
=== 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)
=== RUN   TestHash
--- PASS: TestHash (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+git20160825.6ae1797
debian/rules:13: recipe for target 'build-indep' failed
make: *** [build-indep] Error 1
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
--------------------------------------------------------------------------------

Please note that it does not always fail, but I tried six times and it
failed four.

A full build log is attached.

Thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: golang-goleveldb_0+git20160825.6ae1797-1_amd64-20160912T210035Z.gz
Type: application/gzip
Size: 236941 bytes
Desc: 
URL: <http://lists.alioth.debian.org/pipermail/pkg-go-maintainers/attachments/20160913/2d2d5dd6/attachment-0001.bin>


More information about the Pkg-go-maintainers mailing list