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.

Publish to BAR Fails with 500 error when a repo has the same default channel association for both the github and internal azure devops repo

See original GitHub issue

Reported by @vatsan-madhavan ; a few of his builds failing when interacting with BAR:

https://dev.azure.com/dnceng/internal/_build/results?buildId=129133 https://dev.azure.com/dnceng/internal/_build/results?buildId=129107

Error:


D:\a\1\s\.packages\microsoft.dotnet.arcade.sdk\1.0.0-beta.19167.10\tools\SdkTasks\PublishBuildAssets.proj(30,5): error : RestApiException`1: The response contained an invalid status code 500 Internal Server Error
D:\a\1\s\.packages\microsoft.dotnet.arcade.sdk\1.0.0-beta.19167.10\tools\SdkTasks\PublishBuildAssets.proj(30,5): error : 
D:\a\1\s\.packages\microsoft.dotnet.arcade.sdk\1.0.0-beta.19167.10\tools\SdkTasks\PublishBuildAssets.proj(30,5): error : Body: {"message":"An error occured.","errors":null}
D:\a\1\s\.packages\microsoft.dotnet.arcade.sdk\1.0.0-beta.19167.10\tools\SdkTasks\PublishBuildAssets.proj(30,5): error :    at Microsoft.DotNet.Maestro.Client.Builds.CreateInternalAsync(BuildData body, CancellationToken cancellationToken) in /_/src/Maestro/Client/src/Generated/Builds.cs:line 285
D:\a\1\s\.packages\microsoft.dotnet.arcade.sdk\1.0.0-beta.19167.10\tools\SdkTasks\PublishBuildAssets.proj(30,5): error :    at Microsoft.DotNet.Maestro.Client.Builds.CreateAsync(BuildData body, CancellationToken cancellationToken) in /_/src/Maestro/Client/src/Generated/Builds.cs:line 210
D:\a\1\s\.packages\microsoft.dotnet.arcade.sdk\1.0.0-beta.19167.10\tools\SdkTasks\PublishBuildAssets.proj(30,5): error :    at Microsoft.DotNet.Maestro.Tasks.PushMetadataToBuildAssetRegistry.PushMetadataAsync(CancellationToken cancellationToken) in /_/src/Maestro/Microsoft.DotNet.Maestro.Tasks/src/PushMetadataToBuildAssetRegistry.cs:line 84
D:\a\1\s\.packages\microsoft.dotnet.arcade.sdk\1.0.0-beta.19167.10\tools\SdkTasks\PublishBuildAssets.proj(30,5): error : 

cc @jcagme @mmitche @riarenas

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
riarenascommented, Mar 20, 2019

In theory nothing. Only one of them should be needed. However we should not be crashing if both entries exist. I’ll be keeping an eye to make sure the correct things are being assigned while I submit the correct fix.

1reaction
JohnTortugocommented, Mar 20, 2019

Thanks for looking into this Ricardo

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error 500 when forking a project for the second time (after ...
tried to push this branch to origin (my repository) but I got the error ! [remote rejected] error: failed to push some refs...
Read more >
How to fix error 500 for connecting Azure databricks ...
I am trying to connect a Repo from Azure DevOps to Azure Databricks. ... My colleague can create a repo, and we have...
Read more >
github - I am getting 500 error on git clone
500 Internal Server Error​​ I have the same problem, but in GitLab, and the answer to the problem is that GitLabis make a...
Read more >
Webhooks | GitLab
Webhooks are custom HTTP callbacks that you define. They are usually triggered by an event, such as pushing code to a repository or...
Read more >
Publish messages to topics | Cloud Pub/Sub
A publisher application creates and sends messages to a topic. Pub/Sub offers at-least-once message delivery and best-effort ordering to existing subscribers.
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