2025-12-12 16:05:47,752 - INFO - ya.test.1467508  - pytest_runtest_setup: ####################################################################################################
2025-12-12 16:05:47,753 - INFO - ya.test.1467508  - pytest_runtest_setup: test_database_admin_cant_change_database_admin_group[add-user]
2025-12-12 16:05:47,753 - INFO - ya.test.1467508  - pytest_runtest_setup: ####################################################################################################
2025-12-12 16:05:47,753 - INFO - ya.test.1467508  - pytest_runtest_setup: Test setup
2025-12-12 16:05:47,754 - INFO - ya.test.1467508  - pytest_runtest_call: Test call (class_name: test_user_administration.py, test_name: test_database_admin_cant_change_database_admin_group[add-user])
2025-12-12 16:05:47,754 - DEBUG - ydb.connection.1467508  - 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-12 16:05:47,760 - DEBUG - ydb.connection.1467508  - _prepare_call: RpcState(Login, bc613e62-1982-47eb-9b44-a03744578686, localhost:2168): creating call state
2025-12-12 16:05:47,761 - DEBUG - ydb.connection.1467508  - _log_request: RpcState(Login, bc613e62-1982-47eb-9b44-a03744578686, localhost:2168): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-12-12 16:05:47,769 - DEBUG - ydb.connection.1467508  - _log_response: RpcState(Login, bc613e62-1982-47eb-9b44-a03744578686, localhost:2168): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzY1NTk4NzQ3LCJpYXQiOjE3NjU1NTU1NDcsInN1YiI6ImRiYWRtaW4ifQ.OZHPsMgvDKtgBvNyr7caBNFo4uA8g9OH2aG45iUiMIoLFumpISefaCKFCkI_lRTEDII18UEBMtJVAYvEhNYkN9K82HcFf2CC_3wQhO4UIy8kP_Bm6Tm-xpFoQlUI8sZ3tCCvGxzQ1nKrE0Tpf2Jg25wS6w-zE6V-xlxdBvb8a90YPB-ZAT5jkW0juh0ysdyG2j3uwEPcgh4TtauW5ZrdrlSwM2iVPe4qkjG0mxR33bK6Tvvg9VVoMxuylKw5wlZHxByTLaueVrxvofjdcE94SPAW343PIkHX8vqVdOhrhb488GdR-YyYG-VRD5mFyTH2BMVMDLgK8w9miBjKx-auaQ" } } } }
2025-12-12 16:05:47,769 - DEBUG - ydb.connection.1467508  - close: Closing channel for endpoint localhost:2168
2025-12-12 16:05:47,963 - DEBUG - ydb.connection.1467508  - 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-12 16:05:47,965 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.1467508  - context_resolve: Preparing initial endpoint to resolve endpoints
2025-12-12 16:05:47,968 - DEBUG - ydb.connection.1467508  - 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-12 16:05:47,975 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.1467508  - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-12-12 16:05:47,976 - DEBUG - ydb.connection.1467508  - _prepare_call: RpcState(ListEndpoints, c15e2fc3-1e3d-424b-81e4-cb9287a9cd1a, localhost:2168): creating call state
2025-12-12 16:05:47,976 - DEBUG - ydb.connection.1467508  - _log_request: RpcState(ListEndpoints, c15e2fc3-1e3d-424b-81e4-cb9287a9cd1a, localhost:2168): request = { database: "/Root/test_user_administration" }
2025-12-12 16:05:47,979 - DEBUG - ydb.connection.1467508  - _log_response: RpcState(ListEndpoints, c15e2fc3-1e3d-424b-81e4-cb9287a9cd1a, localhost:2168): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-jumawwbfgm.auto.internal" port: 8760 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-12 16:05:47,979 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.1467508  - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-jumawwbfgm.auto.internal:8760, location , ssl: False>]>
2025-12-12 16:05:47,980 - DEBUG - ydb.connection.1467508  - 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-12 16:05:47,987 - DEBUG - ydb.connection.1467508  - close: Closing channel for endpoint localhost:2168
2025-12-12 16:05:47,988 - DEBUG - ydb.table.SessionPool.1467508  - subscribe: Active session queue is empty, subscribe waiter for a session
2025-12-12 16:05:47,989 - DEBUG - ydb.table.SessionPool.1467508  - subscribe: Subscribe waiter <Future at 0x7f88ba59c4c0 state=pending>
2025-12-12 16:05:47,989 - DEBUG - ydb.table.SessionPool.1467508  - subscribe: Session pool is not large enough (active_count < size: 0 < 100). will create a new session.
2025-12-12 16:05:47,989 - DEBUG - ydb.table.SessionPool.1467508  - _create: Created session <ydb.table.Session object at 0x7f88ba59d0f0>
2025-12-12 16:05:47,989 - DEBUG - ydb.table.SessionPool.1467508  - _prepare: Preparing session <ydb.table.Session object at 0x7f88ba59d0f0>
2025-12-12 16:05:47,990 - DEBUG - ydb.connection.1467508  - _prepare_call: RpcState(CreateSession, 82817647-7b76-41ab-84e4-ca1dd0af7635, ghrun-jumawwbfgm.auto.internal:8760): creating call state
2025-12-12 16:05:47,990 - DEBUG - ydb.connection.1467508  - _log_request: RpcState(CreateSession, 82817647-7b76-41ab-84e4-ca1dd0af7635, ghrun-jumawwbfgm.auto.internal:8760): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-12-12 16:05:47,993 - DEBUG - ydb.connection.1467508  - _on_response_callback: RpcState(CreateSession, 82817647-7b76-41ab-84e4-ca1dd0af7635, ghrun-jumawwbfgm.auto.internal:8760): on response callback started
2025-12-12 16:05:48,019 - DEBUG - ydb.connection.1467508  - _log_response: RpcState(CreateSession, 82817647-7b76-41ab-84e4-ca1dd0af7635, ghrun-jumawwbfgm.auto.internal:8760): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=MTQwYmYzODEtNTZmZTkxYjctYmU0M2ZmZjItNmZlNjNmOTY=" } } } }
2025-12-12 16:05:48,020 - DEBUG - ydb.table.SessionPool.1467508  - put: Put on session <ydb.table.Session object at 0x7f88ba59d0f0>
2025-12-12 16:05:48,020 - DEBUG - ydb.table.SessionPool.1467508  - put: Replying to waiter with a session <ydb.table.Session object at 0x7f88ba59d0f0>
2025-12-12 16:05:48,021 - DEBUG - ydb.connection.1467508  - _prepare_call: RpcState(ExecuteSchemeQuery, 40f45156-7f1e-416c-b298-d9ca2fc1dae2, ghrun-jumawwbfgm.auto.internal:8760): creating call state
2025-12-12 16:05:48,021 - DEBUG - ydb.connection.1467508  - _on_response_callback: RpcState(CreateSession, 82817647-7b76-41ab-84e4-ca1dd0af7635, ghrun-jumawwbfgm.auto.internal:8760): on response callback success
2025-12-12 16:05:48,021 - DEBUG - ydb.connection.1467508  - _log_request: RpcState(ExecuteSchemeQuery, 40f45156-7f1e-416c-b298-d9ca2fc1dae2, ghrun-jumawwbfgm.auto.internal:8760): request = { session_id: "ydb://session/3?node_id=50000&id=MTQwYmYzODEtNTZmZTkxYjctYmU0M2ZmZjItNmZlNjNmOTY=" yql_text: "alter group dbadmins add user ordinaryuser" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-12-12 16:05:48,029 - DEBUG - ydb.connection.1467508  - _log_response: RpcState(ExecuteSchemeQuery, 40f45156-7f1e-416c-b298-d9ca2fc1dae2, ghrun-jumawwbfgm.auto.internal:8760): 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-12 16:05:48,030 - DEBUG - ydb.table.SessionPool.1467508  - put: Put on session <ydb.table.Session object at 0x7f88ba59d0f0>
2025-12-12 16:05:48,030 - DEBUG - ydb.topic.1467508  - close: Close topic client
2025-12-12 16:05:48,030 - DEBUG - ydb.topic.1467508  - close: Topic client was closed
2025-12-12 16:05:48,030 - DEBUG - ydb.connection.1467508  - close: Closing channel for endpoint localhost:2168
2025-12-12 16:05:48,178 - DEBUG - ydb.connection.1467508  - close: Closing channel for endpoint ghrun-jumawwbfgm.auto.internal:8760
2025-12-12 16:05:48,190 - INFO - ydb.pool.Discovery.1467508  - run: Successfully terminated discovery process
2025-12-12 16:05:48,196 - INFO - ya.test.1467508  - pytest_runtest_teardown: Test teardown
