You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
=== 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)
=== 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)
Issue created automatically to collect these failures.
Example (log):
— watchflakes
The text was updated successfully, but these errors were encountered: