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
UseDotNet@2 task failed on 404 at least retry expected #15086
Comments
We are having the same problem with 3.1.411:
It appears quite frequently and breaks many of our builds. |
I've opened the issue here as well: https://developercommunity.visualstudio.com/t/Use-NET-Core-task-fails-randomly-to-i/1486997. Feels like a CDN issue as the URLs sometimes work. |
Having this issue randomly since last few hours for 3.1.411, retry doesn't work.
|
|
I'm seeing the same issue here. |
This seems to be an issue with the download links provided in index file for downloading .NET. I have created an issue on .NET repo. |
azure devops team seems also planning something or the retry: https://dev.azure.com/mseng/AzureDevOpsRoadmap/_workitems/edit/1859330/ |
@davesmits @bishal-pdMSFT any workaround? |
@arroyc as a workaround, you can try running the dotnet-install which is provided by .NET team. For example: You could run this script in a Powershell task and replace the UseDotNet task for the time being. |
@davesmits - the link you provided seems to be locked/hidden. Is there a public link? |
@rp-bneagle try in-private. then it mostly works |
I'm having the same issue here.
|
This is now breaking more than 50% of our builds, SEVERELY impacting development. Please fix urgently! |
This had been intermittent and re-queue of pipeline would resolve. Since 3:00 PM Eastern, we have what looks like 100% fail rate on all .NET Core 3.1 pipelines downloading. Sample log: 2021-07-26T21:24:49.3960942Z Tool to install: .NET Core sdk version 3.1.100. |
guys .. sorry but its not intermittent any more for me .. im seeing 100% failure in first time and repeats ... please help ! |
can we create a backup cdn or something like that? |
My team was using the ADO ubuntu agent https://github.com/actions/virtual-environments/blob/ubuntu20/20210718.1/images/linux/Ubuntu2004-README.md which already had dotnet installed. |
Failing also for .Net 5 |
@llehn @a-nightingale @arroyc the issue with outside of UseDotNet task and hence really difficult to fix inside the task. You can use a similar to following powershell task as a workaround replacement
|
This is also a very reasonable workaround. Microsoft hosted agents already have many version of .NET installed and hence you can re-try with disabling the UseDotNet task. Should work for a majority of cases. In case you are using self hosted agents, then you can pre-install required version of .NET on the agent machine and remove dependency on the task. |
Right now I tried again and one of my pipelines went ok with the step. I don't know if is fixed or is just the intermittence. |
Folks, a fix was deployed around an hour ago and we wanna confirm that customers are not hitting the issue any longer. Can you let me know if your pipeline is now working or still doesn't? Thanks! |
It works for me! No issues in the last hour 👍 |
Note
Issues in this repo are for tracking bugs, feature requests and questions for the tasks in this repo
For a list:
https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks
If you have an issue or request for the Azure Pipelines service, use developer community instead:
https://developercommunity.visualstudio.com/spaces/21/index.html )
Required Information
Entering this information will route you directly to the right team and expedite traction.
Question, Bug, or Feature?
Type: Bug
Enter Task Name: UseDotNet@2
list here (V# not needed):
https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks
Environment
Server - Azure Pipelines or TFS on-premises?
If using TFS on-premises, provide the version:
If using Azure Pipelines, provide the account name, team project name, build definition name/build number:
Agent - Hosted or Private:
If using Hosted agent, provide agent queue name:
If using private agent, provide the OS of the machine running the agent and the agent version:
Issue Description
UseDotNet@2 failed with a status code 404 while downloading: https://download.visualstudio.microsoft.com/download/pr/5f0f07ab-cd9a-4498-a9f7-67d90d582180/2a3db6698751e6cbb93ec244cb81cc5f/dotnet-sdk-5.0.202-linux-x64.tar.gz
in Task in our yml:
This causes in almost every second build.
Suggestion Retry expected:
Task logs
[Enable debug logging and please provide the zip file containing all the logs for a speedy resolution]
Troubleshooting
Checkout how to troubleshoot failures and collect debug logs: https://docs.microsoft.com/en-us/vsts/build-release/actions/troubleshooting
Error logs
Similar Issue
#14793
The text was updated successfully, but these errors were encountered: