2025-11-26 19:04:49,503 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-26 19:04:49,504 - INFO - ya.test - pytest_runtest_setup: test_database_admin_cant_change_database_admin_group[add-user]
2025-11-26 19:04:49,504 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-26 19:04:49,504 - INFO - ya.test - pytest_runtest_setup: Test setup
2025-11-26 19:04:49,506 - 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-26 19:04:49,506 - 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:04:49,511 - DEBUG - ydb.connection - _prepare_call: RpcState(Login, f9799c44-2dc1-40fa-8395-98d069ca6fce, localhost:21970): creating call state
2025-11-26 19:04:49,512 - DEBUG - ydb.connection - _log_request: RpcState(Login, f9799c44-2dc1-40fa-8395-98d069ca6fce, localhost:21970): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-11-26 19:04:49,519 - DEBUG - ydb.connection - _log_response: RpcState(Login, f9799c44-2dc1-40fa-8395-98d069ca6fce, localhost:21970): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzY0MjI3MDg5LCJpYXQiOjE3NjQxODM4ODksInN1YiI6ImRiYWRtaW4ifQ.nV8kuSYS0m8889UlJ9zf_bjapj91yLHc4WZv3JfcrDhscvSBsGzcvminx7NK3IA-mGTs18oxLhyo2pbSf9_rX2kQom7DDDy29erlhF1uRPLNwf3Pe5Agv_4SW9vSoKHLYYkiVDjXJiILK3u2jVZiUZuy8alviNGitYG1tI3Mvfo-g0ni9T16KMTvnvgb0eviJ3b6E_kkdmD5fIQooaOnbbN2Kh0XkwsfLSnep30JCf77iQSXnyIbgmF4R5wLObWIcInNn8xl0MYZ6ifVEfQJnbqPYn2XBkbHxFCXLnxjbQ3ChwymR3lnvsqiDPLbaN2ZZxp8OT7IEN7b2w4NiJ29HA" } } } }
2025-11-26 19:04:49,520 - INFO - ydb.connection - close: Closing channel for endpoint localhost:21970
2025-11-26 19:04:49,715 - 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:04:49,717 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Preparing initial endpoint to resolve endpoints
2025-11-26 19:04:49,718 - 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:04:49,734 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-11-26 19:04:49,735 - DEBUG - ydb.connection - _prepare_call: RpcState(ListEndpoints, 005465d4-a311-43fb-8c15-b755ddeebcd8, localhost:21970): creating call state
2025-11-26 19:04:49,735 - DEBUG - ydb.connection - _log_request: RpcState(ListEndpoints, 005465d4-a311-43fb-8c15-b755ddeebcd8, localhost:21970): request = { database: "/Root/test_user_administration" }
2025-11-26 19:04:49,738 - DEBUG - ydb.connection - _log_response: RpcState(ListEndpoints, 005465d4-a311-43fb-8c15-b755ddeebcd8, localhost:21970): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-nolisc65da.auto.internal" port: 27640 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:04:49,739 - 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:27640, location , ssl: False>]>
2025-11-26 19:04:49,740 - 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:04:49,751 - INFO - ydb.connection - close: Closing channel for endpoint localhost:21970
2025-11-26 19:04:49,752 - DEBUG - ydb.table.SessionPool - subscribe: Active session queue is empty, subscribe waiter for a session
2025-11-26 19:04:49,753 - DEBUG - ydb.table.SessionPool - subscribe: Subscribe waiter <Future at 0x7fe34165b580 state=pending>
2025-11-26 19:04:49,753 - 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:04:49,753 - DEBUG - ydb.table.SessionPool - _create: Created session <ydb.table.Session object at 0x7fe341658dd0>
2025-11-26 19:04:49,753 - DEBUG - ydb.table.SessionPool - _prepare: Preparing session <ydb.table.Session object at 0x7fe341658dd0>
2025-11-26 19:04:49,754 - DEBUG - ydb.connection - _prepare_call: RpcState(CreateSession, 40f058e5-a311-4f31-ab44-ff65a94ca7a1, ghrun-nolisc65da.auto.internal:27640): creating call state
2025-11-26 19:04:49,754 - DEBUG - ydb.connection - _log_request: RpcState(CreateSession, 40f058e5-a311-4f31-ab44-ff65a94ca7a1, ghrun-nolisc65da.auto.internal:27640): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-11-26 19:04:49,760 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, 40f058e5-a311-4f31-ab44-ff65a94ca7a1, ghrun-nolisc65da.auto.internal:27640): on response callback started
2025-11-26 19:04:49,761 - DEBUG - ydb.connection - _log_response: RpcState(CreateSession, 40f058e5-a311-4f31-ab44-ff65a94ca7a1, ghrun-nolisc65da.auto.internal:27640): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=MTAzZjk4YS05ZGMwNDEzOC1jZWUyYjNlZC0xMjlhZmIzNA==" } } } }
2025-11-26 19:04:49,762 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7fe341658dd0>
2025-11-26 19:04:49,762 - DEBUG - ydb.table.SessionPool - put: Replying to waiter with a session <ydb.table.Session object at 0x7fe341658dd0>
2025-11-26 19:04:49,762 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, 40f058e5-a311-4f31-ab44-ff65a94ca7a1, ghrun-nolisc65da.auto.internal:27640): on response callback success
2025-11-26 19:04:49,763 - DEBUG - ydb.connection - _prepare_call: RpcState(ExecuteSchemeQuery, 9764d5cd-4446-4ecb-a4c8-93406e478959, ghrun-nolisc65da.auto.internal:27640): creating call state
2025-11-26 19:04:49,764 - DEBUG - ydb.connection - _log_request: RpcState(ExecuteSchemeQuery, 9764d5cd-4446-4ecb-a4c8-93406e478959, ghrun-nolisc65da.auto.internal:27640): request = { session_id: "ydb://session/3?node_id=50000&id=MTAzZjk4YS05ZGMwNDEzOC1jZWUyYjNlZC0xMjlhZmIzNA==" yql_text: "alter group dbadmins add user ordinaryuser" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-11-26 19:04:49,774 - DEBUG - ydb.connection - _log_response: RpcState(ExecuteSchemeQuery, 9764d5cd-4446-4ecb-a4c8-93406e478959, ghrun-nolisc65da.auto.internal:27640): 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-26 19:04:49,774 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7fe341658dd0>
2025-11-26 19:04:49,775 - DEBUG - ydb.topic - close: Close topic client
2025-11-26 19:04:49,775 - DEBUG - ydb.topic - close: Topic client was closed
2025-11-26 19:04:49,775 - INFO - ydb.connection - close: Closing channel for endpoint localhost:21970
2025-11-26 19:04:49,936 - INFO - ydb.connection - close: Closing channel for endpoint ghrun-nolisc65da.auto.internal:27640
2025-11-26 19:04:49,954 - INFO - ydb.pool.Discovery - run: Successfully terminated discovery process
2025-11-26 19:04:49,959 - INFO - ya.test - pytest_runtest_teardown: Test teardown
