Skip to content

Commit 311f811

Browse files
authored
Rollup merge of rust-lang#61322 - pietroalbini:debug-windows-submodule-cloning, r=alexcrichton
ci: display more debug information in the init_repo script I'm *really* confused about the error message [while cloning submodules on Windows on Azure](https://dev.azure.com/rust-lang/e71b0ddf-dd27-435a-873c-e30f86eea377/_apis/build/builds/295/logs/506): ``` /usr/bin/tar: You must specify one of the '-Acdtrux', '--delete' or '--test-label' options Try '/usr/bin/tar --help' or '/usr/bin/tar --usage' for more information. ``` It doesn't make sense for it to execute a command without any of those flags since they're clearly added: https://github.com/rust-lang/rust/blob/81970852e172c04322cbf8ba23effabeb491c83c/src/ci/init_repo.sh#L45 So this adds `set -x` to the script to hopefully catch what command it's executing. r? @alexcrichton cc rust-lang#61301
2 parents 023fa2a + 5f4f368 commit 311f811

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/ci/init_repo.sh

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
#!/usr/bin/env bash
22

3+
# FIXME(61301): we need to debug spurious failures with this on Windows on
4+
# Azure, so let's print more information in the logs.
5+
set -x
6+
37
set -o errexit
48
set -o pipefail
59
set -o nounset

0 commit comments

Comments
 (0)