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

Closed
gopherbot opened this issue Nov 8, 2023 · 3 comments
Closed

cmd/go: TestScript failures #64009

gopherbot opened this issue Nov 8, 2023 · 3 comments
Labels
FrozenDueToAge 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:43029
https://vcs-test.golang.org rerouted to https://127.0.0.1:34699
go test proxy running at GOPROXY=http://127.0.0.1:44193/mod
2023/10/05 09:00:46 http: TLS handshake error from 127.0.0.1:60490: read tcp 127.0.0.1:34699->127.0.0.1:60490: read: connection reset by peer
2023/10/05 09:00:46 http: TLS handshake error from 127.0.0.1:60506: EOF
2023/10/05 09:00:53 http: TLS handshake error from 127.0.0.1:55872: EOF
2023/10/05 09:00:53 http: TLS handshake error from 127.0.0.1:55866: EOF
2023/10/05 09:00:53 http: TLS handshake error from 127.0.0.1:55886: EOF
2023/10/05 09:00:53 http: TLS handshake error from 127.0.0.1:55920: EOF
--- FAIL: TestScript (0.06s)
    --- FAIL: TestScript/cover_statements (2.42s)
        script_test.go:132: 2023-10-05T09:02:26Z
        script_test.go:134: $WORK=/workdir/tmp/cmd-go-test-1922464838/tmpdir1252880670/cover_statements2287602560
        script_test.go:156: 
            > [short] skip
            [condition not met]
            # Initial run with simple coverage. (1.058s)
            # Second run to make sure that caching works properly. (1.365s)
            > go test -x -cover ./pkg1 ./pkg2 ./pkg3 ./pkg4
            [stdout]
...
            matched: 	m/pkg1		coverage: 0.0% of statements
            > stdout 'pkg2	\S+	coverage: 0.0% of statements \[no tests to run\]'
            matched: ok  	m/pkg2	0.088s	coverage: 0.0% of statements [no tests to run]
            > stdout 'pkg3	\S+	coverage: 100.0% of statements'
            matched: ok  	m/pkg3	(cached)	coverage: 100.0% of statements
            > stdout 'pkg4	\S+	coverage: \[no statements\]'
            matched: ok  	m/pkg4	(cached)	coverage: [no statements]
            > [GOEXPERIMENT:coverageredesign] ! stderr 'link(\.exe"?)? -'
            matched: /workdir/go/pkg/tool/linux_386/link -o $WORK/b047/pkg2.test -importcfg $WORK/b047/importcfg.link -s -w -X=runtime.godebugDefault=httplaxcontentlength=1,httpmuxgo121=1,panicnil=1 -buildmode=exe -buildid=1BWKmgEnCU21Oj1f0gkA/HK804ap0zd0idPSRTcj5/F8AskLlmrL-dE7grkc-4/1BWKmgEnCU21Oj1f0gkA -X testing.testBinary=1 -extld=gcc /workdir/gocache/5f/5fb80e32ad043755b99726a94820c897b70ac988c144532873ee891e84691075-d
        script_test.go:156: FAIL: testdata/script/cover_statements.txt:18: stderr 'link(\.exe"?)? -': unexpected success

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 8, 2023
@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2023-10-05 08:26 linux-386-longtest go@bc150700 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:43029
https://vcs-test.golang.org rerouted to https://127.0.0.1:34699
go test proxy running at GOPROXY=http://127.0.0.1:44193/mod
2023/10/05 09:00:46 http: TLS handshake error from 127.0.0.1:60490: read tcp 127.0.0.1:34699->127.0.0.1:60490: read: connection reset by peer
2023/10/05 09:00:46 http: TLS handshake error from 127.0.0.1:60506: EOF
2023/10/05 09:00:53 http: TLS handshake error from 127.0.0.1:55872: EOF
2023/10/05 09:00:53 http: TLS handshake error from 127.0.0.1:55866: EOF
2023/10/05 09:00:53 http: TLS handshake error from 127.0.0.1:55886: EOF
2023/10/05 09:00:53 http: TLS handshake error from 127.0.0.1:55920: EOF
--- FAIL: TestScript (0.06s)
    --- FAIL: TestScript/cover_statements (2.42s)
        script_test.go:132: 2023-10-05T09:02:26Z
        script_test.go:134: $WORK=/workdir/tmp/cmd-go-test-1922464838/tmpdir1252880670/cover_statements2287602560
        script_test.go:156: 
            > [short] skip
            [condition not met]
            # Initial run with simple coverage. (1.058s)
            # Second run to make sure that caching works properly. (1.365s)
            > go test -x -cover ./pkg1 ./pkg2 ./pkg3 ./pkg4
            [stdout]
...
            matched: 	m/pkg1		coverage: 0.0% of statements
            > stdout 'pkg2	\S+	coverage: 0.0% of statements \[no tests to run\]'
            matched: ok  	m/pkg2	0.088s	coverage: 0.0% of statements [no tests to run]
            > stdout 'pkg3	\S+	coverage: 100.0% of statements'
            matched: ok  	m/pkg3	(cached)	coverage: 100.0% of statements
            > stdout 'pkg4	\S+	coverage: \[no statements\]'
            matched: ok  	m/pkg4	(cached)	coverage: [no statements]
            > [GOEXPERIMENT:coverageredesign] ! stderr 'link(\.exe"?)? -'
            matched: /workdir/go/pkg/tool/linux_386/link -o $WORK/b047/pkg2.test -importcfg $WORK/b047/importcfg.link -s -w -X=runtime.godebugDefault=httplaxcontentlength=1,httpmuxgo121=1,panicnil=1 -buildmode=exe -buildid=1BWKmgEnCU21Oj1f0gkA/HK804ap0zd0idPSRTcj5/F8AskLlmrL-dE7grkc-4/1BWKmgEnCU21Oj1f0gkA -X testing.testBinary=1 -extld=gcc /workdir/gocache/5f/5fb80e32ad043755b99726a94820c897b70ac988c144532873ee891e84691075-d
        script_test.go:156: FAIL: testdata/script/cover_statements.txt:18: stderr 'link(\.exe"?)? -': unexpected success
