From bcdb5a614aa38a0724c3b2b4213ee9d493f125e1 Mon Sep 17 00:00:00 2001 From: Vitaliy Zakaznikov Date: Tue, 25 May 2021 20:07:54 -0400 Subject: [PATCH] Fixing copying of clickhouse logs into /test_output directory for TestFlows check. --- docker/test/testflows/runner/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/test/testflows/runner/Dockerfile b/docker/test/testflows/runner/Dockerfile index 3bb041b3923..102f3632b8b 100644 --- a/docker/test/testflows/runner/Dockerfile +++ b/docker/test/testflows/runner/Dockerfile @@ -73,4 +73,4 @@ RUN set -x \ VOLUME /var/lib/docker EXPOSE 2375 ENTRYPOINT ["dockerd-entrypoint.sh"] -CMD ["sh", "-c", "python3 regression.py --no-color -o classic --local --clickhouse-binary-path ${CLICKHOUSE_TESTS_SERVER_BIN_PATH} --only /clickhouse/:/foo --log test.log ${TESTFLOWS_OPTS}; cat test.log | tfs report results --format json > results.json; /usr/local/bin/process_testflows_result.py || echo -e 'failure\tCannot parse results' > check_status.tsv; find . -type f | grep _instances | grep clickhouse-server | xargs -n1 tar -rvf /test_output/clickhouse_logs.tar"] +CMD ["sh", "-c", "python3 regression.py --no-color -o classic --local --clickhouse-binary-path ${CLICKHOUSE_TESTS_SERVER_BIN_PATH} --only /clickhouse/:/foo --log test.log ${TESTFLOWS_OPTS}; cat test.log | tfs report results --format json > results.json; /usr/local/bin/process_testflows_result.py || echo -e 'failure\tCannot parse results' > check_status.tsv; find . -type f | grep _instances | grep clickhouse-server | xargs -n1 tar -rvf /test_output/clickhouse_logs.tar; tar -xf /test_output/clickhouse_logs.tar --directory /test_output; rm -rf /test_output/clickhouse_logs.tar"]