[CI Failure] SqlServerContainerFixture InitializeAsync fails with Docker port 1433 already in use on shared CI runner
- Dominant language
- C#
- Stars
- 6.3k
- Forks
- 991
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 196
Description
## Build Information
Build: https://github.com/microsoft/aspire/actions/runs/33086828076
Build error leg or test failing: Tests / Run VS Code extension unit tests (Windows) / `Aspire.Hosting.Azure.Tests.AzureSqlPrincipalReconciliationTests`
Pull request: #19730
## Error Message
```
Docker.DotNet.DockerApiException : Docker API responded with status code=InternalServerError, response={"message":"failed to set up container networking: driver failed programming external connectivity on endpoint frosty_lehmann ...: failed to bind host port for 0.0.0.0::172.17.0.3:1433/tcp: address already in use"} at Aspire.Hosting.Azure.Tests.SqlServerContainerFixture.InitializeAsync()
```
## Description
SqlServerContainerFixture InitializeAsync fails with Docker port 1433 already in use on shared CI runner
**Type**: infra-failure
## Occurrences
| Date | Build | Job | PR |
|------|-------|-----|----|
| 2026-08-27 | [33086828076](https://github.com/microsoft/aspire/actions/runs/33086828076) | Tests / Run VS Code extension unit tests (Windows) | #19730 |
Contributor guide
Research direction
Start with Aspire.Hosting.Azure.Tests.SqlServerContainerFixture.InitializeAsync and the failing Aspire.Hosting.Azure.Tests.AzureSqlPrincipalReconciliationTests run from build 33086828076. Inspect how the fixture binds Docker port 1433 on the shared Windows runner. Done means the test no longer fails when that host port is already occupied.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, docker
- Domain
- ci-cd, infrastructure, testing
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 42/100