Skip to content

Flaky test: test_odbc_interaction/test.py::test_many_connections #92521

@Avogar

Description

@Avogar

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_odbc_interaction/test.py::test_many_connections
Failure reason: DB::Exception: Connection refused
CI report: Integration tests (amd_binary, 5/5)

CIDB statistics: cidb

Test output:

File: test_odbc_interaction/test.py:960 - in test_many_connections
    assert node1.query(query.format(t="test_pg_table")) == "250\n"
File: helpers/cluster.py:4398 - 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:258 - in get_answer
    raise QueryRuntimeException(
E   helpers.client.QueryRuntimeException: Client failed! Return code: 232, stderr: Received exception from server (version 25.12.1):
E   Code: 1000. DB::Exception: Received from 172.16.2.5:9000. DB::Exception: Connection refused. Stack trace:
E   
E   0. ./contrib/llvm-project/libcxx/include/__exception/exception.h:113: Poco::IOException::IOException(String const&, int) @ 0x0000000021d780f2
E   1. ./ci/tmp/build/./base/poco/Net/src/NetException.cpp:26: Poco::Net::ConnectionRefusedException::ConnectionRefusedException(String const&, int) @ 0x0000000021e18949
E   2. ./ci/tmp/build/./base/poco/Net/src/SocketImpl.cpp:1051: Poco::Net::SocketImpl::error(int, String const&) @ 0x0000000021e281be
E   3. ./ci/tmp/build/./base/poco/Net/src/SocketImpl.cpp:977: Poco::Net::SocketImpl::connect(Poco::Net::SocketAddress const&, Poco::Timespan const&) @ 0x0000000021e28ee8
E   4. ./ci/tmp/build/./base/poco/Net/src/HTTPSession.cpp:239: Poco::Net::HTTPSession::connect(Poco::Net::SocketAddress const&) @ 0x0000000021e044d1
E   5. ./ci/tmp/build/./base/poco/Net/src/HTTPClientSession.cpp:471: Poco::Net::HTTPClientSession::reconnect(unsigned long*) @ 0x0000000021def201
E   6. ./ci/tmp/build/./src/Common/HTTPConnectionPool.cpp:528: DB::EndpointConnectionPool<Poco::Net::HTTPClientSession>::prepareNewConnection(DB::ConnectionTimeouts const&, unsigned long*) @ 0x0000000013711b93
E   7. ./ci/tmp/build/./src/Common/HTTPConnectionPool.cpp:616: DB::EndpointConnectionPool<Poco::Net::HTTPClientSession>::getConnection(DB::ConnectionTimeouts const&, unsigned long*) @ 0x0000000013710f58
E   8. ./ci/tmp/build/./src/IO/HTTPCommon.cpp:63: DB::makeHTTPSession(DB::HTTPConnectionGroupType, Poco::URI const&, DB::ConnectionTimeouts const&, DB::ProxyConfiguration const&, unsigned long*) @ 0x0000000013706386
E   9. ./ci/tmp/build/./src/IO/ReadWriteBufferFromHTTP.cpp:272: DB::ReadWriteBufferFromHTTP::callImpl(Poco::Net::HTTPResponse&, String const&, std::optional<DB::ReadWriteBufferFromHTTP::HTTPRange> const&, bool) const @ 0x00000000158ca925
E   10. ./ci/tmp/build/./src/IO/ReadWriteBufferFromHTTP.cpp:290: DB::ReadWriteBufferFromHTTP::callWithRedirects(Poco::Net::HTTPResponse&, String const&, std::optional<DB::ReadWriteBufferFromHTTP::HTTPRange> const&) @ 0x00000000158cab40
E   11. ./ci/tmp/build/./src/IO/ReadWriteBufferFromHTTP.cpp:413: DB::ReadWriteBufferFromHTTP::initialize() @ 0x00000000158cb3ae
E   12. ./ci/tmp/build/./src/IO/ReadWriteBufferFromHTTP.cpp:477: void std::__function::__policy_func<void ()>::__call_func[abi:ne210105]<DB::ReadWriteBufferFromHTTP::nextImpl()::$_0>(std::__function::__policy_storage const*) @ 0x00000000158cdfb1
E   13. ./contrib/llvm-project/libcxx/include/__functional/function.h:508: ? @ 0x00000000158c88cb
E   14. ./ci/tmp/build/./src/IO/ReadWriteBufferFromHTTP.cpp:470: DB::ReadWriteBufferFromHTTP::nextImpl() @ 0x00000000158cc60b
E   15. ./ci/tmp/build/./src/IO/ReadBuffer.cpp:96: DB::ReadBuffer::next() @ 0x000000001339a13d
E   16. ./src/IO/ReadBuffer.h:81: DB::BinaryRowInputFormat<false>::readRow(std::vector<COW<DB::IColumn>::mutable_ptr<DB::IColumn>, std::allocator<COW<DB::IColumn>::mutable_ptr<DB::IColumn>>>&, DB::RowReadExtension&) @ 0x000000001cb4e9b8
E   17. ./ci/tmp/build/./src/Processors/Formats/IRowInputFormat.cpp:147: DB::IRowInputFormat::read() @ 0x000000001cb30e4c
E   18. ./ci/tmp/build/./src/Processors/Formats/IInputFormat.cpp:33: DB::IInputFormat::generate() @ 0x000000001cacd416
E   19. ./ci/tmp/build/./src/Processors/ISource.cpp:144: DB::ISource::tryGenerate() @ 0x000000001caa6725
E   20. ./ci/tmp/build/./src/Processors/ISource.cpp:110: DB::ISource::work() @ 0x000000001caa63c2
E   21. ./ci/tmp/build/./src/Processors/Executors/ExecutionThreadContext.cpp:53: DB::ExecutionThreadContext::executeTask() @ 0x000000001cabfd20
E   22. ./ci/tmp/build/./src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::executeStepImpl(unsigned long, DB::IAcquiredSlot*, std::atomic<bool>*) @ 0x000000001cab31da
E   23. ./ci/tmp/build/./src/Processors/Executors/PipelineExecutor.cpp:179: DB::PipelineExecutor::executeStep(std::atomic<bool>*) @ 0x000000001cab2c84
E   24. ./ci/tmp/build/./src/Processors/Executors/PullingPipelineExecutor.cpp:59: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x000000001cac82b9
E   25. ./ci/tmp/build/./src/Storages/StorageURL.cpp:473: DB::StorageURLSource::generate() @ 0x000000001be59fb4
E   26. ./ci/tmp/build/./src/Processors/ISource.cpp:144: DB::ISource::tryGenerate() @ 0x000000001caa6725
E   27. ./ci/tmp/build/./src/Processors/ISource.cpp:110: DB::ISource::work() @ 0x000000001caa63c2
E   28. ./ci/tmp/build/./src/Processors/Executors/ExecutionThreadContext.cpp:53: DB::ExecutionThreadContext::executeTask() @ 0x000000001cabfd20
E   29. ./ci/tmp/build/./src/Processors/Executors/PipelineExecutor.cpp:351: DB::PipelineExecutor::executeStepImpl(unsigned long, DB::IAcquiredSlot*, std::atomic<bool>*) @ 0x000000001cab31da
E   30. ./ci/tmp/build/./src/Processors/Executors/PipelineExecutor.cpp:279: void std::__function::__policy_func<void ()>::__call_func[abi:ne210105]<DB::PipelineExecutor::spawnThreads(std::shared_ptr<DB::IAcquiredSlot>)::$_0>(std::__function::__policy_storage const*) @ 0x000000001cab4703
E   31. ./contrib/llvm-project/libcxx/include/__functional/function.h:508: ? @ 0x00000000133ff04d
E   . (POCO_EXCEPTION)
E   (query: SELECT count() FROM (SELECT key FROM test_pg_table UNION ALL SELECT key FROM test_pg_table UNION ALL SELECT key FROM test_pg_table UNION ALL SELECT key FROM test_pg_table UNION ALL SELECT key FROM test_pg_table UNION ALL SELECT key FROM test_pg_table UNION ALL SELECT key FROM test_pg_table UNION ALL SELECT key FROM test_pg_table UNION ALL SELECT key FROM test_pg_table UNION ALL SELECT key FROM test_pg_table UNION ALL SELECT key FROM test_pg_table UNION ALL SELECT key FROM test_pg_table UNION ALL SELECT key FROM test_pg_table UNION ALL SELECT key FROM test_pg_table UNION ALL SELECT key FROM test_pg_table UNION ALL SELECT key FROM test_pg_table UNION ALL SELECT key FROM test_pg_table UNION ALL SELECT key FROM test_pg_table UNION ALL SELECT key FROM test_pg_table UNION ALL SELECT key FROM test_pg_table UNION ALL SELECT key FROM test_pg_table UNION ALL SELECT key FROM test_pg_table UNION ALL SELECT key FROM test_pg_table UNION ALL SELECT key FROM test_pg_table UNION ALL SELECT key FROM test_pg_table))

Metadata

Metadata

Assignees

No one assigned

    Labels

    flaky testflaky test found by CItestingSpecial issue with list of bugs found by CI

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions