microsoft / microsoft/aspire

[CI Failure] SQL Server container exits with CoInitializeSecurity failure (HRESULT 0x800706b5)

Open
#18,901 1 comment 0 reactions 0 assignees View on GitHub
ci-failure-cause
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/30237175621
Build error leg: Tests / Microsoft.EntityFrameworkCore.SqlServer / Microsoft.EntityFrameworkCore.SqlServer (ubuntu-latest)
Pull request: #18865

## Error Message

```
Container exited with code 255.
Stderr:
ERROR: CoInitializeSecurity failure. (HRESULT 0x800706b5)
ContainerNotRunningException: Container ... exited with code 255.
Docker API responded with status code=Conflict, response={"message":"container ... is not running"}
```

## Description

SQL Server container exits with CoInitializeSecurity failure (HRESULT 0x800706b5)

**Type**: infra-failure

## Occurrences

| Date | Build | Job | PR |
|------|-------|-----|----|
| 2026-07-27 | [30237175621](https://github.com/microsoft/aspire/actions/runs/30237175621) | Tests / Microsoft.EntityFrameworkCore.SqlServer / Microsoft.EntityFrameworkCore.SqlServer (ubuntu-latest) | #18865 |

Contributor guide

Open the contributing guide

Research direction

Start with build 30237175621 and the Tests / Microsoft.EntityFrameworkCore.SqlServer job to inspect the SQL Server container failure and its CoInitializeSecurity error. Determine the cause of the exit code 255, then verify that the container remains running and the affected test leg passes.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, docker, github-actions
Domain
ci-cd, databases, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.