diff --git a/docker/test/stateless/Dockerfile b/docker/test/stateless/Dockerfile index 90b4068fb93..bc6255a214e 100644 --- a/docker/test/stateless/Dockerfile +++ b/docker/test/stateless/Dockerfile @@ -23,6 +23,10 @@ RUN apt-get update -y \ ENV TZ=Europe/Moscow RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone +ENV TSAN_OPTIONS='halt_on_error=1' +ENV UBSAN_OPTIONS='print_stacktrace=1' +ENV ASAN_SYMBOLIZER_PATH=/usr/lib/llvm-6.0/bin/llvm-symbolizer + COPY zookeeper.xml /etc/clickhouse-server/config.d/zookeeper.xml COPY listen.xml /etc/clickhouse-server/config.d/listen.xml COPY part_log.xml /etc/clickhouse-server/config.d/part_log.xml diff --git a/docker/test/stress/Dockerfile b/docker/test/stress/Dockerfile index 8f2524930c1..0b1c9bfbd2a 100644 --- a/docker/test/stress/Dockerfile +++ b/docker/test/stress/Dockerfile @@ -19,6 +19,10 @@ RUN apt-get update -y \ netcat-openbsd \ telnet +ENV TSAN_OPTIONS='halt_on_error=1' +ENV UBSAN_OPTIONS='print_stacktrace=1' +ENV ASAN_SYMBOLIZER_PATH=/usr/lib/llvm-6.0/bin/llvm-symbolizer + COPY ./stress /stress COPY log_queries.xml /etc/clickhouse-server/users.d/log_queries.xml COPY part_log.xml /etc/clickhouse-server/config.d/part_log.xml