linux-amd64-longtest at 70d54df4f6bd63b0057d718c6fc3fffc0d94bbc1
:: 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-rn2e34481" "DEBIAN_FRONTEND=noninteractive" "HOME=/root" "USER=root" "GO_STAGE0_NET_DELAY=0s" "GO_STAGE0_DL_DELAY=100ms" "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.020s
ok archive/zip 25.059s
ok bufio 0.048s
ok bytes 1.571s
ok compress/bzip2 0.065s
ok compress/flate 7.755s
ok compress/gzip 0.045s
ok compress/lzw 0.065s
ok compress/zlib 0.623s
ok container/heap 0.004s
ok container/list 0.002s
ok container/ring 0.004s
ok context 0.011s
ok crypto 0.004s
ok crypto/aes 0.028s
ok crypto/cipher 0.227s
ok crypto/des 0.008s
ok crypto/dsa 19.573s
ok crypto/ecdsa 2.764s
ok crypto/ed25519 0.056s
ok crypto/elliptic 2.450s
ok crypto/hmac 0.003s
ok crypto/internal/subtle 0.003s
ok crypto/md5 0.005s
ok crypto/rand 0.163s
ok crypto/rc4 0.029s
ok crypto/rsa 0.339s
ok crypto/sha1 0.016s
ok crypto/sha256 0.003s
ok crypto/sha512 0.003s
ok crypto/subtle 0.006s
ok crypto/tls 1.806s
ok crypto/x509 0.772s
ok database/sql 1.320s
ok database/sql/driver 0.002s
ok debug/dwarf 0.011s
ok debug/elf 0.014s
ok debug/gosym 0.169s
ok debug/macho 0.005s
ok debug/pe 0.005s
ok debug/plan9obj 0.005s
ok embed/internal/embedtest 0.003s
ok encoding/ascii85 0.003s
ok encoding/asn1 0.004s
ok encoding/base32 0.016s
ok encoding/base64 0.004s
ok encoding/binary 0.004s
ok encoding/csv 0.008s
ok encoding/gob 0.020s
ok encoding/hex 0.010s
ok encoding/json 0.989s
ok encoding/pem 0.009s
ok encoding/xml 0.015s
ok errors 0.003s
ok expvar 0.004s
ok flag 0.022s
ok fmt 0.073s
ok go/ast 0.004s
ok go/build 0.867s
ok go/build/constraint 0.006s
ok go/constant 0.004s
ok go/doc 0.030s
ok go/format 0.008s
ok go/importer 0.073s
ok go/internal/gccgoimporter 0.008s
ok go/internal/gcimporter 1.583s
ok go/internal/srcimporter 3.938s
ok go/parser 0.031s
ok go/printer 0.234s
ok go/scanner 0.003s
ok go/token 0.013s
ok go/types 10.619s
ok hash 0.003s
ok hash/adler32 0.007s
ok hash/crc32 0.005s
ok hash/crc64 0.003s
ok hash/fnv 0.002s
ok hash/maphash 99.816s
ok html 0.006s
ok html/template 0.221s
ok image 0.173s
ok image/color 0.020s
ok image/draw 0.044s
ok image/gif 0.208s
ok image/jpeg 0.160s
ok image/png 0.299s
ok index/suffixarray 48.420s
ok internal/cpu 0.008s
ok internal/execabs 0.003s
ok internal/fmtsort 0.003s
ok internal/itoa 0.004s
ok internal/poll 1.936s
ok internal/profile 0.003s
ok internal/reflectlite 0.044s
ok internal/singleflight 0.018s
ok internal/trace 1.169s
ok internal/unsafeheader 0.004s
ok internal/xcoff 0.009s
ok io 0.026s
ok io/fs 0.002s
ok io/ioutil 0.004s
ok log 0.003s
ok log/syslog 1.213s
ok math 0.005s
ok math/big 2.687s
ok math/bits 0.005s
ok math/cmplx 0.003s
ok math/rand 4.181s
ok mime 0.006s
ok mime/multipart 0.232s
ok mime/quotedprintable 0.086s
ok net 26.574s
ok net/http 64.377s
ok net/http/cgi 0.241s
ok net/http/cookiejar 0.006s
ok net/http/fcgi 0.005s
ok net/http/httptest 0.028s
ok net/http/httptrace 0.003s
ok net/http/httputil 0.154s
ok net/http/internal 0.004s
ok net/http/pprof 5.082s
ok net/internal/socktest 0.003s
ok net/mail 0.007s
ok net/rpc 0.024s
ok net/rpc/jsonrpc 0.007s
ok net/smtp 0.012s
ok net/textproto 0.005s
ok net/url 0.006s
ok os 18.128s
ok os/exec 0.718s
ok os/signal 14.125s
ok os/user 0.004s
ok path 0.003s
ok path/filepath 0.011s
ok plugin 0.008s
ok reflect 0.608s
ok regexp 12.739s
ok regexp/syntax 0.254s
ok runtime 174.722s
ok runtime/debug 0.051s
ok runtime/internal/atomic 2.807s
ok runtime/internal/math 0.002s
ok runtime/internal/sys 0.004s
ok runtime/metrics 0.003s
ok runtime/pprof 47.266s
ok runtime/race 0.100s
ok runtime/trace 9.383s
ok sort 0.663s
ok strconv 1.240s
ok strings 1.163s
ok sync 3.257s
ok sync/atomic 3.443s
ok syscall 0.057s
ok testing 1.596s
ok testing/fstest 0.003s
ok testing/iotest 0.003s
ok testing/quick 0.031s
ok text/scanner 0.004s
ok text/tabwriter 0.003s
ok text/template 0.421s
ok text/template/parse 0.010s
ok time 7.406s
ok unicode 0.003s
ok unicode/utf16 0.009s
ok unicode/utf8 0.007s
ok cmd/addr2line 0.715s
ok cmd/api 2.104s
ok cmd/asm/internal/asm 0.986s
ok cmd/asm/internal/lex 0.010s
ok cmd/compile/internal/dwarfgen 0.173s
ok cmd/compile/internal/importer 1.260s
ok cmd/compile/internal/ir 0.003s
ok cmd/compile/internal/logopt 0.208s
ok cmd/compile/internal/noder 0.005s
ok cmd/compile/internal/ssa 162.361s
ok cmd/compile/internal/ssagen 0.004s
ok cmd/compile/internal/syntax 4.080s
ok cmd/compile/internal/test 12.433s
ok cmd/compile/internal/typecheck 0.292s
ok cmd/compile/internal/types 0.013s
ok cmd/compile/internal/types2 8.841s
ok cmd/cover 1.037s
ok cmd/doc 0.154s
ok cmd/fix 0.503s
go test proxy running at GOPROXY=http://127.0.0.1:35659/mod
--- FAIL: TestScript (0.01s)
--- FAIL: TestScript/get_404_meta (30.02s)
script_test.go:253:
# golang.org/issue/13037: 'go get' was not parsing tags in 404 served over HTTPS. (30.019s)
> [!net] skip
> [!exec:git] skip
> env GONOSUMDB=bazil.org,github.com,golang.org
> env GO111MODULE=off
> go get -d bazil.org/fuse/fs/fstestutil
[stderr]
package bazil.org/fuse/fs/fstestutil: unrecognized import path "bazil.org/fuse/fs/fstestutil": https fetch: Get "https://bazil.org/fuse/fs/fstestutil?go-get=1": dial tcp 104.21.2.199:443: i/o timeout
[exit status 1]
FAIL: testdata/script/get_404_meta.txt:8: unexpected command failure
--- FAIL: TestScript/get_update_wildcard (129.82s)
script_test.go:253:
# Issue 14450: go get -u .../ tried to import not downloaded package (129.818s)
> [!net] skip
> [!exec:git] skip
> env GO111MODULE=off
> go get github.com/tmwh/go-get-issue-14450/a
[stderr]
# cd .; git clone -- https://github.com/tmwh/go-get-issue-14450 $WORK/gopath/src/github.com/tmwh/go-get-issue-14450
Cloning into '$WORK/gopath/src/github.com/tmwh/go-get-issue-14450'...
fatal: unable to access 'https://github.com/tmwh/go-get-issue-14450/': Failed to connect to github.com port 443: Connection timed out
package github.com/tmwh/go-get-issue-14450/a: exit status 128
[exit status 1]
FAIL: testdata/script/get_update_wildcard.txt:7: unexpected command failure
--- FAIL: TestScript/get_vendor (129.87s)
script_test.go:253:
# Update (128.549s)
> go get '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:20: unexpected command failure
--- FAIL: TestScript/gopath_moved_repo (129.93s)
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.477s)
# Test that 'go get -u' reports moved git packages. (129.430s)
> [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/get_update (129.50s)
script_test.go:253:
# Tests Issue #9224
# The recursive updating was trying to walk to
# former dependencies, not current ones. (0.000s)
# Rewind (129.496s)
> go get 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_update.txt:10: unexpected command failure
--- FAIL: TestScript/get_issue11307 (132.33s)
script_test.go:253:
# go get -u was not working except in checkout directory (132.325s)
> [!net] skip
> [!exec:git] skip
> env GO111MODULE=off
> env GOPATH=$WORK/tmp/gopath
> go get github.com/rsc/go-get-issue-11307
[stderr]
# cd .; git clone -- https://github.com/rsc/go-get-issue-11307 $WORK/tmp/gopath/src/github.com/rsc/go-get-issue-11307
Cloning into '$WORK/tmp/gopath/src/github.com/rsc/go-get-issue-11307'...
fatal: unable to access 'https://github.com/rsc/go-get-issue-11307/': Failed to connect to github.com port 443: Connection timed out
package github.com/rsc/go-get-issue-11307: exit status 128
[exit status 1]
FAIL: testdata/script/get_issue11307.txt:8: unexpected command failure
--- FAIL: TestScript/get_dash_t (130.86s)
script_test.go:253:
# Tests issue 8181 (130.859s)
> [!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 (131.25s)
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. (131.243s)
> 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_race (132.99s)
script_test.go:253:
# Tests issue #20502 (132.986s)
> [!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_insecure_env (132.07s)
script_test.go:253:
# GOPATH: Set up (0.000s)
# GOPATH: Try go get -d of HTTP-only repo (should fail). (0.054s)
# GOPATH: Try again with invalid GOINSECURE (should fail). (0.066s)
# GOPATH: Try with correct GOINSECURE (should succeed). (1.380s)
# GOPATH: Try updating without GOINSECURE (should fail). (0.006s)
# GOPATH: Try updating with GOINSECURE glob (should succeed). (130.558s)
> env GOINSECURE=*.go-get-*.appspot.com
> go get -d -u -f insecure.go-get-issue-15410.appspot.com/pkg/p
[stderr]
# cd $WORK/gopath/src/insecure.go-get-issue-15410.appspot.com/pkg; git pull --ff-only
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 1
[exit status 1]
FAIL: testdata/script/get_insecure_env.txt:24: unexpected command failure
--- FAIL: TestScript/get_legacy (132.77s)
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. (132.760s)
> [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
> go get github.com/rsc/vgotest4
[stderr]
# cd .; git clone -- https://github.com/rsc/vgotest4 $WORK/tmp/d2/src/github.com/rsc/vgotest4
Cloning into '$WORK/tmp/d2/src/github.com/rsc/vgotest4'...
fatal: unable to access 'https://github.com/rsc/vgotest4/': Failed to connect to github.com port 443: Connection timed out
package github.com/rsc/vgotest4: exit status 128
[exit status 1]
FAIL: testdata/script/get_legacy.txt:22: unexpected command failure
--- FAIL: TestScript/vendor_test_issue14613 (131.19s)
script_test.go:253:
> [!net] skip
> [!exec:git] skip
> env GO111MODULE=off
> cd $GOPATH
$WORK/gopath
> go get github.com/clsung/go-vendor-issue-14613
[stderr]
# cd .; git clone -- https://github.com/clsung/go-vendor-issue-14613 $WORK/gopath/src/github.com/clsung/go-vendor-issue-14613
Cloning into '$WORK/gopath/src/github.com/clsung/go-vendor-issue-14613'...
fatal: unable to access 'https://github.com/clsung/go-vendor-issue-14613/': Failed to connect to github.com port 443: Connection timed out
package github.com/clsung/go-vendor-issue-14613: exit status 128
[exit status 1]
FAIL: testdata/script/vendor_test_issue14613.txt:7: unexpected command failure
--- FAIL: TestScript/mod_prefer_compatible (162.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.215s)
# 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.198s)
# 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.) (161.773s)
> [!exec:git] stop
> 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 ls-remote -q origin in $WORK/gopath/pkg/mod/cache/vcs/fb978822a4944776ca42509272a7325dad7bcbd80ced596132267b9bc8b28db8: exit status 128:
fatal: unable to access 'https://github.com/russross/blackfriday/': Failed to connect to github.com port 443: Connection timed out
go list -m: module github.com/russross/blackfriday: git ls-remote -q origin in $WORK/gopath/pkg/mod/cache/vcs/fb978822a4944776ca42509272a7325dad7bcbd80ced596132267b9bc8b28db8: exit status 128:
fatal: unable to access 'https://github.com/russross/blackfriday/': Failed to connect to github.com port 443: Connection timed out
[exit status 1]
FAIL: testdata/script/mod_prefer_compatible.txt:40: unexpected command failure
--- FAIL: TestScript/mod_init_dep (131.12s)
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.123s)
> 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/mod_get_private_vcs (130.49s)
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. (130.064s)
> ! go get github.com/golang/term@86186f3aba07ed0212cfb944f3398997d2d07c6b
[stderr]
go get: github.com/golang/term@86186f3aba07ed0212cfb944f3398997d2d07c6b: invalid version: git fetch -f origin refs/heads/*:refs/heads/* refs/tags/*:refs/tags/* in $WORK/gopath/pkg/mod/cache/vcs/44dedc018ee24aa1a1b35d20c99e3bdf79b8e846097d3bcaf61b254ac1d484b2: exit status 128:
fatal: unable to access 'https://github.com/golang/term/': Failed to connect to github.com port 443: Connection timed out
[exit status 1]
> stderr '^go get: github.com/golang/term@86186f3aba07ed0212cfb944f3398997d2d07c6b: invalid version: unknown revision 86186f3aba07ed0212cfb944f3398997d2d07c6b$'
FAIL: testdata/script/mod_get_private_vcs.txt:16: no match for `(?m)^go get: github.com/golang/term@86186f3aba07ed0212cfb944f3398997d2d07c6b: invalid version: unknown revision 86186f3aba07ed0212cfb944f3398997d2d07c6b$` found in stderr
--- FAIL: TestScript/mod_get_pseudo (134.72s)
script_test.go:253:
# Testing git->module converter's generation of +incompatible tags; turn off proxy. (0.000s)
# We can resolve the @master branch without unshallowing the local repository
# (even with older gits), so try that before we do anything else.
# (This replicates https://golang.org/issue/26713 with git 2.7.4.) (134.719s)
> go get -d github.com/rsc/legacytest@master
[stderr]
go: downloading github.com/rsc/legacytest v1.2.0
go: downloading github.com/rsc/legacytest v0.0.0-20180717164253-7303f7796364
go get: added github.com/rsc/legacytest v0.0.0-20180717164253-7303f7796364
> go list -m all
[stdout]
x
github.com/rsc/legacytest v0.0.0-20180717164253-7303f7796364
> stdout '^github.com/rsc/legacytest v2\.0\.1-0\.\d{14}-7303f7796364\+incompatible$'
FAIL: testdata/script/mod_get_pseudo.txt:14: no match for `(?m)^github.com/rsc/legacytest v2\.0\.1-0\.\d{14}-7303f7796364\+incompatible$` found in stdout
--- FAIL: TestScript/mod_download_hash (132.34s)
script_test.go:253:
# Testing mod download with non semantic versions; turn off proxy. (132.334s)
> [!net] skip
> [!exec:git] skip
> env GOPROXY=direct
> env GOSUMDB=off
> go mod download rsc.io/quote@a91498bed0a73d4bb9c1fb2597925f7883bc40a7
[stderr]
go mod download: rsc.io/quote@v1.5.3-0.20180709162918-a91498bed0a7: invalid pseudo-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:9: unexpected command failure
--- FAIL: TestScript/mod_invalid_version (280.76s)
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. (1.615s)
# A module path below the repo root that does not contain a go.mod file is invalid. (0.146s)
# However, arguments to 'go get' can name packages above the root. (2.570s)
# A major version that does not match the module path is invalid. (0.013s)
# A pseudo-version with fewer than 12 digits of SHA-1 prefix is invalid. (0.140s)
# A pseudo-version with more than 12 digits of SHA-1 prefix is invalid. (0.138s)
# A pseudo-version that does not match the commit timestamp is invalid. (0.133s)
# A 'replace' directive in the main module can replace an invalid timestamp
# with a valid one. (0.326s)
# A pseudo-version that is not derived from a tag is invalid. (0.549s)
# 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.137s)
# 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.128s)
# A 'replace' directive in the main module can replace an
# invalid pseudo-version base with a valid one. (0.069s)
# A 'replace' directive can replace an invalid 'latest' version, and
# should suppress errors for that version in 'go get -u' (0.497s)
# A pseudo-version derived from a non-ancestor tag is invalid. (0.999s)
# A pseudo-version derived from a canonical tag on the same revision is invalid. (0.127s)
# A +incompatible suffix is not allowed on a version that is actually compatible. (0.498s)
# The pseudo-version for a commit after a tag with a non-matching major version
# should instead be based on the last matching tag. (272.652s)
> cp go.mod.orig go.mod
> go mod edit -require github.com/pierrec/lz4@473cd7ce01a1
> go list -m github.com/pierrec/lz4
[stderr]
go: github.com/pierrec/lz4@v1.0.2-0.20190131084431-473cd7ce01a1 requires
github.com/pkg/profile@v1.2.1: reading github.com/pkg/profile/go.mod at revision v1.2.1: git ls-remote -q origin in $WORK/gopath/pkg/mod/cache/vcs/c88da0159ba81c743fd5e98f3020472cc342666b1e9302991c424cbd8591810f: exit status 128:
fatal: unable to access 'https://github.com/pkg/profile/': Failed to connect to github.com port 443: Connection timed out
[exit status 1]
FAIL: testdata/script/mod_invalid_version.txt:185: unexpected command failure
--- FAIL: TestScript/mod_replace_gopkgin (525.30s)
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. (525.250s)
> 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/emirpasic/gods@v1.12.0: reading github.com/emirpasic/gods/go.mod at revision v1.12.0: git ls-remote -q origin in $WORK/gopath/pkg/mod/cache/vcs/8e686b187fc19ed8b348df9e85e9a94dac968a232c8ccaa10e211c58f20dc757: exit status 128:
fatal: unable to access 'https://github.com/emirpasic/gods/': 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: TestIssue11457 (130.79s)
go_test.go:951: running testgo [get -d -u rsc.io/go-get-issue-11457]
go_test.go:951: standard error:
go_test.go:951: # cd .; git clone -- https://github.com/rsc/go-get-issue-11457 /workdir/tmp/cmd-go-test-1834992386/gotest2498475403/src/rsc.io/go-get-issue-11457
Cloning into '/workdir/tmp/cmd-go-test-1834992386/gotest2498475403/src/rsc.io/go-get-issue-11457'...
fatal: unable to access 'https://github.com/rsc/go-get-issue-11457/': Failed to connect to github.com port 443: Connection timed out
package rsc.io/go-get-issue-11457: exit status 128
go_test.go:951: go [get -d -u rsc.io/go-get-issue-11457] failed unexpectedly in /workdir/go/src/cmd/go: exit status 1
--- FAIL: TestDefaultGOPATHGet (130.12s)
go_test.go:1328: running testgo [get -v github.com/golang/example/hello]
go_test.go:1328: standard error:
go_test.go:1328: github.com/golang/example (download)
created GOPATH=/workdir/tmp/cmd-go-test-1834992386/gotest3777917604/home/go; see 'go help gopath'
# cd .; git clone -- https://github.com/golang/example /workdir/tmp/cmd-go-test-1834992386/gotest3777917604/home/go/src/github.com/golang/example
Cloning into '/workdir/tmp/cmd-go-test-1834992386/gotest3777917604/home/go/src/github.com/golang/example'...
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 128
go_test.go:1328: go [get -v github.com/golang/example/hello] failed unexpectedly in /workdir/go/src/cmd/go: exit status 1
FAIL
FAIL cmd/go 889.716s
FAIL
go tool dist: Failed: exit status 1