2025-10-31 13:46:49,857 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-10-31 13:46:49,857 - INFO - ya.test - pytest_runtest_setup: test_session_pool_release_logic
2025-10-31 13:46:49,857 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-10-31 13:46:49,858 - INFO - ya.test - pytest_runtest_setup: Test setup
2025-10-31 13:46:49,858 - INFO - ya.test - pytest_runtest_call: Test call (class_name: test_session_pool.py::TestSessionPool, test_name: test_session_pool_release_logic)
2025-10-31 13:46:49,860 - DEBUG - ydb.table.SessionPool - subscribe: Active session queue is empty, subscribe waiter for a session
2025-10-31 13:46:49,860 - DEBUG - ydb.table.SessionPool - subscribe: Subscribe waiter <Future at 0x7f7a3a2b2630 state=pending>
2025-10-31 13:46:49,860 - DEBUG - ydb.table.SessionPool - subscribe: Session pool is not large enough (active_count < size: 0 < 1). will create a new session.
2025-10-31 13:46:49,861 - DEBUG - ydb.table.SessionPool - _create: Created session <ydb.table.Session object at 0x7f7a39a150f0>
2025-10-31 13:46:49,861 - DEBUG - ydb.table.SessionPool - _prepare: Preparing session <ydb.table.Session object at 0x7f7a39a150f0>
2025-10-31 13:46:49,861 - DEBUG - ydb.connection - _prepare_call: RpcState(CreateSession, 8d56594f-3b65-4c70-96c3-20a7558ef0f3, ghrun-e45ihybpyu.auto.internal:15180): creating call state
2025-10-31 13:46:49,862 - DEBUG - ydb.connection - _log_request: RpcState(CreateSession, 8d56594f-3b65-4c70-96c3-20a7558ef0f3, ghrun-e45ihybpyu.auto.internal:15180): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-10-31 13:46:49,864 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, 8d56594f-3b65-4c70-96c3-20a7558ef0f3, ghrun-e45ihybpyu.auto.internal:15180): on response callback started
2025-10-31 13:46:49,865 - DEBUG - ydb.connection - _log_response: RpcState(CreateSession, 8d56594f-3b65-4c70-96c3-20a7558ef0f3, ghrun-e45ihybpyu.auto.internal:15180): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=1&id=MzljMzc2MjQtY2M3ZGQwYjgtYmE5MDU5ZTktN2FkY2Y4MGM=" } } } }
2025-10-31 13:46:49,865 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7f7a39a150f0>
2025-10-31 13:46:49,866 - DEBUG - ydb.table.SessionPool - put: Replying to waiter with a session <ydb.table.Session object at 0x7f7a39a150f0>
2025-10-31 13:46:49,866 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, 8d56594f-3b65-4c70-96c3-20a7558ef0f3, ghrun-e45ihybpyu.auto.internal:15180): on response callback success
2025-10-31 13:46:49,866 - DEBUG - ydb.table.SessionPool - subscribe: Active session queue is empty, subscribe waiter for a session
2025-10-31 13:46:49,867 - DEBUG - ydb.table.SessionPool - subscribe: Subscribe waiter <Future at 0x7f7a39a144c0 state=pending>
2025-10-31 13:46:49,867 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7f7a39a150f0>
2025-10-31 13:46:49,867 - DEBUG - ydb.table.SessionPool - _destroy: Requested session destroy: <ydb.table.Session object at 0x7f7a39a150f0>, reason: not-initialized
2025-10-31 13:46:49,867 - DEBUG - ydb.table.SessionPool - _destroy: Session <ydb.table.Session object at 0x7f7a39a150f0> is no longer active. Current active count 0.
2025-10-31 13:46:49,867 - DEBUG - ydb.table.SessionPool - _destroy: In flight waiters: 1, preparing session <ydb.table.Session object at 0x7f7a39a150f0> replacement.
2025-10-31 13:46:49,868 - DEBUG - ydb.table.SessionPool - _create: Created session <ydb.table.Session object at 0x7f7a39a14f10>
2025-10-31 13:46:49,868 - DEBUG - ydb.table.SessionPool - _prepare: Preparing session <ydb.table.Session object at 0x7f7a39a14f10>
2025-10-31 13:46:49,868 - DEBUG - ydb.connection - _prepare_call: RpcState(CreateSession, a36ddf4e-f46e-4a05-9404-63f29e8024e6, ghrun-e45ihybpyu.auto.internal:15180): creating call state
2025-10-31 13:46:49,868 - DEBUG - ydb.connection - _log_request: RpcState(CreateSession, a36ddf4e-f46e-4a05-9404-63f29e8024e6, ghrun-e45ihybpyu.auto.internal:15180): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-10-31 13:46:49,871 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, a36ddf4e-f46e-4a05-9404-63f29e8024e6, ghrun-e45ihybpyu.auto.internal:15180): on response callback started
2025-10-31 13:46:49,872 - DEBUG - ydb.connection - _log_response: RpcState(CreateSession, a36ddf4e-f46e-4a05-9404-63f29e8024e6, ghrun-e45ihybpyu.auto.internal:15180): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=1&id=ZmE3ZWJhNjUtNjYxZTM1MGUtM2E2ZmU1NzctODIzNWExZg==" } } } }
2025-10-31 13:46:49,872 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7f7a39a14f10>
2025-10-31 13:46:49,872 - DEBUG - ydb.table.SessionPool - put: Replying to waiter with a session <ydb.table.Session object at 0x7f7a39a14f10>
2025-10-31 13:46:49,872 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, a36ddf4e-f46e-4a05-9404-63f29e8024e6, ghrun-e45ihybpyu.auto.internal:15180): on response callback success
2025-10-31 13:46:49,873 - DEBUG - ydb.table.SessionPool - stop: Requested session pool stop.
2025-10-31 13:46:49,873 - DEBUG - ydb.table.SessionPool - stop: Session pool is under stop, cancelling all in flight waiters.
2025-10-31 13:46:49,873 - DEBUG - ydb.table.SessionPool - _terminate_event: Terminated session pool.
2025-10-31 13:46:49,874 - DEBUG - ydb.table.SessionPool - stop: Destroying sessions in active queue
2025-10-31 13:46:49,874 - DEBUG - ydb.table.SessionPool - stop: Destroyed active sessions
2025-10-31 13:46:49,876 - INFO - ya.test - pytest_runtest_teardown: Test teardown
