linux-amd64-race at 6384934468a7eddb01156f286e2de87b284f8eba :: Running /workdir/go/src/make.bash with args ["/workdir/go/src/make.bash"] and env ["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" "HOSTNAME=buildlet-linux-jessie-rn06722a3" "DEBIAN_FRONTEND=noninteractive" "HOME=/root" "USER=root" "GO_STAGE0_NET_DELAY=1.1s" "GO_STAGE0_DL_DELAY=100ms" "WORKDIR=/workdir" "GOROOT_BOOTSTRAP=/workdir/go1.4" "GO_BUILDER_NAME=linux-amd64-race" "GOROOT_BOOTSTRAP=/go1.4" "GO_DISABLE_OUTBOUND_NETWORK=1" "GOBIN=" "TMPDIR=/workdir/tmp" "GOCACHE=/workdir/gocache"] in dir /workdir/go/src Building Go cmd/dist using /go1.4. Building Go toolchain1 using /go1.4. Building Go bootstrap cmd/go (go_bootstrap) using Go toolchain1. Building Go toolchain2 using go_bootstrap and Go toolchain1. Building Go toolchain3 using go_bootstrap and Go toolchain2. Building packages and commands for linux/amd64. --- Installed Go for linux/amd64 in /workdir/go Installed commands in /workdir/go/bin :: Running /workdir/go/bin/go with args ["/workdir/go/bin/go" "install" "-race" "std"] and env ["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" "HOSTNAME=buildlet-linux-jessie-rn06722a3" "DEBIAN_FRONTEND=noninteractive" "HOME=/root" "USER=root" "GO_STAGE0_NET_DELAY=1.1s" "GO_STAGE0_DL_DELAY=100ms" "WORKDIR=/workdir" "GOROOT_BOOTSTRAP=/workdir/go1.4" "GO_BUILDER_NAME=linux-amd64-race" "GOROOT_BOOTSTRAP=/go1.4" "GO_DISABLE_OUTBOUND_NETWORK=1" "GOBIN=" "TMPDIR=/workdir/tmp" "GOCACHE=/workdir/gocache"] in dir /workdir/go/bin ##### Testing packages. ok archive/tar 1.123s ok archive/zip 3.851s ok bufio 1.705s ok bytes 4.332s ok compress/bzip2 2.032s ok compress/flate 8.427s ok compress/gzip 1.383s ok compress/lzw 1.955s ok compress/zlib 8.927s ok container/heap 1.041s ok container/list 1.010s ok container/ring 1.017s ok context 2.007s ok crypto 1.012s ok crypto/aes 1.065s ok crypto/cipher 1.053s ok crypto/des 1.096s ok crypto/dsa 1.015s ok crypto/ecdsa 1.969s ok crypto/ed25519 1.967s ok crypto/elliptic 1.171s ok crypto/hmac 1.014s ok crypto/internal/subtle 1.011s ok crypto/md5 1.016s ok crypto/rand 1.258s ok crypto/rc4 1.822s ok crypto/rsa 1.375s ok crypto/sha1 1.051s ok crypto/sha256 1.019s ok crypto/sha512 1.019s ok crypto/subtle 1.017s ok crypto/tls 3.225s ok crypto/x509 2.541s ok database/sql 1.742s ok database/sql/driver 1.011s ok debug/dwarf 1.046s ok debug/elf 1.097s ok debug/gosym 1.056s ok debug/macho 1.014s ok debug/pe 1.041s ok debug/plan9obj 1.011s ok encoding/ascii85 1.023s ok encoding/asn1 1.019s ok encoding/base32 1.078s ok encoding/base64 1.030s ok encoding/binary 1.020s ok encoding/csv 1.038s ok encoding/gob 1.085s ok encoding/hex 1.028s ok encoding/json 2.257s ok encoding/pem 1.053s ok encoding/xml 1.125s ok errors 1.022s ok expvar 1.013s ok flag 1.021s ok fmt 1.860s ok go/ast 1.020s ok go/build 1.489s ok go/constant 1.036s ok go/doc 1.262s ok go/format 1.083s ok go/importer 1.236s ok go/internal/gccgoimporter 1.050s ok go/internal/gcimporter 18.401s ok go/internal/srcimporter 5.732s ok go/parser 1.339s ok go/printer 3.325s ok go/scanner 1.022s ok go/token 1.120s ok go/types 8.837s ok hash 1.018s ok hash/adler32 1.067s ok hash/crc32 1.073s ok hash/crc64 1.027s ok hash/fnv 1.014s ok html 1.012s ok html/template 1.173s ok image 1.687s ok image/color 1.050s ok image/draw 1.663s ok image/gif 3.961s ok image/jpeg 3.263s ok image/png 1.320s ok index/suffixarray 2.859s ok internal/cpu 4.036s ok internal/fmtsort 1.015s ok internal/oserror 1.014s ok internal/poll 1.409s ok internal/reflectlite 1.016s ok internal/singleflight 1.025s ok internal/trace 1.278s ok internal/xcoff 1.042s ok io 1.061s ok io/ioutil 1.013s ok log 1.033s ok log/syslog 2.237s ok math 1.034s ok math/big 2.416s ok math/bits 1.023s ok math/cmplx 1.019s ok math/rand 4.746s ok mime 1.034s ok mime/multipart 3.381s ok mime/quotedprintable 1.035s ok net 28.334s ok net/http 9.117s ok net/http/cgi 6.289s ok net/http/cookiejar 1.032s ok net/http/fcgi 1.026s ok net/http/httptest 1.080s ok net/http/httptrace 1.011s ok net/http/httputil 1.167s ok net/http/internal 1.017s ok net/http/pprof 3.033s ok net/internal/socktest 1.012s ok net/mail 1.016s ok net/rpc 1.058s ok net/rpc/jsonrpc 1.033s ok net/smtp 1.042s ok net/textproto 1.016s ok net/url 1.030s ok os 9.828s ok os/exec 16.926s ok os/signal 19.593s ok os/user 1.019s ok path 1.036s ok path/filepath 1.046s ok plugin 1.013s ok reflect 1.316s ok regexp 1.539s ok regexp/syntax 4.762s ok runtime 34.216s ok runtime/debug 1.049s ok runtime/internal/atomic 1.020s ok runtime/internal/math 1.028s ok runtime/internal/sys 1.017s ok runtime/pprof 9.060s ok runtime/pprof/internal/profile 1.013s --- FAIL: TestOutput (9.68s) output_test.go:76: failed test case external_cgo_thread, expect: ================== WARNING: DATA RACE Read at 0x[0-9,a-f]+ by main goroutine: main\.main\(\) .*/main\.go:34 \+0x[0-9,a-f]+ Previous write at 0x[0-9,a-f]+ by goroutine [0-9]: main\.goCallback\(\) .*/main\.go:27 \+0x[0-9,a-f]+ main._cgoexpwrap_[0-9a-z]+_goCallback\(\) .*_cgo_gotypes\.go:[0-9]+ \+0x[0-9,a-f]+ Goroutine [0-9] \(running\) created at: runtime\.newextram\(\) .*/runtime/proc.go:[0-9]+ \+0x[0-9,a-f]+ ================== got: NoRaceAtomicAddInt64 . RaceAtomicAddInt64 . NoRaceAtomicAddInt32 . NoRaceAtomicLoadAddInt32 . NoRaceAtomicLoadStoreInt32 . NoRaceAtomicStoreCASInt32 . NoRaceAtomicCASLoadInt32 . NoRaceAtomicCASCASInt32 . NoRaceAtomicCASCASInt32_2 . NoRaceAtomicLoadInt64 . NoRaceAtomicCASCASUInt64 . NoRaceAtomicLoadStorePointer . NoRaceAtomicStoreCASUint64 . RaceAtomicStoreLoad . RaceAtomicLoadStore . RaceAtomicAddLoad . RaceAtomicAddStore . NoRaceAtomicCrash . NoRaceCgoSync . NoRaceChanSync . NoRaceChanSyncRev . NoRaceChanAsync . RaceChanAsyncRev . NoRaceChanAsyncCloseRecv . NoRaceChanAsyncCloseRecv2 . NoRaceChanAsyncCloseRecv3 . NoRaceChanSyncCloseRecv . NoRaceChanSyncCloseRecv2 . NoRaceChanSyncCloseRecv3 . RaceChanSyncCloseSend . RaceChanAsyncCloseSend . RaceChanCloseClose . RaceChanSendLen . RaceChanRecvLen . RaceChanSendSend . NoRaceChanPtr . RaceChanWrongSend . RaceChanWrongClose . RaceChanSendClose . RaceChanSendSelectClose . RaceSelectReadWriteAsync . RaceSelectReadWriteSync . NoRaceSelectReadWriteAsync . RaceChanReadWriteAsync . RaceChanReadWriteSync . NoRaceChanReadWriteAsync . NoRaceProducerConsumerUnbuffered . RaceChanItselfSend . RaceChanItselfRecv . RaceChanItselfNil . RaceChanItselfClose . RaceChanItselfLen . RaceChanItselfCap . NoRaceChanCloseLen . NoRaceChanCloseCap . RaceChanCloseSend . NoRaceChanMutex . NoRaceSelectMutex . RaceChanSem . NoRaceChanWaitGroup . NoRaceBlockedSendSync . NoRaceBlockedSelectSendSync . NoRaceComp . NoRaceComp2 . RaceComp . RaceComp2 . RaceComp3 . RaceCompArray . RaceConv1 . RaceConv2 . RaceConv3 . RaceConv4 . NoRaceCompPtr . NoRaceCompPtr2 . RaceCompPtr . RaceCompPtr2 . NoRaceFin . NoRaceFinGlobal . RaceFin . NoRaceIOFile . NoRaceIOHttp . RaceIssue12664 . RaceIssue12664_2 . RaceIssue12664_3 . RaceIssue12664_4 . RaceMapRW . RaceMapRW2 . RaceMapRWArray . NoRaceMapRR . RaceMapRange . RaceMapRange2 . NoRaceMapRangeRange . RaceMapLen . RaceMapDelete . RaceMapLenDelete . RaceMapVariable . RaceMapVariable2 . RaceMapVariable3 . RaceMapLookupPartKey . RaceMapLookupPartKey2 . RaceMapDeletePartKey . RaceMapInsertPartKey . RaceMapInsertPartVal . RaceMapAssignMultipleReturn . RaceMapBigKeyAccess1 . RaceMapBigKeyAccess2 . RaceMapBigKeyInsert . RaceMapBigKeyDelete . RaceMapBigValInsert . RaceMapBigValAccess1 . RaceMapBigValAccess2 . RaceIntRWGlobalFuncs . RaceIntRWClosures . NoRaceIntRWClosures . RaceInt32RWClosures . NoRaceCase . RaceCaseCondition . RaceCaseCondition2 . RaceCaseBody . NoRaceCaseFallthrough . RaceCaseFallthrough . RaceCaseIssue6418 . RaceCaseType . RaceCaseTypeBody . RaceCaseTypeIssue5890 . NoRaceRange . NoRaceRangeIssue5446 . RaceRange . RaceForInit . NoRaceForInit . RaceForTest . RaceForIncr . NoRaceForIncr . RacePlus . RacePlus2 . NoRacePlus . RaceComplement . RaceDiv . RaceDivConst . RaceMod . RaceModConst . RaceRotate . NoRaceEnoughRegisters . RaceFuncArgument . RaceFuncArgument2 . RaceSprint . RaceArrayCopy . RaceNestedArrayCopy . RaceStructRW . RaceStructFieldRW1 . NoRaceStructFieldRW1 . NoRaceStructFieldRW2 . RaceStructFieldRW2 . RaceStructFieldRW3 . RaceEfaceWW . RaceIfaceWW . RaceIfaceCmp . RaceIfaceCmpNil . RaceEfaceConv . RaceIfaceConv . RaceError . RaceIntptrRW . RaceStringRW . RaceStringPtrRW . RaceFloat64WW . RaceComplex128WW . RaceUnsafePtrRW . RaceFuncVariableRW . RaceFuncVariableWW . RacePanic . NoRaceBlank . RaceAppendRW . RaceAppendLenRW . RaceAppendCapRW . NoRaceFuncArgsRW . RaceFuncArgsRW . RaceCrawl . RaceIndirection . RaceRune . RaceEmptyInterface1 . RaceEmptyInterface2 . RaceTLS . NoRaceHeapReallocation . RaceAnd . RaceAnd2 . NoRaceAnd . RaceOr . RaceOr2 . NoRaceOr . NoRaceShortCalc . NoRaceShortCalc2 . RaceFuncItself . NoRaceFuncUnlock . RaceStructInit . RaceArrayInit . RaceMapInit . RaceMapInit2 . RaceInterCall . RaceInterCall2 . RaceFuncCall . RaceMethodCall . RaceMethodCall2 . RaceMethodValue . RaceMethodValue2 . RaceMethodValue3 . NoRaceMethodValue . RacePanicArg . RaceDeferArg . RaceDeferArg2 . NoRaceAddrExpr . RaceAddrExpr . RaceTypeAssert . RaceBlockAs . RaceBlockCall1 . RaceBlockCall2 . RaceBlockCall3 . RaceBlockCall4 . RaceBlockCall5 . RaceBlockCall6 . RaceSliceSlice . RaceSliceSlice2 . RaceSliceString . RaceSliceStruct . RaceAppendSliceStruct . RaceStructInd . RaceAsFunc1 . RaceAsFunc2 . RaceAsFunc3 . NoRaceAsFunc4 . RaceHeapParam . NoRaceEmptyStruct . RaceNestedStruct . RaceIssue5567 . RaceIssue5654 . NoRaceMethodThunk . RaceMethodThunk . RaceMethodThunk2 . RaceMethodThunk3 . RaceMethodThunk4 . NoRaceTinyAlloc . NoRaceMutex . RaceMutex . RaceMutex2 . NoRaceMutexPureHappensBefore . NoRaceMutexSemaphore . NoRaceMutexExampleFromHtml . RaceMutexOverwrite . RacePool . NoRacePool . RaceReflectRW . RaceReflectWW . RaceReflectCopyWW . RaceUnaddressableMapLen . NoRaceStackPushPop . NoRaceRpcChan . NoRaceReturn . NoRaceForInfiniteLoop . RaceMutexRWMutex . NoRaceRWMutex . RaceRWMutexMultipleReaders . NoRaceRWMutexMultipleReaders . NoRaceRWMutexTransitive . NoRaceSelect1 . NoRaceSelect2 . NoRaceSelect3 . NoRaceSelect4 . NoRaceSelect5 . RaceSelect1 . RaceSelect2 . RaceSelect3 . RaceSelect4 . RaceSelect5 . RaceSliceRW . NoRaceSliceRW . RaceSliceWW . NoRaceArrayWW . RaceArrayWW . NoRaceSliceWriteLen . NoRaceSliceWriteCap . RaceSliceCopyRead . NoRaceSliceWriteCopy . RaceSliceCopyWrite2 . RaceSliceCopyWrite3 . NoRaceSliceCopyRead . RacePointerSliceCopyRead . NoRacePointerSliceWriteCopy . RacePointerSliceCopyWrite2 . NoRacePointerSliceCopyRead . NoRaceSliceWriteSlice2 . RaceSliceWriteSlice . NoRaceSliceWriteSlice . NoRaceSliceLenCap . NoRaceStructSlicesRangeWrite . RaceSliceDifferent . RaceSliceRangeWrite . NoRaceSliceRangeWrite . RaceSliceRangeAppend . NoRaceSliceRangeAppend . RaceSliceVarWrite . RaceSliceVarRead . RaceSliceVarRange . RaceSliceVarAppend . RaceSliceVarCopy . RaceSliceVarCopy2 . RaceSliceAppend . RaceSliceAppendWrite . RaceSliceAppendSlice . RaceSliceAppendSlice2 . RaceSliceAppendString . RacePointerSliceAppend . RacePointerSliceAppendWrite . RacePointerSliceAppendSlice . RacePointerSliceAppendSlice2 . NoRaceSliceIndexAccess . NoRaceSliceIndexAccess2 . RaceSliceIndexAccess . RaceSliceIndexAccess2 . RaceSliceByteToString . RaceSliceRuneToString . RaceConcatString . RaceCompareString . RaceSlice3 . NoRaceCond . RaceCond . RaceAnnounceThreads . NoRaceAfterFunc1 . NoRaceAfterFunc2 . NoRaceAfterFunc3 . RaceAfterFunc3 . RaceGoroutineCreationStack . NoRaceNilMutexCrash . NoRaceWaitGroup . RaceWaitGroup . NoRaceWaitGroup2 . RaceWaitGroupAsMutex . RaceWaitGroupWrongWait . RaceWaitGroupWrongAdd . NoRaceWaitGroupMultipleWait . NoRaceWaitGroupMultipleWait2 . NoRaceWaitGroupMultipleWait3 . RaceWaitGroup2 . NoRaceWaitGroupPanicRecover . NoRaceWaitGroupPanicRecover2 . NoRaceWaitGroupTransitive . NoRaceWaitGroupReuse . NoRaceWaitGroupReuse2 . RaceWaitGroupReuse . NoRaceWaitGroupConcurrentAdd . Passed 348 of 348 tests (100.00%, 0+, 0-) 0 expected failures (0 has not fail) FAIL FAIL runtime/race 18.104s FAIL 2019/06/17 18:26:19 Failed: exit status 1 Error: tests failed: dist test failed: go_test:runtime/race: exit status 1