[pkg-golang-devel] Bug#848806: golang: FTBFS: debian/rules:32: recipe for target 'override_dh_auto_test-arch' failed

Lucas Nussbaum lucas at debian.org
Mon Dec 19 21:32:37 UTC 2016


Source: golang
Version: 2:1.6.1-2
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20161219 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, 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.044s
> ok  	archive/zip	0.141s
> ok  	bufio	0.192s
> ok  	bytes	0.315s
> ok  	compress/bzip2	0.247s
> ok  	compress/flate	0.868s
> ok  	compress/gzip	0.070s
> ok  	compress/lzw	0.053s
> ok  	compress/zlib	0.089s
> ok  	container/heap	0.010s
> ok  	container/list	0.014s
> ok  	container/ring	0.028s
> ok  	crypto/aes	0.044s
> ok  	crypto/cipher	0.045s
> ok  	crypto/des	0.028s
> ok  	crypto/dsa	0.021s
> ok  	crypto/ecdsa	0.052s
> ok  	crypto/elliptic	0.087s
> ok  	crypto/hmac	0.017s
> ok  	crypto/md5	0.033s
> ok  	crypto/rand	0.055s
> ok  	crypto/rc4	0.145s
> ok  	crypto/rsa	0.192s
> ok  	crypto/sha1	0.029s
> ok  	crypto/sha256	0.022s
> ok  	crypto/sha512	0.024s
> ok  	crypto/subtle	0.045s
> ok  	crypto/tls	2.756s
> ok  	crypto/x509	3.129s
> ok  	database/sql	0.083s
> ok  	database/sql/driver	0.009s
> ok  	debug/dwarf	0.016s
> ok  	debug/elf	0.076s
> ok  	debug/gosym	0.536s
> ok  	debug/macho	0.018s
> ok  	debug/pe	0.045s
> ok  	debug/plan9obj	0.024s
> ok  	encoding/ascii85	0.022s
> ok  	encoding/asn1	0.024s
> ok  	encoding/base32	0.021s
> ok  	encoding/base64	0.015s
> ok  	encoding/binary	0.007s
> ok  	encoding/csv	0.011s
> ok  	encoding/gob	0.088s
> ok  	encoding/hex	0.014s
> ok  	encoding/json	0.370s
> ok  	encoding/pem	0.080s
> ok  	encoding/xml	0.071s
> ok  	errors	0.016s
> ok  	expvar	0.111s
> ok  	flag	0.018s
> ok  	fmt	0.223s
> ok  	go/ast	0.034s
> ok  	go/build	0.156s
> ok  	go/constant	0.027s
> ok  	go/doc	0.089s
> ok  	go/format	0.021s
> ok  	go/internal/gccgoimporter	0.041s
> ok  	go/internal/gcimporter	0.364s
> ok  	go/parser	0.063s
> ok  	go/printer	0.591s
> ok  	go/scanner	0.016s
> ok  	go/token	0.047s
> ok  	go/types	1.856s
> ok  	hash/adler32	0.017s
> ok  	hash/crc32	0.067s
> ok  	hash/crc64	0.038s
> ok  	hash/fnv	0.074s
> ok  	html	0.079s
> ok  	html/template	0.084s
> ok  	image	0.226s
> ok  	image/color	0.119s
> ok  	image/draw	0.133s
> ok  	image/gif	0.118s
> ok  	image/jpeg	0.347s
> ok  	image/png	0.056s
> ok  	index/suffixarray	0.049s
> ok  	internal/golang.org/x/net/http2/hpack	0.009s
> ok  	internal/singleflight	0.024s
> ok  	internal/trace	0.074s
> ok  	io	0.061s
> ok  	io/ioutil	0.038s
> ok  	log	0.084s
> ok  	log/syslog	2.087s
> ok  	math	0.153s
> ok  	math/big	0.804s
> ok  	math/cmplx	0.022s
> ok  	math/rand	0.214s
> ok  	mime	0.029s
> ok  	mime/multipart	1.497s
> ok  	mime/quotedprintable	0.810s
> ok  	net	1.509s
> ok  	net/http	10.489s
> ok  	net/http/cgi	1.242s
> ok  	net/http/cookiejar	0.023s
> ok  	net/http/fcgi	0.020s
> ok  	net/http/httptest	0.026s
> ok  	net/http/httputil	0.198s
> ok  	net/http/internal	0.014s
> ok  	net/internal/socktest	0.030s
> ok  	net/mail	0.020s
> ok  	net/rpc	0.062s
> ok  	net/rpc/jsonrpc	0.071s
> ok  	net/smtp	0.067s
> ok  	net/textproto	0.035s
> ok  	net/url	0.178s
> ok  	os	0.775s
> ok  	os/exec	0.985s
> ok  	os/signal	4.420s
> ok  	os/user	0.007s
> ok  	path	0.007s
> ok  	path/filepath	0.035s
> ok  	reflect	0.314s
> ok  	regexp	0.900s
> ok  	regexp/syntax	0.508s
> ok  	runtime	14.985s
> ok  	runtime/debug	0.094s
> ok  	runtime/internal/atomic	0.231s
> ok  	runtime/pprof	3.184s
> ok  	runtime/trace	3.794s
> ok  	sort	0.105s
> ok  	strconv	0.867s
> ok  	strings	0.427s
> ok  	sync	0.183s
> ok  	sync/atomic	14.866s
> ok  	syscall	0.194s
> ok  	testing	1.231s
> ok  	testing/quick	0.094s
> ok  	text/scanner	0.009s
> ok  	text/tabwriter	0.015s
> ok  	text/template	0.088s
> ok  	text/template/parse	0.072s
> ok  	time	3.043s
> ok  	unicode	0.006s
> ok  	unicode/utf16	0.014s
> ok  	unicode/utf8	0.019s
> ok  	cmd/addr2line	2.889s
> ok  	cmd/api	0.052s
> ok  	cmd/asm/internal/asm	0.416s
> ok  	cmd/asm/internal/lex	0.102s
> ok  	cmd/compile/internal/big	1.525s
> ok  	cmd/compile/internal/gc	1.001s
> ok  	cmd/cover	4.525s
> ok  	cmd/doc	0.129s
> ok  	cmd/fix	0.064s
> ok  	cmd/go	46.846s
> ok  	cmd/gofmt	0.082s
> ok  	cmd/internal/goobj	0.057s
> ok  	cmd/internal/obj	0.036s
> ok  	cmd/internal/obj/x86	0.058s
> ok  	cmd/internal/unvendor/golang.org/x/arch/arm/armasm	0.030s
> ok  	cmd/internal/unvendor/golang.org/x/arch/x86/x86asm	0.448s
> ok  	cmd/nm	2.249s
> ok  	cmd/objdump	6.064s
> ok  	cmd/pack	5.645s
> ok  	cmd/pprof/internal/profile	0.028s
> ok  	cmd/vet	5.739s
> 
> ##### GOMAXPROCS=2 runtime -cpu=1,2,4
> ok  	runtime	30.652s
> 
> ##### Testing without libgcc.
> ok  	crypto/x509	1.200s
> ok  	net	0.010s
> ok  	os/user	0.006s
> 
> ##### sync -cpu=10
> ok  	sync	0.159s
> 
> ##### ../misc/cgo/stdio
> 
> ##### ../misc/cgo/life
> 
> ##### ../misc/cgo/test
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/test	1.740s
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/test	1.777s
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/test	1.727s
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/testtls	0.005s
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/testtls	0.004s
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/testtls	0.003s
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/nocgo	0.003s
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/nocgo	0.004s
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/nocgo	0.003s
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/test	1.778s
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/testtls	0.005s
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/nocgo	0.004s
> 
> ##### Testing race detector
> ok  	runtime/race	2.668s
> ok  	flag	1.010s
> ok  	os/exec	2.036s
> ==108642==ERROR: ThreadSanitizer failed to allocate 0x2710000 (40960000) bytes at address 1fcc06490cb00 (errno: 12)
> unexpected fault address 0x0
> fatal error: fault
> [signal 0x7 code=0x80 addr=0x0 pc=0x7f3018df7c95]
> 
> goroutine 1 [running, locked to thread]:
> runtime.throw(0x0, 0x7f3018c23cf8)
> 	/<<PKGBUILDDIR>>/src/runtime/panic.go:530 +0x90 fp=0x7ffde68a83e0 sp=0x7ffde68a83c8
> 
> 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.013s
> 2016/12/19 02:51:08 Failed: exit status 1
> ==107634==ERROR: ThreadSanitizer failed to allocate 0x26e8000 (40796160) bytes at address 1fef848b10680 (errno: 12)
> unexpected fault address 0x0
> fatal error: fault
> [signal 0x7 code=0x80 addr=0x0 pc=0x7fbe11f5fe65]
> 
> goroutine 1 [running, locked to thread]:
> runtime.throw(0x0, 0x7fbe11e34208)
> 	/<<PKGBUILDDIR>>/src/runtime/panic.go:530 +0x90 fp=0x7ffe40aa6610 sp=0x7ffe40aa65f8
> 
> goroutine 17 [syscall, locked to thread]:
> runtime.goexit()
> 	/<<PKGBUILDDIR>>/src/runtime/asm_amd64.s:1998 +0x1
> FAIL	flag	0.013s
> ==107861==ERROR: ThreadSanitizer failed to allocate 0x2720000 (41025536) bytes at address 1fc8dae474700 (errno: 12)
> unexpected fault address 0x0
> fatal error: fault
> [signal 0x7 code=0x80 addr=0x0 pc=0x7f236b3b8305]
> 
> goroutine 1 [running, locked to thread]:
> runtime.throw(0x0, 0x7f236b0098d8)
> 	/<<PKGBUILDDIR>>/src/runtime/panic.go:530 +0x90 fp=0x7ffc1827b040 sp=0x7ffc1827b028
> 
> goroutine 17 [syscall, locked to thread]:
> runtime.goexit()
> 	/<<PKGBUILDDIR>>/src/runtime/asm_amd64.s:1998 +0x1
> FAIL	os/exec	0.011s
> 2016/12/19 02:51:08 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.236s
> 
> ##### ../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.024s
> 
> ##### ../test
> 
> ##### API check
> Go version is "go1.6.1", ignoring -next /<<PKGBUILDDIR>>/api/next.txt
> 
> FAILED
> debian/rules:32: 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/2016/12/19/golang_1.6.1-2_unstable.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