Skip to content

pipeline: equivalence fault runs re-start Maven + Spring each time (~3.8 s each, >80% of a batch case) — use the existing _run_direct path #4910

Closed

Description

@squid-protocol

Measured (#4905, 2026-10-11): in an equivalence case, Maven + Spring start-up dominates. carddemo-readacct takes 65 s, of which Maven is about 53 s: 7.4 s for the first run plus 3.8 s for each of its 12 fault runs. carddemo-acctview: Maven is 12.6 s of 24 s. Docker/cobc steps are under 1 s each.

Lever: tests/tools/equivalence_java.py already has _run_direct, which runs the compiled classes with plain java and skips Maven, but it is only used under --reuse. Use it for the fault runs (and the extra environments and entries) once the project has been built by the first Maven run. Keep the same classpath and JVM flags so verdicts cannot change.

Acceptance: identical verdicts on a sample (batch with fault plans, CICS, and one Db2 case), before/after per-case time, a test that fault runs take the direct path. Expected win: ~3 s per fault run, so carddemo-readacct goes from ~65 s to roughly 20 s. Across the det sweep that is a large share of shard time.

Wait for #4908 to merge first: it edits equivalence_java.py (timeouts).

🤖 Generated with Claude Code

Activity

  1. added
    ci-cd
    enhancement
    priority: high
    on Oct 11, 2026
  2. added
    scope:infra
    on Oct 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ci-cdenhancementpriority: highscope:infra

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions