Skip to content

SampleProfilerSampleType failing with native AOT #125217

Closed

Description

@MichalStrehovsky
/root/helix/work/correlation/nativeaottest.sh /root/helix/work/workitem/e/tracing/eventpipe/eventsvalidation/SampleProfilerSampleType/ SampleProfilerSampleType.dll ''
  0.0s: ==TEST STARTING==
  0.0s: Connecting to EventPipe...
  0.0s: Started sending sentinel events...
  0.0s: Creating EventPipeEventSource...
  0.0s: EventPipeEventSource created
  0.0s: Dynamic.All callback registered
  0.0s: Running optional trace validator
  0.0s: Finished running optional trace validator
  0.0s: Starting stream processing...
  0.0s: Saw new provider 'Microsoft-DotNETCore-SampleProfiler'
  0.1s: Saw sentinel event
  0.1s: Stopped sending sentinel events
  0.1s: Starting event generating action...
  3.1s: Stopping event generating action
  3.1s: Sending StopTracing command...
  3.1s: Finished StopTracing command
  3.1s: Saw new provider 'Microsoft-DotNETCore-EventPipe'
  3.1s: Saw new provider 'Microsoft-Windows-DotNETRuntimeRundown'
  3.1s: Stopping stream processing
  3.1s: Dropped 0 events
  3.1s: Reader task finished
  3.1s: Validating optional callback...
  3.1s: Total ThreadSample events: 18598
  3.1s: Managed samples: 0
  3.1s: External samples: 18598
  3.1s: FAIL: No ThreadSample events had SampleType == Managed.
  3.1s: ==TEST FINISHED: FAILED!==
Xunit.Sdk.EqualException: Assert.Equal() Failure: Values differ
Expected: 100
Actual:   -1
   at Xunit.Assert.Equal[T](T, T, IEqualityComparer`1)
   at __GeneratedMainWrapper.Main()
Expected: 100
Actual: 101
END EXECUTION - FAILED

Activity

  1. added
    untriaged
    on Mar 5, 2026
  2. added
    disabled-test
    on Mar 5, 2026
  3. dotnet-policy-service commented on Mar 5, 2026

    @dotnet-policy-service
    Contributor

    Tagging subscribers to this area: @agocke, @dotnet/ilc-contrib
    See info in area-owners.md if you want to be subscribed.

  4. MihuBot commented on Mar 5, 2026

    @MihuBot
  5. removed
    untriaged
    on Mar 19, 2026
  6. locked and limited conversation to collaborators on Apr 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    EventPipearea-NativeAOT-coreclrdisabled-test

    Type

    No type

    Projects

    • Status
      No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions