Update docker image, and more verbosity

This commit is contained in:
alesapin 2019-03-13 16:52:23 +03:00
parent 8cf09469dd
commit 340f0935ac
2 changed files with 6 additions and 2 deletions

View File

@ -364,6 +364,8 @@ def main(args):
print("\nStacktraces of all threads:")
print(get_stacktraces(server_pid))
exit_code = 1
else:
print(colored("\nNo queries hung.", "green", attrs=["bold"]))
sys.exit(exit_code)

View File

@ -20,7 +20,9 @@ RUN apt-get update -y \
netcat-openbsd \
telnet \
moreutils \
brotli
brotli \
gdb \
lsof
ENV TZ=Europe/Moscow
@ -42,4 +44,4 @@ CMD dpkg -i package_folder/clickhouse-common-static_*.deb; \
echo "UBSAN_SYMBOLIZER_PATH=/usr/lib/llvm-6.0/bin/llvm-symbolizer" >> /etc/environment; \
echo "LLVM_SYMBOLIZER_PATH=/usr/lib/llvm-6.0/bin/llvm-symbolizer" >> /etc/environment; \
service zookeeper start; sleep 5; \
service clickhouse-server start && sleep 5 && clickhouse-test --shard --zookeeper $SKIP_TESTS_OPTION 2>&1 | ts '%Y-%m-%d %H:%M:%S' | tee test_output/test_result.txt
service clickhouse-server start && sleep 5 && clickhouse-test --shard --zookeeper $ADDITIONAL_OPTIONS $SKIP_TESTS_OPTION 2>&1 | ts '%Y-%m-%d %H:%M:%S' | tee test_output/test_result.txt