windows-amd64-longtest at 9eb9c7ba1c047c2463a524ea109c08b2dfbbb574 :: 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=9.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.059s ok archive/zip 31.563s ok bufio 0.121s ok bytes 1.340s ok compress/bzip2 0.128s ok compress/flate 7.019s ok compress/gzip 0.277s ok compress/lzw 0.104s ok compress/zlib 0.817s ok container/heap 0.033s ok container/list 0.027s ok container/ring 0.033s ok context 2.418s ok crypto 0.047s ok crypto/aes 0.056s ok crypto/cipher 0.190s ok crypto/des 0.085s ok crypto/dsa 24.639s ok crypto/ecdsa 3.270s ok crypto/ed25519 0.105s ok crypto/elliptic 2.356s ok crypto/hmac 0.027s ok crypto/internal/subtle 0.033s ok crypto/md5 0.029s ok crypto/rand 0.181s ok crypto/rc4 0.098s ok crypto/rsa 0.380s ok crypto/sha1 0.033s ok crypto/sha256 0.032s ok crypto/sha512 0.030s ok crypto/subtle 0.262s ok crypto/tls 0.913s ok crypto/x509 1.603s ok database/sql 1.302s ok database/sql/driver 0.050s ok debug/dwarf 0.037s ok debug/elf 0.051s ok debug/gosym 2.163s ok debug/macho 0.032s ok debug/pe 6.344s ok debug/plan9obj 0.032s ok encoding/ascii85 0.030s ok encoding/asn1 0.034s ok encoding/base32 0.106s ok encoding/base64 0.032s ok encoding/binary 0.059s ok encoding/csv 0.099s ok encoding/gob 0.052s ok encoding/hex 0.096s ok encoding/json 1.353s ok encoding/pem 0.059s ok encoding/xml 0.047s ok errors 0.122s ok expvar 0.090s ok flag 0.192s ok fmt 0.174s ok go/ast 0.033s ok go/build 0.350s ok go/constant 0.040s ok go/doc 0.095s ok go/format 0.055s ok go/importer 0.240s ok go/internal/gccgoimporter 0.049s ok go/internal/gcimporter 1.507s ok go/internal/srcimporter 2.458s ok go/parser 0.071s ok go/printer 0.302s ok go/scanner 0.047s ok go/token 0.046s ok go/types 10.959s ok hash 0.027s ok hash/adler32 0.038s ok hash/crc32 0.032s ok hash/crc64 0.043s ok hash/fnv 0.034s ok hash/maphash 167.283s ok html 0.031s ok html/template 0.069s ok image 0.212s ok image/color 0.064s ok image/draw 0.079s ok image/gif 0.306s ok image/jpeg 0.242s ok image/png 0.235s ok index/suffixarray 55.375s ok internal/cpu 0.033s ok internal/fmtsort 0.032s ok internal/poll 0.834s ok internal/reflectlite 0.063s ok internal/singleflight 0.049s ok internal/syscall/windows 0.099s ok internal/syscall/windows/registry 0.032s ok internal/trace 1.343s ok internal/xcoff 0.059s ok io 0.065s ok io/ioutil 0.032s ok log 0.137s ok math 0.034s ok math/big 2.079s ok math/bits 0.031s ok math/cmplx 0.047s ok math/rand 4.356s ok mime 0.052s ok mime/multipart 0.311s ok mime/quotedprintable 0.122s ok net 62.624s ok net/http 55.412s ok net/http/cgi 0.330s ok net/http/cookiejar 0.038s ok net/http/fcgi 0.046s ok net/http/httptest 2.072s ok net/http/httptrace 0.035s ok net/http/httputil 0.098s ok net/http/internal 0.411s ok net/http/pprof 2.047s ok net/internal/socktest 0.046s ok net/mail 0.034s ok net/rpc 0.074s ok net/rpc/jsonrpc 0.046s ok net/smtp 0.064s ok net/textproto 0.041s ok net/url 0.101s ok os 64.102s ok os/exec 3.857s ok os/signal 2.066s ok os/user 0.079s ok path 0.060s ok path/filepath 0.612s ok plugin 0.093s ok reflect 1.349s ok regexp 21.592s ok regexp/syntax 0.525s ok runtime 256.285s ok runtime/debug 0.916s ok runtime/internal/atomic 1.278s ok runtime/internal/math 0.048s ok runtime/internal/sys 0.050s ok runtime/pprof 52.566s ok runtime/pprof/internal/profile 0.105s ok runtime/trace 12.978s ok sort 0.984s ok strconv 2.749s ok strings 2.230s ok sync 3.937s ok sync/atomic 2.587s ok syscall 0.026s ok testing 1.087s ok testing/iotest 0.083s ok testing/quick 0.072s ok text/scanner 0.039s ok text/tabwriter 0.098s ok text/template 0.492s ok text/template/parse 0.039s ok time 7.653s ok unicode 0.073s ok unicode/utf16 0.028s ok unicode/utf8 0.124s ok cmd/addr2line 2.677s ok cmd/api 0.072s ok cmd/asm/internal/asm 1.148s ok cmd/asm/internal/lex 0.033s ok cmd/compile 7.445s ok cmd/compile/internal/gc 30.976s ok cmd/compile/internal/ssa 213.573s ok cmd/compile/internal/syntax 22.492s ok cmd/compile/internal/test 0.119s [no tests to run] ok cmd/compile/internal/types 0.057s ok cmd/cover 3.953s ok cmd/doc 0.591s ok cmd/fix 0.113s go test proxy running at GOPROXY=http://127.0.0.1:53525/mod go proxy: no archive example.com/newcycle v1.0.0: file does not exist go proxy: no archive rsc.io v1.4.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.5.2: 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.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 example.com v0.1.0: 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 --- FAIL: TestScript (0.04s) --- FAIL: TestScript/mod_vendor_auto (1.80s) script_test.go:192: # Integration test for golang.org/issue/33848: automatically check and use vendored packages. (0.002s) # An explicit -mod=vendor should force use of the vendor directory. (0.498s) # An explicit -mod=mod should force the vendor directory to be ignored. (0.717s) # If the main module's "go" directive says 1.13, we should default to -mod=mod. (0.447s) # 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.095s) > 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.81s) 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.787s) > [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-444701739%5Ctmpdir245918606%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.53s) 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.109s) # 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.342s) # 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.036s) > 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.48s) script_test.go:192: # A binary built without -trimpath should contain the current workspace # and GOROOT for debugging and stack traces. (1.470s) > 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.51s) script_test.go:192: # go list with path to directory should work (0.472s) > 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-444701739/tmpdir245918606/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.49s) 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 9eb9c7ba1c047c2463a524ea109c08b2dfbbb574 > stdout '^fortune.exe: .+' > go version -m fortune.exe [stdout] fortune.exe: devel 9eb9c7ba1c047c2463a524ea109c08b2dfbbb574 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.22s) 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.213s) > 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/x/text?go-get=1: 200 OK (0.066s) 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 # get https://golang.org/?go-get=1: 200 OK (0.071s) cd $WORK\gopath\pkg\mod\cache\vcs\38515699458adac9c8b61a0b44f9ad7a5f6edd7bcc2d7fae95930ec78f71e1b4; git init --bare 0.002s # cd $WORK\gopath\pkg\mod\cache\vcs\38515699458adac9c8b61a0b44f9ad7a5f6edd7bcc2d7fae95930ec78f71e1b4; git init --bare # get https://golang.org/x?go-get=1: 200 OK (0.173s) 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 365.273s FAIL 2019/11/10 12:46:25 Failed: exit status 1