jjb: lttng-tools: disable timesyncd in rootbuild jobs
authorMichael Jeanson <mjeanson@efficios.com>
Mon, 24 Oct 2022 20:07:19 +0000 (16:07 -0400)
committerMichael Jeanson <mjeanson@efficios.com>
Mon, 24 Oct 2022 20:08:18 +0000 (16:08 -0400)
Change-Id: I50069d65317f8f7bedba17e07b5038ab7fb91664
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
scripts/lttng-tools/build.sh

index 4aaca861260c339a510944a077b73a15487ef489..c05a8494c152f1515d2b495171d2b72fe30963ff 100755 (executable)
@@ -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"
This page took 0.024811 seconds and 4 git commands to generate.