Repository navigation
tools/asahi: repair seven stale host tests on aurora-wip - #623
Merged
Merged
Conversation
The CLPC sampler gained dense light GPU work (264558d) and floor release counters (87e3a4d). The host test still extracted the old bodies, so it stopped compiling. Two of its mutations had also gone stale: the streaming and PMP-backoff strings no longer appear in the driver, so those controls tested nothing. Extract the dense and counter helpers, give the fake GPU a submission sequence, and check that dense submissions on T8140 earn the floor, that one sparse or late period ends the streak, and that the release and return counters follow the PMP backoff. Rewrite the stale mutations against the current code, add controls for the new paths, and refuse any mutation that no longer changes the source. Assisted-by: LLM Signed-off-by: Ryan Murray <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> (cherry picked from commit e01cbc2)
The PB growth and stats drain runners default to 'rustup run 1.93.1 rustc'. On a host without rustup they stop before testing anything. Keep the pinned toolchain where rustup exists, and otherwise use $RUSTC or rustc, as the other Rust host tests do. The receipt already records the compiler version that ran. Both pass, mutations included, with rustc 1.96. Assisted-by: LLM Signed-off-by: Ryan Murray <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> (cherry picked from commit ae8725d)
Work-state acquisition now takes the engine (3b5847f, a node is kept for the other engine), so the compute deadline fixture no longer compiled. Give the fixture the Engine type, have its acquire check that compute admission asks for a compute node, and add a control that requests a render node instead. Assisted-by: LLM Signed-off-by: Ryan Murray <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> (cherry picked from commit 5a12fc0)
apple_rtkit_reinit() now also frees the CoreAnalytics and PMP aux buffers and resets the CoreAnalytics completion. The OSLog host test's struct lacked those fields and stopped compiling. Add them, fill every buffer before reinit and check each one is freed, rather than counting six frees. Add a control that keeps the OSLog buffer across reinit, and refuse a mutation that no longer changes the source. Assisted-by: LLM Signed-off-by: Ryan Murray <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> (cherry picked from commit ac72d4f)
dcp_fabric_snapshot_port() now leaves a port that yielded both pipes to an HDMI display unwanted (0d43a7f). The fixture's port had no typec_yielded field, so the test stopped compiling. Add the field and check the snapshot for both values. Also check that a T6030 tunnel on source 1, which has no display-engine clock, gets no crossbar control, since no case covered a blocked source. The runner now builds two mutations, ignoring the clock and ignoring the yield, and requires both to fail. Assisted-by: LLM Signed-off-by: Ryan Murray <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> (cherry picked from commit ff1234c)
mt7932-policy-6ghz.py imported its sibling mt7932_power through sys.path. Under 'python3 -I', which our host-test runs use, the script directory is not on sys.path, so the tool and its test failed with ModuleNotFoundError. Load the sibling from the tool's own directory. Assisted-by: LLM Signed-off-by: Ryan Murray <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]> (cherry picked from commit dda23b9)
This was referenced Oct 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The six test-only fixes merged into integration/aurora as #617 to #622, cherry-picked (
-x) onto aurora-wip 6a42fae, wheretools/asahiis identical.python3 -IBefore (aurora-wip 6a42fae,
python3 -Ion buildbox): all seven fail. After (this branch): all seven pass, and every mutation control is killed. Logs:aurora-ctl/reports/hostfail-20261030/*.wip-after.log. Test-only, no driver code touched.🤖 Generated with Claude Code