[pkg-golang-devel] Bug#871344: golang-1.6: FTBFS: test fails

Lucas Nussbaum lucas at debian.org
Mon Aug 7 15:51:13 UTC 2017


Source: golang-1.6
Version: 1.6.3-1
Severity: serious
Tags: buster sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20170807 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.038s
> ok  	archive/zip	0.109s
> ok  	bufio	0.127s
> ok  	bytes	0.147s
> ok  	compress/bzip2	0.191s
> ok  	compress/flate	0.424s
> ok  	compress/gzip	0.074s
> ok  	compress/lzw	0.022s
> ok  	compress/zlib	0.080s
> ok  	container/heap	0.049s
> ok  	container/list	0.007s
> ok  	container/ring	0.033s
> ok  	crypto/aes	0.027s
> ok  	crypto/cipher	0.005s
> ok  	crypto/des	0.039s
> ok  	crypto/dsa	0.005s
> ok  	crypto/ecdsa	0.028s
> ok  	crypto/elliptic	0.093s
> ok  	crypto/hmac	0.019s
> ok  	crypto/md5	0.011s
> ok  	crypto/rand	0.011s
> ok  	crypto/rc4	0.224s
> ok  	crypto/rsa	0.229s
> ok  	crypto/sha1	0.032s
> ok  	crypto/sha256	0.072s
> ok  	crypto/sha512	0.005s
> ok  	crypto/subtle	0.019s
> ok  	crypto/tls	1.621s
> ok  	crypto/x509	2.221s
> ok  	database/sql	0.056s
> ok  	database/sql/driver	0.003s
> ok  	debug/dwarf	0.017s
> ok  	debug/elf	0.034s
> ok  	debug/gosym	0.448s
> ok  	debug/macho	0.023s
> ok  	debug/pe	0.040s
> ok  	debug/plan9obj	0.004s
> ok  	encoding/ascii85	0.003s
> ok  	encoding/asn1	0.016s
> ok  	encoding/base32	0.022s
> ok  	encoding/base64	0.052s
> ok  	encoding/binary	0.033s
> ok  	encoding/csv	0.004s
> ok  	encoding/gob	0.060s
> ok  	encoding/hex	0.025s
> ok  	encoding/json	0.417s
> ok  	encoding/pem	0.025s
> ok  	encoding/xml	0.013s
> ok  	errors	0.089s
> ok  	expvar	0.029s
> ok  	flag	0.047s
> ok  	fmt	0.198s
> ok  	go/ast	0.006s
> ok  	go/build	0.118s
> ok  	go/constant	0.011s
> ok  	go/doc	0.047s
> ok  	go/format	0.088s
> ok  	go/internal/gccgoimporter	0.009s
> ok  	go/internal/gcimporter	0.392s
> ok  	go/parser	0.072s
> ok  	go/printer	0.563s
> ok  	go/scanner	0.012s
> ok  	go/token	0.062s
> ok  	go/types	1.119s
> ok  	hash/adler32	0.024s
> ok  	hash/crc32	0.016s
> ok  	hash/crc64	0.018s
> ok  	hash/fnv	0.013s
> ok  	html	0.028s
> ok  	html/template	0.039s
> ok  	image	0.180s
> ok  	image/color	0.122s
> ok  	image/draw	0.118s
> ok  	image/gif	0.124s
> ok  	image/jpeg	0.303s
> ok  	image/png	0.089s
> ok  	index/suffixarray	0.066s
> ok  	internal/golang.org/x/net/http2/hpack	0.026s
> ok  	internal/singleflight	0.014s
> ok  	internal/trace	0.003s
> ok  	io	0.021s
> ok  	io/ioutil	0.043s
> ok  	log	0.012s
> ok  	log/syslog	2.052s
> ok  	math	0.005s
> ok  	math/big	0.557s
> ok  	math/cmplx	0.004s
> ok  	math/rand	0.140s
> ok  	mime	0.056s
> ok  	mime/multipart	0.913s
> ok  	mime/quotedprintable	0.405s
> ok  	net	1.515s
> ok  	net/http	9.531s
> ok  	net/http/cgi	0.644s
> ok  	net/http/cookiejar	0.018s
> ok  	net/http/fcgi	0.033s
> ok  	net/http/httptest	0.058s
> ok  	net/http/httputil	0.065s
> ok  	net/http/internal	0.015s
> ok  	net/internal/socktest	0.046s
> ok  	net/mail	0.034s
> ok  	net/rpc	0.055s
> ok  	net/rpc/jsonrpc	0.012s
> ok  	net/smtp	0.108s
> ok  	net/textproto	0.008s
> ok  	net/url	0.009s
> ok  	os	0.400s
> ok  	os/exec	0.466s
> ok  	os/signal	4.367s
> ok  	os/user	0.005s
> ok  	path	0.004s
> ok  	path/filepath	0.016s
> ok  	reflect	0.188s
> ok  	regexp	0.291s
> ok  	regexp/syntax	0.552s
> ok  	runtime	16.734s
> ok  	runtime/debug	0.102s
> ok  	runtime/internal/atomic	0.179s
> ok  	runtime/pprof	2.182s
> ok  	runtime/trace	3.584s
> ok  	sort	0.093s
> ok  	strconv	0.729s
> ok  	strings	0.352s
> ok  	sync	0.196s
> ok  	sync/atomic	2.349s
> ok  	syscall	0.034s
> ok  	testing	2.545s
> ok  	testing/quick	0.127s
> ok  	text/scanner	0.020s
> ok  	text/tabwriter	0.027s
> ok  	text/template	0.047s
> ok  	text/template/parse	0.056s
> ok  	time	2.686s
> ok  	unicode	0.005s
> ok  	unicode/utf16	0.026s
> ok  	unicode/utf8	0.026s
> ok  	cmd/addr2line	1.731s
> ok  	cmd/api	0.033s
> ok  	cmd/asm/internal/asm	0.214s
> ok  	cmd/asm/internal/lex	0.003s
> ok  	cmd/compile/internal/big	0.891s
> ok  	cmd/compile/internal/gc	0.388s
> ok  	cmd/cover	2.730s
> ok  	cmd/doc	0.025s
> ok  	cmd/fix	0.013s
> ok  	cmd/go	31.642s
> ok  	cmd/gofmt	0.080s
> ok  	cmd/internal/goobj	0.013s
> ok  	cmd/internal/obj	0.030s
> ok  	cmd/internal/obj/x86	0.004s
> ok  	cmd/internal/unvendor/golang.org/x/arch/arm/armasm	0.013s
> ok  	cmd/internal/unvendor/golang.org/x/arch/x86/x86asm	0.369s
> ok  	cmd/nm	1.565s
> ok  	cmd/objdump	3.211s
> ok  	cmd/pack	2.404s
> ok  	cmd/pprof/internal/profile	0.004s
> ok  	cmd/vet	2.552s
> 
> ##### GOMAXPROCS=2 runtime -cpu=1,2,4
> ok  	runtime	36.130s
> 
> ##### Testing without libgcc.
> ok  	crypto/x509	0.853s
> ok  	net	0.007s
> ok  	os/user	0.003s
> 
> ##### sync -cpu=10
> ok  	sync	0.114s
> 
> ##### ../misc/cgo/stdio
> 
> ##### ../misc/cgo/life
> 
> ##### ../misc/cgo/test
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/test	1.667s
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/test	1.649s
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/test	1.651s
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/testtls	0.003s
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/testtls	0.003s
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/testtls	0.002s
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/nocgo	0.002s
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/nocgo	0.003s
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/nocgo	0.002s
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/test	1.648s
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/testtls	0.003s
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/nocgo	0.003s
> 
> ##### Testing race detector
> ok  	runtime/race	2.634s
> ok  	flag	1.007s
> ok  	os/exec	2.020s
> ==116817==ERROR: ThreadSanitizer failed to allocate 0x2710000 (40960000) bytes at address 17906a0780b00 (errno: 12)
> unexpected fault address 0x0
> fatal error: fault
> [signal 0x7 code=0x80 addr=0x0 pc=0x5641a7d921e5]
> 
> goroutine 1 [running, locked to thread]:
> runtime.throw(0x0, 0x5641a7bbde28)
> 	/<<PKGBUILDDIR>>/src/runtime/panic.go:547 +0x90 fp=0x7ffdfe11c620 sp=0x7ffdfe11c608
> 
> goroutine 17 [syscall, locked to thread]:
> runtime.goexit()
> 	/<<PKGBUILDDIR>>/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc820048fb8 sp=0xc820048fb0
> exit status 2
> FAIL	_/<<PKGBUILDDIR>>/misc/cgo/test	0.009s
> 2017/08/07 11:25:41 Failed: exit status 1
> ==115944==ERROR: ThreadSanitizer failed to allocate 0x26e8000 (40796160) bytes at address 177d8588f0680 (errno: 12)
> unexpected fault address 0x0
> fatal error: fault
> [signal 0x7 code=0x80 addr=0x0 pc=0x55f615ed8085]
> 
> goroutine 1 [running, locked to thread]:
> runtime.throw(0x0, 0x55f615dac318)
> 	/<<PKGBUILDDIR>>/src/runtime/panic.go:547 +0x90 fp=0x7ffec9ce11e0 sp=0x7ffec9ce11c8
> 
> goroutine 17 [syscall, locked to thread]:
> runtime.goexit()
> 	/<<PKGBUILDDIR>>/src/runtime/asm_amd64.s:1998 +0x1
> FAIL	flag	0.008s
> ==116149==ERROR: ThreadSanitizer failed to allocate 0x2720000 (41025536) bytes at address 17749e2dfc700 (errno: 12)
> unexpected fault address 0x0
> fatal error: fault
> [signal 0x7 code=0x80 addr=0x0 pc=0x55d2786193a5]
> 
> goroutine 1 [running, locked to thread]:
> runtime.throw(0x0, 0x55d278269f48)
> 	/<<PKGBUILDDIR>>/src/runtime/panic.go:547 +0x90 fp=0x7fffb8109d90 sp=0x7fffb8109d78
> 
> goroutine 17 [syscall, locked to thread]:
> runtime.goexit()
> 	/<<PKGBUILDDIR>>/src/runtime/asm_amd64.s:1998 +0x1
> FAIL	os/exec	0.009s
> 2017/08/07 11:25:41 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	8.243s
> 
> ##### ../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	7.792s
> 
> ##### ../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/08/07/golang-1.6_1.6.3-1_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