2025-11-19 11:31:19,319 - INFO - ya.test.2430303  - pytest_runtest_setup: ####################################################################################################
2025-11-19 11:31:19,319 - INFO - ya.test.2430303  - pytest_runtest_setup: test_database_admin_cant_change_database_admin_group[add-user]
2025-11-19 11:31:19,319 - INFO - ya.test.2430303  - pytest_runtest_setup: ####################################################################################################
2025-11-19 11:31:19,320 - INFO - ya.test.2430303  - pytest_runtest_setup: Test setup
2025-11-19 11:31:19,321 - INFO - ya.test.2430303  - 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-19 11:31:19,322 - DEBUG - ydb.connection.2430303  - 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-19 11:31:19,326 - DEBUG - ydb.connection.2430303  - _prepare_call: RpcState(Login, 8a3b075c-c397-40cb-a973-9125f53bd3f5, localhost:8399): creating call state
2025-11-19 11:31:19,326 - DEBUG - ydb.connection.2430303  - _log_request: RpcState(Login, 8a3b075c-c397-40cb-a973-9125f53bd3f5, localhost:8399): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-11-19 11:31:19,333 - DEBUG - ydb.connection.2430303  - _log_response: RpcState(Login, 8a3b075c-c397-40cb-a973-9125f53bd3f5, localhost:8399): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzYzNTk1MDc5LCJpYXQiOjE3NjM1NTE4NzksInN1YiI6ImRiYWRtaW4ifQ.m2RrPXg5TMQUmZLJOW5Ddpov0uxCeOMkO1HmyxyKzE4lYTjDfaTsOHQIjnVez0YKJhWFfIru4uozo7_ZR7nPKPLvu_C6VOVocxMLJ7X6yU1XgMB2bkuhaSb5e9i-sMXZaXVCfbQALYaJacLrkrVgEnjHx54eEWLm652hln7hGfZbgil9rXB1vQksR4EanZJ_JUI310WkD0UIZAPPbe5ddGXKGaZvlDLnawpY-7Lc92UECVKwpChwJKHMm2cWbNsV2_N99CrfeatMZxqwr3putohnjXzdffJ7_ZDf2XzT8BxVK0tYsJhZ68Clyo8yD_Zd1jlFl6XH1MnMGJiP2wbVtQ" } } } }
2025-11-19 11:31:19,334 - DEBUG - ydb.connection.2430303  - close: Closing channel for endpoint localhost:8399
2025-11-19 11:31:19,529 - DEBUG - ydb.connection.2430303  - 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-19 11:31:19,530 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.2430303  - context_resolve: Preparing initial endpoint to resolve endpoints
2025-11-19 11:31:19,531 - DEBUG - ydb.connection.2430303  - 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-19 11:31:19,536 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.2430303  - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-11-19 11:31:19,537 - DEBUG - ydb.connection.2430303  - _prepare_call: RpcState(ListEndpoints, 19b5c26f-c280-4367-b877-8278a1cecd3b, localhost:8399): creating call state
2025-11-19 11:31:19,537 - DEBUG - ydb.connection.2430303  - _log_request: RpcState(ListEndpoints, 19b5c26f-c280-4367-b877-8278a1cecd3b, localhost:8399): request = { database: "/Root/test_user_administration" }
2025-11-19 11:31:19,540 - DEBUG - ydb.connection.2430303  - _log_response: RpcState(ListEndpoints, 19b5c26f-c280-4367-b877-8278a1cecd3b, localhost:8399): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-c3mdp2mblq.auto.internal" port: 2807 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-19 11:31:19,540 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.2430303  - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-c3mdp2mblq.auto.internal:2807, location , ssl: False>]>
2025-11-19 11:31:19,541 - DEBUG - ydb.connection.2430303  - 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-19 11:31:19,548 - DEBUG - ydb.connection.2430303  - close: Closing channel for endpoint localhost:8399
2025-11-19 11:31:19,549 - DEBUG - ydb.table.SessionPool.2430303  - subscribe: Active session queue is empty, subscribe waiter for a session
2025-11-19 11:31:19,550 - DEBUG - ydb.table.SessionPool.2430303  - subscribe: Subscribe waiter <Future at 0x7fcbd1abf210 state=pending>
2025-11-19 11:31:19,550 - DEBUG - ydb.table.SessionPool.2430303  - subscribe: Session pool is not large enough (active_count < size: 0 < 100). will create a new session.
2025-11-19 11:31:19,550 - DEBUG - ydb.table.SessionPool.2430303  - _create: Created session <ydb.table.Session object at 0x7fcbd1abcdd0>
2025-11-19 11:31:19,550 - DEBUG - ydb.table.SessionPool.2430303  - _prepare: Preparing session <ydb.table.Session object at 0x7fcbd1abcdd0>
2025-11-19 11:31:19,551 - DEBUG - ydb.connection.2430303  - _prepare_call: RpcState(CreateSession, 182355fb-44e2-493c-97a9-206a3e72c584, ghrun-c3mdp2mblq.auto.internal:2807): creating call state
2025-11-19 11:31:19,551 - DEBUG - ydb.connection.2430303  - _log_request: RpcState(CreateSession, 182355fb-44e2-493c-97a9-206a3e72c584, ghrun-c3mdp2mblq.auto.internal:2807): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-11-19 11:31:19,554 - DEBUG - ydb.connection.2430303  - _on_response_callback: RpcState(CreateSession, 182355fb-44e2-493c-97a9-206a3e72c584, ghrun-c3mdp2mblq.auto.internal:2807): on response callback started
2025-11-19 11:31:19,555 - DEBUG - ydb.connection.2430303  - _log_response: RpcState(CreateSession, 182355fb-44e2-493c-97a9-206a3e72c584, ghrun-c3mdp2mblq.auto.internal:2807): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=YzdlNTZmYWEtOGIxNzE1NS1kOGM1ZWNhOC1mMDljODE3MA==" } } } }
2025-11-19 11:31:19,555 - DEBUG - ydb.table.SessionPool.2430303  - put: Put on session <ydb.table.Session object at 0x7fcbd1abcdd0>
2025-11-19 11:31:19,555 - DEBUG - ydb.table.SessionPool.2430303  - put: Replying to waiter with a session <ydb.table.Session object at 0x7fcbd1abcdd0>
2025-11-19 11:31:19,556 - DEBUG - ydb.connection.2430303  - _prepare_call: RpcState(ExecuteSchemeQuery, 850e3948-4989-45d4-b61f-b5d263521324, ghrun-c3mdp2mblq.auto.internal:2807): creating call state
2025-11-19 11:31:19,556 - DEBUG - ydb.connection.2430303  - _on_response_callback: RpcState(CreateSession, 182355fb-44e2-493c-97a9-206a3e72c584, ghrun-c3mdp2mblq.auto.internal:2807): on response callback success
2025-11-19 11:31:19,557 - DEBUG - ydb.connection.2430303  - _log_request: RpcState(ExecuteSchemeQuery, 850e3948-4989-45d4-b61f-b5d263521324, ghrun-c3mdp2mblq.auto.internal:2807): request = { session_id: "ydb://session/3?node_id=50000&id=YzdlNTZmYWEtOGIxNzE1NS1kOGM1ZWNhOC1mMDljODE3MA==" yql_text: "alter group dbadmins add user ordinaryuser" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-11-19 11:31:19,563 - DEBUG - ydb.connection.2430303  - _log_response: RpcState(ExecuteSchemeQuery, 850e3948-4989-45d4-b61f-b5d263521324, ghrun-c3mdp2mblq.auto.internal:2807): 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-19 11:31:19,564 - DEBUG - ydb.table.SessionPool.2430303  - put: Put on session <ydb.table.Session object at 0x7fcbd1abcdd0>
2025-11-19 11:31:19,564 - DEBUG - ydb.topic.2430303  - close: Close topic client
2025-11-19 11:31:19,565 - DEBUG - ydb.topic.2430303  - close: Topic client was closed
2025-11-19 11:31:19,565 - DEBUG - ydb.connection.2430303  - close: Closing channel for endpoint localhost:8399
2025-11-19 11:31:19,741 - DEBUG - ydb.connection.2430303  - close: Closing channel for endpoint ghrun-c3mdp2mblq.auto.internal:2807
2025-11-19 11:31:19,755 - INFO - ydb.pool.Discovery.2430303  - run: Successfully terminated discovery process
2025-11-19 11:31:19,757 - INFO - ya.test.2430303  - pytest_runtest_teardown: Test teardown
