Azure / Azure/azure-devops-cli-extension

Timeout publish package universal, Azure Artifacts

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

Description

### **This is autogenerated. Please review and update as needed.**

## Describe the bug

**Command Name**
`az artifacts universal publish
Extension Name: azure-devops. Version: 0.17.0.`

**Errors:**
```
_sigint_handler() takes 1 positional argument but 3 were given
Traceback (most recent call last):
python3/dist-packages/knack/cli.py, ln 206, in invoke
cmd_result = self.invocation.execute(args)
cli/core/commands/__init__.py, ln 608, in execute
raise ex
cli/core/commands/__init__.py, ln 666, in _run_jobs_serially
results.append(self._run_job(expanded_arg, cmd_copy))
...
azext_devops/dev/common/artifacttool.py, ln 68, in run_artifacttool
proc = self._tool_invoker.run(command_args, new_env, initial_progress_message, _process_stderr)
azext_devops/dev/common/external_tool.py, ln 73, in run
for bline in iter(self._proc.stderr.readline, b''):
TypeError: _sigint_handler() takes 1 positional argument but 3 were given
```

## To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

- _Put any pre-requisite steps here..._
- `az artifacts universal publish --organization {} --feed {} --name {} --version {} --description {} --path {}`

## Expected Behavior

## Environment Summary
```
Linux-5.13.0-51-generic-x86_64-with-glibc2.29
Python 3.8.10
Shell: bash

azure-cli 2.0.81

Extensions:
azure-devops 0.17.0

```
## Additional Context

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue with `az artifacts universal publish` using the environment details in the report. Start in `azext_devops/dev/common/artifacttool.py` and `azext_devops/dev/common/external_tool.py`, following `run_artifacttool`, `_tool_invoker.run`, and the `_sigint_handler` traceback. Done means the publish path no longer fails with the reported TypeError.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, python
Domain
cli, cloud, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.