Azure / Azure/azure-devops-cli-extension
Universal Package download hangs after downloading
- Dominant language
- Python
- Stars
- 682
- Forks
- 278
- Avg merge
- 3d 23h
- Merged PRs (30d)
- 3
Description
## I have a number of universal packages in a feed that have all been working fine for a while. My build pipelines consume them. Today, one of those downloads that's worked fine for a while now just hung my pipeline.
So I fired up the CLI to manually test it out and that hung too. I tried a few times, waiting as long as 10 minutes. The package is tiny.
Looking at the disk I can see it did download package. It just never returns from the command.
The call stack you see here is me hitting CTRL+C to stop it.
Note that I can download any other package in the feed with no problems. It's just this one. And I certainly haven't changed/updated it since I started using it on July 12
I proceeded to update my CLI to the very latest version and tried again and it happened again
**Command Name**
`az artifacts universal download
Extension Name: azure-devops. Version: 0.18.0.`
**Errors:**
```
_sigint_handler() takes 1 positional argument but 3 were given
Traceback (most recent call last):
pip-install-363drsgw\knack\knack\cli.py, ln 215, in invoke
cli\core\commands\__init__.py, ln 654, in execute
cli\core\commands\__init__.py, ln 718, in _run_jobs_serially
cli\core\commands\__init__.py, ln 709, in _run_job
azext_devops\dev\common\exception_handler.py, ln 31, in azure_devops_exception_handler
reraise(*sys.exc_info())
Temp\pip-install-363drsgw\six\six.py, ln 703, in reraise
...
proc = self._tool_invoker.run(command_args, new_env, initial_progress_message, _process_stderr)
azext_devops\dev\common\external_tool.py, ln 75, in run
line = bline.decode('utf-8', 'ignore').strip()
TypeError: _sigint_handler() takes 1 positional argument but 3 were given
```
## To Reproduce:
This won't work for anyone outside of my company but here is the exact command I used (with a change to the company name)
` az artifacts universal download --organization "https://dev.azure.com/mycompany/" --project "312f5894-3c98-429d-addd-b42da89a06fb" --scope project --feed "SoftwareInternal" --name "ximea-win-4.20.2" --version "4.20.2" --path .`
## Expected Behavior
I expect it to return after downloading.
## Environment Summary
```
Windows-10-10.0.19041-SP0
Python 3.6.6
Installer: MSI
azure-cli 2.8.0 *
Extensions:
azure-devops 0.18.0
```
## Additional Context
Contributor guide
Assessment
This issue has not been assessed yet.