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.

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:

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. 

FR discussion link: https://teams.microsoft.com/l/message/19:afba3d1545dd45d7b79f34c1821f6055@thread.skype/1603470579274?tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47&groupId=4d73664c-9f2f-450d-82a5-c2f02756606d&parentMessageId=1603470579274&teamName=.NET Core Eng Services Partners&channelName=First Responders&createdTime=1603470579274

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:closed
  • Created 3 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
missymessacommented, Oct 26, 2020

Similar failures from Friday: https://dev.azure.com/dnceng/internal/_build/results?buildId=864419&view=logs&j=226748d0-f812-5437-d3f0-2dd291f5666e&t=bad11196-972e-5d03-45a8-9db526506073 https://dev.azure.com/dnceng/internal/_build/results?buildId=864547&view=logs&j=226748d0-f812-5437-d3f0-2dd291f5666e&t=bad11196-972e-5d03-45a8-9db526506073

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:

image

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

0reactions
michellemcdanielcommented, Oct 28, 2020

I have not been able to find evidence of an aka.ms outage, so I think this was just transient.

Read more comments on GitHub >

github_iconTop 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 >

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