parity: a host's exclude list also holds on its own CI runner

playhorizon's runner fails remote_fireball and remote_fireworks even alone and
at bare main (3b19c386c: 2 of 2 runs and the retry), while the Mac mini passes
them; every fork PR whose parity lands there stopped on them. The host's
exclude list only kept harnesses off workers sent there, not off the runner's
own jobs: platform_skips now adds the local host's exclude, skipped with its
reason unless named. The two harnesses join playhorizon's list; the Mac
mini's runner and the nightly audit (macOS) keep running them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Ludovic Marie
2026-10-27 15:37:04 +01:00
parent 27af1879d7
commit 0879f3dbd2
4 changed files with 19 additions and 8 deletions
+8 -6
View File
@@ -1454,11 +1454,13 @@ def affected_harnesses(found, records, changed, reach=True, base=None):
return affected
def platform_skips(config):
"""Harnesses tools/parity_hosts.json marks as giving different results on this platform: {name: reason}."""
if sys.platform == "linux":
return {}
return dict(config.get("linux_only", {}))
def platform_skips(config, host=None):
"""Harnesses tools/parity_hosts.json marks as giving different results on this platform, and those this host's
entry excludes (playhorizon's CI runner runs its own pull request jobs here, not only workers sent to it):
{name: reason}."""
skips = {} if sys.platform == "linux" else dict(config.get("linux_only", {}))
skips.update(config.get("hosts", {}).get(HOST if host is None else host, {}).get("exclude", {}))
return skips
def known_flaky(config):
@@ -1593,7 +1595,7 @@ def main():
chosen = [name for name in found if stale(name, state, hasher, environment)]
skips = platform_skips(host_config())
for name in [name for name in chosen if base_name(name) in skips and not args.names]:
print(f"skipped on {sys.platform}: {name}: {skips[base_name(name)]}", flush=True)
print(f"skipped on {HOST} ({sys.platform}): {name}: {skips[base_name(name)]}", flush=True)
chosen.remove(name)
manual = {} if args.names or args.all else named_only(host_config())
for name in [name for name in chosen if base_name(name) in manual]:
+3 -1
View File
@@ -31,7 +31,9 @@
"exclude": {
"mob_ai": "the vanilla oracle runs out of its 3 GB heap here (OutOfMemoryError in IO workers; passes on the desktop and the Mac) - 2026-10-26 trial",
"lan_integration": "two clients rendered on the CPU (lavapipe): different timing subtests fail on each run (elytra, consume-release, barter, critical-hits) - 2026-10-26 trial",
"world_reopen": "failed twice here (no Save and Quit button after reopening; the minecart-count flake), passes on the desktop - 2026-10-26 trial"
"world_reopen": "failed twice here (no Save and Quit button after reopening; the minecart-count flake), passes on the desktop - 2026-10-26 trial",
"remote_fireball": "fails here even alone, at bare main 3b19c386c (2 of 2 runs and the retry), and passes on the Mac mini: the guest's egg is seen in 2 of 6 samples. CPU-starved: the whole horizon-ci slice (runner on 4-7, workers on 0-3) shares a 700% quota and was throttled in 27% of periods, so lavapipe frames and screenshots outlast the projectile's flight - 2026-10-27",
"remote_fireworks": "fails here even alone, at bare main 3b19c386c (2 of 2 runs and the retry), and passes on the Mac mini: the guest's sparks are gone by its trail screenshot (same CPU starvation as remote_fireball; a private Xvfb on CPUs 0-3 did not help) - 2026-10-27"
},
"note": "a partner's server (Ubuntu, 8 EPYC threads, 30 GB, Detroit; tailnet only), its CI runner has CPUs 4-7, so workers get 0-3 (as tools/remote.sh runs do) and 3 jobs, in the CI runner's environment, slice and Xvfb screen (tools/ci/linux-runner.sh); the always-on Linux host since the ThinkPad stopped running harnesses (2026-10-26)"
}