2025-11-26 19:06:22,941 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-26 19:06:22,941 - INFO - ya.test - pytest_runtest_setup: test_database_admin_cant_change_database_admin_user[block]
2025-11-26 19:06:22,941 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-26 19:06:22,941 - INFO - ya.test - pytest_runtest_setup: Test setup
2025-11-26 19:06:22,943 - 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-26 19:06:22,944 - 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-26 19:06:22,955 - DEBUG - ydb.connection - _prepare_call: RpcState(Login, cf9a9795-c8c1-4f5e-9064-fafb23ccc8e5, localhost:2583): creating call state
2025-11-26 19:06:22,956 - DEBUG - ydb.connection - _log_request: RpcState(Login, cf9a9795-c8c1-4f5e-9064-fafb23ccc8e5, localhost:2583): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-11-26 19:06:22,972 - DEBUG - ydb.connection - _log_response: RpcState(Login, cf9a9795-c8c1-4f5e-9064-fafb23ccc8e5, localhost:2583): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzY0MjI3MTgyLCJpYXQiOjE3NjQxODM5ODIsInN1YiI6ImRiYWRtaW4ifQ.GIe9bVj_fLrSPYYrbQxf1l477LmaFlojCKwO1bY9lRKj3SwqQaHbBCK4058K1CcclKLjckKZsAGHjh0ZuVesRpCMzWf_7PMM4DjLPiPr10aXKfgExxnAk72vZtt2-WdBJDVBR6O_GBurRO8aaoROqpKrlxTy2ptfLRonJJzPxic171RCCiNpbQ-WddSAyaWHuOPl2fDMVoIipG3dOumpj_xMyZcD-RlBF5qvFbuSQVagBsHycapUkppMQhcEo3DVlxXiY7DkFF8zu0lEiUaCMP2ILyNixgDDdKJlmiA_Ee-3Xf4ZORjtUYbObQIonsGWYaLz9J9nSYKOcGBUDGCNFQ" } } } }
2025-11-26 19:06:22,973 - INFO - ydb.connection - close: Closing channel for endpoint localhost:2583
2025-11-26 19:06:23,158 - 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-26 19:06:23,160 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Preparing initial endpoint to resolve endpoints
2025-11-26 19:06:23,161 - 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-26 19:06:23,169 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-11-26 19:06:23,170 - DEBUG - ydb.connection - _prepare_call: RpcState(ListEndpoints, 12b49f8e-8b33-4938-987c-28ed41ebca8a, localhost:2583): creating call state
2025-11-26 19:06:23,170 - DEBUG - ydb.connection - _log_request: RpcState(ListEndpoints, 12b49f8e-8b33-4938-987c-28ed41ebca8a, localhost:2583): request = { database: "/Root/test_user_administration" }
2025-11-26 19:06:23,185 - DEBUG - ydb.connection - _log_response: RpcState(ListEndpoints, 12b49f8e-8b33-4938-987c-28ed41ebca8a, localhost:2583): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-nolisc65da.auto.internal" port: 27399 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-26 19:06:23,185 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-nolisc65da.auto.internal:27399, location , ssl: False>]>
2025-11-26 19:06:23,187 - 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-26 19:06:23,196 - INFO - ydb.connection - close: Closing channel for endpoint localhost:2583
2025-11-26 19:06:23,197 - DEBUG - ydb.table.SessionPool - subscribe: Active session queue is empty, subscribe waiter for a session
2025-11-26 19:06:23,198 - DEBUG - ydb.table.SessionPool - subscribe: Subscribe waiter <Future at 0x7fcf60cba6d0 state=pending>
2025-11-26 19:06:23,198 - DEBUG - ydb.table.SessionPool - subscribe: Session pool is not large enough (active_count < size: 0 < 100). will create a new session.
2025-11-26 19:06:23,198 - DEBUG - ydb.table.SessionPool - _create: Created session <ydb.table.Session object at 0x7fcf60cb8f60>
2025-11-26 19:06:23,198 - DEBUG - ydb.table.SessionPool - _prepare: Preparing session <ydb.table.Session object at 0x7fcf60cb8f60>
2025-11-26 19:06:23,199 - DEBUG - ydb.connection - _prepare_call: RpcState(CreateSession, fe11d9b2-cd98-4da8-8d9f-ddc9eb42a3ba, ghrun-nolisc65da.auto.internal:27399): creating call state
2025-11-26 19:06:23,199 - DEBUG - ydb.connection - _log_request: RpcState(CreateSession, fe11d9b2-cd98-4da8-8d9f-ddc9eb42a3ba, ghrun-nolisc65da.auto.internal:27399): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-11-26 19:06:23,202 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, fe11d9b2-cd98-4da8-8d9f-ddc9eb42a3ba, ghrun-nolisc65da.auto.internal:27399): on response callback started
2025-11-26 19:06:23,203 - DEBUG - ydb.connection - _log_response: RpcState(CreateSession, fe11d9b2-cd98-4da8-8d9f-ddc9eb42a3ba, ghrun-nolisc65da.auto.internal:27399): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=NDgwNzI3Y2QtNzI4MTkwZDctNzBlNjdhYTEtYTBiY2MwYmI=" } } } }
2025-11-26 19:06:23,203 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7fcf60cb8f60>
2025-11-26 19:06:23,203 - DEBUG - ydb.table.SessionPool - put: Replying to waiter with a session <ydb.table.Session object at 0x7fcf60cb8f60>
2025-11-26 19:06:23,204 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, fe11d9b2-cd98-4da8-8d9f-ddc9eb42a3ba, ghrun-nolisc65da.auto.internal:27399): on response callback success
2025-11-26 19:06:23,204 - DEBUG - ydb.connection - _prepare_call: RpcState(ExecuteSchemeQuery, 41b7b1b7-64a7-40fb-ad79-65d1c1ddbd89, ghrun-nolisc65da.auto.internal:27399): creating call state
2025-11-26 19:06:23,205 - DEBUG - ydb.connection - _log_request: RpcState(ExecuteSchemeQuery, 41b7b1b7-64a7-40fb-ad79-65d1c1ddbd89, ghrun-nolisc65da.auto.internal:27399): request = { session_id: "ydb://session/3?node_id=50000&id=NDgwNzI3Y2QtNzI4MTkwZDctNzBlNjdhYTEtYTBiY2MwYmI=" yql_text: "alter user dbadmin2 nologin" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-11-26 19:06:23,224 - DEBUG - ydb.connection - _log_response: RpcState(ExecuteSchemeQuery, 41b7b1b7-64a7-40fb-ad79-65d1c1ddbd89, ghrun-nolisc65da.auto.internal:27399): 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-26 19:06:23,225 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7fcf60cb8f60>
2025-11-26 19:06:23,226 - 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-26 19:06:23,226 - DEBUG - ydb.topic - close: Close topic client
2025-11-26 19:06:23,226 - DEBUG - ydb.topic - close: Topic client was closed
2025-11-26 19:06:23,227 - INFO - ydb.connection - close: Closing channel for endpoint localhost:2583
2025-11-26 19:06:23,379 - INFO - ydb.connection - close: Closing channel for endpoint ghrun-nolisc65da.auto.internal:27399
2025-11-26 19:06:23,403 - INFO - ydb.pool.Discovery - run: Successfully terminated discovery process
2025-11-26 19:06:23,407 - INFO - ya.test - pytest_runtest_teardown: Test teardown
