2025-11-19 11:32:20,085 - INFO - ya.test.2439411  - pytest_runtest_setup: ####################################################################################################
2025-11-19 11:32:20,085 - INFO - ya.test.2439411  - pytest_runtest_setup: test_database_admin_cant_change_database_admin_group[remove-subgroup]
2025-11-19 11:32:20,085 - INFO - ya.test.2439411  - pytest_runtest_setup: ####################################################################################################
2025-11-19 11:32:20,085 - INFO - ya.test.2439411  - pytest_runtest_setup: Test setup
2025-11-19 11:32:20,087 - INFO - ya.test.2439411  - pytest_runtest_call: Test call (class_name: test_user_administration.py, test_name: test_database_admin_cant_change_database_admin_group[remove-subgroup])
2025-11-19 11:32:20,088 - DEBUG - ydb.connection.2439411  - 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:32:20,093 - DEBUG - ydb.connection.2439411  - _prepare_call: RpcState(Login, db1a2089-0f29-4373-9ca6-6135bd4474df, localhost:7058): creating call state
2025-11-19 11:32:20,110 - DEBUG - ydb.connection.2439411  - _log_request: RpcState(Login, db1a2089-0f29-4373-9ca6-6135bd4474df, localhost:7058): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-11-19 11:32:20,128 - DEBUG - ydb.connection.2439411  - _log_response: RpcState(Login, db1a2089-0f29-4373-9ca6-6135bd4474df, localhost:7058): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzYzNTk1MTQwLCJpYXQiOjE3NjM1NTE5NDAsInN1YiI6ImRiYWRtaW4ifQ.GC-JDvE-2UtPp6w0jTF-cHN96oLJnlt_TgOg6BoSLvYQw07ceHEWRXLBe7miQOT0hvRTq10Ywk33ZMBedHZKh9seoAGKGeasV4oZO2w64_SdfmysBVcw6oKny4S48lZtBGMqiOw9py7vF1qbtWEVEq6sWBIMsh9_Z9Fx7koZ5CZjBjUDenq1TBRQsjDvGNZ4fkaox7fyTS1X2MAD9cPokLFs3AujxWvGAGUpJvXKdjOULx5AnZImSBdiPHOqLHysYa1bTRHk9DUGmQuSBQS7ZC_XUVWRapZJBqAr8p6kcgETM9S2s2jri_I2Pwmnqhz_Im2rxuYr6AbZDFiOm6gleQ" } } } }
2025-11-19 11:32:20,128 - DEBUG - ydb.connection.2439411  - close: Closing channel for endpoint localhost:7058
2025-11-19 11:32:20,306 - DEBUG - ydb.connection.2439411  - 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:32:20,327 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.2439411  - context_resolve: Preparing initial endpoint to resolve endpoints
2025-11-19 11:32:20,327 - DEBUG - ydb.connection.2439411  - 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:32:20,354 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.2439411  - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-11-19 11:32:20,361 - DEBUG - ydb.connection.2439411  - _prepare_call: RpcState(ListEndpoints, 62245ce7-87b8-4c02-ab0d-ca88d219db2e, localhost:7058): creating call state
2025-11-19 11:32:20,362 - DEBUG - ydb.connection.2439411  - _log_request: RpcState(ListEndpoints, 62245ce7-87b8-4c02-ab0d-ca88d219db2e, localhost:7058): request = { database: "/Root/test_user_administration" }
2025-11-19 11:32:20,370 - DEBUG - ydb.connection.2439411  - _log_response: RpcState(ListEndpoints, 62245ce7-87b8-4c02-ab0d-ca88d219db2e, localhost:7058): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-c3mdp2mblq.auto.internal" port: 14817 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:32:20,371 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.2439411  - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-c3mdp2mblq.auto.internal:14817, location , ssl: False>]>
2025-11-19 11:32:20,371 - DEBUG - ydb.connection.2439411  - 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:32:20,394 - DEBUG - ydb.connection.2439411  - close: Closing channel for endpoint localhost:7058
2025-11-19 11:32:20,395 - DEBUG - ydb.table.SessionPool.2439411  - subscribe: Active session queue is empty, subscribe waiter for a session
2025-11-19 11:32:20,401 - DEBUG - ydb.table.SessionPool.2439411  - subscribe: Subscribe waiter <Future at 0x7f63e16e66d0 state=pending>
2025-11-19 11:32:20,402 - DEBUG - ydb.table.SessionPool.2439411  - subscribe: Session pool is not large enough (active_count < size: 0 < 100). will create a new session.
2025-11-19 11:32:20,402 - DEBUG - ydb.table.SessionPool.2439411  - _create: Created session <ydb.table.Session object at 0x7f63e16e7580>
2025-11-19 11:32:20,402 - DEBUG - ydb.table.SessionPool.2439411  - _prepare: Preparing session <ydb.table.Session object at 0x7f63e16e7580>
2025-11-19 11:32:20,403 - DEBUG - ydb.connection.2439411  - _prepare_call: RpcState(CreateSession, 450a4ae3-4912-46d0-af74-3c291f08b8d4, ghrun-c3mdp2mblq.auto.internal:14817): creating call state
2025-11-19 11:32:20,403 - DEBUG - ydb.connection.2439411  - _log_request: RpcState(CreateSession, 450a4ae3-4912-46d0-af74-3c291f08b8d4, ghrun-c3mdp2mblq.auto.internal:14817): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-11-19 11:32:20,407 - DEBUG - ydb.connection.2439411  - _on_response_callback: RpcState(CreateSession, 450a4ae3-4912-46d0-af74-3c291f08b8d4, ghrun-c3mdp2mblq.auto.internal:14817): on response callback started
2025-11-19 11:32:20,407 - DEBUG - ydb.connection.2439411  - _log_response: RpcState(CreateSession, 450a4ae3-4912-46d0-af74-3c291f08b8d4, ghrun-c3mdp2mblq.auto.internal:14817): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=YzJkNjE5YmUtYTFmZGRkYjUtMmZmYTI0ZGYtYzkxZmYxNGI=" } } } }
2025-11-19 11:32:20,408 - DEBUG - ydb.table.SessionPool.2439411  - put: Put on session <ydb.table.Session object at 0x7f63e16e7580>
2025-11-19 11:32:20,408 - DEBUG - ydb.table.SessionPool.2439411  - put: Replying to waiter with a session <ydb.table.Session object at 0x7f63e16e7580>
2025-11-19 11:32:20,408 - DEBUG - ydb.connection.2439411  - _on_response_callback: RpcState(CreateSession, 450a4ae3-4912-46d0-af74-3c291f08b8d4, ghrun-c3mdp2mblq.auto.internal:14817): on response callback success
2025-11-19 11:32:20,409 - DEBUG - ydb.connection.2439411  - _prepare_call: RpcState(ExecuteSchemeQuery, a76f52f6-afca-43e3-b3d3-9eb6540cb629, ghrun-c3mdp2mblq.auto.internal:14817): creating call state
2025-11-19 11:32:20,410 - DEBUG - ydb.connection.2439411  - _log_request: RpcState(ExecuteSchemeQuery, a76f52f6-afca-43e3-b3d3-9eb6540cb629, ghrun-c3mdp2mblq.auto.internal:14817): request = { session_id: "ydb://session/3?node_id=50000&id=YzJkNjE5YmUtYTFmZGRkYjUtMmZmYTI0ZGYtYzkxZmYxNGI=" yql_text: "alter group dbadmins drop user dbsubadmins" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-11-19 11:32:20,423 - DEBUG - ydb.connection.2439411  - _log_response: RpcState(ExecuteSchemeQuery, a76f52f6-afca-43e3-b3d3-9eb6540cb629, ghrun-c3mdp2mblq.auto.internal:14817): 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:32:20,424 - DEBUG - ydb.table.SessionPool.2439411  - put: Put on session <ydb.table.Session object at 0x7f63e16e7580>
2025-11-19 11:32:20,429 - DEBUG - ydb.topic.2439411  - close: Close topic client
2025-11-19 11:32:20,435 - DEBUG - ydb.topic.2439411  - close: Topic client was closed
2025-11-19 11:32:20,435 - DEBUG - ydb.connection.2439411  - close: Closing channel for endpoint localhost:7058
2025-11-19 11:32:20,556 - DEBUG - ydb.connection.2439411  - close: Closing channel for endpoint ghrun-c3mdp2mblq.auto.internal:14817
2025-11-19 11:32:20,598 - INFO - ydb.pool.Discovery.2439411  - run: Successfully terminated discovery process
2025-11-19 11:32:20,601 - INFO - ya.test.2439411  - pytest_runtest_teardown: Test teardown