2023-10-09 22:05 linux-amd64-longtest go@8f61fab6 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:38465
https://vcs-test.golang.org rerouted to https://127.0.0.1:35057
go test proxy running at GOPROXY=http://127.0.0.1:46193/mod
2023/10/09 22:40:58 http: TLS handshake error from 127.0.0.1:34474: EOF
--- FAIL: TestScript (0.07s)
    --- FAIL: TestScript/mod_sumdb_golang (80.32s)
        script_test.go:132: 2023-10-09T22:40:01Z
        script_test.go:134: $WORK=/workdir/tmp/cmd-go-test-1346709016/tmpdir1346512070/mod_sumdb_golang2533510841
        script_test.go:156: 
            # Test default GOPROXY and GOSUMDB (0.219s)
...
            +++ saved.sum
            @@ -1,5 +1,6 @@
             golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c h1:qgOY6WgZOaTkIIMiVjBQcw93ERBE4m30iBm00nkL0i8=
             golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
            +golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE=
             rsc.io/quote v1.5.2 h1:w5fcysjrx7yqtD/aO+QwRjYZOKnaM9Uh2b40tElTs3Y=
             rsc.io/quote v1.5.2/go.mod h1:LzX7hefJvL54yjefDEDHNONDjII0t9xZLPXsUe+TKr0=
             rsc.io/sampler v1.3.0 h1:7uVkIFmeBqHfdjD+gZwtXXI+RODJ2Wc4O7MPEh/QiW4=

        script_test.go:156: FAIL: testdata/script/mod_sumdb_golang.txt:62: cmp go.sum saved.sum: go.sum and saved.sum differ
2023-10-09 22:19 linux-386-longtest go@fce6be15 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:36317
https://vcs-test.golang.org rerouted to https://127.0.0.1:44941
go test proxy running at GOPROXY=http://127.0.0.1:37555/mod
2023/10/09 22:55:02 http: TLS handshake error from 127.0.0.1:43484: EOF
2023/10/09 22:55:15 http: TLS handshake error from 127.0.0.1:52446: EOF
2023/10/09 22:55:15 http: TLS handshake error from 127.0.0.1:52466: EOF
2023/10/09 22:55:15 http: TLS handshake error from 127.0.0.1:52436: EOF
2023/10/09 22:55:22 http: TLS handshake error from 127.0.0.1:53842: EOF
2023/10/09 22:55:22 http: TLS handshake error from 127.0.0.1:53870: EOF
--- FAIL: TestScript (0.06s)
    --- FAIL: TestScript/cover_statements (2.96s)
        script_test.go:132: 2023-10-09T22:55:25Z
        script_test.go:134: $WORK=/workdir/tmp/cmd-go-test-3216620379/tmpdir2544150257/cover_statements3804014372
        script_test.go:156: 
            > [short] skip
            [condition not met]
            # Initial run with simple coverage. (1.332s)
            # Second run to make sure that caching works properly. (1.626s)
            > go test -x -cover ./pkg1 ./pkg2 ./pkg3 ./pkg4
            [stdout]
...
            matched: 	m/pkg1		coverage: 0.0% of statements
            > stdout 'pkg2	\S+	coverage: 0.0% of statements \[no tests to run\]'
            matched: ok  	m/pkg2	0.045s	coverage: 0.0% of statements [no tests to run]
            > stdout 'pkg3	\S+	coverage: 100.0% of statements'
            matched: ok  	m/pkg3	0.050s	coverage: 100.0% of statements
            > stdout 'pkg4	\S+	coverage: \[no statements\]'
            matched: ok  	m/pkg4	0.037s	coverage: [no statements]
            > [GOEXPERIMENT:coverageredesign] ! stderr 'link(\.exe"?)? -'
            matched: /workdir/go/pkg/tool/linux_386/link -o $WORK/b111/pkg4.test -importcfg $WORK/b111/importcfg.link -s -w -X=runtime.godebugDefault=httplaxcontentlength=1,httpmuxgo121=1,panicnil=1 -buildmode=exe -buildid=9sAcyRu-0VjcdqhJTlF4/KLVevTW2FkQuntybWQqt/kuvCZ3hsHKk1RChBCP2p/9sAcyRu-0VjcdqhJTlF4 -X testing.testBinary=1 -extld=gcc /workdir/gocache/19/19456b09302ba04e152607bf26113f5e47bee5a300263fc4eef749dcb7af1cc1-d
        script_test.go:156: FAIL: testdata/script/cover_statements.txt:18: stderr 'link(\.exe"?)? -': unexpected success
2023-10-13 16:12 linux-amd64-longtest-race go@f9a31cda cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:40079
https://vcs-test.golang.org rerouted to https://127.0.0.1:37997
go test proxy running at GOPROXY=http://127.0.0.1:36003/mod
2023/10/13 17:17:51 http: TLS handshake error from 127.0.0.1:49370: EOF
2023/10/13 17:19:33 http: TLS handshake error from 127.0.0.1:32788: read tcp 127.0.0.1:37997->127.0.0.1:32788: read: connection reset by peer
2023/10/13 17:19:33 http: TLS handshake error from 127.0.0.1:32786: read tcp 127.0.0.1:37997->127.0.0.1:32786: read: connection reset by peer
2023/10/13 17:19:33 http: TLS handshake error from 127.0.0.1:32772: read tcp 127.0.0.1:37997->127.0.0.1:32772: read: connection reset by peer
2023/10/13 17:20:16 http: TLS handshake error from 127.0.0.1:42650: EOF
2023/10/13 17:20:16 http: TLS handshake error from 127.0.0.1:42654: EOF
2023/10/13 17:20:16 http: TLS handshake error from 127.0.0.1:42632: EOF
--- FAIL: TestScript (1.15s)
    --- FAIL: TestScript/mod_prefer_compatible (5.89s)
        script_test.go:132: 2023-10-13T17:17:31Z
        script_test.go:134: $WORK=/workdir/tmp/cmd-go-test-2620248176/tmpdir3537533987/mod_prefer_compatible1705255493
        script_test.go:156: 
            # Regression test for golang.org/issue/34189 and golang.org/issue/34165:
            # @latest, @upgrade, and @patch should prefer compatible versions over
            # +incompatible ones, even if offered by a proxy. (0.000s)
            # github.com/russross/blackfriday v2.0.0+incompatible exists,
            # and should be resolved if we ask for it explicitly. (1.640s)
...
            	17:17:36.505948 http.c:715              => Send header: accept-encoding: deflate, gzip, br
            	17:17:36.505950 http.c:715              => Send header: pragma: no-cache
            	17:17:36.505953 http.c:715              => Send header: git-protocol: version=2
            	17:17:36.505954 http.c:715              => Send header:
            	17:17:36.616150 http.c:756              == Info: Connection state changed (MAX_CONCURRENT_STREAMS == 100)!
            	17:17:36.616286 http.c:756              == Info: Empty reply from server
            	�A
            	17:17:36.616331 http.c:756              == Info: Closing connection 0
            	fatal: unable to access 'https://github.com/russross/blackfriday/': Empty reply from server
        script_test.go:156: FAIL: testdata/script/mod_prefer_compatible.txt:42: go list -versions -m github.com/russross/blackfriday: exit status 1
2023-10-13 17:10 linux-386-longtest go@6dd7462a cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:41411
https://vcs-test.golang.org rerouted to https://127.0.0.1:41309
go test proxy running at GOPROXY=http://127.0.0.1:44361/mod
2023/10/13 17:46:02 http: TLS handshake error from 127.0.0.1:58602: EOF
2023/10/13 17:46:02 http: TLS handshake error from 127.0.0.1:58610: EOF
2023/10/13 17:46:02 http: TLS handshake error from 127.0.0.1:58586: EOF
2023/10/13 17:46:02 http: TLS handshake error from 127.0.0.1:58652: EOF
2023/10/13 17:46:02 http: TLS handshake error from 127.0.0.1:58648: EOF
--- FAIL: TestScript (0.06s)
    --- FAIL: TestScript/mod_invalid_version (46.38s)
...
            	17:46:32.910392 http.c:715              => Send header: git-protocol: version=2
            	17:46:32.910411 http.c:715              => Send header:
            	17:46:33.020344 http.c:756              == Info: Connection state changed (MAX_CONCURRENT_STREAMS == 100)!
            	17:46:33.020537 http.c:756              == Info: Empty reply from server
            	�A
            	17:46:33.020579 http.c:756              == Info: Closing connection 0
            	fatal: unable to access 'https://github.com/pierrec/lz4/': Empty reply from server
            [exit status 1]
            > stderr '^go: github.com/pierrec/lz4@v2.0.9-0.20190209155647-9a39efadad3d\+incompatible: invalid version: module contains a go.mod file, so module path must match major version \("github.com/pierrec/lz4/v2"\)$'
        script_test.go:156: FAIL: testdata/script/mod_invalid_version.txt:202: stderr '^go: github.com/pierrec/lz4@v2.0.9-0.20190209155647-9a39efadad3d\+incompatible: invalid version: module contains a go.mod file, so module path must match major version \("github.com/pierrec/lz4/v2"\)$': no match for `(?m)^go: github.com/pierrec/lz4@v2.0.9-0.20190209155647-9a39efadad3d\+incompatible: invalid version: module contains a go.mod file, so module path must match major version \("github.com/pierrec/lz4/v2"\)$` in stderr
2023-10-17 20:36 linux-386-longtest go@ab2e3ce7 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:45051
https://vcs-test.golang.org rerouted to https://127.0.0.1:37757
go test proxy running at GOPROXY=http://127.0.0.1:33421/mod
2023/10/17 21:16:35 http: TLS handshake error from 127.0.0.1:36702: EOF
2023/10/17 21:16:39 http: TLS handshake error from 127.0.0.1:58982: EOF
2023/10/17 21:16:39 http: TLS handshake error from 127.0.0.1:58980: EOF
2023/10/17 21:16:39 http: TLS handshake error from 127.0.0.1:58998: EOF
2023/10/17 21:16:39 http: TLS handshake error from 127.0.0.1:59046: EOF
--- FAIL: TestScript (0.06s)
    --- FAIL: TestScript/cover_statements (3.54s)
