question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failed to parse structured output from Universal Packages tooling (ArtifactTool)

See original GitHub issue

This is autogenerated. Please review and update as needed.

Describe the bug

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

Errors:

Process ['/home/xxxx/.azure/azuredevops/cli/tools/artifacttool/ArtifactTool_linux-x64_0.2.151/artifacttool', 'universal', 'download', '--service', 'https://xxxx.yyyy.com/', '--patvar', 'AZURE_DEVOPS_EXT_ARTIFACTTOOL_PATVAR', '--feed', XXXX-release', '--package-name', 'PACKAGE_', '--package-version', 'VERSION', '--path', '.'] with PID 816 exited with return code -6

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 download --verbose --organization {} --feed {} --name {} --version {} --path {}

Expected Behavior

Environment Summary

Linux-4.4.0-18362-Microsoft-x86_64-with-fedora-31-Generic
Python 3.7.6

azure-cli 2.1.0

Extensions:
azure-devops 0.17.0

Additional Context

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
lynshicommented, Apr 15, 2021

I ran into this error when trying to download a universal artifact while building a Docker image based on debian:latest, and the workaround I used was to do

RUN export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1 && az artifacts universal download <...>

I found this workaround from this dotnet issue based on the output shown with --debug on the az artifacts universal download command.

Note that an Azure DevOps PAT is required to enable az artifacts universal download in the Dockerfile; for example;

RUN echo ${FEED_TOKEN} | az devops login --organization <organization>

I think #826 might be related to this issue.

3reactions
ankur8commented, Sep 2, 2020

any update on this we are getting on centos machine same error ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Failed to parse structured output from Universal Packages ...
I fail to download any of packages with “az artifacts universal download” cmd, but it works well before. I don't know why these...
Read more >
Publish and download universal packages with Azure CLI
Using Azure CLI, you can publish and download universal packages from the command line. Uploaded packages can vary in size (up to 4...
Read more >
Publish files with UniversalPackages@0 - "The path ...
I'm trying to publish a file (Helloworld.txt) to my Universal Packages directory to pass on to ...
Read more >
Downloading artifacts from Azure DevOps Universal Package ...
In my particular case I was trying to download an artifact from the Azure DevOps Universal Package feed using the az cli, which...
Read more >
SOLVED: "No usable version of the libssl was found"
Have you ever encountered this error when trying to build a dotnet core application in GitHub Actions... Tagged with dotnet, core, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found