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

all: test failures with ETXTBSY #58019

Closed
bcmills opened this issue Jan 26, 2023 · 10 comments
Closed

all: test failures with ETXTBSY #58019

bcmills opened this issue Jan 26, 2023 · 10 comments
Labels
FrozenDueToAge 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

@bcmills
Copy link
Contributor

bcmills commented Jan 26, 2023

#!watchflakes
post <- `text file busy` && date < "2023-03-01"

This issue is to collect test failures with ETXTBSY. In practice, nearly all such failures are symptoms of #22315, but we may be able to work around them more specificially.

(Factored out from #55311 (comment).)

@bcmills bcmills added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Jan 26, 2023
@bcmills bcmills added this to the Backlog milestone Jan 26, 2023
@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- `text file busy`
2023-01-17 19:55 linux-amd64-longtest-race go@f9cba430 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:41143
https://vcs-test.golang.org rerouted to https://127.0.0.1:40539
go test proxy running at GOPROXY=http://127.0.0.1:42349/mod
2023/01/17 20:54:36 http: TLS handshake error from 127.0.0.1:48104: EOF
--- FAIL: TestScript (0.16s)
    --- FAIL: TestScript/list_goroot_symlink (0.17s)
        script_test.go:134: 2023-01-17T20:56:14Z
        script_test.go:136: $WORK=/workdir/tmp/cmd-go-test-3489566031/tmpdir3979779748/list_goroot_symlink2744314060
        script_test.go:154: 
            # Regression test for https://go.dev/issue/57754: 'go list' failed if ../src
...
            #
            # To do so, we copy the actual cmd/go executable — which is implemented as the
            # cmd/go test binary instead of the original $GOROOT/bin/go, which may be
            # arbitrarily stale — into the bin subdirectory of the fake GOROOT, causing
            # os.Executable to report a path in that directory. (0.160s)
            > mkdir $WORK/lib/goroot/bin
            > cp $TESTGO_EXE $WORK/lib/goroot/bin/go$GOEXE
            > env GOROOT=''  # Clear to force cmd/go to find GOROOT itself.
            > exec $WORK/lib/goroot/bin/go env GOROOT
        script_test.go:154: FAIL: list_goroot_symlink.txt:39: exec /workdir/tmp/cmd-go-test-3489566031/tmpdir3979779748/list_goroot_symlink2744314060/lib/goroot/bin/go env GOROOT: fork/exec /workdir/tmp/cmd-go-test-3489566031/tmpdir3979779748/list_goroot_symlink2744314060/lib/goroot/bin/go: text file busy
2023-01-17 19:55 linux-arm64-longtest go@248950f1 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:40473
https://vcs-test.golang.org rerouted to https://127.0.0.1:45455
go test proxy running at GOPROXY=http://127.0.0.1:41419/mod
2023/01/17 20:19:51 http: TLS handshake error from 127.0.0.1:42222: read tcp 127.0.0.1:45455->127.0.0.1:42222: read: connection reset by peer
2023/01/17 20:19:51 http: TLS handshake error from 127.0.0.1:42206: read tcp 127.0.0.1:45455->127.0.0.1:42206: read: connection reset by peer
2023/01/17 20:19:51 http: TLS handshake error from 127.0.0.1:42212: EOF
2023/01/17 20:19:51 http: TLS handshake error from 127.0.0.1:42246: EOF
2023/01/17 20:19:51 http: TLS handshake error from 127.0.0.1:42262: EOF
2023/01/17 20:19:51 http: TLS handshake error from 127.0.0.1:42296: read tcp 127.0.0.1:45455->127.0.0.1:42296: read: connection reset by peer
2023/01/17 20:19:51 http: TLS handshake error from 127.0.0.1:42282: EOF
--- FAIL: TestScript (0.07s)
    --- FAIL: TestScript/list_goroot_symlink (0.04s)
        script_test.go:134: 2023-01-17T20:19:53Z
        script_test.go:136: $WORK=/tmp/workdir/tmp/cmd-go-test-949652263/tmpdir2422550999/list_goroot_symlink3453521521
        script_test.go:154: 
            # Regression test for https://go.dev/issue/57754: 'go list' failed if ../src
            # relative to the location of the go executable was a symlink to the real src
            # directory. (cmd/go expects that ../src is GOROOT/src, but it appears that the
            # Debian build of the Go toolchain is attempting to split GOROOT into binary and
            # source artifacts in different parent directories.) (0.000s)
...
            #
            # To do so, we copy the actual cmd/go executable — which is implemented as the
            # cmd/go test binary instead of the original $GOROOT/bin/go, which may be
            # arbitrarily stale — into the bin subdirectory of the fake GOROOT, causing
            # os.Executable to report a path in that directory. (0.036s)
            > mkdir $WORK/lib/goroot/bin
            > cp $TESTGO_EXE $WORK/lib/goroot/bin/go$GOEXE
            > env GOROOT=''  # Clear to force cmd/go to find GOROOT itself.
            > exec $WORK/lib/goroot/bin/go env GOROOT
        script_test.go:154: FAIL: list_goroot_symlink.txt:39: exec /tmp/workdir/tmp/cmd-go-test-949652263/tmpdir2422550999/list_goroot_symlink3453521521/lib/goroot/bin/go env GOROOT: fork/exec /tmp/workdir/tmp/cmd-go-test-949652263/tmpdir2422550999/list_goroot_symlink3453521521/lib/goroot/bin/go: text file busy

watchflakes

@gopherbot
Copy link
Contributor

Change https://go.dev/cl/463748 mentions this issue: cmd/go/internal/script: retry ETXTBSY errors in scripts

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- `text file busy`
2023-01-25 18:32 linux-arm64-longtest go@a896219b cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:35487
https://vcs-test.golang.org rerouted to https://127.0.0.1:35111
go test proxy running at GOPROXY=http://127.0.0.1:42229/mod
2023/01/25 18:54:32 http: TLS handshake error from 127.0.0.1:34762: EOF
2023/01/25 18:54:40 http: TLS handshake error from 127.0.0.1:44554: read tcp 127.0.0.1:35111->127.0.0.1:44554: read: connection reset by peer
2023/01/25 18:54:40 http: TLS handshake error from 127.0.0.1:44572: EOF
2023/01/25 18:54:41 http: TLS handshake error from 127.0.0.1:44640: read tcp 127.0.0.1:35111->127.0.0.1:44640: read: connection reset by peer
--- FAIL: TestScript (0.06s)
    --- FAIL: TestScript/list_goroot_symlink (0.03s)
        script_test.go:134: 2023-01-25T18:54:43Z
...
            #
            # To do so, we copy the actual cmd/go executable — which is implemented as the
            # cmd/go test binary instead of the original $GOROOT/bin/go, which may be
            # arbitrarily stale — into the bin subdirectory of the fake GOROOT, causing
            # os.Executable to report a path in that directory. (0.030s)
            > mkdir $WORK/lib/goroot/bin
            > cp $TESTGO_EXE $WORK/lib/goroot/bin/go$GOEXE
            > env GOROOT=''  # Clear to force cmd/go to find GOROOT itself.
            > exec $WORK/lib/goroot/bin/go env GOROOT
        script_test.go:154: FAIL: list_goroot_symlink.txt:39: exec /tmp/workdir/tmp/cmd-go-test-77560195/tmpdir1748134965/list_goroot_symlink3339312632/lib/goroot/bin/go env GOROOT: fork/exec /tmp/workdir/tmp/cmd-go-test-77560195/tmpdir1748134965/list_goroot_symlink3339312632/lib/goroot/bin/go: text file busy
2023-01-25 22:05 linux-amd64-longtest go@2c785608 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:32847
https://vcs-test.golang.org rerouted to https://127.0.0.1:44713
go test proxy running at GOPROXY=http://127.0.0.1:36469/mod
2023/01/25 22:34:23 http: TLS handshake error from 127.0.0.1:46980: read tcp 127.0.0.1:44713->127.0.0.1:46980: read: connection reset by peer
2023/01/25 22:34:23 http: TLS handshake error from 127.0.0.1:47024: EOF
2023/01/25 22:34:24 http: TLS handshake error from 127.0.0.1:47082: read tcp 127.0.0.1:44713->127.0.0.1:47082: read: connection reset by peer
2023/01/25 22:34:24 http: TLS handshake error from 127.0.0.1:47048: read tcp 127.0.0.1:44713->127.0.0.1:47048: read: connection reset by peer
--- FAIL: TestScript (0.07s)
    --- FAIL: TestScript/list_goroot_symlink (0.05s)
        script_test.go:134: 2023-01-25T22:34:29Z
...
            #
            # To do so, we copy the actual cmd/go executable — which is implemented as the
            # cmd/go test binary instead of the original $GOROOT/bin/go, which may be
            # arbitrarily stale — into the bin subdirectory of the fake GOROOT, causing
            # os.Executable to report a path in that directory. (0.044s)
            > mkdir $WORK/lib/goroot/bin
            > cp $TESTGO_EXE $WORK/lib/goroot/bin/go$GOEXE
            > env GOROOT=''  # Clear to force cmd/go to find GOROOT itself.
            > exec $WORK/lib/goroot/bin/go env GOROOT
        script_test.go:154: FAIL: list_goroot_symlink.txt:39: exec /workdir/tmp/cmd-go-test-3337829568/tmpdir2180002773/list_goroot_symlink4269922523/lib/goroot/bin/go env GOROOT: fork/exec /workdir/tmp/cmd-go-test-3337829568/tmpdir2180002773/list_goroot_symlink4269922523/lib/goroot/bin/go: text file busy
2023-01-27 17:13 linux-386-longtest go@c8c646d3 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:37545
https://vcs-test.golang.org rerouted to https://127.0.0.1:38205
go test proxy running at GOPROXY=http://127.0.0.1:42975/mod
2023/01/27 18:26:40 http: TLS handshake error from 127.0.0.1:58518: EOF
2023/01/27 18:26:58 http: TLS handshake error from 127.0.0.1:40112: EOF
2023/01/27 18:26:58 http: TLS handshake error from 127.0.0.1:40088: EOF
2023/01/27 18:26:58 http: TLS handshake error from 127.0.0.1:40102: EOF
2023/01/27 18:26:58 http: TLS handshake error from 127.0.0.1:40144: EOF
2023/01/27 18:26:59 http: TLS handshake error from 127.0.0.1:40172: read tcp 127.0.0.1:38205->127.0.0.1:40172: read: connection reset by peer
2023/01/27 18:26:59 http: TLS handshake error from 127.0.0.1:40196: EOF
...
--- FAIL: TestScript (0.07s)
    --- FAIL: TestScript/list_goroot_symlink (0.04s)
        script_test.go:134: 2023-01-27T18:27:04Z
        script_test.go:136: $WORK=/workdir/tmp/cmd-go-test-1355527519/tmpdir2052141148/list_goroot_symlink3211899521
        script_test.go:154: 
            # Regression test for https://go.dev/issue/57754: 'go list' failed if ../src
            # relative to the location of the go executable was a symlink to the real src
            # directory. (cmd/go expects that ../src is GOROOT/src, but it appears that the
            # Debian build of the Go toolchain is attempting to split GOROOT into binary and
            # source artifacts in different parent directories.) (0.000s)
...
            #
            # To do so, we copy the actual cmd/go executable — which is implemented as the
            # cmd/go test binary instead of the original $GOROOT/bin/go, which may be
            # arbitrarily stale — into the bin subdirectory of the fake GOROOT, causing
            # os.Executable to report a path in that directory. (0.039s)
            > mkdir $WORK/lib/goroot/bin
            > cp $TESTGO_EXE $WORK/lib/goroot/bin/go$GOEXE
            > env GOROOT=''  # Clear to force cmd/go to find GOROOT itself.
            > exec $WORK/lib/goroot/bin/go env GOROOT
        script_test.go:154: FAIL: list_goroot_symlink.txt:39: exec /workdir/tmp/cmd-go-test-1355527519/tmpdir2052141148/list_goroot_symlink3211899521/lib/goroot/bin/go env GOROOT: fork/exec /workdir/tmp/cmd-go-test-1355527519/tmpdir2052141148/list_goroot_symlink3211899521/lib/goroot/bin/go: text file busy
2023-01-30 18:10 linux-386-longtest go@dbfdc446 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:39301
https://vcs-test.golang.org rerouted to https://127.0.0.1:46019
go test proxy running at GOPROXY=http://127.0.0.1:39435/mod
2023/01/30 18:46:25 http: TLS handshake error from 127.0.0.1:43336: EOF
2023/01/30 18:46:54 http: TLS handshake error from 127.0.0.1:39486: EOF
2023/01/30 18:46:54 http: TLS handshake error from 127.0.0.1:39484: EOF
2023/01/30 18:46:54 http: TLS handshake error from 127.0.0.1:39498: EOF
2023/01/30 18:46:54 http: TLS handshake error from 127.0.0.1:39518: EOF
2023/01/30 18:46:54 http: TLS handshake error from 127.0.0.1:39546: EOF
2023/01/30 18:46:54 http: TLS handshake error from 127.0.0.1:39584: EOF
...
--- FAIL: TestScript (0.07s)
    --- FAIL: TestScript/list_goroot_symlink (0.03s)
        script_test.go:134: 2023-01-30T18:46:57Z
        script_test.go:136: $WORK=/workdir/tmp/cmd-go-test-3178230797/tmpdir729658518/list_goroot_symlink2424326606
        script_test.go:154: 
            # Regression test for https://go.dev/issue/57754: 'go list' failed if ../src
            # relative to the location of the go executable was a symlink to the real src
            # directory. (cmd/go expects that ../src is GOROOT/src, but it appears that the
            # Debian build of the Go toolchain is attempting to split GOROOT into binary and
            # source artifacts in different parent directories.) (0.000s)
...
            #
            # To do so, we copy the actual cmd/go executable — which is implemented as the
            # cmd/go test binary instead of the original $GOROOT/bin/go, which may be
            # arbitrarily stale — into the bin subdirectory of the fake GOROOT, causing
            # os.Executable to report a path in that directory. (0.027s)
            > mkdir $WORK/lib/goroot/bin
            > cp $TESTGO_EXE $WORK/lib/goroot/bin/go$GOEXE
            > env GOROOT=''  # Clear to force cmd/go to find GOROOT itself.
            > exec $WORK/lib/goroot/bin/go env GOROOT
        script_test.go:154: FAIL: list_goroot_symlink.txt:39: exec /workdir/tmp/cmd-go-test-3178230797/tmpdir729658518/list_goroot_symlink2424326606/lib/goroot/bin/go env GOROOT: fork/exec /workdir/tmp/cmd-go-test-3178230797/tmpdir729658518/list_goroot_symlink2424326606/lib/goroot/bin/go: text file busy
2023-01-31 13:55 linux-amd64-longtest go@da0c375c cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:42393
https://vcs-test.golang.org rerouted to https://127.0.0.1:33297
go test proxy running at GOPROXY=http://127.0.0.1:35529/mod
2023/01/31 14:27:14 http: TLS handshake error from 127.0.0.1:34874: read tcp 127.0.0.1:33297->127.0.0.1:34874: read: connection reset by peer
2023/01/31 14:28:40 http: TLS handshake error from 127.0.0.1:57276: EOF
2023/01/31 14:28:40 http: TLS handshake error from 127.0.0.1:57334: EOF
--- FAIL: TestScript (0.07s)
    --- FAIL: TestScript/list_goroot_symlink (0.06s)
        script_test.go:134: 2023-01-31T14:29:34Z
        script_test.go:136: $WORK=/workdir/tmp/cmd-go-test-2681287106/tmpdir532174821/list_goroot_symlink1053752192
...
            #
            # To do so, we copy the actual cmd/go executable — which is implemented as the
            # cmd/go test binary instead of the original $GOROOT/bin/go, which may be
            # arbitrarily stale — into the bin subdirectory of the fake GOROOT, causing
            # os.Executable to report a path in that directory. (0.060s)
            > mkdir $WORK/lib/goroot/bin
            > cp $TESTGO_EXE $WORK/lib/goroot/bin/go$GOEXE
            > env GOROOT=''  # Clear to force cmd/go to find GOROOT itself.
            > exec $WORK/lib/goroot/bin/go env GOROOT
        script_test.go:154: FAIL: list_goroot_symlink.txt:39: exec /workdir/tmp/cmd-go-test-2681287106/tmpdir532174821/list_goroot_symlink1053752192/lib/goroot/bin/go env GOROOT: fork/exec /workdir/tmp/cmd-go-test-2681287106/tmpdir532174821/list_goroot_symlink1053752192/lib/goroot/bin/go: text file busy
2023-01-31 16:53 linux-arm64-longtest go@5c6d7322 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:35041
https://vcs-test.golang.org rerouted to https://127.0.0.1:34211
go test proxy running at GOPROXY=http://127.0.0.1:39067/mod
2023/01/31 17:12:25 http: TLS handshake error from 127.0.0.1:54124: read tcp 127.0.0.1:34211->127.0.0.1:54124: read: connection reset by peer
2023/01/31 17:12:25 http: TLS handshake error from 127.0.0.1:54126: EOF
2023/01/31 17:12:25 http: TLS handshake error from 127.0.0.1:54122: EOF
2023/01/31 17:12:25 http: TLS handshake error from 127.0.0.1:54182: read tcp 127.0.0.1:34211->127.0.0.1:54182: read: connection reset by peer
2023/01/31 17:12:25 http: TLS handshake error from 127.0.0.1:54186: read tcp 127.0.0.1:34211->127.0.0.1:54186: read: connection reset by peer
2023/01/31 17:12:25 http: TLS handshake error from 127.0.0.1:54200: EOF
--- FAIL: TestScript (0.06s)
    --- FAIL: TestScript/list_goroot_symlink (0.02s)
        script_test.go:134: 2023-01-31T17:12:35Z
        script_test.go:136: $WORK=/tmp/workdir/tmp/cmd-go-test-2918864871/tmpdir3244305613/list_goroot_symlink2495268199
        script_test.go:154: 
            # Regression test for https://go.dev/issue/57754: 'go list' failed if ../src
            # relative to the location of the go executable was a symlink to the real src
            # directory. (cmd/go expects that ../src is GOROOT/src, but it appears that the
            # Debian build of the Go toolchain is attempting to split GOROOT into binary and
            # source artifacts in different parent directories.) (0.000s)
            # Ensure that the relative path to $WORK/lib/goroot/src from $PWD is a different
...
            #
            # To do so, we copy the actual cmd/go executable — which is implemented as the
            # cmd/go test binary instead of the original $GOROOT/bin/go, which may be
            # arbitrarily stale — into the bin subdirectory of the fake GOROOT, causing
            # os.Executable to report a path in that directory. (0.022s)
            > mkdir $WORK/lib/goroot/bin
            > cp $TESTGO_EXE $WORK/lib/goroot/bin/go$GOEXE
            > env GOROOT=''  # Clear to force cmd/go to find GOROOT itself.
            > exec $WORK/lib/goroot/bin/go env GOROOT
        script_test.go:154: FAIL: list_goroot_symlink.txt:39: exec /tmp/workdir/tmp/cmd-go-test-2918864871/tmpdir3244305613/list_goroot_symlink2495268199/lib/goroot/bin/go env GOROOT: fork/exec /tmp/workdir/tmp/cmd-go-test-2918864871/tmpdir3244305613/list_goroot_symlink2495268199/lib/goroot/bin/go: text file busy
2023-01-31 20:36 linux-arm64-longtest go@ac7efcb0 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:37759
https://vcs-test.golang.org rerouted to https://127.0.0.1:39019
go test proxy running at GOPROXY=http://127.0.0.1:36163/mod
2023/01/31 20:56:35 http: TLS handshake error from 127.0.0.1:37416: EOF
2023/01/31 20:56:35 http: TLS handshake error from 127.0.0.1:37474: EOF
2023/01/31 20:56:35 http: TLS handshake error from 127.0.0.1:37512: EOF
2023/01/31 20:56:35 http: TLS handshake error from 127.0.0.1:37492: EOF
2023/01/31 20:56:40 http: TLS handshake error from 127.0.0.1:55104: read tcp 127.0.0.1:39019->127.0.0.1:55104: read: connection reset by peer
--- FAIL: TestScript (0.06s)
    --- FAIL: TestScript/list_goroot_symlink (0.03s)
...
            #
            # To do so, we copy the actual cmd/go executable — which is implemented as the
            # cmd/go test binary instead of the original $GOROOT/bin/go, which may be
            # arbitrarily stale — into the bin subdirectory of the fake GOROOT, causing
            # os.Executable to report a path in that directory. (0.029s)
            > mkdir $WORK/lib/goroot/bin
            > cp $TESTGO_EXE $WORK/lib/goroot/bin/go$GOEXE
            > env GOROOT=''  # Clear to force cmd/go to find GOROOT itself.
            > exec $WORK/lib/goroot/bin/go env GOROOT
        script_test.go:154: FAIL: list_goroot_symlink.txt:39: exec /tmp/workdir/tmp/cmd-go-test-3552578516/tmpdir1016144016/list_goroot_symlink3265508911/lib/goroot/bin/go env GOROOT: fork/exec /tmp/workdir/tmp/cmd-go-test-3552578516/tmpdir1016144016/list_goroot_symlink3265508911/lib/goroot/bin/go: text file busy

watchflakes

@bcmills
Copy link
Contributor Author

bcmills commented Feb 9, 2023

@gopherbot, please backport to Go 1.20. The list_goroot_symlink test sometimes fails with this symptom on the release branch, and the fix is test-only.

@gopherbot
Copy link
Contributor

Backport issue(s) opened: #58431 (for 1.20).

Remember to create the cherry-pick CL(s) as soon as the patch is submitted to master, according to https://go.dev/wiki/MinorReleases.

@gopherbot
Copy link
Contributor

Change https://go.dev/cl/466856 mentions this issue: [release-branch.go1.20] cmd/go/internal/script: retry ETXTBSY errors in scripts

gopherbot pushed a commit that referenced this issue Feb 10, 2023
…in scripts

Fixes #58431.
Updates #58019.

Change-Id: Ib25d668bfede6e87a3786f44bdc0db1027e3ebec
Reviewed-on: https://go-review.googlesource.com/c/go/+/463748
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Bryan Mills <bcmills@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
(cherry picked from commit 23c0121)
Reviewed-on: https://go-review.googlesource.com/c/go/+/466856
Reviewed-by: David Chase <drchase@google.com>
johanbrandhorst pushed a commit to Pryz/go that referenced this issue Feb 12, 2023
Fixes golang#58019.

Change-Id: Ib25d668bfede6e87a3786f44bdc0db1027e3ebec
Reviewed-on: https://go-review.googlesource.com/c/go/+/463748
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Bryan Mills <bcmills@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
romaindoumenc pushed a commit to TroutSoftware/go that referenced this issue Feb 14, 2023
…in scripts

Fixes golang#58431.
Updates golang#58019.

Change-Id: Ib25d668bfede6e87a3786f44bdc0db1027e3ebec
Reviewed-on: https://go-review.googlesource.com/c/go/+/463748
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Bryan Mills <bcmills@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
(cherry picked from commit 23c0121)
Reviewed-on: https://go-review.googlesource.com/c/go/+/466856
Reviewed-by: David Chase <drchase@google.com>
@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- `text file busy`
2023-08-04 16:02 linux-arm64-longtest go@55d08e50 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:42463
https://vcs-test.golang.org rerouted to https://127.0.0.1:35577
go test proxy running at GOPROXY=http://127.0.0.1:36833/mod
2023/08/04 16:38:22 http: TLS handshake error from 127.0.0.1:42728: read tcp 127.0.0.1:35577->127.0.0.1:42728: read: connection reset by peer
2023/08/04 16:38:22 http: TLS handshake error from 127.0.0.1:42892: read tcp 127.0.0.1:35577->127.0.0.1:42892: read: connection reset by peer
2023/08/04 16:38:22 http: TLS handshake error from 127.0.0.1:42860: read tcp 127.0.0.1:35577->127.0.0.1:42860: read: connection reset by peer
--- FAIL: TestScript (0.07s)
    --- FAIL: TestScript/test_compile_multi_pkg (4.01s)
        script_test.go:132: 2023-08-04T16:36:45Z
        script_test.go:134: $WORK=/tmp/workdir/tmp/cmd-go-test-4203200371/tmpdir4223219662/test_compile_multi_pkg1358018183
...
            > go test -c -o $devnull ./...
            > rm pkg1.test$GOEXE
            > rm pkg2.test$GOEXE
            > go test -o . ./pkg/...
            [stdout]
            ok  	example/pkg/pkg1	0.020s [no tests to run]
            fork/exec /tmp/workdir/tmp/cmd-go-test-4203200371/tmpdir4223219662/test_compile_multi_pkg1358018183/tmp/go-build1211068849/b091/pkg2.test: text file busy
            FAIL	example/pkg/pkg2	0.000s
            FAIL
        script_test.go:156: FAIL: testdata/script/test_compile_multi_pkg.txt:32: go test -o . ./pkg/...: exit status 1

watchflakes

@gopherbot gopherbot reopened this Aug 4, 2023
@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- `text file busy`
2023-08-18 20:44 linux-amd64-longtest-race go@ce160863 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:41723
https://vcs-test.golang.org rerouted to https://127.0.0.1:40761
go test proxy running at GOPROXY=http://127.0.0.1:41481/mod
2023/08/18 21:46:42 http: TLS handshake error from 127.0.0.1:35368: read tcp 127.0.0.1:40761->127.0.0.1:35368: read: connection reset by peer
2023/08/18 21:48:40 http: TLS handshake error from 127.0.0.1:44324: read tcp 127.0.0.1:40761->127.0.0.1:44324: read: connection reset by peer
2023/08/18 21:50:21 http: TLS handshake error from 127.0.0.1:44512: EOF
--- FAIL: TestScript (1.14s)
    --- FAIL: TestScript/test_compile_multi_pkg (11.83s)
        script_test.go:132: 2023-08-18T21:45:40Z
        script_test.go:134: $WORK=/workdir/tmp/cmd-go-test-1401452276/tmpdir4252868724/test_compile_multi_pkg4199451243
...
            > go test -c -o $devnull ./...
            > rm pkg1.test$GOEXE
            > rm pkg2.test$GOEXE
            > go test -o . ./pkg/...
            [stdout]
            ok  	example/pkg/pkg1	0.066s [no tests to run]
            fork/exec /workdir/tmp/cmd-go-test-1401452276/tmpdir4252868724/test_compile_multi_pkg4199451243/tmp/go-build3164080947/b091/pkg2.test: text file busy
            FAIL	example/pkg/pkg2	0.001s
            FAIL
        script_test.go:156: FAIL: testdata/script/test_compile_multi_pkg.txt:32: go test -o . ./pkg/...: exit status 1

watchflakes

@gopherbot
Copy link
Contributor

Found new dashboard test flakes for:

#!watchflakes
post <- `text file busy`
2023-08-18 22:41 linux-amd64-longtest-race go@7af28fa9 cmd/go.TestScript (log)
vcs-test.golang.org rerouted to http://127.0.0.1:42589
https://vcs-test.golang.org rerouted to https://127.0.0.1:44175
go test proxy running at GOPROXY=http://127.0.0.1:46413/mod
2023/08/18 23:31:05 http: TLS handshake error from 127.0.0.1:37204: read tcp 127.0.0.1:44175->127.0.0.1:37204: read: connection reset by peer
2023/08/18 23:31:05 http: TLS handshake error from 127.0.0.1:37194: EOF
--- FAIL: TestScript (1.10s)
    --- FAIL: TestScript/test_compile_multi_pkg (6.01s)
        script_test.go:132: 2023-08-18T23:28:55Z
        script_test.go:134: $WORK=/workdir/tmp/cmd-go-test-2179483536/tmpdir224393766/test_compile_multi_pkg694859549
        script_test.go:156: 
...
            > go test -c -o $devnull ./...
            > rm pkg1.test$GOEXE
            > rm pkg2.test$GOEXE
            > go test -o . ./pkg/...
            [stdout]
            ok  	example/pkg/pkg1	0.122s [no tests to run]
            fork/exec /workdir/tmp/cmd-go-test-2179483536/tmpdir224393766/test_compile_multi_pkg694859549/tmp/go-build3723609144/b091/pkg2.test: text file busy
            FAIL	example/pkg/pkg2	0.016s
            FAIL
        script_test.go:156: FAIL: testdata/script/test_compile_multi_pkg.txt:32: go test -o . ./pkg/...: exit status 1

watchflakes

@bcmills
Copy link
Contributor Author

bcmills commented Aug 22, 2023

Filed the above as #62221; closing.

@bcmills bcmills closed this as completed Aug 22, 2023
@bcmills bcmills added Testing An issue that has been verified to require only test changes, not just a test failure. GoCommand cmd/go labels Aug 22, 2023
@golang golang locked and limited conversation to collaborators Aug 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge 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
Archived in project
Development

No branches or pull requests

2 participants