RaceTracker memory allocation test is flaky on hosted CI

Aperta
#69 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
58/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
csharp
Ambito
testing

Direzione di ricerca

Start with RaceTrackerMemoryTests.EachLinkAllocatesTheSameAndRetainedHeapIsFlat in the racing tests under tests/Clockwork.Runtime.Tests, then reproduce the failure with the Release namespace command in the issue. Compare allocation measurements across hosted CI and local runs to identify runtime or runner noise. Done when the assertion is stable across supported hosted CI environments while preserving its bounded-memory regression check.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Summary

RaceTrackerMemoryTests.EachLinkAllocatesTheSameAndRetainedHeapIsFlat failed in the repeated race exploration corpus on hosted Linux CI while the same namespace suite passed locally three consecutive times.

Failure

Run: https://github.com/ReubenBond/Clockwork/actions/runs/44232515690

Assert.InRange() Failure: Value not in range
Range:  (0 - 151304)
Actual: 325552
at Orleans.Testing.Simulation.Runtime.Tests.Racing.RaceTrackerMemoryTests.EachLinkAllocatesTheSameAndRetainedHeapIsFlat()

The job ran:

dotnet run --project tests/Clockwork.Runtime.Tests/Clockwork.Runtime.Tests.csproj --configuration Release --no-build -- --timeout 60s --filter-namespace Orleans.Testing.Simulation.Runtime.Tests.Racing

Local evidence

The same command passed three consecutive runs locally, 211/211 each time. The full Release runtime suite also passed 1204/1204.

Expected

The allocation/retained-heap assertion should be stable across supported hosted CI environments, or the test should isolate and account for runtime/runner allocation noise without weakening the intended bounded-memory regression contract.

Lingua principale
C#
Stelle
0
Fork
0
Merge medio
2h 32m
PR unite (30g)
23

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ReubenBond/Clockwork

Tutte le issue di ReubenBond/Clockwork

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.