golang / go

The Go programming language
https://go.dev
BSD 3-Clause "New" or "Revised" License
122.7k stars 17.5k forks source link

cmd/go/internal/modload: TestQueryImport failures #59161

Open gopherbot opened 1 year ago

gopherbot commented 1 year ago
#!watchflakes
post <- pkg == "cmd/go/internal/modload" && test == "TestQueryImport"

Issue created automatically to collect these failures.

Example (log):

vcs-test.golang.org rerouted to http://127.0.0.1:42865
https://vcs-test.golang.org rerouted to https://127.0.0.1:34851
go: finding module for package golang.org/x/net/context
panic: test timed out after 15m0s
running tests:
    TestQueryImport (15m0s)
    TestQueryImport/golang.org_x_net_context (15m0s)

runtime.gopark(0x0?, 0x0?, 0xc8?, 0x24?, 0x18?)
    /workdir/go/src/runtime/proc.go:381 +0xce fp=0xc0000a7be0 sp=0xc0000a7bc0 pc=0x47044e
runtime.chanrecv(0xc00007e4d0, 0xc0000a7cc6, 0x1)
    /workdir/go/src/runtime/chan.go:583 +0x385 fp=0xc0000a7c58 sp=0xc0000a7be0 pc=0x43ce25
runtime.chanrecv1(0xf06880?, 0xa9d820?)
    /workdir/go/src/runtime/chan.go:442 +0x12 fp=0xc0000a7c80 sp=0xc0000a7c58 pc=0x43ca92
testing.(*T).Run(0xc000214820, {0xc00002a768, 0x18}, 0xc000233170)
    /workdir/go/src/testing/testing.go:1649 +0x865 fp=0xc0000a7da0 sp=0xc0000a7c80 pc=0x58e085
cmd/go/internal/modload.TestQueryImport(0x0?)
    /workdir/go/src/cmd/go/internal/modload/import_test.go:75 +0x191 fp=0xc0000a7e98 sp=0xc0000a7da0 pc=0xa600f1
testing.tRunner(0xc000214820, 0xb7d838)

watchflakes

gopherbot commented 1 year ago

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "cmd/go/internal/modload" && test == "TestQueryImport"
2023-03-20 20:11 linux-amd64-longtest-race go@86ad2d57 cmd/go/internal/modload.TestQueryImport (log) vcs-test.golang.org rerouted to http://127.0.0.1:42865 https://vcs-test.golang.org rerouted to https://127.0.0.1:34851 go: finding module for package golang.org/x/net/context panic: test timed out after 15m0s running tests: TestQueryImport (15m0s) TestQueryImport/golang.org_x_net_context (15m0s) runtime.gopark(0x0?, 0x0?, 0xc8?, 0x24?, 0x18?) /workdir/go/src/runtime/proc.go:381 +0xce fp=0xc0000a7be0 sp=0xc0000a7bc0 pc=0x47044e runtime.chanrecv(0xc00007e4d0, 0xc0000a7cc6, 0x1) /workdir/go/src/runtime/chan.go:583 +0x385 fp=0xc0000a7c58 sp=0xc0000a7be0 pc=0x43ce25 runtime.chanrecv1(0xf06880?, 0xa9d820?) /workdir/go/src/runtime/chan.go:442 +0x12 fp=0xc0000a7c80 sp=0xc0000a7c58 pc=0x43ca92 testing.(*T).Run(0xc000214820, {0xc00002a768, 0x18}, 0xc000233170) /workdir/go/src/testing/testing.go:1649 +0x865 fp=0xc0000a7da0 sp=0xc0000a7c80 pc=0x58e085 cmd/go/internal/modload.TestQueryImport(0x0?) /workdir/go/src/cmd/go/internal/modload/import_test.go:75 +0x191 fp=0xc0000a7e98 sp=0xc0000a7da0 pc=0xa600f1 testing.tRunner(0xc000214820, 0xb7d838)

watchflakes

