donet/roslyn-debug is not able to publish to darc
See original GitHub issueBuild
Pipelines - Run 20220308.1 logs (azure.com)
Build leg reported
Publish using darc
Error message
The engineering services team will fill in the error message using known issues guidance.
{
"ErrorMessage" : ""
}
D:\a\1\s.dotnet\sdk\6.0.100-rc.1.21430.12\NuGet.targets(130,5): error : Unable to load the service index for source https://pkgs.dev.azure.com/dnceng/internal/_packaging/roslyn-debug/nuget/v3/index.json. [C:\Users\VssAdministrator\AppData\Local\Temp\152bc0x1.cho\restore.csproj] D:\a\1\s.dotnet\sdk\6.0.100-rc.1.21430.12\NuGet.targets(130,5): error : Response status code does not indicate success: 401 (Unauthorized). [C:\Users\VssAdministrator\AppData\Local\Temp\152bc0x1.cho\restore.csproj] The tool package could not be restored. Tool ‘microsoft.dotnet.darc’ failed to install. This failure may have been caused by:
- You are attempting to install a preview release and did not use the --version option to specify the version.
- A package by this name was found, but it was not a .NET tool.
- The required NuGet feed cannot be accessed, perhaps because of an Internet connection problem.
- You mistyped the name of the tool.
For more reasons, including package naming enforcement, visit https://aka.ms/failure-installing-tool The term ‘D:\a\1\s\artifacts\tmp\Debug\darc\a02ea5b4-1333-47e0-8cc2-aef9a4ac1ab2\darc.exe’ is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. ##error There was an error while trying to publish build ‘128970’ to default channels. ##[error]PowerShell exited with code ‘1’.
Additional information about the issue reported
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (9 by maintainers)
Top GitHub Comments
I didn’t see you had assigned yourself to this @epananth. I’ll let you investigate. I think it’s related to the fact that this repo is only using a single private feed in their nuget.config: https://dev.azure.com/dnceng/internal/_git/dotnet-roslyn-debug?version=GBmain&path=/NuGet.Config which is not being authenticated against during the publishing, but darc doesn’t need that feed at all.
Spoke to @tmat
So he is working on fixing the repo. Closing this issue for now…