microsoft / microsoft/aspire

[CI Failure] Flaky: ParentProcessLifetimeReusesResourcesAcrossAppRestartsAndStopsWhenParentExits fails due to DCP timestamp parsing BadRequest

Open
#18,794 1 comment 0 reactions 0 assignees View on GitHub
ci-failure-cause test-failure
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/29441229739
Build error leg or test failing: Tests / Hosting-1 / Hosting-1 (8-core-ubuntu-latest) / `Aspire.Hosting.Tests.DistributedApplicationTests.ParentProcessLifetimeReusesResourcesAcrossAppRestartsAndStopsWhenParentExits`
Pull request: #18792

## Error Message

```
k8s.Autorest.HttpOperationException: Operation returned an invalid status code 'BadRequest', response body {"message":"Container in version \"v1\" cannot be handled as a Container: parsing time \"0001-01-01T00:06:30Z\" as \"2006-01-02T15:04:05.000000Z07:00\": cannot parse \"Z\" as \".000000\"","reason":"BadRequest","code":400}
=> Resource 'parent-process-lifetime-reuse-redis' failed to meet the predicate condition before the operation was cancelled. Current State: FailedToStart
```

## Description

Flaky: ParentProcessLifetimeReusesResourcesAcrossAppRestartsAndStopsWhenParentExits fails due to DCP timestamp parsing BadRequest

**Type**: flaky-test

## Occurrences

| Date | Build | Job | PR |
|------|-------|-----|----|
| 2026-07-15 | [29441229739](https://github.com/microsoft/aspire/actions/runs/29441229739) | Tests / Hosting-1 / Hosting-1 (8-core-ubuntu-latest) | #18792 |

Contributor guide

Open the contributing guide

Research direction

Start with the named Aspire.Hosting.Tests.DistributedApplicationTests.ParentProcessLifetimeReusesResourcesAcrossAppRestartsAndStopsWhenParentExits test and the linked CI run. Reproduce the DCP timestamp parsing BadRequest, then verify the test completes reliably in the Hosting-1 CI leg without that failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, kubernetes
Domain
distributed-systems, testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.