2025-11-14 06:52:58,578 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-14 06:52:58,578 - INFO - ya.test - pytest_runtest_setup: test_database_admin_cant_change_database_admin_group[add-user]
2025-11-14 06:52:58,578 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-14 06:52:58,578 - INFO - ya.test - pytest_runtest_setup: Test setup
2025-11-14 06:52:58,580 - 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-14 06:52:58,581 - 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:52:58,585 - DEBUG - ydb.connection - _prepare_call: RpcState(Login, c810649e-7f8b-40f6-a7c7-aedb998009de, localhost:14622): creating call state
2025-11-14 06:52:58,586 - DEBUG - ydb.connection - _log_request: RpcState(Login, c810649e-7f8b-40f6-a7c7-aedb998009de, localhost:14622): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-11-14 06:52:58,595 - DEBUG - ydb.connection - _log_response: RpcState(Login, c810649e-7f8b-40f6-a7c7-aedb998009de, localhost:14622): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzYzMTQ2Mzc4LCJpYXQiOjE3NjMxMDMxNzgsInN1YiI6ImRiYWRtaW4ifQ.enmSrZclsb5YKXV6BNhxJa4ocd8H8R5yiQ465MvrN3NO686XkgSJRAaO3rd1HsWdWj_UoZosdF_OgZiQGAq7A05u8iTg1i05yhqM4Xztlp9qnyQMawc-aHVinHoX6MOrEHErAxHHOFromNCLxuecox7qoeiyhndj67IogTe5Kqav4sPWrEWhPDb2qQpVG6rsGi_9dSctN_8_poEvZ0dSNIWkB6qBZP5oZuL6wc7hy8ZRI7-kAP_0UsiPoJpTQwc4S54__v9iCRJezVWHQeudV75XoAPxNlCIY62lNOax6UAvJ4fLfmq_J2hAlz870dqchrnMQoNaoDH1XUBr5Ko7OQ" } } } }
2025-11-14 06:52:58,595 - INFO - ydb.connection - close: Closing channel for endpoint localhost:14622
2025-11-14 06:52:58,789 - 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:52:58,791 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Preparing initial endpoint to resolve endpoints
2025-11-14 06:52:58,791 - 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:52:58,796 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-11-14 06:52:58,796 - DEBUG - ydb.connection - _prepare_call: RpcState(ListEndpoints, 5144cac8-952c-4da6-bbd6-3c112459a44d, localhost:14622): creating call state
2025-11-14 06:52:58,797 - DEBUG - ydb.connection - _log_request: RpcState(ListEndpoints, 5144cac8-952c-4da6-bbd6-3c112459a44d, localhost:14622): request = { database: "/Root/test_user_administration" }
2025-11-14 06:52:58,799 - DEBUG - ydb.connection - _log_response: RpcState(ListEndpoints, 5144cac8-952c-4da6-bbd6-3c112459a44d, localhost:14622): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-iuibjpfjoa.auto.internal" port: 28102 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:52:58,800 - 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:28102, location , ssl: False>]>
2025-11-14 06:52:58,800 - 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:52:58,803 - INFO - ydb.connection - close: Closing channel for endpoint localhost:14622
2025-11-14 06:52:58,804 - DEBUG - ydb.table.SessionPool - subscribe: Active session queue is empty, subscribe waiter for a session
2025-11-14 06:52:58,805 - DEBUG - ydb.table.SessionPool - subscribe: Subscribe waiter <Future at 0x7f59652930d0 state=pending>
2025-11-14 06:52:58,805 - 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:52:58,805 - DEBUG - ydb.table.SessionPool - _create: Created session <ydb.table.Session object at 0x7f5965292a90>
2025-11-14 06:52:58,806 - DEBUG - ydb.table.SessionPool - _prepare: Preparing session <ydb.table.Session object at 0x7f5965292a90>
2025-11-14 06:52:58,806 - DEBUG - ydb.connection - _prepare_call: RpcState(CreateSession, 1feb5e4c-d2fc-461d-9fb6-a58b2018d43f, ghrun-iuibjpfjoa.auto.internal:28102): creating call state
2025-11-14 06:52:58,806 - DEBUG - ydb.connection - _log_request: RpcState(CreateSession, 1feb5e4c-d2fc-461d-9fb6-a58b2018d43f, ghrun-iuibjpfjoa.auto.internal:28102): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-11-14 06:52:58,809 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, 1feb5e4c-d2fc-461d-9fb6-a58b2018d43f, ghrun-iuibjpfjoa.auto.internal:28102): on response callback started
2025-11-14 06:52:58,810 - DEBUG - ydb.connection - _log_response: RpcState(CreateSession, 1feb5e4c-d2fc-461d-9fb6-a58b2018d43f, ghrun-iuibjpfjoa.auto.internal:28102): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=YTY1NTNmNWItMTZhNmY0ZTAtYjllZWUxZWEtNGQ0NGMxNjQ=" } } } }
2025-11-14 06:52:58,810 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7f5965292a90>
2025-11-14 06:52:58,811 - DEBUG - ydb.table.SessionPool - put: Replying to waiter with a session <ydb.table.Session object at 0x7f5965292a90>
2025-11-14 06:52:58,811 - DEBUG - ydb.connection - _prepare_call: RpcState(ExecuteSchemeQuery, 9f93ed73-1844-4371-b280-396a83c925a9, ghrun-iuibjpfjoa.auto.internal:28102): creating call state
2025-11-14 06:52:58,811 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, 1feb5e4c-d2fc-461d-9fb6-a58b2018d43f, ghrun-iuibjpfjoa.auto.internal:28102): on response callback success
2025-11-14 06:52:58,812 - DEBUG - ydb.connection - _log_request: RpcState(ExecuteSchemeQuery, 9f93ed73-1844-4371-b280-396a83c925a9, ghrun-iuibjpfjoa.auto.internal:28102): request = { session_id: "ydb://session/3?node_id=50000&id=YTY1NTNmNWItMTZhNmY0ZTAtYjllZWUxZWEtNGQ0NGMxNjQ=" yql_text: "alter group dbadmins add user ordinaryuser" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-11-14 06:52:58,818 - DEBUG - ydb.connection - _log_response: RpcState(ExecuteSchemeQuery, 9f93ed73-1844-4371-b280-396a83c925a9, ghrun-iuibjpfjoa.auto.internal:28102): 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-14 06:52:58,819 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7f5965292a90>
2025-11-14 06:52:58,819 - INFO - ydb.connection - close: Closing channel for endpoint localhost:14622
2025-11-14 06:52:58,999 - INFO - ydb.connection - close: Closing channel for endpoint ghrun-iuibjpfjoa.auto.internal:28102
2025-11-14 06:52:59,006 - INFO - ydb.pool.Discovery - run: Successfully terminated discovery process
2025-11-14 06:52:59,008 - INFO - ya.test - pytest_runtest_teardown: Test teardown
