Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
gopherbot opened this issue Mar 20, 2023 · 8 comments
Open

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

gopherbot opened this issue Mar 20, 2023 · 8 comments
Labels
GoCommand cmd/go NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. Testing An issue that has been verified to require only test changes, not just a test failure.
Milestone

Comments

@gopherbot
Copy link

#!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 gopherbot added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Mar 20, 2023
@gopherbot
Copy link
Author

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
Copy link
Author

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 bcmills added this to the Backlog milestone Jun 30, 2023
@bcmills bcmills added GoCommand cmd/go Testing An issue that has been verified to require only test changes, not just a test failure. labels Jun 30, 2023
@bcmills
Copy link
Contributor

bcmills commented Jun 30, 2023

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
Copy link
Author

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
Copy link
Author

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
Copy link
Contributor

bcmills commented Feb 1, 2024

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

@gopherbot
Copy link
Author

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GoCommand cmd/go NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. Testing An issue that has been verified to require only test changes, not just a test failure.
Projects
Status: No status
Development

No branches or pull requests

2 participants