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 #65815

Closed
gopherbot opened this issue Feb 20, 2024 · 5 comments
Closed

cmd/go: TestScript failures #65815

gopherbot opened this issue Feb 20, 2024 · 5 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
Contributor

#!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:49615
https://vcs-test.golang.org rerouted to https://127.0.0.1:49616
go test proxy running at GOPROXY=http://127.0.0.1:49617/mod
2024/02/20 10:52:14 http: TLS handshake error from 127.0.0.1:51233: read tcp 127.0.0.1:49616->127.0.0.1:51233: read: connection reset by peer
--- FAIL: TestScript (0.69s)
    --- FAIL: TestScript/mod_sumdb_golang (90.23s)
        script_test.go:132: 2024-02-20T15:48:02Z
        script_test.go:134: $WORK=/tmp/buildlet/tmp/cmd-go-test-3595390788/tmpdir2535072232/mod_sumdb_golang3689484832
        script_test.go:156: 
            # Test default GOPROXY and GOSUMDB (0.608s)
...
            0.094s # cd /tmp/buildlet/tmp/cmd-go-test-3595390788/tmpdir2535072232/mod_sumdb_golang3689484832/gopath/pkg/mod/cache/vcs/5673a25ea375597bb7799aed271d658fc11bcb2aced1a8a5011c001d4c2ead3a; git cat-file blob c4d4236f92427c64bfbcf1cc3f8142ab18f30b22:go.mod
            # get https://proxy.golang.org/rsc.io/sampler/@v/v1.3.0.info: 404 testing (0.000s)
            cd /tmp/buildlet/tmp/cmd-go-test-3595390788/tmpdir2535072232/mod_sumdb_golang3689484832/gopath/pkg/mod/cache/vcs/35640be4a3d2ccf2debb48dd7a3972a84907e5170b0209b4f963f3c8d00f8cd6; git -c log.showsignature=false log --no-decorate -n1 '--format=format:%H %ct %D' 732a3c400797d8835f2af34a9561f155bef85435 --
            0.106s # cd /tmp/buildlet/tmp/cmd-go-test-3595390788/tmpdir2535072232/mod_sumdb_golang3689484832/gopath/pkg/mod/cache/vcs/35640be4a3d2ccf2debb48dd7a3972a84907e5170b0209b4f963f3c8d00f8cd6; git -c log.showsignature=false log --no-decorate -n1 '--format=format:%H %ct %D' 732a3c400797d8835f2af34a9561f155bef85435 --
            cd /tmp/buildlet/tmp/cmd-go-test-3595390788/tmpdir2535072232/mod_sumdb_golang3689484832/gopath/pkg/mod/cache/vcs/35640be4a3d2ccf2debb48dd7a3972a84907e5170b0209b4f963f3c8d00f8cd6; git cat-file blob 732a3c400797d8835f2af34a9561f155bef85435:go.mod
            0.116s # cd /tmp/buildlet/tmp/cmd-go-test-3595390788/tmpdir2535072232/mod_sumdb_golang3689484832/gopath/pkg/mod/cache/vcs/35640be4a3d2ccf2debb48dd7a3972a84907e5170b0209b4f963f3c8d00f8cd6; git cat-file blob 732a3c400797d8835f2af34a9561f155bef85435:go.mod
            cd /tmp/buildlet/tmp/cmd-go-test-3595390788/tmpdir2535072232/mod_sumdb_golang3689484832/gopath/pkg/mod/cache/vcs/35640be4a3d2ccf2debb48dd7a3972a84907e5170b0209b4f963f3c8d00f8cd6; git cat-file blob 0cc034b51e57ed7832d4c67d526f75a900996e5c:go.mod
            0.082s # cd /tmp/buildlet/tmp/cmd-go-test-3595390788/tmpdir2535072232/mod_sumdb_golang3689484832/gopath/pkg/mod/cache/vcs/35640be4a3d2ccf2debb48dd7a3972a84907e5170b0209b4f963f3c8d00f8cd6; git cat-file blob 0cc034b51e57ed7832d4c67d526f75a900996e5c:go.mod
            go: golang.org/x/text@v0.0.0-20170915032832-14c0d48ead0c: verifying go.mod: golang.org/x/text@v0.0.0-20170915032832-14c0d48ead0c/go.mod: initializing sumdb.Client: checking tree#22947223: Get "https://sum.golang.org/tile/8/3/000.p/1": read tcp 192.168.64.102:50136->142.251.32.17:443: read: connection reset by peer
        script_test.go:156: FAIL: testdata/script/mod_sumdb_golang.txt:71: go list -mod=mod -x -m all: 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 Feb 20, 2024
@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-02-20 14:56 darwin-amd64-longtest go@0a046418 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:49615
https://vcs-test.golang.org rerouted to https://127.0.0.1:49616
go test proxy running at GOPROXY=http://127.0.0.1:49617/mod
2024/02/20 10:52:14 http: TLS handshake error from 127.0.0.1:51233: read tcp 127.0.0.1:49616->127.0.0.1:51233: read: connection reset by peer
--- FAIL: TestScript (0.69s)
    --- FAIL: TestScript/mod_sumdb_golang (90.23s)
        script_test.go:132: 2024-02-20T15:48:02Z
        script_test.go:134: $WORK=/tmp/buildlet/tmp/cmd-go-test-3595390788/tmpdir2535072232/mod_sumdb_golang3689484832
        script_test.go:156: 
            # Test default GOPROXY and GOSUMDB (0.608s)
...
            0.094s # cd /tmp/buildlet/tmp/cmd-go-test-3595390788/tmpdir2535072232/mod_sumdb_golang3689484832/gopath/pkg/mod/cache/vcs/5673a25ea375597bb7799aed271d658fc11bcb2aced1a8a5011c001d4c2ead3a; git cat-file blob c4d4236f92427c64bfbcf1cc3f8142ab18f30b22:go.mod
            # get https://proxy.golang.org/rsc.io/sampler/@v/v1.3.0.info: 404 testing (0.000s)
            cd /tmp/buildlet/tmp/cmd-go-test-3595390788/tmpdir2535072232/mod_sumdb_golang3689484832/gopath/pkg/mod/cache/vcs/35640be4a3d2ccf2debb48dd7a3972a84907e5170b0209b4f963f3c8d00f8cd6; git -c log.showsignature=false log --no-decorate -n1 '--format=format:%H %ct %D' 732a3c400797d8835f2af34a9561f155bef85435 --
            0.106s # cd /tmp/buildlet/tmp/cmd-go-test-3595390788/tmpdir2535072232/mod_sumdb_golang3689484832/gopath/pkg/mod/cache/vcs/35640be4a3d2ccf2debb48dd7a3972a84907e5170b0209b4f963f3c8d00f8cd6; git -c log.showsignature=false log --no-decorate -n1 '--format=format:%H %ct %D' 732a3c400797d8835f2af34a9561f155bef85435 --
            cd /tmp/buildlet/tmp/cmd-go-test-3595390788/tmpdir2535072232/mod_sumdb_golang3689484832/gopath/pkg/mod/cache/vcs/35640be4a3d2ccf2debb48dd7a3972a84907e5170b0209b4f963f3c8d00f8cd6; git cat-file blob 732a3c400797d8835f2af34a9561f155bef85435:go.mod
            0.116s # cd /tmp/buildlet/tmp/cmd-go-test-3595390788/tmpdir2535072232/mod_sumdb_golang3689484832/gopath/pkg/mod/cache/vcs/35640be4a3d2ccf2debb48dd7a3972a84907e5170b0209b4f963f3c8d00f8cd6; git cat-file blob 732a3c400797d8835f2af34a9561f155bef85435:go.mod
            cd /tmp/buildlet/tmp/cmd-go-test-3595390788/tmpdir2535072232/mod_sumdb_golang3689484832/gopath/pkg/mod/cache/vcs/35640be4a3d2ccf2debb48dd7a3972a84907e5170b0209b4f963f3c8d00f8cd6; git cat-file blob 0cc034b51e57ed7832d4c67d526f75a900996e5c:go.mod
            0.082s # cd /tmp/buildlet/tmp/cmd-go-test-3595390788/tmpdir2535072232/mod_sumdb_golang3689484832/gopath/pkg/mod/cache/vcs/35640be4a3d2ccf2debb48dd7a3972a84907e5170b0209b4f963f3c8d00f8cd6; git cat-file blob 0cc034b51e57ed7832d4c67d526f75a900996e5c:go.mod
            go: golang.org/x/text@v0.0.0-20170915032832-14c0d48ead0c: verifying go.mod: golang.org/x/text@v0.0.0-20170915032832-14c0d48ead0c/go.mod: initializing sumdb.Client: checking tree#22947223: Get "https://sum.golang.org/tile/8/3/000.p/1": read tcp 192.168.64.102:50136->142.251.32.17:443: read: connection reset by peer
        script_test.go:156: FAIL: testdata/script/mod_sumdb_golang.txt:71: go list -mod=mod -x -m all: exit status 1

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-02-23 21:21 darwin-amd64-longtest go@b899e0b8 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:52695
https://vcs-test.golang.org rerouted to https://127.0.0.1:52696
go test proxy running at GOPROXY=http://127.0.0.1:52697/mod
--- FAIL: TestScript (0.60s)
    --- FAIL: TestScript/mod_get_pseudo (115.65s)
        script_test.go:132: 2024-02-23T22:35:45Z
        script_test.go:134: $WORK=/tmp/buildlet/tmp/cmd-go-test-578563480/tmpdir2826331690/mod_get_pseudo882116030
        script_test.go:156: 
            > env GO111MODULE=on
            # Testing git->module converter's generation of +incompatible tags; turn off proxy. (0.000s)
