From addba873b1b8a967f84221397dd9ad74aa796c50 Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Mon, 24 Oct 2022 16:07:19 -0400 Subject: [PATCH] jjb: lttng-tools: disable timesyncd in rootbuild jobs Change-Id: I50069d65317f8f7bedba17e07b5038ab7fb91664 Signed-off-by: Michael Jeanson --- scripts/lttng-tools/build.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/lttng-tools/build.sh b/scripts/lttng-tools/build.sh index 4aaca86..c05a849 100755 --- a/scripts/lttng-tools/build.sh +++ b/scripts/lttng-tools/build.sh @@ -461,7 +461,11 @@ if [ "$LTTNG_TOOLS_RUN_TESTS" = "yes" ] && [ "$conf" != "no-ust" ]; then set_execute_traversal_bit "$DEPS_LIB" # Allow `all` to interact with all deps libs. chmod a+rwx -R "$DEPS_LIB" + export LTTNG_ENABLE_DESTRUCTIVE_TESTS="will-break-my-system" + + # Some destructive tests play with the system clock, disable timesyncd + systemctl stop systemd-timesyncd.service || true fi make --keep-going check || failed_tests=1 rsync -a --exclude 'test-suite.log' --include '*/' --include '*.log' --exclude='*' tests/ "$TAPDIR" -- 2.34.1