From: Michael Jeanson Date: Mon, 24 Oct 2022 20:07:19 +0000 (-0400) Subject: jjb: lttng-tools: disable timesyncd in rootbuild jobs X-Git-Url: https://git.lttng.org/?a=commitdiff_plain;h=addba873b1b8a967f84221397dd9ad74aa796c50;p=lttng-ci.git jjb: lttng-tools: disable timesyncd in rootbuild jobs Change-Id: I50069d65317f8f7bedba17e07b5038ab7fb91664 Signed-off-by: Michael Jeanson --- 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"