2025-11-11 15:26:08,005 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-11 15:26:08,006 - INFO - ya.test - pytest_runtest_setup: test_database_admin_cant_change_database_admin_group[add-user]
2025-11-11 15:26:08,006 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-11 15:26:08,007 - INFO - ya.test - pytest_runtest_setup: Test setup
2025-11-11 15:26:08,008 - 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-user])
2025-11-11 15:26:08,009 - 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-11 15:26:08,025 - DEBUG - ydb.connection - _prepare_call: RpcState(Login, 633d59d3-94b2-4b1e-9df7-ca4c682a81c5, localhost:15066): creating call state
2025-11-11 15:26:08,026 - DEBUG - ydb.connection - _log_request: RpcState(Login, 633d59d3-94b2-4b1e-9df7-ca4c682a81c5, localhost:15066): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-11-11 15:26:08,052 - DEBUG - ydb.connection - _log_response: RpcState(Login, 633d59d3-94b2-4b1e-9df7-ca4c682a81c5, localhost:15066): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzYyOTE3OTY4LCJpYXQiOjE3NjI4NzQ3NjgsInN1YiI6ImRiYWRtaW4ifQ.FNn0EKGxTgM_uYKzMyT8AjvWOlv2rY60X3ambBhGQ-foADYpnJFro7QVbWBRpeW5Ncmv74I_f0VYUuUG1bBelCm9DEGcdQ0aeuyCvDgmk1Nxuau1rygGT4aHYyYmt0SZpy7VGw4voEBBMbknWF31sVZ2Hu5SAWmp8Up9FskE8ArCzs2q9fTg1tv_b6-B2-nwVIJ6LRSDZXpEyXVTjKyJENicvfeNlUxty1y1XZuJadIh7azVZmtgoAjKh3GjL5T6QUdBs_L_xuW-H8R4ZrIfu0chlckQwjk2KpnOts7G34hlQfAzRPlIYJ-Hko-m-1pUkOcnyDEQskwkq-mcz_oqIw" } } } }
2025-11-11 15:26:08,053 - INFO - ydb.connection - close: Closing channel for endpoint localhost:15066
2025-11-11 15:26:08,229 - 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-11 15:26:08,230 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Preparing initial endpoint to resolve endpoints
2025-11-11 15:26:08,231 - 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-11 15:26:08,252 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-11-11 15:26:08,253 - DEBUG - ydb.connection - _prepare_call: RpcState(ListEndpoints, a6eed929-65fa-421c-a306-9ec49f32d37e, localhost:15066): creating call state
2025-11-11 15:26:08,254 - DEBUG - ydb.connection - _log_request: RpcState(ListEndpoints, a6eed929-65fa-421c-a306-9ec49f32d37e, localhost:15066): request = { database: "/Root/test_user_administration" }
2025-11-11 15:26:08,261 - DEBUG - ydb.connection - _log_response: RpcState(ListEndpoints, a6eed929-65fa-421c-a306-9ec49f32d37e, localhost:15066): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-l3u76ogmey.auto.internal" port: 6748 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-11 15:26:08,261 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-l3u76ogmey.auto.internal:6748, location , ssl: False>]>
2025-11-11 15:26:08,261 - 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-11 15:26:08,272 - INFO - ydb.connection - close: Closing channel for endpoint localhost:15066
2025-11-11 15:26:08,276 - DEBUG - ydb.table.SessionPool - subscribe: Active session queue is empty, subscribe waiter for a session
2025-11-11 15:26:08,276 - DEBUG - ydb.table.SessionPool - subscribe: Subscribe waiter <Future at 0x7fb035fcc7e0 state=pending>
2025-11-11 15:26:08,276 - DEBUG - ydb.table.SessionPool - subscribe: Session pool is not large enough (active_count < size: 0 < 100). will create a new session.
2025-11-11 15:26:08,276 - DEBUG - ydb.table.SessionPool - _create: Created session <ydb.table.Session object at 0x7fb035fcd3c0>
2025-11-11 15:26:08,277 - DEBUG - ydb.table.SessionPool - _prepare: Preparing session <ydb.table.Session object at 0x7fb035fcd3c0>
2025-11-11 15:26:08,277 - DEBUG - ydb.connection - _prepare_call: RpcState(CreateSession, 266516d4-d3f4-42a5-aa45-21ef641ed5f1, ghrun-l3u76ogmey.auto.internal:6748): creating call state
2025-11-11 15:26:08,277 - DEBUG - ydb.connection - _log_request: RpcState(CreateSession, 266516d4-d3f4-42a5-aa45-21ef641ed5f1, ghrun-l3u76ogmey.auto.internal:6748): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-11-11 15:26:08,281 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, 266516d4-d3f4-42a5-aa45-21ef641ed5f1, ghrun-l3u76ogmey.auto.internal:6748): on response callback started
2025-11-11 15:26:08,282 - DEBUG - ydb.connection - _log_response: RpcState(CreateSession, 266516d4-d3f4-42a5-aa45-21ef641ed5f1, ghrun-l3u76ogmey.auto.internal:6748): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=YmJmZDIyNGYtMmEzYWU0ZGQtMTgxMmIzMWMtYmRlNmRmYTE=" } } } }
2025-11-11 15:26:08,282 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7fb035fcd3c0>
2025-11-11 15:26:08,283 - DEBUG - ydb.table.SessionPool - put: Replying to waiter with a session <ydb.table.Session object at 0x7fb035fcd3c0>
2025-11-11 15:26:08,283 - DEBUG - ydb.connection - _prepare_call: RpcState(ExecuteSchemeQuery, c0c388dd-778b-423b-aec9-7ba3e54eb288, ghrun-l3u76ogmey.auto.internal:6748): creating call state
2025-11-11 15:26:08,284 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, 266516d4-d3f4-42a5-aa45-21ef641ed5f1, ghrun-l3u76ogmey.auto.internal:6748): on response callback success
2025-11-11 15:26:08,284 - DEBUG - ydb.connection - _log_request: RpcState(ExecuteSchemeQuery, c0c388dd-778b-423b-aec9-7ba3e54eb288, ghrun-l3u76ogmey.auto.internal:6748): request = { session_id: "ydb://session/3?node_id=50000&id=YmJmZDIyNGYtMmEzYWU0ZGQtMTgxMmIzMWMtYmRlNmRmYTE=" yql_text: "alter group dbadmins add user ordinaryuser" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-11-11 15:26:08,292 - DEBUG - ydb.connection - _log_response: RpcState(ExecuteSchemeQuery, c0c388dd-778b-423b-aec9-7ba3e54eb288, ghrun-l3u76ogmey.auto.internal:6748): 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-11 15:26:08,293 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7fb035fcd3c0>
2025-11-11 15:26:08,293 - DEBUG - ydb.topic - close: Close topic client
2025-11-11 15:26:08,293 - DEBUG - ydb.topic - close: Topic client was closed
2025-11-11 15:26:08,293 - INFO - ydb.connection - close: Closing channel for endpoint localhost:15066
2025-11-11 15:26:08,456 - INFO - ydb.connection - close: Closing channel for endpoint ghrun-l3u76ogmey.auto.internal:6748
2025-11-11 15:26:08,474 - INFO - ydb.pool.Discovery - run: Successfully terminated discovery process
2025-11-11 15:26:08,476 - INFO - ya.test - pytest_runtest_teardown: Test teardown
