windows-amd64-longtest at d1efaed17a7a4bf4b2dd8a8f975069dfd8251ca4 :: Running C:\workdir\go\src\make.bat with args ["C:\\workdir\\go\\src\\make.bat"] and env ["GOBUILDEXIT=1" "=C:=C:\\golang" "ALLUSERSPROFILE=C:\\ProgramData" "APPDATA=C:\\Users\\gopher\\AppData\\Roaming" "CommonProgramFiles=C:\\Program Files\\Common Files" "CommonProgramFiles(x86)=C:\\Program Files (x86)\\Common Files" "CommonProgramW6432=C:\\Program Files\\Common Files" "COMPUTERNAME=SERVER-2016-V7-" "ComSpec=C:\\Windows\\system32\\cmd.exe" "GooGetRoot=C:\\ProgramData\\GooGet" "GOROOT_BOOTSTRAP=C:\\workdir\\go1.4" "HOMEDRIVE=C:" "HOMEPATH=\\Users\\gopher" "LOCALAPPDATA=C:\\Users\\gopher\\AppData\\Local" "LOGONSERVER=\\\\SERVER-2016-V7-" "NUMBER_OF_PROCESSORS=16" "OS=Windows_NT" "PATH=C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\ProgramData\\GooGet;C:\\Program Files\\Google\\Compute Engine\\metadata_scripts;C:\\Program Files (x86)\\Google\\Cloud SDK\\google-cloud-sdk\\bin;C:\\Program Files\\Google\\Compute Engine\\sysprep;C:\\Users\\gopher\\AppData\\Local\\Microsoft\\WindowsApps;;C:\\godep\\gcc64\\bin" "PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC" "PROCESSOR_ARCHITECTURE=AMD64" "PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 63 Stepping 0, GenuineIntel" "PROCESSOR_LEVEL=6" "PROCESSOR_REVISION=3f00" "ProgramData=C:\\ProgramData" "ProgramFiles=C:\\Program Files" "ProgramFiles(x86)=C:\\Program Files (x86)" "ProgramW6432=C:\\Program Files" "PROMPT=$P$G" "PSModulePath=C:\\Program Files (x86)\\WindowsPowerShell\\Modules;C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules;C:\\Program Files (x86)\\Google\\Cloud SDK\\google-cloud-sdk\\platform\\PowerShell" "PUBLIC=C:\\Users\\Public" "SESSIONNAME=Console" "SystemDrive=C:" "SystemRoot=C:\\Windows" "TEMP=C:\\Users\\gopher\\AppData\\Local\\Temp\\1" "TMP=C:\\Users\\gopher\\AppData\\Local\\Temp\\1" "USERDOMAIN=SERVER-2016-V7-" "USERDOMAIN_ROAMINGPROFILE=SERVER-2016-V7-" "USERNAME=gopher" "USERPROFILE=C:\\Users\\gopher" "windir=C:\\Windows" "GO_STAGE0_NET_DELAY=8.3s" "GO_STAGE0_DL_DELAY=300ms" "WORKDIR=C:\\workdir" "GO_BUILDER_NAME=windows-amd64-longtest" "GO_TEST_SHORT=0" "GO_TEST_TIMEOUT_SCALE=5" "GOBIN="] in dir C:\workdir\go\src Building Go cmd/dist using C:\workdir\go1.4 Building Go toolchain1 using C:\workdir\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 windows/amd64. --- Installed Go for windows/amd64 in C:\workdir\go Installed commands in C:\workdir\go\bin ##### Testing packages. ok archive/tar 0.053s ok archive/zip 26.093s ok bufio 0.075s ok bytes 1.496s ok compress/bzip2 0.106s ok compress/flate 7.838s ok compress/gzip 0.227s ok compress/lzw 0.076s ok compress/zlib 0.737s ok container/heap 0.033s ok container/list 0.024s ok container/ring 0.023s ok context 0.223s ok crypto 0.024s ok crypto/aes 0.049s ok crypto/cipher 0.142s ok crypto/des 0.028s ok crypto/dsa 15.596s ok crypto/ecdsa 2.909s ok crypto/ed25519 0.075s ok crypto/elliptic 2.385s ok crypto/hmac 0.030s ok crypto/internal/subtle 0.024s ok crypto/md5 0.023s ok crypto/rand 0.173s ok crypto/rc4 0.048s ok crypto/rsa 0.402s ok crypto/sha1 0.029s ok crypto/sha256 0.031s ok crypto/sha512 0.024s ok crypto/subtle 0.027s ok crypto/tls 2.864s ok crypto/x509 2.895s ok database/sql 1.354s ok database/sql/driver 0.031s ok debug/dwarf 0.038s ok debug/elf 0.038s ok debug/gosym 2.080s ok debug/macho 0.031s ok debug/pe 4.660s ok debug/plan9obj 0.029s ok embed/internal/embedtest 0.033s ok encoding/ascii85 0.033s ok encoding/asn1 0.029s ok encoding/base32 0.047s ok encoding/base64 0.031s ok encoding/binary 0.023s ok encoding/csv 0.027s ok encoding/gob 0.041s ok encoding/hex 0.030s ok encoding/json 1.102s ok encoding/pem 0.033s ok encoding/xml 0.036s ok errors 0.026s ok expvar 0.028s ok flag 0.120s ok fmt 0.100s ok go/ast 0.031s ok go/build 1.140s ok go/constant 0.039s ok go/doc 0.064s ok go/format 0.030s ok go/importer 0.146s ok go/internal/gccgoimporter 0.044s ok go/internal/gcimporter 1.768s ok go/internal/srcimporter 4.744s ok go/parser 0.044s ok go/printer 0.276s ok go/scanner 0.027s ok go/token 0.039s ok go/types 11.600s ok hash 0.026s ok hash/adler32 0.035s ok hash/crc32 0.030s ok hash/crc64 0.033s ok hash/fnv 0.021s ok hash/maphash 135.855s ok html 0.022s ok html/template 0.364s ok image 0.203s ok image/color 0.045s ok image/draw 0.062s ok image/gif 0.279s ok image/jpeg 0.200s ok image/png 0.567s ok index/suffixarray 56.170s ok internal/cpu 0.022s ok internal/fmtsort 0.027s ok internal/poll 2.374s ok internal/profile 0.044s ok internal/reflectlite 0.065s ok internal/singleflight 0.049s ok internal/syscall/windows 0.052s ok internal/syscall/windows/registry 0.027s ok internal/trace 1.143s ok internal/unsafeheader 0.023s ok internal/xcoff 0.036s ok io 0.059s ok io/fs 0.028s ok io/ioutil 0.030s ok log 0.030s ok math 0.028s ok math/big 3.072s ok math/bits 0.025s ok math/cmplx 0.028s ok math/rand 4.214s ok mime 0.056s ok mime/multipart 0.281s ok mime/quotedprintable 0.141s ok net 57.737s ok net/http 52.180s ok net/http/cgi 0.239s ok net/http/cookiejar 0.029s ok net/http/fcgi 0.025s ok net/http/httptest 2.062s ok net/http/httptrace 0.030s ok net/http/httputil 0.103s ok net/http/internal 0.031s ok net/http/pprof 5.191s ok net/internal/socktest 0.033s ok net/mail 0.025s ok net/rpc 0.053s ok net/rpc/jsonrpc 0.036s ok net/smtp 0.035s ok net/textproto 0.023s ok net/url 0.029s ok os 63.670s ok os/exec 2.950s ok os/signal 1.681s ok os/user 0.033s ok path 0.024s ok path/filepath 0.491s ok plugin 0.030s ok reflect 0.628s ok regexp 14.560s ok regexp/syntax 0.313s ok runtime 203.325s ok runtime/debug 0.042s ok runtime/internal/atomic 2.870s ok runtime/internal/math 0.031s ok runtime/internal/sys 0.022s ok runtime/metrics 0.022s ok runtime/pprof 49.814s ok runtime/race 0.350s ok runtime/trace 9.190s ok sort 0.756s ok strconv 1.356s ok strings 3.080s ok sync 6.530s ok sync/atomic 3.866s ok syscall 0.024s ok testing 1.558s ok testing/fstest 0.026s ok testing/iotest 0.023s ok testing/quick 0.058s ok text/scanner 0.023s ok text/tabwriter 0.026s ok text/template 0.708s ok text/template/parse 0.029s ok time 6.484s ok unicode 0.033s ok unicode/utf16 0.024s ok unicode/utf8 0.027s ok cmd/addr2line 3.596s ok cmd/api 4.678s ok cmd/asm/internal/asm 0.465s ok cmd/asm/internal/lex 0.024s ok cmd/compile 5.513s ok cmd/compile/internal/gc 13.852s ok cmd/compile/internal/logopt 0.617s ok cmd/compile/internal/ssa 165.568s ok cmd/compile/internal/syntax 2.149s ok cmd/compile/internal/test 0.022s ok cmd/compile/internal/types 0.022s ok cmd/cover 2.176s ok cmd/doc 0.321s ok cmd/fix 1.819s go test proxy running at GOPROXY=http://127.0.0.1:53973/mod --- FAIL: TestScript (0.01s) --- FAIL: TestScript/build_trimpath_cgo (20.38s) script_test.go:210: # This test builds a cgo binary and verifies the source directory path # does not appear in the binary, either literally or in compressed DWARF. # TODO(golang.org/issue/36072): ideally we should build a binary from identical # sources in different directories and verify the binary and all intermediate # files are identical. (0.000s) # Check that the source path appears when -trimpath is not used. (6.671s) # Check that the source path does not appear when -trimpath is used. (10.353s) # Do the above, with the cgo (but not .c) sources in an overlay # Check that the source path appears when -trimpath is not used. (2.521s) > mkdir $WORK/overlay > cp hello.go $WORK/overlay/hello.go > mkdir hello_overlay > cp hello.c hello_overlay/hello.c > go build -overlay overlay.json -o hello_overlay.exe ./hello_overlay > grep -q gopath[/\\]src hello_overlay.exe > ! grep -q $WORK[/\\]overlay hello_overlay.exe FAIL: testdata\script\build_trimpath_cgo.txt:32: regexp.Compile("(?m)C:\\Users\\gopher\\AppData\\Local\\Temp\\1\\cmd-go-test-281344911\\tmpdir432300450\\script-build_trimpath_cgo[/\\\\]overlay"): error parsing regexp: invalid escape sequence: `\U` --- FAIL: TestScript/build_overlay (10.65s) script_test.go:210: # Test building in overlays. # TODO(#39958): add a test case where the destination file in the replace map # isn't a go file. Either completely exclude that case in fs.IsDirWithGoFiles # if the compiler doesn't allow it, or test that it works all the way. # TODO(#39958): add a test that both gc and gccgo assembly files can include .h # files. # The main package (m) is contained in an overlay. It imports m/dir2 which has one # file in an overlay and one file outside the overlay, which in turn imports m/dir, # which only has source files in the overlay. (9.366s) > cd m $WORK\gopath\src\m > ! go build . [stderr] no Go files in $WORK\gopath\src\m [exit status 1] > go build -overlay overlay.json -o main$GOEXE . > exec ./main$goexe [stdout] hello > stdout '^hello$' > go build -overlay overlay.json -o print_abspath$GOEXE ./printpath > exec ./print_abspath$GOEXE [stdout] $WORK\gopath\src\m\printpath\other.go $WORK\gopath\src\m\printpath\main.go > stdout $WORK[/\\]gopath[/\\]src[/\\]m[/\\]printpath[/\\]main.go > go build -overlay overlay.json -o print_trimpath$GOEXE -trimpath ./printpath > exec ./print_trimpath$GOEXE [stdout] m\printpath\other.go m\printpath\main.go > stdout ^m[/\\]printpath[/\\]main.go > go build -overlay overlay.json -o print_trimpath_two_files$GOEXE printpath/main.go printpath/other.go > exec ./print_trimpath_two_files$GOEXE [stdout] $WORK\gopath\src\m\printpath\other.go $WORK\gopath\src\m\printpath\main.go > stdout $WORK[/\\]gopath[/\\]src[/\\]m[/\\]printpath[/\\]main.go > stdout $WORK[/\\]gopath[/\\]src[/\\]m[/\\]printpath[/\\]other.go > go build -overlay overlay.json -o main_cgo_replace$GOEXE ./cgo_hello_replace > exec ./main_cgo_replace$GOEXE [stdout] hello cgo > stdout '^hello cgo$' FAIL: testdata\script\build_overlay.txt:36: no match for `(?m)^hello cgo$` found in stdout FAIL FAIL cmd/go 121.408s ok cmd/go/internal/auth 0.024s ok cmd/go/internal/cache 16.947s FAIL go tool dist: Failed: exit status 1