linux-386-longtest at 4d56576ec02e3e3b4459bc23eb1601e6e96f3cfc :: 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-rn3c6ba78" "DEBIAN_FRONTEND=noninteractive" "HOME=/root" "USER=root" "GO_STAGE0_NET_DELAY=12s" "GO_STAGE0_DL_DELAY=100ms" "WORKDIR=/workdir" "GOROOT_BOOTSTRAP=/workdir/go1.4" "GO_BUILDER_NAME=linux-386-longtest" "GO_TEST_SHORT=0" "GOROOT_BOOTSTRAP=/go1.4" "GOARCH=386" "GOHOSTARCH=386" "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/386. --- Installed Go for linux/386 in /workdir/go Installed commands in /workdir/go/bin ##### Testing packages. ok archive/tar 0.028s ok archive/zip 36.764s ok bufio 0.091s ok bytes 6.627s ok compress/bzip2 0.084s ok compress/flate 16.014s ok compress/gzip 0.045s ok compress/lzw 0.070s ok compress/zlib 0.815s ok container/heap 0.004s ok container/list 0.003s ok container/ring 0.003s ok context 0.011s ok crypto 0.002s ok crypto/aes 0.042s ok crypto/cipher 0.101s ok crypto/des 0.019s ok crypto/dsa 38.186s ok crypto/ecdsa 6.131s ok crypto/ed25519 0.830s ok crypto/elliptic 0.875s ok crypto/hmac 0.003s ok crypto/internal/subtle 0.002s ok crypto/md5 0.005s ok crypto/rand 0.191s ok crypto/rc4 0.057s ok crypto/rsa 0.739s ok crypto/sha1 0.004s ok crypto/sha256 0.003s ok crypto/sha512 0.006s ok crypto/subtle 0.007s ok crypto/tls 2.945s ok crypto/x509 2.611s ok database/sql 1.347s ok database/sql/driver 0.003s ok debug/dwarf 0.017s ok debug/elf 0.015s ok debug/gosym 0.015s ok debug/macho 0.006s ok debug/pe 0.005s ok debug/plan9obj 0.003s ok embed/internal/embedtest 0.002s ok encoding/ascii85 0.004s ok encoding/asn1 0.003s ok encoding/base32 0.019s ok encoding/base64 0.004s ok encoding/binary 0.004s ok encoding/csv 0.005s ok encoding/gob 0.018s ok encoding/hex 0.005s ok encoding/json 1.104s ok encoding/pem 0.011s ok encoding/xml 0.016s ok errors 0.004s ok expvar 0.007s ok flag 0.016s ok fmt 0.059s ok go/ast 0.005s ok go/build 1.009s ok go/build/constraint 0.008s ok go/constant 0.005s ok go/doc 0.031s ok go/format 0.007s ok go/importer 0.073s ok go/internal/gccgoimporter 0.011s ok go/internal/gcimporter 2.229s ok go/internal/srcimporter 4.084s ok go/parser 0.024s ok go/printer 0.257s ok go/scanner 0.003s ok go/token 0.015s ok go/types 10.614s ok hash 0.003s ok hash/adler32 0.009s ok hash/crc32 0.006s ok hash/crc64 0.004s ok hash/fnv 0.003s ok hash/maphash 144.805s ok html 0.004s ok html/template 0.182s ok image 0.200s ok image/color 0.029s ok image/draw 0.047s ok image/gif 0.248s ok image/jpeg 0.191s ok image/png 0.339s ok index/suffixarray 99.416s ok internal/cpu 0.009s ok internal/execabs 0.003s ok internal/fmtsort 0.003s ok internal/itoa 0.010s ok internal/poll 3.121s ok internal/profile 0.003s ok internal/reflectlite 0.041s ok internal/singleflight 0.014s ok internal/trace 1.975s ok internal/unsafeheader 0.006s ok internal/xcoff 0.009s ok io 0.026s ok io/fs 0.003s ok io/ioutil 0.004s ok log 0.004s ok log/syslog 1.215s ok math 0.006s ok math/big 3.999s ok math/bits 0.007s ok math/cmplx 0.003s ok math/rand 4.878s ok mime 0.007s ok mime/multipart 0.363s ok mime/quotedprintable 0.115s ok net 27.766s ok net/http 64.607s ok net/http/cgi 0.293s ok net/http/cookiejar 0.006s ok net/http/fcgi 0.106s ok net/http/httptest 0.043s ok net/http/httptrace 0.003s ok net/http/httputil 0.141s ok net/http/internal 0.004s ok net/http/pprof 5.089s ok net/internal/socktest 0.003s ok net/mail 0.005s ok net/rpc 0.024s ok net/rpc/jsonrpc 0.006s ok net/smtp 0.024s ok net/textproto 0.004s ok net/url 0.006s ok os 18.111s ok os/exec 0.783s ok os/signal 14.131s ok os/user 0.003s ok path 0.003s ok path/filepath 0.013s ok plugin 0.004s ok reflect 0.529s ok regexp 15.595s ok regexp/syntax 0.376s ok runtime 176.412s ok runtime/cgo 0.005s ok runtime/debug 0.025s ok runtime/internal/atomic 3.049s ok runtime/internal/math 0.002s ok runtime/internal/sys 0.002s ok runtime/metrics 0.003s ok runtime/pprof 48.359s ok runtime/race 0.103s ok runtime/trace 11.266s ok sort 0.744s ok strconv 2.463s ok strings 1.888s ok sync 4.303s ok sync/atomic 4.476s ok syscall 0.089s ok testing 1.623s ok testing/fstest 0.003s ok testing/iotest 0.003s ok testing/quick 0.033s ok text/scanner 0.004s ok text/tabwriter 0.004s ok text/template 0.423s ok text/template/parse 0.008s ok time 8.380s ok unicode 0.004s ok unicode/utf16 0.002s ok unicode/utf8 0.005s ok cmd/addr2line 2.554s ok cmd/api 2.768s ok cmd/asm/internal/asm 1.108s ok cmd/asm/internal/lex 0.004s ok cmd/compile/internal/dwarfgen 0.204s ok cmd/compile/internal/importer 1.268s ok cmd/compile/internal/ir 0.003s ok cmd/compile/internal/logopt 0.069s ok cmd/compile/internal/noder 0.004s ok cmd/compile/internal/ssa 319.569s ok cmd/compile/internal/ssagen 0.004s ok cmd/compile/internal/syntax 4.358s ok cmd/compile/internal/test 15.357s ok cmd/compile/internal/typecheck 0.289s ok cmd/compile/internal/types 0.003s ok cmd/compile/internal/types2 11.103s ok cmd/cover 1.172s ok cmd/doc 0.182s ok cmd/fix 0.512s go test proxy running at GOPROXY=http://127.0.0.1:35521/mod --- FAIL: TestScript (0.01s) --- FAIL: TestScript/mod_sumdb_golang (11.27s) script_test.go:252: # Test default GOPROXY and GOSUMDB (0.069s) # Download direct from github. (11.199s) > [!net] skip > [!exec:git] skip > env GOSUMDB=sum.golang.org > env GOPROXY=direct > go get -d rsc.io/quote@v1.5.2 [stderr] go: downloading rsc.io/quote v1.5.2 go get: rsc.io/quote@v1.5.2 requires rsc.io/sampler@v1.3.0 requires golang.org/x/text@v0.0.0-20170915032832-14c0d48ead0c: unrecognized import path "golang.org/x/text": reading https://golang.org/x/text?go-get=1: 502 Bad Gateway [exit status 1] FAIL: testdata/script/mod_sumdb_golang.txt:17: unexpected command failure --- FAIL: TestScript/mod_pseudo_cache (9.15s) script_test.go:252: # Regression test for golang.org/issue/27171: after resolving an older # pseudo-version of a commit, future resolution of that commit by hash should # choose the highest appropriate pseudo-version instead of the cached one. (9.145s) > go mod download -json golang.org/x/text@v0.0.0-20171215141712-a1b916ed6726 [stdout] { "Path": "golang.org/x/text", "Version": "v0.0.0-20171215141712-a1b916ed6726", "Error": "golang.org/x/text@v0.0.0-20171215141712-a1b916ed6726: unrecognized import path \"golang.org/x/text\": reading https://golang.org/x/text?go-get=1: 502 Bad Gateway" } [exit status 1] FAIL: testdata/script/mod_pseudo_cache.txt:12: unexpected command failure --- FAIL: TestScript/mod_replace_gopkgin (12.39s) script_test.go:252: # 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. (12.306s) > cd 4-to-4 $WORK/gopath/src/4-to-4 > go list -m gopkg.in/src-d/go-git.v4 [stderr] go list -m: gopkg.in/src-d/go-git.v4@v4.13.1 requires golang.org/x/crypto@v0.0.0-20190701094942-4def268fd1a4: unrecognized import path "golang.org/x/crypto": reading https://golang.org/x/crypto?go-get=1: 502 Bad Gateway [exit status 1] FAIL: testdata/script/mod_replace_gopkgin.txt:20: unexpected command failure --- FAIL: TestScript/mod_gonoproxy (10.03s) script_test.go:252: # disagree with sumdb fails (0.025s) # GONOSUMDB bypasses sumdb, for rsc.io/quote, rsc.io/sampler, golang.org/x/text (0.146s) # Download .info files needed for 'go list -m all' later. # TODO(#42723): either 'go list -m' should not read these files, # or 'go get' and 'go mod tidy' should download them. (0.019s) # When GOPROXY is not empty but contains no entries, an error should be reported. (0.006s) # When GOPROXY=off, fetching modules not matched by GONOPROXY fails. (0.016s) # GONOPROXY bypasses proxy (9.818s) > [!net] skip > [!exec:git] skip > env GOPRIVATE=none > env GONOPROXY='*/fortune' > ! go get -d rsc.io/fortune # does not exist in real world, only on test proxy [stderr] go get: module rsc.io/fortune: git ls-remote -q origin in $WORK/gopath/pkg/mod/cache/vcs/7c438084b2a3d0f7ced49ea3b4ba042a81680b89b5d55169aef8f4bf351cb0d5: exit status 128: fatal: could not read Username for 'https://github.com': terminal prompts disabled Confirm the import path was entered correctly. If this is a private repository, see https://golang.org/doc/faq#git_https for additional information. [exit status 1] > stderr 'git ls-remote' > env GOSUMDB= > env GONOPROXY= > env GOPRIVATE='*/x' > go get -d golang.org/x/text [stderr] go get: unrecognized import path "golang.org/x/text": reading https://golang.org/x/text?go-get=1: 502 Bad Gateway [exit status 1] FAIL: testdata/script/mod_gonoproxy.txt:49: unexpected command failure --- FAIL: TestScript/mod_get_hash (10.52s) script_test.go:252: # fetch commit hash reachable from refs/heads/* and refs/tags/* is OK (1.417s) # fetch other commit hash, even with a non-standard ref, is not OK (9.100s) > ! go list -m golang.org/x/time@334d83c35137ac2b376c1dc3e4c7733791855a3a # refs/changes/24/41624/3 [stderr] go list -m: golang.org/x/time@334d83c35137ac2b376c1dc3e4c7733791855a3a: unrecognized import path "golang.org/x/time": reading https://golang.org/x/time?go-get=1: 502 Bad Gateway [exit status 1] > stderr 'unknown revision' FAIL: testdata/script/mod_get_hash.txt:12: no match for `(?m)unknown revision` found in stderr --- FAIL: TestScript/mod_invalid_version (16.43s) script_test.go:252: # 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. (7.335s) # A module path below the repo root that does not contain a go.mod file is invalid. (9.090s) > cp go.mod.orig go.mod > go mod edit -require golang.org/x/text/unicode@v0.0.0-20170915032832-14c0d48ead0c > cd outside $WORK/gopath/src/outside > ! go list -m golang.org/x/text [stderr] go list -m: example.com@v0.0.0 requires golang.org/x/text/unicode@v0.0.0-20170915032832-14c0d48ead0c: unrecognized import path "golang.org/x/text/unicode": reading https://golang.org/x/text/unicode?go-get=1: 502 Bad Gateway [exit status 1] > stderr 'go list -m: example.com@v0.0.0 requires\n\tgolang.org/x/text/unicode@v0.0.0-20170915032832-14c0d48ead0c: invalid version: missing golang.org/x/text/unicode/go.mod at revision 14c0d48ead0c' FAIL: testdata/script/mod_invalid_version.txt:33: no match for `(?m)go list -m: example.com@v0.0.0 requires\n\tgolang.org/x/text/unicode@v0.0.0-20170915032832-14c0d48ead0c: invalid version: missing golang.org/x/text/unicode/go.mod at revision 14c0d48ead0c` found in stderr --- FAIL: TestScript/get_with_git_trace (9.13s) script_test.go:252: # go get should be success when GIT_TRACE set (9.130s) > go get golang.org/x/text [stderr] package golang.org/x/text: unrecognized import path "golang.org/x/text": reading https://golang.org/x/text?go-get=1: 502 Bad Gateway [exit status 1] FAIL: testdata/script/get_with_git_trace.txt:9: unexpected command failure --- FAIL: TestScript/get_update_unknown_protocol (9.94s) script_test.go:252: # Clone the repo via HTTPS manually. (0.452s) # Configure the repo to use a protocol unknown to cmd/go # that still actually works. (9.491s) > 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] package golang.org/x/example/stringutil: unrecognized import path "golang.org/x/example/stringutil": reading https://golang.org/x/example/stringutil?go-get=1: 502 Bad Gateway [exit status 1] FAIL: testdata/script/get_update_unknown_protocol.txt:14: unexpected command failure --- FAIL: TestScript/get_test_only (9.09s) script_test.go:252: > [!net] skip > [!exec:git] skip > env GO111MODULE=off > go get golang.org/x/tour/content... [stderr] package golang.org/x/tour/content...: unrecognized import path "golang.org/x/tour": reading https://golang.org/x/tour?go-get=1: 502 Bad Gateway [exit status 1] FAIL: testdata/script/get_test_only.txt:5: unexpected command failure --- FAIL: TestScript/get_non_pkg (9.09s) script_test.go:252: > [!net] skip > [!exec:git] skip > env GOBIN=$WORK/tmp/gobin > env GO111MODULE=off > ! go get -d golang.org/x/tools [stderr] package golang.org/x/tools: unrecognized import path "golang.org/x/tools": reading https://golang.org/x/tools?go-get=1: 502 Bad Gateway [exit status 1] > stderr 'golang.org/x/tools: no Go files' FAIL: testdata/script/get_non_pkg.txt:8: no match for `(?m)golang.org/x/tools: no Go files` found in stderr --- FAIL: TestScript/get_dash_t (9.48s) script_test.go:252: # Tests issue 8181 (9.474s) > [!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) package golang.org/x/build/gerrit: unrecognized import path "golang.org/x/build/gerrit": reading https://golang.org/x/build/gerrit?go-get=1: 502 Bad Gateway [exit status 1] FAIL: testdata/script/get_dash_t.txt:7: unexpected command failure --- FAIL: TestScript/mod_gopkg_unstable (27.85s) script_test.go:252: > 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: downloading gopkg.in/macaroon-bakery.v2-unstable v2.0.0-20171026135619-38b77b89a624 go: downloading github.com/rogpeppe/fastuuid v1.2.0 go: downloading github.com/juju/loggo v0.0.0-20200526014432-9ce3a2e09b5e go: downloading github.com/golang/protobuf v1.5.2 go: downloading gopkg.in/errgo.v1 v1.0.1 go: downloading gopkg.in/macaroon.v2 v2.1.0 go get: gopkg.in/macaroon.v2@none updating to gopkg.in/macaroon.v2@v2.1.0 requires golang.org/x/crypto@v0.0.0-20180723164146-c126467f60eb: unrecognized import path "golang.org/x/crypto": reading https://golang.org/x/crypto?go-get=1: 502 Bad Gateway [exit status 1] FAIL: testdata/script/mod_gopkg_unstable.txt:15: unexpected command failure --- FAIL: TestScript/get_insecure_update (14.94s) script_test.go:252: # Clone the repo via HTTP manually. (0.495s) # Update without GOINSECURE should fail. # We need -f to ignore import comments. (0.062s) # Update with GOINSECURE should succeed. (14.379s) > env GOINSECURE=github.com/golang/example/hello > go get -d -u -f github.com/golang/example/hello [stderr] package golang.org/x/example/stringutil: unrecognized import path "golang.org/x/example/stringutil": reading https://golang.org/x/example?go-get=1: 502 Bad Gateway [exit status 1] FAIL: testdata/script/get_insecure_update.txt:14: unexpected command failure --- FAIL: TestScript/get_404_meta (15.16s) script_test.go:252: # golang.org/issue/13037: 'go get' was not parsing tags in 404 served over HTTPS. (15.154s) > [!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 golang.org/x/sys/unix: unrecognized import path "golang.org/x/sys/unix": reading https://golang.org/x/sys?go-get=1: 502 Bad Gateway [exit status 1] FAIL: testdata/script/get_404_meta.txt:8: unexpected command failure FAIL FAIL cmd/go 93.532s FAIL go tool dist: Failed: exit status 1