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 failures #64302

Closed
gopherbot opened this issue Nov 21, 2023 · 2 comments
Closed

cmd/go: TestScript failures #64302

gopherbot opened this issue Nov 21, 2023 · 2 comments
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.

Comments

@gopherbot
Copy link

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"

Issue created automatically to collect these failures.

Example (log):

vcs-test.golang.org rerouted to http://127.0.0.1:49287
https://vcs-test.golang.org rerouted to https://127.0.0.1:49288
go test proxy running at GOPROXY=http://127.0.0.1:49289/mod
2023/11/20 20:50:19 http: TLS handshake error from 127.0.0.1:51188: EOF
--- FAIL: TestScript (0.59s)
    --- FAIL: TestScript/get_insecure (82.90s)
        script_test.go:132: 2023-11-21T01:20:49Z
        script_test.go:134: $WORK=/tmp/buildlet/tmp/cmd-go-test-835939658/tmpdir369956610/get_insecure960972094
        script_test.go:156: 
            > [!net:insecure.go-get-issue-15410.appspot.com] skip
            [condition not met]
            > [!git] skip
            [condition not met]
            > env PATH=$WORK/tmp/bin${:}$PATH
            > go build -o $WORK/tmp/bin/ssh ssh.go
            # Modules: Set up (0.001s)
            # Modules: Try go get -d of HTTP-only repo (should fail). (1.504s)
            # Modules: Try again with GOINSECURE (should succeed). (79.171s)
            > env GOINSECURE=insecure.go-get-issue-15410.appspot.com
            > env GONOSUMDB=insecure.go-get-issue-15410.appspot.com
            > go get -d insecure.go-get-issue-15410.appspot.com/pkg/p
            [stderr]
            go: module insecure.go-get-issue-15410.appspot.com/pkg/p: git ls-remote -q origin in /tmp/buildlet/tmp/cmd-go-test-835939658/tmpdir369956610/get_insecure960972094/m/gp/pkg/mod/cache/vcs/5527d6c2c632df80be87b204a63016b7a66699a21c1c78a2b135e8e8a0b5916b: exit status 128:
            	20:20:56.364854 http.c:678              == Info: Couldn't find host insecure.go-get-issue-15410.appspot.com in the (nil) file; using defaults
            	20:20:56.834006 http.c:678              == Info:   Trying 142.250.191.212:80...
            	20:22:11.839623 http.c:678              == Info: connect to 142.250.191.212 port 80 failed: Operation timed out
            	20:22:11.840138 http.c:678              == Info: Failed to connect to insecure.go-get-issue-15410.appspot.com port 80 after 75474 ms: Operation timed out
            	20:22:11.840160 http.c:678              == Info: Closing connection 0
            	fatal: unable to access 'http://insecure.go-get-issue-15410.appspot.com/': Failed to connect to insecure.go-get-issue-15410.appspot.com port 80 after 75474 ms: Operation timed out
        script_test.go:156: FAIL: testdata/script/get_insecure.txt:21: go get -d insecure.go-get-issue-15410.appspot.com/pkg/p: exit status 1

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 Nov 21, 2023
@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2023-11-21 00:17 darwin-amd64-longtest go@cc7b4b3c cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:49287
https://vcs-test.golang.org rerouted to https://127.0.0.1:49288
go test proxy running at GOPROXY=http://127.0.0.1:49289/mod
2023/11/20 20:50:19 http: TLS handshake error from 127.0.0.1:51188: EOF
--- FAIL: TestScript (0.59s)
    --- FAIL: TestScript/get_insecure (82.90s)
        script_test.go:132: 2023-11-21T01:20:49Z
        script_test.go:134: $WORK=/tmp/buildlet/tmp/cmd-go-test-835939658/tmpdir369956610/get_insecure960972094
        script_test.go:156: 
            > [!net:insecure.go-get-issue-15410.appspot.com] skip
            [condition not met]
            > [!git] skip
            [condition not met]
            > env PATH=$WORK/tmp/bin${:}$PATH
            > go build -o $WORK/tmp/bin/ssh ssh.go
            # Modules: Set up (0.001s)
            # Modules: Try go get -d of HTTP-only repo (should fail). (1.504s)
            # Modules: Try again with GOINSECURE (should succeed). (79.171s)
            > env GOINSECURE=insecure.go-get-issue-15410.appspot.com
            > env GONOSUMDB=insecure.go-get-issue-15410.appspot.com
            > go get -d insecure.go-get-issue-15410.appspot.com/pkg/p
            [stderr]
            go: module insecure.go-get-issue-15410.appspot.com/pkg/p: git ls-remote -q origin in /tmp/buildlet/tmp/cmd-go-test-835939658/tmpdir369956610/get_insecure960972094/m/gp/pkg/mod/cache/vcs/5527d6c2c632df80be87b204a63016b7a66699a21c1c78a2b135e8e8a0b5916b: exit status 128:
            	20:20:56.364854 http.c:678              == Info: Couldn't find host insecure.go-get-issue-15410.appspot.com in the (nil) file; using defaults
            	20:20:56.834006 http.c:678              == Info:   Trying 142.250.191.212:80...
            	20:22:11.839623 http.c:678              == Info: connect to 142.250.191.212 port 80 failed: Operation timed out
            	20:22:11.840138 http.c:678              == Info: Failed to connect to insecure.go-get-issue-15410.appspot.com port 80 after 75474 ms: Operation timed out
            	20:22:11.840160 http.c:678              == Info: Closing connection 0
            	fatal: unable to access 'http://insecure.go-get-issue-15410.appspot.com/': Failed to connect to insecure.go-get-issue-15410.appspot.com port 80 after 75474 ms: Operation timed out
        script_test.go:156: FAIL: testdata/script/get_insecure.txt:21: go get -d insecure.go-get-issue-15410.appspot.com/pkg/p: exit status 1

watchflakes

@bcmills
Copy link
Contributor

bcmills commented Nov 21, 2023

Duplicate of #55164

@bcmills bcmills marked this as a duplicate of #55164 Nov 21, 2023
@bcmills bcmills closed this as not planned Won't fix, can't repro, duplicate, stale Nov 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
None yet
Development

No branches or pull requests

2 participants