Repository navigation
Closed
Labels
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_refreshable_mv/test.py::test_pause
Failure reason: Code:
CI report: Integration tests (amd_tsan, 3/6)
Failing test history: cidb
Test output:
File: test_refreshable_mv/test.py:413 - in test_pause
node.query(
File: helpers/cluster.py:4520 - 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: 82, stderr: Received exception from server (version 26.2.1):
E Code: 82. DB::Exception: Received from 172.16.5.11:9000. DB::Exception: Database re already exists.. Stack trace:
E
E 0. ./contrib/llvm-project/libcxx/include/__exception/exception.h:113: Poco::Exception::Exception(String const&, int) @ 0x000000002f856560
E 1. ./ci/tmp/build/./src/Common/Exception.cpp:136:7: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x00000000168086f8
E 2. ./src/Common/Exception.h:172:100: DB::Exception::Exception(String&&, int, String, bool) @ 0x0000000009c468ee
E 3. ./src/Common/Exception.h:58:54: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000009c4609a
E 4. ./src/Common/Exception.h:190:77: DB::Exception::Exception<String&>(int, FormatStringHelperImpl<std::type_identity<String&>::type>, String&) @ 0x0000000009c7ee40
E 5. ./ci/tmp/build/./src/Interpreters/InterpreterCreateQuery.cpp:201:15: DB::InterpreterCreateQuery::createDatabase(DB::ASTCreateQuery&) @ 0x0000000020737183
E 6. ./ci/tmp/build/./src/Interpreters/InterpreterCreateQuery.cpp:2480:16: DB::InterpreterCreateQuery::execute() @ 0x0000000020761c6f
E 7. ./ci/tmp/build/./src/Interpreters/executeQuery.cpp:1742:40: 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>>&, boost::intrusive_ptr<DB::IAST>&, std::shared_ptr<DB::ImplicitTransactionControlExecutor>, std::function<void ()>, DB::QueryResultDetails&) @ 0x0000000020d356d3
E 8. ./ci/tmp/build/./src/Interpreters/executeQuery.cpp:1970:11: DB::executeQuery(String const&, std::shared_ptr<DB::Context>, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x0000000020d2e06b
E 9. ./ci/tmp/build/./src/Server/TCPHandler.cpp:788:68: DB::TCPHandler::runImpl() @ 0x0000000026c335a9
E 10. ./ci/tmp/build/./src/Server/TCPHandler.cpp:2896:9: DB::TCPHandler::run() @ 0x0000000026c63a68
E 11. ./ci/tmp/build/./base/poco/Net/src/TCPServerConnection.cpp:40:3: Poco::Net::TCPServerConnection::start() @ 0x000000002f989823
E 12. ./ci/tmp/build/./base/poco/Net/src/TCPServerDispatcher.cpp:115:42: Poco::Net::TCPServerDispatcher::run() @ 0x000000002f98a12a
E 13. ./ci/tmp/build/./base/poco/Foundation/src/ThreadPool.cpp:205:14: Poco::PooledThread::run() @ 0x000000002f8ea883
E 14. ./ci/tmp/build/./base/poco/Foundation/src/Thread.cpp:45:11: Poco::(anonymous namespace)::RunnableHolder::run() @ 0x000000002f8e8970
E 15. ./base/poco/Foundation/src/Thread_POSIX.cpp:341:27: Poco::ThreadImpl::runnableEntry(void*) @ 0x000000002f8e6d4a
E 16. __tsan_thread_start_func @ 0x0000000009bb0ea8
E 17. start_thread @ 0x0000000000094ac3
E 18. __clone3 @ 0x00000000001268c0
E . (DATABASE_ALREADY_EXISTS)
E (query: create database re engine = Replicated('/test/re', 'shard1', '{replica}');)
Activity
alexey-milovidov commentedon Feb 20, 2026
Fixed by #97057 and #97138. The
DATABASE_ALREADY_EXISTSerror was a cascading failure: the cleanup fixture'sdrop databasefailed due to thedropInnerTableIfAny→tryEnqueueReplicatedDDLbug, leaving the database around for the next test. Inner tables are now dropped before their parent views duringDROP DATABASE.