windows-amd64-longtest at 64c9ee98b7684cf2156f620cbab4dbb6081b9771 :: 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=4" "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=34.3s" "GO_STAGE0_DL_DELAY=200ms" "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.043s ok archive/zip 32.201s ok bufio 0.076s ok bytes 1.344s ok compress/bzip2 0.136s ok compress/flate 8.376s ok compress/gzip 0.276s ok compress/lzw 0.106s ok compress/zlib 1.035s ok container/heap 0.042s ok container/list 0.030s ok container/ring 0.025s ok context 2.418s ok crypto 0.106s ok crypto/aes 0.052s ok crypto/cipher 0.234s ok crypto/des 0.055s ok crypto/dsa 16.677s ok crypto/ecdsa 3.206s ok crypto/ed25519 0.097s ok crypto/elliptic 2.379s ok crypto/hmac 0.032s ok crypto/internal/subtle 0.027s ok crypto/md5 0.027s ok crypto/rand 0.178s ok crypto/rc4 0.059s ok crypto/rsa 0.336s ok crypto/sha1 0.031s ok crypto/sha256 0.028s ok crypto/sha512 0.029s ok crypto/subtle 0.190s ok crypto/tls 0.726s ok crypto/x509 2.582s ok database/sql 1.290s ok database/sql/driver 0.064s ok debug/dwarf 0.034s ok debug/elf 0.043s ok debug/gosym 1.910s ok debug/macho 0.043s ok debug/pe 5.067s ok debug/plan9obj 0.033s ok encoding/ascii85 0.033s ok encoding/asn1 0.032s ok encoding/base32 0.044s ok encoding/base64 0.033s ok encoding/binary 0.031s ok encoding/csv 0.046s ok encoding/gob 0.043s ok encoding/hex 0.037s ok encoding/json 1.039s ok encoding/pem 0.059s ok encoding/xml 0.044s ok errors 0.036s ok expvar 0.030s ok flag 0.029s ok fmt 0.113s ok go/ast 0.030s ok go/build 0.271s ok go/constant 0.041s ok go/doc 0.069s ok go/format 0.040s ok go/importer 0.133s ok go/internal/gccgoimporter 0.039s ok go/internal/gcimporter 1.406s ok go/internal/srcimporter 2.347s ok go/parser 0.070s ok go/printer 0.269s ok go/scanner 0.090s ok go/token 0.037s ok go/types 10.524s ok hash 0.035s ok hash/adler32 0.048s ok hash/crc32 0.028s ok hash/crc64 0.031s ok hash/fnv 0.028s ok hash/maphash 153.980s ok html 0.050s ok html/template 0.066s ok image 0.197s ok image/color 0.053s ok image/draw 0.064s ok image/gif 0.290s ok image/jpeg 0.256s ok image/png 0.207s ok index/suffixarray 59.005s ok internal/cpu 0.027s ok internal/fmtsort 0.065s ok internal/poll 0.814s ok internal/reflectlite 0.061s ok internal/singleflight 0.040s ok internal/syscall/windows 0.066s ok internal/syscall/windows/registry 0.032s ok internal/trace 1.192s ok internal/xcoff 0.041s ok io 0.069s ok io/ioutil 0.031s ok log 0.108s ok math 0.032s ok math/big 2.249s ok math/bits 0.031s ok math/cmplx 0.098s ok math/rand 4.214s ok mime 0.048s ok mime/multipart 0.302s ok mime/quotedprintable 0.108s ok net 60.734s ok net/http 53.926s ok net/http/cgi 0.168s ok net/http/cookiejar 0.050s ok net/http/fcgi 0.037s ok net/http/httptest 2.061s ok net/http/httptrace 0.032s ok net/http/httputil 0.117s ok net/http/internal 0.421s ok net/http/pprof 2.045s ok net/internal/socktest 0.029s ok net/mail 0.030s ok net/rpc 0.090s ok net/rpc/jsonrpc 0.042s ok net/smtp 0.049s ok net/textproto 0.037s ok net/url 0.077s ok os 63.898s ok os/exec 3.574s ok os/signal 2.304s ok os/user 0.143s ok path 0.209s ok path/filepath 0.537s ok plugin 0.067s ok reflect 0.942s ok regexp 21.941s ok regexp/syntax 0.532s ok runtime 228.373s ok runtime/debug 0.507s ok runtime/internal/atomic 0.741s ok runtime/internal/math 0.071s ok runtime/internal/sys 0.029s ok runtime/pprof 51.675s ok runtime/pprof/internal/profile 0.049s ok runtime/trace 11.597s ok sort 1.006s ok strconv 3.358s ok strings 2.131s ok sync 5.599s ok sync/atomic 1.838s ok syscall 0.031s ok testing 1.360s ok testing/iotest 0.095s ok testing/quick 0.078s ok text/scanner 0.027s ok text/tabwriter 0.083s ok text/template 0.415s ok text/template/parse 0.035s ok time 7.554s ok unicode 0.063s ok unicode/utf16 0.035s ok unicode/utf8 0.073s ok cmd/addr2line 2.685s ok cmd/api 0.066s ok cmd/asm/internal/asm 1.179s ok cmd/asm/internal/lex 0.080s ok cmd/compile 7.471s ok cmd/compile/internal/gc 27.610s ok cmd/compile/internal/logopt 9.047s ok cmd/compile/internal/ssa 208.366s ok cmd/compile/internal/syntax 4.712s ok cmd/compile/internal/test 0.096s [no tests to run] ok cmd/compile/internal/types 0.029s ok cmd/cover 3.639s ok cmd/doc 0.356s ok cmd/fix 0.089s go test proxy running at GOPROXY=http://127.0.0.1:53506/mod go proxy: no archive example.com/newcycle v1.0.0: file does not exist go proxy: no archive rsc.io v1.5.2: file does not exist go proxy: no archive golang.org v0.1.0: file does not exist go proxy: no archive golang.org v0.3.0: file does not exist go proxy: no archive golang.org/x v0.1.0: file does not exist go proxy: no archive golang.org/x v0.3.0: file does not exist go proxy: no archive rsc.io v1.5.1: file does not exist go proxy: no archive rsc.io v1.0.0: file does not exist go proxy: no archive rsc.io v1.0.0: file does not exist go proxy: no archive rsc.io v1.0.0: file does not exist go proxy: no archive rsc.io v1.0.0: file does not exist go proxy: no archive example.com v0.1.0: file does not exist go proxy: no archive rsc.io v1.1.0: file does not exist go proxy: no archive rsc.io v1.5.2: file does not exist go proxy: no archive rsc.io v1.0.0: file does not exist go proxy: no archive rsc.io v1.4.0: file does not exist --- FAIL: TestScript (0.03s) --- FAIL: TestScript/version (1.73s) script_test.go:192: > env GO111MODULE=on > [short] skip > go build -o fortune.exe rsc.io/fortune [stderr] go: downloading rsc.io/fortune v1.0.0 go: found rsc.io/fortune in rsc.io/fortune v1.0.0 go: downloading rsc.io/quote v1.5.2 go: found rsc.io/quote in rsc.io/quote v1.5.2 go: downloading rsc.io/sampler v1.3.0 go: downloading golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c > go version fortune.exe [stdout] fortune.exe: devel 64c9ee98b7684cf2156f620cbab4dbb6081b9771 > stdout '^fortune.exe: .+' > go version -m fortune.exe [stdout] fortune.exe: devel 64c9ee98b7684cf2156f620cbab4dbb6081b9771 path rsc.io/fortune mod rsc.io/fortune v1.0.0 h1:ffJQP9RTLB+DW2oqNQdHDjYzMK69zAnNCjITHnsy1Y4= dep golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c h1:pvCbr/wm8HzDD3fVywevekufpn6tCGPY3spdHeZJEsw= dep rsc.io/quote v1.5.2 h1:3fEykkD9k7lYzXqCYrwGAf7iNhbk4yCjHmKBN9td4L0= dep rsc.io/sampler v1.3.0 h1:HLGR/BgEtI3r0uymSP/nl2uPLsUnNJX8toRyhfpBTII= > stdout '^\tpath\trsc.io/fortune' > stdout '^\tmod\trsc.io/fortune\tv1.0.0' > go build -buildmode=pie -o external.exe rsc.io/fortune [stderr] -buildmode=pie not supported on windows/amd64 [exit status 1] FAIL: testdata\script\version.txt:11: unexpected command failure --- FAIL: TestScript/mod_vendor_auto (1.45s) script_test.go:192: # Integration test for golang.org/issue/33848: automatically check and use vendored packages. (0.003s) # An explicit -mod=vendor should force use of the vendor directory. (0.383s) # An explicit -mod=mod should force the vendor directory to be ignored. (0.582s) # If the main module's "go" directive says 1.13, we should default to -mod=mod. (0.379s) # A 'go 1.14' directive in the main module's go.mod file should enable # -mod=vendor by default, along with stronger checks for consistency # between the go.mod file and vendor/modules.txt. # A 'go 1.13' vendor/modules.txt file is not usually sufficient # to pass those checks. (0.073s) > go mod edit -go=1.14 > ! go list -f {{.Dir}} -tags tools all [stderr] go: inconsistent vendoring in $WORK\auto: example.com/printversion@v1.0.0: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt example.com/unused: is replaced in go.mod, but not marked as replaced in vendor/modules.txt example.com/version@v1.0.0: is replaced in go.mod, but not marked as replaced in vendor/modules.txt example.com/version@v1.2.0: is replaced in go.mod, but not marked as replaced in vendor/modules.txt run 'go mod vendor' to sync, or use -mod=mod or -mod=readonly to ignore the vendor directory [exit status 1] > stderr '^go: inconsistent vendoring in '$WORK/auto':$' FAIL: testdata\script\mod_vendor_auto.txt:65: no match for `(?m)^go: inconsistent vendoring in \$WORK/auto:$` found in stderr --- FAIL: TestScript/mod_list_dir (0.41s) script_test.go:192: # go list with path to directory should work (0.390s) > env GO111MODULE=off > go list -f '{{.ImportPath}}' $GOROOT/src/math [stdout] math > stdout ^math$ > env GO111MODULE=on > go list -f '{{.ImportPath}}' $GOROOT/src/math [stdout] math > stdout ^math$ > go list -f '{{.ImportPath}}' . [stdout] x > stdout ^x$ > ! go list -f '{{.ImportPath}}' $GOPATH/pkg/mod/rsc.io/quote@v1.5.2 [stderr] can't load package: package C:/Users/gopher/AppData/Local/Temp/1/cmd-go-test-201152439/tmpdir720470954/script-mod_list_dir/gopath/pkg/mod/rsc.io/quote@v1.5.2: can only use path@version syntax with 'go get' [exit status 1] > stderr '^can.t load package: package '$WORK'[/\\]gopath/pkg/mod/rsc.io/quote@v1.5.2: can only use path@version syntax with .go get.' FAIL: testdata\script\mod_list_dir.txt:15: no match for `(?m)^can.t load package: package \$WORK[/\\]gopath/pkg/mod/rsc.io/quote@v1.5.2: can only use path@version syntax with .go get.` found in stderr --- FAIL: TestScript/mod_getx (0.23s) script_test.go:192: # 'go get -x' should log URLs with an HTTP or HTTPS scheme. # A bug had caused us to log schemeless URLs instead. (0.229s) > go get -x -d golang.org/x/text@v0.1.0 [stderr] # get https://golang.org/?go-get=1 # get https://golang.org/x/text?go-get=1 # get https://golang.org/x?go-get=1 # get https://golang.org/?go-get=1: 200 OK (0.087s) # get https://golang.org/x/text?go-get=1: 200 OK (0.065s) mkdir -p $WORK\gopath\pkg\mod\cache\vcs # git3 https://go.googlesource.com/text # lock $WORK\gopath\pkg\mod\cache\vcs\38515699458adac9c8b61a0b44f9ad7a5f6edd7bcc2d7fae95930ec78f71e1b4.lockmkdir -p $WORK\gopath\pkg\mod\cache\vcs\38515699458adac9c8b61a0b44f9ad7a5f6edd7bcc2d7fae95930ec78f71e1b4 # git3 https://go.googlesource.com/text cd $WORK\gopath\pkg\mod\cache\vcs\38515699458adac9c8b61a0b44f9ad7a5f6edd7bcc2d7fae95930ec78f71e1b4; git init --bare 0.001s # cd $WORK\gopath\pkg\mod\cache\vcs\38515699458adac9c8b61a0b44f9ad7a5f6edd7bcc2d7fae95930ec78f71e1b4; git init --bare # get https://golang.org/x?go-get=1: 200 OK (0.150s) go get golang.org/x/text@v0.1.0: git init --bare in $WORK\gopath\pkg\mod\cache\vcs\38515699458adac9c8b61a0b44f9ad7a5f6edd7bcc2d7fae95930ec78f71e1b4: exec: "git": executable file not found in %PATH% [exit status 1] FAIL: testdata\script\mod_getx.txt:10: unexpected command failure --- FAIL: TestScript/mod_sumdb_file_path (1.22s) script_test.go:192: # With a file-based proxy with an empty checksum directory, # downloading a new module should fail, even if a subsequent # proxy contains a more complete mirror of the sum database. # # TODO(bcmills): The error message here is a bit redundant. # It comes from the sumweb package, which isn't yet producing structured errors. (1.205s) > [windows] env GOPROXY=file:///$WORK/sumproxy,https://proxy.golang.org > [!windows] env GOPROXY=file://$WORK/sumproxy,https://proxy.golang.org > ! go get -d golang.org/x/text@v0.3.2 [stderr] go: downloading golang.org/x/text v0.3.2 go: finding golang.org v0.3.2 go: finding golang.org/x v0.3.2 go get golang.org/x/text@v0.3.2: golang.org/x/text@v0.3.2: verifying module: golang.org/x/text@v0.3.2: reading file:///C:%5CUsers%5Cgopher%5CAppData%5CLocal%5CTemp%5C1%5Ccmd-go-test-201152439%5Ctmpdir720470954%5Cscript-mod_sumdb_file_path/sumproxy/sumdb/sum.golang.org/lookup/golang.org/x/text@v0.3.2: open $WORK\sumproxy\sumdb\sum.golang.org\lookup\golang.org\x\text@v0.3.2: The system cannot find the path specified. [exit status 1] > stderr '^go get golang.org/x/text@v0.3.2: golang.org/x/text@v0.3.2: verifying module: golang.org/x/text@v0.3.2: reading file://.*/sumdb/sum.golang.org/lookup/golang.org/x/text@v0.3.2: (no such file or directory|.*cannot find the file specified.*)' FAIL: testdata\script\mod_sumdb_file_path.txt:16: no match for `(?m)^go get golang.org/x/text@v0.3.2: golang.org/x/text@v0.3.2: verifying module: golang.org/x/text@v0.3.2: reading file://.*/sumdb/sum.golang.org/lookup/golang.org/x/text@v0.3.2: (no such file or directory|.*cannot find the file specified.*)` found in stderr --- FAIL: TestScript/mod_prefer_compatible (0.61s) script_test.go:192: # Regression test for golang.org/issue/34189 and golang.org/issue/34165: # @latest, @upgrade, and @patch should prefer compatible versions over # +incompatible ones, even if offered by a proxy. (0.000s) # github.com/russross/blackfriday v2.0.0+incompatible exists, # and should be resolved if we ask for v2.0 explicitly. (0.144s) # blackfriday v1.5.2 has a go.mod file, so v1.5.2 should be preferred over # v2.0.0+incompatible when resolving latest, upgrade, and patch. (0.395s) # If we're fetching directly from version control, ignored +incompatible # versions should also be omitted by 'go list'. # (Note that they may still be included in results from a proxy: in proxy mode, # we would need to fetch the whole zipfile for the latest compatible version in # order to determine whether it contains a go.mod file, and part of the point of # the proxy is to avoid fetching unnecessary data.) (0.039s) > env GOPROXY=direct > go list -versions -m github.com/russross/blackfriday github.com/russross/blackfriday [stderr] go list -m: module github.com/russross/blackfriday: git init --bare in $WORK\gopath\pkg\mod\cache\vcs\fb978822a4944776ca42509272a7325dad7bcbd80ced596132267b9bc8b28db8: exec: "git": executable file not found in %PATH% go list -m: module github.com/russross/blackfriday: git init --bare in $WORK\gopath\pkg\mod\cache\vcs\fb978822a4944776ca42509272a7325dad7bcbd80ced596132267b9bc8b28db8: exec: "git": executable file not found in %PATH% [exit status 1] FAIL: testdata\script\mod_prefer_compatible.txt:39: unexpected command failure --- FAIL: TestScript/build_trimpath (0.75s) script_test.go:192: # A binary built without -trimpath should contain the current workspace # and GOROOT for debugging and stack traces. (0.738s) > cd a $WORK\gopath\src\a > go build -o hello.exe hello.go > grep -q $WORK_REGEXP hello.exe FAIL: testdata\script\build_trimpath.txt:11: no match for `(?m)\$WORK` found in hello.exe FAIL FAIL cmd/go 344.160s ok cmd/go/internal/auth 0.064s ok cmd/go/internal/cache 10.670s FAIL 2019/11/11 17:22:34 Failed: exit status 1