Publishing failure during aka.ms link creation
See original GitHub issue- This issue is blocking
- This issue is causing unreasonable pain
Publishing with darc job will yield the following error:
The promotion build finished but the build isn't associated with at least one of the target channels. This is an error scenario. Please contact @dnceng.
Problems using Darc to promote build 68632 to default channels. Stopping execution...
Links to builds:
- https://dev.azure.com/dnceng/internal/_build/results?buildId=863359&view=logs&j=226748d0-f812-5437-d3f0-2dd291f5666e&t=bad11196-972e-5d03-45a8-9db526506073&l=34
- https://dev.azure.com/dnceng/internal/_build/results?buildId=863471&view=logs&j=226748d0-f812-5437-d3f0-2dd291f5666e&t=bad11196-972e-5d03-45a8-9db526506073&l=38
- https://dev.azure.com/dnceng/internal/_build/results?buildId=863293&view=logs&j=226748d0-f812-5437-d3f0-2dd291f5666e&t=bad11196-972e-5d03-45a8-9db526506073&l=34
According to the Maestro Build Promotion pipeline, the error is occurring during aka.ms link creation:
Link to failure: https://dnceng.visualstudio.com/internal/_build/results?buildId=863536&view=results
D:\a\1\s\.packages\microsoft.dotnet.arcade.sdk\6.0.0-beta.20514.1\tools\SdkTasks\PublishArtifactsInManifest.proj(99,5): error : The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.
D:\a\1\s\.packages\microsoft.dotnet.arcade.sdk\6.0.0-beta.20514.1\tools\SdkTasks\PublishArtifactsInManifest.proj(99,5): error : at System.Net.Http.HttpClient.SendAsyncCore(HttpRequestMessage request, HttpCompletionOption completionOption, Boolean async, Boolean emitTelemetryStartStop, CancellationToken cancellationToken)
D:\a\1\s\.packages\microsoft.dotnet.arcade.sdk\6.0.0-beta.20514.1\tools\SdkTasks\PublishArtifactsInManifest.proj(99,5): error : at Microsoft.DotNet.Deployment.Tasks.Links.src.AkaMSLinkManager.<>c__DisplayClass16_0.<<CreateOrUpateLinkBatchAsync>b__0>d.MoveNext() in /_/src/Microsoft.DotNet.Deployment.Tasks.Links/src/AkaMSLinksManager.cs:line 258
D:\a\1\s\.packages\microsoft.dotnet.arcade.sdk\6.0.0-beta.20514.1\tools\SdkTasks\PublishArtifactsInManifest.proj(99,5): error : --- End of stack trace from previous location ---
D:\a\1\s\.packages\microsoft.dotnet.arcade.sdk\6.0.0-beta.20514.1\tools\SdkTasks\PublishArtifactsInManifest.proj(99,5): error : at Microsoft.DotNet.VersionTools.Util.ExponentialRetry.RunAsync(Func`2 actionSuccessfulAsync, CancellationToken cancellationToken) in /_/src/Common/ExponentialRetry.cs:line 48
D:\a\1\s\.packages\microsoft.dotnet.arcade.sdk\6.0.0-beta.20514.1\tools\SdkTasks\PublishArtifactsInManifest.proj(99,5): error : at Microsoft.DotNet.Deployment.Tasks.Links.src.AkaMSLinkManager.CreateOrUpateLinkBatchAsync(IEnumerable`1 links, String linkOwners, String linkCreatedOrUpdatedBy, String linkGroupOwner, Boolean update, Boolean bucketed) in /_/src/Microsoft.DotNet.Deployment.Tasks.Links/src/AkaMSLinksManager.cs:line 248
D:\a\1\s\.packages\microsoft.dotnet.arcade.sdk\6.0.0-beta.20514.1\tools\SdkTasks\PublishArtifactsInManifest.proj(99,5): error : at Microsoft.DotNet.Deployment.Tasks.Links.src.AkaMSLinkManager.<>c__DisplayClass14_0.<<CreateOrUpdateLinksAsync>b__0>d.MoveNext() in /_/src/Microsoft.DotNet.Deployment.Tasks.Links/src/AkaMSLinksManager.cs:line 152
D:\a\1\s\.packages\microsoft.dotnet.arcade.sdk\6.0.0-beta.20514.1\tools\SdkTasks\PublishArtifactsInManifest.proj(99,5): error : --- End of stack trace from previous location ---
D:\a\1\s\.packages\microsoft.dotnet.arcade.sdk\6.0.0-beta.20514.1\tools\SdkTasks\PublishArtifactsInManifest.proj(99,5): error : at Microsoft.DotNet.Deployment.Tasks.Links.src.AkaMSLinkManager.CreateOrUpdateLinksAsync(IEnumerable`1 links, String linkOwners, String linkCreatedOrUpdatedBy, String linkGroupOwner, Boolean overwrite) in /_/src/Microsoft.DotNet.Deployment.Tasks.Links/src/AkaMSLinksManager.cs:line 151
D:\a\1\s\.packages\microsoft.dotnet.arcade.sdk\6.0.0-beta.20514.1\tools\SdkTasks\PublishArtifactsInManifest.proj(99,5): error : at Microsoft.DotNet.Build.Tasks.Feed.LatestLinksManager.CreateOrUpdateLatestLinksAsync(HashSet`1 blobsToPublish, TargetFeedConfig feedConfig, Int32 expectedSuffixLength) in /_/src/Microsoft.DotNet.Build.Tasks.Feed/src/common/LatestLinksManager.cs:line 81
D:\a\1\s\.packages\microsoft.dotnet.arcade.sdk\6.0.0-beta.20514.1\tools\SdkTasks\PublishArtifactsInManifest.proj(99,5): error : at Microsoft.DotNet.Build.Tasks.Feed.PublishArtifactsInManifestBase.PublishBlobsToAzureStorageNugetFeedAsync(HashSet`1 blobsToPublish, Dictionary`2 buildAssets, TargetFeedConfig feedConfig) in /_/src/Microsoft.DotNet.Build.Tasks.Feed/src/PublishArtifactsInManifestBase.cs:line 827
D:\a\1\s\.packages\microsoft.dotnet.arcade.sdk\6.0.0-beta.20514.1\tools\SdkTasks\PublishArtifactsInManifest.proj(99,5): error : at Microsoft.DotNet.Build.Tasks.Feed.PublishArtifactsInManifestBase.HandleBlobPublishingAsync(Dictionary`2 buildAssets) in /_/src/Microsoft.DotNet.Build.Tasks.Feed/src/PublishArtifactsInManifestBase.cs:line 427
D:\a\1\s\.packages\microsoft.dotnet.arcade.sdk\6.0.0-beta.20514.1\tools\SdkTasks\PublishArtifactsInManifest.proj(99,5): error : at Microsoft.DotNet.Build.Tasks.Feed.PublishArtifactsInManifestV3.ExecuteAsync() in /_/src/Microsoft.DotNet.Build.Tasks.Feed/src/PublishArtifactsInManifestV3.cs:line 156
##[error].packages\microsoft.dotnet.arcade.sdk\6.0.0-beta.20514.1\tools\SdkTasks\PublishArtifactsInManifest.proj(99,5): error : (NETCORE_ENGINEERING_TELEMETRY=Publish) The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.
We should:
- Using Runfro (if possible) determine how often this error occurs.
- Use the resulting data to determine a solution for hardening against this error in the future.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
At least one resource deployment operation failed.
Publishing error Error while publishing : At least one resource deployment operation failed. Please list deployment operations for details.
Read more >Publishing a .NET app failed - Developer Community
When I try to publish .Net Console App I get this error: Failed to retrieve information about 'Microsoft.NETCore.App.Runtime.win-x86' from remote source ...
Read more >The subscription is not registered to use namespace ' ...
Going through this tutorial "Create a pipeline with Copy Activity using Visual Studio" and receiving this error when I hit publish. Creating ......
Read more >Troubleshooting Service Bus issues
This troubleshooting guide covers failure investigation techniques, common errors for the credential types in the Azure Service Bus .
Read more >Design Table Error: "Failed to connect. Link may be broken ...
Following a Windows Update rolled out on May 10th 2022, the following error may appear when editing a design table: "Failed to connect....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
These failures are due to 403 response from the Azure Blob Storage, not failures during aka.ms link creation, which is being tracked with this issue: https://github.com/dotnet/arcade/issues/6449
P.S. For future reference, the Publish to Darc step includes a link to the Maestro Build Promotion pipeline:
And then from there, you can see what the error is: https://dnceng.visualstudio.com/internal/_build/results?buildId=864495&view=logs&j=33961d73-1e6b-5306-1d3b-c6c083bff7de&t=577fb5b9-bfb7-5430-eb7a-5c5120b89b4d&l=245
I have not been able to find evidence of an aka.ms outage, so I think this was just transient.