...
            matched: 	m/pkg1		coverage: 0.0% of statements
            > stdout 'pkg2	\S+	coverage: 0.0% of statements \[no tests to run\]'
            matched: ok  	m/pkg2	0.086s	coverage: 0.0% of statements [no tests to run]
            > stdout 'pkg3	\S+	coverage: 100.0% of statements'
            matched: ok  	m/pkg3	0.096s	coverage: 100.0% of statements
            > stdout 'pkg4	\S+	coverage: \[no statements\]'
            matched: ok  	m/pkg4	0.042s	coverage: [no statements]
            > [GOEXPERIMENT:coverageredesign] ! stderr 'link(\.exe"?)? -'
            matched: /workdir/go/pkg/tool/linux_386/link -o $WORK/b111/pkg4.test -importcfg $WORK/b111/importcfg.link -s -w -X=runtime.godebugDefault=httplaxcontentlength=1,httpmuxgo121=1,panicnil=1 -buildmode=exe -buildid=EpcY1XiVD61fvmnVShz6/9xlma-sJROW0Gq1MtEe7/jT4eoGU4jMZOpOJ8EGb5/EpcY1XiVD61fvmnVShz6 -X testing.testBinary=1 -extld=gcc /workdir/gocache/77/7754c4b42e8b5b7e90f7ecb95ef0b9ee857ddd241b63a4dcc5e5630936c7fb25-d
        script_test.go:156: FAIL: testdata/script/cover_statements.txt:18: stderr 'link(\.exe"?)? -': unexpected success
2023-10-18 14:06 linux-386-longtest go@7ee99801 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:45635
https://vcs-test.golang.org rerouted to https://127.0.0.1:36365
go test proxy running at GOPROXY=http://127.0.0.1:39823/mod
2023/10/18 14:43:06 http: TLS handshake error from 127.0.0.1:49254: read tcp 127.0.0.1:36365->127.0.0.1:49254: read: connection reset by peer
2023/10/18 14:43:14 http: TLS handshake error from 127.0.0.1:41224: EOF
2023/10/18 14:43:20 http: TLS handshake error from 127.0.0.1:41366: EOF
2023/10/18 14:43:20 http: TLS handshake error from 127.0.0.1:41374: EOF
2023/10/18 14:43:20 http: TLS handshake error from 127.0.0.1:41350: EOF
2023/10/18 14:43:20 http: TLS handshake error from 127.0.0.1:41442: read tcp 127.0.0.1:36365->127.0.0.1:41442: read: connection reset by peer
2023/10/18 14:43:20 http: TLS handshake error from 127.0.0.1:41380: read tcp 127.0.0.1:36365->127.0.0.1:41380: read: connection reset by peer
...
--- FAIL: TestScript (0.06s)
    --- FAIL: TestScript/cover_statements (4.13s)
        script_test.go:132: 2023-10-18T14:43:52Z
        script_test.go:134: $WORK=/workdir/tmp/cmd-go-test-2505932493/tmpdir3741079956/cover_statements3099111569
        script_test.go:156: 
            > [short] skip
            [condition not met]
            # Initial run with simple coverage. (2.023s)
            # Second run to make sure that caching works properly. (2.100s)
            > go test -x -cover ./pkg1 ./pkg2 ./pkg3 ./pkg4
...
            matched: 	m/pkg1		coverage: 0.0% of statements
            > stdout 'pkg2	\S+	coverage: 0.0% of statements \[no tests to run\]'
            matched: ok  	m/pkg2	0.043s	coverage: 0.0% of statements [no tests to run]
            > stdout 'pkg3	\S+	coverage: 100.0% of statements'
            matched: ok  	m/pkg3	(cached)	coverage: 100.0% of statements
            > stdout 'pkg4	\S+	coverage: \[no statements\]'
            matched: ok  	m/pkg4	(cached)	coverage: [no statements]
            > [GOEXPERIMENT:coverageredesign] ! stderr 'link(\.exe"?)? -'
            matched: /workdir/go/pkg/tool/linux_386/link -o $WORK/b047/pkg2.test -importcfg $WORK/b047/importcfg.link -s -w -X=runtime.godebugDefault=httplaxcontentlength=1,httpmuxgo121=1,panicnil=1 -buildmode=exe -buildid=ffJL2F_6s0qqnc-TO3O2/W-W0szQxj5WMDe3boDq2/q-uS4UG6WxnuROwDLWlg/ffJL2F_6s0qqnc-TO3O2 -X testing.testBinary=1 -extld=gcc /workdir/gocache/63/63762bf0eda9583a553c6f24efeb8c9b1cfbdff8057dd53d0a4f767bf5aaf547-d
        script_test.go:156: FAIL: testdata/script/cover_statements.txt:18: stderr 'link(\.exe"?)? -': unexpected success
2023-10-18 14:06 linux-amd64-longtest-race go@7ee99801 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:45511
https://vcs-test.golang.org rerouted to https://127.0.0.1:45059
go test proxy running at GOPROXY=http://127.0.0.1:44069/mod
2023/10/18 16:18:22 http: TLS handshake error from 127.0.0.1:53828: EOF
2023/10/18 16:18:22 http: TLS handshake error from 127.0.0.1:53806: EOF
2023/10/18 16:18:22 http: TLS handshake error from 127.0.0.1:53816: EOF
--- FAIL: TestScript (1.16s)
    --- FAIL: TestScript/cover_statements (1.92s)
        script_test.go:132: 2023-10-18T16:17:09Z
        script_test.go:134: $WORK=/workdir/tmp/cmd-go-test-543877386/tmpdir1700415720/cover_statements2557630880
...
    --- FAIL: TestScript/cover_pkgall_imports (3.44s)
        script_test.go:132: 2023-10-18T16:17:20Z
        script_test.go:134: $WORK=/workdir/tmp/cmd-go-test-543877386/tmpdir1700415720/cover_pkgall_imports1955944323
        script_test.go:156: 
            # This test checks that -coverpkg=all can be used
            # when the package pattern includes packages
            # which only have tests.
            # Verifies golang.org/issue/27333, golang.org/issue/43242. (3.433s)
            > [short] skip
            [condition not met]
