2025-11-11 15:25:13,491 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-11 15:25:13,492 - INFO - ya.test - pytest_runtest_setup: test_database_admin_cant_change_database_admin_user[block]
2025-11-11 15:25:13,493 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-11 15:25:13,494 - INFO - ya.test - pytest_runtest_setup: Test setup
2025-11-11 15:25:13,496 - INFO - ya.test - pytest_runtest_call: Test call (class_name: test_user_administration.py, test_name: test_database_admin_cant_change_database_admin_user[block])
2025-11-11 15:25:13,501 - DEBUG - ydb.connection - channel_factory: Channel options: [('grpc.max_receive_message_length', 64000000), ('grpc.max_send_message_length', 64000000), ('grpc.primary_user_agent', 'python-library'), ('grpc.lb_policy_name', 'round_robin'), ('grpc.keepalive_time_ms', 1250), ('grpc.keepalive_timeout_ms', 10000), ('grpc.http2.max_pings_without_data', 0), ('grpc.keepalive_permit_without_calls', 0)]
2025-11-11 15:25:13,506 - DEBUG - ydb.connection - _prepare_call: RpcState(Login, c9fd538b-f33e-4c32-a211-fe464f02367d, localhost:5304): creating call state
2025-11-11 15:25:13,508 - DEBUG - ydb.connection - _log_request: RpcState(Login, c9fd538b-f33e-4c32-a211-fe464f02367d, localhost:5304): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-11-11 15:25:13,516 - DEBUG - ydb.connection - _log_response: RpcState(Login, c9fd538b-f33e-4c32-a211-fe464f02367d, localhost:5304): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzYyOTE3OTEzLCJpYXQiOjE3NjI4NzQ3MTMsInN1YiI6ImRiYWRtaW4ifQ.b9qV1-VMFfsCzipUR_F32I1Gwr85Y2dQBAU3zYT-Jwdgjl-XSHpnOsCUA51k78Tovxun3J4alyZ_MJJ830M2d55yIqBuKrbUo8eOd-9OdcB3qRgjr_YHrVmOoYCaOdMycK2y9SaV3x-ytl-i9vfoYNjTWj_usNQoWeZeYwz5cXYC-lG5l_CvFGsCF819auPE4RsLqhavrCmjtvjl7jk1Uqv2oUjxBSqzSgDxwnUGVqCVc2W8A1s764h3R9ekbQqGOJgJLaHa48vxoExmQ-JscYz6PjZdpIO8vNeg5-Y7-4HNHrOe-IP59vA5PepisujNNIPV11EbtnyahKhCofe7nw" } } } }
2025-11-11 15:25:13,517 - INFO - ydb.connection - close: Closing channel for endpoint localhost:5304
2025-11-11 15:25:13,713 - DEBUG - ydb.connection - channel_factory: Channel options: [('grpc.max_receive_message_length', 64000000), ('grpc.max_send_message_length', 64000000), ('grpc.primary_user_agent', 'python-library'), ('grpc.lb_policy_name', 'round_robin'), ('grpc.keepalive_time_ms', 1250), ('grpc.keepalive_timeout_ms', 10000), ('grpc.http2.max_pings_without_data', 0), ('grpc.keepalive_permit_without_calls', 0)]
2025-11-11 15:25:13,714 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Preparing initial endpoint to resolve endpoints
2025-11-11 15:25:13,716 - DEBUG - ydb.connection - channel_factory: Channel options: [('grpc.max_receive_message_length', 64000000), ('grpc.max_send_message_length', 64000000), ('grpc.primary_user_agent', 'python-library'), ('grpc.lb_policy_name', 'round_robin'), ('grpc.keepalive_time_ms', 1250), ('grpc.keepalive_timeout_ms', 10000), ('grpc.http2.max_pings_without_data', 0), ('grpc.keepalive_permit_without_calls', 0)]
2025-11-11 15:25:13,721 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-11-11 15:25:13,721 - DEBUG - ydb.connection - _prepare_call: RpcState(ListEndpoints, 3cb5f6ba-6778-416c-9a78-a4ac5bc3ac89, localhost:5304): creating call state
2025-11-11 15:25:13,722 - DEBUG - ydb.connection - _log_request: RpcState(ListEndpoints, 3cb5f6ba-6778-416c-9a78-a4ac5bc3ac89, localhost:5304): request = { database: "/Root/test_user_administration" }
2025-11-11 15:25:13,724 - DEBUG - ydb.connection - _log_response: RpcState(ListEndpoints, 3cb5f6ba-6778-416c-9a78-a4ac5bc3ac89, localhost:5304): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-l3u76ogmey.auto.internal" port: 23599 service: "legacy" service: "tablet_service" service: "yql" service: "discovery" service: "cms" service: "locking" service: "kesus" service: "pq" service: "pqcd" service: "pqv1" service: "topic" service: "datastreams" service: "scripting" service: "clickhouse_internal" service: "rate_limiter" service: "analytics" service: "export" service: "import" service: "yq" service: "keyvalue" service: "monitoring" service: "auth" service: "query_service" service: "view" node_id: 50000 } self_location: "1" } } } }
2025-11-11 15:25:13,725 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-l3u76ogmey.auto.internal:23599, location , ssl: False>]>
2025-11-11 15:25:13,725 - DEBUG - ydb.connection - channel_factory: Channel options: [('grpc.max_receive_message_length', 64000000), ('grpc.max_send_message_length', 64000000), ('grpc.primary_user_agent', 'python-library'), ('grpc.lb_policy_name', 'round_robin'), ('grpc.keepalive_time_ms', 1250), ('grpc.keepalive_timeout_ms', 10000), ('grpc.http2.max_pings_without_data', 0), ('grpc.keepalive_permit_without_calls', 0)]
2025-11-11 15:25:13,732 - INFO - ydb.connection - close: Closing channel for endpoint localhost:5304
2025-11-11 15:25:13,733 - DEBUG - ydb.table.SessionPool - subscribe: Active session queue is empty, subscribe waiter for a session
2025-11-11 15:25:13,734 - DEBUG - ydb.table.SessionPool - subscribe: Subscribe waiter <Future at 0x7f0d9c3ca360 state=pending>
2025-11-11 15:25:13,734 - DEBUG - ydb.table.SessionPool - subscribe: Session pool is not large enough (active_count < size: 0 < 100). will create a new session.
2025-11-11 15:25:13,735 - DEBUG - ydb.table.SessionPool - _create: Created session <ydb.table.Session object at 0x7f0d9c3ca450>
2025-11-11 15:25:13,735 - DEBUG - ydb.table.SessionPool - _prepare: Preparing session <ydb.table.Session object at 0x7f0d9c3ca450>
2025-11-11 15:25:13,736 - DEBUG - ydb.connection - _prepare_call: RpcState(CreateSession, c43d7dea-6ad0-4c69-a207-5573530bb082, ghrun-l3u76ogmey.auto.internal:23599): creating call state
2025-11-11 15:25:13,737 - DEBUG - ydb.connection - _log_request: RpcState(CreateSession, c43d7dea-6ad0-4c69-a207-5573530bb082, ghrun-l3u76ogmey.auto.internal:23599): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-11-11 15:25:13,739 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, c43d7dea-6ad0-4c69-a207-5573530bb082, ghrun-l3u76ogmey.auto.internal:23599): on response callback started
2025-11-11 15:25:13,740 - DEBUG - ydb.connection - _log_response: RpcState(CreateSession, c43d7dea-6ad0-4c69-a207-5573530bb082, ghrun-l3u76ogmey.auto.internal:23599): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=NTAwZDhiODktYTFiN2IwNGEtNDc3MWJhMTgtN2JjMzU5ZmE=" } } } }
2025-11-11 15:25:13,741 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7f0d9c3ca450>
2025-11-11 15:25:13,742 - DEBUG - ydb.table.SessionPool - put: Replying to waiter with a session <ydb.table.Session object at 0x7f0d9c3ca450>
2025-11-11 15:25:13,743 - DEBUG - ydb.connection - _prepare_call: RpcState(ExecuteSchemeQuery, 9532abb0-45ef-4cd3-8b2a-9c45d37485ea, ghrun-l3u76ogmey.auto.internal:23599): creating call state
2025-11-11 15:25:13,743 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, c43d7dea-6ad0-4c69-a207-5573530bb082, ghrun-l3u76ogmey.auto.internal:23599): on response callback success
2025-11-11 15:25:13,745 - DEBUG - ydb.connection - _log_request: RpcState(ExecuteSchemeQuery, 9532abb0-45ef-4cd3-8b2a-9c45d37485ea, ghrun-l3u76ogmey.auto.internal:23599): request = { session_id: "ydb://session/3?node_id=50000&id=NTAwZDhiODktYTFiN2IwNGEtNDc3MWJhMTgtN2JjMzU5ZmE=" yql_text: "alter user dbadmin2 nologin" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-11-11 15:25:13,753 - DEBUG - ydb.connection - _log_response: RpcState(ExecuteSchemeQuery, 9532abb0-45ef-4cd3-8b2a-9c45d37485ea, ghrun-l3u76ogmey.auto.internal:23599): response = { operation { ready: true status: UNAUTHORIZED issues { message: "Execution" issue_code: 1060 severity: 1 issues { position { row: 1 column: 1 } message: "Executing ALTER USER" end_position { row: 1 column: 1 } severity: 1 issues { message: "Access denied for scheme request" issue_code: 2018 severity: 1 issues { message: "Access denied." severity: 1 } } } } } }
2025-11-11 15:25:13,753 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7f0d9c3ca450>
2025-11-11 15:25:13,754 - DEBUG - __tests__.test_user_administration - test_database_admin_cant_change_database_admin_user: message: "Execution" issue_code: 1060 severity: 1 issues { position { row: 1 column: 1 } message: "Executing ALTER USER" end_position { row: 1 column: 1 } severity: 1 issues { message: "Access denied for scheme request" issue_code: 2018 severity: 1 issues { message: "Access denied." severity: 1 } } } (server_code: 400020)
2025-11-11 15:25:13,754 - DEBUG - ydb.topic - close: Close topic client
2025-11-11 15:25:13,755 - DEBUG - ydb.topic - close: Topic client was closed
2025-11-11 15:25:13,756 - INFO - ydb.connection - close: Closing channel for endpoint localhost:5304
2025-11-11 15:25:13,924 - INFO - ydb.connection - close: Closing channel for endpoint ghrun-l3u76ogmey.auto.internal:23599
2025-11-11 15:25:13,935 - INFO - ydb.pool.Discovery - run: Successfully terminated discovery process
2025-11-11 15:25:13,936 - INFO - ya.test - pytest_runtest_teardown: Test teardown
