dotnet / dotnet/runtime

Flaky System.Diagnostics.Tests.ProcessTests.TestTotalProcessorTimeMacOs

Open
#130,475 2 comments 0 reactions 0 assignees View on GitHub
area-Infrastructure-libraries Known Build Error
Dominant language
C#
Stars
18.3k
Forks
5.6k
PR merge metrics
PR metrics pending

Description

## Build Information
Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=1501757
Build error leg or test failing: System.Diagnostics.Tests.ProcessTests.TestTotalProcessorTimeMacOs

## Error Message

**DO NOT USE JSON BELOW IF THIS IS A BUILD BREAK** otherwise build analysis will allow pull requests to merge that break the build worse. For a build break, do not use this issue form. Make a regular new issue.

Fill the error message using [step by step known issues guidance](https://github.com/dotnet/arcade/blob/main/Documentation/Build%20Analysis/KnownIssueJsonStepByStep.md).

```json
{
"ErrorPattern": "Time 'system' returned by managed API \\(.*\\) should be greated or equal to the time returned by native API \\(.*\\)\\.",
"BuildRetry": false,
"ExcludeConsoleLog": false
}
```

### Known issue validation
**Build: :mag_right:** https://dev.azure.com/dnceng-public/public/_build/results?buildId=1501757
**Error message validated:** `[Time 'system' returned by managed API \(.*\) should be greated or equal to the time returned by native API \(.*\)\.`]
**Result validation:** :white_check_mark: Known issue matched with the provided build.
**Validation performed at:** 7/10/2026 10:55:20 AM UTC

### Report
#### Summary
|24-Hour Hit Count|7-Day Hit Count|1-Month Count|
|---|---|---|
|0|0|0|

Contributor guide

Open the contributing guide

Research direction

Start with System.Diagnostics.Tests.ProcessTests.TestTotalProcessorTimeMacOs and the linked build results, then inspect the failure comparing managed and native processor time on macOS. Reproduce or review the failing test and its platform-specific behavior; done means the test reliably passes without masking the reported comparison failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
operating-systems, testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.