dotnet / dotnet/runtime

Test failure: profiler/gcheapenumeration/gcheapenumeration/gcheapenumeration.cmd

Open
#127,669 1 comment 0 reactions 0 assignees View on GitHub
area-GC-coreclr
Dominant language
C#
Stars
18.3k
Forks
5.6k
PR merge metrics
PR metrics pending

Description

**Failed in (1):**
- [gc-standalone 20260430.1](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1403687)

**Console Log:** [Console Log](https://helix.dot.net/api/2019-06-17/jobs/a11638b3-9f37-47f3-a79d-cfe9c3acca4c/workitems/profiler/console)
**Source:** [gc-standalone / coreclr linux x64 Checked gcstandaloneserver @ AzureLinux.3.Amd64.Open / profiler/gcheapenumeration/gcheapenumeration/gcheapenumeration.cmd](https://dev.azure.com/dnceng-public/public/_build/results?buildId=1403687&view=ms.vss-test-web.build-test-results-tab)

**Failed tests:**
```
- coreclr linux arm64 Checked gcstandaloneserver @ AzureLinux.3.Arm64.Open
- coreclr linux x64 Checked gcstandaloneserver @ AzureLinux.3.Amd64.Open
- coreclr windows arm64 Checked gcstandaloneserver @ Windows.11.Arm64.Open
- coreclr windows x64 Checked gcstandaloneserver @ Windows.10.Amd64.Open
- profiler/gcheapenumeration/gcheapenumeration/gcheapenumeration.cmd
```

**Error Message:**
```
GCHeapEnumerationProfiler::Shutdown: FAIL: Expected at least 90 objects, got 0
GCHeapEnumerationProfiler::Shutdown: FAIL: Expected 1 custom GCHeapObject type, got 0
Test failed: Profiler tests are expected to contain the text 'PROFILER TEST PASSES' in the console output of the profilee app to indicate a passing test. Usually it is printed from the Shutdown() method of the profiler implementation. This text was not found in the output above. Profilee returned exit code 100.
System.Exception: Profiler tests are expected to contain the text 'PROFILER TEST PASSES' in the console output of the profilee app to indicate a passing test.
```

**Stack Trace:**
```
at Profiler.Tests.ProfilerTestRunner.FailFastWithMessage(String error)
at Profiler.Tests.ProfilerTestRunner.Run(String profileePath, String testName, Guid profilerClsid, String profileeArguments, ProfileeOptions profileeOptions, Dictionary`2 envVars, String reverseServerName, Boolean loadAsNotification, Int32 notificationCopies, String envVarProfilerPrefix)
at Profiler.Tests.GCHeapEnumerationTests.RunProfilerTest(String testName, Boolean shouldSetMonitorGCEventMask)
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.