microsoft / microsoft/aspire

[CI Failure] Windows process initialization failure (exit code -1073741502 / 0xC0000142) in post-test steps

Open
#18,720 0 comments 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/29060131780
Build error leg: Tests / Hosting.Azure / Hosting.Azure (windows-latest)
Pull request: #18696

## Error Message

```
Process completed with exit code -1073741502. (0xC0000142 STATUS_DLL_INIT_FAILED) occurring in post-test upload/cleanup steps after all tests pass successfully on Windows runners.
```

## Description

Windows process initialization failure (exit code -1073741502 / 0xC0000142) in post-test steps

**Type**: infra-failure

## Occurrences

| Date | Build | Job | PR |
|------|-------|-----|----|
| 2026-07-10 | [29060131780](https://github.com/microsoft/aspire/actions/runs/29060131780) | Tests / Hosting.Azure / Hosting.Azure (windows-latest) | #18696 |
| 2026-07-18 | [29622211818](https://github.com/microsoft/aspire/actions/runs/29622211818) | Tests / Hosting.Dotnet / Hosting.Dotnet (windows-latest) | #18813 |
| 2026-07-21 | [29828970048](https://github.com/microsoft/aspire/actions/runs/29828970048) | Tests / Azure.Search.Documents / Azure.Search.Documents (windows-latest) | #18816 |
| 2026-07-22 | [29884310827](https://github.com/microsoft/aspire/actions/runs/29884310827) | Tests / Hosting.PostgreSQL / Hosting.PostgreSQL (windows-latest) | #18853 |
| 2026-07-27 | [30225781652](https://github.com/microsoft/aspire/actions/runs/30225781652) | Tests / Hosting.Browsers / Hosting.Browsers (windows-latest) | #18839 |
| 2026-08-04 | [30906478483](https://github.com/microsoft/aspire/actions/runs/30906478483) | Tests / Hosting-1 / Hosting-1 (windows-latest) | #1056 |
| 2026-08-05 | [31047577163](https://github.com/microsoft/aspire/actions/runs/31047577163) | Tests / Hosting-1 / Hosting-1 (windows-latest) | #18850 |
| 2026-08-11 | [31481900781](https://github.com/microsoft/aspire/actions/runs/31481900781) | Tests / Hosting-1 / Hosting-1 (windows-latest) | #19222 |
| 2026-08-12 | [31567169550](https://github.com/microsoft/aspire/actions/runs/31567169550) | Tests / Hosting.Sdk / Hosting.Sdk (windows-latest) | #19276 |
| 2026-08-12 | [31574459556](https://github.com/microsoft/aspire/actions/runs/31574459556) | Tests / Hosting.Qdrant / Hosting.Qdrant (windows-latest) | #19127 |
| 2026-08-13 | [31654765605](https://github.com/microsoft/aspire/actions/runs/31654765605) | Tests / Templates-BuildAndRunTemplateTests / Templates-BuildAndRunTemplateTests (windows-latest) | #19321 |
| 2026-08-13 | [31739682865](https://github.com/microsoft/aspire/actions/runs/31739682865) | Tests / Cli / Cli (windows-latest) | #16842 |
| 2026-08-24 | [32756925219](https://github.com/microsoft/aspire/actions/runs/32756925219) | Tests / Acquisition / Acquisition (windows-latest) | #19592 |
| 2026-08-26 | [32999137654](https://github.com/microsoft/aspire/actions/runs/32999137654) | Tests / Azure.Npgsql / Azure.Npgsql (windows-latest) | #19716 |
| 2026-08-28 | [33148354008](https://github.com/microsoft/aspire/actions/runs/33148354008) | Tests / RabbitMQ.Client / RabbitMQ.Client (windows-latest) | #19661 |
| 2026-09-01 | [33511764214](https://github.com/microsoft/aspire/actions/runs/33511764214) | Tests / Microsoft.Data.SqlClient / Microsoft.Data.SqlClient (windows-latest) | #19760 |
| 2026-09-02 | [33578521517](https://github.com/microsoft/aspire/actions/runs/33578521517) | Tests / Hosting.GitHub.Models / Hosting.GitHub.Models (windows-latest) | #19670 |
| 2026-09-11 | [34655355873](https://github.com/microsoft/aspire/actions/runs/34655355873) | Tests / No-package tests (collection, Aspire.Hosting.Tests, Hosting-4, Hosting-4, tests/Aspire.Hosting.Tests) / Hosting-4 (windows-latest) | #20072 |
| 2026-09-15 | [35023188186](https://github.com/microsoft/aspire/actions/runs/35023188186) | Tests / No-package tests (regular, Aspire.Hosting.Redis.Tests, Hosting.Redis, Hosting.Redis, tests/Aspire... / Hosting.Redis (windows-latest) | #20146 |
| 2026-09-15 | [35023788042](https://github.com/microsoft/aspire/actions/runs/35023788042) | Tests / No-package tests (regular, Aspire.RabbitMQ.Client.Tests, RabbitMQ.Client, RabbitMQ.Client, tests/... / RabbitMQ.Client (windows-latest) | #20052 |

Contributor guide

Open the contributing guide

Research direction

Start by comparing the linked Windows workflow runs, especially the post-test upload and cleanup steps, and confirm that the tests themselves pass before the process initialization failure. Trace the common workflow entry point across the listed jobs; done means the Windows jobs complete their post-test steps without exit code 0xC0000142.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.