From 79ae19161103337b75ad4267b9290ea561239ff4 Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Thu, 29 Dec 2022 18:55:28 +0100 Subject: [PATCH] A few improvements to AST Fuzzer --- docker/test/fuzzer/run-fuzzer.sh | 2 +- tests/ci/ast_fuzzer_check.py | 10 +--------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/docker/test/fuzzer/run-fuzzer.sh b/docker/test/fuzzer/run-fuzzer.sh index b5e716c24b8..b002b38148f 100755 --- a/docker/test/fuzzer/run-fuzzer.sh +++ b/docker/test/fuzzer/run-fuzzer.sh @@ -384,7 +384,7 @@ th { cursor: pointer; } AST Fuzzer $(cat status.txt) - $(clickhouse-local --input-format RawBLOB --output-format RawBLOB --query "SELECT encodeXMLComponent(*) FROM table" < description.txt) + $(clickhouse-local --input-format RawBLOB --output-format RawBLOB --query "SELECT encodeXMLComponent(*) FROM table" < description.txt || cat description.txt) diff --git a/tests/ci/ast_fuzzer_check.py b/tests/ci/ast_fuzzer_check.py index 17f7dbfd6c7..096edeed149 100644 --- a/tests/ci/ast_fuzzer_check.py +++ b/tests/ci/ast_fuzzer_check.py @@ -124,20 +124,12 @@ if __name__ == "__main__": s3_helper = S3Helper() for f in paths: try: - paths[f] = s3_helper.upload_test_report_to_s3(paths[f], s3_prefix + "/" + f) + paths[f] = s3_helper.upload_test_report_to_s3(paths[f], s3_prefix + f) except Exception as ex: logging.info("Exception uploading file %s text %s", f, ex) paths[f] = "" report_url = GITHUB_RUN_URL - if paths["run.log"]: - report_url = paths["run.log"] - if paths["main.log"]: - report_url = paths["main.log"] - if paths["server.log.gz"]: - report_url = paths["server.log.gz"] - if paths["fuzzer.log"]: - report_url = paths["fuzzer.log"] if paths["report.html"]: report_url = paths["report.html"]