2026-03-25 17:14:52,136 - INFO - ya.test.2498679  - pytest_runtest_setup: ####################################################################################################
2026-03-25 17:14:52,136 - INFO - ya.test.2498679  - pytest_runtest_setup: test_session_pool_close_basic_logic_case_1
2026-03-25 17:14:52,136 - INFO - ya.test.2498679  - pytest_runtest_setup: ####################################################################################################
2026-03-25 17:14:52,136 - INFO - ya.test.2498679  - pytest_runtest_setup: Test setup
2026-03-25 17:14:52,137 - INFO - ya.test.2498679  - pytest_runtest_call: Test call (class_name: test_session_pool.py::TestSessionPool, test_name: test_session_pool_close_basic_logic_case_1)
2026-03-25 17:14:52,138 - DEBUG - ydb.table.SessionPool.2498679  - subscribe: Active session queue is empty, subscribe waiter for a session
2026-03-25 17:14:52,138 - DEBUG - ydb.table.SessionPool.2498679  - subscribe: Subscribe waiter <Future at 0x7fa7bac15530 state=pending>
2026-03-25 17:14:52,138 - DEBUG - ydb.table.SessionPool.2498679  - subscribe: Session pool is not large enough (active_count < size: 0 < 1). will create a new session.
2026-03-25 17:14:52,138 - DEBUG - ydb.table.SessionPool.2498679  - _create: Created session <ydb.table.Session object at 0x7fa7bdd6b420>
2026-03-25 17:14:52,138 - DEBUG - ydb.table.SessionPool.2498679  - _prepare: Preparing session <ydb.table.Session object at 0x7fa7bdd6b420>
2026-03-25 17:14:52,139 - DEBUG - ydb.connection.2498679  - _prepare_call: RpcState(CreateSession, fc972d38-a0b7-4477-bd93-61ffe802e8db, ghrun-ve2ie6ihly.auto.internal:27034): creating call state
2026-03-25 17:14:52,139 - DEBUG - ydb.connection.2498679  - _log_request: RpcState(CreateSession, fc972d38-a0b7-4477-bd93-61ffe802e8db, ghrun-ve2ie6ihly.auto.internal:27034): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2026-03-25 17:14:52,141 - DEBUG - ydb.connection.2498679  - _on_response_callback: RpcState(CreateSession, fc972d38-a0b7-4477-bd93-61ffe802e8db, ghrun-ve2ie6ihly.auto.internal:27034): on response callback started
2026-03-25 17:14:52,141 - DEBUG - ydb.connection.2498679  - _log_response: RpcState(CreateSession, fc972d38-a0b7-4477-bd93-61ffe802e8db, ghrun-ve2ie6ihly.auto.internal:27034): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=1&id=NWE3YjkwNzAtMmViMGUzODEtMzhjMzE4YWEtOTVhNWIwNTk%3D" } } } }
2026-03-25 17:14:52,142 - DEBUG - ydb.table.SessionPool.2498679  - put: Put on session <ydb.table.Session object at 0x7fa7bdd6b420>
2026-03-25 17:14:52,142 - DEBUG - ydb.table.SessionPool.2498679  - put: Replying to waiter with a session <ydb.table.Session object at 0x7fa7bdd6b420>
2026-03-25 17:14:52,142 - DEBUG - ydb.connection.2498679  - _on_response_callback: RpcState(CreateSession, fc972d38-a0b7-4477-bd93-61ffe802e8db, ghrun-ve2ie6ihly.auto.internal:27034): on response callback success
2026-03-25 17:14:52,142 - DEBUG - ydb.table.SessionPool.2498679  - subscribe: Active session queue is empty, subscribe waiter for a session
2026-03-25 17:14:52,143 - DEBUG - ydb.table.SessionPool.2498679  - subscribe: Subscribe waiter <Future at 0x7fa7bf39f6f0 state=pending>
2026-03-25 17:14:52,143 - DEBUG - ydb.table.SessionPool.2498679  - stop: Requested session pool stop.
2026-03-25 17:14:52,143 - DEBUG - ydb.table.SessionPool.2498679  - stop: Session pool is under stop, cancelling all in flight waiters.
2026-03-25 17:14:52,143 - DEBUG - ydb.table.SessionPool.2498679  - _terminate_event: Terminated session pool.
2026-03-25 17:14:52,143 - DEBUG - ydb.table.SessionPool.2498679  - _create: Created session <ydb.table.Session object at 0x7fa7bb6cd050>
2026-03-25 17:14:52,144 - DEBUG - ydb.table.SessionPool.2498679  - stop: Waiter <Future at 0x7fa7bf39f6f0 state=finished returned Session> has been replied with empty session info. Session details: <ydb.table.Session object at 0x7fa7bb6cd050>.
2026-03-25 17:14:52,144 - DEBUG - ydb.table.SessionPool.2498679  - stop: Destroying sessions in active queue
2026-03-25 17:14:52,144 - DEBUG - ydb.table.SessionPool.2498679  - stop: Destroyed active sessions
2026-03-25 17:14:52,144 - ERROR - ydb.table.SessionPool.2498679  - acquire: Take session from closed session pool
2026-03-25 17:14:52,145 - DEBUG - ydb.table.SessionPool.2498679  - unsubscribe: Unsubscribe on waiter <Future at 0x7fa7bf39f6f0 state=finished returned Session>
2026-03-25 17:14:52,145 - DEBUG - ydb.table.SessionPool.2498679  - put: Put on session <ydb.table.Session object at 0x7fa7bb6cd050>
2026-03-25 17:14:52,145 - DEBUG - ydb.table.SessionPool.2498679  - _destroy: Requested session destroy: <ydb.table.Session object at 0x7fa7bb6cd050>, reason: not-initialized
2026-03-25 17:14:52,145 - DEBUG - ydb.table.SessionPool.2498679  - _destroy: Session <ydb.table.Session object at 0x7fa7bb6cd050> is no longer active. Current active count 1.
2026-03-25 17:14:52,145 - DEBUG - ydb.table.SessionPool.2498679  - put: Put on session <ydb.table.Session object at 0x7fa7bdd6b420>
2026-03-25 17:14:52,145 - DEBUG - ydb.table.SessionPool.2498679  - _destroy: Requested session destroy: <ydb.table.Session object at 0x7fa7bdd6b420>, reason: not-initialized
2026-03-25 17:14:52,146 - DEBUG - ydb.table.SessionPool.2498679  - _destroy: Session <ydb.table.Session object at 0x7fa7bdd6b420> is no longer active. Current active count 0.
2026-03-25 17:14:52,146 - DEBUG - ydb.connection.2498679  - _prepare_call: RpcState(DeleteSession, be9fc2ef-2164-43b5-97a1-ca7af5307341, ghrun-ve2ie6ihly.auto.internal:27034): creating call state
2026-03-25 17:14:52,146 - DEBUG - ydb.connection.2498679  - _log_request: RpcState(DeleteSession, be9fc2ef-2164-43b5-97a1-ca7af5307341, ghrun-ve2ie6ihly.auto.internal:27034): request = { session_id: "ydb://session/3?node_id=1&id=NWE3YjkwNzAtMmViMGUzODEtMzhjMzE4YWEtOTVhNWIwNTk%3D" operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2026-03-25 17:14:52,147 - DEBUG - ydb.table.SessionPool.2498679  - _destroy: Sent delete on session <ydb.table.Session object at 0x7fa7bdd6b420>
2026-03-25 17:14:52,148 - DEBUG - ydb.connection.2498679  - _on_response_callback: RpcState(DeleteSession, be9fc2ef-2164-43b5-97a1-ca7af5307341, ghrun-ve2ie6ihly.auto.internal:27034): on response callback started
2026-03-25 17:14:52,149 - INFO - ya.test.2498679  - pytest_runtest_teardown: Test teardown
2026-03-25 17:14:52,149 - DEBUG - ydb.connection.2498679  - _log_response: RpcState(DeleteSession, be9fc2ef-2164-43b5-97a1-ca7af5307341, ghrun-ve2ie6ihly.auto.internal:27034): response = { operation { ready: true status: SUCCESS } }
