CI never runs the `*_6_0_185` integration tests

Aperta
#435 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
55/100
Tipo di issue
Refactoring
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
github-actions, rust
Ambito
ci-cd, testing

Direzione di ricerca

Read .github/workflows/ci.yml around lines 503 and 602, then check the 15 tests/*_6_0_185.rs files and compare them with the _latest integration tests. Confirm how each CI matrix leg selects tests and which Simics version it uses; done means CI runs the intended coverage without dead duplicate tests or the incorrect crash artifact download. The suggested helper refactor spans many tests and requires familiarity with the Simics setup.

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

Descrizione

Where

Problem
cargo test --no-fail-fast -r _latest filters by name in both matrix legs, so the 15 _6_0_185 tests never run. They already drifted: tests/riscv_64_kernel_from_userspace_magic_6_0_185.rs:81 reuses another test's function name. Also ci.yml:503 "Download Test Artifacts (x86_64 Timeout UEFI EDK2)" downloads the crash artifact.

Impact
Dead tests that look like coverage.

Suggested fix
Delete the _6_0_185 files (the Simics 6 leg already runs _latest against 6.0.185), then factor the remaining near-identical tests into a helper.

Status
Confirmed by reading the code at 79972db. Found by reading the code; not reproduced under SIMICS.

Lingua principale
Rust
Stelle
335
Fork
26
Merge medio
1g 50m
PR unite (30g)
12

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

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 intel/tsffs

Tutte le issue di intel/tsffs

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.