windows-amd64-longtest at 40ebcfaa174a0e789cd214236d9edaaa8a8262d3 :: 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=49.5s" "GO_STAGE0_DL_DELAY=100ms" "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.046s ok archive/zip 32.261s ok bufio 0.072s ok bytes 1.328s ok compress/bzip2 0.103s ok compress/flate 6.980s ok compress/gzip 0.271s ok compress/lzw 0.122s ok compress/zlib 0.770s ok container/heap 0.034s ok container/list 0.028s ok container/ring 0.022s ok context 2.416s ok crypto 0.068s ok crypto/aes 0.055s ok crypto/cipher 0.157s ok crypto/des 0.035s ok crypto/dsa 7.416s ok crypto/ecdsa 3.247s ok crypto/ed25519 0.123s ok crypto/elliptic 2.357s ok crypto/hmac 0.034s ok crypto/internal/subtle 0.029s ok crypto/md5 0.029s ok crypto/rand 0.199s ok crypto/rc4 0.061s ok crypto/rsa 0.378s ok crypto/sha1 0.034s ok crypto/sha256 0.031s ok crypto/sha512 0.027s ok crypto/subtle 0.220s ok crypto/tls 0.851s ok crypto/x509 2.661s ok database/sql 1.326s ok database/sql/driver 0.061s ok debug/dwarf 0.040s ok debug/elf 0.057s ok debug/gosym 2.675s ok debug/macho 0.033s ok debug/pe 6.283s ok debug/plan9obj 0.062s ok encoding/ascii85 0.039s ok encoding/asn1 0.032s ok encoding/base32 0.049s ok encoding/base64 0.030s ok encoding/binary 0.057s ok encoding/csv 0.065s ok encoding/gob 0.052s ok encoding/hex 0.081s ok encoding/json 1.026s ok encoding/pem 0.057s ok encoding/xml 0.056s ok errors 0.043s ok expvar 0.024s ok flag 0.037s ok fmt 0.122s ok go/ast 0.031s ok go/build 0.276s ok go/constant 0.045s ok go/doc 0.063s ok go/format 0.086s ok go/importer 0.158s ok go/internal/gccgoimporter 0.043s ok go/internal/gcimporter 1.453s ok go/internal/srcimporter 2.253s ok go/parser 0.062s ok go/printer 0.318s ok go/scanner 0.043s ok go/token 0.040s ok go/types 11.230s ok hash 0.067s ok hash/adler32 0.063s ok hash/crc32 0.030s ok hash/crc64 0.030s ok hash/fnv 0.029s ok hash/maphash 157.286s ok html 0.061s ok html/template 0.071s ok image 0.195s ok image/color 0.062s ok image/draw 0.065s ok image/gif 0.286s ok image/jpeg 0.250s ok image/png 0.205s ok index/suffixarray 54.831s ok internal/cpu 0.027s ok internal/fmtsort 0.022s ok internal/poll 0.953s ok internal/reflectlite 0.063s ok internal/singleflight 0.038s ok internal/syscall/windows 0.052s ok internal/syscall/windows/registry 0.031s ok internal/trace 1.138s ok internal/xcoff 0.058s ok io 0.066s ok io/ioutil 0.034s ok log 0.117s ok math 0.034s ok math/big 2.232s ok math/bits 0.031s ok math/cmplx 0.047s ok math/rand 4.290s ok mime 0.043s ok mime/multipart 0.306s ok mime/quotedprintable 0.112s ok net 60.803s ok net/http 55.185s ok net/http/cgi 0.142s ok net/http/cookiejar 0.067s ok net/http/fcgi 0.052s ok net/http/httptest 2.067s ok net/http/httptrace 0.035s ok net/http/httputil 0.077s ok net/http/internal 0.209s ok net/http/pprof 2.042s ok net/internal/socktest 0.030s ok net/mail 0.031s ok net/rpc 0.084s ok net/rpc/jsonrpc 0.042s ok net/smtp 0.050s ok net/textproto 0.048s ok net/url 0.085s ok os 63.867s ok os/exec 3.461s ok os/signal 2.318s ok os/user 0.224s ok path 0.078s ok path/filepath 0.554s ok plugin 0.110s ok reflect 4.361s ok regexp 20.921s ok regexp/syntax 0.573s ok runtime 228.001s ok runtime/debug 1.024s ok runtime/internal/atomic 0.719s ok runtime/internal/math 0.049s ok runtime/internal/sys 0.066s ok runtime/pprof 51.225s ok runtime/pprof/internal/profile 0.111s ok runtime/trace 11.706s ok sort 0.955s ok strconv 2.805s ok strings 2.493s ok sync 3.811s ok sync/atomic 2.327s ok syscall 0.032s ok testing 1.064s ok testing/iotest 0.108s ok testing/quick 0.193s ok text/scanner 0.034s ok text/tabwriter 0.043s ok text/template 0.433s ok text/template/parse 0.036s ok time 7.590s ok unicode 0.067s ok unicode/utf16 0.031s ok unicode/utf8 0.080s ok cmd/addr2line 2.647s ok cmd/api 0.063s ok cmd/asm/internal/asm 1.316s ok cmd/asm/internal/lex 0.117s ok cmd/compile 6.809s ok cmd/compile/internal/gc 31.857s ok cmd/compile/internal/logopt 9.692s ok cmd/compile/internal/ssa 211.790s ok cmd/compile/internal/syntax 4.875s ok cmd/compile/internal/test 0.104s [no tests to run] ok cmd/compile/internal/types 0.031s ok cmd/cover 4.419s ok cmd/doc 0.480s ok cmd/fix 0.113s go test proxy running at GOPROXY=http://127.0.0.1:53478/mod 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.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.1.0: file does not exist go proxy: no archive rsc.io v1.5.2: file does not exist go proxy: no archive example.com v0.1.0: file does not exist go proxy: no archive rsc.io v1.5.1: 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 example.com/newcycle 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.4.0: file does not exist --- FAIL: TestScript (0.04s) --- FAIL: TestScript/mod_vendor_auto (1.79s) script_test.go:192: # Integration test for golang.org/issue/33848: automatically check and use vendored packages. (0.006s) # An explicit -mod=vendor should force use of the vendor directory. (0.531s) # An explicit -mod=mod should force the vendor directory to be ignored. (0.542s) # If the main module's "go" directive says 1.13, we should default to -mod=mod. (0.547s) # 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.135s) > 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_sumdb_file_path (0.91s) 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. (0.884s) > [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 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-837271407%5Ctmpdir358198274%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.49s) 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.087s) # 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.330s) # 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.033s) > 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 (1.02s) script_test.go:192: # A binary built without -trimpath should contain the current workspace # and GOROOT for debugging and stack traces. (1.003s) > 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: TestScript/mod_list_dir (0.27s) script_test.go:192: # go list with path to directory should work (0.245s) > 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-837271407/tmpdir358198274/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/version (1.51s) 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 40ebcfaa174a0e789cd214236d9edaaa8a8262d3 > stdout '^fortune.exe: .+' > go version -m fortune.exe [stdout] fortune.exe: devel 40ebcfaa174a0e789cd214236d9edaaa8a8262d3 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_getx (0.21s) 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.209s) > 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.059s) # get https://golang.org/x/text?go-get=1: 200 OK (0.055s) 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.158s) 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 FAIL cmd/go 345.702s ok cmd/go/internal/auth 0.034s ok cmd/go/internal/cache 12.129s FAIL 2019/11/10 17:43:20 Failed: exit status 1