Skip to content

randomizedallocationsampling tests are failing on nativeaot #109828

@jkotas

Description

@jkotas

To reproduce in CI: Run /azp run runtime-nativeaot-outerloop

Log https://dev.azure.com/dnceng-public/public/_build/results?buildId=869748&view=ms.vss-test-web.build-test-results-tab&runId=22659190&resultId=115517&paneView=dotnet-dnceng.dnceng-build-release-tasks.helix-test-information-tab

  0.0s: ==TEST STARTING==
  0.0s: Started sending sentinel events...
  0.0s: Connecting to EventPipe...
  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.1s: Saw new provider 'Microsoft-Windows-DotNETRuntime'
  0.1s: Saw sentinel event
  0.1s: Stopped sending sentinel events
  0.1s: Starting event generating action...
  0.4s: Allocated 400000 instances...
  0.7s: Allocated 800000 instances...
  1.2s: Allocated 1200000 instances...
  1.5s: Allocated 1600000 instances...
  2.3s: 2000000 instances allocated
  2.3s: Stopping event generating action
  2.3s: Sending StopTracing command...
  2.4s: Saw new provider 'Microsoft-DotNETCore-EventPipe'
  2.4s: Stopping stream processing
  2.4s: Dropped 0 events
  2.4s: Finished StopTracing command
  2.4s: Reader task finished
  2.4s: Validating optional callback...
  2.4s: AllocationSampled counts validation
  2.4s: Nb events: 2681
  2.4s: Nb object128: 0
  2.4s: ==TEST FINISHED: FAILED!==
Xunit.Sdk.EqualException: Assert.Equal() Failure: Values differ
Expected: 100
Actual:   -1

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions