mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
Merge pull request #68983 from ClickHouse/hhhh
Actually fix false "Killed by signal (output files)" in stress_tests.lib
This commit is contained in:
commit
d3e8ed9f4d
@ -272,8 +272,10 @@ function check_logs_for_critical_errors()
|
||||
# Remove file no_such_key_errors.txt if it's empty
|
||||
[ -s /test_output/no_such_key_errors.txt ] || rm /test_output/no_such_key_errors.txt
|
||||
|
||||
# Crash
|
||||
rg -Fa "###################""#####################" /var/log/clickhouse-server/clickhouse-server*.log > /dev/null \
|
||||
# Crash. This must have fewer '#'s than the command below, otherwise the command below will match
|
||||
# the echo of this command (if set -x is enabled, and this script's stdout is sent
|
||||
# to /test_output/run.log).
|
||||
rg -Fa "#######################################" /var/log/clickhouse-server/clickhouse-server*.log > /dev/null \
|
||||
&& echo -e "Killed by signal (in clickhouse-server.log)$FAIL" >> /test_output/test_results.tsv \
|
||||
|| echo -e "Not crashed$OK" >> /test_output/test_results.tsv
|
||||
|
||||
@ -285,7 +287,7 @@ function check_logs_for_critical_errors()
|
||||
# Remove file fatal_messages.txt if it's empty
|
||||
[ -s /test_output/fatal_messages.txt ] || rm /test_output/fatal_messages.txt
|
||||
|
||||
rg -Faz "####################""####################" /test_output/* > /dev/null \
|
||||
rg -Faz "########################################" /test_output/* > /dev/null \
|
||||
&& echo -e "Killed by signal (output files)$FAIL" >> /test_output/test_results.tsv
|
||||
|
||||
function get_gdb_log_context()
|
||||
|
Loading…
Reference in New Issue
Block a user