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/fileline failures #70294

Open
gopherbot opened this issue Nov 12, 2024 · 1 comment
Open

cmd/go: TestScript/fileline failures #70294

gopherbot opened this issue Nov 12, 2024 · 1 comment
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/fileline"

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestScript/fileline
=== PAUSE TestScript/fileline
=== CONT  TestScript/fileline
    script_test.go:139: 2024-11-11T23:59:59Z
    script_test.go:141: $WORK=/Users/swarming/.swarming/w/ir/x/t/cmd-go-test-2262759160/tmpdir2484956214/fileline2287564947
    script_test.go:163: 
        PATH=/Users/swarming/.swarming/w/ir/x/t/cmd-go-test-2262759160/tmpdir2484956214/testbin:/Users/swarming/.swarming/w/ir/x/w/goroot/bin:/Users/swarming/.swarming/w/ir/x/w/goroot/bin:/Users/swarming/.swarming/w/ir/x/w/goroot/bin:/Users/swarming/.swarming/w/ir/cache/tools/bin:/Users/swarming/.swarming/w/ir/bbagent_utility_packages:/Users/swarming/.swarming/w/ir/bbagent_utility_packages/bin:/Users/swarming/.swarming/w/ir/cipd_bin_packages:/Users/swarming/.swarming/w/ir/cipd_bin_packages/bin:/Users/swarming/.swarming/w/ir/cipd_bin_packages/cpython3:/Users/swarming/.swarming/w/ir/cipd_bin_packages/cpython3/bin:/Users/swarming/.swarming/w/ir/cache/cipd_client:/Users/swarming/.swarming/w/ir/cache/cipd_client/bin:/Users/swarming/.swarming/cipd_cache/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin
        HOME=/no-home
        CCACHE_DISABLE=1
        GOARCH=amd64
...
        > ! go run ../../gopath/x/y/z/err.go
        [stderr]
        ../x/y/z/err.go:1:22: cannot find package "bar" in any of:
        	/Users/swarming/.swarming/w/ir/x/w/goroot/src/bar (from $GOROOT)
        	/Users/swarming/.swarming/w/ir/x/t/cmd-go-test-2262759160/tmpdir2484956214/fileline2287564947/gopath/src/bar (from $GOPATH)
        [exit status 1]
        > stderr ^..[\\/]x[\\/]y[\\/]z[\\/]err.go:
        matched: ../x/y/z/err.go:1:22: cannot find package "bar" in any of:
    script_test.go:405: go was invoked but no counters were incremented
--- FAIL: TestScript/fileline (0.60s)

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 12, 2024
@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript/fileline"
2024-11-11 23:49 gotip-darwin-amd64_11 go@f9159b11 cmd/go.TestScript/fileline (log)
=== RUN   TestScript/fileline
=== PAUSE TestScript/fileline
=== CONT  TestScript/fileline
    script_test.go:139: 2024-11-11T23:59:59Z
    script_test.go:141: $WORK=/Users/swarming/.swarming/w/ir/x/t/cmd-go-test-2262759160/tmpdir2484956214/fileline2287564947
    script_test.go:163: 
        PATH=/Users/swarming/.swarming/w/ir/x/t/cmd-go-test-2262759160/tmpdir2484956214/testbin:/Users/swarming/.swarming/w/ir/x/w/goroot/bin:/Users/swarming/.swarming/w/ir/x/w/goroot/bin:/Users/swarming/.swarming/w/ir/x/w/goroot/bin:/Users/swarming/.swarming/w/ir/cache/tools/bin:/Users/swarming/.swarming/w/ir/bbagent_utility_packages:/Users/swarming/.swarming/w/ir/bbagent_utility_packages/bin:/Users/swarming/.swarming/w/ir/cipd_bin_packages:/Users/swarming/.swarming/w/ir/cipd_bin_packages/bin:/Users/swarming/.swarming/w/ir/cipd_bin_packages/cpython3:/Users/swarming/.swarming/w/ir/cipd_bin_packages/cpython3/bin:/Users/swarming/.swarming/w/ir/cache/cipd_client:/Users/swarming/.swarming/w/ir/cache/cipd_client/bin:/Users/swarming/.swarming/cipd_cache/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin
        HOME=/no-home
        CCACHE_DISABLE=1
        GOARCH=amd64
...
        > ! go run ../../gopath/x/y/z/err.go
        [stderr]
        ../x/y/z/err.go:1:22: cannot find package "bar" in any of:
        	/Users/swarming/.swarming/w/ir/x/w/goroot/src/bar (from $GOROOT)
        	/Users/swarming/.swarming/w/ir/x/t/cmd-go-test-2262759160/tmpdir2484956214/fileline2287564947/gopath/src/bar (from $GOPATH)
        [exit status 1]
        > stderr ^..[\\/]x[\\/]y[\\/]z[\\/]err.go:
        matched: ../x/y/z/err.go:1:22: cannot find package "bar" in any of:
    script_test.go:405: go was invoked but no counters were incremented
--- FAIL: TestScript/fileline (0.60s)

watchflakes

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
Status: No status
Development

No branches or pull requests

1 participant