From d825edf280cdf15fefbcb08c596e86f36ef84569 Mon Sep 17 00:00:00 2001 From: Peter Lawrey Date: Sun, 20 Sep 2026 12:08:51 +0100 Subject: [PATCH 1/3] FIX-292: Split tests between eight workers and serial exceptions --- .mvn/serial-tests.txt | 47 ++++++++++++++++++++++++++++ pom.xml | 72 +++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 117 insertions(+), 2 deletions(-) create mode 100644 .mvn/serial-tests.txt diff --git a/.mvn/serial-tests.txt b/.mvn/serial-tests.txt new file mode 100644 index 000000000..2ccc9026e --- /dev/null +++ b/.mvn/serial-tests.txt @@ -0,0 +1,47 @@ +# Static FIX-292 isolation snapshot, 2026-09-20. Provisional entries require review before removal. +# Open PRs #357 +net/openhft/chronicle/threads/BlockingEventLoopShutdownTest.java +# references changed/named test fixture +net/openhft/chronicle/threads/BlockingEventLoopTest.java +# Open PRs #358; affinity-or-global-handler +net/openhft/chronicle/threads/DiskSpaceMonitorTest.java +# references changed/named test fixture +net/openhft/chronicle/threads/EventGroupBadAffinityTest.java +# references changed/named test fixture +net/openhft/chronicle/threads/EventGroupHandlerTest.java +# references changed/named test fixture +net/openhft/chronicle/threads/EventGroupStressTest.java +# references changed/named test fixture +net/openhft/chronicle/threads/EventGroupTest.java +# references changed/named test fixture +net/openhft/chronicle/threads/EventLoopAdmissionTest.java +# references changed/named test fixture +net/openhft/chronicle/threads/EventLoopConcurrencyStressTest.java +# affinity-or-global-handler +net/openhft/chronicle/threads/EventLoopsTest.java +# references changed/named test fixture +net/openhft/chronicle/threads/HandlerAdmissionTest.java +# references changed/named test fixture +net/openhft/chronicle/threads/HandlerRegistrationClosedExceptionTest.java +# Open PRs #359 +net/openhft/chronicle/threads/LongPauserTest.java +# references changed/named test fixture +net/openhft/chronicle/threads/LoopIntrospectionTest.java +# references changed/named test fixture +net/openhft/chronicle/threads/MediumEventLoopTest.java +# references changed/named test fixture +net/openhft/chronicle/threads/PauserTest.java +# references changed/named test fixture +net/openhft/chronicle/threads/PauserTimeoutTest.java +# references changed/named test fixture +net/openhft/chronicle/threads/StopVCloseTest.java +# references changed/named test fixture +net/openhft/chronicle/threads/ThreadsTest.java +# references changed/named test fixture +net/openhft/chronicle/threads/VanillaEventLoopTest.java +# Open PRs #359 +net/openhft/chronicle/threads/YieldingPauserTest.java +# references changed/named test fixture +net/openhft/chronicle/threads/internal/EventLoopStateRendererTest.java +# references changed/named test fixture +net/openhft/chronicle/threads/internal/ThreadsThreadHolderTest.java diff --git a/pom.xml b/pom.xml index dc444d1dc..70f5b0328 100644 --- a/pom.xml +++ b/pom.xml @@ -25,6 +25,8 @@ 0.7 0.6 + 8 + true @@ -167,8 +169,8 @@ 0 - 4 - true + 1 + false hourly @@ -255,6 +257,72 @@ + + + chronicle-eight-default + + + !test + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + + default-test + + ${chronicle.test.forkCount} + ${chronicle.test.reuseForks} + + **/*$* + + ${project.basedir}/.mvn/serial-tests.txt + + + + serial-tests + test + + test + + + 1 + false + + + %regex[^$] + + ${project.basedir}/.mvn/serial-tests.txt + + + + + + + + + test-serial + + + + org.apache.maven.plugins + maven-surefire-plugin + + + default-test + + 1 + false + + + + + + + From 1341346c52ff2307d32dca1bbb81e4f88594d10c Mon Sep 17 00:00:00 2001 From: Peter Lawrey Date: Sun, 20 Sep 2026 16:39:57 +0100 Subject: [PATCH 2/3] FIX-292: Reuse test workers and avoid repeated build phases --- .mvn/serial-tests.txt | 49 +++---------------------------------------- pom.xml | 22 +++++++++++++++++++ 2 files changed, 25 insertions(+), 46 deletions(-) diff --git a/.mvn/serial-tests.txt b/.mvn/serial-tests.txt index 2ccc9026e..deaceac53 100644 --- a/.mvn/serial-tests.txt +++ b/.mvn/serial-tests.txt @@ -1,47 +1,4 @@ -# Static FIX-292 isolation snapshot, 2026-09-20. Provisional entries require review before removal. -# Open PRs #357 +# FIX-292: develop already uses four reused workers; retain only the observed eight-worker exception. +# Reverse-order eight-worker run: lookupFindsSurvivingRunnerWhenEarlierRunnerIsRemoved recorded +# 'Interrupted waiting for the worker' during shutdown. Keep this class separate pending its fixture repair. net/openhft/chronicle/threads/BlockingEventLoopShutdownTest.java -# references changed/named test fixture -net/openhft/chronicle/threads/BlockingEventLoopTest.java -# Open PRs #358; affinity-or-global-handler -net/openhft/chronicle/threads/DiskSpaceMonitorTest.java -# references changed/named test fixture -net/openhft/chronicle/threads/EventGroupBadAffinityTest.java -# references changed/named test fixture -net/openhft/chronicle/threads/EventGroupHandlerTest.java -# references changed/named test fixture -net/openhft/chronicle/threads/EventGroupStressTest.java -# references changed/named test fixture -net/openhft/chronicle/threads/EventGroupTest.java -# references changed/named test fixture -net/openhft/chronicle/threads/EventLoopAdmissionTest.java -# references changed/named test fixture -net/openhft/chronicle/threads/EventLoopConcurrencyStressTest.java -# affinity-or-global-handler -net/openhft/chronicle/threads/EventLoopsTest.java -# references changed/named test fixture -net/openhft/chronicle/threads/HandlerAdmissionTest.java -# references changed/named test fixture -net/openhft/chronicle/threads/HandlerRegistrationClosedExceptionTest.java -# Open PRs #359 -net/openhft/chronicle/threads/LongPauserTest.java -# references changed/named test fixture -net/openhft/chronicle/threads/LoopIntrospectionTest.java -# references changed/named test fixture -net/openhft/chronicle/threads/MediumEventLoopTest.java -# references changed/named test fixture -net/openhft/chronicle/threads/PauserTest.java -# references changed/named test fixture -net/openhft/chronicle/threads/PauserTimeoutTest.java -# references changed/named test fixture -net/openhft/chronicle/threads/StopVCloseTest.java -# references changed/named test fixture -net/openhft/chronicle/threads/ThreadsTest.java -# references changed/named test fixture -net/openhft/chronicle/threads/VanillaEventLoopTest.java -# Open PRs #359 -net/openhft/chronicle/threads/YieldingPauserTest.java -# references changed/named test fixture -net/openhft/chronicle/threads/internal/EventLoopStateRendererTest.java -# references changed/named test fixture -net/openhft/chronicle/threads/internal/ThreadsThreadHolderTest.java diff --git a/pom.xml b/pom.xml index 70f5b0328..873f0f332 100644 --- a/pom.xml +++ b/pom.xml @@ -239,6 +239,28 @@ + + + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + none + + + + attach-sources-no-fork + package + + jar-no-fork + + + + + + From a5a473fb692e38666874963d01624957fea6390e Mon Sep 17 00:00:00 2001 From: Peter Lawrey Date: Sun, 20 Sep 2026 17:03:25 +0100 Subject: [PATCH 3/3] FIX-292: Isolate tests exposed by platform CI --- .mvn/serial-tests.txt | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.mvn/serial-tests.txt b/.mvn/serial-tests.txt index deaceac53..9715f553e 100644 --- a/.mvn/serial-tests.txt +++ b/.mvn/serial-tests.txt @@ -1,4 +1,7 @@ -# FIX-292: develop already uses four reused workers; retain only the observed eight-worker exception. -# Reverse-order eight-worker run: lookupFindsSurvivingRunnerWhenEarlierRunnerIsRemoved recorded -# 'Interrupted waiting for the worker' during shutdown. Keep this class separate pending its fixture repair. +# FIX-292: exceptions supported by observed local and platform CI failures. +# BlockingEventLoopShutdownTest: local reverse-order shutdown warning. +# Timing assertions failed on both Zing JDKs; retain their original assertions and timings in serial/fresh execution. +# TeamCity builds: 1365949, 1365950 net/openhft/chronicle/threads/BlockingEventLoopShutdownTest.java +net/openhft/chronicle/threads/LongPauserTest.java +net/openhft/chronicle/threads/YieldingPauserTest.java