2025-11-14 06:53:06,926 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-14 06:53:06,927 - INFO - ya.test - pytest_runtest_setup: test_database_admin_cant_change_database_admin_user[block]
2025-11-14 06:53:06,928 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-14 06:53:06,928 - INFO - ya.test - pytest_runtest_setup: Test setup
2025-11-14 06:53:06,931 - 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-14 06:53:06,932 - 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')]
2025-11-14 06:53:06,940 - DEBUG - ydb.connection - _prepare_call: RpcState(Login, 0d8b12e0-6485-4954-af87-4fe91dd6f67d, localhost:8713): creating call state
2025-11-14 06:53:06,941 - DEBUG - ydb.connection - _log_request: RpcState(Login, 0d8b12e0-6485-4954-af87-4fe91dd6f67d, localhost:8713): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-11-14 06:53:06,951 - DEBUG - ydb.connection - _log_response: RpcState(Login, 0d8b12e0-6485-4954-af87-4fe91dd6f67d, localhost:8713): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzYzMTQ2Mzg2LCJpYXQiOjE3NjMxMDMxODYsInN1YiI6ImRiYWRtaW4ifQ.R6N_K2tRLA9o8TQFqve7Rsb_wOKRFxjyGzBxXInITm1NfEmJGI59c3o0q2xWEZ3z7CLGRzvPlPTpogRJ7fvQDfqKcwXyj5Jo1rLdTub8n8K-OJbszCWS4LtiXKvReWb66ytixLhzAKRJYHFRhRDBlrxWsUEXUcLVePCDjiGJg4cIPAls9JY6Z1JfMQiTz9fdfzTG-zCa_rdeUUUWV_qG6JpKbTAJfbAt-1Wv6_UxPQtHjTAy_xPBBok9ABx1S1leUcI2i7Vclf1LoMjDkT55tXUsaxS2ypx7N1XB4pGT8LTsHoY-cBRtZmhN05jpDi1ktEpKqXe4Y8kMGBl1CIGeCA" } } } }
2025-11-14 06:53:06,954 - INFO - ydb.connection - close: Closing channel for endpoint localhost:8713
2025-11-14 06:53:07,143 - 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')]
2025-11-14 06:53:07,145 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Preparing initial endpoint to resolve endpoints
2025-11-14 06:53:07,146 - 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')]
2025-11-14 06:53:07,151 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-11-14 06:53:07,151 - DEBUG - ydb.connection - _prepare_call: RpcState(ListEndpoints, bf1aa2ab-3d21-4d85-8b29-7741b15409ff, localhost:8713): creating call state
2025-11-14 06:53:07,152 - DEBUG - ydb.connection - _log_request: RpcState(ListEndpoints, bf1aa2ab-3d21-4d85-8b29-7741b15409ff, localhost:8713): request = { database: "/Root/test_user_administration" }
2025-11-14 06:53:07,155 - DEBUG - ydb.connection - _log_response: RpcState(ListEndpoints, bf1aa2ab-3d21-4d85-8b29-7741b15409ff, localhost:8713): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-iuibjpfjoa.auto.internal" port: 9668 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-14 06:53:07,155 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-iuibjpfjoa.auto.internal:9668, location , ssl: False>]>
2025-11-14 06:53:07,155 - 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')]
2025-11-14 06:53:07,159 - INFO - ydb.connection - close: Closing channel for endpoint localhost:8713
2025-11-14 06:53:07,160 - DEBUG - ydb.table.SessionPool - subscribe: Active session queue is empty, subscribe waiter for a session
2025-11-14 06:53:07,166 - DEBUG - ydb.table.SessionPool - subscribe: Subscribe waiter <Future at 0x7f0033cac150 state=pending>
2025-11-14 06:53:07,167 - DEBUG - ydb.table.SessionPool - subscribe: Session pool is not large enough (active_count < size: 0 < 100). will create a new session.
2025-11-14 06:53:07,167 - DEBUG - ydb.table.SessionPool - _create: Created session <ydb.table.Session object at 0x7f0033cafe40>
2025-11-14 06:53:07,168 - DEBUG - ydb.table.SessionPool - _prepare: Preparing session <ydb.table.Session object at 0x7f0033cafe40>
2025-11-14 06:53:07,169 - DEBUG - ydb.connection - _prepare_call: RpcState(CreateSession, 1cd4f8f1-4411-4b03-b9a6-8d1a9a7e262a, ghrun-iuibjpfjoa.auto.internal:9668): creating call state
2025-11-14 06:53:07,170 - DEBUG - ydb.connection - _log_request: RpcState(CreateSession, 1cd4f8f1-4411-4b03-b9a6-8d1a9a7e262a, ghrun-iuibjpfjoa.auto.internal:9668): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-11-14 06:53:07,173 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, 1cd4f8f1-4411-4b03-b9a6-8d1a9a7e262a, ghrun-iuibjpfjoa.auto.internal:9668): on response callback started
2025-11-14 06:53:07,173 - DEBUG - ydb.connection - _log_response: RpcState(CreateSession, 1cd4f8f1-4411-4b03-b9a6-8d1a9a7e262a, ghrun-iuibjpfjoa.auto.internal:9668): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=NGQyZDhkOS1jM2Y1YTQ1MC02MDdlNmFiZS0xMGFhNzM3OQ==" } } } }
2025-11-14 06:53:07,174 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7f0033cafe40>
2025-11-14 06:53:07,174 - DEBUG - ydb.table.SessionPool - put: Replying to waiter with a session <ydb.table.Session object at 0x7f0033cafe40>
2025-11-14 06:53:07,174 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, 1cd4f8f1-4411-4b03-b9a6-8d1a9a7e262a, ghrun-iuibjpfjoa.auto.internal:9668): on response callback success
2025-11-14 06:53:07,175 - DEBUG - ydb.connection - _prepare_call: RpcState(ExecuteSchemeQuery, e09bf749-a112-43be-974a-1c425087e3b0, ghrun-iuibjpfjoa.auto.internal:9668): creating call state
2025-11-14 06:53:07,176 - DEBUG - ydb.connection - _log_request: RpcState(ExecuteSchemeQuery, e09bf749-a112-43be-974a-1c425087e3b0, ghrun-iuibjpfjoa.auto.internal:9668): request = { session_id: "ydb://session/3?node_id=50000&id=NGQyZDhkOS1jM2Y1YTQ1MC02MDdlNmFiZS0xMGFhNzM3OQ==" yql_text: "alter user dbadmin2 nologin" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-11-14 06:53:07,182 - DEBUG - ydb.connection - _log_response: RpcState(ExecuteSchemeQuery, e09bf749-a112-43be-974a-1c425087e3b0, ghrun-iuibjpfjoa.auto.internal:9668): 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-14 06:53:07,183 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7f0033cafe40>
2025-11-14 06:53:07,183 - 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-14 06:53:07,183 - INFO - ydb.connection - close: Closing channel for endpoint localhost:8713
2025-11-14 06:53:07,354 - INFO - ydb.connection - close: Closing channel for endpoint ghrun-iuibjpfjoa.auto.internal:9668
2025-11-14 06:53:07,362 - INFO - ydb.pool.Discovery - run: Successfully terminated discovery process
2025-11-14 06:53:07,363 - INFO - ya.test - pytest_runtest_teardown: Test teardown
