2025-11-01 16:24:28,217 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-01 16:24:28,217 - INFO - ya.test - pytest_runtest_setup: test_database_admin_cant_change_database_admin_group[add-subgroup]
2025-11-01 16:24:28,217 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-01 16:24:28,217 - INFO - ya.test - pytest_runtest_setup: Test setup
2025-11-01 16:24:28,219 - 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 16:24:28,219 - 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 16:24:28,223 - DEBUG - ydb.connection - _prepare_call: RpcState(Login, 7eedd471-8fb2-458f-8d9b-5a4787bcf7f4, localhost:17541): creating call state
2025-11-01 16:24:28,223 - DEBUG - ydb.connection - _log_request: RpcState(Login, 7eedd471-8fb2-458f-8d9b-5a4787bcf7f4, localhost:17541): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-11-01 16:24:28,231 - DEBUG - ydb.connection - _log_response: RpcState(Login, 7eedd471-8fb2-458f-8d9b-5a4787bcf7f4, localhost:17541): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzYyMDU3NDY4LCJpYXQiOjE3NjIwMTQyNjgsInN1YiI6ImRiYWRtaW4ifQ.PeUlUBbxDkZD5_IMi6uEBGCDRsn6tFgf63EACuJFTbFzzI1ohkL9SHYaZSx1pR7PbNTgqXyktobHVTktgiAyqQU7aDVeseyJcDP3QItl1awO9fJSDiI_ud20x8zQGD_EeJZmy3J0fY904IrpALXaqCvKtg_0xNLndWMBZUkafo7nkX7QaibOomAZnOpW3DYgD86F_tA6pulI6mPFrU-J5n_45VJdrEHvDsZK0Mj8kClCefXwrSbaumYkLW0v9xraNGoRUD4s1nCzNG4eTpwwJCO-crsgz-zJcWazhVyoqmjjJKEUv14VMptYwVIiCXoDHkmUNypHcMIGOOhkD0_xiA" } } } }
2025-11-01 16:24:28,232 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:17541
2025-11-01 16:24:28,426 - 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 16:24:28,427 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Preparing initial endpoint to resolve endpoints
2025-11-01 16:24:28,428 - 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 16:24:28,433 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-11-01 16:24:28,434 - DEBUG - ydb.connection - _prepare_call: RpcState(ListEndpoints, b136ddb2-ab95-4656-af09-a50b3af41496, localhost:17541): creating call state
2025-11-01 16:24:28,434 - DEBUG - ydb.connection - _log_request: RpcState(ListEndpoints, b136ddb2-ab95-4656-af09-a50b3af41496, localhost:17541): request = { database: "/Root/test_user_administration" }
2025-11-01 16:24:28,437 - DEBUG - ydb.connection - _log_response: RpcState(ListEndpoints, b136ddb2-ab95-4656-af09-a50b3af41496, localhost:17541): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-wicuw7bjty.auto.internal" port: 11763 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 16:24:28,437 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-wicuw7bjty.auto.internal:11763, location , ssl: False>]>
2025-11-01 16:24:28,438 - 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 16:24:28,443 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:17541
2025-11-01 16:24:28,444 - DEBUG - ydb.table.SessionPool - subscribe: Active session queue is empty, subscribe waiter for a session
2025-11-01 16:24:28,444 - DEBUG - ydb.table.SessionPool - subscribe: Subscribe waiter <Future at 0x7fca002b0060 state=pending>
2025-11-01 16:24:28,445 - DEBUG - ydb.table.SessionPool - subscribe: Session pool is not large enough (active_count < size: 0 < 100). will create a new session.
2025-11-01 16:24:28,445 - DEBUG - ydb.table.SessionPool - _create: Created session <ydb.table.Session object at 0x7fca002b0240>
2025-11-01 16:24:28,445 - DEBUG - ydb.table.SessionPool - _prepare: Preparing session <ydb.table.Session object at 0x7fca002b0240>
2025-11-01 16:24:28,445 - DEBUG - ydb.connection - _prepare_call: RpcState(CreateSession, 1d215fe5-6405-4d11-bb82-48eb26a0c3f5, ghrun-wicuw7bjty.auto.internal:11763): creating call state
2025-11-01 16:24:28,446 - DEBUG - ydb.connection - _log_request: RpcState(CreateSession, 1d215fe5-6405-4d11-bb82-48eb26a0c3f5, ghrun-wicuw7bjty.auto.internal:11763): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-11-01 16:24:28,448 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, 1d215fe5-6405-4d11-bb82-48eb26a0c3f5, ghrun-wicuw7bjty.auto.internal:11763): on response callback started
2025-11-01 16:24:28,449 - DEBUG - ydb.connection - _log_response: RpcState(CreateSession, 1d215fe5-6405-4d11-bb82-48eb26a0c3f5, ghrun-wicuw7bjty.auto.internal:11763): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=NzE0MDRmMjgtZTZjMWM2ZDQtOWNkMzAwOS1jNGI2ZTFiZQ==" } } } }
2025-11-01 16:24:28,449 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7fca002b0240>
2025-11-01 16:24:28,449 - DEBUG - ydb.table.SessionPool - put: Replying to waiter with a session <ydb.table.Session object at 0x7fca002b0240>
2025-11-01 16:24:28,450 - DEBUG - ydb.connection - _prepare_call: RpcState(ExecuteSchemeQuery, f135d5a7-4435-4169-8742-746cb0b5ca43, ghrun-wicuw7bjty.auto.internal:11763): creating call state
2025-11-01 16:24:28,450 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, 1d215fe5-6405-4d11-bb82-48eb26a0c3f5, ghrun-wicuw7bjty.auto.internal:11763): on response callback success
2025-11-01 16:24:28,451 - DEBUG - ydb.connection - _log_request: RpcState(ExecuteSchemeQuery, f135d5a7-4435-4169-8742-746cb0b5ca43, ghrun-wicuw7bjty.auto.internal:11763): request = { session_id: "ydb://session/3?node_id=50000&id=NzE0MDRmMjgtZTZjMWM2ZDQtOWNkMzAwOS1jNGI2ZTFiZQ==" yql_text: "alter group dbadmins add user ordinarygroup" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-11-01 16:24:28,456 - DEBUG - ydb.connection - _log_response: RpcState(ExecuteSchemeQuery, f135d5a7-4435-4169-8742-746cb0b5ca43, ghrun-wicuw7bjty.auto.internal:11763): 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 16:24:28,457 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7fca002b0240>
2025-11-01 16:24:28,458 - DEBUG - ydb.topic - close: Close topic client
2025-11-01 16:24:28,458 - DEBUG - ydb.topic - close: Topic client was closed
2025-11-01 16:24:28,458 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:17541
2025-11-01 16:24:28,636 - DEBUG - ydb.connection - close: Closing channel for endpoint ghrun-wicuw7bjty.auto.internal:11763
2025-11-01 16:24:28,646 - INFO - ydb.pool.Discovery - run: Successfully terminated discovery process
2025-11-01 16:24:28,648 - INFO - ya.test - pytest_runtest_teardown: Test teardown
