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

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


Source: golang-1.6
Version: 1.6.3-1
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.022s
> ok  	archive/zip	0.077s
> ok  	bufio	0.090s
> ok  	bytes	0.125s
> ok  	compress/bzip2	0.111s
> ok  	compress/flate	0.250s
> ok  	compress/gzip	0.033s
> ok  	compress/lzw	0.006s
> ok  	compress/zlib	0.025s
> ok  	container/heap	0.014s
> ok  	container/list	0.016s
> ok  	container/ring	0.016s
> ok  	crypto/aes	0.034s
> ok  	crypto/cipher	0.004s
> ok  	crypto/des	0.014s
> ok  	crypto/dsa	0.007s
> ok  	crypto/ecdsa	0.048s
> ok  	crypto/elliptic	0.048s
> ok  	crypto/hmac	0.003s
> ok  	crypto/md5	0.004s
> ok  	crypto/rand	0.039s
> ok  	crypto/rc4	0.143s
> ok  	crypto/rsa	0.153s
> ok  	crypto/sha1	0.012s
> ok  	crypto/sha256	0.013s
> ok  	crypto/sha512	0.007s
> ok  	crypto/subtle	0.011s
> ok  	crypto/tls	1.367s
> ok  	crypto/x509	1.439s
> ok  	database/sql	0.071s
> ok  	database/sql/driver	0.002s
> ok  	debug/dwarf	0.014s
> ok  	debug/elf	0.024s
> ok  	debug/gosym	0.281s
> ok  	debug/macho	0.021s
> ok  	debug/pe	0.020s
> ok  	debug/plan9obj	0.005s
> ok  	encoding/ascii85	0.009s
> ok  	encoding/asn1	0.008s
> ok  	encoding/base32	0.004s
> ok  	encoding/base64	0.003s
> ok  	encoding/binary	0.012s
> ok  	encoding/csv	0.014s
> ok  	encoding/gob	0.045s
> ok  	encoding/hex	0.013s
> ok  	encoding/json	0.217s
> ok  	encoding/pem	0.016s
> ok  	encoding/xml	0.030s
> ok  	errors	0.009s
> ok  	expvar	0.016s
> ok  	flag	0.003s
> ok  	fmt	0.192s
> ok  	go/ast	0.006s
> ok  	go/build	0.095s
> ok  	go/constant	0.004s
> ok  	go/doc	0.041s
> ok  	go/format	0.012s
> ok  	go/internal/gccgoimporter	0.003s
> ok  	go/internal/gcimporter	0.218s
> ok  	go/parser	0.042s
> ok  	go/printer	0.496s
> ok  	go/scanner	0.004s
> ok  	go/token	0.027s
> ok  	go/types	0.794s
> ok  	hash/adler32	0.006s
> ok  	hash/crc32	0.012s
> ok  	hash/crc64	0.002s
> ok  	hash/fnv	0.002s
> ok  	html	0.004s
> ok  	html/template	0.047s
> ok  	image	0.194s
> ok  	image/color	0.108s
> ok  	image/draw	0.108s
> ok  	image/gif	0.103s
> ok  	image/jpeg	0.230s
> ok  	image/png	0.080s
> ok  	index/suffixarray	0.010s
> ok  	internal/golang.org/x/net/http2/hpack	0.019s
> ok  	internal/singleflight	0.013s
> ok  	internal/trace	0.014s
> ok  	io	0.022s
> ok  	io/ioutil	0.003s
> ok  	log	0.007s
> ok  	log/syslog	2.020s
> ok  	math	0.003s
> ok  	math/big	0.565s
> ok  	math/cmplx	0.015s
> ok  	math/rand	0.098s
> ok  	mime	0.019s
> ok  	mime/multipart	0.597s
> ok  	mime/quotedprintable	0.209s
> ok  	net	1.618s
> ok  	net/http	10.019s
> ok  	net/http/cgi	0.285s
> ok  	net/http/cookiejar	0.005s
> ok  	net/http/fcgi	0.004s
> ok  	net/http/httptest	0.014s
> ok  	net/http/httputil	0.019s
> ok  	net/http/internal	0.002s
> ok  	net/internal/socktest	0.002s
> ok  	net/mail	0.003s
> ok  	net/rpc	0.019s
> ok  	net/rpc/jsonrpc	0.008s
> ok  	net/smtp	0.043s
> ok  	net/textproto	0.004s
> ok  	net/url	0.004s
> ok  	os	0.278s
> ok  	os/exec	0.098s
> ok  	os/signal	4.237s
> ok  	os/user	0.003s
> ok  	path	0.002s
> ok  	path/filepath	0.009s
> ok  	reflect	0.100s
> ok  	regexp	0.243s
> ok  	regexp/syntax	0.602s
> ok  	runtime	30.303s
> ok  	runtime/debug	0.008s
> ok  	runtime/internal/atomic	0.077s
> ok  	runtime/pprof	1.472s
> ok  	runtime/trace	3.345s
> ok  	sort	0.168s
> ok  	strconv	0.875s
> ok  	strings	0.188s
> ok  	sync	0.140s
> ok  	sync/atomic	1.034s
> ok  	syscall	0.010s
> ok  	testing	1.144s
> ok  	testing/quick	0.073s
> ok  	text/scanner	0.005s
> ok  	text/tabwriter	0.012s
> ok  	text/template	0.038s
> ok  	text/template/parse	0.021s
> --- FAIL: TestLoadFixed (0.00s)
> 	time_test.go:943: Now().In(loc).Zone() = "-01", -3600, want "GMT+1", -3600
> FAIL
> FAIL	time	2.451s
> ok  	unicode	0.003s
> ok  	unicode/utf16	0.002s
> ok  	unicode/utf8	0.003s
> ok  	cmd/addr2line	0.881s
> ok  	cmd/api	0.006s
> ok  	cmd/asm/internal/asm	0.180s
> ok  	cmd/asm/internal/lex	0.003s
> ok  	cmd/compile/internal/big	0.921s
> ok  	cmd/compile/internal/gc	0.678s
> ok  	cmd/cover	2.761s
> ok  	cmd/doc	0.021s
> ok  	cmd/fix	0.017s
> ok  	cmd/go	54.165s
> ok  	cmd/gofmt	0.036s
> ok  	cmd/internal/goobj	0.002s
> ok  	cmd/internal/obj	0.003s
> ok  	cmd/internal/obj/x86	0.012s
> ok  	cmd/internal/unvendor/golang.org/x/arch/arm/armasm	0.009s
> ok  	cmd/internal/unvendor/golang.org/x/arch/x86/x86asm	0.305s
> ok  	cmd/nm	1.450s
> ok  	cmd/objdump	4.256s
> ok  	cmd/pack	3.059s
> ok  	cmd/pprof/internal/profile	0.016s
> ok  	cmd/vet	4.233s
> 2016/10/01 00:44:25 Failed: exit status 1
> 
> ##### GOMAXPROCS=2 runtime -cpu=1,2,4
> ok  	runtime	52.585s
> 
> ##### Testing without libgcc.
> ok  	crypto/x509	2.811s
> ok  	net	0.009s
> ok  	os/user	0.016s
> 
> ##### sync -cpu=10
> ok  	sync	0.150s
> 
> ##### ../misc/cgo/stdio
> 
> ##### ../misc/cgo/life
> 
> ##### ../misc/cgo/test
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/test	2.046s
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/test	1.908s
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/test	1.835s
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/testtls	0.008s
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/testtls	0.007s
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/testtls	0.001s
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/nocgo	0.006s
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/nocgo	0.023s
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/nocgo	0.008s
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/test	1.653s
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/testtls	0.013s
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/nocgo	0.017s
> 
> ##### Testing race detector
> ok  	runtime/race	5.347s
> ok  	flag	1.018s
> ok  	os/exec	2.059s
> PASS
> scatter = 0x6439e0
> hello from C
> sqrt is: 0
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/test	3.030s
> ok  	flag	1.031s
> ok  	os/exec	2.036s
> 
> ##### ../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	19.670s
> 
> ##### ../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	9.609s
> 
> ##### ../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

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.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