2025-11-14 06:53:06,493 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-14 06:53:06,493 - INFO - ya.test - pytest_runtest_setup: test_database_admin_cant_change_database_admin_group[rename-admin-group]
2025-11-14 06:53:06,493 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-14 06:53:06,493 - INFO - ya.test - pytest_runtest_setup: Test setup
2025-11-14 06:53:06,495 - INFO - ya.test - pytest_runtest_call: Test call (class_name: test_user_administration.py, test_name: test_database_admin_cant_change_database_admin_group[rename-admin-group])
2025-11-14 06:53:06,496 - 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:53:06,500 - DEBUG - ydb.connection - _prepare_call: RpcState(Login, 7bb735a1-deda-4f57-baf9-98cab2ca21cf, localhost:8713): creating call state
2025-11-14 06:53:06,501 - DEBUG - ydb.connection - _log_request: RpcState(Login, 7bb735a1-deda-4f57-baf9-98cab2ca21cf, localhost:8713): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-11-14 06:53:06,511 - DEBUG - ydb.connection - _log_response: RpcState(Login, 7bb735a1-deda-4f57-baf9-98cab2ca21cf, localhost:8713): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzYzMTQ2Mzg2LCJpYXQiOjE3NjMxMDMxODYsInN1YiI6ImRiYWRtaW4ifQ.GB5l2oKM9rJg_DQx3rnlbb5WwmGdt2_vVfnJnmZ2q2cGnZmROiO0KY7r37Y9tGWyOSDPHkje6YRazevhCpPYF-PMUgwW4qPizQeP4oUh1V2u4TJZo6sfOfRqTv8hEcz5DENvwaNVnIM0hyWvLAF_5lXk1CEtHyEW0Xi7sf3c8Y7bvJ3mmkgj0-iJZTg_F9LdGuvXSiMiQugbXq7zXKi4liVFEePRapZAgd99r42GaiYV62-wY68FUOMjZBoEwYE_jB2AWAB-vajf9SF9SRQmFbbhJC6lgTNVwOkZRRR0JuXPmwsW5x6CR_KjmThe-jvFcMtuApd95ybsap5LHuvkCw" } } } }
2025-11-14 06:53:06,511 - INFO - ydb.connection - close: Closing channel for endpoint localhost:8713
2025-11-14 06:53:06,703 - 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:53:06,705 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Preparing initial endpoint to resolve endpoints
2025-11-14 06:53:06,706 - 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:53:06,710 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-11-14 06:53:06,710 - DEBUG - ydb.connection - _prepare_call: RpcState(ListEndpoints, b78338d5-bdf5-4201-b8ee-35e81e468505, localhost:8713): creating call state
2025-11-14 06:53:06,711 - DEBUG - ydb.connection - _log_request: RpcState(ListEndpoints, b78338d5-bdf5-4201-b8ee-35e81e468505, localhost:8713): request = { database: "/Root/test_user_administration" }
2025-11-14 06:53:06,713 - DEBUG - ydb.connection - _log_response: RpcState(ListEndpoints, b78338d5-bdf5-4201-b8ee-35e81e468505, localhost:8713): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-iuibjpfjoa.auto.internal" port: 9668 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:53:06,714 - 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:9668, location , ssl: False>]>
2025-11-14 06:53:06,714 - 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:53:06,717 - INFO - ydb.connection - close: Closing channel for endpoint localhost:8713
2025-11-14 06:53:06,718 - DEBUG - ydb.table.SessionPool - subscribe: Active session queue is empty, subscribe waiter for a session
2025-11-14 06:53:06,719 - DEBUG - ydb.table.SessionPool - subscribe: Subscribe waiter <Future at 0x7f0033c9e860 state=pending>
2025-11-14 06:53:06,719 - 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:53:06,719 - DEBUG - ydb.table.SessionPool - _create: Created session <ydb.table.Session object at 0x7f0033c9e4a0>
2025-11-14 06:53:06,719 - DEBUG - ydb.table.SessionPool - _prepare: Preparing session <ydb.table.Session object at 0x7f0033c9e4a0>
2025-11-14 06:53:06,720 - DEBUG - ydb.connection - _prepare_call: RpcState(CreateSession, 98c04ace-68ad-44e6-845b-2da8ee3e7e56, ghrun-iuibjpfjoa.auto.internal:9668): creating call state
2025-11-14 06:53:06,720 - DEBUG - ydb.connection - _log_request: RpcState(CreateSession, 98c04ace-68ad-44e6-845b-2da8ee3e7e56, ghrun-iuibjpfjoa.auto.internal:9668): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-11-14 06:53:06,722 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, 98c04ace-68ad-44e6-845b-2da8ee3e7e56, ghrun-iuibjpfjoa.auto.internal:9668): on response callback started
2025-11-14 06:53:06,723 - DEBUG - ydb.connection - _log_response: RpcState(CreateSession, 98c04ace-68ad-44e6-845b-2da8ee3e7e56, ghrun-iuibjpfjoa.auto.internal:9668): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=OWUzZWEyNjktZjQxZGI3ZDQtMmQ0MmQyZWYtNzk2NDcwNDM=" } } } }
2025-11-14 06:53:06,723 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7f0033c9e4a0>
2025-11-14 06:53:06,724 - DEBUG - ydb.table.SessionPool - put: Replying to waiter with a session <ydb.table.Session object at 0x7f0033c9e4a0>
2025-11-14 06:53:06,724 - DEBUG - ydb.connection - _prepare_call: RpcState(ExecuteSchemeQuery, 29c596e9-d763-4e76-8c58-0393c8596b89, ghrun-iuibjpfjoa.auto.internal:9668): creating call state
2025-11-14 06:53:06,724 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, 98c04ace-68ad-44e6-845b-2da8ee3e7e56, ghrun-iuibjpfjoa.auto.internal:9668): on response callback success
2025-11-14 06:53:06,725 - DEBUG - ydb.connection - _log_request: RpcState(ExecuteSchemeQuery, 29c596e9-d763-4e76-8c58-0393c8596b89, ghrun-iuibjpfjoa.auto.internal:9668): request = { session_id: "ydb://session/3?node_id=50000&id=OWUzZWEyNjktZjQxZGI3ZDQtMmQ0MmQyZWYtNzk2NDcwNDM=" yql_text: "alter group dbadmins rename to dbadminsdemoted" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-11-14 06:53:06,731 - DEBUG - ydb.connection - _log_response: RpcState(ExecuteSchemeQuery, 29c596e9-d763-4e76-8c58-0393c8596b89, ghrun-iuibjpfjoa.auto.internal:9668): response = { operation { ready: true status: UNAUTHORIZED issues { message: "Execution" issue_code: 1060 severity: 1 issues { position { row: 1 column: 1 } message: "Executing RENAME 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:53:06,732 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7f0033c9e4a0>
2025-11-14 06:53:06,732 - INFO - ydb.connection - close: Closing channel for endpoint localhost:8713
2025-11-14 06:53:06,913 - INFO - ydb.connection - close: Closing channel for endpoint ghrun-iuibjpfjoa.auto.internal:9668
2025-11-14 06:53:06,920 - INFO - ydb.pool.Discovery - run: Successfully terminated discovery process
2025-11-14 06:53:06,922 - INFO - ya.test - pytest_runtest_teardown: Test teardown
