-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Flaky test: test_restore_db_replica/test.py::test_query_after_restore_db_replica #92486
Copy link
Copy link
Closed
Closed
Copy link
Labels
flaky testflaky test found by CIflaky test found by CItestingSpecial issue with list of bugs found by CISpecial issue with list of bugs found by CI
Description
Important: This issue was automatically generated and is used by CI for matching failures. DO NOT modify the body content. DO NOT remove labels.
Test name: test_restore_db_replica/test.py::test_query_after_restore_db_replica
Failure reason: DB::Exception: Table test_create_table does not exist
CI report: Integration tests (amd_tsan, 4/6)
CIDB statistics: cidb
Test output:
File: test_restore_db_replica/test.py:359 - in test_query_after_restore_db_replica
change_table(
File: test_restore_db_replica/test.py:190 - in <lambda>
lambda node, t1, t2: rename_table(node, t1, t2),
File: test_restore_db_replica/test.py:97 - in rename_table
node.query(
File: helpers/cluster.py:4441 - in query
return self.client.query(
File: helpers/client.py:40 - in wrap
return func(self, *args, **kwargs)
File: helpers/client.py:80 - in query
).get_answer()
File: helpers/client.py:269 - in get_answer
raise QueryRuntimeException(
E helpers.client.QueryRuntimeException: Client failed! Return code: 60, stderr: Received exception from server (version 25.12.1):
E Code: 60. DB::Exception: Received from 172.16.2.5:9000. DB::Exception: Table test_create_table does not exist. Stack trace:
E
E 0. ./contrib/llvm-project/libcxx/include/__exception/exception.h:113: Poco::Exception::Exception(String const&, int) @ 0x000000002eb3fba0
E 1. ./ci/tmp/build/./src/Common/Exception.cpp:131: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x0000000016038bb4
E 2. DB::Exception::Exception(String&&, int, String, bool) @ 0x0000000009bd8c2e
E 3. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000009bd84c9
E 4. DB::Exception::Exception<String const&>(int, FormatStringHelperImpl<std::type_identity<String const&>::type>, String const&) @ 0x0000000009bf2480
E 5. ./ci/tmp/build/./src/Databases/DatabaseReplicated.cpp:2064: DB::DatabaseReplicated::renameTable(std::shared_ptr<DB::Context const>, String const&, DB::IDatabase&, String const&, bool, bool) @ 0x000000001e5a854d
E 6. ./ci/tmp/build/./src/Interpreters/InterpreterRenameQuery.cpp:158: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector<DB::RenameDescription, std::allocator<DB::RenameDescription>> const&, std::map<DB::UniqueTableName, std::unique_ptr<DB::DDLGuard, std::default_delete<DB::DDLGuard>>, std::less<DB::UniqueTableName>, std::allocator<std::pair<DB::UniqueTableName const, std::unique_ptr<DB::DDLGuard, std::default_delete<DB::DDLGuard>>>>>&) @ 0x000000001fe728a6
E 7. ./ci/tmp/build/./src/Interpreters/InterpreterRenameQuery.cpp:81: DB::InterpreterRenameQuery::execute() @ 0x000000001fe706e0
E 8. ./ci/tmp/build/./src/Interpreters/executeQuery.cpp:1738: DB::executeQueryImpl(char const*, char const*, std::shared_ptr<DB::Context>, DB::QueryFlags, DB::QueryProcessingStage::Enum, std::unique_ptr<DB::ReadBuffer, std::default_delete<DB::ReadBuffer>>&, std::shared_ptr<DB::IAST>&, std::shared_ptr<DB::ImplicitTransactionControlExecutor>, std::function<void ()>, DB::QueryResultDetails&) @ 0x000000002040426c
E 9. ./ci/tmp/build/./src/Interpreters/executeQuery.cpp:2119: DB::executeQuery(std::unique_ptr<DB::ReadBuffer, std::default_delete<DB::ReadBuffer>>, DB::WriteBuffer&, std::shared_ptr<DB::Context>, std::function<void (DB::QueryResultDetails const&)>, DB::QueryFlags, std::optional<DB::FormatSettings> const&, std::function<void (DB::IOutputFormat&, String const&, std::shared_ptr<DB::Context const> const&, std::optional<DB::FormatSettings> const&)>, std::function<void ()>, std::function<void ()>) @ 0x000000002040b398
E 10. ./ci/tmp/build/./src/Interpreters/executeQuery.cpp:1984: DB::executeQuery(DB::ReadBuffer&, DB::WriteBuffer&, std::shared_ptr<DB::Context>, std::function<void (DB::QueryResultDetails const&)>, DB::QueryFlags, std::optional<DB::FormatSettings> const&, std::function<void (DB::IOutputFormat&, String const&, std::shared_ptr<DB::Context const> const&, std::optional<DB::FormatSettings> const&)>, std::function<void ()>, std::function<void ()>) @ 0x000000002040a8cc
E 11. ./ci/tmp/build/./src/Interpreters/DDLWorker.cpp:516: DB::DDLWorker::tryExecuteQuery(DB::DDLTaskBase&, std::shared_ptr<zkutil::ZooKeeper> const&, bool) @ 0x000000001fc18f19
E 12. ./ci/tmp/build/./src/Interpreters/DDLWorker.cpp:684: DB::DDLWorker::processTask(DB::DDLTaskBase&, std::shared_ptr<zkutil::ZooKeeper> const&, bool) @ 0x000000001fc15fbc
E 13. ./ci/tmp/build/./src/Databases/DatabaseReplicatedWorker.cpp:466: DB::DatabaseReplicatedDDLWorker::tryEnqueueAndExecuteEntry(DB::DDLLogEntry&, std::shared_ptr<DB::Context const>, bool) @ 0x000000001e5d21ab
E 14. ./ci/tmp/build/./src/Databases/DatabaseReplicated.cpp:1314: DB::DatabaseReplicated::tryEnqueueReplicatedDDL(std::shared_ptr<DB::IAST> const&, std::shared_ptr<DB::Context const>, DB::QueryFlags) @ 0x000000001e586917
E 15. ./ci/tmp/build/./src/Interpreters/InterpreterRenameQuery.cpp:129: DB::InterpreterRenameQuery::executeToTables(DB::ASTRenameQuery const&, std::vector<DB::RenameDescription, std::allocator<DB::RenameDescription>> const&, std::map<DB::UniqueTableName, std::unique_ptr<DB::DDLGuard, std::default_delete<DB::DDLGuard>>, std::less<DB::UniqueTableName>, std::allocator<std::pair<DB::UniqueTableName const, std::unique_ptr<DB::DDLGuard, std::default_delete<DB::DDLGuard>>>>>&) @ 0x000000001fe72403
E 16. ./ci/tmp/build/./src/Interpreters/InterpreterRenameQuery.cpp:81: DB::InterpreterRenameQuery::execute() @ 0x000000001fe706e0
E 17. ./ci/tmp/build/./src/Interpreters/executeQuery.cpp:1738: DB::executeQueryImpl(char const*, char const*, std::shared_ptr<DB::Context>, DB::QueryFlags, DB::QueryProcessingStage::Enum, std::unique_ptr<DB::ReadBuffer, std::default_delete<DB::ReadBuffer>>&, std::shared_ptr<DB::IAST>&, std::shared_ptr<DB::ImplicitTransactionControlExecutor>, std::function<void ()>, DB::QueryResultDetails&) @ 0x000000002040426c
E 18. ./ci/tmp/build/./src/Interpreters/executeQuery.cpp:1959: DB::executeQuery(String const&, std::shared_ptr<DB::Context>, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x00000000203fc90f
E 19. ./ci/tmp/build/./src/Server/TCPHandler.cpp:776: DB::TCPHandler::runImpl() @ 0x00000000262774f6
E 20. ./ci/tmp/build/./src/Server/TCPHandler.cpp:2866: DB::TCPHandler::run() @ 0x00000000262a6868
E 21. ./ci/tmp/build/./base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x000000002ec6f8a3
E 22. ./ci/tmp/build/./base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x000000002ec701c2
E 23. ./ci/tmp/build/./base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x000000002ebd2191
E 24. ./ci/tmp/build/./base/poco/Foundation/src/Thread.cpp:45: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000002ebd0270
E 25. ./base/poco/Foundation/src/Thread_POSIX.cpp:341: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000002ebce50a
E 26. __tsan_thread_start_func @ 0x0000000009b437b8
E 27. ? @ 0x0000000000094ac3
E 28. ? @ 0x00000000001268c0
E . (UNKNOWN_TABLE)
E (query: RENAME TABLE repl_db_test_query_after_restore_db_replica_rename_table_with_exists_table_no_restart__yrygfx.test_create_table TO repl_db_test_query_after_restore_db_replica_rename_table_with_exists_table_no_restart__yrygfx.test_rename_table
E )
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
flaky testflaky test found by CIflaky test found by CItestingSpecial issue with list of bugs found by CISpecial issue with list of bugs found by CI