Azure / Azure/azure-devops-cli-extension

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

Open
#1,400 0 comments 0 reactions 0 assignees View on GitHub
Feature
Dominant language
Python
Stars
682
Forks
278
Avg merge
3d 23h
Merged PRs (30d)
3

Description

We are using [docker dev containers ](https://code.visualstudio.com/docs/devcontainers/create-dev-container) 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](https://github.com/Azure/azure-devops-cli-extension/assets/127345329/d7740e31-993c-463e-93df-74af03d1e28c)

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 {}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.