...
    --- FAIL: TestScript/mod_invalid_version (165.99s)
        script_test.go:132: 2024-02-23T22:35:05Z
        script_test.go:134: $WORK=/tmp/buildlet/tmp/cmd-go-test-578563480/tmpdir2826331690/mod_invalid_version1891801437
        script_test.go:156: 
            > [!net:golang.org] skip
            [condition not met]
            > [!git] skip
            [condition not met]
            > env GO111MODULE=on
            > env GOPROXY=direct
...
            	fatal: unable to access 'https://github.com/pierrec/lz4/': Failed to connect to github.com port 443 after 75082 ms: Operation timed out
            go: example.com@v0.0.0 requires
            	github.com/pierrec/lz4@v2.0.4-0.20180826165652-dbe9298ce099+incompatible: invalid pseudo-version: git ls-remote -q origin in /tmp/buildlet/tmp/cmd-go-test-578563480/tmpdir2826331690/mod_invalid_version1891801437/gopath/pkg/mod/cache/vcs/036595127a116abca3f2bfd7bedafedb33d890c2b102d96361815966679432e7: exit status 128:
            	17:36:34.157864 http.c:678              == Info: Couldn't find host github.com in the (nil) file; using defaults
            	17:36:34.234180 http.c:678              == Info:   Trying 140.82.112.3:443...
            	17:37:49.240058 http.c:678              == Info: connect to 140.82.112.3 port 443 failed: Operation timed out
            	17:37:49.241441 http.c:678              == Info: Failed to connect to github.com port 443 after 75082 ms: Operation timed out
            	17:37:49.241464 http.c:678              == Info: Closing connection 0
            	fatal: unable to access 'https://github.com/pierrec/lz4/': Failed to connect to github.com port 443 after 75082 ms: Operation timed out
        script_test.go:156: FAIL: testdata/script/mod_invalid_version.txt:209: go list -m github.com/pierrec/lz4: exit status 1
2024-02-23 23:50 darwin-amd64-longtest go@e8038578 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:65515
https://vcs-test.golang.org rerouted to https://127.0.0.1:65516
go test proxy running at GOPROXY=http://127.0.0.1:65517/mod
--- FAIL: TestScript (0.73s)
    --- FAIL: TestScript/govcs (11.05s)
        script_test.go:132: 2024-02-24T01:09:45Z
        script_test.go:134: $WORK=/tmp/buildlet/tmp/cmd-go-test-3783764776/tmpdir841420385/govcs2897214284
        script_test.go:156: 
            > env GO111MODULE=on
            > env proxy=$GOPROXY
...
            > [net:rsc.io] [git] [!short] go get rsc.io/sampler
            [stderr]
            go: module rsc.io/sampler: git ls-remote -q origin in /tmp/buildlet/tmp/cmd-go-test-3783764776/tmpdir841420385/govcs2897214284/gopath/pkg/mod/cache/vcs/35640be4a3d2ccf2debb48dd7a3972a84907e5170b0209b4f963f3c8d00f8cd6: exit status 128:
            	20:09:48.310173 http.c:678              == Info: Couldn't find host github.com in the (nil) file; using defaults
            	20:09:48.484316 http.c:678              == Info:   Trying 140.82.112.4:443...
            	20:09:56.283822 http.c:678              == Info: connect to 140.82.112.4 port 443 failed: Operation timed out
            	20:09:56.284124 http.c:678              == Info: Failed to connect to github.com port 443 after 7974 ms: Operation timed out
            	20:09:56.284142 http.c:678              == Info: Closing connection 0
            	fatal: unable to access 'https://github.com/rsc/sampler/': Failed to connect to github.com port 443 after 7974 ms: Operation timed out
        script_test.go:156: FAIL: testdata/script/govcs.txt:70: go get rsc.io/sampler: exit status 1
