linux-amd64-longtest at 0bd308ff27822378dc2db77d6dd0ad3c15ed2e08 :: 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-stretch-morecpu-rn65735b0" "DEBIAN_FRONTEND=noninteractive" "HOME=/root" "USER=root" "GO_STAGE0_NET_DELAY=100ms" "GO_STAGE0_DL_DELAY=1.2s" "WORKDIR=/workdir" "GOROOT_BOOTSTRAP=/workdir/go1.4" "GO_BUILDER_NAME=linux-amd64-longtest" "GO_TEST_SHORT=0" "GOROOT_BOOTSTRAP=/go1.4" "GO_TEST_TIMEOUT_SCALE=5" "GOBIN=" "TMPDIR=/workdir/tmp" "GOCACHE=/workdir/gocache"] in dir /workdir/go/src Building Go cmd/dist using /go1.4. (go1.4 linux/amd64) 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 ##### Testing packages. ok archive/tar 0.025s ok archive/zip 26.002s ok bufio 0.050s ok bytes 1.656s ok compress/bzip2 0.070s ok compress/flate 7.674s ok compress/gzip 0.052s ok compress/lzw 0.076s ok compress/zlib 0.722s ok container/heap 0.007s ok container/list 0.004s ok container/ring 0.003s ok context 0.013s ok crypto 0.003s ok crypto/aes 0.024s ok crypto/cipher 0.231s ok crypto/des 0.010s ok crypto/dsa 17.550s ok crypto/ecdsa 2.834s ok crypto/ed25519 0.058s ok crypto/elliptic 2.445s ok crypto/hmac 0.003s ok crypto/internal/subtle 0.002s ok crypto/md5 0.008s ok crypto/rand 0.206s ok crypto/rc4 0.032s ok crypto/rsa 0.409s ok crypto/sha1 0.018s ok crypto/sha256 0.004s ok crypto/sha512 0.004s ok crypto/subtle 0.005s ok crypto/tls 2.073s ok crypto/x509 0.874s ok database/sql 1.315s ok database/sql/driver 0.003s ok debug/dwarf 0.016s ok debug/elf 0.015s ok debug/gosym 0.199s ok debug/macho 0.005s ok debug/pe 0.007s ok debug/plan9obj 0.004s ok embed/internal/embedtest 0.004s ok encoding/ascii85 0.004s ok encoding/asn1 0.005s ok encoding/base32 0.022s ok encoding/base64 0.005s ok encoding/binary 0.005s ok encoding/csv 0.006s ok encoding/gob 0.026s ok encoding/hex 0.005s ok encoding/json 1.106s ok encoding/pem 0.011s ok encoding/xml 0.016s ok errors 0.005s ok expvar 0.004s ok flag 0.022s ok fmt 0.097s ok go/ast 0.006s ok go/build 0.875s ok go/build/constraint 0.007s ok go/constant 0.005s ok go/doc 0.033s ok go/format 0.007s ok go/importer 0.084s ok go/internal/gccgoimporter 0.010s ok go/internal/gcimporter 1.859s ok go/internal/srcimporter 4.068s ok go/parser 0.030s ok go/printer 0.229s ok go/scanner 0.003s ok go/token 0.013s ok go/types 11.133s ok hash 0.003s ok hash/adler32 0.008s ok hash/crc32 0.006s ok hash/crc64 0.003s ok hash/fnv 0.003s ok hash/maphash 103.985s ok html 0.008s ok html/template 0.227s ok image 0.174s ok image/color 0.017s ok image/draw 0.041s ok image/gif 0.225s ok image/jpeg 0.171s ok image/png 0.310s ok index/suffixarray 49.860s ok internal/cpu 0.010s ok internal/execabs 0.008s ok internal/fmtsort 0.003s ok internal/itoa 0.003s ok internal/poll 1.652s ok internal/profile 0.005s ok internal/reflectlite 0.040s ok internal/singleflight 0.015s ok internal/trace 1.220s ok internal/unsafeheader 0.016s ok internal/xcoff 0.008s ok io 0.027s ok io/fs 0.004s ok io/ioutil 0.004s ok log 0.005s ok log/syslog 1.216s ok math 0.008s ok math/big 2.894s ok math/bits 0.005s ok math/cmplx 0.005s ok math/rand 4.279s ok mime 0.007s ok mime/multipart 0.223s ok mime/quotedprintable 0.106s ok net 28.959s ok net/http 63.521s ok net/http/cgi 0.255s ok net/http/cookiejar 0.007s ok net/http/fcgi 0.006s ok net/http/httptest 0.031s ok net/http/httptrace 0.003s ok net/http/httputil 0.180s ok net/http/internal 0.003s ok net/http/pprof 5.082s ok net/internal/socktest 0.003s ok net/mail 0.005s ok net/rpc 0.026s ok net/rpc/jsonrpc 0.006s ok net/smtp 0.012s ok net/textproto 0.004s ok net/url 0.007s ok os 18.232s ok os/exec 0.760s ok os/signal 14.133s ok os/user 0.004s ok path 0.004s ok path/filepath 0.012s ok plugin 0.003s ok reflect 0.655s ok regexp 13.150s ok regexp/syntax 0.258s ok runtime 185.539s ok runtime/debug 0.072s ok runtime/internal/atomic 2.665s ok runtime/internal/math 0.003s ok runtime/internal/sys 0.003s ok runtime/metrics 0.003s ok runtime/pprof 47.376s ok runtime/race 0.105s ok runtime/trace 9.449s ok sort 0.671s ok strconv 1.227s ok strings 1.168s ok sync 3.323s ok sync/atomic 3.705s ok syscall 0.083s ok testing 1.709s ok testing/fstest 0.003s ok testing/iotest 0.003s ok testing/quick 0.034s ok text/scanner 0.005s ok text/tabwriter 0.004s ok text/template 0.423s ok text/template/parse 0.007s ok time 7.437s ok unicode 0.006s ok unicode/utf16 0.003s ok unicode/utf8 0.006s ok cmd/addr2line 0.785s ok cmd/api 2.188s ok cmd/asm/internal/asm 0.907s ok cmd/asm/internal/lex 0.004s ok cmd/compile/internal/dwarfgen 0.180s ok cmd/compile/internal/importer 1.228s ok cmd/compile/internal/ir 0.003s ok cmd/compile/internal/logopt 0.214s ok cmd/compile/internal/noder 0.004s ok cmd/compile/internal/ssa 163.243s ok cmd/compile/internal/ssagen 0.005s ok cmd/compile/internal/syntax 4.343s ok cmd/compile/internal/test 13.130s ok cmd/compile/internal/typecheck 0.317s ok cmd/compile/internal/types 0.011s ok cmd/compile/internal/types2 9.408s ok cmd/cover 1.144s ok cmd/doc 0.170s ok cmd/fix 0.564s go test proxy running at GOPROXY=http://127.0.0.1:33101/mod --- FAIL: TestScript (0.01s) --- FAIL: TestScript/gopath_moved_repo (131.63s) script_test.go:253: # Test that 'go get -u' reports packages whose VCS configurations do not # match their import paths. (0.000s) # We need to execute a custom Go program to break the config files. # # git will ask for a username and password when we run 'go get -d -f -u', # so we also need to set GIT_ASKPASS. Conveniently, a single binary can # perform both tasks! (0.530s) # Test that 'go get -u' reports moved git packages. (131.104s) > [exec:git] go get -d rsc.io/pdf [stderr] # cd .; git clone -- https://github.com/rsc/pdf $WORK/gopath/src/rsc.io/pdf Cloning into '$WORK/gopath/src/rsc.io/pdf'... fatal: unable to access 'https://github.com/rsc/pdf/': Failed to connect to github.com port 443: Connection timed out package rsc.io/pdf: exit status 128 [exit status 1] FAIL: testdata/script/gopath_moved_repo.txt:21: unexpected command failure --- FAIL: TestScript/govcs (132.80s) script_test.go:253: # GOVCS stops go get (0.064s) # public pattern works (0.028s) # private pattern works (0.044s) # other patterns work (for more patterns, see TestGOVCS) (0.054s) # bad patterns are reported (for more bad patterns, see TestGOVCSErrors) (0.075s) # bad GOVCS patterns do not stop commands that do not need to check VCS (0.200s) # svn is disallowed by default (0.029s) # fossil is disallowed by default (0.023s) # bzr is disallowed by default (0.039s) # git is OK by default (132.238s) > env GOVCS= > env GONOSUMDB='*' > [net] [exec:git] [!short] go get rsc.io/sampler [stderr] go get: module rsc.io/sampler: git ls-remote -q origin in $WORK/gopath/pkg/mod/cache/vcs/35640be4a3d2ccf2debb48dd7a3972a84907e5170b0209b4f963f3c8d00f8cd6: exit status 128: fatal: unable to access 'https://github.com/rsc/sampler/': Failed to connect to github.com port 443: Connection timed out [exit status 1] FAIL: testdata/script/govcs.txt:70: unexpected command failure --- FAIL: TestScript/get_vendor (131.41s) script_test.go:253: # Update (1.214s) # get -u (0.539s) # get -t -u (128.408s) > rm $GOPATH > mkdir $GOPATH/src > go get -t -u 'github.com/rsc/go-get-issue-11864/...' [stderr] # cd .; git clone -- https://github.com/rsc/go-get-issue-11864 $WORK/gopath/src/github.com/rsc/go-get-issue-11864 Cloning into '$WORK/gopath/src/github.com/rsc/go-get-issue-11864'... fatal: unable to access 'https://github.com/rsc/go-get-issue-11864/': Failed to connect to github.com port 443: Connection timed out package github.com/rsc/go-get-issue-11864/...: exit status 128 [exit status 1] FAIL: testdata/script/get_vendor.txt:33: unexpected command failure --- FAIL: TestScript/get_update_unknown_protocol (130.79s) script_test.go:253: # Clone the repo via HTTPS manually. (0.451s) # Configure the repo to use a protocol unknown to cmd/go # that still actually works. (130.335s) > cd github.com/golang/example $WORK/gopath/src/github.com/golang/example > exec git remote set-url origin xyz://github.com/golang/example > exec git config --local url.https://github.com/.insteadOf xyz://github.com/ > go get -d -u -f github.com/golang/example/hello [stderr] # cd $WORK/gopath/src/github.com/golang/example; git pull --ff-only fatal: unable to access 'https://github.com/golang/example/': Failed to connect to github.com port 443: Connection timed out package github.com/golang/example/hello: exit status 1 [exit status 1] FAIL: testdata/script/get_update_unknown_protocol.txt:14: unexpected command failure --- FAIL: TestScript/get_update_wildcard (131.11s) script_test.go:253: # Issue 14450: go get -u .../ tried to import not downloaded package (131.109s) > [!net] skip > [!exec:git] skip > env GO111MODULE=off > go get github.com/tmwh/go-get-issue-14450/a > ! go get -u .../ [stderr] # cd .; git clone -- https://github.com/tmwh/go-get-issue-14450-b-dependency $WORK/gopath/src/github.com/tmwh/go-get-issue-14450-b-dependency Cloning into '$WORK/gopath/src/github.com/tmwh/go-get-issue-14450-b-dependency'... fatal: unable to access 'https://github.com/tmwh/go-get-issue-14450-b-dependency/': Failed to connect to github.com port 443: Connection timed out package github.com/tmwh/go-get-issue-14450-b-dependency/c: exit status 128 [exit status 1] > stderr 'cannot find package.*d-dependency/e' FAIL: testdata/script/get_update_wildcard.txt:9: no match for `(?m)cannot find package.*d-dependency/e` found in stderr --- FAIL: TestScript/mod_init_dep (131.63s) script_test.go:253: # modconv uses git directly to examine what old 'go get' would (0.000s) # go mod init should populate go.mod from Gopkg.lock (131.624s) > go mod init x [stderr] go: creating new go.mod: module x go: converting Gopkg.lock: stat rsc.io/sampler@v1.0.0: git ls-remote -q origin in $WORK/gopath/pkg/mod/cache/vcs/35640be4a3d2ccf2debb48dd7a3972a84907e5170b0209b4f963f3c8d00f8cd6: exit status 128: fatal: unable to access 'https://github.com/rsc/sampler/': Failed to connect to github.com port 443: Connection timed out go: copying requirements from Gopkg.lock go: to add module requirements and sums: go mod tidy > stderr 'copying requirements from Gopkg.lock' > go list -m all [stdout] x > stdout 'rsc.io/sampler v1.0.0' FAIL: testdata/script/mod_init_dep.txt:12: no match for `(?m)rsc.io/sampler v1.0.0` found in stdout --- FAIL: TestScript/get_race (129.01s) script_test.go:253: # Tests issue #20502 (129.006s) > [!net] skip > [!exec:git] skip > [!race] skip > env GO111MODULE=off > go get -race github.com/rsc/go-get-issue-9224-cmd [stderr] # cd .; git clone -- https://github.com/rsc/go-get-issue-9224-lib $WORK/gopath/src/github.com/rsc/go-get-issue-9224-lib Cloning into '$WORK/gopath/src/github.com/rsc/go-get-issue-9224-lib'... fatal: unable to access 'https://github.com/rsc/go-get-issue-9224-lib/': Failed to connect to github.com port 443: Connection timed out package github.com/rsc/go-get-issue-9224-lib/liba: exit status 128 [exit status 1] FAIL: testdata/script/get_race.txt:8: unexpected command failure --- FAIL: TestScript/get_update (132.70s) script_test.go:253: # Tests Issue #9224 # The recursive updating was trying to walk to # former dependencies, not current ones. (0.000s) # Rewind (1.324s) # Run get (131.374s) > go get -u 'github.com/rsc/go-get-issue-9224-cmd' [stderr] # cd $WORK/gopath/src/github.com/rsc/go-get-issue-9224-lib; git pull --ff-only fatal: unable to access 'https://github.com/rsc/go-get-issue-9224-lib/': Failed to connect to github.com port 443: Connection timed out package github.com/rsc/go-get-issue-9224-lib/liba: exit status 1 [exit status 1] FAIL: testdata/script/get_update.txt:16: unexpected command failure --- FAIL: TestScript/mod_prefer_compatible (146.19s) script_test.go:253: # 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.358s) # 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.411s) # 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.) (1.249s) # However, if the latest compatible version does not include a go.mod file, # +incompatible versions should still be listed, as they may still reflect the # intent of the module author. (1.455s) # If we're fetching directly from version control, asking for a commit hash # corresponding to a +incompatible version should continue to produce the # +incompatible version tagged for that commit, even if it is no longer listed. (0.872s) # Similarly, requesting an untagged commit should continue to produce a +incompatible # pseudo-version. (141.835s) > go list -m github.com/rsc/legacytest@7303f7796364 [stdout] github.com/rsc/legacytest v0.0.0-20180717164253-7303f7796364 > stdout '^github.com/rsc/legacytest v2\.0\.1-0\.20180717164253-7303f7796364\+incompatible$' FAIL: testdata/script/mod_prefer_compatible.txt:62: no match for `(?m)^github.com/rsc/legacytest v2\.0\.1-0\.20180717164253-7303f7796364\+incompatible$` found in stdout --- FAIL: TestScript/get_legacy (130.93s) script_test.go:253: # This test was converted from a test in vendor_test.go (which no longer exists). # That seems to imply that it's about vendoring semantics, but the test doesn't # use 'go -mod=vendor' (and none of the fetched repos have vendor folders). # The test still seems to be useful as a test of direct-mode go get. (130.922s) > [short] skip > [!exec:git] skip > env GO111MODULE=off > env GOPATH=$WORK/tmp/d1 > go get vcs-test.golang.org/git/modlegacy1-old.git/p1 > go list -f '{{.Deps}}' vcs-test.golang.org/git/modlegacy1-old.git/p1 [stdout] [vcs-test.golang.org/git/modlegacy1-new.git vcs-test.golang.org/git/modlegacy1-new.git/p1 vcs-test.golang.org/git/modlegacy1-new.git/p2 vcs-test.golang.org/git/modlegacy1-old.git/p2] > stdout 'new.git/p2' # old/p1 should depend on new/p2 > ! stdout new.git/v2/p2 # old/p1 should NOT depend on new/v2/p2 > go build vcs-test.golang.org/git/modlegacy1-old.git/p1 vcs-test.golang.org/git/modlegacy1-new.git/p1 > ! stdout . > env GOPATH=$WORK/tmp/d2 > rm $GOPATH > go get github.com/rsc/vgotest5 [stderr] # cd .; git clone -- https://github.com/rsc/vgotest5 $WORK/tmp/d2/src/github.com/rsc/vgotest5 Cloning into '$WORK/tmp/d2/src/github.com/rsc/vgotest5'... fatal: unable to access 'https://github.com/rsc/vgotest5/': Failed to connect to github.com port 443: Connection timed out package github.com/rsc/vgotest5: exit status 128 [exit status 1] FAIL: testdata/script/get_legacy.txt:21: unexpected command failure --- FAIL: TestScript/mod_get_private_vcs (160.00s) script_test.go:253: # Testing stderr for git ls-remote; turn off proxy. (0.422s) # Fetching a nonexistent commit should return an "unknown revision" # error message. (159.580s) > ! go get github.com/golang/term@86186f3aba07ed0212cfb944f3398997d2d07c6b [stderr] go get: github.com/golang/term@86186f3aba07ed0212cfb944f3398997d2d07c6b: invalid version: unknown revision 86186f3aba07ed0212cfb944f3398997d2d07c6b [exit status 1] > stderr '^go get: github.com/golang/term@86186f3aba07ed0212cfb944f3398997d2d07c6b: invalid version: unknown revision 86186f3aba07ed0212cfb944f3398997d2d07c6b$' > ! stdout . > ! go get github.com/golang/nonexist@master [stderr] go get: github.com/golang/nonexist@master: invalid version: git ls-remote -q origin in $WORK/gopath/pkg/mod/cache/vcs/8d2c21048f53aeb92ae7545ee069a97239e2e64c853cdce0eabdc9a18b23120d: exit status 128: fatal: unable to access 'https://github.com/golang/nonexist/': Failed to connect to github.com port 443: Connection timed out [exit status 1] > stderr '^Confirm the import path was entered correctly.$' FAIL: testdata/script/mod_get_private_vcs.txt:20: no match for `(?m)^Confirm the import path was entered correctly.$` found in stderr --- FAIL: TestScript/get_insecure (132.73s) script_test.go:253: # TODO(matloob): Split this test into two? It's one of the slowest tests we have. (0.191s) # GOPATH: Set up (0.000s) # GOPATH: Try go get -d of HTTP-only repo (should fail). (0.053s) # GOPATH: Try again with GOINSECURE (should succeed). (132.480s) > env GOINSECURE=insecure.go-get-issue-15410.appspot.com > go get -d insecure.go-get-issue-15410.appspot.com/pkg/p [stderr] # cd .; git clone -- http://insecure.go-get-issue-15410.appspot.com/ $WORK/gopath/src/insecure.go-get-issue-15410.appspot.com/pkg Cloning into '$WORK/gopath/src/insecure.go-get-issue-15410.appspot.com/pkg'... fatal: unable to access 'https://github.com/golang/go-get-issue-15410.git/': Failed to connect to github.com port 443: Connection timed out package insecure.go-get-issue-15410.appspot.com/pkg/p: exit status 128 [exit status 1] FAIL: testdata/script/get_insecure.txt:17: unexpected command failure --- FAIL: TestScript/get_dash_t (130.55s) script_test.go:253: # Tests issue 8181 (130.549s) > [!net] skip > [!exec:git] skip > env GO111MODULE=off > go get -v -t github.com/rsc/go-get-issue-8181/a github.com/rsc/go-get-issue-8181/b [stderr] github.com/rsc/go-get-issue-8181 (download) # cd .; git clone -- https://github.com/rsc/go-get-issue-8181 $WORK/gopath/src/github.com/rsc/go-get-issue-8181 Cloning into '$WORK/gopath/src/github.com/rsc/go-get-issue-8181'... fatal: unable to access 'https://github.com/rsc/go-get-issue-8181/': Failed to connect to github.com port 443: Connection timed out package github.com/rsc/go-get-issue-8181/a: exit status 128 cannot find package "github.com/rsc/go-get-issue-8181/b" in any of: /workdir/go/src/github.com/rsc/go-get-issue-8181/b (from $GOROOT) $WORK/gopath/src/github.com/rsc/go-get-issue-8181/b (from $GOPATH) [exit status 1] FAIL: testdata/script/get_dash_t.txt:7: unexpected command failure --- FAIL: TestScript/get_domain_root (130.61s) script_test.go:253: # Tests issue #9357 # go get foo.io (not foo.io/subdir) was not working consistently. (0.000s) # go-get-issue-9357.appspot.com is running # the code at github.com/rsc/go-get-issue-9357, # a trivial Go on App Engine app that serves a # tag for the domain root. (130.614s) > go get -d go-get-issue-9357.appspot.com [stderr] # cd .; git clone -- https://github.com/rsc/go-get-issue-9357 $WORK/gopath/src/go-get-issue-9357.appspot.com Cloning into '$WORK/gopath/src/go-get-issue-9357.appspot.com'... fatal: unable to access 'https://github.com/rsc/go-get-issue-9357/': Failed to connect to github.com port 443: Connection timed out package go-get-issue-9357.appspot.com: exit status 128 [exit status 1] FAIL: testdata/script/get_domain_root.txt:12: unexpected command failure --- FAIL: TestScript/get_dot_slash_download (130.84s) script_test.go:253: # Tests Issues #9797 and #19769 (130.835s) > mkdir $WORK/tmp/src/rsc.io > env GOPATH=$WORK/tmp > cd $WORK/tmp/src/rsc.io $WORK/tmp/src/rsc.io > go get ./pprof_mac_fix [stderr] # cd .; git clone -- https://github.com/rsc/x86 $WORK/tmp/src/rsc.io/x86 Cloning into '$WORK/tmp/src/rsc.io/x86'... fatal: unable to access 'https://github.com/rsc/x86/': Failed to connect to github.com port 443: Connection timed out package rsc.io/x86/x86asm: exit status 128 [exit status 1] FAIL: testdata/script/get_dot_slash_download.txt:10: unexpected command failure --- FAIL: TestScript/mod_download_hash (130.55s) script_test.go:253: # Testing mod download with non semantic versions; turn off proxy. (130.540s) > [!net] skip > [!exec:git] skip > env GOPROXY=direct > env GOSUMDB=off > go mod download rsc.io/quote@a91498bed0a73d4bb9c1fb2597925f7883bc40a7 > exists $GOPATH/pkg/mod/cache/download/rsc.io/quote/@v/v1.5.3-0.20180709162918-a91498bed0a7.info > exists $GOPATH/pkg/mod/cache/download/rsc.io/quote/@v/v1.5.3-0.20180709162918-a91498bed0a7.mod > exists $GOPATH/pkg/mod/cache/download/rsc.io/quote/@v/v1.5.3-0.20180709162918-a91498bed0a7.zip > go mod download rsc.io/quote@master [stderr] go mod download: rsc.io/quote@master: invalid version: git ls-remote -q origin in $WORK/gopath/pkg/mod/cache/vcs/5673a25ea375597bb7799aed271d658fc11bcb2aced1a8a5011c001d4c2ead3a: exit status 128: fatal: unable to access 'https://github.com/rsc/quote/': Failed to connect to github.com port 443: Connection timed out [exit status 1] FAIL: testdata/script/mod_download_hash.txt:14: unexpected command failure --- FAIL: TestScript/mod_gopkg_unstable (261.96s) script_test.go:253: > env GO111MODULE=on > cp go.mod.empty go.mod > go get -d gopkg.in/dummy.v2-unstable [stderr] go: downloading gopkg.in/dummy.v2-unstable v2.0.0 go get: added gopkg.in/dummy.v2-unstable v2.0.0 > cp x.go.txt x.go > cp go.mod.empty go.mod > go list [stdout] m > [!net] skip > [!exec:git] skip > env GOPROXY=direct > env GOSUMDB=off > go get -d gopkg.in/macaroon-bakery.v2-unstable/bakery [stderr] go get gopkg.in/macaroon-bakery.v2-unstable/bakery: git ls-remote -q origin in $WORK/gopath/pkg/mod/cache/vcs/27e0ec238040ef651bfc670a4ba6f44a1e34b33e7a7069458575fa5ffc59977f: exit status 128: fatal: unable to access 'https://gopkg.in/macaroon-bakery.v2-unstable/': Failed to connect to gopkg.in port 443: Connection timed out [exit status 1] FAIL: testdata/script/mod_gopkg_unstable.txt:15: unexpected command failure --- FAIL: TestScript/mod_invalid_version (301.33s) script_test.go:253: # Regression test for golang.org/issue/27173: if the user (or go.mod file) # requests a pseudo-version that does not match both the module path and commit # metadata, reject it with a helpful error message. # # TODO(bcmills): Replace the github.com/pierrec/lz4 examples with something # equivalent on vcs-test.golang.org. # An incomplete commit hash is not a valid semantic version, # but can appear in the main go.mod file anyway and should be resolved. (3.011s) # A module path below the repo root that does not contain a go.mod file is invalid. (0.233s) # However, arguments to 'go get' can name packages above the root. (3.021s) # A major version that does not match the module path is invalid. (0.014s) # A pseudo-version with fewer than 12 digits of SHA-1 prefix is invalid. (0.142s) # A pseudo-version with more than 12 digits of SHA-1 prefix is invalid. (0.169s) # A pseudo-version that does not match the commit timestamp is invalid. (0.144s) # A 'replace' directive in the main module can replace an invalid timestamp # with a valid one. (0.385s) # A pseudo-version that is not derived from a tag is invalid. (0.602s) # A v1.0.0- pseudo-version that is not derived from a tag is invalid: # v1.0.0- implies no tag, but the correct no-tag prefix for a module path # without a major-version suffix is v0.0.0-. (0.149s) # A pseudo-version vX.Y.Z+1 cannot have Z+1 == 0, since that would # imply a base tag with a negative patch field. (0.135s) # A 'replace' directive in the main module can replace an # invalid pseudo-version base with a valid one. (0.078s) # A 'replace' directive can replace an invalid 'latest' version, and # should suppress errors for that version in 'go get -u' (0.533s) # A pseudo-version derived from a non-ancestor tag is invalid. (1.283s) # A pseudo-version derived from a canonical tag on the same revision is invalid. (0.149s) # A +incompatible suffix is not allowed on a version that is actually compatible. (0.561s) # The pseudo-version for a commit after a tag with a non-matching major version # should instead be based on the last matching tag. (132.010s) # A +incompatible pseudo-version for a module that has an explicit go.mod file is invalid. (158.688s) > cp go.mod.orig go.mod > go mod edit -require github.com/pierrec/lz4@v2.0.9-0.20190209155647-9a39efadad3d+incompatible > cd outside $WORK/gopath/src/outside > ! go list -m github.com/pierrec/lz4 [stderr] go: example.com@v0.0.0 requires github.com/pierrec/lz4@v2.0.9-0.20190209155647-9a39efadad3d+incompatible: invalid version: +incompatible suffix not allowed: module contains a go.mod file, so semantic import versioning is required [exit status 1] > stderr 'go: example.com@v0.0.0 requires\n\tgithub.com/pierrec/lz4@v2.0.9-0.20190209155647-9a39efadad3d\+incompatible: invalid version: \+incompatible suffix not allowed: module contains a go.mod file, so semantic import versioning is required' > cd .. $WORK/gopath/src > ! go list -m github.com/pierrec/lz4 [stderr] go: github.com/pierrec/lz4@v2.0.9-0.20190209155647-9a39efadad3d+incompatible: invalid pseudo-version: git ls-remote -q origin in $WORK/gopath/pkg/mod/cache/vcs/036595127a116abca3f2bfd7bedafedb33d890c2b102d96361815966679432e7: exit status 128: fatal: unable to access 'https://github.com/pierrec/lz4/': Failed to connect to github.com port 443: Connection timed out [exit status 1] > stderr 'github.com/pierrec/lz4@v2.0.9-0.20190209155647-9a39efadad3d\+incompatible: invalid version: \+incompatible suffix not allowed: module contains a go.mod file, so semantic import versioning is required' FAIL: testdata/script/mod_invalid_version.txt:200: no match for `(?m)github.com/pierrec/lz4@v2.0.9-0.20190209155647-9a39efadad3d\+incompatible: invalid version: \+incompatible suffix not allowed: module contains a go.mod file, so semantic import versioning is required` found in stderr --- FAIL: TestScript/get_404_meta (201.73s) script_test.go:253: # golang.org/issue/13037: 'go get' was not parsing tags in 404 served over HTTPS. (201.695s) > [!net] skip > [!exec:git] skip > env GONOSUMDB=bazil.org,github.com,golang.org > env GO111MODULE=off > go get -d bazil.org/fuse/fs/fstestutil > env GO111MODULE=on > env GOPROXY=direct > go get -d bazil.org/fuse/fs/fstestutil [stderr] go: downloading bazil.org/fuse v0.0.0-20200524192727-fb710f7dfd05 go get: bazil.org/fuse@v0.0.0-20200524192727-fb710f7dfd05 requires github.com/elazarl/go-bindata-assetfs@v1.0.0: reading github.com/elazarl/go-bindata-assetfs/go.mod at revision v1.0.0: git ls-remote -q origin in $WORK/gopath/pkg/mod/cache/vcs/7512236c0306852559fc2eaf5645202b3cbbb1b8d3be84d3b786a77758247c00: exit status 128: fatal: unable to access 'https://github.com/elazarl/go-bindata-assetfs/': Failed to connect to github.com port 443: Connection timed out [exit status 1] FAIL: testdata/script/get_404_meta.txt:12: unexpected command failure --- FAIL: TestScript/mod_replace_gopkgin (355.82s) script_test.go:253: # Regression test for golang.org/issue/34254: # a clone of gopkg.in/[…].vN should be replaceable by # a fork hosted at corp.example.com/[…]/vN, # even if there is an explicit go.mod file containing the # gopkg.in path. (0.000s) # Replacing gopkg.in/[…].vN with a repository with a root go.mod file # specifying […].vN and a compatible version should succeed, even if # the replacement path is not a gopkg.in path. (355.763s) > cd 4-to-4 $WORK/gopath/src/4-to-4 > go list -m gopkg.in/src-d/go-git.v4 [stderr] go: gopkg.in/src-d/go-git.v4@v4.13.1 requires github.com/flynn/go-shlex@v0.0.0-20150515145356-3f9db97f8568: invalid version: git fetch -f origin refs/heads/*:refs/heads/* refs/tags/*:refs/tags/* in $WORK/gopath/pkg/mod/cache/vcs/d39529aa679ebad618f13f8a13472f133fd4e0ed477deddf41111e7320847629: exit status 128: fatal: unable to access 'https://github.com/flynn/go-shlex/': Failed to connect to github.com port 443: Connection timed out [exit status 1] FAIL: testdata/script/mod_replace_gopkgin.txt:20: unexpected command failure FAIL FAIL cmd/go 393.219s FAIL go tool dist: Failed: exit status 1