Azure / azure-devops-cli-extension

Azure DevOps Extension for Azure CLI
https://docs.microsoft.com/en-us/cli/azure/ext/azure-devops/?view=azure-cli-latest
MIT License
617 stars 239 forks source link

[Error] Artifact Tool hangs and causes docker dev container to lose network connectivity #1400

Open zecheng01 opened 3 months ago

zecheng01 commented 3 months ago

We are using docker dev containers with WSL on Windows for development. When using the universal download command to download an artifact, on regular commercial laptop. there is a near 50% chance that the artifact tool may hang and causes the entire dev container to lost network connectivity.

Note, we are actively using the dev container environment in a large scale. And we are not seeing this issue with any other tool. It only occurs in docker environment, not when running in WSL directly.

image

I can repro the issue by running the artifact tool directly:

/root/.azure/azuredevops/cli/tools/artifacttool/ArtifactTool_linux-x64_0.2.304/artifacttool universal download --service {} --patvar {}--feed {}  --package-name {} --package-version {} --path . --project {}