Skip to content

Equivalence E2E: retry Maven parent-POM resolution with backoff, show its cause line (Part of #8373) - #8375

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/8373-20261112T1900Z
Nov 12, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/8373-20261112T1900Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Summary

Main run 43279888356 (Equivalence E2E, 76b83ba5): shard 1/2 failed 29 tests, all with the same Maven UnresolvableModelException (the Spring Boot parent POM could not be fetched). Shard 2/2, db2 and every PR run of the workflow passed, so the trigger is an infrastructure flake (Central throttling the runner). Two defects made it fatal and opaque:

  • maven_exe.run_maven_retrying_resolution retried once, immediately, and its markers did not include Non-resolvable parent POM. It now retries up to 3 attempts (-U, backoff 5 s / 20 s via RESOLUTION_RETRY_DELAYS_S) and recognises parent/import-POM failures.
  • equivalence_common.java_failure_report dropped any [ERROR] line containing -> [Help, which is the line carrying the cause of a POM failure. It now strips only the pointer and keeps the cause.

Class / Sibling gaps

Class: a transient Maven dependency-resolution failure treated as a program failure (one immediate retry, a marker list missing the parent-POM wording, and a report filter that hid the cause line). Both mechanisms on this path are fixed here, with tests for the whole class (parent POM, import POM, cached miss, missing artifact, transfer drop; compile and test failures still not retried).

Sibling gaps: gitgalaxy/tools/cobol_to_java/batch_test_harness.py:155 runs mvn clean compile with no resolution retry (it cannot import tests/tools; no burned-estate program needs it directly, so sweep scope). det_survey.py and test_no_jcl_batch_controller.py run mvn -o (offline) and are not affected.

Facts checked

  • Shard 2/2, db2 and all recent PR runs were green on the same code; the other 7 main runs were cancelled by newer pushes.
  • The original cause text is not in the CI log (filtered by the defect above), so the new markers are inferred from Maven's wording; the improved report will name the reason if it recurs.
  • pr_gates --fast: 9/9 pass.

Tests

test_maven_resolution_retry.py (backoff, 3-attempt cap, parent-POM marker), test_porting_loop_tooling.py (cause line kept, [Help pointer and boilerplate dropped); test_java_subprocess_utf8.py and test_maven_exe_4939.py still pass. After merge the shard needs a rerun on main.

Cross-repo: none.

🤖 Generated with Claude Code

… its cause line (Part of #8373)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 12, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 12, 2026 20:19
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 12, 2026 20:19
@squid-shepherd
squid-shepherd Bot merged commit 53a5d18 into main Nov 12, 2026
77 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/8373-20261112T1900Z branch November 12, 2026 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant