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/work_module_not_in_go_work failures #68751

Open
gopherbot opened this issue Aug 6, 2024 · 1 comment
Open

cmd/go: TestScript/work_module_not_in_go_work failures #68751

gopherbot opened this issue Aug 6, 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/work_module_not_in_go_work"

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestScript/work_module_not_in_go_work
=== PAUSE TestScript/work_module_not_in_go_work
=== CONT  TestScript/work_module_not_in_go_work
    script_test.go:132: 2024-07-31T17:06:18Z
    script_test.go:134: $WORK=C:\Users\swarming\.swarming\w\ir\x\t\cmd-go-test-1480825932\tmpdir546241789\work_module_not_in_go_work2039227295
    script_test.go:156: 
        PATH=C:\Users\swarming\.swarming\w\ir\x\t\cmd-go-test-1480825932\tmpdir546241789\testbin;C:\Users\swarming\.swarming\w\ir\x\w\goroot\bin;C:\Users\swarming\.swarming\w\ir\x\w\goroot\bin;C:\Users\swarming\.swarming\w\ir\x\w\goroot\bin;C:\Users\swarming\.swarming\w\ir\cache\tools\bin;C:\Users\swarming\.swarming\w\ir\bbagent_utility_packages;C:\Users\swarming\.swarming\w\ir\bbagent_utility_packages\bin;C:\Users\swarming\.swarming\w\ir\cipd_bin_packages;C:\Users\swarming\.swarming\w\ir\cipd_bin_packages\bin;C:\Users\swarming\.swarming\w\ir\cipd_bin_packages\cpython3;C:\Users\swarming\.swarming\w\ir\cipd_bin_packages\cpython3\bin;C:\Users\swarming\.swarming\w\ir\cache\cipd_client;C:\Users\swarming\.swarming\w\ir\cache\cipd_client\bin;C:\Users\swarming\.swarming\cipd_cache\bin;C:\Python311\Scripts\;C:\Python311\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;C:\Users\swarming\AppData\Local\Microsoft\WindowsApps;C:\Users\swarming\.swarming\w\ir\cache\tools\cc\windows\gcc64\bin
        USERPROFILE=/no-home
        CCACHE_DISABLE=1
        GOARCH=arm64
...
        	go work use a
        [exit status 1]
        > stderr 'directory a[\\/]c is contained in a module that is not one of the workspace modules listed in go.work. You can add the module to the workspace using:\n\tgo work use a'
        matched: directory a\c is contained in a module that is not one of the workspace modules listed in go.work. You can add the module to the workspace using:
        	go work use a
        > cd a/c
        > ! go run .
        [exit status 1]
    script_test.go:156: FAIL: testdata\script\work_module_not_in_go_work.txt:16: context deadline exceeded
--- FAIL: TestScript/work_module_not_in_go_work (0.56s)

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

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript/work_module_not_in_go_work"
2024-07-31 16:13 go1.22-windows-arm64 release-branch.go1.22@8c8adffd cmd/go.TestScript/work_module_not_in_go_work (log)
=== RUN   TestScript/work_module_not_in_go_work
=== PAUSE TestScript/work_module_not_in_go_work
=== CONT  TestScript/work_module_not_in_go_work
    script_test.go:132: 2024-07-31T17:06:18Z
    script_test.go:134: $WORK=C:\Users\swarming\.swarming\w\ir\x\t\cmd-go-test-1480825932\tmpdir546241789\work_module_not_in_go_work2039227295
    script_test.go:156: 
        PATH=C:\Users\swarming\.swarming\w\ir\x\t\cmd-go-test-1480825932\tmpdir546241789\testbin;C:\Users\swarming\.swarming\w\ir\x\w\goroot\bin;C:\Users\swarming\.swarming\w\ir\x\w\goroot\bin;C:\Users\swarming\.swarming\w\ir\x\w\goroot\bin;C:\Users\swarming\.swarming\w\ir\cache\tools\bin;C:\Users\swarming\.swarming\w\ir\bbagent_utility_packages;C:\Users\swarming\.swarming\w\ir\bbagent_utility_packages\bin;C:\Users\swarming\.swarming\w\ir\cipd_bin_packages;C:\Users\swarming\.swarming\w\ir\cipd_bin_packages\bin;C:\Users\swarming\.swarming\w\ir\cipd_bin_packages\cpython3;C:\Users\swarming\.swarming\w\ir\cipd_bin_packages\cpython3\bin;C:\Users\swarming\.swarming\w\ir\cache\cipd_client;C:\Users\swarming\.swarming\w\ir\cache\cipd_client\bin;C:\Users\swarming\.swarming\cipd_cache\bin;C:\Python311\Scripts\;C:\Python311\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;C:\Users\swarming\AppData\Local\Microsoft\WindowsApps;C:\Users\swarming\.swarming\w\ir\cache\tools\cc\windows\gcc64\bin
        USERPROFILE=/no-home
        CCACHE_DISABLE=1
        GOARCH=arm64
...
        	go work use a
        [exit status 1]
        > stderr 'directory a[\\/]c is contained in a module that is not one of the workspace modules listed in go.work. You can add the module to the workspace using:\n\tgo work use a'
        matched: directory a\c is contained in a module that is not one of the workspace modules listed in go.work. You can add the module to the workspace using:
        	go work use a
        > cd a/c
        > ! go run .
        [exit status 1]
    script_test.go:156: FAIL: testdata\script\work_module_not_in_go_work.txt:16: context deadline exceeded
--- FAIL: TestScript/work_module_not_in_go_work (0.56s)

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