Skip to content

[BUG]: ##[error]Failed to download or parse releases-index.json with error: {} #20159

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
4 of 7 tasks
smg-bg opened this issue Jul 16, 2024 · 7 comments
Open
4 of 7 tasks
Labels
Area: ABTT Akvelon Build Tasks Team area of work bug stale Task: UseDotNet

Comments

@smg-bg
Copy link

smg-bg commented Jul 16, 2024

New issue checklist

Task name

UseDotNet@2

Task version

2.238.1

Issue Description

This happens more and more frequently and people are complaining in an existing issue #10969 for the past months. It seems like a capacity issue at the endpoint where releases-index.json is downloaded from. Even if it succeeds sometimes it takes minutes to complete.

Environment type (Please select at least one enviroment where you face this issue)

  • Self-Hosted
  • Microsoft Hosted
  • VMSS Pool
  • Container

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

Azure DevOps Server Version (if applicable)

No response

Operation system

Ubuntu

Relevant log output

Tool to install: .NET Core sdk version 6.x.
##[error]Failed to download or parse releases-index.json with error: {}
Finishing: dotnet use 6.x

Full task logs with system.debug enabled

##[debug]loading INPUT_VERSION
##[debug]loading INPUT_INCLUDEPREVIEWVERSIONS
##[debug]loading INPUT_INSTALLATIONPATH
##[debug]loading INPUT_PERFORMMULTILEVELLOOKUP
##[debug]loading ENDPOINT_AUTH_SYSTEMVSSCONNECTION
##[debug]loading ENDPOINT_AUTH_SCHEME_SYSTEMVSSCONNECTION
##[debug]loading ENDPOINT_AUTH_PARAMETER_SYSTEMVSSCONNECTION_ACCESSTOKEN
##[debug]loaded 10
##[debug]Agent.ProxyUrl=undefined
##[debug]Agent.CAInfo=undefined
##[debug]Agent.ClientCert=undefined
##[debug]Agent.SkipCertValidation=undefined
##[debug]Agent.ProxyUrl=undefined
##[debug]Agent.CAInfo=undefined
##[debug]Agent.ClientCert=undefined
##[debug]check path : /var/vsts/_tasks/UseDotNet_b0ce7256-7898-45d3-9cb5-176b752bfea6/2.238.1/node_modules/azure-pipelines-tool-lib/lib.json
##[debug]adding resource file: /var/vsts/_tasks/UseDotNet_b0ce7256-7898-45d3-9cb5-176b752bfea6/2.238.1/node_modules/azure-pipelines-tool-lib/lib.json
##[debug]system.culture=en-US
##[debug]Setting resource path to /var/vsts/_tasks/UseDotNet_b0ce7256-7898-45d3-9cb5-176b752bfea6/2.238.1/task.json
##[debug]check path : /var/vsts/_tasks/UseDotNet_b0ce7256-7898-45d3-9cb5-176b752bfea6/2.238.1/task.json
##[debug]adding resource file: /var/vsts/_tasks/UseDotNet_b0ce7256-7898-45d3-9cb5-176b752bfea6/2.238.1/task.json
##[debug]system.culture=en-US
##[debug]check path : /var/vsts/_tasks/UseDotNet_b0ce7256-7898-45d3-9cb5-176b752bfea6/2.238.1/node_modules/azure-pipelines-tasks-packaging-common/module.json
##[debug]adding resource file: /var/vsts/_tasks/UseDotNet_b0ce7256-7898-45d3-9cb5-176b752bfea6/2.238.1/node_modules/azure-pipelines-tasks-packaging-common/module.json
##[debug]system.culture=en-US
##[debug]useGlobalJson=false
##[debug]packageType=sdk
##[debug]version=6.x
##[debug]vsVersion=undefined
##[debug]nugetVersion=undefined
##[debug]installationPath=/opt/hostedtoolcache/dotnet
##[debug]performMultiLevelLookup=false
##[debug]includePreviewVersions=false
##[debug]workingDirectory=/var/vsts/19/s
##[debug]agent.proxyurl=undefined
##[debug]AZURE_HTTP_USER_AGENT=VSTS_cd22ac3b-8e21-425a-b33e-d0e4fed84dce_build_289_0
Tool to install: .NET Core sdk version 6.x.
##[debug]Agent environment resources - Disk: / Available 131452.00 MB out of 257210.00 MB, Memory: Used 1985.00 MB out of 24026.00 MB, CPU: Usage 74.80%
##[debug]task result: Failed
##[error]Failed to download or parse releases-index.json with error: {}
##[debug]Processed: ##vso[task.issue type=error;]Failed to download or parse releases-index.json with error: {}
##[debug]Processed: ##vso[task.complete result=Failed;]Failed to download or parse releases-index.json with error: {}
Finishing: dotnet use 6.x
 

Repro steps

steps:
- task: UseDotNet@2
  displayName: 'dotnet use 6.x'
  inputs:
    version: 6.x
@jmyersmsft
Copy link
Member

Azure Artifacts does not own any part of the UseDotNet task

@smg-bg
Copy link
Author

smg-bg commented Jul 17, 2024

@jmyersmsft how is Azure Artifacts related? I saw that the source code for the UseDotNet task is in the current repo where I've opened this tickeet.

@jmyersmsft
Copy link
Member

Sorry, this is indeed the correct repo, just the "Area: Artifacts" label was not.

@localconst localconst added Area: ABTT Akvelon Build Tasks Team area of work Task: UseDotNet and removed triage labels Jul 22, 2024
@localconst
Copy link
Contributor

Thanks for the reporting! We are working on higher priority issues now, but we'll get back to this one soon

@Varorbc
Copy link
Contributor

Varorbc commented Aug 9, 2024

We have the same issue. any update?

@Varorbc
Copy link
Contributor

Varorbc commented Oct 22, 2024

The error message is as follows, we are really in pain, hope it will be resolved soon
{"errno":"ECONNRESET","code":"ECONNRESET","syscall":"read"}

Copy link

This issue is stale because it has been open for 180 days with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days

@github-actions github-actions bot added the stale label Apr 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: ABTT Akvelon Build Tasks Team area of work bug stale Task: UseDotNet
Projects
None yet
Development

No branches or pull requests

5 participants