[pkg-golang-devel] Bug#855926: golang: FTBFS: tests failed
Lucas Nussbaum
lucas at debian.org
Thu Feb 23 13:27:27 UTC 2017
Source: golang
Version: 2:1.6.1-2
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.048s
> ok archive/zip 0.179s
> ok bufio 0.177s
> ok bytes 0.235s
> ok compress/bzip2 0.219s
> ok compress/flate 0.944s
> ok compress/gzip 0.091s
> ok compress/lzw 0.073s
> ok compress/zlib 0.208s
> ok container/heap 0.031s
> ok container/list 0.007s
> ok container/ring 0.097s
> ok crypto/aes 0.081s
> ok crypto/cipher 0.007s
> ok crypto/des 0.031s
> ok crypto/dsa 0.009s
> ok crypto/ecdsa 0.094s
> ok crypto/elliptic 0.094s
> ok crypto/hmac 0.061s
> ok crypto/md5 0.063s
> ok crypto/rand 0.087s
> ok crypto/rc4 0.145s
> ok crypto/rsa 0.151s
> ok crypto/sha1 0.093s
> ok crypto/sha256 0.060s
> ok crypto/sha512 0.122s
> ok crypto/subtle 0.015s
> ok crypto/tls 2.598s
> ok crypto/x509 2.389s
> ok database/sql 0.141s
> ok database/sql/driver 0.035s
> ok debug/dwarf 0.018s
> ok debug/elf 0.091s
> ok debug/gosym 0.474s
> ok debug/macho 0.010s
> ok debug/pe 0.049s
> ok debug/plan9obj 0.047s
> ok encoding/ascii85 0.096s
> ok encoding/asn1 0.015s
> ok encoding/base32 0.055s
> ok encoding/base64 0.029s
> ok encoding/binary 0.055s
> ok encoding/csv 0.061s
> ok encoding/gob 0.110s
> ok encoding/hex 0.044s
> ok encoding/json 0.443s
> ok encoding/pem 0.210s
> ok encoding/xml 0.064s
> ok errors 0.053s
> ok expvar 0.092s
> ok flag 0.032s
> ok fmt 0.224s
> ok go/ast 0.070s
> ok go/build 0.162s
> ok go/constant 0.025s
> ok go/doc 0.078s
> ok go/format 0.026s
> ok go/internal/gccgoimporter 0.007s
> ok go/internal/gcimporter 0.331s
> ok go/parser 0.076s
> ok go/printer 0.622s
> ok go/scanner 0.016s
> ok go/token 0.070s
> ok go/types 1.751s
> ok hash/adler32 0.012s
> ok hash/crc32 0.040s
> ok hash/crc64 0.029s
> ok hash/fnv 0.012s
> ok html 0.087s
> ok html/template 0.058s
> ok image 0.254s
> ok image/color 0.175s
> ok image/draw 0.097s
> ok image/gif 0.118s
> ok image/jpeg 0.284s
> ok image/png 0.146s
> ok index/suffixarray 0.082s
> ok internal/golang.org/x/net/http2/hpack 0.016s
> ok internal/singleflight 0.097s
> ok internal/trace 0.032s
> ok io 0.111s
> ok io/ioutil 0.015s
> ok log 0.039s
> ok log/syslog 2.055s
> ok math 0.020s
> ok math/big 0.873s
> ok math/cmplx 0.006s
> ok math/rand 0.154s
> ok mime 0.037s
> ok mime/multipart 1.506s
> ok mime/quotedprintable 0.680s
> ok net 1.455s
> ok net/http 10.765s
> ok net/http/cgi 1.284s
> ok net/http/cookiejar 0.016s
> ok net/http/fcgi 0.009s
> ok net/http/httptest 0.013s
> ok net/http/httputil 0.094s
> ok net/http/internal 0.028s
> ok net/internal/socktest 0.027s
> ok net/mail 0.026s
> ok net/rpc 0.104s
> ok net/rpc/jsonrpc 0.029s
> ok net/smtp 0.057s
> ok net/textproto 0.013s
> ok net/url 0.064s
> ok os 0.273s
> ok os/exec 0.862s
> ok os/signal 4.429s
> ok os/user 0.035s
> ok path 0.004s
> ok path/filepath 0.020s
> ok reflect 0.298s
> ok regexp 1.103s
> ok regexp/syntax 0.488s
> ok runtime 15.680s
> ok runtime/debug 0.100s
> ok runtime/internal/atomic 0.235s
> ok runtime/pprof 3.028s
> ok runtime/trace 4.111s
> ok sort 0.088s
> ok strconv 0.886s
> ok strings 0.336s
> ok sync 0.247s
> ok sync/atomic 14.664s
> ok syscall 0.170s
> ok testing 1.178s
> ok testing/quick 0.091s
> ok text/scanner 0.012s
> ok text/tabwriter 0.019s
> ok text/template 0.065s
> ok text/template/parse 0.069s
> ok time 2.945s
> ok unicode 0.026s
> ok unicode/utf16 0.010s
> ok unicode/utf8 0.014s
> ok cmd/addr2line 2.727s
> ok cmd/api 0.056s
> ok cmd/asm/internal/asm 0.359s
> ok cmd/asm/internal/lex 0.057s
> ok cmd/compile/internal/big 1.496s
> ok cmd/compile/internal/gc 1.093s
> ok cmd/cover 4.663s
> ok cmd/doc 0.119s
> ok cmd/fix 0.077s
> ok cmd/go 47.395s
> ok cmd/gofmt 0.068s
> ok cmd/internal/goobj 0.038s
> ok cmd/internal/obj 0.040s
> ok cmd/internal/obj/x86 0.030s
> ok cmd/internal/unvendor/golang.org/x/arch/arm/armasm 0.038s
> ok cmd/internal/unvendor/golang.org/x/arch/x86/x86asm 0.561s
> ok cmd/nm 2.531s
> ok cmd/objdump 6.637s
> ok cmd/pack 5.590s
> ok cmd/pprof/internal/profile 0.037s
> ok cmd/vet 6.370s
>
> ##### GOMAXPROCS=2 runtime -cpu=1,2,4
> ok runtime 28.633s
>
> ##### Testing without libgcc.
> ok crypto/x509 1.261s
> ok net 0.010s
> ok os/user 0.005s
>
> ##### sync -cpu=10
> ok sync 0.163s
>
> ##### ../misc/cgo/stdio
>
> ##### ../misc/cgo/life
>
> ##### ../misc/cgo/test
> PASS
> ok _/<<PKGBUILDDIR>>/misc/cgo/test 1.760s
> PASS
> ok _/<<PKGBUILDDIR>>/misc/cgo/test 1.733s
> PASS
> ok _/<<PKGBUILDDIR>>/misc/cgo/test 1.742s
> PASS
> ok _/<<PKGBUILDDIR>>/misc/cgo/testtls 0.005s
> PASS
> ok _/<<PKGBUILDDIR>>/misc/cgo/testtls 0.005s
> PASS
> ok _/<<PKGBUILDDIR>>/misc/cgo/testtls 0.003s
> PASS
> ok _/<<PKGBUILDDIR>>/misc/cgo/nocgo 0.002s
> PASS
> ok _/<<PKGBUILDDIR>>/misc/cgo/nocgo 0.004s
> PASS
> ok _/<<PKGBUILDDIR>>/misc/cgo/nocgo 0.003s
> PASS
> ok _/<<PKGBUILDDIR>>/misc/cgo/test 1.725s
> PASS
> ok _/<<PKGBUILDDIR>>/misc/cgo/testtls 0.005s
> PASS
> ok _/<<PKGBUILDDIR>>/misc/cgo/nocgo 0.004s
>
> ##### Testing race detector
> ok runtime/race 2.665s
> ok flag 1.012s
> ok os/exec 2.031s
> ==108549==ERROR: ThreadSanitizer failed to allocate 0x2710000 (40960000) bytes at address 1fef897990b00 (errno: 12)
> unexpected fault address 0x0
> fatal error: fault
> [signal 0x7 code=0x80 addr=0x0 pc=0x7fbe25a18c95]
>
> goroutine 1 [running, locked to thread]:
> runtime.throw(0x0, 0x7fbe25844cf8)
> /<<PKGBUILDDIR>>/src/runtime/panic.go:530 +0x90 fp=0x7ffde238fe00 sp=0x7ffde238fde8
>
> 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:50:54 Failed: exit status 1
> ==107566==ERROR: ThreadSanitizer failed to allocate 0x26e8000 (40796160) bytes at address 1fe4f1d8a8680 (errno: 12)
> unexpected fault address 0x0
> fatal error: fault
> [signal 0x7 code=0x80 addr=0x0 pc=0x7f93c72c5e65]
>
> goroutine 1 [running, locked to thread]:
> runtime.throw(0x0, 0x7f93c719a208)
> /<<PKGBUILDDIR>>/src/runtime/panic.go:530 +0x90 fp=0x7ffccd8f44b0 sp=0x7ffccd8f4498
>
> goroutine 17 [syscall, locked to thread]:
> runtime.goexit()
> /<<PKGBUILDDIR>>/src/runtime/asm_amd64.s:1998 +0x1
> FAIL flag 0.012s
> ==107770==ERROR: ThreadSanitizer failed to allocate 0x2720000 (41025536) bytes at address 1fdb0d271c700 (errno: 12)
> unexpected fault address 0x0
> fatal error: fault
> [signal 0x7 code=0x80 addr=0x0 pc=0x7f6c34462305]
>
> goroutine 1 [running, locked to thread]:
> runtime.throw(0x0, 0x7f6c340b38d8)
> /<<PKGBUILDDIR>>/src/runtime/panic.go:530 +0x90 fp=0x7ffc06b2f210 sp=0x7ffc06b2f1f8
>
> 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:50:54 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.359s
>
> ##### ../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 2.970s
>
> ##### ../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/2017/02/21/golang_1.6.1-2_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