ClickHouse/tests/integration/helpers
Azat Khuzhin 0401dc453e Fix flakiness of test_version_update_after_mutation by enabling force_remove_data_recursively_on_drop
Since there can be some leftovers:

    2023.07.24 07:08:25.238066 [ 140 ] {} <Error> Application: Code: 219. DB::Exception: Cannot drop: filesystem error: in remove: Directory not empty ["/var/lib/clickhouse/data/system/"]. Probably database contain some detached tables or metadata leftovers from Ordinary engine. If you want to remove all data anyway, try to attach database back and drop it again with enabled force_remove_data_recursively_on_drop setting: Exception while trying to convert database system from Ordinary to Atomic. It may be in some intermediate state. You can finish conversion manually by moving the rest tables from system to .tmp_convert.system.9396432095832455195 (using RENAME TABLE) and executing DROP DATABASE system and RENAME DATABASE .tmp_convert.system.9396432095832455195 TO system. (DATABASE_NOT_EMPTY), Stack trace (when copying this message, always include the lines below):

    0. DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000e68af57 in /usr/bin/clickhouse
    1. ? @ 0x000000000cab443c in /usr/bin/clickhouse
    2. DB::DatabaseOnDisk::drop(std::shared_ptr<DB::Context const>) @ 0x000000001328d617 in /usr/bin/clickhouse
    3. DB::DatabaseCatalog::detachDatabase(std::shared_ptr<DB::Context const>, String const&, bool, bool) @ 0x0000000013524a6c in /usr/bin/clickhouse
    4. DB::InterpreterDropQuery::executeToDatabaseImpl(DB::ASTDropQuery const&, std::shared_ptr<DB::IDatabase>&, std::vector<StrongTypedef<wide::integer<128ul, unsigned int>, DB::UUIDTag>, std::allocator<StrongTypedef<wide::integer<128ul, unsigned int>, DB::UUIDTag>>>&) @ 0x0000000013bc05e4 in /usr/bin/clickhouse
    5. DB::InterpreterDropQuery::executeToDatabase(DB::ASTDropQuery const&) @ 0x0000000013bbc6b8 in /usr/bin/clickhouse
    6. DB::InterpreterDropQuery::execute() @ 0x0000000013bbba22 in /usr/bin/clickhouse
    7. ? @ 0x00000000140b13a5 in /usr/bin/clickhouse
    8. DB::executeQuery(String const&, std::shared_ptr<DB::Context>, bool, DB::QueryProcessingStage::Enum) @ 0x00000000140ad20e in /usr/bin/clickhouse
    9. ? @ 0x00000000140d2ef0 in /usr/bin/clickhouse
    10. DB::maybeConvertSystemDatabase(std::shared_ptr<DB::Context>) @ 0x00000000140d0aaf in /usr/bin/clickhouse
    11. DB::Server::main(std::vector<String, std::allocator<String>> const&) @ 0x000000000e724e55 in /usr/bin/clickhouse
    12. Poco::Util::Application::run() @ 0x0000000017ead086 in /usr/bin/clickhouse
    13. DB::Server::run() @ 0x000000000e714a5d in /usr/bin/clickhouse
    14. Poco::Util::ServerApplication::run(int, char**) @ 0x0000000017ec07b9 in /usr/bin/clickhouse
    15. mainEntryClickHouseServer(int, char**) @ 0x000000000e711a26 in /usr/bin/clickhouse
    16. main @ 0x0000000008cf13cf in /usr/bin/clickhouse
    17. __libc_start_main @ 0x0000000000021b97 in /lib/x86_64-linux-gnu/libc-2.27.so
    18. _start @ 0x00000000080705ae in /usr/bin/clickhouse
     (version 23.7.1.2012)

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-07-24 10:34:50 +02:00
..
dictonaries
s3_mocks do not call finalize after exception 2023-06-13 10:48:31 +02:00
__init__.py
0_common_enable_analyzer.xml Add integration test check with enabled analyzer 2023-06-13 13:09:39 +00:00
0_common_enable_dictionaries.xml Remove one line from XML, because we do not care 2022-08-28 02:44:02 +02:00
0_common_instance_config.xml orphaned role - expiration_time => expiration_time_seconds 2023-03-21 08:44:08 +01:00
0_common_instance_users.xml tests: switch <yandex> to <clickhouse> 2021-10-26 09:02:13 +03:00
client.py do not call finalize after exception 2023-06-13 10:48:31 +02:00
cluster.py Fix flakiness of test_version_update_after_mutation by enabling force_remove_data_recursively_on_drop 2023-07-24 10:34:50 +02:00
config_cluster.py black check formatted 2022-04-05 12:46:54 -04:00
corrupt_part_data_on_disk.py Review fixes 2022-06-12 01:15:10 +02:00
dictionary.py Apply black formatter to all *.py files in the repo 2022-03-22 17:39:58 +01:00
external_sources.py Fix style 2023-04-26 20:10:10 +00:00
fake_cert.pem
hdfs_api.py Apply black formatter to all *.py files in the repo 2022-03-22 17:39:58 +01:00
http_server.py Apply black formatter to all *.py files in the repo 2022-03-22 17:39:58 +01:00
keeper_config1.xml fix configs 2022-04-22 15:37:14 +02:00
keeper_config2.xml fix configs 2022-04-22 15:37:14 +02:00
keeper_config3.xml fix configs 2022-04-22 15:37:14 +02:00
keeper_utils.py fix 2023-07-07 00:20:54 +03:00
mock_servers.py reuse s3_mocks, rewrite test test_paranoid_check_in_logs 2023-06-01 01:29:37 +02:00
mongo_cert.pem Fix mongodb test with new cert 2022-04-12 11:47:22 +02:00
mongo_secure.conf Add integration tests 2021-07-28 09:38:34 +00:00
network.py Fix network manager for integration tests 2023-07-18 12:17:26 +02:00
postgres_utility.py Fix 2023-05-12 00:10:49 +02:00
pytest_xdist_logging_to_separate_files.py Update black version, run it for the repository 2023-03-24 11:54:38 +01:00
s3_tools.py Better 2023-03-29 20:01:21 +02:00
ssl_context.py test_grpc_protocol_ssl test_ssl_cert_authentication test_tlsv1_3 don't use fixed IP for instances 2022-08-09 12:01:15 +02:00
test_tools.py Apply black formatter to all *.py files in the repo 2022-03-22 17:39:58 +01:00
uclient.py Apply black formatter to all *.py files in the repo 2022-03-22 17:39:58 +01:00
uexpect.py Apply black formatter to all *.py files in the repo 2022-03-22 17:39:58 +01:00
utility.py Apply black formatter to all *.py files in the repo 2022-03-22 17:39:58 +01:00
wait_for_helpers.py test when merge canceled with s3 2023-05-03 10:39:03 +02:00
zookeeper_config.xml fix configs 2022-04-22 15:37:14 +02:00
zookeeper_secure_config.xml fix configs 2022-04-22 15:37:14 +02:00