Azure / azure-cli-extensions

Public Repository for Extensions of Azure CLI.
https://docs.microsoft.com/en-us/cli/azure
MIT License
384 stars 1.25k forks source link

Automatic update cannot update ArtifactTool under elevated & unelevated command prompt #4712

Open bcrosser opened 2 years ago

bcrosser commented 2 years ago

This is autogenerated. Please review and update as needed.

Describe the bug

Trying to download a universal package from Azure Dev Ops using the AZ command line tool. Run command to download and it fails at the download of ArtifactTool.

Command Name az artifacts universal download Extension Name: azure-devops. Version: 0.4.0.

Errors:

[WinError 2] The system cannot find the file specified
Traceback (most recent call last):
pip-install-3pnsb50r\knack\knack\cli.py, ln 206, in invoke
cli\core\commands\__init__.py, ln 608, in execute
cli\core\commands\__init__.py, ln 666, in _run_jobs_serially
cli\core\commands\__init__.py, ln 657, in _run_job
azext_devops\dev\common\exception_handler.py, ln 22, in azure_devops_exception_handler
    reraise(*sys.exc_info())
Temp\pip-install-3pnsb50r\six\six.py, ln 703, in reraise
cli\core\commands\__init__.py, ln 636, in _run_job
...
Azure\CLI2\lib\subprocess.py, ln 709, in __init__
    restore_signals, start_new_session)
Azure\CLI2\lib\subprocess.py, ln 997, in _execute_child
    startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified

To Reproduce:

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

Expected Behavior

It downloads the universal package.

Environment Summary

Windows-10-10.0.19041-SP0
Python 3.6.6

azure-cli 2.1.0

Extensions:
azure-devops 0.4.0

Additional Context

ghost commented 2 years ago

Thank you for your feedback. This has been routed to the support team for assistance.

yonzhan commented 2 years ago

route to CXP team

ghost commented 2 years ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @v-anvashist, @V-hmusukula.

Issue Details
### **This is autogenerated. Please review and update as needed.** ## Describe the bug Trying to download a universal package from Azure Dev Ops using the AZ command line tool. Run command to download and it fails at the download of ArtifactTool. **Command Name** `az artifacts universal download Extension Name: azure-devops. Version: 0.4.0.` **Errors:** ``` [WinError 2] The system cannot find the file specified Traceback (most recent call last): pip-install-3pnsb50r\knack\knack\cli.py, ln 206, in invoke cli\core\commands\__init__.py, ln 608, in execute cli\core\commands\__init__.py, ln 666, in _run_jobs_serially cli\core\commands\__init__.py, ln 657, in _run_job azext_devops\dev\common\exception_handler.py, ln 22, in azure_devops_exception_handler reraise(*sys.exc_info()) Temp\pip-install-3pnsb50r\six\six.py, ln 703, in reraise cli\core\commands\__init__.py, ln 636, in _run_job ... Azure\CLI2\lib\subprocess.py, ln 709, in __init__ restore_signals, start_new_session) Azure\CLI2\lib\subprocess.py, ln 997, in _execute_child startupinfo) FileNotFoundError: [WinError 2] The system cannot find the file specified ``` ## To Reproduce: Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information. - `az artifacts universal download --organization {} --feed {} --verbose --name {} --version {} --path {}` ## Expected Behavior It downloads the universal package. ## Environment Summary ``` Windows-10-10.0.19041-SP0 Python 3.6.6 azure-cli 2.1.0 Extensions: azure-devops 0.4.0 ``` ## Additional Context
Author: bcrosser
Assignees: -
Labels: `customer-reported`, `Service Attention`, `DevOps`, `CXP Attention`
Milestone: -
v-anvashist commented 2 years ago

We are working on to reproduce this issue and will share the updates.

v-soujanya commented 2 years ago

Hi @bcrosser, we found that similar issue that has logged on previously mentioned below. Please follow the steps mentioned in the below URL. [https://github.com/Azure/azure-devops-cli-extension/issues/891]

v-soujanya commented 2 years ago

Hi @bcrosser any update on the above issue, is it working?

MarkRx commented 3 months ago

Is there a way to disable auto updating?