2025-11-21 14:09:03,038 - INFO - ya.test.3154124  - pytest_runtest_setup: ####################################################################################################
2025-11-21 14:09:03,038 - INFO - ya.test.3154124  - pytest_runtest_setup: test_database_admin_cant_change_database_admin_group[add-user]
2025-11-21 14:09:03,038 - INFO - ya.test.3154124  - pytest_runtest_setup: ####################################################################################################
2025-11-21 14:09:03,038 - INFO - ya.test.3154124  - pytest_runtest_setup: Test setup
2025-11-21 14:09:03,040 - INFO - ya.test.3154124  - 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-21 14:09:03,040 - DEBUG - ydb.connection.3154124  - 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-21 14:09:03,044 - DEBUG - ydb.connection.3154124  - _prepare_call: RpcState(Login, c7e40972-8f57-41b2-971c-c13a49e39831, localhost:20069): creating call state
2025-11-21 14:09:03,045 - DEBUG - ydb.connection.3154124  - _log_request: RpcState(Login, c7e40972-8f57-41b2-971c-c13a49e39831, localhost:20069): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-11-21 14:09:03,051 - DEBUG - ydb.connection.3154124  - _log_response: RpcState(Login, c7e40972-8f57-41b2-971c-c13a49e39831, localhost:20069): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzYzNzc3MzQzLCJpYXQiOjE3NjM3MzQxNDMsInN1YiI6ImRiYWRtaW4ifQ.zS9vfr7Gn_thUUPd7XAXGst2j_RnW5teohrLk1X36JRlZFzACTQlnuIlG8HZvbOFEXKtMvxd37lWRBcxkSf7pzWWzwVUQw9RzxGTZq1bGtCq_Eb1vpgHAsxaH5JglYHewCFQk2o_ELChq0D-xkmXTfrXqsy1QEmk5GSY1Qp2JfNAscgv7OL1lVeZe8vLK9NNuXRMXKGX3DbVWsyNoi6P9wkASHv-7o5mmulxiQkIxfhJeaohgpzUW-ek-GGbHzQb3wwWplLISb-PhOGTOj0Quw7GWa2e5GqRINbWWdGJnjbrHow1Er3Uqmk_Oork6OLFaJlI3uYdmhOurGxfJZktcA" } } } }
2025-11-21 14:09:03,051 - DEBUG - ydb.connection.3154124  - close: Closing channel for endpoint localhost:20069
2025-11-21 14:09:03,248 - DEBUG - ydb.connection.3154124  - 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-21 14:09:03,249 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.3154124  - context_resolve: Preparing initial endpoint to resolve endpoints
2025-11-21 14:09:03,250 - DEBUG - ydb.connection.3154124  - 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-21 14:09:03,254 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.3154124  - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-11-21 14:09:03,254 - DEBUG - ydb.connection.3154124  - _prepare_call: RpcState(ListEndpoints, 6cfdcfba-491d-4724-a03d-b969971ef46e, localhost:20069): creating call state
2025-11-21 14:09:03,254 - DEBUG - ydb.connection.3154124  - _log_request: RpcState(ListEndpoints, 6cfdcfba-491d-4724-a03d-b969971ef46e, localhost:20069): request = { database: "/Root/test_user_administration" }
2025-11-21 14:09:03,257 - DEBUG - ydb.connection.3154124  - _log_response: RpcState(ListEndpoints, 6cfdcfba-491d-4724-a03d-b969971ef46e, localhost:20069): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-hd5senkm3y.auto.internal" port: 22212 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-21 14:09:03,257 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.3154124  - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-hd5senkm3y.auto.internal:22212, location , ssl: False>]>
2025-11-21 14:09:03,257 - DEBUG - ydb.connection.3154124  - 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-21 14:09:03,263 - DEBUG - ydb.connection.3154124  - close: Closing channel for endpoint localhost:20069
2025-11-21 14:09:03,264 - DEBUG - ydb.table.SessionPool.3154124  - subscribe: Active session queue is empty, subscribe waiter for a session
2025-11-21 14:09:03,264 - DEBUG - ydb.table.SessionPool.3154124  - subscribe: Subscribe waiter <Future at 0x7f1fd798d7d0 state=pending>
2025-11-21 14:09:03,264 - DEBUG - ydb.table.SessionPool.3154124  - subscribe: Session pool is not large enough (active_count < size: 0 < 100). will create a new session.
2025-11-21 14:09:03,264 - DEBUG - ydb.table.SessionPool.3154124  - _create: Created session <ydb.table.Session object at 0x7f1fd798e130>
2025-11-21 14:09:03,264 - DEBUG - ydb.table.SessionPool.3154124  - _prepare: Preparing session <ydb.table.Session object at 0x7f1fd798e130>
2025-11-21 14:09:03,265 - DEBUG - ydb.connection.3154124  - _prepare_call: RpcState(CreateSession, 8c5dc0bf-396b-496e-a275-3f287c8293ed, ghrun-hd5senkm3y.auto.internal:22212): creating call state
2025-11-21 14:09:03,265 - DEBUG - ydb.connection.3154124  - _log_request: RpcState(CreateSession, 8c5dc0bf-396b-496e-a275-3f287c8293ed, ghrun-hd5senkm3y.auto.internal:22212): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-11-21 14:09:03,267 - DEBUG - ydb.connection.3154124  - _on_response_callback: RpcState(CreateSession, 8c5dc0bf-396b-496e-a275-3f287c8293ed, ghrun-hd5senkm3y.auto.internal:22212): on response callback started
2025-11-21 14:09:03,268 - DEBUG - ydb.connection.3154124  - _log_response: RpcState(CreateSession, 8c5dc0bf-396b-496e-a275-3f287c8293ed, ghrun-hd5senkm3y.auto.internal:22212): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=Y2RhYmY1NzctNTg5NmRhNjktNjA1ZDE0YzAtMmQ3MDQzNDU=" } } } }
2025-11-21 14:09:03,268 - DEBUG - ydb.table.SessionPool.3154124  - put: Put on session <ydb.table.Session object at 0x7f1fd798e130>
2025-11-21 14:09:03,268 - DEBUG - ydb.table.SessionPool.3154124  - put: Replying to waiter with a session <ydb.table.Session object at 0x7f1fd798e130>
2025-11-21 14:09:03,268 - DEBUG - ydb.connection.3154124  - _on_response_callback: RpcState(CreateSession, 8c5dc0bf-396b-496e-a275-3f287c8293ed, ghrun-hd5senkm3y.auto.internal:22212): on response callback success
2025-11-21 14:09:03,269 - DEBUG - ydb.connection.3154124  - _prepare_call: RpcState(ExecuteSchemeQuery, 0c2cb72e-d272-479c-8cbc-c9dc98d538a0, ghrun-hd5senkm3y.auto.internal:22212): creating call state
2025-11-21 14:09:03,269 - DEBUG - ydb.connection.3154124  - _log_request: RpcState(ExecuteSchemeQuery, 0c2cb72e-d272-479c-8cbc-c9dc98d538a0, ghrun-hd5senkm3y.auto.internal:22212): request = { session_id: "ydb://session/3?node_id=50000&id=Y2RhYmY1NzctNTg5NmRhNjktNjA1ZDE0YzAtMmQ3MDQzNDU=" yql_text: "alter group dbadmins add user ordinaryuser" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-11-21 14:09:03,276 - DEBUG - ydb.connection.3154124  - _log_response: RpcState(ExecuteSchemeQuery, 0c2cb72e-d272-479c-8cbc-c9dc98d538a0, ghrun-hd5senkm3y.auto.internal:22212): 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-21 14:09:03,277 - DEBUG - ydb.table.SessionPool.3154124  - put: Put on session <ydb.table.Session object at 0x7f1fd798e130>
2025-11-21 14:09:03,278 - DEBUG - ydb.topic.3154124  - close: Close topic client
2025-11-21 14:09:03,278 - DEBUG - ydb.topic.3154124  - close: Topic client was closed
2025-11-21 14:09:03,278 - DEBUG - ydb.connection.3154124  - close: Closing channel for endpoint localhost:20069
2025-11-21 14:09:03,457 - DEBUG - ydb.connection.3154124  - close: Closing channel for endpoint ghrun-hd5senkm3y.auto.internal:22212
2025-11-21 14:09:03,465 - INFO - ydb.pool.Discovery.3154124  - run: Successfully terminated discovery process
2025-11-21 14:09:03,467 - INFO - ya.test.3154124  - pytest_runtest_teardown: Test teardown