2024-02-24 00:04 darwin-amd64-longtest go@ef84d62c cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:50160
https://vcs-test.golang.org rerouted to https://127.0.0.1:50161
go test proxy running at GOPROXY=http://127.0.0.1:50162/mod
--- FAIL: TestScript (0.71s)
    --- FAIL: TestScript/mod_sumdb_golang (133.08s)
        script_test.go:132: 2024-02-24T01:11:36Z
        script_test.go:134: $WORK=/tmp/buildlet/tmp/cmd-go-test-2616618027/tmpdir2886380711/mod_sumdb_golang2438007415
        script_test.go:156: 
            # Test default GOPROXY and GOSUMDB (0.408s)
            # Download direct from github. (41.959s)
...
            	20:13:47.498977 http.c:678              == Info: Closing connection 0
            	fatal: unable to access 'https://github.com/rsc/sampler/': Failed to connect to github.com port 443 after 75200 ms: Operation timed out
            go: rsc.io/sampler@v1.3.0: reading rsc.io/sampler/go.mod at revision v1.3.0: git ls-remote -q origin in /tmp/buildlet/tmp/cmd-go-test-2616618027/tmpdir2886380711/mod_sumdb_golang2438007415/gopath/pkg/mod/cache/vcs/35640be4a3d2ccf2debb48dd7a3972a84907e5170b0209b4f963f3c8d00f8cd6: exit status 128:
            	20:12:32.298328 http.c:678              == Info: Couldn't find host github.com in the (nil) file; using defaults
            	20:12:32.495679 http.c:678              == Info:   Trying 140.82.112.3:443...
            	20:13:47.498736 http.c:678              == Info: connect to 140.82.112.3 port 443 failed: Operation timed out
            	20:13:47.498961 http.c:678              == Info: Failed to connect to github.com port 443 after 75200 ms: Operation timed out
            	20:13:47.498977 http.c:678              == Info: Closing connection 0
            	fatal: unable to access 'https://github.com/rsc/sampler/': Failed to connect to github.com port 443 after 75200 ms: Operation timed out
        script_test.go:156: FAIL: testdata/script/mod_sumdb_golang.txt:71: go list -mod=mod -x -m all: exit status 1

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2024-02-26 16:36 netbsd-386-9_3 go@7b583fd1 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:54041
https://vcs-test.golang.org rerouted to https://127.0.0.1:54040
go test proxy running at GOPROXY=http://127.0.0.1:54039/mod
2024/02/26 16:54:35 http: TLS handshake error from 127.0.0.1:53296: EOF
2024/02/26 16:54:35 http: TLS handshake error from 127.0.0.1:53295: EOF
2024/02/26 16:54:35 http: TLS handshake error from 127.0.0.1:53297: read tcp 127.0.0.1:54040->127.0.0.1:53297: read: connection reset by peer
--- FAIL: TestScript (0.05s)
    --- FAIL: TestScript/test_chatty_parallel_fail (0.08s)
        script_test.go:132: 2024-02-26T16:54:41Z
        script_test.go:134: $WORK=/tmp/workdir/tmp/cmd-go-test-376508427/tmpdir2877612341/test_chatty_parallel_fail1014977861
        script_test.go:156: 
            # Run parallel chatty tests.
            # Check that multiple parallel outputs continue running. (0.075s)
            > ! go test -parallel 3 chatty_parallel_test.go -v
            [stderr]
            assertion "key >= 0 && key < pthread_keys_max" failed: file "/usr/src/lib/libpthread/pthread_tsd.c", line 174, function "pthread__add_specific"
            [exit status 1]
            > stdout -count=1 '^=== CONT  TestChattyParallel/sub-0'
        script_test.go:156: FAIL: testdata/script/test_chatty_parallel_fail.txt:5: stdout -count=1 '^=== CONT  TestChattyParallel/sub-0': found 0 matches for `(?m)^=== CONT  TestChattyParallel/sub-0` in stdout

watchflakes

@bcmills
Copy link
Contributor

bcmills commented Feb 29, 2024

Looks like a bad network stack on the darwin-amd64-longtest builder. Not sure what the assertion failure on netbsd is, but it seems off-topic.

@bcmills
Copy link
Contributor

bcmills commented Feb 29, 2024

Duplicate of #55164

@bcmills bcmills marked this as a duplicate of #55164 Feb 29, 2024
@bcmills bcmills closed this as not planned Won't fix, can't repro, duplicate, stale Mar 14, 2024
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