2025-11-01 20:19:47,786 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-01 20:19:47,786 - INFO - ya.test - pytest_runtest_setup: test_database_admin_cant_change_database_admin_group[add-subgroup]
2025-11-01 20:19:47,836 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-01 20:19:47,906 - INFO - ya.test - pytest_runtest_setup: Test setup
2025-11-01 20:19:47,932 - 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-subgroup])
2025-11-01 20:19:47,954 - 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'), ('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-01 20:19:47,967 - DEBUG - ydb.connection - _prepare_call: RpcState(Login, 7273ee35-0c44-4675-8016-7611760a7a92, localhost:26534): creating call state
2025-11-01 20:19:47,969 - DEBUG - ydb.connection - _log_request: RpcState(Login, 7273ee35-0c44-4675-8016-7611760a7a92, localhost:26534): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-11-01 20:19:47,987 - DEBUG - ydb.connection - _log_response: RpcState(Login, 7273ee35-0c44-4675-8016-7611760a7a92, localhost:26534): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzYyMDcxNTg3LCJpYXQiOjE3NjIwMjgzODcsInN1YiI6ImRiYWRtaW4ifQ.Awkrx0ae1Oc7zIEk8ZjdTaq-etuenaMaFhpJWv2uvSrB8BS56bmDzpUu3X-9PjWRMHm5xwW5fqoTvjr_f8vpEF7esQ6i0tzI9G2Ng7YdTpj3xRx-Rec7YMMiAyond5o-G8c40VADP9PDrKNvyc5ZqtgXhla71btf0enX9ZERUkOg5FFCdOOX-Xl4HRaghsfTryXhO1B6wLdj3SPLyDOgL4rQVLM8_rxs4xlpbsUQX6aOf2kAL_X6DRP9EjuVJo6rayTBiBzq0yWkvgkiXL8gTOIuseKDvzh8kLb8c0CshXVWDPCJ2LINuHjQf-wH3UoyFjPjTg-5tXdr1p5GQr-G1Q" } } } }
2025-11-01 20:19:48,039 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:26534
2025-11-01 20:19:48,173 - 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'), ('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-01 20:19:48,175 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Preparing initial endpoint to resolve endpoints
2025-11-01 20:19:48,176 - 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'), ('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-01 20:19:48,196 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-11-01 20:19:48,197 - DEBUG - ydb.connection - _prepare_call: RpcState(ListEndpoints, 44a7eeca-0cab-4b29-ae63-b060a9a792b4, localhost:26534): creating call state
2025-11-01 20:19:48,198 - DEBUG - ydb.connection - _log_request: RpcState(ListEndpoints, 44a7eeca-0cab-4b29-ae63-b060a9a792b4, localhost:26534): request = { database: "/Root/test_user_administration" }
2025-11-01 20:19:48,202 - DEBUG - ydb.connection - _log_response: RpcState(ListEndpoints, 44a7eeca-0cab-4b29-ae63-b060a9a792b4, localhost:26534): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-mjpjznvske.auto.internal" port: 7390 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-01 20:19:48,202 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-mjpjznvske.auto.internal:7390, location , ssl: False>]>
2025-11-01 20:19:48,220 - 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'), ('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-01 20:19:48,240 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:26534
2025-11-01 20:19:48,241 - DEBUG - ydb.table.SessionPool - subscribe: Active session queue is empty, subscribe waiter for a session
2025-11-01 20:19:48,248 - DEBUG - ydb.table.SessionPool - subscribe: Subscribe waiter <Future at 0x7ff147d44bf0 state=pending>
2025-11-01 20:19:48,248 - DEBUG - ydb.table.SessionPool - subscribe: Session pool is not large enough (active_count < size: 0 < 100). will create a new session.
2025-11-01 20:19:48,249 - DEBUG - ydb.table.SessionPool - _create: Created session <ydb.table.Session object at 0x7ff1498fbd50>
2025-11-01 20:19:48,249 - DEBUG - ydb.table.SessionPool - _prepare: Preparing session <ydb.table.Session object at 0x7ff1498fbd50>
2025-11-01 20:19:48,249 - DEBUG - ydb.connection - _prepare_call: RpcState(CreateSession, 3b101065-b9b9-4d6d-af6a-e3085a2882e0, ghrun-mjpjznvske.auto.internal:7390): creating call state
2025-11-01 20:19:48,250 - DEBUG - ydb.connection - _log_request: RpcState(CreateSession, 3b101065-b9b9-4d6d-af6a-e3085a2882e0, ghrun-mjpjznvske.auto.internal:7390): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-11-01 20:19:48,254 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, 3b101065-b9b9-4d6d-af6a-e3085a2882e0, ghrun-mjpjznvske.auto.internal:7390): on response callback started
2025-11-01 20:19:48,254 - DEBUG - ydb.connection - _log_response: RpcState(CreateSession, 3b101065-b9b9-4d6d-af6a-e3085a2882e0, ghrun-mjpjznvske.auto.internal:7390): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=NzIzMGY0OGMtZTNmNzcyODAtNGI3YzdhMzctNzcyM2Q4OWU=" } } } }
2025-11-01 20:19:48,255 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7ff1498fbd50>
2025-11-01 20:19:48,255 - DEBUG - ydb.table.SessionPool - put: Replying to waiter with a session <ydb.table.Session object at 0x7ff1498fbd50>
2025-11-01 20:19:48,255 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, 3b101065-b9b9-4d6d-af6a-e3085a2882e0, ghrun-mjpjznvske.auto.internal:7390): on response callback success
2025-11-01 20:19:48,256 - DEBUG - ydb.connection - _prepare_call: RpcState(ExecuteSchemeQuery, 382b204f-602a-438f-9364-5cb078828b01, ghrun-mjpjznvske.auto.internal:7390): creating call state
2025-11-01 20:19:48,257 - DEBUG - ydb.connection - _log_request: RpcState(ExecuteSchemeQuery, 382b204f-602a-438f-9364-5cb078828b01, ghrun-mjpjznvske.auto.internal:7390): request = { session_id: "ydb://session/3?node_id=50000&id=NzIzMGY0OGMtZTNmNzcyODAtNGI3YzdhMzctNzcyM2Q4OWU=" yql_text: "alter group dbadmins add user ordinarygroup" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-11-01 20:19:48,276 - DEBUG - ydb.connection - _log_response: RpcState(ExecuteSchemeQuery, 382b204f-602a-438f-9364-5cb078828b01, ghrun-mjpjznvske.auto.internal:7390): 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-01 20:19:48,277 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7ff1498fbd50>
2025-11-01 20:19:48,277 - DEBUG - ydb.topic - close: Close topic client
2025-11-01 20:19:48,277 - DEBUG - ydb.topic - close: Topic client was closed
2025-11-01 20:19:48,278 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:26534
2025-11-01 20:19:48,397 - DEBUG - ydb.connection - close: Closing channel for endpoint ghrun-mjpjznvske.auto.internal:7390
2025-11-01 20:19:48,437 - INFO - ydb.pool.Discovery - run: Successfully terminated discovery process
2025-11-01 20:19:48,454 - INFO - ya.test - pytest_runtest_teardown: Test teardown
