mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 00:30:49 +00:00
Debug fuzzer failures (#61062)
This commit is contained in:
parent
afc1bc6766
commit
6b4867f746
@ -343,10 +343,9 @@ quit
|
|||||||
# which is confusing.
|
# which is confusing.
|
||||||
task_exit_code=$fuzzer_exit_code
|
task_exit_code=$fuzzer_exit_code
|
||||||
echo "failure" > status.txt
|
echo "failure" > status.txt
|
||||||
{ rg -ao "Found error:.*" fuzzer.log \
|
echo "Achtung!" > description.txt
|
||||||
|| rg -ao "Exception:.*" fuzzer.log \
|
echo "Fuzzer went wrong with error code: ($fuzzer_exit_code). Its process died somehow when the server stayed alive. The server log probably won't tell you much so try to find information in other files." >>description.txt
|
||||||
|| echo "Fuzzer failed ($fuzzer_exit_code). See the logs." ; } \
|
{ rg -ao "Found error:.*" fuzzer.log || rg -ao "Exception:.*" fuzzer.log; } | tail -1 >>description.txt
|
||||||
| tail -1 > description.txt
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test -f core.*; then
|
if test -f core.*; then
|
||||||
|
@ -634,6 +634,7 @@ void ASTAlterQuery::formatQueryImpl(const FormatSettings & settings, FormatState
|
|||||||
settings.ostr << '.';
|
settings.ostr << '.';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
chassert(table);
|
||||||
table->formatImpl(settings, state, frame);
|
table->formatImpl(settings, state, frame);
|
||||||
}
|
}
|
||||||
else if (alter_object == AlterObjectType::DATABASE && database)
|
else if (alter_object == AlterObjectType::DATABASE && database)
|
||||||
|
@ -53,6 +53,7 @@ protected:
|
|||||||
settings.ostr << '.';
|
settings.ostr << '.';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
chassert(table);
|
||||||
table->formatImpl(settings, state, frame);
|
table->formatImpl(settings, state, frame);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -52,6 +52,7 @@ void ASTCreateIndexQuery::formatQueryImpl(const FormatSettings & settings, Forma
|
|||||||
settings.ostr << '.';
|
settings.ostr << '.';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
chassert(table);
|
||||||
table->formatImpl(settings, state, frame);
|
table->formatImpl(settings, state, frame);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -337,6 +337,7 @@ void ASTCreateQuery::formatQueryImpl(const FormatSettings & settings, FormatStat
|
|||||||
settings.ostr << '.';
|
settings.ostr << '.';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
chassert(table);
|
||||||
table->formatImpl(settings, state, frame);
|
table->formatImpl(settings, state, frame);
|
||||||
|
|
||||||
if (uuid != UUIDHelpers::Nil)
|
if (uuid != UUIDHelpers::Nil)
|
||||||
@ -370,6 +371,7 @@ void ASTCreateQuery::formatQueryImpl(const FormatSettings & settings, FormatStat
|
|||||||
settings.ostr << '.';
|
settings.ostr << '.';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
chassert(table);
|
||||||
table->formatImpl(settings, state, frame);
|
table->formatImpl(settings, state, frame);
|
||||||
|
|
||||||
if (uuid != UUIDHelpers::Nil)
|
if (uuid != UUIDHelpers::Nil)
|
||||||
|
@ -40,6 +40,7 @@ void ASTDeleteQuery::formatQueryImpl(const FormatSettings & settings, FormatStat
|
|||||||
settings.ostr << '.';
|
settings.ostr << '.';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
chassert(table);
|
||||||
table->formatImpl(settings, state, frame);
|
table->formatImpl(settings, state, frame);
|
||||||
|
|
||||||
formatOnCluster(settings);
|
formatOnCluster(settings);
|
||||||
|
@ -47,6 +47,7 @@ void ASTDropIndexQuery::formatQueryImpl(const FormatSettings & settings, FormatS
|
|||||||
settings.ostr << '.';
|
settings.ostr << '.';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
chassert(table);
|
||||||
table->formatImpl(settings, state, frame);
|
table->formatImpl(settings, state, frame);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -76,6 +76,7 @@ void ASTDropQuery::formatQueryImpl(const FormatSettings & settings, FormatState
|
|||||||
settings.ostr << '.';
|
settings.ostr << '.';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
chassert(table);
|
||||||
table->formatImpl(settings, state, frame);
|
table->formatImpl(settings, state, frame);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -74,6 +74,7 @@ void ASTInsertQuery::formatImpl(const FormatSettings & settings, FormatState & s
|
|||||||
settings.ostr << '.';
|
settings.ostr << '.';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
chassert(table);
|
||||||
table->formatImpl(settings, state, frame);
|
table->formatImpl(settings, state, frame);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -15,6 +15,7 @@ void ASTOptimizeQuery::formatQueryImpl(const FormatSettings & settings, FormatSt
|
|||||||
settings.ostr << '.';
|
settings.ostr << '.';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
chassert(table);
|
||||||
table->formatImpl(settings, state, frame);
|
table->formatImpl(settings, state, frame);
|
||||||
|
|
||||||
formatOnCluster(settings);
|
formatOnCluster(settings);
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include <base/defines.h>
|
||||||
#include <Parsers/IAST.h>
|
#include <Parsers/IAST.h>
|
||||||
#include <Parsers/ASTQueryWithOutput.h>
|
#include <Parsers/ASTQueryWithOutput.h>
|
||||||
#include <Core/UUID.h>
|
#include <Core/UUID.h>
|
||||||
@ -61,6 +62,7 @@ protected:
|
|||||||
settings.ostr << '.';
|
settings.ostr << '.';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
chassert(table);
|
||||||
table->formatImpl(settings, state, frame);
|
table->formatImpl(settings, state, frame);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -127,6 +127,7 @@ protected:
|
|||||||
settings.ostr << '.';
|
settings.ostr << '.';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
chassert(it->from.table);
|
||||||
it->from.table->formatImpl(settings, state, frame);
|
it->from.table->formatImpl(settings, state, frame);
|
||||||
|
|
||||||
settings.ostr << (settings.hilite ? hilite_keyword : "") << (exchange ? " AND " : " TO ") << (settings.hilite ? hilite_none : "");
|
settings.ostr << (settings.hilite ? hilite_keyword : "") << (exchange ? " AND " : " TO ") << (settings.hilite ? hilite_none : "");
|
||||||
@ -137,6 +138,7 @@ protected:
|
|||||||
settings.ostr << '.';
|
settings.ostr << '.';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
chassert(it->to.table);
|
||||||
it->to.table->formatImpl(settings, state, frame);
|
it->to.table->formatImpl(settings, state, frame);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -114,6 +114,7 @@ void ASTSystemQuery::formatImpl(const FormatSettings & settings, FormatState & s
|
|||||||
settings.ostr << '.';
|
settings.ostr << '.';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
chassert(table);
|
||||||
table->formatImpl(settings, state, frame);
|
table->formatImpl(settings, state, frame);
|
||||||
return settings.ostr;
|
return settings.ostr;
|
||||||
};
|
};
|
||||||
|
@ -36,6 +36,7 @@ void ASTUndropQuery::formatQueryImpl(const FormatSettings & settings, FormatStat
|
|||||||
settings.ostr << '.';
|
settings.ostr << '.';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
chassert(table);
|
||||||
table->formatImpl(settings, state, frame);
|
table->formatImpl(settings, state, frame);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -52,6 +52,7 @@ protected:
|
|||||||
settings.ostr << '.';
|
settings.ostr << '.';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
chassert(table);
|
||||||
table->formatImpl(settings, state, frame);
|
table->formatImpl(settings, state, frame);
|
||||||
|
|
||||||
if (is_watch_events)
|
if (is_watch_events)
|
||||||
|
Loading…
Reference in New Issue
Block a user