2026-03-25 17:14:52,120 - INFO - ya.test.2498679  - pytest_runtest_setup: ####################################################################################################
2026-03-25 17:14:52,120 - INFO - ya.test.2498679  - pytest_runtest_setup: test_session_pool_release_logic
2026-03-25 17:14:52,120 - INFO - ya.test.2498679  - pytest_runtest_setup: ####################################################################################################
2026-03-25 17:14:52,120 - INFO - ya.test.2498679  - pytest_runtest_setup: Test setup
2026-03-25 17:14:52,121 - INFO - ya.test.2498679  - pytest_runtest_call: Test call (class_name: test_session_pool.py::TestSessionPool, test_name: test_session_pool_release_logic)
2026-03-25 17:14:52,122 - DEBUG - ydb.table.SessionPool.2498679  - subscribe: Active session queue is empty, subscribe waiter for a session
2026-03-25 17:14:52,122 - DEBUG - ydb.table.SessionPool.2498679  - subscribe: Subscribe waiter <Future at 0x7fa7bac15140 state=pending>
2026-03-25 17:14:52,122 - 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,122 - DEBUG - ydb.table.SessionPool.2498679  - _create: Created session <ydb.table.Session object at 0x7fa7bdc01f40>
2026-03-25 17:14:52,123 - DEBUG - ydb.table.SessionPool.2498679  - _prepare: Preparing session <ydb.table.Session object at 0x7fa7bdc01f40>
2026-03-25 17:14:52,123 - DEBUG - ydb.connection.2498679  - _prepare_call: RpcState(CreateSession, 4d6d9886-62a6-4c7c-9320-42380fea8bc7, ghrun-ve2ie6ihly.auto.internal:27034): creating call state
2026-03-25 17:14:52,123 - DEBUG - ydb.connection.2498679  - _log_request: RpcState(CreateSession, 4d6d9886-62a6-4c7c-9320-42380fea8bc7, ghrun-ve2ie6ihly.auto.internal:27034): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2026-03-25 17:14:52,125 - DEBUG - ydb.connection.2498679  - _on_response_callback: RpcState(CreateSession, 4d6d9886-62a6-4c7c-9320-42380fea8bc7, ghrun-ve2ie6ihly.auto.internal:27034): on response callback started
2026-03-25 17:14:52,125 - DEBUG - ydb.connection.2498679  - _log_response: RpcState(CreateSession, 4d6d9886-62a6-4c7c-9320-42380fea8bc7, 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=OTkwOGJlNjQtOWJkZmJiM2UtZTgyNTFkOTUtZjg4M2M1YmI%3D" } } } }
2026-03-25 17:14:52,126 - DEBUG - ydb.table.SessionPool.2498679  - put: Put on session <ydb.table.Session object at 0x7fa7bdc01f40>
2026-03-25 17:14:52,126 - DEBUG - ydb.table.SessionPool.2498679  - put: Replying to waiter with a session <ydb.table.Session object at 0x7fa7bdc01f40>
2026-03-25 17:14:52,126 - DEBUG - ydb.connection.2498679  - _on_response_callback: RpcState(CreateSession, 4d6d9886-62a6-4c7c-9320-42380fea8bc7, ghrun-ve2ie6ihly.auto.internal:27034): on response callback success
2026-03-25 17:14:52,126 - DEBUG - ydb.table.SessionPool.2498679  - subscribe: Active session queue is empty, subscribe waiter for a session
2026-03-25 17:14:52,127 - DEBUG - ydb.table.SessionPool.2498679  - subscribe: Subscribe waiter <Future at 0x7fa7bf2736f0 state=pending>
2026-03-25 17:14:52,127 - DEBUG - ydb.table.SessionPool.2498679  - put: Put on session <ydb.table.Session object at 0x7fa7bdc01f40>
2026-03-25 17:14:52,127 - DEBUG - ydb.table.SessionPool.2498679  - _destroy: Requested session destroy: <ydb.table.Session object at 0x7fa7bdc01f40>, reason: not-initialized
2026-03-25 17:14:52,128 - DEBUG - ydb.table.SessionPool.2498679  - _destroy: Session <ydb.table.Session object at 0x7fa7bdc01f40> is no longer active. Current active count 0.
2026-03-25 17:14:52,128 - DEBUG - ydb.table.SessionPool.2498679  - _destroy: In flight waiters: 1, preparing session <ydb.table.Session object at 0x7fa7bdc01f40> replacement.
2026-03-25 17:14:52,128 - DEBUG - ydb.table.SessionPool.2498679  - _create: Created session <ydb.table.Session object at 0x7fa7bdd6ae80>
2026-03-25 17:14:52,128 - DEBUG - ydb.table.SessionPool.2498679  - _prepare: Preparing session <ydb.table.Session object at 0x7fa7bdd6ae80>
2026-03-25 17:14:52,128 - DEBUG - ydb.connection.2498679  - _prepare_call: RpcState(CreateSession, 755b8d14-25f1-472f-84cb-639993e823c9, ghrun-ve2ie6ihly.auto.internal:27034): creating call state
2026-03-25 17:14:52,128 - DEBUG - ydb.connection.2498679  - _log_request: RpcState(CreateSession, 755b8d14-25f1-472f-84cb-639993e823c9, ghrun-ve2ie6ihly.auto.internal:27034): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2026-03-25 17:14:52,129 - DEBUG - ydb.connection.2498679  - _on_response_callback: RpcState(CreateSession, 755b8d14-25f1-472f-84cb-639993e823c9, ghrun-ve2ie6ihly.auto.internal:27034): on response callback started
2026-03-25 17:14:52,130 - DEBUG - ydb.connection.2498679  - _log_response: RpcState(CreateSession, 755b8d14-25f1-472f-84cb-639993e823c9, 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=MTE5MWIzNTEtOTQ5MzVhYmEtNzU4ZmUxOWEtNzA4YzhmYQ%3D%3D" } } } }
2026-03-25 17:14:52,130 - DEBUG - ydb.table.SessionPool.2498679  - put: Put on session <ydb.table.Session object at 0x7fa7bdd6ae80>
2026-03-25 17:14:52,130 - DEBUG - ydb.table.SessionPool.2498679  - put: Replying to waiter with a session <ydb.table.Session object at 0x7fa7bdd6ae80>
2026-03-25 17:14:52,131 - DEBUG - ydb.connection.2498679  - _on_response_callback: RpcState(CreateSession, 755b8d14-25f1-472f-84cb-639993e823c9, ghrun-ve2ie6ihly.auto.internal:27034): on response callback success
2026-03-25 17:14:52,131 - DEBUG - ydb.table.SessionPool.2498679  - stop: Requested session pool stop.
2026-03-25 17:14:52,131 - DEBUG - ydb.table.SessionPool.2498679  - stop: Session pool is under stop, cancelling all in flight waiters.
2026-03-25 17:14:52,131 - DEBUG - ydb.table.SessionPool.2498679  - _terminate_event: Terminated session pool.
2026-03-25 17:14:52,131 - DEBUG - ydb.table.SessionPool.2498679  - stop: Destroying sessions in active queue
2026-03-25 17:14:52,132 - DEBUG - ydb.table.SessionPool.2498679  - stop: Destroyed active sessions
2026-03-25 17:14:52,133 - INFO - ya.test.2498679  - pytest_runtest_teardown: Test teardown
