From f876b58363c48cdf28a8f19d2c93983f15d2edf2 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 2 Nov 2026 14:20:10 +0000 Subject: [PATCH] ci: keep tsan-instrumented libzmq out of non-tsan environments - the shared buildcache holds the instrumented libzmq/libsodium; spec reuse picked them up for gcc@15 jobs of the latest and boost187 environments, crashing every test in fork() under libtsan - exclude them from reuse in both environments Co-Authored-By: Claude Sonnet 5.5 --- test/ci/spack-boost187.yaml | 7 +++++++ test/ci/spack-latest.yaml | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/test/ci/spack-boost187.yaml b/test/ci/spack-boost187.yaml index d117eddb..73b6b4f5 100644 --- a/test/ci/spack-boost187.yaml +++ b/test/ci/spack-boost187.yaml @@ -9,6 +9,13 @@ spack: concretizer: targets: granularity: generic + reuse: + # the shared buildcache also holds the ThreadSanitizer-instrumented + # libzmq/libsodium of the tsan environment; reusing them here would + # link an instrumented library into uninstrumented binaries + exclude: + - "libzmq cflags=-fsanitize=thread" + - "libsodium cflags=-fsanitize=thread" packages: all: diff --git a/test/ci/spack-latest.yaml b/test/ci/spack-latest.yaml index f619cd01..b1e87da1 100644 --- a/test/ci/spack-latest.yaml +++ b/test/ci/spack-latest.yaml @@ -9,6 +9,13 @@ spack: concretizer: targets: granularity: generic + reuse: + # the shared buildcache also holds the ThreadSanitizer-instrumented + # libzmq/libsodium of the tsan environment; reusing them here would + # link an instrumented library into uninstrumented binaries + exclude: + - "libzmq cflags=-fsanitize=thread" + - "libsodium cflags=-fsanitize=thread" packages: all: