2025-12-04 14:14:06,379 - INFO - ya.test.2768287  - pytest_runtest_setup: ####################################################################################################
2025-12-04 14:14:06,379 - INFO - ya.test.2768287  - pytest_runtest_setup: test_database_admin_cant_change_database_admin_group[remove-subgroup]
2025-12-04 14:14:06,379 - INFO - ya.test.2768287  - pytest_runtest_setup: ####################################################################################################
2025-12-04 14:14:06,379 - INFO - ya.test.2768287  - pytest_runtest_setup: Test setup
2025-12-04 14:14:06,381 - INFO - ya.test.2768287  - 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-04 14:14:06,382 - DEBUG - ydb.connection.2768287  - 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-04 14:14:06,387 - DEBUG - ydb.connection.2768287  - _prepare_call: RpcState(Login, cf6d1b78-2226-4452-b922-90a20cbf4f00, localhost:65471): creating call state
2025-12-04 14:14:06,388 - DEBUG - ydb.connection.2768287  - _log_request: RpcState(Login, cf6d1b78-2226-4452-b922-90a20cbf4f00, localhost:65471): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-12-04 14:14:06,398 - DEBUG - ydb.connection.2768287  - _log_response: RpcState(Login, cf6d1b78-2226-4452-b922-90a20cbf4f00, localhost:65471): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzY0OTAwODQ2LCJpYXQiOjE3NjQ4NTc2NDYsInN1YiI6ImRiYWRtaW4ifQ.YNkmOu6q1J-nbUqWxSC4uth9WAZnY8cghB02v4wm6oqjri_GfwBlhgvRfCZs4_JmR0JiBmSN5zg3UKWEQAXW0f7QWQuSbPfK2CiNajctEG_LmW6vqjTUXwuZGL7m8duBJCYzRDFNvGyqujJfNSeN3pnujUNAz4npb6OBCvfUdW2UE8ZUOinlWc13g7jgqrlaIhrYKXb9GlSelTMaoCUusnmnQJcbvEP037Y4yQw1iyPNbEjgr-rvaW2UlGYq3YzdWUUZpn_wDbU-oOcQ5d8lnu0QPgCgZwqXdqyryuLKL3VxiC6sIRIvdoVYIA_WzigZ5wN0dZjX17y-MacDkBL4Sw" } } } }
2025-12-04 14:14:06,399 - DEBUG - ydb.connection.2768287  - close: Closing channel for endpoint localhost:65471
2025-12-04 14:14:06,590 - DEBUG - ydb.connection.2768287  - 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-04 14:14:06,593 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.2768287  - context_resolve: Preparing initial endpoint to resolve endpoints
2025-12-04 14:14:06,593 - DEBUG - ydb.connection.2768287  - 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-04 14:14:06,603 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.2768287  - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-12-04 14:14:06,603 - DEBUG - ydb.connection.2768287  - _prepare_call: RpcState(ListEndpoints, 3558754d-6e94-4ed9-9fcd-8f83aa9074f3, localhost:65471): creating call state
2025-12-04 14:14:06,604 - DEBUG - ydb.connection.2768287  - _log_request: RpcState(ListEndpoints, 3558754d-6e94-4ed9-9fcd-8f83aa9074f3, localhost:65471): request = { database: "/Root/test_user_administration" }
2025-12-04 14:14:06,608 - DEBUG - ydb.connection.2768287  - _log_response: RpcState(ListEndpoints, 3558754d-6e94-4ed9-9fcd-8f83aa9074f3, localhost:65471): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-e3snp7fbzi.auto.internal" port: 16868 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-04 14:14:06,608 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.2768287  - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-e3snp7fbzi.auto.internal:16868, location , ssl: False>]>
2025-12-04 14:14:06,609 - DEBUG - ydb.connection.2768287  - 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-04 14:14:06,617 - DEBUG - ydb.connection.2768287  - close: Closing channel for endpoint localhost:65471
2025-12-04 14:14:06,620 - DEBUG - ydb.table.SessionPool.2768287  - subscribe: Active session queue is empty, subscribe waiter for a session
2025-12-04 14:14:06,620 - DEBUG - ydb.table.SessionPool.2768287  - subscribe: Subscribe waiter <Future at 0x7f4e50f124a0 state=pending>
2025-12-04 14:14:06,621 - DEBUG - ydb.table.SessionPool.2768287  - subscribe: Session pool is not large enough (active_count < size: 0 < 100). will create a new session.
2025-12-04 14:14:06,621 - DEBUG - ydb.table.SessionPool.2768287  - _create: Created session <ydb.table.Session object at 0x7f4e50f11550>
2025-12-04 14:14:06,621 - DEBUG - ydb.table.SessionPool.2768287  - _prepare: Preparing session <ydb.table.Session object at 0x7f4e50f11550>
2025-12-04 14:14:06,622 - DEBUG - ydb.connection.2768287  - _prepare_call: RpcState(CreateSession, 0c6b55da-92d9-492d-a6cf-091358d13047, ghrun-e3snp7fbzi.auto.internal:16868): creating call state
2025-12-04 14:14:06,622 - DEBUG - ydb.connection.2768287  - _log_request: RpcState(CreateSession, 0c6b55da-92d9-492d-a6cf-091358d13047, ghrun-e3snp7fbzi.auto.internal:16868): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-12-04 14:14:06,626 - DEBUG - ydb.connection.2768287  - _on_response_callback: RpcState(CreateSession, 0c6b55da-92d9-492d-a6cf-091358d13047, ghrun-e3snp7fbzi.auto.internal:16868): on response callback started
2025-12-04 14:14:06,627 - DEBUG - ydb.connection.2768287  - _log_response: RpcState(CreateSession, 0c6b55da-92d9-492d-a6cf-091358d13047, ghrun-e3snp7fbzi.auto.internal:16868): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=ODk5YjIxNmMtYjkyNmQ0ZjgtZTY1ZTYwZTItMTg5Njc0YTg=" } } } }
2025-12-04 14:14:06,628 - DEBUG - ydb.table.SessionPool.2768287  - put: Put on session <ydb.table.Session object at 0x7f4e50f11550>
2025-12-04 14:14:06,628 - DEBUG - ydb.table.SessionPool.2768287  - put: Replying to waiter with a session <ydb.table.Session object at 0x7f4e50f11550>
2025-12-04 14:14:06,629 - DEBUG - ydb.connection.2768287  - _on_response_callback: RpcState(CreateSession, 0c6b55da-92d9-492d-a6cf-091358d13047, ghrun-e3snp7fbzi.auto.internal:16868): on response callback success
2025-12-04 14:14:06,630 - DEBUG - ydb.connection.2768287  - _prepare_call: RpcState(ExecuteSchemeQuery, ac000210-5380-425b-95aa-a419ed0cc4de, ghrun-e3snp7fbzi.auto.internal:16868): creating call state
2025-12-04 14:14:06,630 - DEBUG - ydb.connection.2768287  - _log_request: RpcState(ExecuteSchemeQuery, ac000210-5380-425b-95aa-a419ed0cc4de, ghrun-e3snp7fbzi.auto.internal:16868): request = { session_id: "ydb://session/3?node_id=50000&id=ODk5YjIxNmMtYjkyNmQ0ZjgtZTY1ZTYwZTItMTg5Njc0YTg=" yql_text: "alter group dbadmins drop user dbsubadmins" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-12-04 14:14:06,641 - DEBUG - ydb.connection.2768287  - _log_response: RpcState(ExecuteSchemeQuery, ac000210-5380-425b-95aa-a419ed0cc4de, ghrun-e3snp7fbzi.auto.internal:16868): 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-04 14:14:06,642 - DEBUG - ydb.table.SessionPool.2768287  - put: Put on session <ydb.table.Session object at 0x7f4e50f11550>
2025-12-04 14:14:06,642 - DEBUG - ydb.topic.2768287  - close: Close topic client
2025-12-04 14:14:06,642 - DEBUG - ydb.topic.2768287  - close: Topic client was closed
2025-12-04 14:14:06,643 - DEBUG - ydb.connection.2768287  - close: Closing channel for endpoint localhost:65471
2025-12-04 14:14:06,806 - DEBUG - ydb.connection.2768287  - close: Closing channel for endpoint ghrun-e3snp7fbzi.auto.internal:16868
2025-12-04 14:14:06,821 - INFO - ydb.pool.Discovery.2768287  - run: Successfully terminated discovery process
2025-12-04 14:14:06,828 - INFO - ya.test.2768287  - pytest_runtest_teardown: Test teardown
