2025-10-14 11:38:13,518 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-10-14 11:38:13,518 - INFO - ya.test - pytest_runtest_setup: test_database_admin_cant_change_database_admin_group[add-user]
2025-10-14 11:38:13,519 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-10-14 11:38:13,519 - INFO - ya.test - pytest_runtest_setup: Test setup
2025-10-14 11:38:13,524 - 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-10-14 11:38:13,525 - 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-10-14 11:38:13,535 - DEBUG - ydb.connection - _prepare_call: RpcState(Login, 54cf0617-bff1-4eb6-82c4-565fe6ba6ac9, localhost:2081): creating call state
2025-10-14 11:38:13,535 - DEBUG - ydb.connection - _log_request: RpcState(Login, 54cf0617-bff1-4eb6-82c4-565fe6ba6ac9, localhost:2081): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-10-14 11:38:13,546 - DEBUG - ydb.connection - _log_response: RpcState(Login, 54cf0617-bff1-4eb6-82c4-565fe6ba6ac9, localhost:2081): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzYwNDg1MDkzLCJpYXQiOjE3NjA0NDE4OTMsInN1YiI6ImRiYWRtaW4ifQ.v9ESh6Y8a4IXa1VCLH8BojaCN9sKdvpjJ9Andvs18-ktZC10bwWZRQoGm8fOpy10ccNnboliXY2CSKAWekQm0frNvvucZkmsoH_IvHoALAr9xcVB6qKeGxyOASLI2nVRVK-44sSWHQhPi2lFpVtPM7kK9OyPPS0PyiCcXy2jKHRHHg783K1QQ7Om40r-WRu0nRD9Kq9hknocf9frZrqRpW3sDU5wI6BVYO9FIsAEpYxoBBfjh2JV9ZW6RIZPk9mMnJAxbZeJcpZ665xuo4rA4NWdLk7K-qrp_eAv-9o1gFHBEd2GoxBUGxRt7fBumSRKJ5KitMyVuazt_aSlo_QxOg" } } } }
2025-10-14 11:38:13,547 - INFO - ydb.connection - close: Closing channel for endpoint localhost:2081
2025-10-14 11:38:13,737 - 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-10-14 11:38:13,739 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Preparing initial endpoint to resolve endpoints
2025-10-14 11:38:13,739 - 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-10-14 11:38:13,748 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-10-14 11:38:13,748 - DEBUG - ydb.connection - _prepare_call: RpcState(ListEndpoints, b1666c42-9914-4736-9cc4-543570110865, localhost:2081): creating call state
2025-10-14 11:38:13,748 - DEBUG - ydb.connection - _log_request: RpcState(ListEndpoints, b1666c42-9914-4736-9cc4-543570110865, localhost:2081): request = { database: "/Root/test_user_administration" }
2025-10-14 11:38:13,751 - DEBUG - ydb.connection - _log_response: RpcState(ListEndpoints, b1666c42-9914-4736-9cc4-543570110865, localhost:2081): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-t7yexzjxoe.auto.internal" port: 1140 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-10-14 11:38:13,751 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-t7yexzjxoe.auto.internal:1140, location , ssl: False>]>
2025-10-14 11:38:13,752 - 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-10-14 11:38:13,760 - INFO - ydb.connection - close: Closing channel for endpoint localhost:2081
2025-10-14 11:38:13,764 - DEBUG - ydb.table.SessionPool - subscribe: Active session queue is empty, subscribe waiter for a session
2025-10-14 11:38:13,764 - DEBUG - ydb.table.SessionPool - subscribe: Subscribe waiter <Future at 0x7fda5c3f8880 state=pending>
2025-10-14 11:38:13,765 - DEBUG - ydb.table.SessionPool - subscribe: Session pool is not large enough (active_count < size: 0 < 100). will create a new session.
2025-10-14 11:38:13,765 - DEBUG - ydb.table.SessionPool - _create: Created session <ydb.table.Session object at 0x7fda5c3fbc60>
2025-10-14 11:38:13,765 - DEBUG - ydb.table.SessionPool - _prepare: Preparing session <ydb.table.Session object at 0x7fda5c3fbc60>
2025-10-14 11:38:13,766 - DEBUG - ydb.connection - _prepare_call: RpcState(CreateSession, c67f65b4-0fb5-44ea-8f25-821824ff2d69, ghrun-t7yexzjxoe.auto.internal:1140): creating call state
2025-10-14 11:38:13,766 - DEBUG - ydb.connection - _log_request: RpcState(CreateSession, c67f65b4-0fb5-44ea-8f25-821824ff2d69, ghrun-t7yexzjxoe.auto.internal:1140): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-10-14 11:38:13,769 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, c67f65b4-0fb5-44ea-8f25-821824ff2d69, ghrun-t7yexzjxoe.auto.internal:1140): on response callback started
2025-10-14 11:38:13,771 - DEBUG - ydb.connection - _log_response: RpcState(CreateSession, c67f65b4-0fb5-44ea-8f25-821824ff2d69, ghrun-t7yexzjxoe.auto.internal:1140): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=ZDZhYTUyMTAtNzQzYTMwYWQtNWY3NjIyMjAtYTk1NzY3YzY=" } } } }
2025-10-14 11:38:13,772 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7fda5c3fbc60>
2025-10-14 11:38:13,773 - DEBUG - ydb.table.SessionPool - put: Replying to waiter with a session <ydb.table.Session object at 0x7fda5c3fbc60>
2025-10-14 11:38:13,773 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, c67f65b4-0fb5-44ea-8f25-821824ff2d69, ghrun-t7yexzjxoe.auto.internal:1140): on response callback success
2025-10-14 11:38:13,774 - DEBUG - ydb.connection - _prepare_call: RpcState(ExecuteSchemeQuery, 4a3d3706-f9c8-4986-9abc-f54193506bba, ghrun-t7yexzjxoe.auto.internal:1140): creating call state
2025-10-14 11:38:13,775 - DEBUG - ydb.connection - _log_request: RpcState(ExecuteSchemeQuery, 4a3d3706-f9c8-4986-9abc-f54193506bba, ghrun-t7yexzjxoe.auto.internal:1140): request = { session_id: "ydb://session/3?node_id=50000&id=ZDZhYTUyMTAtNzQzYTMwYWQtNWY3NjIyMjAtYTk1NzY3YzY=" yql_text: "alter group dbadmins add user ordinaryuser" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-10-14 11:38:13,786 - DEBUG - ydb.connection - _log_response: RpcState(ExecuteSchemeQuery, 4a3d3706-f9c8-4986-9abc-f54193506bba, ghrun-t7yexzjxoe.auto.internal:1140): 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-10-14 11:38:13,787 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7fda5c3fbc60>
2025-10-14 11:38:13,787 - DEBUG - ydb.topic - close: Close topic client
2025-10-14 11:38:13,788 - DEBUG - ydb.topic - close: Topic client was closed
2025-10-14 11:38:13,788 - INFO - ydb.connection - close: Closing channel for endpoint localhost:2081
2025-10-14 11:38:13,958 - INFO - ydb.connection - close: Closing channel for endpoint ghrun-t7yexzjxoe.auto.internal:1140
2025-10-14 11:38:13,967 - INFO - ydb.pool.Discovery - run: Successfully terminated discovery process
2025-10-14 11:38:13,975 - INFO - ya.test - pytest_runtest_teardown: Test teardown
