Skip to content

Commit

Permalink
Merge pull request ClickHouse#60374 from azat/fuzzer-fatal-log-artifact
Browse files Browse the repository at this point in the history
Expose fatal.log separately for fuzzer
  • Loading branch information
alexey-milovidov authored Feb 25, 2024
2 parents 648e6ec + dd690dd commit 07c828e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docker/test/fuzzer/run-fuzzer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,11 @@ if [ -f core.zst ]; then
fi

rg --text -F '<Fatal>' server.log > fatal.log ||:
FATAL_LINK=''
if [ -s fatal.log ]; then
FATAL_LINK='<a href="fatal.log">fatal.log</a>'
fi

dmesg -T > dmesg.log ||:

zstd --threads=0 --rm server.log
Expand Down Expand Up @@ -419,6 +424,7 @@ p.links a { padding: 5px; margin: 3px; background: #FFF; line-height: 2; white-s
<a href="main.log">main.log</a>
<a href="dmesg.log">dmesg.log</a>
${CORE_LINK}
${FATAL_LINK}
</p>
<table>
<tr>
Expand Down
1 change: 1 addition & 0 deletions tests/ci/ast_fuzzer_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ def main():
"report.html": workspace_path / "report.html",
"core.zst": workspace_path / "core.zst",
"dmesg.log": workspace_path / "dmesg.log",
"fatal.log": workspace_path / "fatal.log",
}

compressed_server_log_path = workspace_path / "server.log.zst"
Expand Down

0 comments on commit 07c828e

Please sign in to comment.