...
                  /workdir/go/src/cmd/go/main.go:176 +0xac4
              cmd/go.Main()
                  /workdir/go/src/cmd/go/export_test.go:7 +0x1f5e
              cmd/go_test.TestMain()
                  /workdir/go/src/cmd/go/go_test.go:160 +0x1f59
              main.main()
                  _testmain.go:185 +0x2d4
            ==================
            Found 2 data race(s)
        script_test.go:156: FAIL: testdata/script/cover_atomic_pkgall.txt:5: go test -coverpkg=all -covermode=atomic x: exit status 66
2023-10-18 14:06 linux-amd64-longtest-race go@045ce51b cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:34907
https://vcs-test.golang.org rerouted to https://127.0.0.1:35347
go test proxy running at GOPROXY=http://127.0.0.1:46299/mod
2023/10/18 15:11:51 http: TLS handshake error from 127.0.0.1:33576: read tcp 127.0.0.1:35347->127.0.0.1:33576: read: connection reset by peer
--- FAIL: TestScript (1.14s)
    --- FAIL: TestScript/cover_pkgall_multiple_mains (6.41s)
        script_test.go:132: 2023-10-18T15:08:12Z
        script_test.go:134: $WORK=/workdir/tmp/cmd-go-test-3998045271/tmpdir880220218/cover_pkgall_multiple_mains2257269960
        script_test.go:156: 
            # This test checks that multiple main packages can be tested
...
    --- FAIL: TestScript/cover_pkgall_runtime (45.72s)
        script_test.go:132: 2023-10-18T15:08:13Z
        script_test.go:134: $WORK=/workdir/tmp/cmd-go-test-3998045271/tmpdir880220218/cover_pkgall_runtime3659525386
        script_test.go:156: 
            > env GO111MODULE=off
            # Issue 23882 (45.715s)
            > [short] skip
            [condition not met]
            > go test -coverpkg=all x
            [stdout]
...
                  /workdir/go/src/cmd/go/main.go:176 +0xac4
              cmd/go.Main()
                  /workdir/go/src/cmd/go/export_test.go:7 +0x1f5e
              cmd/go_test.TestMain()
                  /workdir/go/src/cmd/go/go_test.go:160 +0x1f59
              main.main()
                  _testmain.go:185 +0x2d4
            ==================
            Found 2 data race(s)
        script_test.go:156: FAIL: testdata/script/cover_atomic_pkgall.txt:5: go test -coverpkg=all -covermode=atomic x: exit status 66
2023-10-18 14:06 openbsd-arm64-jsing go@045ce51b cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:38080
https://vcs-test.golang.org rerouted to https://127.0.0.1:12215
go test proxy running at GOPROXY=http://127.0.0.1:15201/mod
--- FAIL: TestScript (2.72s)
    --- FAIL: TestScript/list_pkgconfig_error (3.17s)
        script_test.go:132: 2023-10-15T19:22:43Z
        script_test.go:134: $WORK=/home/gopher/build/tmp/cmd-go-test-2207993964/tmpdir1948278908/list_pkgconfig_error611240806
        script_test.go:156: 
            > [!cgo] skip 'test verifies cgo pkg-config errors'
            [condition not met]
            > [!exec:pkg-config] skip 'test requires pkg-config tool'
            [condition not met]
            > ! go list -export .
            [stdout]
            example
            [stderr]
            go build example:
            # pkg-config --cflags  -- libnot-a-valid-cgo-library
            Package libnot-a-valid-cgo-library was not found in the pkg-config search path
            [exit status 1]
            > stderr '^go build example:\n# pkg-config (.*\n)+Package .* not found$'
        script_test.go:156: FAIL: testdata/script/list_pkgconfig_error.txt:5: stderr '^go build example:\n# pkg-config (.*\n)+Package .* not found$': no match for `(?m)^go build example:\n# pkg-config (.*\n)+Package .* not found$` in stderr
2023-10-18 14:46 linux-amd64-longtest-race go@1ec427e7 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:33555
https://vcs-test.golang.org rerouted to https://127.0.0.1:43809
go test proxy running at GOPROXY=http://127.0.0.1:41287/mod
2023/10/18 15:48:47 http: TLS handshake error from 127.0.0.1:36310: read tcp 127.0.0.1:43809->127.0.0.1:36310: read: connection reset by peer
2023/10/18 15:48:47 http: TLS handshake error from 127.0.0.1:36272: read tcp 127.0.0.1:43809->127.0.0.1:36272: read: connection reset by peer
2023/10/18 15:48:52 http: TLS handshake error from 127.0.0.1:56512: EOF
--- FAIL: TestScript (1.15s)
    --- FAIL: TestScript/cover_coverprofile_multipkg (2.60s)
        script_test.go:132: 2023-10-18T15:52:14Z
        script_test.go:134: $WORK=/workdir/tmp/cmd-go-test-1834335683/tmpdir4105536463/cover_coverprofile_multipkg1891900430
...
    --- FAIL: TestScript/cover_coverpkg_partial (3.12s)
        script_test.go:132: 2023-10-18T15:52:16Z
        script_test.go:134: $WORK=/workdir/tmp/cmd-go-test-1834335683/tmpdir4105536463/cover_coverpkg_partial760821532
        script_test.go:156: 
            # Testcase related to #58770 and #24570. This is intended to ensure
            # that coverage collection works in situations where we're testing a
            # collection of packages and supplying a -coverpkg pattern that
            # matches some but not all of the collection. In addition, some of the
            # packages have Go code but no tests, and other packages have tests
            # but no Go code. Package breakdown:
...
                  /workdir/go/src/cmd/go/main.go:176 +0xac4
              cmd/go.Main()
                  /workdir/go/src/cmd/go/export_test.go:7 +0x1f5e
              cmd/go_test.TestMain()
                  /workdir/go/src/cmd/go/go_test.go:160 +0x1f59
              main.main()
                  _testmain.go:185 +0x2d4
            ==================
            Found 2 data race(s)
        script_test.go:156: FAIL: testdata/script/cover_atomic_pkgall.txt:5: go test -coverpkg=all -covermode=atomic x: exit status 66
