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: TestScript/get_insecure_env failure due to 503 from appspot server #54608

Open
bcmills opened this issue Aug 22, 2022 · 3 comments
Open
Labels
GoCommand cmd/go NeedsFix The path to resolution is known, but the work has not been done. Testing An issue that has been verified to require only test changes, not just a test failure.
Milestone

Comments

@bcmills
Copy link
Contributor

bcmills commented Aug 22, 2022

#!watchflakes
post <- pkg ~ `^cmd/go` && `(appspot.com|rsc.io).*: 503`

https://build.golang.org/log/730ebecd883624c6969c8bc33d3c34c705ce508a:

go test proxy running at GOPROXY=http://127.0.0.1:37473/mod
--- FAIL: TestScript (0.01s)
    --- FAIL: TestScript/get_insecure_env (2.19s)
        script_test.go:282: 
            # (2022-08-22T19:30:35Z)
            # GOPATH: Set up (0.000s)
            # GOPATH: Try go get -d of HTTP-only repo (should fail). (0.084s)
            # GOPATH: Try again with invalid GOINSECURE (should fail). (0.052s)
            # GOPATH: Try with correct GOINSECURE (should succeed). (2.050s)
            > env GOINSECURE=insecure.go-get-issue-15410.appspot.com/pkg/p
            > go get -d insecure.go-get-issue-15410.appspot.com/pkg/p
            [stderr]
            package insecure.go-get-issue-15410.appspot.com/pkg/p: unrecognized import path "insecure.go-get-issue-15410.appspot.com/pkg/p": reading https://insecure.go-get-issue-15410.appspot.com/pkg?go-get=1: 503 Service Unavailable
            [exit status 1]
            FAIL: testdata/script/get_insecure_env.txt:16: unexpected command failure
            
FAIL
FAIL	cmd/go	731.739s

While I'm shoving stuff into the local test server for #27494, may as well do this test too. 😅

@bcmills bcmills self-assigned this Aug 22, 2022
@bcmills bcmills added Testing An issue that has been verified to require only test changes, not just a test failure. NeedsFix The path to resolution is known, but the work has not been done. GoCommand cmd/go labels Aug 22, 2022
@bcmills bcmills added this to the Go1.20 milestone Aug 22, 2022
@gopherbot
Copy link

Found new dashboard test flakes for:

#!watchflakes
post <- pkg ~ `^cmd/go` && `appspot.com.*: 503`
2022-08-22 18:57 linux-386-longtest go@a74e5f58 cmd/go.TestScript (log)
go test proxy running at GOPROXY=http://127.0.0.1:37473/mod
--- FAIL: TestScript (0.01s)
    --- FAIL: TestScript/get_insecure_env (2.19s)
        script_test.go:282: 
            # (2022-08-22T19:30:35Z)
            # GOPATH: Set up (0.000s)
            # GOPATH: Try go get -d of HTTP-only repo (should fail). (0.084s)
            # GOPATH: Try again with invalid GOINSECURE (should fail). (0.052s)
            # GOPATH: Try with correct GOINSECURE (should succeed). (2.050s)
            > env GOINSECURE=insecure.go-get-issue-15410.appspot.com/pkg/p
            > go get -d insecure.go-get-issue-15410.appspot.com/pkg/p
            [stderr]
            package insecure.go-get-issue-15410.appspot.com/pkg/p: unrecognized import path "insecure.go-get-issue-15410.appspot.com/pkg/p": reading https://insecure.go-get-issue-15410.appspot.com/pkg?go-get=1: 503 Service Unavailable
            [exit status 1]
            FAIL: testdata/script/get_insecure_env.txt:16: unexpected command failure

watchflakes

@rsc
Copy link
Contributor

rsc commented Oct 4, 2022

Added rsc.io to the regexp since it too is running on appspot.com.

@gopherbot
Copy link

Found new dashboard test flakes for:

#!watchflakes
post <- pkg ~ `^cmd/go` && `(appspot.com|rsc.io).*: 503`
2022-09-29 09:05 linux-amd64-longtest go@ea2a2c0c cmd/go.TestIssue11457 (log)
go test proxy running at GOPROXY=http://127.0.0.1:37887/mod
--- FAIL: TestIssue11457 (2.14s)
    go_test.go:1010: running testgo [get -d -u rsc.io/go-get-issue-11457]
    go_test.go:1010: standard error:
    go_test.go:1010: package rsc.io/go-get-issue-11457: unrecognized import path "rsc.io/go-get-issue-11457": reading https://rsc.io/go-get-issue-11457?go-get=1: 503 Service Unavailable

    go_test.go:1010: go [get -d -u rsc.io/go-get-issue-11457] failed unexpectedly in /workdir/go/src/cmd/go: exit status 1

watchflakes

@bcmills bcmills modified the milestones: Go1.20, Go1.21 Dec 12, 2022
@gopherbot gopherbot modified the milestones: Go1.21, Go1.22 Aug 8, 2023
@bcmills bcmills modified the milestones: Go1.22, Backlog Feb 1, 2024
@bcmills bcmills removed their assignment Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GoCommand cmd/go NeedsFix The path to resolution is known, but the work has not been done. Testing An issue that has been verified to require only test changes, not just a test failure.
Projects
Status: Active
Development

No branches or pull requests

3 participants