Skip to content

fix(ci): skip the heavy suites on Debug pushes; they kill the hosted runner - #190

Merged
transfix merged 1 commit into
masterfrom
fix/debug-skip-heavy-suites
Aug 18, 2026
Merged

transfix merged 1 commit into
masterfrom
fix/debug-skip-heavy-suites

Conversation

@transfix

Copy link
Copy Markdown
Owner

master has been red on package-linux / libcvc-debug and libcvc-debug-grpc.
Neither is a test failure. Both end with:

##[error]Process completed with exit code 143
##[error]The runner has received a shutdown signal. This can happen when the
runner service is stopped, or a manually started runner is canceled.

which names the runner rather than the cause, and reads like someone cancelled
the job.

It's an OOM kill

Two independent runs died in the same place:

1130/2257 Test #503: AlgorithmTest.FindHexsContainingPointPerformanceLargeMesh
                     ... Passed  274.78 sec
          Start 1134: StateLinkBenchmark.TransparentLinkIndexLargeTree
##[error]Process completed with exit code 143

A push runs the full set with CVC_DISTRIBUTED_STATE_BENCH=1 and --parallel
(one ctest job per core), so several LargeTree / LargeMesh suites allocate
concurrently. A Debug build inflates all of it. ubuntu-latest has 16 GB.
The agent dies along with the box, so ctest never gets to report — hence an
error about the runner instead of about memory.

The exclusion list already described this

#   Performance   : perf benchmarks (>200s in Debug)
#   BunnySDF_IsoRoundtrip|QualityImproveAllMethods : heavy Debug-only

The 274-second test above is literally that first entry. The list just wasn't
applied to pushes.

Change

Debug pushes now use the same exclusion as PRs:

event config behaviour
push Release full suite, --timeout 3600, benchmarks on — unchanged
push Debug heavy suites excluded — new
pull_request any heavy suites excluded — unchanged

Release pushes are where these belong: a benchmark timed in a Debug build was
never a meaningful number, and the reason to run them on push is the Release
timings.

Applied at both ctest sites (the linux step and the windows/macos step).

Note

The catalog-resolution failures that were also making these jobs red are gone —
these same jobs now configure, build, and get ~1130 tests into a 2257-test suite
before the runner dies. This is the last thing standing between master and green.

…runner

master has been red on package-linux / libcvc-debug and libcvc-debug-grpc.
Neither is a test failure. Both jobs end with

    ##[error]Process completed with exit code 143
    ##[error]The runner has received a shutdown signal.

which names the runner rather than the cause, and reads like a cancellation.

It is an out-of-memory kill. Two independent runs died in the same place:

    Test #503: AlgorithmTest.FindHexsContainingPointPerformanceLargeMesh
               ... Passed 274.78 sec
    Start 1134: StateLinkBenchmark.TransparentLinkIndexLargeTree
    ##[error]Process completed with exit code 143

A push runs the full set with CVC_DISTRIBUTED_STATE_BENCH=1 and --parallel,
so several LargeTree/LargeMesh suites allocate at once; a Debug build inflates
every one of them; ubuntu-latest has 16 GB. The agent dies with the box, so
ctest never reports anything.

The exclusion list already existed and already documented these as
"Performance: perf benchmarks (>200s in Debug)" and "heavy Debug-only" -- the
274-second test above is literally that entry. It just was not applied to
pushes.

Debug pushes now use the same exclusion as PRs. Release pushes are unchanged
and still run everything, which is where these belong: a benchmark timed in a
Debug build was never a meaningful number.

Applied at both ctest sites (linux and the windows/macos step).
@transfix
transfix merged commit 850f8c8 into master Aug 18, 2026
12 checks passed
@transfix
transfix deleted the fix/debug-skip-heavy-suites branch August 18, 2026 17:29
transfix added a commit that referenced this pull request Aug 18, 2026
…em (#195)

#190 excluded the heavy suites from Debug pushes because they killed the
hosted runner. That was the wrong axis. Release then died the same way, at
test ~1510/2257:

    ##[error]Process completed with exit code 143
    ##[error]The runner has received a shutdown signal.

Build config was never the variable -- CONCURRENCY is. These suites allocate
large trees and meshes, plain --parallel starts one ctest job per core, and
several of them at once exceed the 16 GB on ubuntu-latest. Debug just made
each allocation bigger, so Debug hit the ceiling a bit earlier. They all pass
individually, which is why a run gets ~1500 tests deep before dying, and why
the runner reports a shutdown rather than any test failing.

A push now runs two ctest invocations:

  1. everything EXCEPT the heavy suites, --parallel  (unchanged behaviour)
  2. only the heavy suites, --parallel 1             (one allocation at a time)

That restores the coverage #190 dropped from Debug pushes rather than
extending the exclusion to Release. PRs are untouched and still skip the set
entirely.

Verified: both blocks pass `bash -n` with the GH expressions substituted, and
the -E/-R split partitions correctly -- StateLinkBenchmark.* and
AlgorithmTest.*Performance* go serial, StateExecParserTest.* and
SchedulerTest.* stay parallel.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant