test_cpf_cache: stage exited 1 once after check found the form (in-image sweep)

Aperta
#263 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à
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
30/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
docker, python
Ambito
testing

Direzione di ricerca

Start from tests/test_cpf_cache.py and the stage entry point the failing test exercises, then read the open items in containers/images/judge-agent-amd/README.md to see what the sweep already ruled out. Reproduce by looping the file under pytest -n 16 --dist loadgroup; use the stderr assert_staged prints since aa06dfae3 to name the miss. Done means the non---cache input — env var, working directory, shared lock or xdist race — is identified and made deterministic.

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

Descrizione

tests/test_cpf_cache.py::test_check_and_stage_strip_the_kernel_names_the_render_and_verify_commands_strip failed once in the AMD image test sweep of job 758901 (pytest -n 16, --dist loadgroup): check found the gemm form, and stage exited 1 right after. It did not recur in rounds 16 and 17, and it passes in CI.

The test uses its own tmp_path, so the cause is something stage reads outside --cache, such as an environment variable, the working directory, a shared lock or cache directory, or a race with another xdist worker.

Since aa06dfae3, assert_staged prints what stage wrote to stderr, so the next failure names the miss. Documented under "open items" in containers/images/judge-agent-amd/README.md.

🤖 Generated with Claude Code

Lingua principale
Python
Stelle
9
Fork
9
Merge medio
3h 5m
PR unite (30g)
123

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 spcl/HPCAgent-Bench

Tutte le issue di spcl/HPCAgent-Bench

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.