2025-11-01 16:45:18,519 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-01 16:45:18,520 - INFO - ya.test - pytest_runtest_setup: test_database_admin_cant_change_database_admin_group[add-user]
2025-11-01 16:45:18,520 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-01 16:45:18,520 - INFO - ya.test - pytest_runtest_setup: Test setup
2025-11-01 16:45:18,522 - INFO - ya.test - pytest_runtest_call: Test call (class_name: test_user_administration.py, test_name: test_database_admin_cant_change_database_admin_group[add-user])
2025-11-01 16:45:18,523 - 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-01 16:45:18,527 - DEBUG - ydb.connection - _prepare_call: RpcState(Login, e5e246a3-8cd7-40f7-8f30-b291881585b0, localhost:2591): creating call state
2025-11-01 16:45:18,528 - DEBUG - ydb.connection - _log_request: RpcState(Login, e5e246a3-8cd7-40f7-8f30-b291881585b0, localhost:2591): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-11-01 16:45:18,538 - DEBUG - ydb.connection - _log_response: RpcState(Login, e5e246a3-8cd7-40f7-8f30-b291881585b0, localhost:2591): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzYyMDU4NzE4LCJpYXQiOjE3NjIwMTU1MTgsInN1YiI6ImRiYWRtaW4ifQ.Ytxf144NX4gP9iGNu7c68UugLJTInJNlgaY81h-ae85-0NJNDtXDpzf-6P_FxT_EAz5HXQnVE2lYwm16GnX834DHUCKS0qhC7pMbxMtUU7WO2BEBKjn_fc44fsBfuAZoAyUEs4LNGAeMc20apOgkX6zGf6q_HKyEo426_d_WTvL7WgBKbYkeWqUcLOLvAJjY1xo-AxggdM2FZhnaKexXG_bxspHabCkdujYPrdaJNoLzY6bMXPQpc8no3DOz3p3RZ0ESllebmnhdj8gR9IeIixma0ovm7VLKiyBGeErbYs16Ng2PV2L7mbBBTPt4T1Y7ZSt8-txNcrjWVjZ9x6g8-w" } } } }
2025-11-01 16:45:18,548 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:2591
2025-11-01 16:45:18,731 - 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-01 16:45:18,733 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Preparing initial endpoint to resolve endpoints
2025-11-01 16:45:18,733 - 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-01 16:45:18,748 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-11-01 16:45:18,749 - DEBUG - ydb.connection - _prepare_call: RpcState(ListEndpoints, 618ad0fd-b574-4922-aeec-80f2a3042d7f, localhost:2591): creating call state
2025-11-01 16:45:18,749 - DEBUG - ydb.connection - _log_request: RpcState(ListEndpoints, 618ad0fd-b574-4922-aeec-80f2a3042d7f, localhost:2591): request = { database: "/Root/test_user_administration" }
2025-11-01 16:45:18,752 - DEBUG - ydb.connection - _log_response: RpcState(ListEndpoints, 618ad0fd-b574-4922-aeec-80f2a3042d7f, localhost:2591): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-tvlw7frnpa.auto.internal" port: 11305 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-01 16:45:18,752 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-tvlw7frnpa.auto.internal:11305, location , ssl: False>]>
2025-11-01 16:45:18,757 - 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-01 16:45:18,767 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:2591
2025-11-01 16:45:18,768 - DEBUG - ydb.table.SessionPool - subscribe: Active session queue is empty, subscribe waiter for a session
2025-11-01 16:45:18,769 - DEBUG - ydb.table.SessionPool - subscribe: Subscribe waiter <Future at 0x7f9321a98a60 state=pending>
2025-11-01 16:45:18,775 - DEBUG - ydb.table.SessionPool - subscribe: Session pool is not large enough (active_count < size: 0 < 100). will create a new session.
2025-11-01 16:45:18,777 - DEBUG - ydb.table.SessionPool - _create: Created session <ydb.table.Session object at 0x7f9321a9b9e0>
2025-11-01 16:45:18,777 - DEBUG - ydb.table.SessionPool - _prepare: Preparing session <ydb.table.Session object at 0x7f9321a9b9e0>
2025-11-01 16:45:18,778 - DEBUG - ydb.connection - _prepare_call: RpcState(CreateSession, 880a4596-6d3b-488f-9c71-2b8981b1ed36, ghrun-tvlw7frnpa.auto.internal:11305): creating call state
2025-11-01 16:45:18,778 - DEBUG - ydb.connection - _log_request: RpcState(CreateSession, 880a4596-6d3b-488f-9c71-2b8981b1ed36, ghrun-tvlw7frnpa.auto.internal:11305): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-11-01 16:45:18,784 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, 880a4596-6d3b-488f-9c71-2b8981b1ed36, ghrun-tvlw7frnpa.auto.internal:11305): on response callback started
2025-11-01 16:45:18,785 - DEBUG - ydb.connection - _log_response: RpcState(CreateSession, 880a4596-6d3b-488f-9c71-2b8981b1ed36, ghrun-tvlw7frnpa.auto.internal:11305): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=YzA0NzhjZmEtMTZkNzc1OTUtN2ZkOGMxNWQtNDgzZTdmYjg=" } } } }
2025-11-01 16:45:18,785 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7f9321a9b9e0>
2025-11-01 16:45:18,786 - DEBUG - ydb.table.SessionPool - put: Replying to waiter with a session <ydb.table.Session object at 0x7f9321a9b9e0>
2025-11-01 16:45:18,786 - DEBUG - ydb.connection - _prepare_call: RpcState(ExecuteSchemeQuery, 868cdeb5-f4ea-4801-98a9-0ec61ee2bb01, ghrun-tvlw7frnpa.auto.internal:11305): creating call state
2025-11-01 16:45:18,787 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, 880a4596-6d3b-488f-9c71-2b8981b1ed36, ghrun-tvlw7frnpa.auto.internal:11305): on response callback success
2025-11-01 16:45:18,787 - DEBUG - ydb.connection - _log_request: RpcState(ExecuteSchemeQuery, 868cdeb5-f4ea-4801-98a9-0ec61ee2bb01, ghrun-tvlw7frnpa.auto.internal:11305): request = { session_id: "ydb://session/3?node_id=50000&id=YzA0NzhjZmEtMTZkNzc1OTUtN2ZkOGMxNWQtNDgzZTdmYjg=" yql_text: "alter group dbadmins add user ordinaryuser" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-11-01 16:45:18,795 - DEBUG - ydb.connection - _log_response: RpcState(ExecuteSchemeQuery, 868cdeb5-f4ea-4801-98a9-0ec61ee2bb01, ghrun-tvlw7frnpa.auto.internal:11305): response = { operation { ready: true status: UNAUTHORIZED issues { message: "Execution" issue_code: 1060 severity: 1 issues { position { row: 1 column: 1 } message: "Executing ALTER GROUP" 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-01 16:45:18,796 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7f9321a9b9e0>
2025-11-01 16:45:18,796 - DEBUG - ydb.topic - close: Close topic client
2025-11-01 16:45:18,796 - DEBUG - ydb.topic - close: Topic client was closed
2025-11-01 16:45:18,797 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:2591
2025-11-01 16:45:18,955 - DEBUG - ydb.connection - close: Closing channel for endpoint ghrun-tvlw7frnpa.auto.internal:11305
2025-11-01 16:45:18,971 - INFO - ydb.pool.Discovery - run: Successfully terminated discovery process
2025-11-01 16:45:19,016 - INFO - ya.test - pytest_runtest_teardown: Test teardown
