largeallocpeakcheck arm M fails on a fast Mac since #648: the `--deps` run no longer reads over its limit
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
Direzione di ricerca
Start with test/largeallocpeakcheck.sh and inspect arm M, the --deps run, and its --max-memory limit; compare that setup with arm D, which accepts the disclosed overshoot line. Reproduce the failure on the cited c565a3fad main revision, then choose a fix that preserves what arm M is intended to test. Done means the gate reliably stops a run over its configured limit and passes on the affected Mac.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
test/largeallocpeakcheck.sh arm M goes red on my machine (Apple M5 Max, 64 GB, macOS 26.6.2, plain dev build). It still fails on main c565a3fad:
PASS P: route peak 473 MB <= 75 % of 687 MB
PASS B: answers byte-identical with and without the route
FAIL M: --max-memory=256M against a 473 MB run did not stop (exit 0): the guard does not see routed pages
I bisected it with clean rebuilds, running the whole gate each time:
44f7d3326 main before TRAIN-1111f PASS M: ... stops (exit 5)
7bade003b 44f7d3326 + #648 DEPS-NO-GRAPH only FAIL M
d624cff5f TRAIN-1111f FAIL M
c565a3fad main today FAIL M
I don't think the guard is broken. The run finishes and says so on stderr:
ripwire: memory peak 474M went over the 256M limit (from --max-memory), and the run finished and answered: the guard reads the limit between phases, and by then this run had given that memory back. ...
That's the D band, honestly disclosed. Arm M just never gets the stop it expects anymore. My read: arm M runs --deps, and after #648 --deps skips the graph build, so the hard line loses the reading that used to land over 256M. The fixture's run takes about 1.7 s here, under the guard's 5 s cadence, so it only gets the readings at ingest start and after the ingest. At this size the post ingest footprint sits between 128M and 256M: --max-memory=128M stops it (exit 5), and 256M finishes.
CI's macOS runners stay green, I'd guess because a slower runner crosses the 5 s cadence and gets a reading during the parse. I can't confirm that, since the logs only print failing gates.
Three ways I can see to fix it:
- Run arm M without
--deps, so the graph build and its hard line reading come back. - Size the limit from the after ingest reading instead of half the routed peak.
- Let arm M also pass on the disclosed overshoot line, the way arm D does. The weakest option, since it stops testing the stop.
Do you have a preference? I can bring the PR, with the arm red on c565a3fad first.
- Lingua principale
- C++
- Stelle
- 2.6k
- Fork
- 182
- Merge medio
- 21h 12m
- PR unite (30g)
- 262
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di redhat-et/ripwire
-
bug good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
TS/JS: a generator function expression (const f = function* / async function*) is not indexedForse già presa @shivam512262 l’ha presa 6 giorni fa. Apertabug good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
redhat-et/ripwire#730 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 Meno di un'ora Idoneità per principianti 78/100
redhat-et/ripwire#334 · 8 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
redhat-et/ripwire#68 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement help wanted
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di redhat-et/ripwire
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
riscv-software-src/riscv-isa-sim#2640 ·
I maintainer di solito rispondono entro 1 giorno
-
difficulty:easy func:gui prio:normal type:bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
NatronGitHub/Natron#2118 ·
I maintainer di solito rispondono entro 1 giorno
-
Bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
-
mechanics UI
Difficoltà 2/5 1-3 ore Idoneità per principianti 73/100
endless-sky/endless-sky#12949 ·
I maintainer di solito rispondono entro 1 giorno
-
bug difficulty:easy prio:low
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
NatronGitHub/openfx-io#523 ·
I maintainer di solito rispondono entro 1 giorno