[pkg-golang-devel] Bug#839317: golang-1.7: FTBFS: tests failed

Lucas Nussbaum lucas at debian.org
Sat Oct 1 08:49:10 UTC 2016


Source: golang-1.7
Version: 1.7.1-2
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20160930 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.026s
> ok  	archive/zip	0.067s
> ok  	bufio	0.069s
> ok  	bytes	0.137s
> ok  	compress/bzip2	0.070s
> ok  	compress/flate	1.084s
> ok  	compress/gzip	0.008s
> ok  	compress/lzw	0.004s
> ok  	compress/zlib	0.025s
> ok  	container/heap	0.009s
> ok  	container/list	0.019s
> ok  	container/ring	0.013s
> ok  	context	0.938s
> ok  	crypto/aes	0.026s
> ok  	crypto/cipher	0.003s
> ok  	crypto/des	0.008s
> ok  	crypto/dsa	0.003s
> ok  	crypto/ecdsa	0.115s
> ok  	crypto/elliptic	0.045s
> ok  	crypto/hmac	0.004s
> ok  	crypto/md5	0.003s
> ok  	crypto/rand	0.024s
> ok  	crypto/rc4	0.109s
> ok  	crypto/rsa	0.109s
> ok  	crypto/sha1	0.043s
> ok  	crypto/sha256	0.014s
> ok  	crypto/sha512	0.010s
> ok  	crypto/subtle	0.005s
> ok  	crypto/tls	1.069s
> ok  	crypto/x509	0.873s
> ok  	database/sql	0.045s
> ok  	database/sql/driver	0.007s
> ok  	debug/dwarf	0.009s
> ok  	debug/elf	0.025s
> ok  	debug/gosym	0.241s
> ok  	debug/macho	0.014s
> ok  	debug/pe	0.019s
> ok  	debug/plan9obj	0.014s
> ok  	encoding/ascii85	0.002s
> ok  	encoding/asn1	0.003s
> ok  	encoding/base32	0.006s
> ok  	encoding/base64	0.012s
> ok  	encoding/binary	0.003s
> ok  	encoding/csv	0.003s
> ok  	encoding/gob	0.062s
> ok  	encoding/hex	0.010s
> ok  	encoding/json	0.226s
> ok  	encoding/pem	0.015s
> ok  	encoding/xml	0.015s
> ok  	errors	0.002s
> ok  	expvar	0.004s
> ok  	flag	0.012s
> ok  	fmt	0.120s
> ok  	go/ast	0.011s
> ok  	go/build	0.072s
> ok  	go/constant	0.004s
> ok  	go/doc	0.044s
> ok  	go/format	0.008s
> ok  	go/internal/gccgoimporter	0.011s
> ok  	go/internal/gcimporter	0.402s
> ok  	go/parser	0.042s
> ok  	go/printer	0.421s
> ok  	go/scanner	0.004s
> ok  	go/token	0.025s
> ok  	go/types	0.619s
> ok  	hash/adler32	0.010s
> ok  	hash/crc32	0.004s
> ok  	hash/crc64	0.009s
> ok  	hash/fnv	0.005s
> ok  	html	0.003s
> ok  	html/template	0.041s
> ok  	image	0.148s
> ok  	image/color	0.080s
> ok  	image/draw	0.084s
> ok  	image/gif	0.122s
> ok  	image/jpeg	0.162s
> ok  	image/png	0.046s
> ok  	index/suffixarray	0.006s
> ok  	internal/singleflight	0.017s
> ok  	internal/trace	0.030s
> ok  	io	0.020s
> ok  	io/ioutil	0.013s
> ok  	log	0.008s
> ok  	log/syslog	2.016s
> ok  	math	0.003s
> ok  	math/big	0.397s
> ok  	math/cmplx	0.014s
> ok  	math/rand	0.088s
> ok  	mime	0.014s
> ok  	mime/multipart	0.370s
> ok  	mime/quotedprintable	0.156s
> ok  	net	1.516s
> ok  	net/http	9.628s
> ok  	net/http/cgi	0.240s
> ok  	net/http/cookiejar	0.005s
> ok  	net/http/fcgi	0.004s
> ok  	net/http/httptest	0.013s
> ok  	net/http/httptrace	0.002s
> ok  	net/http/httputil	0.021s
> ok  	net/http/internal	0.002s
> ok  	net/internal/socktest	0.002s
> ok  	net/mail	0.003s
> ok  	net/rpc	0.011s
> ok  	net/rpc/jsonrpc	0.006s
> ok  	net/smtp	0.027s
> ok  	net/textproto	0.003s
> ok  	net/url	0.005s
> ok  	os	0.225s
> ok  	os/exec	0.096s
> ok  	os/signal	4.232s
> ok  	os/user	0.003s
> ok  	path	0.002s
> ok  	path/filepath	0.009s
> ok  	reflect	0.061s
> ok  	regexp	0.159s
> ok  	regexp/syntax	0.462s
> ok  	runtime	21.273s
> ok  	runtime/debug	0.025s
> ok  	runtime/internal/atomic	0.069s
> ok  	runtime/internal/sys	0.010s
> ok  	runtime/pprof	1.457s
> ok  	runtime/trace	2.078s
> ok  	sort	0.073s
> ok  	strconv	0.944s
> ok  	strings	0.238s
> ok  	sync	0.129s
> ok  	sync/atomic	0.119s
> ok  	syscall	0.014s
> ok  	testing	1.266s
> ok  	testing/quick	0.052s
> ok  	text/scanner	0.004s
> ok  	text/tabwriter	0.003s
> ok  	text/template	0.621s
> ok  	text/template/parse	0.008s
> --- FAIL: TestLoadFixed (0.00s)
> 	time_test.go:943: Now().In(loc).Zone() = "-01", -3600, want "GMT+1", -3600
> FAIL
> FAIL	time	2.434s
> ok  	unicode	0.003s
> ok  	unicode/utf16	0.020s
> ok  	unicode/utf8	0.007s
> ok  	vendor/golang_org/x/net/http2/hpack	0.006s
> ok  	vendor/golang_org/x/net/lex/httplex	0.005s
> ok  	cmd/addr2line	0.718s
> ok  	cmd/api	0.013s
> ok  	cmd/asm/internal/asm	0.301s
> ok  	cmd/asm/internal/lex	0.010s
> ok  	cmd/compile/internal/big	0.874s
> ok  	cmd/compile/internal/gc	19.133s
> ok  	cmd/compile/internal/ssa	0.261s
> ok  	cmd/compile/internal/test	0.010s
> ok  	cmd/cover	1.457s
> ok  	cmd/doc	0.028s
> ok  	cmd/fix	0.022s
> ok  	cmd/go	45.117s
> ok  	cmd/gofmt	0.032s
> ok  	cmd/internal/goobj	0.005s
> ok  	cmd/internal/obj	0.004s
> ok  	cmd/internal/obj/x86	0.003s
> ok  	cmd/internal/pprof/profile	0.013s
> ok  	cmd/link	0.008s
> ok  	cmd/nm	0.657s
> ok  	cmd/objdump	1.907s
> ok  	cmd/pack	1.611s
> ok  	cmd/vendor/golang.org/x/arch/arm/armasm	0.006s
> ok  	cmd/vendor/golang.org/x/arch/x86/x86asm	0.281s
> ok  	cmd/vet	5.276s
> ok  	cmd/vet/internal/cfg	0.012s
> 2016/10/01 00:23:37 Failed: exit status 1
> 
> ##### GOMAXPROCS=2 runtime -cpu=1,2,4
> ok  	runtime	36.288s
> 
> ##### Testing without libgcc.
> ok  	crypto/x509	1.485s
> ok  	net	0.007s
> ok  	os/user	0.013s
> 
> ##### sync -cpu=10
> ok  	sync	0.223s
> 
> ##### ../misc/cgo/stdio
> 
> ##### ../misc/cgo/life
> 
> ##### ../misc/cgo/test
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/test	1.934s
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/test	1.776s
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/test	1.648s
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/testtls	0.010s
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/testtls	0.002s
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/testtls	0.001s
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/nocgo	0.011s
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/nocgo	0.016s
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/nocgo	0.006s
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/test	1.653s
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/testtls	0.011s
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/nocgo	0.019s
> 
> ##### Testing race detector
> ok  	runtime/race	3.921s
> ok  	flag	1.026s
> ok  	os/exec	2.081s
> PASS
> scatter = 0x5cf200
> hello from C
> sqrt is: 0
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/test	3.088s
> ok  	flag	1.030s
> ok  	os/exec	2.035s
> 
> ##### ../misc/cgo/testgodefs
> 
> ##### ../misc/cgo/testso
> 
> ##### ../misc/cgo/testsovar
> 
> ##### misc/cgo/testcarchive
> PASS
> 
> ##### ../misc/cgo/testcshared
> ok
> 
> ##### ../misc/cgo/testshared
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/testshared	17.001s
> 
> ##### ../misc/cgo/testasan
> 
> ##### ../misc/cgo/testsanitizers
> skipping msan tests: -fsanitize=memory not supported
> skipping remaining TSAN tests: GCC version 6 (older than 7)
> 
> ##### ../misc/cgo/errors
> 
> ##### ../misc/cgo/testsigfwd
> 
> ##### ../test/bench/go1
> testing: warning: no tests to run
> PASS
> ok  	_/<<PKGBUILDDIR>>/test/bench/go1	7.399s
> 
> ##### ../test
> 
> ##### API check
> Go version is "go1.7.1", ignoring -next /<<PKGBUILDDIR>>/api/next.txt
> 
> FAILED
> debian/rules:57: recipe for target 'override_dh_auto_test-arch' failed
> make[1]: *** [override_dh_auto_test-arch] Error 1

If the failure looks somehow time/timezone related:
Note that this rebuild was performed without the 'tzdata' package
installed in the chroot. tzdata used be (transitively) part of
build-essential, but it no longer is. If this package requires it to
build, it should be added to build-depends. For the release team's
opinion on this, see
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=836940#185

The full build log is available from:
   http://aws-logs.debian.net/2016/09/30/golang-1.7_1.7.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