From 3632d7322f46ee1ca86297ee0fe4540e76da6c74 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Sun, 16 Nov 2025 22:10:55 +0900 Subject: [PATCH] test-network: set TimeoutStopFailureMode=abort when running with sanitizers Hopefully this provides useful data for issue #39631. --- test/test-network/systemd-networkd-tests.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/test-network/systemd-networkd-tests.py b/test/test-network/systemd-networkd-tests.py index 4d2834ba96d..2f4565fe0be 100755 --- a/test/test-network/systemd-networkd-tests.py +++ b/test/test-network/systemd-networkd-tests.py @@ -492,7 +492,10 @@ def create_service_dropin(service, command, additional_settings=None): if ubsan_options: drop_in += [f'Environment=UBSAN_OPTIONS="{ubsan_options}"'] if asan_options or lsan_options or ubsan_options: - drop_in += ['SystemCallFilter='] + drop_in += [ + 'SystemCallFilter=', + 'TimeoutStopFailureMode=abort', + ] if use_valgrind or asan_options or lsan_options or ubsan_options: drop_in += ['MemoryDenyWriteExecute=no'] if use_valgrind: -- 2.47.3