From bb1127b8902cae81101f644fe2034332d4ddfb1a Mon Sep 17 00:00:00 2001 From: Grisha Sobol Date: Mon, 25 May 2026 20:31:03 +0200 Subject: [PATCH 1/2] ci(nextest): demote gear-lazy-pages leak detection to non-fatal gear-lazy-pages tests trip LEAK-FAIL on macos-aarch64 (Apple Silicon) debug runs even though every test passes its assertions. Reproduced on trivial tests like pages::tests::end_offset that do nothing but arithmetic: the test function returns in <20ms but the binary process does not close its stdout/stderr handles within nextest's default 5s leak-timeout, so nextest marks it leaky. The crate pulls in wasmer-vm and (on Apple) the mach exception-ports plumbing. Their teardown at process exit can exceed 5s on a busy GHA runner; this is the same shape as the ethexe-service flake fixed in 4857095792. Same mitigation: 10s leak window with result = pass for gear-lazy-pages. Leaks still surface in nextest output for inspection but no longer fail the run. Co-Authored-By: Claude Opus 4.7 --- .config/nextest.toml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.config/nextest.toml b/.config/nextest.toml index 8d1ce5a2696..ca2b5fd0e15 100644 --- a/.config/nextest.toml +++ b/.config/nextest.toml @@ -18,6 +18,15 @@ slow-timeout = { period = "1m", terminate-after = 5 } filter = 'package(ethexe-service)' leak-timeout = { period = "10s", result = "pass" } +# gear-lazy-pages pulls in wasmer-vm + mach exception ports on +# Apple Silicon; their teardown at process exit occasionally exceeds +# the default 5s leak window on busy macos-aarch64 runners and trips +# trivial tests like pages::tests::end_offset as LEAK-FAIL. Same fix +# pattern as ethexe-service: 10s window with result = pass. +[[profile.default.overrides]] +filter = 'package(gear-lazy-pages)' +leak-timeout = { period = "10s", result = "pass" } + [profile.default.junit] path = "junit.xml" store-success-output = false From 4f2780002e226baf91eae2be6406e046c5b90d58 Mon Sep 17 00:00:00 2001 From: Gregory Sobol Date: Mon, 25 May 2026 20:36:47 +0200 Subject: [PATCH 2/2] Clarify comment regarding gear-lazy-pages and wasm Updated comment to clarify wasm execution VM behavior. --- .config/nextest.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/nextest.toml b/.config/nextest.toml index ca2b5fd0e15..03ba154a7ee 100644 --- a/.config/nextest.toml +++ b/.config/nextest.toml @@ -18,7 +18,7 @@ slow-timeout = { period = "1m", terminate-after = 5 } filter = 'package(ethexe-service)' leak-timeout = { period = "10s", result = "pass" } -# gear-lazy-pages pulls in wasmer-vm + mach exception ports on +# gear-lazy-pages pulls in wasm execution vm + mach exception ports on # Apple Silicon; their teardown at process exit occasionally exceeds # the default 5s leak window on busy macos-aarch64 runners and trips # trivial tests like pages::tests::end_offset as LEAK-FAIL. Same fix