forge
Explore
Log in

Don't you dare go Hollow

ec-av1: the full suite found three real gaps the scoped runs never saw

Browse files at this commit

a668ef2b3387748db7bc680c235d0c4032498e08Ahmet Kaan GümüşParent: 04561ce
The server suite at the merged head (wave13) went 776/3/49 and BOTH hosts failed the same
three tests, so these are tree defects, not flakes:

- refusal_inventory: the BLOCK_INVALID subsize refusal added by lane-av1unwritten and
  lane-av1subsizesweep was never inventoried. The scanner collects the reason string from
  unsupported(...) joining line continuations, and it keeps escaped quotes, so the entry is
  written in the scanner's form.
- stack_budget: dumpio.rs landed without being registered in the by-value scan's FILES, so
  the sweep was blind to any by-value return landing in it. Registered.
- stream::tests::allocdet_child_decode: another child-helper test that asserted its
  ALLOCDET_FIXTURES unconditionally and reddened every full suite -- the same class as the
  1f4fcc84 hotfix, shipped one lane later. It now returns with a printed skip when invoked
  without the parent-set variable; the parent still fails when the child prints no census
  line, so the skip cannot hide a broken child. Swept: the four child helpers in the crate
  (dumpio x2, uwdep, allocdet) are all guarded now.
crates/ec-av1/src/refusal_inventory.rsmodified+6 -0
@@ -62,6 +62,12 @@ const REFUSALS: &[&str] = &[
62 "a 128x128 superblock partition value outside the 8-symbol alphabet",62 "a 128x128 superblock partition value outside the 8-symbol alphabet",
63 "an inter var-tx tree with a leaf transform larger than 64x64",63 "an inter var-tx tree with a leaf transform larger than 64x64",
64 "CfL, filter intra or a palette on a 128-root HORZ/VERT intra block (every one of their size gates caps at 64x64 or below, so none of these symbols exists there)",64 "CfL, filter intra or a palette on a 128-root HORZ/VERT intra block (every one of their size gates caps at 64x64 or below, so none of these symbols exists there)",
65+ // lane-av1unwritten + lane-av1subsizesweep: the BLOCK_INVALID subsize
66+ // refusal that mirrors libaom's own (decodeframe.c:1456). The source
67+ // string carries escaped quotes around the libaom citation and this
68+ // table is matched against the scanner's collected form, so the quotes
69+ // stay escaped here the way the scanner keeps them.
70+ "a block size 4x8, 8x16 or 16x4 (or 8x4 at 4:4:0) has no chroma plane block at this frame's subsampling mode (libaom: \\\"Block size %dx%d invalid with this subsampling mode\\\", av1/decoder/decodeframe.c:1456, refusing by the same rule)",
65 // lane-t900 r23: palette RECONSTRUCTION now covers the key-frame paths71 // lane-t900 r23: palette RECONSTRUCTION now covers the key-frame paths
66 // (earlier lanes), the intra-in-inter square/rect paths (r22) and the72 // (earlier lanes), the intra-in-inter square/rect paths (r22) and the
67 // 8x8 LEAF inside an inter frame (this round, gate73 // 8x8 LEAF inside an inter frame (this round, gate
crates/ec-av1/src/stack_budget.rsmodified+1 -0
@@ -448,6 +448,7 @@ mod tests {
448 ("census.rs", include_str!("census.rs")),448 ("census.rs", include_str!("census.rs")),
449 ("compound.rs", include_str!("compound.rs")),449 ("compound.rs", include_str!("compound.rs")),
450 ("decode.rs", include_str!("decode.rs")),450 ("decode.rs", include_str!("decode.rs")),
451+ ("dumpio.rs", include_str!("dumpio.rs")),
451 ("encode.rs", include_str!("encode.rs")),452 ("encode.rs", include_str!("encode.rs")),
452 ("encoder.rs", include_str!("encoder.rs")),453 ("encoder.rs", include_str!("encoder.rs")),
453 ("envflags.rs", include_str!("envflags.rs")),454 ("envflags.rs", include_str!("envflags.rs")),
crates/ec-av1/src/stream.rsmodified+11 -1
@@ -48760,7 +48760,17 @@ exit 0
48760 println!("ALLOCDET_SYNTHETIC {a:016x} {b:016x}");48760 println!("ALLOCDET_SYNTHETIC {a:016x} {b:016x}");
48761 return;48761 return;
48762 }48762 }
48763- let list = std::env::var("ALLOCDET_FIXTURES").expect("ALLOCDET_FIXTURES");48763+ let Ok(list) = std::env::var("ALLOCDET_FIXTURES") else {
48764+ // Reached without either variable == a normal suite run: the parent
48765+ // names this test with ALLOCDET_FIXTURES (or ALLOCDET_SYNTHETIC) set,
48766+ // so there is nothing to measure here. Asserting the variable instead
48767+ // made every full suite red (caught by the server suite at the merged
48768+ // head); the parent already fails when the child prints no ALLOCDET
48769+ // line, so a skip cannot hide a broken child. Print rather than
48770+ // pass silently.
48771+ println!("ALLOCDET skipped: not invoked as a census child");
48772+ return;
48773+ };
48764 let mut hash = 0xcbf2_9ce4_8422_2325u64;48774 let mut hash = 0xcbf2_9ce4_8422_2325u64;
48765 for fixture in list.split(',').filter(|s| !s.is_empty()) {48775 for fixture in list.split(',').filter(|s| !s.is_empty()) {
48766 let path = std::path::Path::new(env!("CARGO_MANIFEST_DIR"))48776 let path = std::path::Path::new(env!("CARGO_MANIFEST_DIR"))