[PR #5904] [MERGED] Parity: a JVM oracle that dies without an exception says how it ended #6552

Closed
opened 2026-11-03 06:22:52 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/5904
Author: @xFedeT
Created: 11/1/2026
Status: ✅ Merged
Merged: 11/1/2026
Merged by: @ludovic111

Base: main ← Head: fix/nightly-parity-regressions


📝 Commits (2)

  • f059096 Parity: a JVM oracle that dies without an exception says how it ended
  • 5ae8f36 Merge remote-tracking branch 'origin/main' into fix/nightly-parity-regressions

📊 Changes

2 files changed (+14 additions, -5 deletions)

View changed files

📝 tools/test_chunk_generation_parity.py (+6 -2)
📝 tools/test_datafix_parity.py (+8 -3)

📄 Description

🤖 Opened by xFedeT's AI agent (Claude Code, Claude Sonnet 5.5), not by xFedeT personally.

Refs #5843 and #5845. This does not claim to fix them: it makes the next failure say why.

What happened

The nightly audit of a1fa1ac0a6f5 failed two harnesses that passed the night before:

  • decorated_region: all 15 regions compare with 0 differences, then oracle failed: with nothing after it. chunk_generation's oracle wrapper prints only the lines with Exception, Caused or a stack frame; a JVM that stops without one gives an empty message.
  • datafix: all 13 worlds are ok, then a CalledProcessError that names the java command. The oracle's own output goes to a log file the traceback does not show.

Both Java oracles ended without telling anyone why (-Xmx8G and -Xmx3g; killed for memory on a runner running the whole audit is the likeliest, but the logs do not say).

Reproduction

On a Mac (16 GB), parity.py --fresh decorated_region datafix chunk_generation: all 7 harnesses pass (12.5 minutes; decorated_region compared 3549 chunks at 21 sites, 0 differences; every datafix shard passes). So the code under test is not what failed.

What this changes

  • tools/test_chunk_generation_parity.py: oracle failed (exit N) with killed by signal N when it was killed, and the last 10 lines of output when there is no exception line.
  • tools/test_datafix_parity.py: a failed oracle stops the harness with its exit status and the last 20 lines of its log.

needs-proof: this changes harnesses (tools/test_*_parity.py). The proof is the run above; both harnesses still pass with the change. The two issues should stay open until the next audit shows whether they come back.

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/5904 **Author:** [@xFedeT](https://github.com/xFedeT) **Created:** 11/1/2026 **Status:** ✅ Merged **Merged:** 11/1/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/nightly-parity-regressions` --- ### 📝 Commits (2) - [`f059096`](https://github.com/horizon-rust/horizon/commit/f0590964bb02df9573c5070fe983a577c92c5128) Parity: a JVM oracle that dies without an exception says how it ended - [`5ae8f36`](https://github.com/horizon-rust/horizon/commit/5ae8f361920ae6257485994e0cfdfa13654524cd) Merge remote-tracking branch 'origin/main' into fix/nightly-parity-regressions ### 📊 Changes **2 files changed** (+14 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `tools/test_chunk_generation_parity.py` (+6 -2) 📝 `tools/test_datafix_parity.py` (+8 -3) </details> ### 📄 Description > 🤖 Opened by xFedeT's AI agent (Claude Code, Claude Sonnet 5.5), not by xFedeT personally. Refs #5843 and #5845. This does not claim to fix them: it makes the next failure say why. ## What happened The nightly audit of `a1fa1ac0a6f5` failed two harnesses that passed the night before: - `decorated_region`: all 15 regions compare with 0 differences, then `oracle failed: ` with nothing after it. `chunk_generation`'s oracle wrapper prints only the lines with `Exception`, `Caused` or a stack frame; a JVM that stops without one gives an empty message. - `datafix`: all 13 worlds are `ok`, then a `CalledProcessError` that names the `java` command. The oracle's own output goes to a log file the traceback does not show. Both Java oracles ended without telling anyone why (`-Xmx8G` and `-Xmx3g`; killed for memory on a runner running the whole audit is the likeliest, but the logs do not say). ## Reproduction On a Mac (16 GB), `parity.py --fresh decorated_region datafix chunk_generation`: all 7 harnesses pass (12.5 minutes; `decorated_region` compared 3549 chunks at 21 sites, 0 differences; every `datafix` shard passes). So the code under test is not what failed. ## What this changes - `tools/test_chunk_generation_parity.py`: `oracle failed (exit N)` with `killed by signal N` when it was killed, and the last 10 lines of output when there is no exception line. - `tools/test_datafix_parity.py`: a failed oracle stops the harness with its exit status and the last 20 lines of its log. `needs-proof`: this changes harnesses (`tools/test_*_parity.py`). The proof is the run above; both harnesses still pass with the change. The two issues should stay open until the next audit shows whether they come back. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:22:52 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#6552
No description provided.