[pkg-golang-devel] Bug#855928: golang-1.6: FTBFS: tests failed

Lucas Nussbaum lucas at debian.org
Thu Feb 23 13:27:05 UTC 2017


Source: golang-1.6
Version: 1.6.3-1
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20170221 qa-ftbfs
Justification: FTBFS in stretch on amd64

Hi,

During a rebuild of all packages in stretch (in a stretch chroot, not a
sid chroot), your package failed to build on amd64.

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> set -ex; \
> 	cd src; \
> 	export PATH="/<<PKGBUILDDIR>>/bin:$PATH"; \
> 	eval "$(go tool dist env)"; \
> 	bash run.bash -k -no-rebuild;
> + cd src
> + export PATH=/<<PKGBUILDDIR>>/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
> + go tool dist env
> + eval CC="gcc"
> CC_FOR_TARGET="gcc"
> GOROOT="/<<PKGBUILDDIR>>"
> GOBIN="/<<PKGBUILDDIR>>/bin"
> GOARCH="amd64"
> GOOS="linux"
> GOHOSTARCH="amd64"
> GOHOSTOS="linux"
> GOTOOLDIR="/<<PKGBUILDDIR>>/pkg/tool/linux_amd64"
> + CC=gcc
> + CC_FOR_TARGET=gcc
> + GOROOT=/<<PKGBUILDDIR>>
> + GOBIN=/<<PKGBUILDDIR>>/bin
> + GOARCH=amd64
> + GOOS=linux
> + GOHOSTARCH=amd64
> + GOHOSTOS=linux
> + GOTOOLDIR=/<<PKGBUILDDIR>>/pkg/tool/linux_amd64
> + bash run.bash -k -no-rebuild
> 
> ##### Testing packages.
> ok  	archive/tar	0.040s
> ok  	archive/zip	0.186s
> ok  	bufio	0.199s
> ok  	bytes	0.208s
> ok  	compress/bzip2	0.251s
> ok  	compress/flate	0.857s
> ok  	compress/gzip	0.116s
> ok  	compress/lzw	0.015s
> ok  	compress/zlib	0.175s
> ok  	container/heap	0.010s
> ok  	container/list	0.105s
> ok  	container/ring	0.025s
> ok  	crypto/aes	0.149s
> ok  	crypto/cipher	0.030s
> ok  	crypto/des	0.085s
> ok  	crypto/dsa	0.011s
> ok  	crypto/ecdsa	0.164s
> ok  	crypto/elliptic	0.049s
> ok  	crypto/hmac	0.012s
> ok  	crypto/md5	0.108s
> ok  	crypto/rand	0.164s
> ok  	crypto/rc4	0.135s
> ok  	crypto/rsa	0.251s
> ok  	crypto/sha1	0.149s
> ok  	crypto/sha256	0.045s
> ok  	crypto/sha512	0.012s
> ok  	crypto/subtle	0.012s
> ok  	crypto/tls	2.633s
> ok  	crypto/x509	2.549s
> ok  	database/sql	0.075s
> ok  	database/sql/driver	0.074s
> ok  	debug/dwarf	0.145s
> ok  	debug/elf	0.052s
> ok  	debug/gosym	0.590s
> ok  	debug/macho	0.151s
> ok  	debug/pe	0.023s
> ok  	debug/plan9obj	0.083s
> ok  	encoding/ascii85	0.013s
> ok  	encoding/asn1	0.029s
> ok  	encoding/base32	0.161s
> ok  	encoding/base64	0.189s
> ok  	encoding/binary	0.146s
> ok  	encoding/csv	0.155s
> ok  	encoding/gob	0.113s
> ok  	encoding/hex	0.048s
> ok  	encoding/json	0.369s
> ok  	encoding/pem	0.132s
> ok  	encoding/xml	0.056s
> ok  	errors	0.057s
> ok  	expvar	0.016s
> ok  	flag	0.120s
> ok  	fmt	0.201s
> ok  	go/ast	0.029s
> ok  	go/build	0.145s
> ok  	go/constant	0.067s
> ok  	go/doc	0.096s
> ok  	go/format	0.186s
> ok  	go/internal/gccgoimporter	0.009s
> ok  	go/internal/gcimporter	0.317s
> ok  	go/parser	0.122s
> ok  	go/printer	0.807s
> ok  	go/scanner	0.063s
> ok  	go/token	0.077s
> ok  	go/types	1.648s
> ok  	hash/adler32	0.031s
> ok  	hash/crc32	0.037s
> ok  	hash/crc64	0.022s
> ok  	hash/fnv	0.006s
> ok  	html	0.047s
> ok  	html/template	0.066s
> ok  	image	0.245s
> ok  	image/color	0.152s
> ok  	image/draw	0.152s
> ok  	image/gif	0.122s
> ok  	image/jpeg	0.344s
> ok  	image/png	0.152s
> ok  	index/suffixarray	0.093s
> ok  	internal/golang.org/x/net/http2/hpack	0.017s
> ok  	internal/singleflight	0.080s
> ok  	internal/trace	0.065s
> ok  	io	0.055s
> ok  	io/ioutil	0.030s
> ok  	log	0.029s
> ok  	log/syslog	2.059s
> ok  	math	0.031s
> ok  	math/big	0.992s
> ok  	math/cmplx	0.039s
> ok  	math/rand	0.238s
> ok  	mime	0.043s
> ok  	mime/multipart	1.353s
> ok  	mime/quotedprintable	0.749s
> ok  	net	1.590s
> ok  	net/http	10.811s
> ok  	net/http/cgi	1.546s
> ok  	net/http/cookiejar	0.014s
> ok  	net/http/fcgi	0.023s
> ok  	net/http/httptest	0.013s
> ok  	net/http/httputil	0.159s
> ok  	net/http/internal	0.073s
> ok  	net/internal/socktest	0.068s
> ok  	net/mail	0.033s
> ok  	net/rpc	0.237s
> ok  	net/rpc/jsonrpc	0.061s
> ok  	net/smtp	0.052s
> ok  	net/textproto	0.017s
> ok  	net/url	0.113s
> ok  	os	0.689s
> ok  	os/exec	0.949s
> ok  	os/signal	4.534s
> ok  	os/user	0.013s
> ok  	path	0.038s
> ok  	path/filepath	0.081s
> ok  	reflect	0.359s
> ok  	regexp	0.675s
> ok  	regexp/syntax	0.458s
> ok  	runtime	22.446s
> ok  	runtime/debug	0.099s
> ok  	runtime/internal/atomic	0.249s
> ok  	runtime/pprof	4.027s
> ok  	runtime/trace	4.703s
> ok  	sort	0.129s
> ok  	strconv	1.535s
> ok  	strings	1.134s
> ok  	sync	0.245s
> ok  	sync/atomic	15.009s
> ok  	syscall	0.215s
> ok  	testing	1.980s
> ok  	testing/quick	0.083s
> ok  	text/scanner	0.016s
> ok  	text/tabwriter	0.032s
> ok  	text/template	0.089s
> ok  	text/template/parse	0.158s
> ok  	time	3.174s
> ok  	unicode	0.011s
> ok  	unicode/utf16	0.006s
> ok  	unicode/utf8	0.023s
> ok  	cmd/addr2line	3.729s
> ok  	cmd/api	0.030s
> ok  	cmd/asm/internal/asm	0.582s
> ok  	cmd/asm/internal/lex	0.090s
> ok  	cmd/compile/internal/big	1.291s
> ok  	cmd/compile/internal/gc	1.262s
> ok  	cmd/cover	4.452s
> ok  	cmd/doc	0.104s
> ok  	cmd/fix	0.067s
> ok  	cmd/go	46.757s
> ok  	cmd/gofmt	0.132s
> ok  	cmd/internal/goobj	0.081s
> ok  	cmd/internal/obj	0.056s
> ok  	cmd/internal/obj/x86	0.025s
> ok  	cmd/internal/unvendor/golang.org/x/arch/arm/armasm	0.024s
> ok  	cmd/internal/unvendor/golang.org/x/arch/x86/x86asm	0.483s
> ok  	cmd/nm	2.876s
> ok  	cmd/objdump	6.452s
> ok  	cmd/pack	5.403s
> ok  	cmd/pprof/internal/profile	0.027s
> ok  	cmd/vet	5.597s
> 
> ##### GOMAXPROCS=2 runtime -cpu=1,2,4
> ok  	runtime	41.820s
> 
> ##### Testing without libgcc.
> ok  	crypto/x509	1.264s
> ok  	net	0.011s
> ok  	os/user	0.005s
> 
> ##### sync -cpu=10
> ok  	sync	0.162s
> 
> ##### ../misc/cgo/stdio
> 
> ##### ../misc/cgo/life
> 
> ##### ../misc/cgo/test
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/test	1.748s
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/test	1.754s
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/test	1.764s
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/testtls	0.005s
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/testtls	0.004s
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/testtls	0.004s
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/nocgo	0.003s
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/nocgo	0.003s
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/nocgo	0.003s
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/test	1.769s
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/testtls	0.005s
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/nocgo	0.003s
> 
> ##### Testing race detector
> ok  	runtime/race	2.604s
> ok  	flag	1.013s
> ok  	os/exec	2.034s
> ==2277==ERROR: ThreadSanitizer failed to allocate 0x2710000 (40960000) bytes at address 1fdebb6db0b00 (errno: 12)
> unexpected fault address 0x0
> fatal error: fault
> [signal 0x7 code=0x80 addr=0x0 pc=0x7f7aed71d245]
> 
> goroutine 1 [running, locked to thread]:
> runtime.throw(0x0, 0x7f7aed548e88)
> 	/<<PKGBUILDDIR>>/src/runtime/panic.go:547 +0x90 fp=0x7fff5a570cd0 sp=0x7fff5a570cb8
> 
> goroutine 17 [syscall, locked to thread]:
> runtime.goexit()
> 	/<<PKGBUILDDIR>>/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc820088fb8 sp=0xc820088fb0
> exit status 2
> FAIL	_/<<PKGBUILDDIR>>/misc/cgo/test	0.010s
> 2017/02/22 03:14:24 Failed: exit status 1
> ==1241==ERROR: ThreadSanitizer failed to allocate 0x26e8000 (40796160) bytes at address 1fc9ce6dc0680 (errno: 12)
> unexpected fault address 0x0
> fatal error: fault
> [signal 0x7 code=0x80 addr=0x0 pc=0x7f273980b0e5]
> 
> goroutine 1 [running, locked to thread]:
> runtime.throw(0x0, 0x7f27396df378)
> 	/<<PKGBUILDDIR>>/src/runtime/panic.go:547 +0x90 fp=0x7ffe4fd47710 sp=0x7ffe4fd476f8
> 
> goroutine 17 [syscall, locked to thread]:
> runtime.goexit()
> 	/<<PKGBUILDDIR>>/src/runtime/asm_amd64.s:1998 +0x1
> FAIL	flag	0.013s
> ==1482==ERROR: ThreadSanitizer failed to allocate 0x2720000 (41025536) bytes at address 1ff0e3c708700 (errno: 12)
> unexpected fault address 0x0
> fatal error: fault
> [signal 0x7 code=0x80 addr=0x0 pc=0x7fc38ec5c405]
> 
> goroutine 1 [running, locked to thread]:
> runtime.throw(0x0, 0x7fc38e8acfa8)
> 	/<<PKGBUILDDIR>>/src/runtime/panic.go:547 +0x90 fp=0x7ffc93b69080 sp=0x7ffc93b69068
> 
> goroutine 17 [syscall, locked to thread]:
> runtime.goexit()
> 	/<<PKGBUILDDIR>>/src/runtime/asm_amd64.s:1998 +0x1
> FAIL	os/exec	0.014s
> 2017/02/22 03:14:24 Failed: exit status 1
> 
> ##### ../misc/cgo/testgodefs
> 
> ##### ../misc/cgo/testso
> 
> ##### ../misc/cgo/testsovar
> 
> ##### ../misc/cgo/testcarchive
> PASS
> PASS
> PASS
> PASS
> PASS
> PASS
> 
> ##### ../misc/cgo/testcshared
> ok
> 
> ##### ../misc/cgo/testshared
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/testshared	11.345s
> 
> ##### ../misc/cgo/testasan
> 
> ##### ../misc/cgo/testsanitizers
> skipping msan test: -fsanitize=memory not supported
> 
> ##### ../misc/cgo/errors
> 
> ##### ../misc/cgo/testsigfwd
> 
> ##### ../test/bench/go1
> testing: warning: no tests to run
> PASS
> ok  	_/<<PKGBUILDDIR>>/test/bench/go1	3.018s
> 
> ##### ../test
> 
> ##### API check
> Go version is "go1.6.3", ignoring -next /<<PKGBUILDDIR>>/api/next.txt
> 
> FAILED
> debian/rules:63: recipe for target 'override_dh_auto_test-arch' failed
> make[1]: *** [override_dh_auto_test-arch] Error 1

The full build log is available from:
   http://aws-logs.debian.net/2017/02/21/golang-1.6_1.6.3-1_testing.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the pkg-golang-devel mailing list