gopherbot commented 1 year ago

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "cmd/go/internal/modload" && test == "TestQueryImport"
2023-05-10 15:11 linux-amd64-longtest-race go@93d9035c cmd/go/internal/modload.TestQueryImport (log) vcs-test.golang.org rerouted to http://127.0.0.1:34709 https://vcs-test.golang.org rerouted to https://127.0.0.1:44109 go: finding module for package golang.org/x/net/context go: finding module for package golang.org/x/net go: finding module for package golang.org/x/text go: finding module for package github.com/rsc/quote/buggy go: finding module for package github.com/rsc/quote go: finding module for package golang.org/x/foo/bar --- FAIL: TestQueryImport (40.93s) --- FAIL: TestQueryImport/golang.org_x_text (30.83s) import_test.go:81: queryImport(_, "golang.org/x/text"): module golang.org/x/text: git ls-remote -q origin in /workdir/tmp/modload-test-4021681135/pkg/mod/cache/vcs/38515699458adac9c8b61a0b44f9ad7a5f6edd7bcc2d7fae95930ec78f71e1b4: exit status 128: fatal: unable to access 'https://go.googlesource.com/text/': The requested URL returned error: 502

watchflakes

bcmills commented 1 year ago

This looks like more network issues (#55164), but perhaps ought to have a separate fix to give a better error message if the test is about to time out.

gopherbot commented 1 year ago

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "cmd/go/internal/modload" && test == "TestQueryImport"
2023-08-18 11:58 linux-amd64-longtest-race go@925d2fb3 cmd/go/internal/modload.TestQueryImport (log) vcs-test.golang.org rerouted to http://127.0.0.1:41587 https://vcs-test.golang.org rerouted to https://127.0.0.1:42855 go: finding module for package golang.org/x/net/context go: finding module for package golang.org/x/net go: finding module for package golang.org/x/text go: finding module for package github.com/rsc/quote/buggy go: finding module for package github.com/rsc/quote go: finding module for package golang.org/x/foo/bar --- FAIL: TestQueryImport (49.00s) --- FAIL: TestQueryImport/golang.org_x_net_context (0.30s) import_test.go:81: queryImport(_, "golang.org/x/net/context"): cannot find module providing package golang.org/x/net/context: unrecognized import path "golang.org/x/net/context": reading https://golang.org/x/net/context?go-get=1: 404 Not Found --- FAIL: TestQueryImport/golang.org_x_net (0.00s) import_test.go:88: queryImport(_, "golang.org/x/net"): error "cannot find module providing package golang.org/x/net: unrecognized import path \"golang.org/x/net\": reading https://golang.org/x/net?go-get=1: 404 Not Found", want error matching `module golang.org/x/net@.* found \(v[01]\.\d+\.\d+\), but does not contain package golang.org/x/net`

watchflakes

gopherbot commented 7 months ago

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "cmd/go/internal/modload" && test == "TestQueryImport"
2024-01-31 20:26 linux-386-longtest go@a5fb6560 cmd/go/internal/modload.TestQueryImport (log) vcs-test.golang.org rerouted to http://127.0.0.1:43425 https://vcs-test.golang.org rerouted to https://127.0.0.1:38771 go: finding module for package golang.org/x/net/context go: finding module for package golang.org/x/net go: finding module for package golang.org/x/text go: finding module for package github.com/rsc/quote/buggy go: finding module for package github.com/rsc/quote go: finding module for package golang.org/x/foo/bar --- FAIL: TestQueryImport (68.18s) --- FAIL: TestQueryImport/github.com_rsc_quote_buggy (58.61s) import_test.go:81: queryImport(_, "github.com/rsc/quote/buggy"): github.com/rsc/quote@v1.5.2: verifying module: github.com/rsc/quote@v1.5.2: reading https://sum.golang.org/lookup/github.com/rsc/quote@v1.5.2: 404 Not Found server response: not found: temporarily unavailable --- FAIL: TestQueryImport/github.com_rsc_quote (0.00s) import_test.go:81: queryImport(_, "github.com/rsc/quote"): github.com/rsc/quote@v1.5.2: verifying module: github.com/rsc/quote@v1.5.2: reading https://sum.golang.org/lookup/github.com/rsc/quote@v1.5.2: 404 Not Found server response: not found: temporarily unavailable

watchflakes

bcmills commented 7 months ago

@suzmue, I think you mentioned something about 404s from sum.golang.org the other day..? (See the test logs above.)

gopherbot commented 6 months ago

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "cmd/go/internal/modload" && test == "TestQueryImport"
2024-02-28 16:43 linux-amd64-longtest go@0728e2b1 cmd/go/internal/modload.TestQueryImport (log) vcs-test.golang.org rerouted to http://127.0.0.1:39583 https://vcs-test.golang.org rerouted to https://127.0.0.1:35131 go: finding module for package golang.org/x/net/context go: finding module for package golang.org/x/net go: finding module for package golang.org/x/text go: finding module for package github.com/rsc/quote/buggy go: finding module for package github.com/rsc/quote go: finding module for package golang.org/x/foo/bar --- FAIL: TestQueryImport (5.07s) --- FAIL: TestQueryImport/golang.org_x_net_context (2.02s) import_test.go:81: queryImport(_, "golang.org/x/net/context"): cannot find module providing package golang.org/x/net/context: unrecognized import path "golang.org/x/net/context": reading https://golang.org/x/net/context?go-get=1: 500 Internal Server Error --- FAIL: TestQueryImport/golang.org_x_net (0.00s) import_test.go:88: queryImport(_, "golang.org/x/net"): error "cannot find module providing package golang.org/x/net: unrecognized import path \"golang.org/x/net\": reading https://golang.org/x/net?go-get=1: 500 Internal Server Error", want error matching `module golang.org/x/net@.* found \(v[01]\.\d+\.\d+\), but does not contain package golang.org/x/net` --- FAIL: TestQueryImport/golang.org_x_text (2.22s) import_test.go:81: queryImport(_, "golang.org/x/text"): cannot find module providing package golang.org/x/text: unrecognized import path "golang.org/x/text": reading https://golang.org/x/text?go-get=1: 500 Internal Server Error

watchflakes

gopherbot commented 6 months ago

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "cmd/go/internal/modload" && test == "TestQueryImport"
2024-02-28 16:44 linux-amd64-longtest-race go@51df232b cmd/go/internal/modload.TestQueryImport (log) vcs-test.golang.org rerouted to http://127.0.0.1:38273 https://vcs-test.golang.org rerouted to https://127.0.0.1:37919 go: finding module for package golang.org/x/net/context go: finding module for package golang.org/x/net go: finding module for package golang.org/x/text go: finding module for package github.com/rsc/quote/buggy go: finding module for package github.com/rsc/quote go: finding module for package golang.org/x/foo/bar --- FAIL: TestQueryImport (11.18s) --- FAIL: TestQueryImport/golang.org_x_net_context (10.28s) import_test.go:81: queryImport(_, "golang.org/x/net/context"): cannot find module providing package golang.org/x/net/context: unrecognized import path "golang.org/x/net/context": reading https://golang.org/x/net/context?go-get=1: 500 Internal Server Error --- FAIL: TestQueryImport/golang.org_x_net (0.00s) import_test.go:88: queryImport(_, "golang.org/x/net"): error "cannot find module providing package golang.org/x/net: unrecognized import path \"golang.org/x/net\": reading https://golang.org/x/net?go-get=1: 500 Internal Server Error", want error matching `module golang.org/x/net@.* found \(v[01]\.\d+\.\d+\), but does not contain package golang.org/x/net` --- FAIL: TestQueryImport/golang.org_x_text (0.19s) import_test.go:81: queryImport(_, "golang.org/x/text"): cannot find module providing package golang.org/x/text: unrecognized import path "golang.org/x/text": reading https://golang.org/x/text?go-get=1: 500 Internal Server Error

watchflakes