Skip to content

SampleProfilerSampleType failing with native AOT #125217

@MichalStrehovsky

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions