Closed ajstarks closed 9 years ago
Looks like a timeout running the cmd/go tests, which admittedly take a long time.
Your installation succeeded--it was just the tests that failed. On your system, can you run
go test -test.v -test.short cmd/go
and paste the output? Thanks. It will take a long time to run. What I want to know is which tests took the longest.
I cannot speak for the OP, but this is what mine is doing.
pi@raspberrypi ~ $ go version; date; go test -test.v -test.short cmd/go; date
go version devel +e1ee314 Sat Jul 18 19:51:50 2015 +0000 linux/arm
Sat Jul 18 23:17:56 EDT 2015
SIGQUIT: quit
PC=0x2749d0
goroutine 1 [syscall]:
syscall.Syscall6(0x72, 0xcde, 0x108c9cc8, 0x0, 0x1081e7d0, 0x0, 0x0, 0x1cef14, 0x1ce684, 0x8)
/home/pi/go/src/syscall/asm_linux_arm.s:48 +0x8 fp=0x108c9c7c sp=0x108c9c78
syscall.wait4(0xcde, 0x108c9cc8, 0x0, 0x1081e7d0, 0x50, 0x0, 0x0)
/home/pi/go/src/syscall/zsyscall_linux_arm.go:172 +0x64 fp=0x108c9ca8 sp=0x108c9c7c
syscall.Wait4(0xcde, 0x108c9cec, 0x0, 0x1081e7d0, 0x108c9d54, 0x0, 0x0)
/home/pi/go/src/syscall/syscall_linux.go:256 +0x54 fp=0x108c9ccc sp=0x108c9ca8
os.(*Process).wait(0x108d8bd0, 0x3, 0x0, 0x0)
/home/pi/go/src/os/exec_unix.go:22 +0xcc fp=0x108c9d24 sp=0x108c9ccc
os.(*Process).Wait(0x108d8bd0, 0x108d8a50, 0x0, 0x0)
/home/pi/go/src/os/doc.go:45 +0x2c fp=0x108c9d38 sp=0x108c9d24
os/exec.(*Cmd).Wait(0x10868320, 0x0, 0x0)
/home/pi/go/src/os/exec/exec.go:379 +0x1b4 fp=0x108c9da0 sp=0x108c9d38
os/exec.(*Cmd).Run(0x10868320, 0x0, 0x0)
/home/pi/go/src/os/exec/exec.go:257 +0x58 fp=0x108c9db8 sp=0x108c9da0
os/exec.(*Cmd).CombinedOutput(0x10868320, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/pi/go/src/os/exec/exec.go:423 +0x2c8 fp=0x108c9e00 sp=0x108c9db8
cmd/go_test.TestMain(0x108c9f6c)
/home/pi/go/src/cmd/go/go_test.go:61 +0x118 fp=0x108c9f1c sp=0x108c9e00
main.main()
cmd/go/_test/_testmain.go:304 +0x118 fp=0x108c9f94 sp=0x108c9f1c
runtime.main()
/home/pi/go/src/runtime/proc.go:111 +0x2b4 fp=0x108c9fbc sp=0x108c9f94
runtime.goexit()
/home/pi/go/src/runtime/asm_arm.s:1016 +0x4 fp=0x108c9fbc sp=0x108c9fbc
goroutine 17 [syscall, locked to thread]:
runtime.goexit()
/home/pi/go/src/runtime/asm_arm.s:1016 +0x4
goroutine 5 [syscall]:
os/signal.loop()
/home/pi/go/src/os/signal/signal_unix.go:22 +0x14
created by os/signal.init.1
/home/pi/go/src/os/signal/signal_unix.go:28 +0x30
goroutine 7 [syscall]:
syscall.Syscall(0x3, 0x4, 0x10874800, 0x200, 0x549a4, 0x200, 0x3f9a58)
/home/pi/go/src/syscall/asm_linux_arm.s:17 +0x8
syscall.read(0x4, 0x10874800, 0x200, 0x200, 0x13bd7c, 0x0, 0x0)
/home/pi/go/src/syscall/zsyscall_linux_arm.go:783 +0x78
syscall.Read(0x4, 0x10874800, 0x200, 0x200, 0x0, 0x0, 0x0)
/home/pi/go/src/syscall/syscall_unix.go:160 +0x4c
os.(*File).read(0x10828e10, 0x10874800, 0x200, 0x200, 0x10874800, 0x0, 0x0)
/home/pi/go/src/os/file_unix.go:211 +0x54
os.(*File).Read(0x10828e10, 0x10874800, 0x200, 0x200, 0x40608, 0x0, 0x0)
/home/pi/go/src/os/file.go:95 +0x7c
bytes.(*Buffer).ReadFrom(0x1087f620, 0xb6384348, 0x10828e10, 0x0, 0x0, 0x0, 0x0)
/home/pi/go/src/bytes/buffer.go:173 +0x22c
io.copyBuffer(0xb6384878, 0x1087f620, 0xb6384348, 0x10828e10, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/pi/go/src/io/io.go:375 +0x124
io.Copy(0xb6384878, 0x1087f620, 0xb6384348, 0x10828e10, 0x35145c, 0x108ac9b0, 0x0, 0x0)
/home/pi/go/src/io/io.go:351 +0x64
os/exec.(*Cmd).writerDescriptor.func1(0x0, 0x0)
/home/pi/go/src/os/exec/exec.go:232 +0x94
os/exec.(*Cmd).Start.func1(0x108d8a40, 0x10868320)
/home/pi/go/src/os/exec/exec.go:339 +0x1c
created by os/exec.(*Cmd).Start
/home/pi/go/src/os/exec/exec.go:340 +0x840
trap 0x6
error 0x0
oldmask 0x0
r0 0xcde
r1 0x108c9cc8
r2 0x0
r3 0x1081e7d0
r4 0x0
r5 0x0
r6 0x6
r7 0x72
r8 0x10800ea0
r9 0x0
r10 0x108000d0
fp 0x6a5694
ip 0x10800ed5
sp 0x108c9c78
lr 0x70548
pc 0x2749d0
cpsr 0x60000010
fault 0x0
*** Test killed with quit: ran too long (10m0s).
FAIL cmd/go 600.143s
Sat Jul 18 23:40:56 EDT 2015
pi@raspberrypi ~ $ go version; date; go test -test.v -test.short cmd/go; date
go version go1.5beta2 linux/arm
Sun Jul 19 09:02:11 EDT 2015
=== RUN TestGenerateCommandParse
--- PASS: TestGenerateCommandParse (0.00s)
=== RUN TestMatchPattern
--- PASS: TestMatchPattern (0.00s)
=== RUN TestChildrenCanMatchPattern
--- PASS: TestChildrenCanMatchPattern (0.00s)
=== RUN TestHasPathPrefix
--- PASS: TestHasPathPrefix (0.00s)
=== RUN TestNoteReading
--- PASS: TestNoteReading (42.61s)
=== RUN TestFoldDup
--- PASS: TestFoldDup (0.00s)
=== RUN TestParseMetaGoImports
--- PASS: TestParseMetaGoImports (0.00s)
=== RUN TestSelectTag
--- PASS: TestSelectTag (0.00s)
=== RUN TestRepoRootForImportPath
--- SKIP: TestRepoRootForImportPath (0.00s)
testenv.go:90: skipping test: no external network in -short mode
=== RUN TestIsSecure
--- PASS: TestIsSecure (0.00s)
=== RUN TestFileLineInErrorMessages
=== RUN TestProgramNameInCrashMessages
=== RUN TestBrokenTestsWithoutTestFunctionsAllFail
--- PASS: TestBrokenTestsWithoutTestFunctionsAllFail (5.96s)
go_test.go:242: running testgo [test ./testdata/src/badtest/...]
go_test.go:257: standard output:
go_test.go:258: panic: badexec
goroutine 1 [running]:
_/home/pi/go/src/cmd/go/testdata/src/badtest/badexec.init.1()
/home/pi/go/src/cmd/go/testdata/src/badtest/badexec/x_test.go:4 +0x58
_/home/pi/go/src/cmd/go/testdata/src/badtest/badexec.init()
/home/pi/go/src/cmd/go/testdata/src/badtest/badexec/x_test.go:5 +0x4c
main.init()
_/home/pi/go/src/cmd/go/testdata/src/badtest/badexec/_test/_testmain.go:54 +0x58
FAIL _/home/pi/go/src/cmd/go/testdata/src/badtest/badexec 0.022s
FAIL _/home/pi/go/src/cmd/go/testdata/src/badtest/badvar [build failed]
go_test.go:261: standard error:
go_test.go:262: # _/home/pi/go/src/cmd/go/testdata/src/badtest/badsyntax
testdata/src/badtest/badsyntax/x_test.go:3:6: expected 'IDENT', found 'func'
FAIL _/home/pi/go/src/cmd/go/testdata/src/badtest/badsyntax [setup failed]
# _/home/pi/go/src/cmd/go/testdata/src/badtest/badvar_test
testdata/src/badtest/badvar/x_test.go:4: undefined: notdefined
go_test.go:281: testgo failed as expected: exit status 2
=== RUN TestGoBuildDashAInDevBranch
--- SKIP: TestGoBuildDashAInDevBranch (0.00s)
go_test.go:633: don't rebuild the standard library in short mode
=== RUN TestGoBuilDashAInReleaseBranch
--- SKIP: TestGoBuilDashAInReleaseBranch (0.00s)
go_test.go:646: don't rebuild the standard library in short mode
=== RUN TestGoInstallCleansUpAfterGoBuild
--- PASS: TestGoInstallCleansUpAfterGoBuild (9.08s)
go_test.go:242: running testgo [build]
go_test.go:242: running testgo [install]
go_test.go:242: running testgo [build]
go_test.go:242: running testgo [install mycmd]
go_test.go:242: running testgo [build]
go_test.go:242: running testgo [install mycmd]
=== RUN TestGoInstallRebuildsStalePackagesInOtherGOPATH
=== RUN TestGoInstallDetectsRemovedFiles
=== RUN TestGoInstallErrorOnCrossCompileToBin
--- PASS: TestGoInstallErrorOnCrossCompileToBin (3.04s)
go_test.go:242: running testgo [build mycmd]
go_test.go:242: running testgo [install mycmd]
go_test.go:261: standard error:
go_test.go:262: go install: cannot install cross-compiled binaries when GOBIN is set
go_test.go:281: testgo failed as expected: exit status 1
go_test.go:242: running testgo [install mycmd]
go_test.go:261: standard error:
go_test.go:262: go install: cannot install cross-compiled binaries when GOBIN is set
go_test.go:281: testgo failed as expected: exit status 1
go_test.go:242: running testgo [install cmd/pack]
=== RUN TestGoInstsallDetectsRemovedFilesInPackageMain
=== RUN TestLocalImportsEasy
--- PASS: TestLocalImportsEasy (5.04s)
go_test.go:242: running testgo [build -o ./easy testdata/local/easy.go]
=== RUN TestLocalImportsEasySub
--- PASS: TestLocalImportsEasySub (5.04s)
go_test.go:242: running testgo [build -o ./easysub testdata/local/easysub/main.go]
=== RUN TestLocalImportsHard
--- PASS: TestLocalImportsHard (5.19s)
go_test.go:242: running testgo [build -o ./hard testdata/local/hard.go]
=== RUN TestLocalImportsGoInstallShouldFail
--- PASS: TestLocalImportsGoInstallShouldFail (0.39s)
go_test.go:242: running testgo [install testdata/local/easy.go]
go_test.go:261: standard error:
go_test.go:262: go install: no install location for .go files listed on command line (GOBIN not set)
go_test.go:281: testgo failed as expected: exit status 1
=== RUN TestBadImportsEasy
--- PASS: TestBadImportsEasy (5.60s)
go_test.go:242: running testgo [build -o ./easy testdata/#$%:, &()*;<=>?\^{}/easy.go]
=== RUN TestBadImportsEasySub
--- PASS: TestBadImportsEasySub (5.05s)
go_test.go:242: running testgo [build -o ./easysub testdata/#$%:, &()*;<=>?\^{}/easysub/main.go]
=== RUN TestBadImportsHard
--- PASS: TestBadImportsHard (5.24s)
go_test.go:242: running testgo [build -o ./hard testdata/#$%:, &()*;<=>?\^{}/hard.go]
=== RUN TestBadImportsGoInstallShouldFail
--- PASS: TestBadImportsGoInstallShouldFail (0.38s)
go_test.go:242: running testgo [install testdata/#$%:, &()*;<=>?\^{}/easy.go]
go_test.go:261: standard error:
go_test.go:262: go install: no install location for .go files listed on command line (GOBIN not set)
go_test.go:281: testgo failed as expected: exit status 1
=== RUN TestInternalPackagesInGOROOTAreRespected
--- PASS: TestInternalPackagesInGOROOTAreRespected (0.40s)
go_test.go:242: running testgo [build -v ./testdata/testinternal]
go_test.go:261: standard error:
go_test.go:262: package ./testdata/testinternal
imports net/http/internal: use of internal package not allowed
go_test.go:281: testgo failed as expected: exit status 1
=== RUN TestInternalPackagesOutsideGOROOTAreRespected
--- PASS: TestInternalPackagesOutsideGOROOTAreRespected (0.21s)
go_test.go:242: running testgo [build -v ./testdata/testinternal2]
go_test.go:261: standard error:
go_test.go:262: package ./testdata/testinternal2
imports ./x/y/z/internal/w: use of internal package not allowed
go_test.go:281: testgo failed as expected: exit status 1
=== RUN TestInternalPackageErrorsAreHandled
--- PASS: TestInternalPackageErrorsAreHandled (0.21s)
go_test.go:242: running testgo [list ./testdata/testinternal3]
go_test.go:257: standard output:
go_test.go:258: _/home/pi/go/src/cmd/go/testdata/testinternal3
=== RUN TestMoveGit
--- SKIP: TestMoveGit (0.00s)
testenv.go:90: skipping test: no external network in -short mode
=== RUN TestImportCommandMatch
--- PASS: TestImportCommandMatch (0.37s)
go_test.go:242: running testgo [build ./testdata/importcom/works.go]
=== RUN TestImportCommentMismatch
--- PASS: TestImportCommentMismatch (0.20s)
go_test.go:242: running testgo [build ./testdata/importcom/wrongplace.go]
go_test.go:261: standard error:
go_test.go:262: testdata/importcom/wrongplace.go:3:8: code in directory /home/pi/go/src/cmd/go/testdata/importcom/src/wrongplace expects import "my/x"
go_test.go:281: testgo failed as expected: exit status 1
=== RUN TestImportCommentSyntaxError
--- PASS: TestImportCommentSyntaxError (0.20s)
go_test.go:242: running testgo [build ./testdata/importcom/bad.go]
go_test.go:261: standard error:
go_test.go:262: testdata/importcom/bad.go:3:8: /home/pi/go/src/cmd/go/testdata/importcom/src/bad/bad.go:1: cannot parse import comment
go_test.go:281: testgo failed as expected: exit status 1
=== RUN TestImportCommentConflict
--- PASS: TestImportCommentConflict (0.20s)
go_test.go:242: running testgo [build ./testdata/importcom/conflict.go]
go_test.go:261: standard error:
go_test.go:262: testdata/importcom/conflict.go:3:8: found import comments "a" (a.go) and "b" (b.go) in /home/pi/go/src/cmd/go/testdata/importcom/src/conflict
go_test.go:281: testgo failed as expected: exit status 1
=== RUN TestIssue10952
--- SKIP: TestIssue10952 (0.00s)
testenv.go:90: skipping test: no external network in -short mode
=== RUN TestDisallowedCSourceFiles
--- PASS: TestDisallowedCSourceFiles (0.20s)
go_test.go:242: running testgo [build badc]
go_test.go:261: standard error:
go_test.go:262: can't load package: package badc: C source files not allowed when not using cgo or SWIG: x.c
go_test.go:281: testgo failed as expected: exit status 1
=== RUN TestErrorMessageForSyntaxErrorInTestGoFileSaysFAIL
--- PASS: TestErrorMessageForSyntaxErrorInTestGoFileSaysFAIL (0.45s)
go_test.go:242: running testgo [test syntaxerror]
go_test.go:261: standard error:
go_test.go:262: # syntaxerror
testdata/src/syntaxerror/x_test.go:3:11: expected identifier
FAIL syntaxerror [setup failed]
go_test.go:281: testgo failed as expected: exit status 1
=== RUN TestWildcardsDoNotLookInUselessDirectories
--- PASS: TestWildcardsDoNotLookInUselessDirectories (4.98s)
go_test.go:242: running testgo [list ...]
go_test.go:257: standard output:
go_test.go:258: archive/tar
archive/zip
bufio
bytes
cmd/addr2line
cmd/api
cmd/asm
cmd/asm/internal/arch
cmd/asm/internal/asm
cmd/asm/internal/flags
cmd/asm/internal/lex
cmd/cgo
cmd/compile
cmd/compile/internal/amd64
cmd/compile/internal/arm
cmd/compile/internal/arm64
cmd/compile/internal/big
cmd/compile/internal/gc
cmd/compile/internal/ppc64
cmd/compile/internal/x86
cmd/cover
cmd/dist
cmd/doc
cmd/fix
cmd/go
cmd/gofmt
cmd/internal/asm
cmd/internal/gcprog
cmd/internal/goobj
cmd/internal/obj
cmd/internal/obj/arm
cmd/internal/obj/arm64
cmd/internal/obj/ppc64
cmd/internal/obj/x86
cmd/internal/objfile
cmd/internal/rsc.io/arm/armasm
cmd/internal/rsc.io/x86/x86asm
cmd/link
cmd/link/internal/amd64
cmd/link/internal/arm
cmd/link/internal/arm64
cmd/link/internal/ld
cmd/link/internal/ppc64
cmd/link/internal/x86
cmd/newlink
cmd/nm
cmd/objdump
cmd/old5a
cmd/old6a
cmd/old8a
cmd/old9a
cmd/pack
cmd/pprof
cmd/pprof/internal/commands
cmd/pprof/internal/driver
cmd/pprof/internal/fetch
cmd/pprof/internal/plugin
cmd/pprof/internal/profile
cmd/pprof/internal/report
cmd/pprof/internal/svg
cmd/pprof/internal/symbolizer
cmd/pprof/internal/symbolz
cmd/pprof/internal/tempfile
cmd/trace
cmd/vet
cmd/vet/whitelist
cmd/yacc
compress/bzip2
compress/flate
compress/gzip
compress/lzw
compress/zlib
container/heap
container/list
container/ring
crypto
crypto/aes
crypto/cipher
crypto/des
crypto/dsa
crypto/ecdsa
crypto/elliptic
crypto/hmac
crypto/md5
crypto/rand
crypto/rc4
crypto/rsa
crypto/sha1
crypto/sha256
crypto/sha512
crypto/subtle
crypto/tls
crypto/x509
crypto/x509/pkix
database/sql
database/sql/driver
debug/dwarf
debug/elf
debug/gosym
debug/macho
debug/pe
debug/plan9obj
encoding
encoding/ascii85
encoding/asn1
encoding/base32
encoding/base64
encoding/binary
encoding/csv
encoding/gob
encoding/hex
encoding/json
encoding/pem
encoding/xml
errors
expvar
flag
fmt
go/ast
go/build
go/constant
go/doc
go/format
go/importer
go/internal/gccgoimporter
go/internal/gcimporter
go/parser
go/printer
go/scanner
go/token
go/types
hash
hash/adler32
hash/crc32
hash/crc64
hash/fnv
html
html/template
image
image/color
image/color/palette
image/draw
image/gif
image/internal/imageutil
image/jpeg
image/png
index/suffixarray
internal/format
internal/singleflight
internal/syscall/unix
internal/testenv
internal/trace
io
io/ioutil
log
log/syslog
math
math/big
math/cmplx
math/rand
mime
mime/multipart
mime/quotedprintable
net
net/http
net/http/cgi
net/http/cookiejar
net/http/fcgi
net/http/httptest
net/http/httputil
net/http/internal
net/http/pprof
net/internal/socktest
net/mail
net/rpc
net/rpc/jsonrpc
net/smtp
net/textproto
net/url
os
os/exec
os/signal
os/user
path
path/filepath
reflect
regexp
regexp/syntax
runtime
runtime/cgo
runtime/debug
runtime/pprof
runtime/race
sort
strconv
strings
sync
sync/atomic
syscall
testing
testing/iotest
testing/quick
text/scanner
text/tabwriter
text/template
text/template/parse
time
unicode
unicode/utf16
unicode/utf8
unsafe
badtest/badexec
badtest/badsyntax
badtest/badvar
cgotest
go-cmd-test
main_test
notest
syntaxerror
testcycle/p1
testcycle/p2
testcycle/p3
testcycle/q1
testdep/p1
testdep/p2
vend
vend/hello
vend/subdir
vend/vendor/p
vend/vendor/q
vend/vendor/strings
vend/x
vend/x/invalid
vend/x/vendor/p
vend/x/vendor/p/p
vend/x/vendor/r
vetpkg
xtestonly
go_test.go:261: standard error:
go_test.go:262: can't load package: package badc: C source files not allowed when not using cgo or SWIG: x.c
can't load package: package badpkg:
testdata/src/badpkg/x.go:1:1: expected 'package', found 'IDENT' pkg
go_test.go:281: testgo failed as expected: exit status 1
go_test.go:242: running testgo [list m...]
go_test.go:257: standard output:
go_test.go:258: math
math/big
math/cmplx
math/rand
mime
mime/multipart
mime/quotedprintable
main_test
=== RUN TestRelativeImportsGoTest
--- PASS: TestRelativeImportsGoTest (6.31s)
go_test.go:242: running testgo [test ./testdata/testimport]
go_test.go:257: standard output:
go_test.go:258: ok _/home/pi/go/src/cmd/go/testdata/testimport 0.017s
=== RUN TestRelativeImportsGoTestDashI
--- PASS: TestRelativeImportsGoTestDashI (0.45s)
go_test.go:242: running testgo [test -i ./testdata/testimport]
=== RUN TestRelativeImportsInCommandLinePackage
--- PASS: TestRelativeImportsInCommandLinePackage (6.32s)
go_test.go:242: running testgo [test testdata/testimport/p.go testdata/testimport/p_test.go testdata/testimport/x_test.go]
go_test.go:257: standard output:
go_test.go:258: ok command-line-arguments 0.018s
=== RUN TestVersionControlErrorMessageIncludesCorrectDirectory
--- PASS: TestVersionControlErrorMessageIncludesCorrectDirectory (0.21s)
go_test.go:242: running testgo [get -u foo]
go_test.go:261: standard error:
go_test.go:262: package foo: directory "/home/pi/go/src/cmd/go/testdata/shadow/root1/src/foo" is not using a known version control system
go_test.go:281: testgo failed as expected: exit status 1
=== RUN TestInstallFailsWithNoBuildableFiles
--- PASS: TestInstallFailsWithNoBuildableFiles (0.08s)
go_test.go:242: running testgo [install cgotest]
go_test.go:261: standard error:
go_test.go:262: can't load package: package cgotest: no buildable Go source files in /home/pi/go/src/cmd/go/testdata/src/cgotest
go_test.go:281: testgo failed as expected: exit status 1
=== RUN TestInstallIntoGOPATH
--- PASS: TestInstallIntoGOPATH (2.18s)
go_test.go:242: running testgo [install go-cmd-test]
=== RUN TestPackageMainTestImportsArchiveNotBinary
--- PASS: TestPackageMainTestImportsArchiveNotBinary (14.69s)
go_test.go:242: running testgo [test main_test]
go_test.go:257: standard output:
go_test.go:258: ok main_test 0.018s
go_test.go:242: running testgo [install main_test]
go_test.go:242: running testgo [list -f {{.Stale}} main_test]
go_test.go:257: standard output:
go_test.go:258: false
go_test.go:242: running testgo [test main_test]
go_test.go:257: standard output:
go_test.go:258: ok main_test 0.022s
=== RUN TestInstallIntoGOBIN
--- PASS: TestInstallIntoGOBIN (2.14s)
go_test.go:242: running testgo [install go-cmd-test]
=== RUN TestInstallToCurrentDirectoryCreatesExecutable
--- PASS: TestInstallToCurrentDirectoryCreatesExecutable (2.21s)
go_test.go:242: running testgo [install]
=== RUN TestInstallWithoutDestinationFails
--- PASS: TestInstallWithoutDestinationFails (0.23s)
go_test.go:242: running testgo [install testdata/src/go-cmd-test/helloworld.go]
go_test.go:261: standard error:
go_test.go:262: go install: no install location for .go files listed on command line (GOBIN not set)
go_test.go:281: testgo failed as expected: exit status 1
=== RUN TestInstallToGOBINCommandLinePackage
--- PASS: TestInstallToGOBINCommandLinePackage (2.16s)
go_test.go:242: running testgo [install testdata/src/go-cmd-test/helloworld.go]
=== RUN TestGodocInstalls
--- SKIP: TestGodocInstalls (0.00s)
testenv.go:90: skipping test: no external network in -short mode
=== RUN TestGoGetNonPkg
--- SKIP: TestGoGetNonPkg (0.00s)
testenv.go:90: skipping test: no external network in -short mode
=== RUN TestInstalls
=== RUN TestRejectRelativeDotPathInGOPATHCommandLinePackage
--- PASS: TestRejectRelativeDotPathInGOPATHCommandLinePackage (0.08s)
go_test.go:242: running testgo [build testdata/src/go-cmd-test/helloworld.go]
go_test.go:261: standard error:
go_test.go:262: go: GOPATH entry is relative; must be absolute path: ".".
Run 'go help gopath' for usage.
go_test.go:281: testgo failed as expected: exit status 2
=== RUN TestRejectRelativePathsInGOPATH
--- PASS: TestRejectRelativePathsInGOPATH (0.08s)
go_test.go:242: running testgo [build go-cmd-test]
go_test.go:261: standard error:
go_test.go:262: go: GOPATH entry is relative; must be absolute path: "".
Run 'go help gopath' for usage.
go_test.go:281: testgo failed as expected: exit status 2
=== RUN TestRejectRelativePathsInGOPATHCommandLinePackage
--- PASS: TestRejectRelativePathsInGOPATHCommandLinePackage (0.08s)
go_test.go:242: running testgo [build testdata/src/go-cmd-test/helloworld.go]
go_test.go:261: standard error:
go_test.go:262: go: GOPATH entry is relative; must be absolute path: "testdata".
Run 'go help gopath' for usage.
go_test.go:281: testgo failed as expected: exit status 2
=== RUN TestGoTestWithPackageListedMultipleTimes
--- PASS: TestGoTestWithPackageListedMultipleTimes (22.39s)
go_test.go:242: running testgo [test fmt fmt fmt fmt fmt]
go_test.go:257: standard output:
go_test.go:258: ok fmt 1.840s
=== RUN TestGoListHasAConsistentOrder
--- PASS: TestGoListHasAConsistentOrder (4.24s)
go_test.go:242: running testgo [list std]
go_test.go:257: standard output:
go_test.go:258: archive/tar
archive/zip
bufio
bytes
compress/bzip2
compress/flate
compress/gzip
compress/lzw
compress/zlib
container/heap
container/list
container/ring
crypto
crypto/aes
crypto/cipher
crypto/des
crypto/dsa
crypto/ecdsa
crypto/elliptic
crypto/hmac
crypto/md5
crypto/rand
crypto/rc4
crypto/rsa
crypto/sha1
crypto/sha256
crypto/sha512
crypto/subtle
crypto/tls
crypto/x509
crypto/x509/pkix
database/sql
database/sql/driver
debug/dwarf
debug/elf
debug/gosym
debug/macho
debug/pe
debug/plan9obj
encoding
encoding/ascii85
encoding/asn1
encoding/base32
encoding/base64
encoding/binary
encoding/csv
encoding/gob
encoding/hex
encoding/json
encoding/pem
encoding/xml
errors
expvar
flag
fmt
go/ast
go/build
go/constant
go/doc
go/format
go/importer
go/internal/gccgoimporter
go/internal/gcimporter
go/parser
go/printer
go/scanner
go/token
go/types
hash
hash/adler32
hash/crc32
hash/crc64
hash/fnv
html
html/template
image
image/color
image/color/palette
image/draw
image/gif
image/internal/imageutil
image/jpeg
image/png
index/suffixarray
internal/format
internal/singleflight
internal/syscall/unix
internal/testenv
internal/trace
io
io/ioutil
log
log/syslog
math
math/big
math/cmplx
math/rand
mime
mime/multipart
mime/quotedprintable
net
net/http
net/http/cgi
net/http/cookiejar
net/http/fcgi
net/http/httptest
net/http/httputil
net/http/internal
net/http/pprof
net/internal/socktest
net/mail
net/rpc
net/rpc/jsonrpc
net/smtp
net/textproto
net/url
os
os/exec
os/signal
os/user
path
path/filepath
reflect
regexp
regexp/syntax
runtime
runtime/cgo
runtime/debug
runtime/pprof
runtime/race
sort
strconv
strings
sync
sync/atomic
syscall
testing
testing/iotest
testing/quick
text/scanner
text/tabwriter
text/template
text/template/parse
time
unicode
unicode/utf16
unicode/utf8
unsafe
go_test.go:242: running testgo [list std]
go_test.go:257: standard output:
go_test.go:258: archive/tar
archive/zip
bufio
bytes
compress/bzip2
compress/flate
compress/gzip
compress/lzw
compress/zlib
container/heap
container/list
container/ring
crypto
crypto/aes
crypto/cipher
crypto/des
crypto/dsa
crypto/ecdsa
crypto/elliptic
crypto/hmac
crypto/md5
crypto/rand
crypto/rc4
crypto/rsa
crypto/sha1
crypto/sha256
crypto/sha512
crypto/subtle
crypto/tls
crypto/x509
crypto/x509/pkix
database/sql
database/sql/driver
debug/dwarf
debug/elf
debug/gosym
debug/macho
debug/pe
debug/plan9obj
encoding
encoding/ascii85
encoding/asn1
encoding/base32
encoding/base64
encoding/binary
encoding/csv
encoding/gob
encoding/hex
encoding/json
encoding/pem
encoding/xml
errors
expvar
flag
fmt
go/ast
go/build
go/constant
go/doc
go/format
go/importer
go/internal/gccgoimporter
go/internal/gcimporter
go/parser
go/printer
go/scanner
go/token
go/types
hash
hash/adler32
hash/crc32
hash/crc64
hash/fnv
html
html/template
image
image/color
image/color/palette
image/draw
image/gif
image/internal/imageutil
image/jpeg
image/png
index/suffixarray
internal/format
internal/singleflight
internal/syscall/unix
internal/testenv
internal/trace
io
io/ioutil
log
log/syslog
math
math/big
math/cmplx
math/rand
mime
mime/multipart
mime/quotedprintable
net
net/http
net/http/cgi
net/http/cookiejar
net/http/fcgi
net/http/httptest
net/http/httputil
net/http/internal
net/http/pprof
net/internal/socktest
net/mail
net/rpc
net/rpc/jsonrpc
net/smtp
net/textproto
net/url
os
os/exec
os/signal
os/user
path
path/filepath
reflect
regexp
regexp/syntax
runtime
runtime/cgo
runtime/debug
runtime/pprof
runtime/race
sort
strconv
strings
sync
sync/atomic
syscall
testing
testing/iotest
testing/quick
text/scanner
text/tabwriter
text/template
text/template/parse
time
unicode
unicode/utf16
unicode/utf8
unsafe
=== RUN TestGoListStdDoesNotIncludeCommands
--- PASS: TestGoListStdDoesNotIncludeCommands (2.16s)
go_test.go:242: running testgo [list std]
go_test.go:257: standard output:
go_test.go:258: archive/tar
archive/zip
bufio
bytes
compress/bzip2
compress/flate
compress/gzip
compress/lzw
compress/zlib
container/heap
container/list
container/ring
crypto
crypto/aes
crypto/cipher
crypto/des
crypto/dsa
crypto/ecdsa
crypto/elliptic
crypto/hmac
crypto/md5
crypto/rand
crypto/rc4
crypto/rsa
crypto/sha1
crypto/sha256
crypto/sha512
crypto/subtle
crypto/tls
crypto/x509
crypto/x509/pkix
database/sql
database/sql/driver
debug/dwarf
debug/elf
debug/gosym
debug/macho
debug/pe
debug/plan9obj
encoding
encoding/ascii85
encoding/asn1
encoding/base32
encoding/base64
encoding/binary
encoding/csv
encoding/gob
encoding/hex
encoding/json
encoding/pem
encoding/xml
errors
expvar
flag
fmt
go/ast
go/build
go/constant
go/doc
go/format
go/importer
go/internal/gccgoimporter
go/internal/gcimporter
go/parser
go/printer
go/scanner
go/token
go/types
hash
hash/adler32
hash/crc32
hash/crc64
hash/fnv
html
html/template
image
image/color
image/color/palette
image/draw
image/gif
image/internal/imageutil
image/jpeg
image/png
index/suffixarray
internal/format
internal/singleflight
internal/syscall/unix
internal/testenv
internal/trace
io
io/ioutil
log
log/syslog
math
math/big
math/cmplx
math/rand
mime
mime/multipart
mime/quotedprintable
net
net/http
net/http/cgi
net/http/cookiejar
net/http/fcgi
net/http/httptest
net/http/httputil
net/http/internal
net/http/pprof
net/internal/socktest
net/mail
net/rpc
net/rpc/jsonrpc
net/smtp
net/textproto
net/url
os
os/exec
os/signal
os/user
path
path/filepath
reflect
regexp
regexp/syntax
runtime
runtime/cgo
runtime/debug
runtime/pprof
runtime/race
sort
strconv
strings
sync
sync/atomic
syscall
testing
testing/iotest
testing/quick
text/scanner
text/tabwriter
text/template
text/template/parse
time
unicode
unicode/utf16
unicode/utf8
unsafe
=== RUN TestGoListCmdOnlyShowsCommands
--- PASS: TestGoListCmdOnlyShowsCommands (1.81s)
go_test.go:242: running testgo [list cmd]
go_test.go:257: standard output:
go_test.go:258: cmd/addr2line
cmd/api
cmd/asm
cmd/asm/internal/arch
cmd/asm/internal/asm
cmd/asm/internal/flags
cmd/asm/internal/lex
cmd/cgo
cmd/compile
cmd/compile/internal/amd64
cmd/compile/internal/arm
cmd/compile/internal/arm64
cmd/compile/internal/big
cmd/compile/internal/gc
cmd/compile/internal/ppc64
cmd/compile/internal/x86
cmd/cover
cmd/dist
cmd/doc
cmd/fix
cmd/go
cmd/gofmt
cmd/internal/asm
cmd/internal/gcprog
cmd/internal/goobj
cmd/internal/obj
cmd/internal/obj/arm
cmd/internal/obj/arm64
cmd/internal/obj/ppc64
cmd/internal/obj/x86
cmd/internal/objfile
cmd/internal/rsc.io/arm/armasm
cmd/internal/rsc.io/x86/x86asm
cmd/link
cmd/link/internal/amd64
cmd/link/internal/arm
cmd/link/internal/arm64
cmd/link/internal/ld
cmd/link/internal/ppc64
cmd/link/internal/x86
cmd/newlink
cmd/nm
cmd/objdump
cmd/old5a
cmd/old6a
cmd/old8a
cmd/old9a
cmd/pack
cmd/pprof
cmd/pprof/internal/commands
cmd/pprof/internal/driver
cmd/pprof/internal/fetch
cmd/pprof/internal/plugin
cmd/pprof/internal/profile
cmd/pprof/internal/report
cmd/pprof/internal/svg
cmd/pprof/internal/symbolizer
cmd/pprof/internal/symbolz
cmd/pprof/internal/tempfile
cmd/trace
cmd/vet
cmd/vet/whitelist
cmd/yacc
=== RUN TestUnsuccessfulGoInstallShouldMentionMissingPackage
--- PASS: TestUnsuccessfulGoInstallShouldMentionMissingPackage (0.08s)
go_test.go:242: running testgo [install foo/quxx]
go_test.go:261: standard error:
go_test.go:262: can't load package: package foo/quxx: cannot find package "foo/quxx" in any of:
/home/pi/go/src/foo/quxx (from $GOROOT)
($GOPATH not set)
go_test.go:281: testgo failed as expected: exit status 1
=== RUN TestGOROOTSearchFailureReporting
--- PASS: TestGOROOTSearchFailureReporting (0.08s)
go_test.go:242: running testgo [install foo/quxx]
go_test.go:261: standard error:
go_test.go:262: can't load package: package foo/quxx: cannot find package "foo/quxx" in any of:
/home/pi/go/src/foo/quxx (from $GOROOT)
($GOPATH not set)
go_test.go:281: testgo failed as expected: exit status 1
=== RUN TestMultipleGOPATHEntriesReportedSeparately
--- PASS: TestMultipleGOPATHEntriesReportedSeparately (0.08s)
go_test.go:242: running testgo [install foo/quxx]
go_test.go:261: standard error:
go_test.go:262: can't load package: package foo/quxx: cannot find package "foo/quxx" in any of:
/home/pi/go/src/foo/quxx (from $GOROOT)
/home/pi/go/src/cmd/go/testdata/a/src/foo/quxx (from $GOPATH)
/home/pi/go/src/cmd/go/testdata/b/src/foo/quxx
go_test.go:281: testgo failed as expected: exit status 1
=== RUN TestMentionGOPATHInFirstGOPATHEntry
--- PASS: TestMentionGOPATHInFirstGOPATHEntry (0.09s)
go_test.go:242: running testgo [install foo/quxx]
go_test.go:261: standard error:
go_test.go:262: can't load package: package foo/quxx: cannot find package "foo/quxx" in any of:
/home/pi/go/src/foo/quxx (from $GOROOT)
/home/pi/go/src/cmd/go/testdata/a/src/foo/quxx (from $GOPATH)
/home/pi/go/src/cmd/go/testdata/b/src/foo/quxx
go_test.go:281: testgo failed as expected: exit status 1
=== RUN TestMentionGOPATHNotOnSecondEntry
--- PASS: TestMentionGOPATHNotOnSecondEntry (0.09s)
go_test.go:242: running testgo [install foo/quxx]
go_test.go:261: standard error:
go_test.go:262: can't load package: package foo/quxx: cannot find package "foo/quxx" in any of:
/home/pi/go/src/foo/quxx (from $GOROOT)
/home/pi/go/src/cmd/go/testdata/a/src/foo/quxx (from $GOPATH)
/home/pi/go/src/cmd/go/testdata/b/src/foo/quxx
go_test.go:281: testgo failed as expected: exit status 1
=== RUN TestMissingGOPATHIsReported
--- PASS: TestMissingGOPATHIsReported (0.08s)
go_test.go:242: running testgo [install foo/quxx]
go_test.go:261: standard error:
go_test.go:262: can't load package: package foo/quxx: cannot find package "foo/quxx" in any of:
/home/pi/go/src/foo/quxx (from $GOROOT)
($GOPATH not set)
go_test.go:281: testgo failed as expected: exit status 1
=== RUN TestWithoutGOPATHGoGetFails
--- SKIP: TestWithoutGOPATHGoGetFails (0.00s)
testenv.go:90: skipping test: no external network in -short mode
=== RUN TestWithGOPATHEqualsGOROOTGoGetFails
--- SKIP: TestWithGOPATHEqualsGOROOTGoGetFails (0.00s)
testenv.go:90: skipping test: no external network in -short mode
=== RUN TestLdflagsArgumentsWithSpacesIssue3941
=== RUN TestGoTestCpuprofileLeavesBinaryBehind
--- PASS: TestGoTestCpuprofileLeavesBinaryBehind (23.36s)
go_test.go:242: running testgo [test -cpuprofile strings.prof strings]
go_test.go:257: standard output:
go_test.go:258: ok strings 6.849s
=== RUN TestGoTestCpuProfileDashOControlsBinaryLocation
--- PASS: TestGoTestCpuProfileDashOControlsBinaryLocation (23.05s)
go_test.go:242: running testgo [test -cpuprofile strings.prof -o mystrings.test strings]
go_test.go:257: standard output:
go_test.go:258: ok strings 6.828s
=== RUN TestGoTestDashCDashOControlsBinaryLocation
--- PASS: TestGoTestDashCDashOControlsBinaryLocation (16.33s)
go_test.go:242: running testgo [test -c -o mystrings.test strings]
=== RUN TestGoTestDashOWritesBinary
--- PASS: TestGoTestDashOWritesBinary (23.15s)
go_test.go:242: running testgo [test -o mystrings.test strings]
go_test.go:257: standard output:
go_test.go:258: ok strings 6.804s
=== RUN TestSymlinksDoNotConfuseGoList
--- PASS: TestSymlinksDoNotConfuseGoList (0.20s)
go_test.go:242: running testgo [list -f {{.Root}} dir1]
go_test.go:257: standard output:
go_test.go:258: /tmp/gotest474246879
=== RUN TestInstallWithTags
=== RUN TestCaseCollisions
=== RUN TestGoGetDashTIssue8181
--- SKIP: TestGoGetDashTIssue8181 (0.00s)
go_test.go:1539: skipping test that uses network in short mode
=== RUN TestIssue11307
--- SKIP: TestIssue11307 (0.00s)
go_test.go:1555: skipping test that uses network in short mode
=== RUN TestShadowingLogic
--- PASS: TestShadowingLogic (0.80s)
go_test.go:242: running testgo [list -f ({{.ImportPath}}) ({{.ConflictDir}}) ./testdata/shadow/root1/src/math]
go_test.go:257: standard output:
go_test.go:258: (_/home/pi/go/src/cmd/go/testdata/shadow/root1/src/math) (/home/pi/go/src/math)
go_test.go:242: running testgo [list -f ({{.ImportPath}}) ({{.ConflictDir}}) ./testdata/shadow/root1/src/foo]
go_test.go:257: standard output:
go_test.go:258: (foo) ()
go_test.go:242: running testgo [list -f ({{.ImportPath}}) ({{.ConflictDir}}) ./testdata/shadow/root2/src/foo]
go_test.go:257: standard output:
go_test.go:258: (_/home/pi/go/src/cmd/go/testdata/shadow/root2/src/foo) (/home/pi/go/src/cmd/go/testdata/shadow/root1/src/foo)
go_test.go:242: running testgo [install ./testdata/shadow/root2/src/foo]
go_test.go:261: standard error:
go_test.go:262: go install: no install location for /home/pi/go/src/cmd/go/testdata/shadow/root2/src/foo: hidden by /home/pi/go/src/cmd/go/testdata/shadow/root1/src/foo
go_test.go:281: testgo failed as expected: exit status 1
=== RUN TestSourceFileNameOrderPreserved
--- PASS: TestSourceFileNameOrderPreserved (6.05s)
go_test.go:242: running testgo [test testdata/example1_test.go testdata/example2_test.go]
go_test.go:257: standard output:
go_test.go:258: ok command-line-arguments 0.019s
=== RUN TestCoverageRuns
--- SKIP: TestCoverageRuns (0.00s)
go_test.go:1627: don't build libraries for coverage in short mode
=== RUN TestCoverageUsesSetMode
--- SKIP: TestCoverageUsesSetMode (0.00s)
go_test.go:1641: don't build libraries for coverage in short mode
=== RUN TestCoverageUsesAtomicModeForRace
--- SKIP: TestCoverageUsesAtomicModeForRace (0.00s)
go_test.go:1660: don't build libraries for coverage in short mode
=== RUN TestCoverageUsesActualSettingToOverrideEvenForRace
--- SKIP: TestCoverageUsesActualSettingToOverrideEvenForRace (0.00s)
go_test.go:1683: don't build libraries for coverage in short mode
=== RUN TestCoverageWithCgo
--- PASS: TestCoverageWithCgo (9.99s)
go_test.go:242: running testgo [test -short -cover ./testdata/cgocover]
go_test.go:257: standard output:
go_test.go:258: ok _/home/pi/go/src/cmd/go/testdata/cgocover 0.022s coverage: 66.7% of statements
go_test.go:1622: ok _/home/pi/go/src/cmd/go/testdata/cgocover 0.022s coverage: 66.7% of statements
=== RUN TestCgoDependsOnSyscall
--- SKIP: TestCgoDependsOnSyscall (0.00s)
go_test.go:1718: skipping test that removes $GOROOT/pkg/*_race in short mode
=== RUN TestCgoShowsFullPathNames
=== RUN TestCgoHandlesWlORIGIN
=== RUN TestIssue6480
--- PASS: TestIssue6480 (22.22s)
go_test.go:242: running testgo [test -c -test.bench=XXX fmt]
=== RUN TestIssue7573
--- SKIP: TestIssue7573 (0.00s)
go_test.go:1787: skipping because no gccgo compiler found
=== RUN TestListTemplateCanUseContextFunction
--- PASS: TestListTemplateCanUseContextFunction (0.88s)
go_test.go:242: running testgo [list -f GOARCH: {{context.GOARCH}}]
go_test.go:257: standard output:
go_test.go:258: GOARCH: arm
=== RUN TestIssue7108
--- PASS: TestIssue7108 (0.26s)
go_test.go:242: running testgo [test notest]
go_test.go:261: standard error:
go_test.go:262: # notest
testdata/src/notest/hello.go:6: non-declaration statement outside function body
testdata/src/notest/hello.go:6: syntax error: unexpected name, expecting semicolon or newline
go_test.go:281: testgo failed as expected: exit status 2
=== RUN TestIssue6844
--- SKIP: TestIssue6844 (0.00s)
go_test.go:1822: don't rebuild the standard libary in short mode
=== RUN TestBuildDashIInstallsDependencies
=== RUN TestGoBuildInTestOnlyDirectoryFailsWithAGoodError
--- PASS: TestGoBuildInTestOnlyDirectoryFailsWithAGoodError (0.21s)
go_test.go:242: running testgo [build ./testdata/testonly]
go_test.go:261: standard error:
go_test.go:262: go build _/home/pi/go/src/cmd/go/testdata/testonly: no buildable Go source files in /home/pi/go/src/cmd/go/testdata/testonly
go_test.go:281: testgo failed as expected: exit status 1
=== RUN TestGoTestDetectsTestOnlyImportCycles
--- PASS: TestGoTestDetectsTestOnlyImportCycles (0.41s)
go_test.go:242: running testgo [test -c testcycle/p3]
go_test.go:261: standard error:
go_test.go:262: # testcycle/p3
import cycle not allowed in test
package testcycle/p3 (test)
imports testcycle/p1
imports testcycle/p2
imports testcycle/p3
FAIL testcycle/p3 [setup failed]
go_test.go:281: testgo failed as expected: exit status 1
go_test.go:242: running testgo [test -c testcycle/q1]
go_test.go:261: standard error:
go_test.go:262: # testcycle/q1
import cycle not allowed in test
package testcycle/q1 (test)
imports testcycle/q1
FAIL testcycle/q1 [setup failed]
go_test.go:281: testgo failed as expected: exit status 1
=== RUN TestGoTestFooTestWorks
--- PASS: TestGoTestFooTestWorks (6.04s)
go_test.go:242: running testgo [test testdata/standalone_test.go]
go_test.go:257: standard output:
go_test.go:258: ok command-line-arguments 0.018s
=== RUN TestGoTestXtestonlyWorks
--- PASS: TestGoTestXtestonlyWorks (6.39s)
go_test.go:242: running testgo [clean -i xtestonly]
go_test.go:242: running testgo [test xtestonly]
go_test.go:257: standard output:
go_test.go:258: ok xtestonly 0.018s
=== RUN TestGoTestBuildsAnXtestContainingOnlyNonRunnableExamples
--- PASS: TestGoTestBuildsAnXtestContainingOnlyNonRunnableExamples (6.25s)
go_test.go:242: running testgo [test -v ./testdata/norunexample]
go_test.go:257: standard output:
go_test.go:258: File with non-runnable example was built.
=== RUN TestBuilt
A normal test was executed.
--- PASS: TestBuilt (0.00s)
PASS
ok _/home/pi/go/src/cmd/go/testdata/norunexample 0.022s
=== RUN TestGoGenerateHandlesSimpleCommand
--- PASS: TestGoGenerateHandlesSimpleCommand (0.21s)
go_test.go:242: running testgo [generate ./testdata/generate/test1.go]
go_test.go:257: standard output:
go_test.go:258: Success
=== RUN TestGoGenerateHandlesCommandAlias
--- PASS: TestGoGenerateHandlesCommandAlias (0.20s)
go_test.go:242: running testgo [generate ./testdata/generate/test2.go]
go_test.go:257: standard output:
go_test.go:258: Now is the time for all good men
=== RUN TestGoGenerateVariableSubstitution
--- PASS: TestGoGenerateVariableSubstitution (0.20s)
go_test.go:242: running testgo [generate ./testdata/generate/test3.go]
go_test.go:257: standard output:
go_test.go:258: arm test3.go:7 pabc xyzp/test3.go/123
=== RUN TestGoGenerateRunFlag
--- PASS: TestGoGenerateRunFlag (0.21s)
go_test.go:242: running testgo [generate -run y.s ./testdata/generate/test4.go]
go_test.go:257: standard output:
go_test.go:258: oh yes my man
=== RUN TestGoGetWorksWithVanityWildcards
--- SKIP: TestGoGetWorksWithVanityWildcards (0.00s)
testenv.go:90: skipping test: no external network in -short mode
=== RUN TestGoVetWithExternalTests
--- SKIP: TestGoVetWithExternalTests (0.00s)
testenv.go:90: skipping test: no external network in -short mode
=== RUN TestGoVetWithTags
--- SKIP: TestGoVetWithTags (0.00s)
testenv.go:90: skipping test: no external network in -short mode
=== RUN TestGoGetRscIoToolstash
--- SKIP: TestGoGetRscIoToolstash (0.00s)
testenv.go:90: skipping test: no external network in -short mode
=== RUN TestIssue4210
--- PASS: TestIssue4210 (0.38s)
go_test.go:242: running testgo [build y]
go_test.go:261: standard error:
go_test.go:262: can't load package: /tmp/gotest825536690/src/y/main.go:4:8: import "x" is a program, not an importable package
go_test.go:281: testgo failed as expected: exit status 1
=== RUN TestGoGetInsecure
--- SKIP: TestGoGetInsecure (0.00s)
testenv.go:90: skipping test: no external network in -short mode
=== RUN TestGoGetUpdateInsecure
--- SKIP: TestGoGetUpdateInsecure (0.00s)
testenv.go:90: skipping test: no external network in -short mode
=== RUN TestGoGetInsecureCustomDomain
--- SKIP: TestGoGetInsecureCustomDomain (0.00s)
testenv.go:90: skipping test: no external network in -short mode
=== RUN TestIssue10193
--- SKIP: TestIssue10193 (0.00s)
testenv.go:90: skipping test: no external network in -short mode
=== RUN TestGoRunDirs
--- PASS: TestGoRunDirs (0.17s)
go_test.go:242: running testgo [run x.go sub/sub.go]
go_test.go:261: standard error:
go_test.go:262: named files must all be in one directory; have ./ and sub/
go_test.go:281: testgo failed as expected: exit status 1
go_test.go:242: running testgo [run sub/sub.go x.go]
go_test.go:261: standard error:
go_test.go:262: named files must all be in one directory; have sub/ and ./
go_test.go:281: testgo failed as expected: exit status 1
=== RUN TestGoInstallPkgdir
--- PASS: TestGoInstallPkgdir (26.57s)
go_test.go:242: running testgo [install -pkgdir /tmp/gotest226078825 errors]
=== RUN TestGoTestRaceInstallCgo
--- SKIP: TestGoTestRaceInstallCgo (0.00s)
go_test.go:2108: no race detector on %s linux/arm
=== RUN TestGoTestImportErrorStack
--- PASS: TestGoTestImportErrorStack (0.20s)
go_test.go:242: running testgo [test testdep/p1]
go_test.go:261: standard error:
go_test.go:262: # testdep/p1
package testdep/p1 (test)
imports testdep/p2
imports testdep/p3: no buildable Go source files in /home/pi/go/src/cmd/go/testdata/src/testdep/p3
FAIL testdep/p1 [setup failed]
go_test.go:281: testgo failed as expected: exit status 1
=== RUN TestGoGetUpdate
--- SKIP: TestGoGetUpdate (0.00s)
testenv.go:90: skipping test: no external network in -short mode
=== RUN TestGoGetDomainRoot
--- SKIP: TestGoGetDomainRoot (0.00s)
testenv.go:90: skipping test: no external network in -short mode
=== RUN TestGoInstallShadowedGOPATH
--- SKIP: TestGoInstallShadowedGOPATH (0.00s)
testenv.go:90: skipping test: no external network in -short mode
=== RUN TestVendorImports
--- PASS: TestVendorImports (0.42s)
go_test.go:242: running testgo [list -f {{.ImportPath}} {{.Imports}} vend/...]
go_test.go:257: standard output:
go_test.go:258: vend [vend/vendor/p r]
vend/hello [fmt vend/vendor/strings]
vend/subdir [vend/vendor/p r]
vend/vendor/p []
vend/vendor/q []
vend/vendor/strings []
vend/x [vend/x/vendor/p vend/vendor/q vend/x/vendor/r]
vend/x/invalid [vend/x/invalid/vendor/foo]
vend/x/vendor/p []
vend/x/vendor/p/p [notfound]
vend/x/vendor/r []
=== RUN TestVendorRun
--- PASS: TestVendorRun (4.34s)
go_test.go:242: running testgo [run hello.go]
go_test.go:257: standard output:
go_test.go:258: hello, world
=== RUN TestVendorGOPATH
--- PASS: TestVendorGOPATH (4.35s)
go_test.go:242: running testgo [run hello.go]
go_test.go:257: standard output:
go_test.go:258: hello, world
=== RUN TestVendorTest
--- PASS: TestVendorTest (6.27s)
go_test.go:242: running testgo [test -v]
go_test.go:257: standard output:
go_test.go:258: === RUN TestMsgInternal
--- PASS: TestMsgInternal (0.00s)
=== RUN TestMsgExternal
--- PASS: TestMsgExternal (0.00s)
PASS
ok vend/hello 0.018s
=== RUN TestVendorInvalid
--- PASS: TestVendorInvalid (0.20s)
go_test.go:242: running testgo [build vend/x/invalid]
go_test.go:261: standard error:
go_test.go:262: package vend/x/invalid
imports vend/x/invalid/vendor/foo: must be imported as foo
go_test.go:281: testgo failed as expected: exit status 1
=== RUN TestVendorImportError
--- PASS: TestVendorImportError (0.20s)
go_test.go:242: running testgo [build vend/x/vendor/p/p]
go_test.go:261: standard error:
go_test.go:262: testdata/src/vend/x/vendor/p/p/p.go:3:8: cannot find package "notfound" in any of:
/home/pi/go/src/cmd/go/testdata/src/vend/x/vendor/notfound (vendor tree)
/home/pi/go/src/cmd/go/testdata/src/vend/vendor/notfound (vendor tree)
/home/pi/go/src/notfound (from $GOROOT)
/home/pi/go/src/cmd/go/testdata/src/notfound (from $GOPATH)
go_test.go:281: testgo failed as expected: exit status 1
--- PASS: TestFileLineInErrorMessages (0.25s)
go_test.go:242: running testgo [run /tmp/gotest514803629/err.go]
go_test.go:261: standard error:
go_test.go:262: /tmp/gotest514803629/err.go:3:8: cannot find package "bar" in any of:
/home/pi/go/src/bar (from $GOROOT)
($GOPATH not set)
go_test.go:281: testgo failed as expected: exit status 1
--- PASS: TestProgramNameInCrashMessages (0.40s)
go_test.go:242: running testgo [build -ldflags -crash_for_testing /tmp/gotest501952131/triv.go]
go_test.go:261: standard error:
go_test.go:262: go build command-line-arguments: /home/pi/go/pkg/tool/linux_arm/link: exit status 2
go_test.go:281: testgo failed as expected: exit status 1
--- PASS: TestGoInstallDetectsRemovedFiles (1.15s)
go_test.go:242: running testgo [install mypkg]
go_test.go:242: running testgo [list -f {{.Stale}} mypkg]
go_test.go:257: standard output:
go_test.go:258: false
go_test.go:242: running testgo [list -f {{.Stale}} mypkg]
go_test.go:257: standard output:
go_test.go:258: false
go_test.go:242: running testgo [list -f {{.Stale}} mypkg]
go_test.go:257: standard output:
go_test.go:258: true
--- PASS: TestGoInstallRebuildsStalePackagesInOtherGOPATH (2.99s)
go_test.go:242: running testgo [install p1]
go_test.go:242: running testgo [list -f {{.Stale}} p1]
go_test.go:257: standard output:
go_test.go:258: false
go_test.go:242: running testgo [list -f {{.Stale}} p2]
go_test.go:257: standard output:
go_test.go:258: false
go_test.go:242: running testgo [list -f {{.Stale}} p2]
go_test.go:257: standard output:
go_test.go:258: true
go_test.go:242: running testgo [list -f {{.Stale}} p1]
go_test.go:257: standard output:
go_test.go:258: true
go_test.go:242: running testgo [install p1]
go_test.go:242: running testgo [list -f {{.Stale}} p2]
go_test.go:257: standard output:
go_test.go:258: false
go_test.go:242: running testgo [list -f {{.Stale}} p1]
go_test.go:257: standard output:
go_test.go:258: false
--- PASS: TestLdflagsArgumentsWithSpacesIssue3941 (2.69s)
go_test.go:242: running testgo [run -ldflags -X main.extern "hello world" /tmp/gotest055270554/main.go]
go_test.go:261: standard error:
go_test.go:262: # command-line-arguments
link: warning: option -X main.extern hello world may not work in future releases; use -X main.extern=hello world
hello world
--- PASS: TestCaseCollisions (0.80s)
go_test.go:242: running testgo [list example/a]
go_test.go:261: standard error:
go_test.go:262: can't load package: package example/a: case-insensitive import collision: "example/a/Pkg" and "example/a/pkg"
go_test.go:281: testgo failed as expected: exit status 1
go_test.go:242: running testgo [list example/b]
go_test.go:261: standard error:
go_test.go:262: can't load package: package example/b: case-insensitive file name collision: "FILE.go" and "file.go"
go_test.go:281: testgo failed as expected: exit status 1
--- PASS: TestGoInstsallDetectsRemovedFilesInPackageMain (4.61s)
go_test.go:242: running testgo [install mycmd]
go_test.go:242: running testgo [list -f {{.Stale}} mycmd]
go_test.go:257: standard output:
go_test.go:258: false
go_test.go:242: running testgo [list -f {{.Stale}} mycmd]
go_test.go:257: standard output:
go_test.go:258: false
go_test.go:242: running testgo [list -f {{.Stale}} mycmd]
go_test.go:257: standard output:
go_test.go:258: true
--- PASS: TestCgoShowsFullPathNames (1.12s)
go_test.go:242: running testgo [build x/y/dirname]
go_test.go:261: standard error:
go_test.go:262: # x/y/dirname
/tmp/gotest006100107/src/x/y/dirname/foo.go:4:13: expected '}', found 'EOF'
go_test.go:281: testgo failed as expected: exit status 2
--- PASS: TestCgoHandlesWlORIGIN (3.60s)
go_test.go:242: running testgo [build origin]
--- PASS: TestInstallWithTags (8.05s)
go_test.go:242: running testgo [install -tags mytag example/a example/b]
go_test.go:242: running testgo [install -tags mytag example/...]
go_test.go:242: running testgo [list -tags mytag example/b...]
go_test.go:257: standard output:
go_test.go:258: example/b
--- PASS: TestBuildDashIInstallsDependencies (7.30s)
go_test.go:242: running testgo [build -v -i x/y/bar]
go_test.go:261: standard error:
go_test.go:262: x/y/foo
x/y/bar
go_test.go:242: running testgo [build -v -i x/y/bar]
go_test.go:261: standard error:
go_test.go:262: x/y/bar
go_test.go:242: running testgo [build -v -i x/y/bar]
go_test.go:261: standard error:
go_test.go:262: x/y/foo
x/y/bar
go_test.go:242: running testgo [build -v -i x/y/bar]
go_test.go:261: standard error:
go_test.go:262: x/y/bar
--- PASS: TestInstalls (34.20s)
go_test.go:242: running testgo [env GOOS]
go_test.go:257: standard output:
go_test.go:258: linux
go_test.go:242: running testgo [env GOARCH]
go_test.go:257: standard output:
go_test.go:258: arm
go_test.go:242: running testgo [install cmd/fix]
go_test.go:242: running testgo [install cmd/fix]
go_test.go:242: running testgo [install progname]
go_test.go:242: running testgo [install progname]
PASS
ok cmd/go 436.891s
Sun Jul 19 09:10:11 EDT 2015
Thanks. I see the following tests taking at least 10 seconds:
TestNoteReading (42.61s) TestInstalls (34.20s) TestGoInstallPkgdir (26.57s) TestGoTestCpuprofileLeavesBinaryBehind (23.36s) TestGoTestDashOWritesBinary (23.15s) TestGoTestCpuProfileDashOControlsBinaryLocation (23.05s) TestGoTestWithPackageListedMultipleTimes (22.39s) TestIssue6480 (22.22s) TestGoTestDashCDashOControlsBinaryLocation (16.33s) TestPackageMainTestImportsArchiveNotBinary (14.69s)
CL https://golang.org/cl/12364 mentions this issue.
CL https://golang.org/cl/12363 mentions this issue.
If you have a chance, could you try current tip? The cmd/go test should take over a minute less; I'd like to find out whether that seems to be enough to get it back under the deadline. Thanks.
re-run at tip
pi@raspberrypi ~ $ go version; date; go test -test.v -test.short cmd/go; date
go version devel +f35868a Mon Jul 20 03:27:22 2015 +0000 linux/arm
Mon Jul 20 07:30:46 EDT 2015
=== RUN TestGenerateCommandParse
--- PASS: TestGenerateCommandParse (0.00s)
=== RUN TestMatchPattern
--- PASS: TestMatchPattern (0.00s)
=== RUN TestChildrenCanMatchPattern
--- PASS: TestChildrenCanMatchPattern (0.00s)
=== RUN TestHasPathPrefix
--- PASS: TestHasPathPrefix (0.00s)
=== RUN TestFoldDup
--- PASS: TestFoldDup (0.00s)
=== RUN TestParseMetaGoImports
--- PASS: TestParseMetaGoImports (0.00s)
=== RUN TestSelectTag
--- PASS: TestSelectTag (0.00s)
=== RUN TestRepoRootForImportPath
--- SKIP: TestRepoRootForImportPath (0.00s)
testenv.go:90: skipping test: no external network in -short mode
=== RUN TestIsSecure
--- PASS: TestIsSecure (0.00s)
=== RUN TestFileLineInErrorMessages
=== RUN TestProgramNameInCrashMessages
=== RUN TestBrokenTestsWithoutTestFunctionsAllFail
--- PASS: TestBrokenTestsWithoutTestFunctionsAllFail (8.24s)
go_test.go:242: running testgo [test ./testdata/src/badtest/...]
go_test.go:257: standard output:
go_test.go:258: panic: badexec
goroutine 1 [running]:
_/home/pi/go/src/cmd/go/testdata/src/badtest/badexec.init.1()
/home/pi/go/src/cmd/go/testdata/src/badtest/badexec/x_test.go:4 +0x58
_/home/pi/go/src/cmd/go/testdata/src/badtest/badexec.init()
/home/pi/go/src/cmd/go/testdata/src/badtest/badexec/x_test.go:5 +0x4c
main.init()
_/home/pi/go/src/cmd/go/testdata/src/badtest/badexec/_test/_testmain.go:54 +0x58
FAIL _/home/pi/go/src/cmd/go/testdata/src/badtest/badexec 0.022s
FAIL _/home/pi/go/src/cmd/go/testdata/src/badtest/badvar [build failed]
go_test.go:261: standard error:
go_test.go:262: # _/home/pi/go/src/cmd/go/testdata/src/badtest/badsyntax
testdata/src/badtest/badsyntax/x_test.go:3:6: expected 'IDENT', found 'func'
FAIL _/home/pi/go/src/cmd/go/testdata/src/badtest/badsyntax [setup failed]
# _/home/pi/go/src/cmd/go/testdata/src/badtest/badvar_test
testdata/src/badtest/badvar/x_test.go:4: undefined: notdefined
go_test.go:281: testgo failed as expected: exit status 2
=== RUN TestGoBuildDashAInDevBranch
--- SKIP: TestGoBuildDashAInDevBranch (0.00s)
go_test.go:633: don't rebuild the standard library in short mode
=== RUN TestGoBuilDashAInReleaseBranch
--- SKIP: TestGoBuilDashAInReleaseBranch (0.00s)
go_test.go:646: don't rebuild the standard library in short mode
=== RUN TestGoInstallCleansUpAfterGoBuild
--- PASS: TestGoInstallCleansUpAfterGoBuild (9.75s)
go_test.go:242: running testgo [build]
go_test.go:242: running testgo [install]
go_test.go:242: running testgo [build]
go_test.go:242: running testgo [install mycmd]
go_test.go:242: running testgo [build]
go_test.go:242: running testgo [install mycmd]
=== RUN TestGoInstallRebuildsStalePackagesInOtherGOPATH
=== RUN TestGoInstallDetectsRemovedFiles
=== RUN TestGoInstallErrorOnCrossCompileToBin
--- PASS: TestGoInstallErrorOnCrossCompileToBin (3.00s)
go_test.go:242: running testgo [build mycmd]
go_test.go:242: running testgo [install mycmd]
go_test.go:261: standard error:
go_test.go:262: go install: cannot install cross-compiled binaries when GOBIN is set
go_test.go:281: testgo failed as expected: exit status 1
go_test.go:242: running testgo [install mycmd]
go_test.go:261: standard error:
go_test.go:262: go install: cannot install cross-compiled binaries when GOBIN is set
go_test.go:281: testgo failed as expected: exit status 1
go_test.go:242: running testgo [install cmd/pack]
=== RUN TestGoInstsallDetectsRemovedFilesInPackageMain
=== RUN TestLocalImportsEasy
--- PASS: TestLocalImportsEasy (5.04s)
go_test.go:242: running testgo [build -o ./easy testdata/local/easy.go]
=== RUN TestLocalImportsEasySub
--- PASS: TestLocalImportsEasySub (6.05s)
go_test.go:242: running testgo [build -o ./easysub testdata/local/easysub/main.go]
=== RUN TestLocalImportsHard
--- PASS: TestLocalImportsHard (5.18s)
go_test.go:242: running testgo [build -o ./hard testdata/local/hard.go]
=== RUN TestLocalImportsGoInstallShouldFail
--- PASS: TestLocalImportsGoInstallShouldFail (0.39s)
go_test.go:242: running testgo [install testdata/local/easy.go]
go_test.go:261: standard error:
go_test.go:262: go install: no install location for .go files listed on command line (GOBIN not set)
go_test.go:281: testgo failed as expected: exit status 1
=== RUN TestBadImportsEasy
--- PASS: TestBadImportsEasy (5.02s)
go_test.go:242: running testgo [build -o ./easy testdata/#$%:, &()*;<=>?\^{}/easy.go]
=== RUN TestBadImportsEasySub
--- PASS: TestBadImportsEasySub (4.99s)
go_test.go:242: running testgo [build -o ./easysub testdata/#$%:, &()*;<=>?\^{}/easysub/main.go]
=== RUN TestBadImportsHard
--- PASS: TestBadImportsHard (5.25s)
go_test.go:242: running testgo [build -o ./hard testdata/#$%:, &()*;<=>?\^{}/hard.go]
=== RUN TestBadImportsGoInstallShouldFail
--- PASS: TestBadImportsGoInstallShouldFail (0.40s)
go_test.go:242: running testgo [install testdata/#$%:, &()*;<=>?\^{}/easy.go]
go_test.go:261: standard error:
go_test.go:262: go install: no install location for .go files listed on command line (GOBIN not set)
go_test.go:281: testgo failed as expected: exit status 1
=== RUN TestInternalPackagesInGOROOTAreRespected
--- PASS: TestInternalPackagesInGOROOTAreRespected (0.40s)
go_test.go:242: running testgo [build -v ./testdata/testinternal]
go_test.go:261: standard error:
go_test.go:262: package ./testdata/testinternal
imports net/http/internal: use of internal package not allowed
go_test.go:281: testgo failed as expected: exit status 1
=== RUN TestInternalPackagesOutsideGOROOTAreRespected
--- PASS: TestInternalPackagesOutsideGOROOTAreRespected (0.20s)
go_test.go:242: running testgo [build -v ./testdata/testinternal2]
go_test.go:261: standard error:
go_test.go:262: package ./testdata/testinternal2
imports ./x/y/z/internal/w: use of internal package not allowed
go_test.go:281: testgo failed as expected: exit status 1
=== RUN TestInternalPackageErrorsAreHandled
--- PASS: TestInternalPackageErrorsAreHandled (0.20s)
go_test.go:242: running testgo [list ./testdata/testinternal3]
go_test.go:257: standard output:
go_test.go:258: _/home/pi/go/src/cmd/go/testdata/testinternal3
=== RUN TestMoveGit
--- SKIP: TestMoveGit (0.00s)
testenv.go:90: skipping test: no external network in -short mode
=== RUN TestImportCommandMatch
--- PASS: TestImportCommandMatch (0.36s)
go_test.go:242: running testgo [build ./testdata/importcom/works.go]
=== RUN TestImportCommentMismatch
--- PASS: TestImportCommentMismatch (0.20s)
go_test.go:242: running testgo [build ./testdata/importcom/wrongplace.go]
go_test.go:261: standard error:
go_test.go:262: testdata/importcom/wrongplace.go:3:8: code in directory /home/pi/go/src/cmd/go/testdata/importcom/src/wrongplace expects import "my/x"
go_test.go:281: testgo failed as expected: exit status 1
=== RUN TestImportCommentSyntaxError
--- PASS: TestImportCommentSyntaxError (0.20s)
go_test.go:242: running testgo [build ./testdata/importcom/bad.go]
go_test.go:261: standard error:
go_test.go:262: testdata/importcom/bad.go:3:8: /home/pi/go/src/cmd/go/testdata/importcom/src/bad/bad.go:1: cannot parse import comment
go_test.go:281: testgo failed as expected: exit status 1
=== RUN TestImportCommentConflict
--- PASS: TestImportCommentConflict (0.20s)
go_test.go:242: running testgo [build ./testdata/importcom/conflict.go]
go_test.go:261: standard error:
go_test.go:262: testdata/importcom/conflict.go:3:8: found import comments "a" (a.go) and "b" (b.go) in /home/pi/go/src/cmd/go/testdata/importcom/src/conflict
go_test.go:281: testgo failed as expected: exit status 1
=== RUN TestIssue10952
--- SKIP: TestIssue10952 (0.00s)
testenv.go:90: skipping test: no external network in -short mode
=== RUN TestDisallowedCSourceFiles
--- PASS: TestDisallowedCSourceFiles (0.20s)
go_test.go:242: running testgo [build badc]
go_test.go:261: standard error:
go_test.go:262: can't load package: package badc: C source files not allowed when not using cgo or SWIG: x.c
go_test.go:281: testgo failed as expected: exit status 1
=== RUN TestErrorMessageForSyntaxErrorInTestGoFileSaysFAIL
--- PASS: TestErrorMessageForSyntaxErrorInTestGoFileSaysFAIL (0.45s)
go_test.go:242: running testgo [test syntaxerror]
go_test.go:261: standard error:
go_test.go:262: # syntaxerror
testdata/src/syntaxerror/x_test.go:3:11: expected identifier
FAIL syntaxerror [setup failed]
go_test.go:281: testgo failed as expected: exit status 1
=== RUN TestWildcardsDoNotLookInUselessDirectories
--- PASS: TestWildcardsDoNotLookInUselessDirectories (3.91s)
go_test.go:242: running testgo [list ...]
go_test.go:257: standard output:
go_test.go:258: archive/tar
archive/zip
bufio
bytes
cmd/addr2line
cmd/api
cmd/asm
cmd/asm/internal/arch
cmd/asm/internal/asm
cmd/asm/internal/flags
cmd/asm/internal/lex
cmd/cgo
cmd/compile
cmd/compile/internal/amd64
cmd/compile/internal/arm
cmd/compile/internal/arm64
cmd/compile/internal/big
cmd/compile/internal/gc
cmd/compile/internal/ppc64
cmd/compile/internal/x86
cmd/cover
cmd/dist
cmd/doc
cmd/fix
cmd/go
cmd/gofmt
cmd/internal/asm
cmd/internal/gcprog
cmd/internal/goobj
cmd/internal/obj
cmd/internal/obj/arm
cmd/internal/obj/arm64
cmd/internal/obj/ppc64
cmd/internal/obj/x86
cmd/internal/objfile
cmd/internal/rsc.io/arm/armasm
cmd/internal/rsc.io/x86/x86asm
cmd/link
cmd/link/internal/amd64
cmd/link/internal/arm
cmd/link/internal/arm64
cmd/link/internal/ld
cmd/link/internal/ppc64
cmd/link/internal/x86
cmd/newlink
cmd/nm
cmd/objdump
cmd/old5a
cmd/old6a
cmd/old8a
cmd/old9a
cmd/pack
cmd/pprof
cmd/pprof/internal/commands
cmd/pprof/internal/driver
cmd/pprof/internal/fetch
cmd/pprof/internal/plugin
cmd/pprof/internal/profile
cmd/pprof/internal/report
cmd/pprof/internal/svg
cmd/pprof/internal/symbolizer
cmd/pprof/internal/symbolz
cmd/pprof/internal/tempfile
cmd/trace
cmd/vet
cmd/vet/whitelist
cmd/yacc
compress/bzip2
compress/flate
compress/gzip
compress/lzw
compress/zlib
container/heap
container/list
container/ring
crypto
crypto/aes
crypto/cipher
crypto/des
crypto/dsa
crypto/ecdsa
crypto/elliptic
crypto/hmac
crypto/md5
crypto/rand
crypto/rc4
crypto/rsa
crypto/sha1
crypto/sha256
crypto/sha512
crypto/subtle
crypto/tls
crypto/x509
crypto/x509/pkix
database/sql
database/sql/driver
debug/dwarf
debug/elf
debug/gosym
debug/macho
debug/pe
debug/plan9obj
encoding
encoding/ascii85
encoding/asn1
encoding/base32
encoding/base64
encoding/binary
encoding/csv
encoding/gob
encoding/hex
encoding/json
encoding/pem
encoding/xml
errors
expvar
flag
fmt
go/ast
go/build
go/constant
go/doc
go/format
go/importer
go/internal/gccgoimporter
go/internal/gcimporter
go/parser
go/printer
go/scanner
go/token
go/types
hash
hash/adler32
hash/crc32
hash/crc64
hash/fnv
html
html/template
image
image/color
image/color/palette
image/draw
image/gif
image/internal/imageutil
image/jpeg
image/png
index/suffixarray
internal/format
internal/singleflight
internal/syscall/unix
internal/testenv
internal/trace
io
io/ioutil
log
log/syslog
math
math/big
math/cmplx
math/rand
mime
mime/multipart
mime/quotedprintable
net
net/http
net/http/cgi
net/http/cookiejar
net/http/fcgi
net/http/httptest
net/http/httputil
net/http/internal
net/http/pprof
net/internal/socktest
net/mail
net/rpc
net/rpc/jsonrpc
net/smtp
net/textproto
net/url
os
os/exec
os/signal
os/user
path
path/filepath
reflect
regexp
regexp/syntax
runtime
runtime/cgo
runtime/debug
runtime/pprof
runtime/race
sort
strconv
strings
sync
sync/atomic
syscall
testing
testing/iotest
testing/quick
text/scanner
text/tabwriter
text/template
text/template/parse
time
unicode
unicode/utf16
unicode/utf8
unsafe
badtest/badexec
badtest/badsyntax
badtest/badvar
cgotest
go-cmd-test
main_test
notest
syntaxerror
testcycle/p1
testcycle/p2
testcycle/p3
testcycle/q1
testdep/p1
testdep/p2
vend
vend/hello
vend/subdir
vend/vendor/p
vend/vendor/q
vend/vendor/strings
vend/x
vend/x/invalid
vend/x/vendor/p
vend/x/vendor/p/p
vend/x/vendor/r
vetpkg
xtestonly
go_test.go:261: standard error:
go_test.go:262: can't load package: package badc: C source files not allowed when not using cgo or SWIG: x.c
can't load package: package badpkg:
testdata/src/badpkg/x.go:1:1: expected 'package', found 'IDENT' pkg
go_test.go:281: testgo failed as expected: exit status 1
go_test.go:242: running testgo [list m...]
go_test.go:257: standard output:
go_test.go:258: math
math/big
math/cmplx
math/rand
mime
mime/multipart
mime/quotedprintable
main_test
=== RUN TestRelativeImportsGoTest
--- PASS: TestRelativeImportsGoTest (6.18s)
go_test.go:242: running testgo [test ./testdata/testimport]
go_test.go:257: standard output:
go_test.go:258: ok _/home/pi/go/src/cmd/go/testdata/testimport 0.018s
=== RUN TestRelativeImportsGoTestDashI
--- PASS: TestRelativeImportsGoTestDashI (0.45s)
go_test.go:242: running testgo [test -i ./testdata/testimport]
=== RUN TestRelativeImportsInCommandLinePackage
--- PASS: TestRelativeImportsInCommandLinePackage (6.20s)
go_test.go:242: running testgo [test testdata/testimport/p.go testdata/testimport/p_test.go testdata/testimport/x_test.go]
go_test.go:257: standard output:
go_test.go:258: ok command-line-arguments 0.018s
=== RUN TestVersionControlErrorMessageIncludesCorrectDirectory
--- PASS: TestVersionControlErrorMessageIncludesCorrectDirectory (0.20s)
go_test.go:242: running testgo [get -u foo]
go_test.go:261: standard error:
go_test.go:262: package foo: directory "/home/pi/go/src/cmd/go/testdata/shadow/root1/src/foo" is not using a known version control system
go_test.go:281: testgo failed as expected: exit status 1
=== RUN TestInstallFailsWithNoBuildableFiles
--- PASS: TestInstallFailsWithNoBuildableFiles (0.09s)
go_test.go:242: running testgo [install cgotest]
go_test.go:261: standard error:
go_test.go:262: can't load package: package cgotest: no buildable Go source files in /home/pi/go/src/cmd/go/testdata/src/cgotest
go_test.go:281: testgo failed as expected: exit status 1
=== RUN TestInstallIntoGOPATH
--- PASS: TestInstallIntoGOPATH (2.17s)
go_test.go:242: running testgo [install go-cmd-test]
=== RUN TestPackageMainTestImportsArchiveNotBinary
--- PASS: TestPackageMainTestImportsArchiveNotBinary (16.94s)
go_test.go:242: running testgo [test main_test]
go_test.go:257: standard output:
go_test.go:258: ok main_test 0.019s
go_test.go:242: running testgo [install main_test]
go_test.go:242: running testgo [list -f {{.Stale}} main_test]
go_test.go:257: standard output:
go_test.go:258: false
go_test.go:242: running testgo [test main_test]
go_test.go:257: standard output:
go_test.go:258: ok main_test 0.018s
=== RUN TestInstallIntoGOBIN
--- PASS: TestInstallIntoGOBIN (2.19s)
go_test.go:242: running testgo [install go-cmd-test]
=== RUN TestInstallToCurrentDirectoryCreatesExecutable
--- PASS: TestInstallToCurrentDirectoryCreatesExecutable (2.18s)
go_test.go:242: running testgo [install]
=== RUN TestInstallWithoutDestinationFails
--- PASS: TestInstallWithoutDestinationFails (0.20s)
go_test.go:242: running testgo [install testdata/src/go-cmd-test/helloworld.go]
go_test.go:261: standard error:
go_test.go:262: go install: no install location for .go files listed on command line (GOBIN not set)
go_test.go:281: testgo failed as expected: exit status 1
=== RUN TestInstallToGOBINCommandLinePackage
--- PASS: TestInstallToGOBINCommandLinePackage (2.18s)
go_test.go:242: running testgo [install testdata/src/go-cmd-test/helloworld.go]
=== RUN TestGodocInstalls
--- SKIP: TestGodocInstalls (0.00s)
testenv.go:90: skipping test: no external network in -short mode
=== RUN TestGoGetNonPkg
--- SKIP: TestGoGetNonPkg (0.00s)
testenv.go:90: skipping test: no external network in -short mode
=== RUN TestInstalls
--- SKIP: TestInstalls (0.00s)
go_test.go:1211: don't install into GOROOT in short mode
=== RUN TestRejectRelativeDotPathInGOPATHCommandLinePackage
--- PASS: TestRejectRelativeDotPathInGOPATHCommandLinePackage (0.08s)
go_test.go:242: running testgo [build testdata/src/go-cmd-test/helloworld.go]
go_test.go:261: standard error:
go_test.go:262: go: GOPATH entry is relative; must be absolute path: ".".
Run 'go help gopath' for usage.
go_test.go:281: testgo failed as expected: exit status 2
=== RUN TestRejectRelativePathsInGOPATH
--- PASS: TestRejectRelativePathsInGOPATH (0.08s)
go_test.go:242: running testgo [build go-cmd-test]
go_test.go:261: standard error:
go_test.go:262: go: GOPATH entry is relative; must be absolute path: "".
Run 'go help gopath' for usage.
go_test.go:281: testgo failed as expected: exit status 2
=== RUN TestRejectRelativePathsInGOPATHCommandLinePackage
--- PASS: TestRejectRelativePathsInGOPATHCommandLinePackage (0.08s)
go_test.go:242: running testgo [build testdata/src/go-cmd-test/helloworld.go]
go_test.go:261: standard error:
go_test.go:262: go: GOPATH entry is relative; must be absolute path: "testdata".
Run 'go help gopath' for usage.
go_test.go:281: testgo failed as expected: exit status 2
=== RUN TestGoTestWithPackageListedMultipleTimes
--- PASS: TestGoTestWithPackageListedMultipleTimes (22.80s)
go_test.go:242: running testgo [test fmt fmt fmt fmt fmt]
go_test.go:257: standard output:
go_test.go:258: ok fmt 1.833s
=== RUN TestGoListHasAConsistentOrder
--- PASS: TestGoListHasAConsistentOrder (4.38s)
go_test.go:242: running testgo [list std]
go_test.go:257: standard output:
go_test.go:258: archive/tar
archive/zip
bufio
bytes
compress/bzip2
compress/flate
compress/gzip
compress/lzw
compress/zlib
container/heap
container/list
container/ring
crypto
crypto/aes
crypto/cipher
crypto/des
crypto/dsa
crypto/ecdsa
crypto/elliptic
crypto/hmac
crypto/md5
crypto/rand
crypto/rc4
crypto/rsa
crypto/sha1
crypto/sha256
crypto/sha512
crypto/subtle
crypto/tls
crypto/x509
crypto/x509/pkix
database/sql
database/sql/driver
debug/dwarf
debug/elf
debug/gosym
debug/macho
debug/pe
debug/plan9obj
encoding
encoding/ascii85
encoding/asn1
encoding/base32
encoding/base64
encoding/binary
encoding/csv
encoding/gob
encoding/hex
encoding/json
encoding/pem
encoding/xml
errors
expvar
flag
fmt
go/ast
go/build
go/constant
go/doc
go/format
go/importer
go/internal/gccgoimporter
go/internal/gcimporter
go/parser
go/printer
go/scanner
go/token
go/types
hash
hash/adler32
hash/crc32
hash/crc64
hash/fnv
html
html/template
image
image/color
image/color/palette
image/draw
image/gif
image/internal/imageutil
image/jpeg
image/png
index/suffixarray
internal/format
internal/singleflight
internal/syscall/unix
internal/testenv
internal/trace
io
io/ioutil
log
log/syslog
math
math/big
math/cmplx
math/rand
mime
mime/multipart
mime/quotedprintable
net
net/http
net/http/cgi
net/http/cookiejar
net/http/fcgi
net/http/httptest
net/http/httputil
net/http/internal
net/http/pprof
net/internal/socktest
net/mail
net/rpc
net/rpc/jsonrpc
net/smtp
net/textproto
net/url
os
os/exec
os/signal
os/user
path
path/filepath
reflect
regexp
regexp/syntax
runtime
runtime/cgo
runtime/debug
runtime/pprof
runtime/race
sort
strconv
strings
sync
sync/atomic
syscall
testing
testing/iotest
testing/quick
text/scanner
text/tabwriter
text/template
text/template/parse
time
unicode
unicode/utf16
unicode/utf8
unsafe
go_test.go:242: running testgo [list std]
go_test.go:257: standard output:
go_test.go:258: archive/tar
archive/zip
bufio
bytes
compress/bzip2
compress/flate
compress/gzip
compress/lzw
compress/zlib
container/heap
container/list
container/ring
crypto
crypto/aes
crypto/cipher
crypto/des
crypto/dsa
crypto/ecdsa
crypto/elliptic
crypto/hmac
crypto/md5
crypto/rand
crypto/rc4
crypto/rsa
crypto/sha1
crypto/sha256
crypto/sha512
crypto/subtle
crypto/tls
crypto/x509
crypto/x509/pkix
database/sql
database/sql/driver
debug/dwarf
debug/elf
debug/gosym
debug/macho
debug/pe
debug/plan9obj
encoding
encoding/ascii85
encoding/asn1
encoding/base32
encoding/base64
encoding/binary
encoding/csv
encoding/gob
encoding/hex
encoding/json
encoding/pem
encoding/xml
errors
expvar
flag
fmt
go/ast
go/build
go/constant
go/doc
go/format
go/importer
go/internal/gccgoimporter
go/internal/gcimporter
go/parser
go/printer
go/scanner
go/token
go/types
hash
hash/adler32
hash/crc32
hash/crc64
hash/fnv
html
html/template
image
image/color
image/color/palette
image/draw
image/gif
image/internal/imageutil
image/jpeg
image/png
index/suffixarray
internal/format
internal/singleflight
internal/syscall/unix
internal/testenv
internal/trace
io
io/ioutil
log
log/syslog
math
math/big
math/cmplx
math/rand
mime
mime/multipart
mime/quotedprintable
net
net/http
net/http/cgi
net/http/cookiejar
net/http/fcgi
net/http/httptest
net/http/httputil
net/http/internal
net/http/pprof
net/internal/socktest
net/mail
net/rpc
net/rpc/jsonrpc
net/smtp
net/textproto
net/url
os
os/exec
os/signal
os/user
path
path/filepath
reflect
regexp
regexp/syntax
runtime
runtime/cgo
runtime/debug
runtime/pprof
runtime/race
sort
strconv
strings
sync
sync/atomic
syscall
testing
testing/iotest
testing/quick
text/scanner
text/tabwriter
text/template
text/template/parse
time
unicode
unicode/utf16
unicode/utf8
unsafe
=== RUN TestGoListStdDoesNotIncludeCommands
--- PASS: TestGoListStdDoesNotIncludeCommands (2.19s)
go_test.go:242: running testgo [list std]
go_test.go:257: standard output:
go_test.go:258: archive/tar
archive/zip
bufio
bytes
compress/bzip2
compress/flate
compress/gzip
compress/lzw
compress/zlib
container/heap
container/list
container/ring
crypto
crypto/aes
crypto/cipher
crypto/des
crypto/dsa
crypto/ecdsa
crypto/elliptic
crypto/hmac
crypto/md5
crypto/rand
crypto/rc4
crypto/rsa
crypto/sha1
crypto/sha256
crypto/sha512
crypto/subtle
crypto/tls
crypto/x509
crypto/x509/pkix
database/sql
database/sql/driver
debug/dwarf
debug/elf
debug/gosym
debug/macho
debug/pe
debug/plan9obj
encoding
encoding/ascii85
encoding/asn1
encoding/base32
encoding/base64
encoding/binary
encoding/csv
encoding/gob
encoding/hex
encoding/json
encoding/pem
encoding/xml
errors
expvar
flag
fmt
go/ast
go/build
go/constant
go/doc
go/format
go/importer
go/internal/gccgoimporter
go/internal/gcimporter
go/parser
go/printer
go/scanner
go/token
go/types
hash
hash/adler32
hash/crc32
hash/crc64
hash/fnv
html
html/template
image
image/color
image/color/palette
image/draw
image/gif
image/internal/imageutil
image/jpeg
image/png
index/suffixarray
internal/format
internal/singleflight
internal/syscall/unix
internal/testenv
internal/trace
io
io/ioutil
log
log/syslog
math
math/big
math/cmplx
math/rand
mime
mime/multipart
mime/quotedprintable
net
net/http
net/http/cgi
net/http/cookiejar
net/http/fcgi
net/http/httptest
net/http/httputil
net/http/internal
net/http/pprof
net/internal/socktest
net/mail
net/rpc
net/rpc/jsonrpc
net/smtp
net/textproto
net/url
os
os/exec
os/signal
os/user
path
path/filepath
reflect
regexp
regexp/syntax
runtime
runtime/cgo
runtime/debug
runtime/pprof
runtime/race
sort
strconv
strings
sync
sync/atomic
syscall
testing
testing/iotest
testing/quick
text/scanner
text/tabwriter
text/template
text/template/parse
time
unicode
unicode/utf16
unicode/utf8
unsafe
=== RUN TestGoListCmdOnlyShowsCommands
--- PASS: TestGoListCmdOnlyShowsCommands (1.93s)
go_test.go:242: running testgo [list cmd]
go_test.go:257: standard output:
go_test.go:258: cmd/addr2line
cmd/api
cmd/asm
cmd/asm/internal/arch
cmd/asm/internal/asm
cmd/asm/internal/flags
cmd/asm/internal/lex
cmd/cgo
cmd/compile
cmd/compile/internal/amd64
cmd/compile/internal/arm
cmd/compile/internal/arm64
cmd/compile/internal/big
cmd/compile/internal/gc
cmd/compile/internal/ppc64
cmd/compile/internal/x86
cmd/cover
cmd/dist
cmd/doc
cmd/fix
cmd/go
cmd/gofmt
cmd/internal/asm
cmd/internal/gcprog
cmd/internal/goobj
cmd/internal/obj
cmd/internal/obj/arm
cmd/internal/obj/arm64
cmd/internal/obj/ppc64
cmd/internal/obj/x86
cmd/internal/objfile
cmd/internal/rsc.io/arm/armasm
cmd/internal/rsc.io/x86/x86asm
cmd/link
cmd/link/internal/amd64
cmd/link/internal/arm
cmd/link/internal/arm64
cmd/link/internal/ld
cmd/link/internal/ppc64
cmd/link/internal/x86
cmd/newlink
cmd/nm
cmd/objdump
cmd/old5a
cmd/old6a
cmd/old8a
cmd/old9a
cmd/pack
cmd/pprof
cmd/pprof/internal/commands
cmd/pprof/internal/driver
cmd/pprof/internal/fetch
cmd/pprof/internal/plugin
cmd/pprof/internal/profile
cmd/pprof/internal/report
cmd/pprof/internal/svg
cmd/pprof/internal/symbolizer
cmd/pprof/internal/symbolz
cmd/pprof/internal/tempfile
cmd/trace
cmd/vet
cmd/vet/whitelist
cmd/yacc
=== RUN TestUnsuccessfulGoInstallShouldMentionMissingPackage
--- PASS: TestUnsuccessfulGoInstallShouldMentionMissingPackage (0.08s)
go_test.go:242: running testgo [install foo/quxx]
go_test.go:261: standard error:
go_test.go:262: can't load package: package foo/quxx: cannot find package "foo/quxx" in any of:
/home/pi/go/src/foo/quxx (from $GOROOT)
($GOPATH not set)
go_test.go:281: testgo failed as expected: exit status 1
=== RUN TestGOROOTSearchFailureReporting
--- PASS: TestGOROOTSearchFailureReporting (0.08s)
go_test.go:242: running testgo [install foo/quxx]
go_test.go:261: standard error:
go_test.go:262: can't load package: package foo/quxx: cannot find package "foo/quxx" in any of:
/home/pi/go/src/foo/quxx (from $GOROOT)
($GOPATH not set)
go_test.go:281: testgo failed as expected: exit status 1
=== RUN TestMultipleGOPATHEntriesReportedSeparately
--- PASS: TestMultipleGOPATHEntriesReportedSeparately (0.09s)
go_test.go:242: running testgo [install foo/quxx]
go_test.go:261: standard error:
go_test.go:262: can't load package: package foo/quxx: cannot find package "foo/quxx" in any of:
/home/pi/go/src/foo/quxx (from $GOROOT)
/home/pi/go/src/cmd/go/testdata/a/src/foo/quxx (from $GOPATH)
/home/pi/go/src/cmd/go/testdata/b/src/foo/quxx
go_test.go:281: testgo failed as expected: exit status 1
=== RUN TestMentionGOPATHInFirstGOPATHEntry
--- PASS: TestMentionGOPATHInFirstGOPATHEntry (0.08s)
go_test.go:242: running testgo [install foo/quxx]
go_test.go:261: standard error:
go_test.go:262: can't load package: package foo/quxx: cannot find package "foo/quxx" in any of:
/home/pi/go/src/foo/quxx (from $GOROOT)
/home/pi/go/src/cmd/go/testdata/a/src/foo/quxx (from $GOPATH)
/home/pi/go/src/cmd/go/testdata/b/src/foo/quxx
go_test.go:281: testgo failed as expected: exit status 1
=== RUN TestMentionGOPATHNotOnSecondEntry
--- PASS: TestMentionGOPATHNotOnSecondEntry (0.08s)
go_test.go:242: running testgo [install foo/quxx]
go_test.go:261: standard error:
go_test.go:262: can't load package: package foo/quxx: cannot find package "foo/quxx" in any of:
/home/pi/go/src/foo/quxx (from $GOROOT)
/home/pi/go/src/cmd/go/testdata/a/src/foo/quxx (from $GOPATH)
/home/pi/go/src/cmd/go/testdata/b/src/foo/quxx
go_test.go:281: testgo failed as expected: exit status 1
=== RUN TestMissingGOPATHIsReported
--- PASS: TestMissingGOPATHIsReported (0.08s)
go_test.go:242: running testgo [install foo/quxx]
go_test.go:261: standard error:
go_test.go:262: can't load package: package foo/quxx: cannot find package "foo/quxx" in any of:
/home/pi/go/src/foo/quxx (from $GOROOT)
($GOPATH not set)
go_test.go:281: testgo failed as expected: exit status 1
=== RUN TestWithoutGOPATHGoGetFails
--- SKIP: TestWithoutGOPATHGoGetFails (0.00s)
testenv.go:90: skipping test: no external network in -short mode
=== RUN TestWithGOPATHEqualsGOROOTGoGetFails
--- SKIP: TestWithGOPATHEqualsGOROOTGoGetFails (0.00s)
testenv.go:90: skipping test: no external network in -short mode
=== RUN TestLdflagsArgumentsWithSpacesIssue3941
=== RUN TestGoTestCpuprofileLeavesBinaryBehind
--- PASS: TestGoTestCpuprofileLeavesBinaryBehind (25.98s)
go_test.go:242: running testgo [test -cpuprofile strings.prof strings]
go_test.go:257: standard output:
go_test.go:258: ok strings 6.840s
=== RUN TestGoTestCpuProfileDashOControlsBinaryLocation
--- PASS: TestGoTestCpuProfileDashOControlsBinaryLocation (22.94s)
go_test.go:242: running testgo [test -cpuprofile strings.prof -o mystrings.test strings]
go_test.go:257: standard output:
go_test.go:258: ok strings 6.829s
=== RUN TestGoTestDashCDashOControlsBinaryLocation
--- PASS: TestGoTestDashCDashOControlsBinaryLocation (16.18s)
go_test.go:242: running testgo [test -c -o mystrings.test strings]
=== RUN TestGoTestDashOWritesBinary
--- PASS: TestGoTestDashOWritesBinary (23.01s)
go_test.go:242: running testgo [test -o mystrings.test strings]
go_test.go:257: standard output:
go_test.go:258: ok strings 6.800s
=== RUN TestSymlinksDoNotConfuseGoList
--- PASS: TestSymlinksDoNotConfuseGoList (0.20s)
go_test.go:242: running testgo [list -f {{.Root}} dir1]
go_test.go:257: standard output:
go_test.go:258: /tmp/gotest334990284
=== RUN TestInstallWithTags
=== RUN TestCaseCollisions
=== RUN TestGoGetDashTIssue8181
--- SKIP: TestGoGetDashTIssue8181 (0.00s)
go_test.go:1543: skipping test that uses network in short mode
=== RUN TestIssue11307
--- SKIP: TestIssue11307 (0.00s)
go_test.go:1559: skipping test that uses network in short mode
=== RUN TestShadowingLogic
--- PASS: TestShadowingLogic (0.83s)
go_test.go:242: running testgo [list -f ({{.ImportPath}}) ({{.ConflictDir}}) ./testdata/shadow/root1/src/math]
go_test.go:257: standard output:
go_test.go:258: (_/home/pi/go/src/cmd/go/testdata/shadow/root1/src/math) (/home/pi/go/src/math)
go_test.go:242: running testgo [list -f ({{.ImportPath}}) ({{.ConflictDir}}) ./testdata/shadow/root1/src/foo]
go_test.go:257: standard output:
go_test.go:258: (foo) ()
go_test.go:242: running testgo [list -f ({{.ImportPath}}) ({{.ConflictDir}}) ./testdata/shadow/root2/src/foo]
go_test.go:257: standard output:
go_test.go:258: (_/home/pi/go/src/cmd/go/testdata/shadow/root2/src/foo) (/home/pi/go/src/cmd/go/testdata/shadow/root1/src/foo)
go_test.go:242: running testgo [install ./testdata/shadow/root2/src/foo]
go_test.go:261: standard error:
go_test.go:262: go install: no install location for /home/pi/go/src/cmd/go/testdata/shadow/root2/src/foo: hidden by /home/pi/go/src/cmd/go/testdata/shadow/root1/src/foo
go_test.go:281: testgo failed as expected: exit status 1
=== RUN TestSourceFileNameOrderPreserved
--- PASS: TestSourceFileNameOrderPreserved (5.94s)
go_test.go:242: running testgo [test testdata/example1_test.go testdata/example2_test.go]
go_test.go:257: standard output:
go_test.go:258: ok command-line-arguments 0.019s
=== RUN TestCoverageRuns
--- SKIP: TestCoverageRuns (0.00s)
go_test.go:1631: don't build libraries for coverage in short mode
=== RUN TestCoverageUsesSetMode
--- SKIP: TestCoverageUsesSetMode (0.00s)
go_test.go:1645: don't build libraries for coverage in short mode
=== RUN TestCoverageUsesAtomicModeForRace
--- SKIP: TestCoverageUsesAtomicModeForRace (0.00s)
go_test.go:1664: don't build libraries for coverage in short mode
=== RUN TestCoverageUsesActualSettingToOverrideEvenForRace
--- SKIP: TestCoverageUsesActualSettingToOverrideEvenForRace (0.00s)
go_test.go:1687: don't build libraries for coverage in short mode
=== RUN TestCoverageWithCgo
--- PASS: TestCoverageWithCgo (9.65s)
go_test.go:242: running testgo [test -short -cover ./testdata/cgocover]
go_test.go:257: standard output:
go_test.go:258: ok _/home/pi/go/src/cmd/go/testdata/cgocover 0.023s coverage: 66.7% of statements
go_test.go:1626: ok _/home/pi/go/src/cmd/go/testdata/cgocover 0.023s coverage: 66.7% of statements
=== RUN TestCgoDependsOnSyscall
--- SKIP: TestCgoDependsOnSyscall (0.00s)
go_test.go:1722: skipping test that removes $GOROOT/pkg/*_race in short mode
=== RUN TestCgoShowsFullPathNames
=== RUN TestCgoHandlesWlORIGIN
=== RUN TestIssue6480
--- PASS: TestIssue6480 (22.05s)
go_test.go:242: running testgo [test -c -test.bench=XXX fmt]
=== RUN TestIssue7573
--- SKIP: TestIssue7573 (0.00s)
go_test.go:1791: skipping because no gccgo compiler found
=== RUN TestListTemplateCanUseContextFunction
--- PASS: TestListTemplateCanUseContextFunction (0.91s)
go_test.go:242: running testgo [list -f GOARCH: {{context.GOARCH}}]
go_test.go:257: standard output:
go_test.go:258: GOARCH: arm
=== RUN TestIssue7108
--- PASS: TestIssue7108 (0.27s)
go_test.go:242: running testgo [test notest]
go_test.go:261: standard error:
go_test.go:262: # notest
testdata/src/notest/hello.go:6: non-declaration statement outside function body
testdata/src/notest/hello.go:6: syntax error: unexpected name, expecting semicolon or newline
go_test.go:281: testgo failed as expected: exit status 2
=== RUN TestIssue6844
--- SKIP: TestIssue6844 (0.00s)
go_test.go:1826: don't rebuild the standard libary in short mode
=== RUN TestBuildDashIInstallsDependencies
=== RUN TestGoBuildInTestOnlyDirectoryFailsWithAGoodError
--- PASS: TestGoBuildInTestOnlyDirectoryFailsWithAGoodError (0.22s)
go_test.go:242: running testgo [build ./testdata/testonly]
go_test.go:261: standard error:
go_test.go:262: go build _/home/pi/go/src/cmd/go/testdata/testonly: no buildable Go source files in /home/pi/go/src/cmd/go/testdata/testonly
go_test.go:281: testgo failed as expected: exit status 1
=== RUN TestGoTestDetectsTestOnlyImportCycles
--- PASS: TestGoTestDetectsTestOnlyImportCycles (0.40s)
go_test.go:242: running testgo [test -c testcycle/p3]
go_test.go:261: standard error:
go_test.go:262: # testcycle/p3
import cycle not allowed in test
package testcycle/p3 (test)
imports testcycle/p1
imports testcycle/p2
imports testcycle/p3
FAIL testcycle/p3 [setup failed]
go_test.go:281: testgo failed as expected: exit status 1
go_test.go:242: running testgo [test -c testcycle/q1]
go_test.go:261: standard error:
go_test.go:262: # testcycle/q1
import cycle not allowed in test
package testcycle/q1 (test)
imports testcycle/q1
FAIL testcycle/q1 [setup failed]
go_test.go:281: testgo failed as expected: exit status 1
=== RUN TestGoTestFooTestWorks
--- PASS: TestGoTestFooTestWorks (5.99s)
go_test.go:242: running testgo [test testdata/standalone_test.go]
go_test.go:257: standard output:
go_test.go:258: ok command-line-arguments 0.019s
=== RUN TestGoTestXtestonlyWorks
--- PASS: TestGoTestXtestonlyWorks (6.28s)
go_test.go:242: running testgo [clean -i xtestonly]
go_test.go:242: running testgo [test xtestonly]
go_test.go:257: standard output:
go_test.go:258: ok xtestonly 0.021s
=== RUN TestGoTestBuildsAnXtestContainingOnlyNonRunnableExamples
--- PASS: TestGoTestBuildsAnXtestContainingOnlyNonRunnableExamples (6.13s)
go_test.go:242: running testgo [test -v ./testdata/norunexample]
go_test.go:257: standard output:
go_test.go:258: File with non-runnable example was built.
=== RUN TestBuilt
A normal test was executed.
--- PASS: TestBuilt (0.00s)
PASS
ok _/home/pi/go/src/cmd/go/testdata/norunexample 0.019s
=== RUN TestGoGenerateHandlesSimpleCommand
--- PASS: TestGoGenerateHandlesSimpleCommand (0.23s)
go_test.go:242: running testgo [generate ./testdata/generate/test1.go]
go_test.go:257: standard output:
go_test.go:258: Success
=== RUN TestGoGenerateHandlesCommandAlias
--- PASS: TestGoGenerateHandlesCommandAlias (0.21s)
go_test.go:242: running testgo [generate ./testdata/generate/test2.go]
go_test.go:257: standard output:
go_test.go:258: Now is the time for all good men
=== RUN TestGoGenerateVariableSubstitution
--- PASS: TestGoGenerateVariableSubstitution (0.21s)
go_test.go:242: running testgo [generate ./testdata/generate/test3.go]
go_test.go:257: standard output:
go_test.go:258: arm test3.go:7 pabc xyzp/test3.go/123
=== RUN TestGoGenerateRunFlag
--- PASS: TestGoGenerateRunFlag (0.21s)
go_test.go:242: running testgo [generate -run y.s ./testdata/generate/test4.go]
go_test.go:257: standard output:
go_test.go:258: oh yes my man
=== RUN TestGoGetWorksWithVanityWildcards
--- SKIP: TestGoGetWorksWithVanityWildcards (0.00s)
testenv.go:90: skipping test: no external network in -short mode
=== RUN TestGoVetWithExternalTests
--- SKIP: TestGoVetWithExternalTests (0.00s)
testenv.go:90: skipping test: no external network in -short mode
=== RUN TestGoVetWithTags
--- SKIP: TestGoVetWithTags (0.00s)
testenv.go:90: skipping test: no external network in -short mode
=== RUN TestGoGetRscIoToolstash
--- SKIP: TestGoGetRscIoToolstash (0.00s)
testenv.go:90: skipping test: no external network in -short mode
=== RUN TestIssue4210
--- PASS: TestIssue4210 (0.39s)
go_test.go:242: running testgo [build y]
go_test.go:261: standard error:
go_test.go:262: can't load package: /tmp/gotest666242747/src/y/main.go:4:8: import "x" is a program, not an importable package
go_test.go:281: testgo failed as expected: exit status 1
=== RUN TestGoGetInsecure
--- SKIP: TestGoGetInsecure (0.00s)
testenv.go:90: skipping test: no external network in -short mode
=== RUN TestGoGetUpdateInsecure
--- SKIP: TestGoGetUpdateInsecure (0.00s)
testenv.go:90: skipping test: no external network in -short mode
=== RUN TestGoGetInsecureCustomDomain
--- SKIP: TestGoGetInsecureCustomDomain (0.00s)
testenv.go:90: skipping test: no external network in -short mode
=== RUN TestIssue10193
--- SKIP: TestIssue10193 (0.00s)
testenv.go:90: skipping test: no external network in -short mode
=== RUN TestGoRunDirs
--- PASS: TestGoRunDirs (0.17s)
go_test.go:242: running testgo [run x.go sub/sub.go]
go_test.go:261: standard error:
go_test.go:262: named files must all be in one directory; have ./ and sub/
go_test.go:281: testgo failed as expected: exit status 1
go_test.go:242: running testgo [run sub/sub.go x.go]
go_test.go:261: standard error:
go_test.go:262: named files must all be in one directory; have sub/ and ./
go_test.go:281: testgo failed as expected: exit status 1
=== RUN TestGoInstallPkgdir
--- PASS: TestGoInstallPkgdir (24.41s)
go_test.go:242: running testgo [install -pkgdir /tmp/gotest821158622 errors]
=== RUN TestGoTestRaceInstallCgo
--- SKIP: TestGoTestRaceInstallCgo (0.00s)
go_test.go:2112: no race detector on %s linux/arm
=== RUN TestGoTestImportErrorStack
--- PASS: TestGoTestImportErrorStack (0.21s)
go_test.go:242: running testgo [test testdep/p1]
go_test.go:261: standard error:
go_test.go:262: # testdep/p1
package testdep/p1 (test)
imports testdep/p2
imports testdep/p3: no buildable Go source files in /home/pi/go/src/cmd/go/testdata/src/testdep/p3
FAIL testdep/p1 [setup failed]
go_test.go:281: testgo failed as expected: exit status 1
=== RUN TestGoGetUpdate
--- SKIP: TestGoGetUpdate (0.00s)
testenv.go:90: skipping test: no external network in -short mode
=== RUN TestGoGetDomainRoot
--- SKIP: TestGoGetDomainRoot (0.00s)
testenv.go:90: skipping test: no external network in -short mode
=== RUN TestGoInstallShadowedGOPATH
--- SKIP: TestGoInstallShadowedGOPATH (0.00s)
testenv.go:90: skipping test: no external network in -short mode
=== RUN TestNoteReading
--- PASS: TestNoteReading (2.19s)
go_test.go:242: running testgo [build -ldflags -buildid=TestNoteReading-Build-ID -o /tmp/gotest461009061/hello.exe /tmp/gotest461009061/hello.go]
=== RUN TestVendorImports
--- PASS: TestVendorImports (0.42s)
go_test.go:242: running testgo [list -f {{.ImportPath}} {{.Imports}} vend/...]
go_test.go:257: standard output:
go_test.go:258: vend [vend/vendor/p r]
vend/hello [fmt vend/vendor/strings]
vend/subdir [vend/vendor/p r]
vend/vendor/p []
vend/vendor/q []
vend/vendor/strings []
vend/x [vend/x/vendor/p vend/vendor/q vend/x/vendor/r]
vend/x/invalid [vend/x/invalid/vendor/foo]
vend/x/vendor/p []
vend/x/vendor/p/p [notfound]
vend/x/vendor/r []
=== RUN TestVendorRun
--- PASS: TestVendorRun (4.35s)
go_test.go:242: running testgo [run hello.go]
go_test.go:257: standard output:
go_test.go:258: hello, world
=== RUN TestVendorGOPATH
--- PASS: TestVendorGOPATH (4.15s)
go_test.go:242: running testgo [run hello.go]
go_test.go:257: standard output:
go_test.go:258: hello, world
=== RUN TestVendorTest
--- PASS: TestVendorTest (6.28s)
go_test.go:242: running testgo [test -v]
go_test.go:257: standard output:
go_test.go:258: === RUN TestMsgInternal
--- PASS: TestMsgInternal (0.00s)
=== RUN TestMsgExternal
--- PASS: TestMsgExternal (0.00s)
PASS
ok vend/hello 0.019s
=== RUN TestVendorInvalid
--- PASS: TestVendorInvalid (0.20s)
go_test.go:242: running testgo [build vend/x/invalid]
go_test.go:261: standard error:
go_test.go:262: package vend/x/invalid
imports vend/x/invalid/vendor/foo: must be imported as foo
go_test.go:281: testgo failed as expected: exit status 1
=== RUN TestVendorImportError
--- PASS: TestVendorImportError (0.20s)
go_test.go:242: running testgo [build vend/x/vendor/p/p]
go_test.go:261: standard error:
go_test.go:262: testdata/src/vend/x/vendor/p/p/p.go:3:8: cannot find package "notfound" in any of:
/home/pi/go/src/cmd/go/testdata/src/vend/x/vendor/notfound (vendor tree)
/home/pi/go/src/cmd/go/testdata/src/vend/vendor/notfound (vendor tree)
/home/pi/go/src/notfound (from $GOROOT)
/home/pi/go/src/cmd/go/testdata/src/notfound (from $GOPATH)
go_test.go:281: testgo failed as expected: exit status 1
--- PASS: TestFileLineInErrorMessages (0.34s)
go_test.go:242: running testgo [run /tmp/gotest254059945/err.go]
go_test.go:261: standard error:
go_test.go:262: /tmp/gotest254059945/err.go:3:8: cannot find package "bar" in any of:
/home/pi/go/src/bar (from $GOROOT)
($GOPATH not set)
go_test.go:281: testgo failed as expected: exit status 1
--- PASS: TestProgramNameInCrashMessages (0.36s)
go_test.go:242: running testgo [build -ldflags -crash_for_testing /tmp/gotest803697695/triv.go]
go_test.go:261: standard error:
go_test.go:262: go build command-line-arguments: /home/pi/go/pkg/tool/linux_arm/link: exit status 2
go_test.go:281: testgo failed as expected: exit status 1
--- PASS: TestGoInstallDetectsRemovedFiles (1.23s)
go_test.go:242: running testgo [install mypkg]
go_test.go:242: running testgo [list -f {{.Stale}} mypkg]
go_test.go:257: standard output:
go_test.go:258: false
go_test.go:242: running testgo [list -f {{.Stale}} mypkg]
go_test.go:257: standard output:
go_test.go:258: false
go_test.go:242: running testgo [list -f {{.Stale}} mypkg]
go_test.go:257: standard output:
go_test.go:258: true
--- PASS: TestGoInstallRebuildsStalePackagesInOtherGOPATH (3.30s)
go_test.go:242: running testgo [install p1]
go_test.go:242: running testgo [list -f {{.Stale}} p1]
go_test.go:257: standard output:
go_test.go:258: false
go_test.go:242: running testgo [list -f {{.Stale}} p2]
go_test.go:257: standard output:
go_test.go:258: false
go_test.go:242: running testgo [list -f {{.Stale}} p2]
go_test.go:257: standard output:
go_test.go:258: true
go_test.go:242: running testgo [list -f {{.Stale}} p1]
go_test.go:257: standard output:
go_test.go:258: true
go_test.go:242: running testgo [install p1]
go_test.go:242: running testgo [list -f {{.Stale}} p2]
go_test.go:257: standard output:
go_test.go:258: false
go_test.go:242: running testgo [list -f {{.Stale}} p1]
go_test.go:257: standard output:
go_test.go:258: false
--- PASS: TestLdflagsArgumentsWithSpacesIssue3941 (3.26s)
go_test.go:242: running testgo [run -ldflags -X main.extern "hello world" /tmp/gotest532514243/main.go]
go_test.go:261: standard error:
go_test.go:262: # command-line-arguments
link: warning: option -X main.extern hello world may not work in future releases; use -X main.extern=hello world
hello world
--- PASS: TestCaseCollisions (0.67s)
go_test.go:242: running testgo [list example/a]
go_test.go:261: standard error:
go_test.go:262: can't load package: package example/a: case-insensitive import collision: "example/a/Pkg" and "example/a/pkg"
go_test.go:281: testgo failed as expected: exit status 1
go_test.go:242: running testgo [list example/b]
go_test.go:261: standard error:
go_test.go:262: can't load package: package example/b: case-insensitive file name collision: "FILE.go" and "file.go"
go_test.go:281: testgo failed as expected: exit status 1
--- PASS: TestCgoShowsFullPathNames (1.06s)
go_test.go:242: running testgo [build x/y/dirname]
go_test.go:261: standard error:
go_test.go:262: # x/y/dirname
/tmp/gotest062287208/src/x/y/dirname/foo.go:4:13: expected '}', found 'EOF'
go_test.go:281: testgo failed as expected: exit status 2
--- PASS: TestGoInstsallDetectsRemovedFilesInPackageMain (4.45s)
go_test.go:242: running testgo [install mycmd]
go_test.go:242: running testgo [list -f {{.Stale}} mycmd]
go_test.go:257: standard output:
go_test.go:258: false
go_test.go:242: running testgo [list -f {{.Stale}} mycmd]
go_test.go:257: standard output:
go_test.go:258: false
go_test.go:242: running testgo [list -f {{.Stale}} mycmd]
go_test.go:257: standard output:
go_test.go:258: true
--- PASS: TestCgoHandlesWlORIGIN (3.21s)
go_test.go:242: running testgo [build origin]
--- PASS: TestInstallWithTags (7.19s)
go_test.go:242: running testgo [install -tags mytag example/a example/b]
go_test.go:242: running testgo [install -tags mytag example/...]
go_test.go:242: running testgo [list -tags mytag example/b...]
go_test.go:257: standard output:
go_test.go:258: example/b
--- PASS: TestBuildDashIInstallsDependencies (6.07s)
go_test.go:242: running testgo [build -v -i x/y/bar]
go_test.go:261: standard error:
go_test.go:262: x/y/foo
x/y/bar
go_test.go:242: running testgo [build -v -i x/y/bar]
go_test.go:261: standard error:
go_test.go:262: x/y/bar
go_test.go:242: running testgo [build -v -i x/y/bar]
go_test.go:261: standard error:
go_test.go:262: x/y/foo
x/y/bar
go_test.go:242: running testgo [build -v -i x/y/bar]
go_test.go:261: standard error:
go_test.go:262: x/y/bar
PASS
ok cmd/go 375.457s
Mon Jul 20 07:37:47 EDT 2015
./all.bash re-run from tip (go version devel +f35868a Mon Jul 20 03:27:22 2015 +0000 linux/arm)
ok cmd/asm/internal/lex 0.026s
ok cmd/compile/internal/big 85.838s
ok cmd/cover 31.062s
ok cmd/doc 0.270s
ok cmd/fix 0.265s
SIGQUIT: quit
PC=0x27438c
goroutine 226 [syscall]:
syscall.Syscall(0x3, 0x4, 0x10c47e00, 0x200, 0x548f8, 0x200, 0x3f8a58)
/home/pi/go/src/syscall/asm_linux_arm.s:17 +0x8 fp=0x10bb1e0c sp=0x10bb1e08
syscall.read(0x4, 0x10c47e00, 0x200, 0x200, 0x13b83c, 0x0, 0x0)
/home/pi/go/src/syscall/zsyscall_linux_arm.go:783 +0x78 fp=0x10bb1e2c sp=0x10bb1e0c
syscall.Read(0x4, 0x10c47e00, 0x200, 0x200, 0x0, 0x0, 0x0)
/home/pi/go/src/syscall/syscall_unix.go:160 +0x4c fp=0x10bb1e4c sp=0x10bb1e2c
os.(*File).read(0x10c569e0, 0x10c47e00, 0x200, 0x200, 0x10c47e00, 0x0, 0x0)
/home/pi/go/src/os/file_unix.go:211 +0x54 fp=0x10bb1e6c sp=0x10bb1e4c
os.(*File).Read(0x10c569e0, 0x10c47e00, 0x200, 0x200, 0x1, 0x0, 0x0)
/home/pi/go/src/os/file.go:95 +0x7c fp=0x10bb1e98 sp=0x10bb1e6c
bytes.(*Buffer).ReadFrom(0x10cb4570, 0x76371348, 0x10c569e0, 0x0, 0x0, 0x0, 0x0)
/home/pi/go/src/bytes/buffer.go:173 +0x22c fp=0x10bb1ef0 sp=0x10bb1e98
io.copyBuffer(0x742ed158, 0x10cb4570, 0x76371348, 0x10c569e0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/pi/go/src/io/io.go:375 +0x124 fp=0x10bb1f54 sp=0x10bb1ef0
io.Copy(0x742ed158, 0x10cb4570, 0x76371348, 0x10c569e0, 0x12dec, 0x0, 0x0, 0x0)
/home/pi/go/src/io/io.go:351 +0x64 fp=0x10bb1f84 sp=0x10bb1f54
os/exec.(*Cmd).writerDescriptor.func1(0x0, 0x0)
/home/pi/go/src/os/exec/exec.go:232 +0x94 fp=0x10bb1fbc sp=0x10bb1f84
os/exec.(*Cmd).Start.func1(0x10c71fc0, 0x10d2a500)
/home/pi/go/src/os/exec/exec.go:339 +0x1c fp=0x10bb1fd4 sp=0x10bb1fbc
runtime.goexit()
/home/pi/go/src/runtime/asm_arm.s:1016 +0x4 fp=0x10bb1fd4 sp=0x10bb1fd4
created by os/exec.(*Cmd).Start
/home/pi/go/src/os/exec/exec.go:340 +0x840
goroutine 1 [chan receive]:
testing.RunTests(0x566a7c, 0x6a28b8, 0x7e, 0x7e, 0x4ab601)
/home/pi/go/src/testing/testing.go:561 +0x618
testing.(*M).Run(0x10915f6c, 0x6)
/home/pi/go/src/testing/testing.go:493 +0x6c
cmd/go_test.TestMain(0x10915f6c)
/home/pi/go/src/cmd/go/go_test.go:89 +0x534
main.main()
cmd/go/_test/_testmain.go:304 +0x118
goroutine 17 [syscall, locked to thread]:
runtime.goexit()
/home/pi/go/src/runtime/asm_arm.s:1016 +0x4
goroutine 5 [syscall]:
os/signal.loop()
/home/pi/go/src/os/signal/signal_unix.go:22 +0x14
created by os/signal.init.1
/home/pi/go/src/os/signal/signal_unix.go:28 +0x30
goroutine 58 [chan receive]:
testing.RunTests.func1(0x10924480, 0x10958c60)
/home/pi/go/src/testing/testing.go:564 +0x3c
created by testing.RunTests
/home/pi/go/src/testing/testing.go:565 +0x660
goroutine 30 [chan receive]:
testing.(*T).Parallel(0x1094c120)
/home/pi/go/src/testing/testing.go:421 +0x60
cmd/go_test.(*testgoData).parallel(0x108fac40)
/home/pi/go/src/cmd/go/go_test.go:170 +0x714
cmd/go_test.TestFileLineInErrorMessages(0x1094c120)
/home/pi/go/src/cmd/go/go_test.go:601 +0x5c
testing.tRunner(0x1094c120, 0x6a2924)
/home/pi/go/src/testing/testing.go:455 +0xa8
created by testing.RunTests
/home/pi/go/src/testing/testing.go:560 +0x5ec
goroutine 31 [chan receive]:
testing.RunTests.func1(0x10924480, 0x1094c120)
/home/pi/go/src/testing/testing.go:564 +0x3c
created by testing.RunTests
/home/pi/go/src/testing/testing.go:565 +0x660
goroutine 32 [chan receive]:
testing.(*T).Parallel(0x1094c180)
/home/pi/go/src/testing/testing.go:421 +0x60
cmd/go_test.(*testgoData).parallel(0x108fad20)
/home/pi/go/src/cmd/go/go_test.go:170 +0x714
cmd/go_test.TestProgramNameInCrashMessages(0x1094c180)
/home/pi/go/src/cmd/go/go_test.go:615 +0x5c
testing.tRunner(0x1094c180, 0x6a2930)
/home/pi/go/src/testing/testing.go:455 +0xa8
created by testing.RunTests
/home/pi/go/src/testing/testing.go:560 +0x5ec
goroutine 33 [chan receive]:
testing.RunTests.func1(0x10924480, 0x1094c180)
/home/pi/go/src/testing/testing.go:564 +0x3c
created by testing.RunTests
/home/pi/go/src/testing/testing.go:565 +0x660
goroutine 57 [chan receive]:
testing.(*T).Parallel(0x10958c60)
/home/pi/go/src/testing/testing.go:421 +0x60
cmd/go_test.(*testgoData).parallel(0x109bc0e0)
/home/pi/go/src/cmd/go/go_test.go:170 +0x714
cmd/go_test.TestGoInstallRebuildsStalePackagesInOtherGOPATH(0x10958c60)
/home/pi/go/src/cmd/go/go_test.go:701 +0x70
testing.tRunner(0x10958c60, 0x6a296c)
/home/pi/go/src/testing/testing.go:455 +0xa8
created by testing.RunTests
/home/pi/go/src/testing/testing.go:560 +0x5ec
goroutine 73 [chan receive]:
testing.RunTests.func1(0x10924480, 0x10ab0420)
/home/pi/go/src/testing/testing.go:564 +0x3c
created by testing.RunTests
/home/pi/go/src/testing/testing.go:565 +0x660
goroutine 59 [chan receive]:
testing.(*T).Parallel(0x10958cc0)
/home/pi/go/src/testing/testing.go:421 +0x60
cmd/go_test.(*testgoData).parallel(0x109bc1c0)
/home/pi/go/src/cmd/go/go_test.go:170 +0x714
cmd/go_test.TestGoInstallDetectsRemovedFiles(0x10958cc0)
/home/pi/go/src/cmd/go/go_test.go:731 +0x5c
testing.tRunner(0x10958cc0, 0x6a2978)
/home/pi/go/src/testing/testing.go:455 +0xa8
created by testing.RunTests
/home/pi/go/src/testing/testing.go:560 +0x5ec
goroutine 60 [chan receive]:
testing.RunTests.func1(0x10924480, 0x10958cc0)
/home/pi/go/src/testing/testing.go:564 +0x3c
created by testing.RunTests
/home/pi/go/src/testing/testing.go:565 +0x660
goroutine 72 [chan receive]:
testing.(*T).Parallel(0x10ab0420)
/home/pi/go/src/testing/testing.go:421 +0x60
cmd/go_test.(*testgoData).parallel(0x10ad4000)
/home/pi/go/src/cmd/go/go_test.go:170 +0x714
cmd/go_test.TestGoInstsallDetectsRemovedFilesInPackageMain(0x10ab0420)
/home/pi/go/src/cmd/go/go_test.go:773 +0x5c
testing.tRunner(0x10ab0420, 0x6a2990)
/home/pi/go/src/testing/testing.go:455 +0xa8
created by testing.RunTests
/home/pi/go/src/testing/testing.go:560 +0x5ec
goroutine 220 [chan receive]:
testing.(*T).Parallel(0x10d10900)
/home/pi/go/src/testing/testing.go:421 +0x60
cmd/go_test.(*testgoData).parallel(0x10cb4380)
/home/pi/go/src/cmd/go/go_test.go:170 +0x714
cmd/go_test.TestLdflagsArgumentsWithSpacesIssue3941(0x10d10900)
/home/pi/go/src/cmd/go/go_test.go:1412 +0x5c
testing.tRunner(0x10d10900, 0x6a2be8)
/home/pi/go/src/testing/testing.go:455 +0xa8
created by testing.RunTests
/home/pi/go/src/testing/testing.go:560 +0x5ec
goroutine 221 [chan receive]:
testing.RunTests.func1(0x10924480, 0x10d10900)
/home/pi/go/src/testing/testing.go:564 +0x3c
created by testing.RunTests
/home/pi/go/src/testing/testing.go:565 +0x660
goroutine 225 [syscall]:
syscall.Syscall6(0x72, 0x3ffd, 0x10847cd4, 0x0, 0x10cd4820, 0x0, 0x0, 0x1ce974, 0x1ce0e4, 0x8)
/home/pi/go/src/syscall/asm_linux_arm.s:48 +0x8
syscall.wait4(0x3ffd, 0x10847cd4, 0x0, 0x10cd4820, 0x50, 0x0, 0x0)
/home/pi/go/src/syscall/zsyscall_linux_arm.go:172 +0x64
syscall.Wait4(0x3ffd, 0x10847cf8, 0x0, 0x10cd4820, 0x10847d60, 0x0, 0x0)
/home/pi/go/src/syscall/syscall_linux.go:256 +0x54
os.(*Process).wait(0x10d581e0, 0x3, 0x0, 0x0)
/home/pi/go/src/os/exec_unix.go:22 +0xcc
os.(*Process).Wait(0x10d581e0, 0x10c71ff0, 0x0, 0x0)
/home/pi/go/src/os/doc.go:45 +0x2c
os/exec.(*Cmd).Wait(0x10d2a500, 0x0, 0x0)
/home/pi/go/src/os/exec/exec.go:379 +0x1b4
os/exec.(*Cmd).Run(0x10d2a500, 0x0, 0x0)
/home/pi/go/src/os/exec/exec.go:257 +0x58
cmd/go_test.(*testgoData).doRun(0x10cb4540, 0x10c83290, 0x6, 0x6, 0x0, 0x0)
/home/pi/go/src/cmd/go/go_test.go:255 +0x654
cmd/go_test.(*testgoData).run(0x10cb4540, 0x10c83290, 0x6, 0x6)
/home/pi/go/src/cmd/go/go_test.go:270 +0x34
cmd/go_test.TestGoTestCpuProfileDashOControlsBinaryLocation(0x10d10ae0)
/home/pi/go/src/cmd/go/go_test.go:1436 +0x18c
testing.tRunner(0x10d10ae0, 0x6a2c00)
/home/pi/go/src/testing/testing.go:455 +0xa8
created by testing.RunTests
/home/pi/go/src/testing/testing.go:560 +0x5ec
goroutine 227 [syscall]:
syscall.Syscall(0x3, 0x6, 0x10cf0a00, 0x200, 0x548f8, 0x200, 0x3f8a58)
/home/pi/go/src/syscall/asm_linux_arm.s:17 +0x8
syscall.read(0x6, 0x10cf0a00, 0x200, 0x200, 0x13b83c, 0x0, 0x0)
/home/pi/go/src/syscall/zsyscall_linux_arm.go:783 +0x78
syscall.Read(0x6, 0x10cf0a00, 0x200, 0x200, 0x0, 0x0, 0x0)
/home/pi/go/src/syscall/syscall_unix.go:160 +0x4c
os.(*File).read(0x10c56a00, 0x10cf0a00, 0x200, 0x200, 0x10cf0a00, 0x0, 0x0)
/home/pi/go/src/os/file_unix.go:211 +0x54
os.(*File).Read(0x10c56a00, 0x10cf0a00, 0x200, 0x200, 0x1, 0x0, 0x0)
/home/pi/go/src/os/file.go:95 +0x7c
bytes.(*Buffer).ReadFrom(0x10cb45c8, 0x76371348, 0x10c56a00, 0x0, 0x0, 0x0, 0x0)
/home/pi/go/src/bytes/buffer.go:173 +0x22c
io.copyBuffer(0x742ed158, 0x10cb45c8, 0x76371348, 0x10c56a00, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/pi/go/src/io/io.go:375 +0x124
io.Copy(0x742ed158, 0x10cb45c8, 0x76371348, 0x10c56a00, 0x12dec, 0x0, 0x0, 0x0)
/home/pi/go/src/io/io.go:351 +0x64
os/exec.(*Cmd).writerDescriptor.func1(0x0, 0x0)
/home/pi/go/src/os/exec/exec.go:232 +0x94
os/exec.(*Cmd).Start.func1(0x10c71fe0, 0x10d2a500)
/home/pi/go/src/os/exec/exec.go:339 +0x1c
created by os/exec.(*Cmd).Start
/home/pi/go/src/os/exec/exec.go:340 +0x840
trap 0x6
error 0x0
oldmask 0x0
r0 0x4
r1 0x10c47e00
r2 0x200
r3 0x0
r4 0x0
r5 0x0
r6 0x0
r7 0x3
r8 0x10c47e00
r9 0x0
r10 0x10ac9ee0
fp 0x6a4694
ip 0x0
sp 0x10bb1e08
lr 0x70484
pc 0x27438c
cpsr 0x60000010
fault 0x0
*** Test killed with quit: ran too long (5m0s).
FAIL cmd/go 300.025s
ok cmd/gofmt 0.629s
ok cmd/internal/goobj 0.051s
ok cmd/internal/obj 0.025s
ok cmd/internal/obj/x86 0.243s
ok cmd/internal/rsc.io/arm/armasm 0.092s
ok cmd/internal/rsc.io/x86/x86asm 3.093s
ok cmd/newlink 0.192s
ok cmd/nm 16.441s
ok cmd/objdump 46.987s
ok cmd/pack 37.041s
ok cmd/pprof/internal/profile 0.036s
ok cmd/vet 67.815s
2015/07/20 07:28:00 Failed: exit status 1
real 31m37.297s
user 93m54.760s
sys 5m46.080s
pi@raspberrypi ~/go/src $ go version
go version devel +f35868a Mon Jul 20 03:27:22 2015 +0000 linux/arm
CL https://golang.org/cl/12368 mentions this issue.
I think this should be fixed now, but please reopen if not. Thanks.
confirmed fixed. go version devel +3051ab2 Mon Jul 20 21:55:20 2015 +0000 linux/arm builds and tests with all tests passed (in 69 minutes and 41 sec on the Raspberry Pi 2)
Just for reference, I'm running on an 8 core Intel Xeon E5-2650. I get the following timings:
go version devel +6c7acdf Wed Jul 22 01:25:32 2015 +0000 linux/amd64
> go test -test.v -test.short cmd/go &> /tmp/go.test.output
> cat /tmp/go.test.output | grep PASS | sed 's/.*: \([^ ]*\) (\(.*\)s)/\1 \2/' | sort -n -r -k 2 | head -n 20
TestWildcardsDoNotLookInUselessDirectories 26.12 TestGoListHasAConsistentOrder 21.44 TestGoListStdDoesNotIncludeCommands 13.25 TestGoListCmdOnlyShowsCommands 11.56 TestPackageMainTestImportsArchiveNotBinary 6.69 TestGoInstallRebuildsStalePackagesInOtherGOPATH 5.36 TestGoTestCpuprofileLeavesBinaryBehind 4.79 TestBrokenTestsWithoutTestFunctionsAllFail 4.58 TestGoInstallCleansUpAfterGoBuild 4.36 TestListTemplateCanUseContextFunction 4.13 TestGoInstallPkgdir 3.62 TestCoverageWithCgo 3.56 TestRelativeImportsInCommandLinePackage 3.27 TestGoTestXtestonlyWorks 3.09 TestGoTestFooTestWorks 2.96 TestIssue6480 2.93 TestBuildDashIInstallsDependencies 2.91 TestGoTestDashOWritesBinary 2.86 TestRelativeImportsGoTestDashI 2.84 TestGoTestDashCDashOControlsBinaryLocation 2.81
Huh, "go list" on your system is really really slow. I wonder why?
You can see above that TestWildcardsDoNotLookInUselessDirectories on the Raspberry PI takes only a few seconds, not 26.
It's probably worth opening a different issue for what you are seeing. Thanks.
the tests failed in the same place after cmd/vet
for me trying to build https://storage.googleapis.com/golang/go1.5.src.tar.gz
on a raspberry pi 2. going to try go1.5.1 now. There are instructions on the internet to set ulimit -s 1024
before building. I wasn't able to do it successfully. I wonder if it's related.
You have to lower the stack size and increase the timouts for ./all.bash to pass. ./make.bash is shorter and skips the tests. I've written about this on my blog, http://dave.cheney.net/2015/09/04/building-go-1-5-on-the-raspberry-pi
On Sun, Sep 27, 2015 at 11:14 AM, johnstall notifications@github.com wrote:
the tests failed in the same place after cmd/vet for me trying to build https://storage.googleapis.com/golang/go1.5.src.tar.gz on a raspberry pi
- going to try go1.5.1 now. There are instructions on the internet to set ulimit -s 1024 before building. I wasn't able to do it successfully. I wonder if it's related.
— Reply to this email directly or view it on GitHub https://github.com/golang/go/issues/11779#issuecomment-143511074.
On the Raspberry Pi 2 (900MHz quad-core ARM Cortex-A7 CPU 1GB RAM) running Raspbian (Linux raspberry pi 4.0.7-v7+ #801) ./all.bash fails during the Testing Packages phase: (see https://gist.github.com/ajstarks/0c4af5aac10488be17de for the full transcript)