tests/charm++/objloads: per-PE busy-versus-objects check fails intermittently on the macOS CI runner (2 processes)

Aperta
#4,204 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
52/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
cpp, macos

Direzione di ricerca

Start with tests/charm++/objloads/client.C and inspect the per-PE busy-versus-object-load check after the element comparison. Reproduce the intermittent failure in the macOS two-process CI step, then compare the check’s behavior with the suggested tolerance or report-only options. Done means the check handles runner contention as intended while retaining the per-element comparison.

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

Descrizione

tests/charm++/objloads (in the suite since #4182) fails intermittently in the macOS CI job's two-process step. Its client (client.C, the per-PE check after the element comparison) requires each PE's busy time (elapsed minus idle) to be within 10% of elapsed plus 50 ms of the sum of its objects' loads, and on the shared macOS runner the two differ by more than the tolerance.

Seen twice in three days, both on PRs that do not touch tracing or load balancing:

PR job PE busy (s) objects (s) allowed difference (s)
#4186 2026-11-07, reconverse-darwin-arm64 0 1.910 1.642 0.245
#4180 129408450321, 2026-11-09 0 1.152 0.742 0.202
#4180 129408450321 1 1.165 0.841 0.202

Both passed on rerun (#4186) or are being rerun (#4180). The per-element comparison in the same run passes (largest difference 0.0108 s); only the per-PE busy-versus-objects check fails. Busy time also counts runtime work outside any object (communication progress, tracing, the second process competing for the runner's cores), which grows when the runner is loaded.

Possible fixes: make the per-PE check report-only on macOS or under TESTRUN_PROCS, or allow a larger share of elapsed time (the failures needed differences of 14% to 27% of elapsed time) when more than one process shares the machine.

🤖 Generated with Claude Code

Lingua principale
C++
Stelle
241
Fork
62
Merge medio
1g 1h
PR unite (30g)
121

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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 charmplusplus/charm

Tutte le issue di charmplusplus/charm

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.