2025-12-09 10:29:48,588 - INFO - ya.test.3100976  - pytest_runtest_setup: ####################################################################################################
2025-12-09 10:29:48,588 - INFO - ya.test.3100976  - pytest_runtest_setup: test_database_admin_cant_change_database_admin_group[remove-subgroup]
2025-12-09 10:29:48,588 - INFO - ya.test.3100976  - pytest_runtest_setup: ####################################################################################################
2025-12-09 10:29:48,588 - INFO - ya.test.3100976  - pytest_runtest_setup: Test setup
2025-12-09 10:29:48,590 - INFO - ya.test.3100976  - pytest_runtest_call: Test call (class_name: test_user_administration.py, test_name: test_database_admin_cant_change_database_admin_group[remove-subgroup])
2025-12-09 10:29:48,590 - DEBUG - ydb.connection.3100976  - 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-12-09 10:29:48,595 - DEBUG - ydb.connection.3100976  - _prepare_call: RpcState(Login, 3e5e44b7-b742-413c-a230-d2f936bcee26, localhost:13253): creating call state
2025-12-09 10:29:48,595 - DEBUG - ydb.connection.3100976  - _log_request: RpcState(Login, 3e5e44b7-b742-413c-a230-d2f936bcee26, localhost:13253): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-12-09 10:29:48,601 - DEBUG - ydb.connection.3100976  - _log_response: RpcState(Login, 3e5e44b7-b742-413c-a230-d2f936bcee26, localhost:13253): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzY1MzE5Mzg4LCJpYXQiOjE3NjUyNzYxODgsInN1YiI6ImRiYWRtaW4ifQ.i7ovbIKCWo1-rF9hbfQX-HvuBGFrL15HX-tbxoxpZzdCw6-d5OfouAo6qQ0EozE-NRt9hSI5hOfTPbyOYQi5th2JXmud4ggmdRaMpWt1dNDsSMJruiyonmdDR8q4FVAE8a73wVxVfW0luWoKC6CPaEPEfyo4hutGUt8qmltTyChVTgXadnzXsUCDZ1D2D37rqDDAiZZXppg9PtVPqt8GmeaGO7Ha9gPMYpM7kfaeDVuRHdxdf5bXGABrikZsUIA4YrJRBexyrO7yqZXRRQjKdg4csn5iUzlX76mFv6p44On_36rYoIFC5izE3X1WRqsEgMDBp_lrq4oFUWzDaqtZTQ" } } } }
2025-12-09 10:29:48,602 - DEBUG - ydb.connection.3100976  - close: Closing channel for endpoint localhost:13253
2025-12-09 10:29:48,797 - DEBUG - ydb.connection.3100976  - 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-12-09 10:29:48,799 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.3100976  - context_resolve: Preparing initial endpoint to resolve endpoints
2025-12-09 10:29:48,799 - DEBUG - ydb.connection.3100976  - 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-12-09 10:29:48,805 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.3100976  - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-12-09 10:29:48,806 - DEBUG - ydb.connection.3100976  - _prepare_call: RpcState(ListEndpoints, c07faa09-56e8-4684-b0e6-72eee16c576c, localhost:13253): creating call state
2025-12-09 10:29:48,806 - DEBUG - ydb.connection.3100976  - _log_request: RpcState(ListEndpoints, c07faa09-56e8-4684-b0e6-72eee16c576c, localhost:13253): request = { database: "/Root/test_user_administration" }
2025-12-09 10:29:48,808 - DEBUG - ydb.connection.3100976  - _log_response: RpcState(ListEndpoints, c07faa09-56e8-4684-b0e6-72eee16c576c, localhost:13253): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-szdvczcwva.auto.internal" port: 8467 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-12-09 10:29:48,809 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.3100976  - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-szdvczcwva.auto.internal:8467, location , ssl: False>]>
2025-12-09 10:29:48,809 - DEBUG - ydb.connection.3100976  - 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-12-09 10:29:48,816 - DEBUG - ydb.connection.3100976  - close: Closing channel for endpoint localhost:13253
2025-12-09 10:29:48,817 - DEBUG - ydb.table.SessionPool.3100976  - subscribe: Active session queue is empty, subscribe waiter for a session
2025-12-09 10:29:48,818 - DEBUG - ydb.table.SessionPool.3100976  - subscribe: Subscribe waiter <Future at 0x7ff2e49cba30 state=pending>
2025-12-09 10:29:48,818 - DEBUG - ydb.table.SessionPool.3100976  - subscribe: Session pool is not large enough (active_count < size: 0 < 100). will create a new session.
2025-12-09 10:29:48,818 - DEBUG - ydb.table.SessionPool.3100976  - _create: Created session <ydb.table.Session object at 0x7ff2e49cac70>
2025-12-09 10:29:48,819 - DEBUG - ydb.table.SessionPool.3100976  - _prepare: Preparing session <ydb.table.Session object at 0x7ff2e49cac70>
2025-12-09 10:29:48,819 - DEBUG - ydb.connection.3100976  - _prepare_call: RpcState(CreateSession, de90f5d8-3c34-4bb7-bb54-dc77a9ab88a9, ghrun-szdvczcwva.auto.internal:8467): creating call state
2025-12-09 10:29:48,821 - DEBUG - ydb.connection.3100976  - _log_request: RpcState(CreateSession, de90f5d8-3c34-4bb7-bb54-dc77a9ab88a9, ghrun-szdvczcwva.auto.internal:8467): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-12-09 10:29:48,823 - DEBUG - ydb.connection.3100976  - _on_response_callback: RpcState(CreateSession, de90f5d8-3c34-4bb7-bb54-dc77a9ab88a9, ghrun-szdvczcwva.auto.internal:8467): on response callback started
2025-12-09 10:29:48,824 - DEBUG - ydb.connection.3100976  - _log_response: RpcState(CreateSession, de90f5d8-3c34-4bb7-bb54-dc77a9ab88a9, ghrun-szdvczcwva.auto.internal:8467): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=MWViNWMxMWQtMzc0OGUxOTMtNjcwYzRlNzMtZWFhYWRiMWU=" } } } }
2025-12-09 10:29:48,825 - DEBUG - ydb.table.SessionPool.3100976  - put: Put on session <ydb.table.Session object at 0x7ff2e49cac70>
2025-12-09 10:29:48,826 - DEBUG - ydb.table.SessionPool.3100976  - put: Replying to waiter with a session <ydb.table.Session object at 0x7ff2e49cac70>
2025-12-09 10:29:48,826 - DEBUG - ydb.connection.3100976  - _prepare_call: RpcState(ExecuteSchemeQuery, d919b097-8115-46fe-a4be-88f217714ba0, ghrun-szdvczcwva.auto.internal:8467): creating call state
2025-12-09 10:29:48,826 - DEBUG - ydb.connection.3100976  - _on_response_callback: RpcState(CreateSession, de90f5d8-3c34-4bb7-bb54-dc77a9ab88a9, ghrun-szdvczcwva.auto.internal:8467): on response callback success
2025-12-09 10:29:48,827 - DEBUG - ydb.connection.3100976  - _log_request: RpcState(ExecuteSchemeQuery, d919b097-8115-46fe-a4be-88f217714ba0, ghrun-szdvczcwva.auto.internal:8467): request = { session_id: "ydb://session/3?node_id=50000&id=MWViNWMxMWQtMzc0OGUxOTMtNjcwYzRlNzMtZWFhYWRiMWU=" yql_text: "alter group dbadmins drop user dbsubadmins" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-12-09 10:29:48,833 - DEBUG - ydb.connection.3100976  - _log_response: RpcState(ExecuteSchemeQuery, d919b097-8115-46fe-a4be-88f217714ba0, ghrun-szdvczcwva.auto.internal:8467): 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-12-09 10:29:48,834 - DEBUG - ydb.table.SessionPool.3100976  - put: Put on session <ydb.table.Session object at 0x7ff2e49cac70>
2025-12-09 10:29:48,834 - DEBUG - ydb.topic.3100976  - close: Close topic client
2025-12-09 10:29:48,834 - DEBUG - ydb.topic.3100976  - close: Topic client was closed
2025-12-09 10:29:48,834 - DEBUG - ydb.connection.3100976  - close: Closing channel for endpoint localhost:13253
2025-12-09 10:29:49,008 - DEBUG - ydb.connection.3100976  - close: Closing channel for endpoint ghrun-szdvczcwva.auto.internal:8467
2025-12-09 10:29:49,019 - INFO - ydb.pool.Discovery.3100976  - run: Successfully terminated discovery process
2025-12-09 10:29:49,021 - INFO - ya.test.3100976  - pytest_runtest_teardown: Test teardown
