mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 00:30:49 +00:00
Stress test: Include the first sanitizer block message in the report
This commit is contained in:
parent
2d2acd6bf9
commit
b83b7a7ab7
@ -214,8 +214,7 @@ function check_server_start()
|
|||||||
function check_logs_for_critical_errors()
|
function check_logs_for_critical_errors()
|
||||||
{
|
{
|
||||||
# Sanitizer asserts
|
# Sanitizer asserts
|
||||||
rg -Fa "==================" /var/log/clickhouse-server/stderr.log | rg -v "in query:" >> /test_output/tmp
|
sed -n '/==================/,/^$/p' /var/log/clickhouse-server/stderr.log | rg -v "Logging" | rg -v "in query:" >> /test_output/tmp
|
||||||
rg -Fa "WARNING" /var/log/clickhouse-server/stderr.log >> /test_output/tmp
|
|
||||||
rg -Fav -e "ASan doesn't fully support makecontext/swapcontext functions" -e "DB::Exception" /test_output/tmp > /dev/null \
|
rg -Fav -e "ASan doesn't fully support makecontext/swapcontext functions" -e "DB::Exception" /test_output/tmp > /dev/null \
|
||||||
&& echo -e "Sanitizer assert (in stderr.log)$FAIL$(head_escaped /test_output/tmp)" >> /test_output/test_results.tsv \
|
&& echo -e "Sanitizer assert (in stderr.log)$FAIL$(head_escaped /test_output/tmp)" >> /test_output/test_results.tsv \
|
||||||
|| echo -e "No sanitizer asserts$OK" >> /test_output/test_results.tsv
|
|| echo -e "No sanitizer asserts$OK" >> /test_output/test_results.tsv
|
||||||
|
Loading…
Reference in New Issue
Block a user