dotnet / sdk-container-builds

Libraries and build tooling to create container images from .NET projects using MSBuild

Home Page:https://learn.microsoft.com/en-us/dotnet/core/docker/publish-as-container

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fix CI Registry instability

baronfel opened this issue · comments

Describe the bug

We have a re-occurring test failure in the SDK CI that's captured here - we should mitigate this. The tests that fail are ones that interact with a local registry - we should consider finding ways to mitigate the failure spawning the container with the local registry. Some options to do this might be:

  • spawn the registry via podman
  • retry the registry spawning/more validations in the spawning stage
  • find a trusted externally-available registry that we could use in lieu of spawning
  • split the registry-container tests into a separate CI run for a) speed and b) stability of other test legs

We agreed to do the following:

  • retry the registry spawning/more validations in the spawning stage

p3 and 4 are similar to #371

attempted to fix the problem in dotnet/sdk#33955
if new failures are noticed, please reopen.