RaceTracker memory allocation test is flaky on hosted CI

Đang mở
#69 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
58/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
csharp
Lĩnh vực
testing

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
C#
Star
0
Fork
0
Merge trung bình
2 giờ 32 phút
Pull request đã merge (30 ngày)
23

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của ReubenBond/Clockwork

Tất cả issue của ReubenBond/Clockwork

Issue tương tự

Thêm issue về C#

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.