2023-10-18 14:46 linux-riscv64-unmatched go@4bf4c7d2 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:34277
https://vcs-test.golang.org rerouted to https://127.0.0.1:39867
go test proxy running at GOPROXY=http://127.0.0.1:45153/mod
2023/10/21 15:58:29 http: TLS handshake error from 127.0.0.1:48998: read tcp 127.0.0.1:39867->127.0.0.1:48998: read: connection reset by peer
--- FAIL: TestScript (0.38s)
    --- FAIL: TestScript/list_pkgconfig_error (1.14s)
        script_test.go:132: 2023-10-21T15:58:38Z
        script_test.go:134: $WORK=/tmp/workdir-host-linux-riscv64-unmatched/tmp/cmd-go-test-3320461688/tmpdir691228765/list_pkgconfig_error2382318427
        script_test.go:156: 
            > [!cgo] skip 'test verifies cgo pkg-config errors'
            [condition not met]
            > [!exec:pkg-config] skip 'test requires pkg-config tool'
            [condition not met]
            > ! go list -export .
            [stdout]
            example
            [stderr]
            go build example:
            # pkg-config --cflags  -- libnot-a-valid-cgo-library
            Package libnot-a-valid-cgo-library was not found in the pkg-config search path.
            Perhaps you should add the directory containing `libnot-a-valid-cgo-library.pc'
            to the PKG_CONFIG_PATH environment variable
            No package 'libnot-a-valid-cgo-library' found
            [exit status 1]
            > stderr '^go build example:\n# pkg-config (.*\n)+Package .* not found$'
        script_test.go:156: FAIL: testdata/script/list_pkgconfig_error.txt:5: stderr '^go build example:\n# pkg-config (.*\n)+Package .* not found$': no match for `(?m)^go build example:\n# pkg-config (.*\n)+Package .* not found$` in stderr
2023-10-20 19:23 linux-amd64-longtest go@566d94fe cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:37227
https://vcs-test.golang.org rerouted to https://127.0.0.1:40773
go test proxy running at GOPROXY=http://127.0.0.1:42473/mod
2023/10/20 19:54:56 http: TLS handshake error from 127.0.0.1:50764: EOF
2023/10/20 19:54:56 http: TLS handshake error from 127.0.0.1:50720: read tcp 127.0.0.1:40773->127.0.0.1:50720: read: connection reset by peer
2023/10/20 19:54:56 http: TLS handshake error from 127.0.0.1:50734: read tcp 127.0.0.1:40773->127.0.0.1:50734: read: connection reset by peer
2023/10/20 19:55:00 http: TLS handshake error from 127.0.0.1:36594: read tcp 127.0.0.1:40773->127.0.0.1:36594: read: connection reset by peer
--- FAIL: TestScript (0.06s)
    --- FAIL: TestScript/gotoolchain_path (0.58s)
        script_test.go:132: 2023-10-20T19:55:14Z
        script_test.go:134: $WORK=/workdir/tmp/cmd-go-test-1115262940/tmpdir3701356172/gotoolchain_path2677324945
        script_test.go:156: 
            # This test only checks that basic PATH lookups work.
            # The full test of toolchain version selection is in gotoolchain.txt. (0.000s)
            # Compile a fake toolchain to put in the path under various names. (0.572s)
            # GOTOOLCHAIN=go1.50.0 (0.010s)
            > env GOTOOLCHAIN=go1.50.0
            > ! go version
            [stderr]
            go: exec go1.50.0: text file busy
            [exit status 1]
            > stderr 'running go1.50.0 from PATH'
        script_test.go:156: FAIL: testdata/script/gotoolchain_path.txt:23: stderr 'running go1.50.0 from PATH': no match for `(?m)running go1.50.0 from PATH` in stderr
2023-10-25 21:32 linux-386-longtest go@555af99b cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:33721
https://vcs-test.golang.org rerouted to https://127.0.0.1:42893
go test proxy running at GOPROXY=http://127.0.0.1:36699/mod
2023/10/25 22:06:27 http: TLS handshake error from 127.0.0.1:53698: EOF
2023/10/25 22:07:02 http: TLS handshake error from 127.0.0.1:47122: read tcp 127.0.0.1:42893->127.0.0.1:47122: read: connection reset by peer
2023/10/25 22:07:02 http: TLS handshake error from 127.0.0.1:47150: EOF
2023/10/25 22:07:10 http: TLS handshake error from 127.0.0.1:47608: read tcp 127.0.0.1:42893->127.0.0.1:47608: read: connection reset by peer
2023/10/25 22:07:10 http: TLS handshake error from 127.0.0.1:47586: EOF
2023/10/25 22:07:10 http: TLS handshake error from 127.0.0.1:47648: EOF
2023/10/25 22:07:10 http: TLS handshake error from 127.0.0.1:47656: EOF
--- FAIL: TestScript (0.06s)
    --- FAIL: TestScript/mod_sumdb_golang (12.36s)
        script_test.go:132: 2023-10-25T22:06:21Z
        script_test.go:134: $WORK=/workdir/tmp/cmd-go-test-881479514/tmpdir2664240017/mod_sumdb_golang4257925099
        script_test.go:156: 
            # Test default GOPROXY and GOSUMDB (0.064s)
            # Download direct from github. (12.294s)
            > [!net:proxy.golang.org] skip
            [condition not met]
            > [!net:sum.golang.org] skip
...
            > [!git] skip
            [condition not met]
            > env GOSUMDB=sum.golang.org
            > env GOPROXY=direct
            > go get rsc.io/quote@v1.5.2
            [stderr]
            go: downloading rsc.io/quote v1.5.2
            go: rsc.io/quote@v1.5.2: verifying module: rsc.io/quote@v1.5.2: reading https://sum.golang.org/tile/8/2/001.p/53: 404 Not Found
            	server response: not found
        script_test.go:156: FAIL: testdata/script/mod_sumdb_golang.txt:20: go get rsc.io/quote@v1.5.2: exit status 1
2023-10-25 21:32 linux-amd64-longtest go@555af99b cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:37531
https://vcs-test.golang.org rerouted to https://127.0.0.1:37223
go test proxy running at GOPROXY=http://127.0.0.1:34877/mod
--- FAIL: TestScript (0.06s)
    --- FAIL: TestScript/mod_sumdb_golang (35.46s)
        script_test.go:132: 2023-10-25T22:03:15Z
        script_test.go:134: $WORK=/workdir/tmp/cmd-go-test-2037619065/tmpdir1795070110/mod_sumdb_golang1482218863
        script_test.go:156: 
            # Test default GOPROXY and GOSUMDB (0.136s)
            # Download direct from github. (17.544s)
...
            0.426s # cd /workdir/tmp/cmd-go-test-2037619065/tmpdir1795070110/mod_sumdb_golang1482218863/gopath/pkg/mod/cache/vcs/35640be4a3d2ccf2debb48dd7a3972a84907e5170b0209b4f963f3c8d00f8cd6; git fetch -f --depth=1 origin refs/tags/v1.99.99:refs/tags/v1.99.99
            cd /workdir/tmp/cmd-go-test-2037619065/tmpdir1795070110/mod_sumdb_golang1482218863/gopath/pkg/mod/cache/vcs/35640be4a3d2ccf2debb48dd7a3972a84907e5170b0209b4f963f3c8d00f8cd6; git -c log.showsignature=false log --no-decorate -n1 '--format=format:%H %ct %D' refs/tags/v1.99.99 --
            0.007s # cd /workdir/tmp/cmd-go-test-2037619065/tmpdir1795070110/mod_sumdb_golang1482218863/gopath/pkg/mod/cache/vcs/35640be4a3d2ccf2debb48dd7a3972a84907e5170b0209b4f963f3c8d00f8cd6; git -c log.showsignature=false log --no-decorate -n1 '--format=format:%H %ct %D' refs/tags/v1.99.99 --
            cd /workdir/tmp/cmd-go-test-2037619065/tmpdir1795070110/mod_sumdb_golang1482218863/gopath/pkg/mod/cache/vcs/35640be4a3d2ccf2debb48dd7a3972a84907e5170b0209b4f963f3c8d00f8cd6; git cat-file blob 732a3c400797d8835f2af34a9561f155bef85435:go.mod
            0.005s # cd /workdir/tmp/cmd-go-test-2037619065/tmpdir1795070110/mod_sumdb_golang1482218863/gopath/pkg/mod/cache/vcs/35640be4a3d2ccf2debb48dd7a3972a84907e5170b0209b4f963f3c8d00f8cd6; git cat-file blob 732a3c400797d8835f2af34a9561f155bef85435:go.mod
            cd /workdir/tmp/cmd-go-test-2037619065/tmpdir1795070110/mod_sumdb_golang1482218863/gopath/pkg/mod/cache/vcs/35640be4a3d2ccf2debb48dd7a3972a84907e5170b0209b4f963f3c8d00f8cd6; git cat-file blob 0cc034b51e57ed7832d4c67d526f75a900996e5c:go.mod
            0.027s # cd /workdir/tmp/cmd-go-test-2037619065/tmpdir1795070110/mod_sumdb_golang1482218863/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: reading https://sum.golang.org/tile/8/1/000: 404 Not Found
            	server response: not found
        script_test.go:156: FAIL: testdata/script/mod_sumdb_golang.txt:71: go list -mod=mod -x -m all: exit status 1
2023-10-31 17:13 linux-arm64-longtest go@cbc403af cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:44381
https://vcs-test.golang.org rerouted to https://127.0.0.1:43099
go test proxy running at GOPROXY=http://127.0.0.1:40071/mod
2023/10/31 17:39:40 http: TLS handshake error from 127.0.0.1:41768: EOF
2023/10/31 17:39:40 http: TLS handshake error from 127.0.0.1:41766: read tcp 127.0.0.1:43099->127.0.0.1:41766: read: connection reset by peer
2023/10/31 17:39:40 http: TLS handshake error from 127.0.0.1:41750: EOF
--- FAIL: TestScript (0.06s)
    --- FAIL: TestScript/cover_statements (1.70s)
        script_test.go:132: 2023-10-31T17:39:56Z
        script_test.go:134: $WORK=/tmp/workdir/tmp/cmd-go-test-871142671/tmpdir4130506320/cover_statements1330079677
...
            matched: 	m/pkg1		coverage: 0.0% of statements
            > stdout 'pkg2	\S+	coverage: 0.0% of statements \[no tests to run\]'
            matched: ok  	m/pkg2	0.081s	coverage: 0.0% of statements [no tests to run]
            > stdout 'pkg3	\S+	coverage: 100.0% of statements'
            matched: ok  	m/pkg3	0.068s	coverage: 100.0% of statements
            > stdout 'pkg4	\S+	coverage: \[no statements\]'
            matched: ok  	m/pkg4	0.042s	coverage: [no statements]
            > [GOEXPERIMENT:coverageredesign] ! stderr 'link(\.exe"?)? -'
            matched: /tmp/workdir/go/pkg/tool/linux_arm64/link -o $WORK/b108/pkg3.test -importcfg $WORK/b108/importcfg.link -s -w -X=runtime.godebugDefault=httplaxcontentlength=1,httpmuxgo121=1,panicnil=1 -buildmode=exe -buildid=zg1NNjykVDQGK74qT8wb/G_Vg2eJbImw1fTJRFieD/nZ2zZj6OBknKwiVf_9qv/zg1NNjykVDQGK74qT8wb -X testing.testBinary=1 -extld=gcc /tmp/workdir/gocache/99/9999add8847a25d1214893829134bf2641c47a7dbfa52f52b622e7705b02384c-d
        script_test.go:156: FAIL: testdata/script/cover_statements.txt:18: stderr 'link(\.exe"?)? -': unexpected success
