2025-11-05 12:01:25,502 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-05 12:01:25,502 - INFO - ya.test - pytest_runtest_setup: test_database_admin_cant_change_database_admin_group[add-subgroup]
2025-11-05 12:01:25,503 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-05 12:01:25,508 - INFO - ya.test - pytest_runtest_setup: Test setup
2025-11-05 12:01:25,514 - 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-05 12:01:25,515 - 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-05 12:01:25,522 - DEBUG - ydb.connection - _prepare_call: RpcState(Login, a57848fd-dbcf-4121-8341-1ece6c8ea5a0, localhost:3058): creating call state
2025-11-05 12:01:25,522 - DEBUG - ydb.connection - _log_request: RpcState(Login, a57848fd-dbcf-4121-8341-1ece6c8ea5a0, localhost:3058): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-11-05 12:01:25,536 - DEBUG - ydb.connection - _log_response: RpcState(Login, a57848fd-dbcf-4121-8341-1ece6c8ea5a0, localhost:3058): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzYyMzg3Mjg1LCJpYXQiOjE3NjIzNDQwODUsInN1YiI6ImRiYWRtaW4ifQ.TFKrIzl-sa60zxMAT9GskRsNe7x9QOhoqR7UeaOl5f_KHdHGTyphfym085pb2YMa5ee3M2g_ZsHDlyN9FRHpetqUoyspbPpWeGN5hMDisyjZVQZDZyRSlXdkwJQEZT17vG0Y1q95_sfOp3Ix9N38AUKjjhVdZKzyHy49aBUfArXGy3nGfFajPYeOemRqrHDb8A99MAzGDOQnSKFpkRJ1Mm1-4mAhOBlc08BIBEE1pP7GSULvMFBQX5tQ-zNDNZwzlFEtF4sRXvQQ3N3dDOJy1UScelt-KOTSDxRuY6tcr-iMcnsLqpZc9gZaVecANpQfAemHRNYoXFYwXijTGezAVg" } } } }
2025-11-05 12:01:25,536 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:3058
2025-11-05 12:01:25,728 - 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-05 12:01:25,730 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Preparing initial endpoint to resolve endpoints
2025-11-05 12:01:25,731 - 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-05 12:01:25,737 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-11-05 12:01:25,738 - DEBUG - ydb.connection - _prepare_call: RpcState(ListEndpoints, b58a84b7-476c-4d14-9b0b-a3e3ec48833c, localhost:3058): creating call state
2025-11-05 12:01:25,747 - DEBUG - ydb.connection - _log_request: RpcState(ListEndpoints, b58a84b7-476c-4d14-9b0b-a3e3ec48833c, localhost:3058): request = { database: "/Root/test_user_administration" }
2025-11-05 12:01:25,751 - DEBUG - ydb.connection - _log_response: RpcState(ListEndpoints, b58a84b7-476c-4d14-9b0b-a3e3ec48833c, localhost:3058): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-atcy2dqar4.auto.internal" port: 2350 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-05 12:01:25,758 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-atcy2dqar4.auto.internal:2350, location , ssl: False>]>
2025-11-05 12:01:25,759 - 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-05 12:01:25,769 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:3058
2025-11-05 12:01:25,770 - DEBUG - ydb.table.SessionPool - subscribe: Active session queue is empty, subscribe waiter for a session
2025-11-05 12:01:25,771 - DEBUG - ydb.table.SessionPool - subscribe: Subscribe waiter <Future at 0x7f0c4eac41f0 state=pending>
2025-11-05 12:01:25,771 - DEBUG - ydb.table.SessionPool - subscribe: Session pool is not large enough (active_count < size: 0 < 100). will create a new session.
2025-11-05 12:01:25,771 - DEBUG - ydb.table.SessionPool - _create: Created session <ydb.table.Session object at 0x7f0c4ec9fbc0>
2025-11-05 12:01:25,772 - DEBUG - ydb.table.SessionPool - _prepare: Preparing session <ydb.table.Session object at 0x7f0c4ec9fbc0>
2025-11-05 12:01:25,772 - DEBUG - ydb.connection - _prepare_call: RpcState(CreateSession, 51375391-b45a-4134-b885-6ef4d90dc54c, ghrun-atcy2dqar4.auto.internal:2350): creating call state
2025-11-05 12:01:25,777 - DEBUG - ydb.connection - _log_request: RpcState(CreateSession, 51375391-b45a-4134-b885-6ef4d90dc54c, ghrun-atcy2dqar4.auto.internal:2350): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-11-05 12:01:25,781 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, 51375391-b45a-4134-b885-6ef4d90dc54c, ghrun-atcy2dqar4.auto.internal:2350): on response callback started
2025-11-05 12:01:25,781 - DEBUG - ydb.connection - _log_response: RpcState(CreateSession, 51375391-b45a-4134-b885-6ef4d90dc54c, ghrun-atcy2dqar4.auto.internal:2350): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=NTgzZjlkNzUtY2YyMTQ0OGItMzZiY2IxNTQtN2JiNjIwNTk=" } } } }
2025-11-05 12:01:25,782 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7f0c4ec9fbc0>
2025-11-05 12:01:25,782 - DEBUG - ydb.table.SessionPool - put: Replying to waiter with a session <ydb.table.Session object at 0x7f0c4ec9fbc0>
2025-11-05 12:01:25,782 - DEBUG - ydb.connection - _prepare_call: RpcState(ExecuteSchemeQuery, be5f04aa-92aa-4a6a-b32a-8b3a86864d5a, ghrun-atcy2dqar4.auto.internal:2350): creating call state
2025-11-05 12:01:25,783 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, 51375391-b45a-4134-b885-6ef4d90dc54c, ghrun-atcy2dqar4.auto.internal:2350): on response callback success
2025-11-05 12:01:25,783 - DEBUG - ydb.connection - _log_request: RpcState(ExecuteSchemeQuery, be5f04aa-92aa-4a6a-b32a-8b3a86864d5a, ghrun-atcy2dqar4.auto.internal:2350): request = { session_id: "ydb://session/3?node_id=50000&id=NTgzZjlkNzUtY2YyMTQ0OGItMzZiY2IxNTQtN2JiNjIwNTk=" yql_text: "alter group dbadmins add user ordinarygroup" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-11-05 12:01:25,792 - DEBUG - ydb.connection - _log_response: RpcState(ExecuteSchemeQuery, be5f04aa-92aa-4a6a-b32a-8b3a86864d5a, ghrun-atcy2dqar4.auto.internal:2350): 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-05 12:01:25,793 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7f0c4ec9fbc0>
2025-11-05 12:01:25,794 - DEBUG - ydb.topic - close: Close topic client
2025-11-05 12:01:25,794 - DEBUG - ydb.topic - close: Topic client was closed
2025-11-05 12:01:25,795 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:3058
2025-11-05 12:01:25,940 - DEBUG - ydb.connection - close: Closing channel for endpoint ghrun-atcy2dqar4.auto.internal:2350
2025-11-05 12:01:25,973 - INFO - ydb.pool.Discovery - run: Successfully terminated discovery process
2025-11-05 12:01:25,977 - INFO - ya.test - pytest_runtest_teardown: Test teardown
