Skip to content

test_log_query_probability/test.py::test_log_quries_probability_two failed #89279

@tuanpach

Description

@tuanpach

CIDB: link

File: test_log_query_probability/test.py:61 - in test_log_quries_probability_two
    ans2 = node2.query(
File: helpers/cluster.py:4255 - in query
    return self.client.query(
File: helpers/client.py:39 - in wrap
    return func(self, *args, **kwargs)
File: helpers/client.py:79 - in query
    ).get_answer()
File: helpers/client.py:247 - in get_answer
    raise QueryRuntimeException(
E   helpers.client.QueryRuntimeException: Client failed! Return code: 60, stderr: Received exception from server (version 25.10.1):
E   Code: 60. DB::Exception: Received from 172.16.6.7:9000. DB::Exception: Unknown table expression identifier 'system.query_log' in scope SELECT count() FROM system.query_log WHERE (query LIKE '%12345%') AND (query NOT LIKE '%system.query_log%'). Stack trace:
E   
E   0. ./contrib/llvm-project/libcxx/include/__exception/exception.h:113: Poco::Exception::Exception(String const&, int) @ 0x0000000049947931
E   1. ./ci/tmp/build/./src/Common/Exception.cpp:129: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x0000000020eae6f3
E   2. DB::Exception::Exception(String&&, int, String, bool) @ 0x000000000df816f7
E   3. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000df8082a
E   4. DB::Exception::Exception<String const&, String>(int, FormatStringHelperImpl<std::type_identity<String const&>::type, std::type_identity<String>::type>, String const&, String&&) @ 0x000000001035157e
E   5. ./ci/tmp/build/./src/Analyzer/Resolve/QueryAnalyzer.cpp:3355: DB::QueryAnalyzer::initializeQueryJoinTreeNode(std::shared_ptr<DB::IQueryTreeNode>&, DB::IdentifierResolveScope&) @ 0x000000002f1995ad
E   6. ./ci/tmp/build/./src/Analyzer/Resolve/QueryAnalyzer.cpp:4704: DB::QueryAnalyzer::resolveQuery(std::shared_ptr<DB::IQueryTreeNode> const&, DB::IdentifierResolveScope&) @ 0x000000002f14f621
E   7. ./ci/tmp/build/./src/Analyzer/Resolve/QueryAnalyzer.cpp:135: DB::QueryAnalyzer::resolve(std::shared_ptr<DB::IQueryTreeNode>&, std::shared_ptr<DB::IQueryTreeNode> const&, std::shared_ptr<DB::Context const>) @ 0x000000002f14d02e
E   8. ./ci/tmp/build/./src/Analyzer/Resolve/QueryAnalysisPass.cpp:18: DB::QueryAnalysisPass::run(std::shared_ptr<DB::IQueryTreeNode>&, std::shared_ptr<DB::Context const>) @ 0x000000002f14b2fb
E   9. ./ci/tmp/build/./src/Analyzer/QueryTreePassManager.cpp:191: DB::QueryTreePassManager::run(std::shared_ptr<DB::IQueryTreeNode>) @ 0x000000002f2116cc
E   10. ./ci/tmp/build/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:165: DB::buildQueryTreeAndRunPasses(std::shared_ptr<DB::IAST> const&, DB::SelectQueryOptions const&, std::shared_ptr<DB::Context const> const&, std::shared_ptr<DB::IStorage> const&) @ 0x0000000031546489
E   11. ./ci/tmp/build/./src/Interpreters/InterpreterSelectQueryAnalyzer.cpp:182: DB::InterpreterSelectQueryAnalyzer::InterpreterSelectQueryAnalyzer(std::shared_ptr<DB::IAST> const&, std::shared_ptr<DB::Context const> const&, DB::SelectQueryOptions const&, std::vector<String, std::allocator<String>> const&) @ 0x0000000031542136
E   12. ./contrib/llvm-project/libcxx/include/__memory/unique_ptr.h:634: std::__unique_if<DB::InterpreterSelectQueryAnalyzer>::__unique_single std::make_unique[abi:ne190107]<DB::InterpreterSelectQueryAnalyzer, std::shared_ptr<DB::IAST>&, std::shared_ptr<DB::Context> const&, DB::SelectQueryOptions const&>(std::shared_ptr<DB::IAST>&, std::shared_ptr<DB::Context> const&, DB::SelectQueryOptions const&) @ 0x00000000315499fe
E   13. ./contrib/llvm-project/libcxx/include/__functional/function.h:716: ? @ 0x00000000314250fb
E   14. ./ci/tmp/build/./src/Interpreters/executeQuery.cpp:1534: 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 ()>) @ 0x0000000031c90a90
E   15. ./ci/tmp/build/./src/Interpreters/executeQuery.cpp:1812: DB::executeQuery(String const&, std::shared_ptr<DB::Context>, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x0000000031c88604
E   16. ./ci/tmp/build/./src/Server/TCPHandler.cpp:743: DB::TCPHandler::runImpl() @ 0x000000003bf8afa0
E   17. ./ci/tmp/build/./src/Server/TCPHandler.cpp:2754: DB::TCPHandler::run() @ 0x000000003bfccd5c
E   18. ./ci/tmp/build/./base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000049b349ef
E   19. ./ci/tmp/build/./base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000049b35717
E   20. ./ci/tmp/build/./base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000049a330ab
E   21. ./base/poco/Foundation/src/Thread_POSIX.cpp:341: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000049a2c908
E   22. asan_thread_start(void*) @ 0x000000000df2be67
E   23. ? @ 0x0000000000094ac3
E   24. ? @ 0x0000000000126850
E   . (UNKNOWN_TABLE)
E   (query: SELECT count() FROM system.query_log WHERE query LIKE '%12345%' AND query NOT LIKE '%system.query_log%')

Metadata

Metadata

Assignees

No one assigned

    Labels

    flaky testflaky test found by CI

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions