linux-amd64-race at 51c1aa35d1a36e74ec9f7d96bfab4577198aaceb :: Running /tmp/workdir/go/src/make.bash with args ["/tmp/workdir/go/src/make.bash"] and env ["CONSOLE=/dev/console" "HOME=/" "init=/sbin/init" "runlevel=2" "INIT_VERSION=sysvinit-2.88" "TERM=linux" "COLUMNS=80" "BOOT_IMAGE=/boot/vmlinuz-3.16-0.bpo.3-amd64" "PATH=/sbin:/usr/sbin:/bin:/usr/bin" "RUNLEVEL=2" "PREVLEVEL=N" "SHELL=/bin/sh" "PWD=/" "previous=N" "LINES=24" "rootmnt=/root" "GOROOT_BOOTSTRAP=/go1.4" "WORKDIR=/tmp/workdir" "GO_BUILDER_NAME=linux-amd64-race" "GOBIN="] in dir /tmp/workdir/go/src ##### Building Go bootstrap tool. cmd/dist ##### Building Go toolchain using /go1.4. bootstrap/internal/obj bootstrap/asm/internal/flags bootstrap/compile/internal/big bootstrap/internal/gcprog bootstrap/internal/obj/arm bootstrap/internal/obj/arm64 bootstrap/internal/obj/mips bootstrap/internal/obj/ppc64 bootstrap/internal/obj/x86 bootstrap/asm/internal/lex bootstrap/link/internal/ld bootstrap/compile/internal/gc bootstrap/asm/internal/arch bootstrap/asm/internal/asm bootstrap/asm bootstrap/link/internal/amd64 bootstrap/link/internal/arm bootstrap/link/internal/arm64 bootstrap/link/internal/mips64 bootstrap/link/internal/ppc64 bootstrap/link/internal/x86 bootstrap/link bootstrap/compile/internal/amd64 bootstrap/compile/internal/arm bootstrap/compile/internal/arm64 bootstrap/compile/internal/mips64 bootstrap/compile/internal/ppc64 bootstrap/compile/internal/x86 bootstrap/compile ##### Building go_bootstrap for host, linux/amd64. runtime/internal/sys runtime/internal/atomic runtime encoding errors internal/race math sort sync/atomic unicode unicode/utf16 unicode/utf8 sync container/heap internal/singleflight io syscall hash hash/adler32 bytes strings strconv bufio path internal/syscall/windows internal/syscall/windows/registry time reflect encoding/base64 crypto regexp/syntax crypto/sha1 regexp os os/signal path/filepath encoding/binary fmt io/ioutil os/exec flag go/token log net/url text/template/parse compress/flate encoding/json debug/dwarf go/scanner go/ast compress/zlib text/template debug/macho debug/elf go/parser go/doc go/build cmd/go ##### Building packages and commands for linux/amd64. runtime/internal/sys runtime/internal/atomic runtime internal/race errors sync/atomic unicode unicode/utf8 math sync sort io syscall hash hash/adler32 hash/crc32 container/heap bytes strings bufio strconv path text/tabwriter time compress/bzip2 container/list container/ring crypto/subtle math/rand crypto/cipher reflect regexp/syntax crypto crypto/aes os crypto/sha512 crypto/hmac crypto/md5 regexp internal/syscall/unix crypto/rc4 crypto/sha1 path/filepath crypto/sha256 encoding/binary fmt io/ioutil encoding/base64 internal/singleflight encoding/pem crypto/des os/exec encoding encoding/ascii85 encoding/base32 unicode/utf16 hash/crc64 hash/fnv html image/color index/suffixarray image flag log compress/flate debug/dwarf cmd/internal/obj debug/gosym compress/zlib debug/plan9obj cmd/vendor/golang.org/x/arch/arm/armasm cmd/vendor/golang.org/x/arch/x86/x86asm debug/elf cmd/internal/goobj debug/macho debug/pe archive/tar archive/zip compress/gzip cmd/internal/objfile compress/lzw math/big encoding/hex go/token database/sql/driver go/scanner database/sql cmd/addr2line go/ast encoding/csv encoding/gob crypto/dsa crypto/elliptic encoding/asn1 crypto/rand crypto/ecdsa crypto/rsa crypto/x509/pkix go/parser go/printer encoding/json encoding/xml internal/golang.org/x/net/http2/hpack cmd/cgo mime mime/quotedprintable net/http/internal net/url text/template/parse go/constant go/format text/scanner go/types image/color/palette text/template image/internal/imageutil image/draw image/gif image/jpeg go/doc html/template go/build image/png runtime/debug runtime/pprof runtime/cgo runtime/trace internal/trace testing go/internal/gccgoimporter go/internal/gcimporter internal/testenv math/cmplx net/internal/socktest os/signal net os/user runtime/race testing/iotest go/importer testing/quick cmd/api cmd/internal/obj/arm cmd/internal/obj/arm64 cmd/internal/obj/mips cmd/internal/obj/ppc64 cmd/internal/obj/x86 cmd/asm/internal/flags cmd/compile/internal/big cmd/asm/internal/lex cmd/asm/internal/arch cmd/internal/gcprog cmd/cover cmd/asm/internal/asm crypto/x509 net/textproto log/syslog cmd/asm mime/multipart net/mail crypto/tls cmd/compile/internal/gc cmd/dist cmd/doc net/http net/smtp cmd/fix cmd/gofmt expvar net/http/cgi net/http/cookiejar net/http/httptest net/http/httputil net/http/pprof net/http/fcgi net/rpc cmd/go cmd/link/internal/ld net/rpc/jsonrpc cmd/newlink cmd/nm cmd/link/internal/amd64 cmd/link/internal/arm cmd/compile/internal/amd64 cmd/compile/internal/arm cmd/compile/internal/arm64 cmd/compile/internal/mips64 cmd/compile/internal/ppc64 cmd/compile/internal/x86 cmd/link/internal/arm64 cmd/link/internal/mips64 cmd/link/internal/ppc64 cmd/link/internal/x86 cmd/objdump cmd/link cmd/compile cmd/pack cmd/pprof/internal/profile cmd/pprof/internal/svg cmd/pprof/internal/tempfile cmd/trace cmd/vet/internal/whitelist cmd/yacc cmd/vet cmd/pprof/internal/plugin cmd/pprof/internal/report cmd/pprof/internal/commands cmd/pprof/internal/driver cmd/pprof/internal/fetch cmd/pprof/internal/symbolizer cmd/pprof/internal/symbolz cmd/pprof --- Installed Go for linux/amd64 in /tmp/workdir/go Installed commands in /tmp/workdir/go/bin :: Running /tmp/workdir/go/bin/go with args ["/tmp/workdir/go/bin/go" "install" "-race" "std"] and env ["CONSOLE=/dev/console" "HOME=/" "init=/sbin/init" "runlevel=2" "INIT_VERSION=sysvinit-2.88" "TERM=linux" "COLUMNS=80" "BOOT_IMAGE=/boot/vmlinuz-3.16-0.bpo.3-amd64" "PATH=/sbin:/usr/sbin:/bin:/usr/bin" "RUNLEVEL=2" "PREVLEVEL=N" "SHELL=/bin/sh" "PWD=/" "previous=N" "LINES=24" "rootmnt=/root" "GOROOT_BOOTSTRAP=/go1.4" "WORKDIR=/tmp/workdir" "GO_BUILDER_NAME=linux-amd64-race" "GOBIN="] in dir /tmp/workdir/go/bin ##### Testing packages. ok archive/tar 1.150s ok archive/zip 4.703s ok bufio 1.639s ok bytes 2.317s ok compress/bzip2 2.321s ok compress/flate 9.655s ok compress/gzip 1.042s ok compress/lzw 2.253s ok compress/zlib 16.543s ok container/heap 1.010s ok container/list 1.015s ok container/ring 1.091s ok crypto/aes 1.118s ok crypto/cipher 1.022s ok crypto/des 1.076s ok crypto/dsa 1.012s ok crypto/ecdsa 1.814s ok crypto/elliptic 1.124s ok crypto/hmac 1.013s ok crypto/md5 1.015s ok crypto/rand 1.195s ok crypto/rc4 2.170s ok crypto/rsa 1.387s ok crypto/sha1 1.013s ok crypto/sha256 1.014s ok crypto/sha512 1.018s ok crypto/subtle 1.026s ok crypto/tls 4.295s ok crypto/x509 3.350s ok database/sql 1.193s ok database/sql/driver 1.017s ok debug/dwarf 1.034s ok debug/elf 1.091s ok debug/gosym 1.275s ok debug/macho 1.011s ok debug/pe 1.045s ok debug/plan9obj 1.029s ok encoding/ascii85 1.013s ok encoding/asn1 1.018s ok encoding/base32 1.070s ok encoding/base64 1.017s ok encoding/binary 1.013s ok encoding/csv 1.019s ok encoding/gob 1.244s ok encoding/hex 1.013s ok encoding/json 1.883s ok encoding/pem 1.069s ok encoding/xml 1.050s ok errors 1.010s ok expvar 1.013s ok flag 1.011s ok fmt 2.442s ok go/ast 1.020s ok go/build 1.386s ok go/constant 1.018s ok go/doc 1.283s ok go/format 1.055s ok go/internal/gccgoimporter 1.012s ok go/internal/gcimporter 4.338s ok go/parser 1.258s ok go/printer 3.574s ok go/scanner 1.028s ok go/token 1.274s ok go/types 6.945s ok hash/adler32 1.047s ok hash/crc32 1.008s ok hash/crc64 1.034s ok hash/fnv 1.014s ok html 1.012s ok html/template 1.274s ok image 2.185s ok image/color 1.092s ok image/draw 1.859s ok image/gif 1.715s ok image/jpeg 2.369s ok image/png 1.335s ok index/suffixarray 1.055s ok internal/singleflight 1.026s ok internal/trace 1.007s ok io 1.050s ok io/ioutil 1.012s ok log 1.016s ok log/syslog 3.067s ok math 1.023s ok math/big 2.852s ok math/cmplx 1.013s ok math/rand 4.259s ok mime 1.075s ok mime/multipart 3.030s ok mime/quotedprintable 1.970s ok net 2.867s ok net/http 18.797s ok net/http/cgi 6.374s ok net/http/cookiejar 1.017s ok net/http/fcgi 1.013s ok net/http/httptest 1.022s ok net/http/httputil 1.114s ok net/http/internal 1.036s ok net/internal/socktest 1.010s ok net/mail 1.016s ok net/rpc 1.079s ok net/rpc/jsonrpc 1.047s ok net/smtp 1.052s ok net/textproto 1.012s ok net/url 1.024s ok os 6.334s ok os/exec 18.473s ok os/signal 7.275s ok os/user 1.007s ok path 1.015s ok path/filepath 1.040s ok reflect 1.244s ok regexp 1.695s ok regexp/syntax 5.198s ok runtime 34.797s ok runtime/debug 1.023s ok runtime/internal/atomic 1.183s --- FAIL: TestRace (3.94s) race_test.go:45: Failed to run tests: exit status 1 ================== WARNING: DATA RACE Read by goroutine 6: command-line-arguments_test.NewLog.func1() /tmp/workdir/go/src/runtime/race/testdata/regression_test.go:20 +0x37 Previous write by main goroutine: command-line-arguments_test.NewLog() /tmp/workdir/go/src/runtime/race/testdata/regression_test.go:23 +0xbf command-line-arguments_test.init() /tmp/workdir/go/src/runtime/race/testdata/regression_test.go:28 +0x112 main.init() command-line-arguments/_test/_testmain.go:738 +0x98 Goroutine 6 (running) created at: command-line-arguments_test.NewLog() /tmp/workdir/go/src/runtime/race/testdata/regression_test.go:22 +0xa1 command-line-arguments_test.init() /tmp/workdir/go/src/runtime/race/testdata/regression_test.go:28 +0x112 main.init() command-line-arguments/_test/_testmain.go:738 +0x98 ================== === RUN TestNoRaceAtomicAddInt64 --- PASS: TestNoRaceAtomicAddInt64 (0.00s) === RUN TestRaceAtomicAddInt64 ================== WARNING: DATA RACE Write by goroutine 12: command-line-arguments_test.TestRaceAtomicAddInt64.func2() /tmp/workdir/go/src/runtime/race/testdata/atomic_test.go:49 +0x32 Previous write by goroutine 11: command-line-arguments_test.TestRaceAtomicAddInt64.func1() /tmp/workdir/go/src/runtime/race/testdata/atomic_test.go:44 +0x6a Goroutine 12 (running) created at: command-line-arguments_test.TestRaceAtomicAddInt64() /tmp/workdir/go/src/runtime/race/testdata/atomic_test.go:54 +0x12b testing.tRunner() /tmp/workdir/go/src/testing/testing.go:473 +0xdc Goroutine 11 (finished) created at: command-line-arguments_test.TestRaceAtomicAddInt64() /tmp/workdir/go/src/runtime/race/testdata/atomic_test.go:47 +0xeb testing.tRunner() /tmp/workdir/go/src/testing/testing.go:473 +0xdc ================== --- PASS: TestRaceAtomicAddInt64 (0.00s) === RUN TestNoRaceAtomicAddInt32 --- PASS: TestNoRaceAtomicAddInt32 (0.00s) === RUN TestNoRaceAtomicLoadAddInt32 --- PASS: TestNoRaceAtomicLoadAddInt32 (0.00s) === RUN TestNoRaceAtomicLoadStoreInt32 --- PASS: TestNoRaceAtomicLoadStoreInt32 (0.00s) === RUN TestNoRaceAtomicStoreCASInt32 --- PASS: TestNoRaceAtomicStoreCASInt32 (0.00s) === RUN TestNoRaceAtomicCASLoadInt32 --- PASS: TestNoRaceAtomicCASLoadInt32 (0.00s) === RUN TestNoRaceAtomicCASCASInt32 --- PASS: TestNoRaceAtomicCASCASInt32 (0.00s) === RUN TestNoRaceAtomicCASCASInt32_2 --- PASS: TestNoRaceAtomicCASCASInt32_2 (0.00s) === RUN TestNoRaceAtomicLoadInt64 --- PASS: TestNoRaceAtomicLoadInt64 (0.00s) === RUN TestNoRaceAtomicCASCASUInt64 --- PASS: TestNoRaceAtomicCASCASUInt64 (0.00s) === RUN TestNoRaceAtomicLoadStorePointer --- PASS: TestNoRaceAtomicLoadStorePointer (0.00s) === RUN TestNoRaceAtomicStoreCASUint64 --- PASS: TestNoRaceAtomicStoreCASUint64 (0.00s) === RUN TestRaceAtomicStoreLoad ================== WARNING: DATA RACE Write by goroutine 38: sync/atomic.StoreInt64() /tmp/workdir/go/src/runtime/race_amd64.s:220 +0xb command-line-arguments_test.TestRaceAtomicStoreLoad.func1() /tmp/workdir/go/src/runtime/race/testdata/atomic_test.go:232 +0x37 Previous read by goroutine 37: command-line-arguments_test.TestRaceAtomicStoreLoad() /tmp/workdir/go/src/runtime/race/testdata/atomic_test.go:235 +0xa4 testing.tRunner() /tmp/workdir/go/src/testing/testing.go:473 +0xdc Goroutine 38 (running) created at: command-line-arguments_test.TestRaceAtomicStoreLoad() /tmp/workdir/go/src/runtime/race/testdata/atomic_test.go:234 +0x96 testing.tRunner() /tmp/workdir/go/src/testing/testing.go:473 +0xdc Goroutine 37 (running) created at: testing.RunTests() /tmp/workdir/go/src/testing/testing.go:582 +0xae2 testing.(*M).Run() /tmp/workdir/go/src/testing/testing.go:515 +0x11d main.main() command-line-arguments/_test/_testmain.go:736 +0x210 ================== --- PASS: TestRaceAtomicStoreLoad (0.00s) === RUN TestRaceAtomicLoadStore ================== WARNING: DATA RACE Read by goroutine 40: sync/atomic.LoadInt64() /tmp/workdir/go/src/runtime/race_amd64.s:197 +0xb command-line-arguments_test.TestRaceAtomicLoadStore.func1() /tmp/workdir/go/src/runtime/race/testdata/atomic_test.go:243 +0x2e Previous write by goroutine 39: command-line-arguments_test.TestRaceAtomicLoadStore() /tmp/workdir/go/src/runtime/race/testdata/atomic_test.go:246 +0xa4 testing.tRunner() /tmp/workdir/go/src/testing/testing.go:473 +0xdc Goroutine 40 (running) created at: command-line-arguments_test.TestRaceAtomicLoadStore() /tmp/workdir/go/src/runtime/race/testdata/atomic_test.go:245 +0x96 testing.tRunner() /tmp/workdir/go/src/testing/testing.go:473 +0xdc Goroutine 39 (running) created at: testing.RunTests() /tmp/workdir/go/src/testing/testing.go:582 +0xae2 testing.(*M).Run() /tmp/workdir/go/src/testing/testing.go:515 +0x11d main.main() command-line-arguments/_test/_testmain.go:736 +0x210 ================== --- PASS: TestRaceAtomicLoadStore (0.00s) === RUN TestRaceAtomicAddLoad ================== WARNING: DATA RACE Write by goroutine 42: sync/atomic.AddInt64() /tmp/workdir/go/src/runtime/race_amd64.s:262 +0xb command-line-arguments_test.TestRaceAtomicAddLoad.func1() /tmp/workdir/go/src/runtime/race/testdata/atomic_test.go:254 +0x37 Previous read by goroutine 41: command-line-arguments_test.TestRaceAtomicAddLoad() /tmp/workdir/go/src/runtime/race/testdata/atomic_test.go:257 +0xa4 testing.tRunner() /tmp/workdir/go/src/testing/testing.go:473 +0xdc Goroutine 42 (running) created at: command-line-arguments_test.TestRaceAtomicAddLoad() /tmp/workdir/go/src/runtime/race/testdata/atomic_test.go:256 +0x96 testing.tRunner() /tmp/workdir/go/src/testing/testing.go:473 +0xdc Goroutine 41 (running) created at: testing.RunTests() /tmp/workdir/go/src/testing/testing.go:582 +0xae2 testing.(*M).Run() /tmp/workdir/go/src/testing/testing.go:515 +0x11d main.main() command-line-arguments/_test/_testmain.go:736 +0x210 ================== --- PASS: TestRaceAtomicAddLoad (0.00s) === RUN TestRaceAtomicAddStore ================== WARNING: DATA RACE Write by goroutine 44: sync/atomic.AddInt64() /tmp/workdir/go/src/runtime/race_amd64.s:262 +0xb command-line-arguments_test.TestRaceAtomicAddStore.func1() /tmp/workdir/go/src/runtime/race/testdata/atomic_test.go:265 +0x37 Previous write by goroutine 43: command-line-arguments_test.TestRaceAtomicAddStore() /tmp/workdir/go/src/runtime/race/testdata/atomic_test.go:268 +0xa4 testing.tRunner() /tmp/workdir/go/src/testing/testing.go:473 +0xdc Goroutine 44 (running) created at: command-line-arguments_test.TestRaceAtomicAddStore() /tmp/workdir/go/src/runtime/race/testdata/atomic_test.go:267 +0x96 testing.tRunner() /tmp/workdir/go/src/testing/testing.go:473 +0xdc Goroutine 43 (running) created at: testing.RunTests() /tmp/workdir/go/src/testing/testing.go:582 +0xae2 testing.(*M).Run() /tmp/workdir/go/src/testing/testing.go:515 +0x11d main.main() command-line-arguments/_test/_testmain.go:736 +0x210 ================== --- PASS: TestRaceAtomicAddStore (0.00s) === RUN TestNoRaceAtomicCrash --- PASS: TestNoRaceAtomicCrash (0.00s) === RUN TestNoRaceCgoSync --- PASS: TestNoRaceCgoSync (1.42s) === RUN TestNoRaceChanSync --- PASS: TestNoRaceChanSync (0.00s) === RUN TestNoRaceChanSyncRev --- PASS: TestNoRaceChanSyncRev (0.00s) === RUN TestNoRaceChanAsync --- PASS: TestNoRaceChanAsync (0.00s) === RUN TestRaceChanAsyncRev ================== WARNING: DATA RACE Write by goroutine 54: command-line-arguments_test.TestRaceChanAsyncRev.func1() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:51 +0x5b Previous write by goroutine 53: command-line-arguments_test.TestRaceChanAsyncRev() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:53 +0xab testing.tRunner() /tmp/workdir/go/src/testing/testing.go:473 +0xdc Goroutine 54 (running) created at: command-line-arguments_test.TestRaceChanAsyncRev() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:52 +0x9d testing.tRunner() /tmp/workdir/go/src/testing/testing.go:473 +0xdc Goroutine 53 (running) created at: testing.RunTests() /tmp/workdir/go/src/testing/testing.go:582 +0xae2 testing.(*M).Run() /tmp/workdir/go/src/testing/testing.go:515 +0x11d main.main() command-line-arguments/_test/_testmain.go:736 +0x210 ================== --- PASS: TestRaceChanAsyncRev (0.00s) === RUN TestNoRaceChanAsyncCloseRecv --- PASS: TestNoRaceChanAsyncCloseRecv (0.00s) === RUN TestNoRaceChanAsyncCloseRecv2 --- PASS: TestNoRaceChanAsyncCloseRecv2 (0.00s) === RUN TestNoRaceChanAsyncCloseRecv3 --- PASS: TestNoRaceChanAsyncCloseRecv3 (0.00s) === RUN TestNoRaceChanSyncCloseRecv --- PASS: TestNoRaceChanSyncCloseRecv (0.00s) === RUN TestNoRaceChanSyncCloseRecv2 --- PASS: TestNoRaceChanSyncCloseRecv2 (0.00s) === RUN TestNoRaceChanSyncCloseRecv3 --- PASS: TestNoRaceChanSyncCloseRecv3 (0.00s) === RUN TestRaceChanSyncCloseSend ================== WARNING: DATA RACE Write by goroutine 68: runtime.closechan() /tmp/workdir/go/src/runtime/chan.go:292 +0x0 command-line-arguments_test.TestRaceChanSyncCloseSend.func1() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:140 +0x48 Previous read by goroutine 67: runtime.chansend() /tmp/workdir/go/src/runtime/chan.go:115 +0x0 command-line-arguments_test.TestRaceChanSyncCloseSend.func2() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:146 +0x6a command-line-arguments_test.TestRaceChanSyncCloseSend() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:147 +0xab testing.tRunner() /tmp/workdir/go/src/testing/testing.go:473 +0xdc Goroutine 68 (running) created at: command-line-arguments_test.TestRaceChanSyncCloseSend() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:141 +0x9d testing.tRunner() /tmp/workdir/go/src/testing/testing.go:473 +0xdc Goroutine 67 (running) created at: testing.RunTests() /tmp/workdir/go/src/testing/testing.go:582 +0xae2 testing.(*M).Run() /tmp/workdir/go/src/testing/testing.go:515 +0x11d main.main() command-line-arguments/_test/_testmain.go:736 +0x210 ================== --- PASS: TestRaceChanSyncCloseSend (0.00s) === RUN TestRaceChanAsyncCloseSend ================== WARNING: DATA RACE Write by goroutine 70: runtime.closechan() /tmp/workdir/go/src/runtime/chan.go:292 +0x0 command-line-arguments_test.TestRaceChanAsyncCloseSend.func1() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:156 +0x48 Previous read by goroutine 69: runtime.chansend() /tmp/workdir/go/src/runtime/chan.go:115 +0x0 command-line-arguments_test.TestRaceChanAsyncCloseSend.func2() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:163 +0x6a command-line-arguments_test.TestRaceChanAsyncCloseSend() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:165 +0xab testing.tRunner() /tmp/workdir/go/src/testing/testing.go:473 +0xdc Goroutine 70 (running) created at: command-line-arguments_test.TestRaceChanAsyncCloseSend() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:157 +0x9d testing.tRunner() /tmp/workdir/go/src/testing/testing.go:473 +0xdc Goroutine 69 (running) created at: testing.RunTests() /tmp/workdir/go/src/testing/testing.go:582 +0xae2 testing.(*M).Run() /tmp/workdir/go/src/testing/testing.go:515 +0x11d main.main() command-line-arguments/_test/_testmain.go:736 +0x210 ================== --- PASS: TestRaceChanAsyncCloseSend (0.00s) === RUN TestRaceChanCloseClose ================== WARNING: DATA RACE Write by goroutine 8: command-line-arguments_test.TestRaceChanCloseClose.func2.1() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:187 +0x4c runtime.call32() /tmp/workdir/go/src/runtime/asm_amd64.s:472 +0x3d Previous write by goroutine 71: command-line-arguments_test.TestRaceChanCloseClose.func1() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:181 +0x63 Goroutine 8 (running) created at: command-line-arguments_test.TestRaceChanCloseClose() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:193 +0x143 testing.tRunner() /tmp/workdir/go/src/testing/testing.go:473 +0xdc Goroutine 71 (finished) created at: command-line-arguments_test.TestRaceChanCloseClose() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:183 +0x103 testing.tRunner() /tmp/workdir/go/src/testing/testing.go:473 +0xdc ================== --- PASS: TestRaceChanCloseClose (0.00s) === RUN TestRaceChanSendLen ================== WARNING: DATA RACE Write by goroutine 9: command-line-arguments_test.TestRaceChanSendLen() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:208 +0xc7 testing.tRunner() /tmp/workdir/go/src/testing/testing.go:473 +0xdc Previous write by goroutine 7: command-line-arguments_test.TestRaceChanSendLen.func1() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:202 +0x2e Goroutine 9 (running) created at: testing.RunTests() /tmp/workdir/go/src/testing/testing.go:582 +0xae2 testing.(*M).Run() /tmp/workdir/go/src/testing/testing.go:515 +0x11d main.main() command-line-arguments/_test/_testmain.go:736 +0x210 Goroutine 7 (finished) created at: command-line-arguments_test.TestRaceChanSendLen() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:204 +0x9d testing.tRunner() /tmp/workdir/go/src/testing/testing.go:473 +0xdc ================== --- PASS: TestRaceChanSendLen (0.00s) === RUN TestRaceChanRecvLen ================== WARNING: DATA RACE Write by goroutine 11: command-line-arguments_test.TestRaceChanRecvLen() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:222 +0xf4 testing.tRunner() /tmp/workdir/go/src/testing/testing.go:473 +0xdc Previous write by goroutine 12: command-line-arguments_test.TestRaceChanRecvLen.func1() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:216 +0x2e Goroutine 11 (running) created at: testing.RunTests() /tmp/workdir/go/src/testing/testing.go:582 +0xae2 testing.(*M).Run() /tmp/workdir/go/src/testing/testing.go:515 +0x11d main.main() command-line-arguments/_test/_testmain.go:736 +0x210 Goroutine 12 (finished) created at: command-line-arguments_test.TestRaceChanRecvLen() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:218 +0xca testing.tRunner() /tmp/workdir/go/src/testing/testing.go:473 +0xdc ================== --- PASS: TestRaceChanRecvLen (0.00s) === RUN TestRaceChanSendSend ================== WARNING: DATA RACE Write by goroutine 72: command-line-arguments_test.TestRaceChanSendSend.func2() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:244 +0xb6 Previous write by goroutine 14: command-line-arguments_test.TestRaceChanSendSend.func1() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:231 +0x32 Goroutine 72 (running) created at: command-line-arguments_test.TestRaceChanSendSend() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:247 +0x143 testing.tRunner() /tmp/workdir/go/src/testing/testing.go:473 +0xdc Goroutine 14 (finished) created at: command-line-arguments_test.TestRaceChanSendSend() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:238 +0x103 testing.tRunner() /tmp/workdir/go/src/testing/testing.go:473 +0xdc ================== --- PASS: TestRaceChanSendSend (0.00s) === RUN TestNoRaceChanPtr --- PASS: TestNoRaceChanPtr (0.00s) === RUN TestRaceChanWrongSend ================== WARNING: DATA RACE Write by goroutine 17: command-line-arguments_test.TestRaceChanWrongSend() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:278 +0x14b testing.tRunner() /tmp/workdir/go/src/testing/testing.go:473 +0xdc Previous write by goroutine 19: command-line-arguments_test.TestRaceChanWrongSend.func2() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:273 +0x2e Goroutine 17 (running) created at: testing.RunTests() /tmp/workdir/go/src/testing/testing.go:582 +0xae2 testing.(*M).Run() /tmp/workdir/go/src/testing/testing.go:515 +0x11d main.main() command-line-arguments/_test/_testmain.go:736 +0x210 Goroutine 19 (finished) created at: command-line-arguments_test.TestRaceChanWrongSend() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:275 +0xf8 testing.tRunner() /tmp/workdir/go/src/testing/testing.go:473 +0xdc ================== --- PASS: TestRaceChanWrongSend (0.01s) === RUN TestRaceChanWrongClose ================== WARNING: DATA RACE Write by goroutine 20: runtime.closechan() /tmp/workdir/go/src/runtime/chan.go:292 +0x0 command-line-arguments_test.TestRaceChanWrongClose.func2() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:298 +0x55 Previous read by goroutine 21: runtime.chansend() /tmp/workdir/go/src/runtime/chan.go:115 +0x0 command-line-arguments_test.TestRaceChanWrongClose.func1() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:293 +0x88 Goroutine 20 (running) created at: command-line-arguments_test.TestRaceChanWrongClose() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:299 +0xf8 testing.tRunner() /tmp/workdir/go/src/testing/testing.go:473 +0xdc Goroutine 21 (finished) created at: command-line-arguments_test.TestRaceChanWrongClose() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:294 +0xcc testing.tRunner() /tmp/workdir/go/src/testing/testing.go:473 +0xdc ================== ================== WARNING: DATA RACE Write by goroutine 18: command-line-arguments_test.TestRaceChanWrongClose() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:302 +0x141 testing.tRunner() /tmp/workdir/go/src/testing/testing.go:473 +0xdc Previous write by goroutine 20: command-line-arguments_test.TestRaceChanWrongClose.func2() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:297 +0x3b Goroutine 18 (running) created at: testing.RunTests() /tmp/workdir/go/src/testing/testing.go:582 +0xae2 testing.(*M).Run() /tmp/workdir/go/src/testing/testing.go:515 +0x11d main.main() command-line-arguments/_test/_testmain.go:736 +0x210 Goroutine 20 (finished) created at: command-line-arguments_test.TestRaceChanWrongClose() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:299 +0xf8 testing.tRunner() /tmp/workdir/go/src/testing/testing.go:473 +0xdc ================== --- PASS: TestRaceChanWrongClose (0.02s) === RUN TestRaceChanSendClose ================== WARNING: DATA RACE Write by goroutine 25: runtime.closechan() /tmp/workdir/go/src/runtime/chan.go:292 +0x0 command-line-arguments_test.TestRaceChanSendClose.func2() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:320 +0x3b Previous read by goroutine 22: runtime.chansend() /tmp/workdir/go/src/runtime/chan.go:115 +0x0 command-line-arguments_test.TestRaceChanSendClose.func1() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:316 +0x78 Goroutine 25 (running) created at: command-line-arguments_test.TestRaceChanSendClose() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:322 +0xbd testing.tRunner() /tmp/workdir/go/src/testing/testing.go:473 +0xdc Goroutine 22 (finished) created at: command-line-arguments_test.TestRaceChanSendClose() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:317 +0x91 testing.tRunner() /tmp/workdir/go/src/testing/testing.go:473 +0xdc ================== --- PASS: TestRaceChanSendClose (0.01s) === RUN TestRaceChanSendSelectClose ================== WARNING: DATA RACE Read by goroutine 27: runtime.chansend() /tmp/workdir/go/src/runtime/chan.go:115 +0x0 command-line-arguments_test.TestRaceChanSendSelectClose.func1() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:338 +0xd2 Previous write by goroutine 28: runtime.closechan() /tmp/workdir/go/src/runtime/chan.go:292 +0x0 command-line-arguments_test.TestRaceChanSendSelectClose.func2() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:343 +0x2e Goroutine 27 (running) created at: command-line-arguments_test.TestRaceChanSendSelectClose() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:341 +0xb9 testing.tRunner() /tmp/workdir/go/src/testing/testing.go:473 +0xdc Goroutine 28 (finished) created at: command-line-arguments_test.TestRaceChanSendSelectClose() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:345 +0xe5 testing.tRunner() /tmp/workdir/go/src/testing/testing.go:473 +0xdc ================== --- PASS: TestRaceChanSendSelectClose (0.01s) === RUN TestRaceSelectReadWriteAsync ================== WARNING: DATA RACE Read by goroutine 30: command-line-arguments_test.TestRaceSelectReadWriteAsync.func1() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:359 +0x4d Previous write by goroutine 26: command-line-arguments_test.TestRaceSelectReadWriteAsync() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:365 +0x1d4 testing.tRunner() /tmp/workdir/go/src/testing/testing.go:473 +0xdc Goroutine 30 (running) created at: command-line-arguments_test.TestRaceSelectReadWriteAsync() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:363 +0x157 testing.tRunner() /tmp/workdir/go/src/testing/testing.go:473 +0xdc Goroutine 26 (running) created at: testing.RunTests() /tmp/workdir/go/src/testing/testing.go:582 +0xae2 testing.(*M).Run() /tmp/workdir/go/src/testing/testing.go:515 +0x11d main.main() command-line-arguments/_test/_testmain.go:736 +0x210 ================== --- PASS: TestRaceSelectReadWriteAsync (0.00s) === RUN TestRaceSelectReadWriteSync ================== WARNING: DATA RACE Read by goroutine 74: command-line-arguments_test.TestRaceSelectReadWriteSync.func3() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:386 +0x4d Previous write by goroutine 29: command-line-arguments_test.TestRaceSelectReadWriteSync() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:392 +0x1eb testing.tRunner() /tmp/workdir/go/src/testing/testing.go:473 +0xdc Goroutine 74 (running) created at: command-line-arguments_test.TestRaceSelectReadWriteSync() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:390 +0x16e testing.tRunner() /tmp/workdir/go/src/testing/testing.go:473 +0xdc Goroutine 29 (running) created at: testing.RunTests() /tmp/workdir/go/src/testing/testing.go:582 +0xae2 testing.(*M).Run() /tmp/workdir/go/src/testing/testing.go:515 +0x11d main.main() command-line-arguments/_test/_testmain.go:736 +0x210 ================== --- PASS: TestRaceSelectReadWriteSync (0.00s) === RUN TestNoRaceSelectReadWriteAsync --- PASS: TestNoRaceSelectReadWriteAsync (0.00s) === RUN TestRaceChanReadWriteAsync ================== WARNING: DATA RACE Read by goroutine 35: command-line-arguments_test.TestRaceChanReadWriteAsync.func1() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:424 +0x32 Previous write by goroutine 36: command-line-arguments_test.TestRaceChanReadWriteAsync() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:427 +0x150 testing.tRunner() /tmp/workdir/go/src/testing/testing.go:473 +0xdc Goroutine 35 (running) created at: command-line-arguments_test.TestRaceChanReadWriteAsync() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:426 +0x115 testing.tRunner() /tmp/workdir/go/src/testing/testing.go:473 +0xdc Goroutine 36 (running) created at: testing.RunTests() /tmp/workdir/go/src/testing/testing.go:582 +0xae2 testing.(*M).Run() /tmp/workdir/go/src/testing/testing.go:515 +0x11d main.main() command-line-arguments/_test/_testmain.go:736 +0x210 ================== --- PASS: TestRaceChanReadWriteAsync (0.00s) === RUN TestRaceChanReadWriteSync ================== WARNING: DATA RACE Read by goroutine 39: command-line-arguments_test.TestRaceChanReadWriteSync.func3() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:444 +0x32 Previous write by goroutine 38: command-line-arguments_test.TestRaceChanReadWriteSync() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:447 +0x16c testing.tRunner() /tmp/workdir/go/src/testing/testing.go:473 +0xdc Goroutine 39 (running) created at: command-line-arguments_test.TestRaceChanReadWriteSync() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:446 +0x131 testing.tRunner() /tmp/workdir/go/src/testing/testing.go:473 +0xdc Goroutine 38 (running) created at: testing.RunTests() /tmp/workdir/go/src/testing/testing.go:582 +0xae2 testing.(*M).Run() /tmp/workdir/go/src/testing/testing.go:515 +0x11d main.main() command-line-arguments/_test/_testmain.go:736 +0x210 ================== --- PASS: TestRaceChanReadWriteSync (0.00s) === RUN TestNoRaceChanReadWriteAsync --- PASS: TestNoRaceChanReadWriteAsync (0.00s) === RUN TestNoRaceProducerConsumerUnbuffered --- PASS: TestNoRaceProducerConsumerUnbuffered (0.00s) === RUN TestRaceChanItselfSend ================== WARNING: DATA RACE Read by goroutine 46: command-line-arguments_test.TestRaceChanItselfSend.func1() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:494 +0x3b Previous write by goroutine 45: command-line-arguments_test.TestRaceChanItselfSend() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:497 +0x109 testing.tRunner() /tmp/workdir/go/src/testing/testing.go:473 +0xdc Goroutine 46 (running) created at: command-line-arguments_test.TestRaceChanItselfSend() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:496 +0xd8 testing.tRunner() /tmp/workdir/go/src/testing/testing.go:473 +0xdc Goroutine 45 (running) created at: testing.RunTests() /tmp/workdir/go/src/testing/testing.go:582 +0xae2 testing.(*M).Run() /tmp/workdir/go/src/testing/testing.go:515 +0x11d main.main() command-line-arguments/_test/_testmain.go:736 +0x210 ================== --- PASS: TestRaceChanItselfSend (0.00s) === RUN TestRaceChanItselfRecv ================== WARNING: DATA RACE Write by goroutine 48: command-line-arguments_test.TestRaceChanItselfRecv() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:510 +0x154 testing.tRunner() /tmp/workdir/go/src/testing/testing.go:473 +0xdc Previous read by goroutine 47: command-line-arguments_test.TestRaceChanItselfRecv.func1() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:506 +0x2e Goroutine 48 (running) created at: testing.RunTests() /tmp/workdir/go/src/testing/testing.go:582 +0xae2 testing.(*M).Run() /tmp/workdir/go/src/testing/testing.go:515 +0x11d main.main() command-line-arguments/_test/_testmain.go:736 +0x210 Goroutine 47 (finished) created at: command-line-arguments_test.TestRaceChanItselfRecv() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:508 +0x116 testing.tRunner() /tmp/workdir/go/src/testing/testing.go:473 +0xdc ================== --- PASS: TestRaceChanItselfRecv (0.01s) === RUN TestRaceChanItselfNil ================== WARNING: DATA RACE Write by goroutine 50: command-line-arguments_test.TestRaceChanItselfNil() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:520 +0xc2 testing.tRunner() /tmp/workdir/go/src/testing/testing.go:473 +0xdc Previous read by goroutine 49: command-line-arguments_test.TestRaceChanItselfNil.func1() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:517 +0x37 Goroutine 50 (running) created at: testing.RunTests() /tmp/workdir/go/src/testing/testing.go:582 +0xae2 testing.(*M).Run() /tmp/workdir/go/src/testing/testing.go:515 +0x11d main.main() command-line-arguments/_test/_testmain.go:736 +0x210 Goroutine 49 (finished) created at: command-line-arguments_test.TestRaceChanItselfNil() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:518 +0xa7 testing.tRunner() /tmp/workdir/go/src/testing/testing.go:473 +0xdc ================== --- PASS: TestRaceChanItselfNil (0.01s) === RUN TestRaceChanItselfClose ================== WARNING: DATA RACE Read by goroutine 51: command-line-arguments_test.TestRaceChanItselfClose.func1() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:528 +0x2e Previous write by goroutine 52: command-line-arguments_test.TestRaceChanItselfClose() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:531 +0x109 testing.tRunner() /tmp/workdir/go/src/testing/testing.go:473 +0xdc Goroutine 51 (running) created at: command-line-arguments_test.TestRaceChanItselfClose() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:530 +0xd8 testing.tRunner() /tmp/workdir/go/src/testing/testing.go:473 +0xdc Goroutine 52 (running) created at: testing.RunTests() /tmp/workdir/go/src/testing/testing.go:582 +0xae2 testing.(*M).Run() /tmp/workdir/go/src/testing/testing.go:515 +0x11d main.main() command-line-arguments/_test/_testmain.go:736 +0x210 ================== --- PASS: TestRaceChanItselfClose (0.00s) === RUN TestRaceChanItselfLen ================== WARNING: DATA RACE Read by goroutine 53: command-line-arguments_test.TestRaceChanItselfLen.func1() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:539 +0x2e Previous write by goroutine 54: command-line-arguments_test.TestRaceChanItselfLen() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:542 +0x109 testing.tRunner() /tmp/workdir/go/src/testing/testing.go:473 +0xdc Goroutine 53 (running) created at: command-line-arguments_test.TestRaceChanItselfLen() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:541 +0xd8 testing.tRunner() /tmp/workdir/go/src/testing/testing.go:473 +0xdc Goroutine 54 (running) created at: testing.RunTests() /tmp/workdir/go/src/testing/testing.go:582 +0xae2 testing.(*M).Run() /tmp/workdir/go/src/testing/testing.go:515 +0x11d main.main() command-line-arguments/_test/_testmain.go:736 +0x210 ================== --- PASS: TestRaceChanItselfLen (0.00s) === RUN TestRaceChanItselfCap ================== WARNING: DATA RACE Read by goroutine 55: command-line-arguments_test.TestRaceChanItselfCap.func1() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:550 +0x2e Previous write by goroutine 56: command-line-arguments_test.TestRaceChanItselfCap() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:553 +0x109 testing.tRunner() /tmp/workdir/go/src/testing/testing.go:473 +0xdc Goroutine 55 (running) created at: command-line-arguments_test.TestRaceChanItselfCap() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:552 +0xd8 testing.tRunner() /tmp/workdir/go/src/testing/testing.go:473 +0xdc Goroutine 56 (running) created at: testing.RunTests() /tmp/workdir/go/src/testing/testing.go:582 +0xae2 testing.(*M).Run() /tmp/workdir/go/src/testing/testing.go:515 +0x11d main.main() command-line-arguments/_test/_testmain.go:736 +0x210 ================== --- PASS: TestRaceChanItselfCap (0.00s) === RUN TestRaceChanCloseLen ================== WARNING: DATA RACE Write by goroutine 58: command-line-arguments_test.TestRaceChanCloseLen() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:567 +0xf4 testing.tRunner() /tmp/workdir/go/src/testing/testing.go:473 +0xdc Previous write by goroutine 57: command-line-arguments_test.TestRaceChanCloseLen.func1() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:562 +0x2e Goroutine 58 (running) created at: testing.RunTests() /tmp/workdir/go/src/testing/testing.go:582 +0xae2 testing.(*M).Run() /tmp/workdir/go/src/testing/testing.go:515 +0x11d main.main() command-line-arguments/_test/_testmain.go:736 +0x210 Goroutine 57 (finished) created at: command-line-arguments_test.TestRaceChanCloseLen() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:564 +0xca testing.tRunner() /tmp/workdir/go/src/testing/testing.go:473 +0xdc ================== --- PASS: TestRaceChanCloseLen (0.01s) === RUN TestRaceChanCloseSend ================== WARNING: DATA RACE Read by goroutine 60: runtime.chansend() /tmp/workdir/go/src/runtime/chan.go:115 +0x0 command-line-arguments_test.TestRaceChanCloseSend() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:577 +0xbe testing.tRunner() /tmp/workdir/go/src/testing/testing.go:473 +0xdc Previous write by goroutine 59: runtime.closechan() /tmp/workdir/go/src/runtime/chan.go:292 +0x0 command-line-arguments_test.TestRaceChanCloseSend.func1() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:574 +0x2e Goroutine 60 (running) created at: testing.RunTests() /tmp/workdir/go/src/testing/testing.go:582 +0xae2 testing.(*M).Run() /tmp/workdir/go/src/testing/testing.go:515 +0x11d main.main() command-line-arguments/_test/_testmain.go:736 +0x210 Goroutine 59 (running) created at: command-line-arguments_test.TestRaceChanCloseSend() /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:576 +0x91 testing.tRunner() /tmp/workdir/go/src/testing/testing.go:473 +0xdc ================== --- FAIL: TestRaceChanCloseSend (0.00s) panic: send on closed channel [recovered] panic: send on closed channel goroutine 31 [running]: testing.tRunner.func1(0xc8200a42d0) /tmp/workdir/go/src/testing/testing.go:467 +0x22a command-line-arguments_test.TestRaceChanCloseSend(0xc8200a42d0) /tmp/workdir/go/src/runtime/race/testdata/chan_test.go:577 +0xbf testing.tRunner(0xc8200a42d0, 0xbaa3b0) /tmp/workdir/go/src/testing/testing.go:473 +0xdd created by testing.RunTests /tmp/workdir/go/src/testing/testing.go:582 +0xae3 exit status 2 FAIL command-line-arguments 1.537s FAIL FAIL runtime/race 5.985s ok runtime/trace 10.582s ok sort 1.957s 2016/01/24 05:22:58 Failed: exit status 1 Error: tests failed: dist test failed: go_test:runtime/debug: exit status 1