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/mod_vendor failures #68685

Open
gopherbot opened this issue Jul 31, 2024 · 1 comment
Open

cmd/go: TestScript/mod_vendor failures #68685

gopherbot opened this issue Jul 31, 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/mod_vendor"

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestScript/mod_vendor
=== PAUSE TestScript/mod_vendor
=== CONT  TestScript/mod_vendor
    script_test.go:135: 2024-07-31T16:42:49Z
    script_test.go:137: $WORK=C:\Users\swarming\.swarming\w\ir\x\t\cmd-go-test-1097857000\tmpdir1670215863\mod_vendor61275530
go proxy: no archive example.com/deprecated v1.0.0: file does not exist
    script_test.go:159: 
        PATH=C:\Users\swarming\.swarming\w\ir\x\t\cmd-go-test-1097857000\tmpdir1670215863\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
...
        > cd ..
        > exists dir1/relative-vendor-dir/modules.txt
        > exists dir1/relative-vendor-dir/a/foo/LICENSE
        > exists dir2/relative-vendor-dir/modules.txt
        > exists dir2/relative-vendor-dir/a/foo/LICENSE
        # 'go mod vendor' should fall back to the default 'vendor' directory when an empty argument is passed to the -o flag
        # the same behavior should be exhibited both on the module root directory, as well as nested subdirectories (0.090s)
        > go mod vendor -v -o ''
    script_test.go:159: FAIL: testdata\script\mod_vendor.txt:108: go mod vendor -v -o : exit status 1
--- FAIL: TestScript/mod_vendor (3.53s)

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

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript/mod_vendor"
2024-07-31 15:43 gotip-windows-arm64 go@650abbc0 cmd/go.TestScript/mod_vendor (log)
=== RUN   TestScript/mod_vendor
=== PAUSE TestScript/mod_vendor
=== CONT  TestScript/mod_vendor
    script_test.go:135: 2024-07-31T16:42:49Z
    script_test.go:137: $WORK=C:\Users\swarming\.swarming\w\ir\x\t\cmd-go-test-1097857000\tmpdir1670215863\mod_vendor61275530
go proxy: no archive example.com/deprecated v1.0.0: file does not exist
    script_test.go:159: 
        PATH=C:\Users\swarming\.swarming\w\ir\x\t\cmd-go-test-1097857000\tmpdir1670215863\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
...
        > cd ..
        > exists dir1/relative-vendor-dir/modules.txt
        > exists dir1/relative-vendor-dir/a/foo/LICENSE
        > exists dir2/relative-vendor-dir/modules.txt
        > exists dir2/relative-vendor-dir/a/foo/LICENSE
        # 'go mod vendor' should fall back to the default 'vendor' directory when an empty argument is passed to the -o flag
        # the same behavior should be exhibited both on the module root directory, as well as nested subdirectories (0.090s)
        > go mod vendor -v -o ''
    script_test.go:159: FAIL: testdata\script\mod_vendor.txt:108: go mod vendor -v -o : exit status 1
--- FAIL: TestScript/mod_vendor (3.53s)

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