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

az artifacts universal download is failing to download 2 of 17 files from artifact feed #1301

Open traci-drescher opened 1 year ago

traci-drescher commented 1 year ago

az artifact universal download error.txt

This is autogenerated. Please review and update as needed.

Describe the bug

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

Errors:

Process ['C:\\Users\\tdrescher\\.azure\\azuredevops\\cli\\tools\\artifacttool\\ArtifactTool_win10-x64_0.2.250\\artifacttool', 'universal', 'download', '--service', 'https://codan.visualstudio.com/', '--patvar', 'AZURE_DEVOPS_EXT_ARTIFACTTOOL_PATVAR', '--feed', 'MAX-Dispatch', '--package-name', 'max-dispatch', '--package-version', '20.0.0', '--path', 'C:\\Users\\Public\\Downloads\\temp', '--project', '35e7ab91-134d-47ae-ba3c-316ef5dbda96'] with PID 29664 exited with return code 1

To Reproduce:

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

Expected Behavior

Environment Summary

Windows-10-10.0.19042-SP0
Python 3.10.5
Installer: MSI

azure-cli 2.40.0

Extensions:
azure-devops 0.25.0

Dependencies:
msal 1.18.0b1
azure-mgmt-resource 21.1.0b1

Additional Context

traci-drescher commented 1 year ago

So this used to work with no issues, then about 3 weeks ago, it started having issues, I have tried uninstalling the az cli and re-installing it but just get the same errors. If I try downloading from a different artifact feed using similar commands everything works fine, it seems to be this one artifact feed. There are 17 items in it, 2 folders containing some items, and 15 other .zip or .msi files, recently 2 of the .zip files are failing to download. I attached the errors that printed out from powershell. I've searched and tried everything that seemed to work for others but none have worked for me.

I'm using powershell as a normal user but have also tried the cmd prompt same issue. If I use Powershell Admin and then run the commands then it works but, my company will soon not allow us to use Powershell Admin so this really needs to work as a normal user. I have all permissions to our ADO as I'm on the DevOps team, so I don't understand why it seems that the issue is a permission thing.

omkaracharya17 commented 1 year ago

any resolution? Exact same issue for me.