2023-11-08 17:51 windows-amd64-longtest go@eebeca80 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:54791
https://vcs-test.golang.org rerouted to https://127.0.0.1:54792
go test proxy running at GOPROXY=http://127.0.0.1:54793/mod
--- FAIL: TestScript (0.14s)
    --- FAIL: TestScript/cover_statements (13.38s)
        script_test.go:132: 2023-11-08T18:32:10Z
        script_test.go:134: $WORK=C:\Users\gopher\AppData\Local\Temp\1\cmd-go-test-1817490941\tmpdir2292983102\cover_statements2904642151
        script_test.go:156: 
            > [short] skip
            [condition not met]
...
            matched: 	m/pkg1		coverage: 0.0% of statements
            > stdout 'pkg2	\S+	coverage: 0.0% of statements \[no tests to run\]'
            matched: ok  	m/pkg2	0.156s	coverage: 0.0% of statements [no tests to run]
            > stdout 'pkg3	\S+	coverage: 100.0% of statements'
            matched: ok  	m/pkg3	0.185s	coverage: 100.0% of statements
            > stdout 'pkg4	\S+	coverage: \[no statements\]'
            matched: ok  	m/pkg4	0.144s	coverage: [no statements]
            > [GOEXPERIMENT:coverageredesign] ! stderr 'link(\.exe"?)? -'
            matched: "C:\\workdir\\go\\pkg\\tool\\windows_amd64\\link.exe" -o "$WORK\\b049\\pkg2.test.exe" -importcfg "$WORK\\b049\\importcfg.link" -s -w -X=runtime.godebugDefault=httplaxcontentlength=1,httpmuxgo121=1,panicnil=1 -buildmode=pie -buildid=yjN4m9BZ8F-UXTzPn3DO/NslB3yILncvHKk9ehmo4/wLToUOFgDiNoXeGaaIN2/yjN4m9BZ8F-UXTzPn3DO -X testing.testBinary=1 -extld=gcc "C:\\workdir\\gocache\\4f\\4f96789f56a4553a93cbc60a4dc374fcab81dffa9d3e97d26a40aa4d8656e5ad-d"
        script_test.go:156: FAIL: testdata\script\cover_statements.txt:18: stderr 'link(\.exe"?)? -': unexpected success

watchflakes

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript"
2023-11-08 17:55 linux-amd64-longtest-race go@5cb0839e cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:40101
https://vcs-test.golang.org rerouted to https://127.0.0.1:43389
go test proxy running at GOPROXY=http://127.0.0.1:46789/mod
2023/11/08 19:01:29 http: TLS handshake error from 127.0.0.1:39942: EOF
2023/11/08 19:02:24 http: TLS handshake error from 127.0.0.1:36922: read tcp 127.0.0.1:43389->127.0.0.1:36922: read: connection reset by peer
--- FAIL: TestScript (1.15s)
    --- FAIL: TestScript/cover_statements (3.68s)
        script_test.go:132: 2023-11-08T19:02:59Z
        script_test.go:134: $WORK=/workdir/tmp/cmd-go-test-652114270/tmpdir2385451142/cover_statements2126372759
        script_test.go:156: 
...
            matched: 	m/pkg1		coverage: 0.0% of statements
            > stdout 'pkg2	\S+	coverage: 0.0% of statements \[no tests to run\]'
            matched: ok  	m/pkg2	0.017s	coverage: 0.0% of statements [no tests to run]
            > stdout 'pkg3	\S+	coverage: 100.0% of statements'
            matched: ok  	m/pkg3	0.004s	coverage: 100.0% of statements
            > stdout 'pkg4	\S+	coverage: \[no statements\]'
            matched: ok  	m/pkg4	0.006s	coverage: [no statements]
            > [GOEXPERIMENT:coverageredesign] ! stderr 'link(\.exe"?)? -'
            matched: /workdir/go/pkg/tool/linux_amd64/link -o $WORK/b108/pkg3.test -importcfg $WORK/b108/importcfg.link -s -w -X=runtime.godebugDefault=httplaxcontentlength=1,httpmuxgo121=1,panicnil=1 -buildmode=exe -buildid=Qx1SNAD1Eh1PXqFsE669/PMZVjvsiCsnDnXAkVjkg/Gf1pA7FfOZbSRMqOdFpg/Qx1SNAD1Eh1PXqFsE669 -X testing.testBinary=1 -extld=gcc /workdir/gocache/7f/7fcdf37723f9037f78bba9988b2b2649388cd76a710318685e01dbc276ffd5de-d
        script_test.go:156: FAIL: testdata/script/cover_statements.txt:18: stderr 'link(\.exe"?)? -': unexpected success

watchflakes

@bcmills
Copy link
Contributor

bcmills commented Nov 8, 2023

I've pulled out most of these into separate issues. Removing from Test Flakes to get watchflakes to filter it down to whatever remains.

@bcmills bcmills closed this as not planned Won't fix, can't repro, duplicate, stale Nov 8, 2023
@bcmills bcmills removed this from Test Flakes Nov 8, 2023
@golang golang locked and limited conversation to collaborators Nov 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge 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