2025-12-06 21:40:18,309 - INFO - ya.test.2713128  - pytest_runtest_setup: ####################################################################################################
2025-12-06 21:40:18,309 - INFO - ya.test.2713128  - pytest_runtest_setup: test_database_admin_cant_change_database_admin_group[add-user]
2025-12-06 21:40:18,309 - INFO - ya.test.2713128  - pytest_runtest_setup: ####################################################################################################
2025-12-06 21:40:18,309 - INFO - ya.test.2713128  - pytest_runtest_setup: Test setup
2025-12-06 21:40:18,311 - INFO - ya.test.2713128  - 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-06 21:40:18,312 - DEBUG - ydb.connection.2713128  - 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-06 21:40:18,317 - DEBUG - ydb.connection.2713128  - _prepare_call: RpcState(Login, 0a3d4841-c03c-4fcf-9ff0-5ed5b7c03287, localhost:11848): creating call state
2025-12-06 21:40:18,318 - DEBUG - ydb.connection.2713128  - _log_request: RpcState(Login, 0a3d4841-c03c-4fcf-9ff0-5ed5b7c03287, localhost:11848): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-12-06 21:40:18,326 - DEBUG - ydb.connection.2713128  - _log_response: RpcState(Login, 0a3d4841-c03c-4fcf-9ff0-5ed5b7c03287, localhost:11848): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzY1MTAwNDE4LCJpYXQiOjE3NjUwNTcyMTgsInN1YiI6ImRiYWRtaW4ifQ.BSlQZBJ5uhPgYKedsytDr6EGi9N1qQZ0Ne0oGs9Vb_9fCN-sXJNAv5tXnaBKQc9TF5HFpE0sAOOm4AYD54gJ8NRPGPlOvAJ0WDDxzMEIpccvb024l5LD5JySafRqyFPcu0bdlV6WvtUJn4wq92oWtRpqZxLQPTC2xzQD4uWBWg6fKpIgw4ZXWRZmG8IIMtQhE5Hpnk6nyX3yluqD3A_cN_lIqZCHB-g-ufimmcqqEInxuIU85Uvynv2eNtZ21N6hWYjRjyxCaBjgBFjnT4FlEz5_2zSgHQFR57ayvbFKPAmR0tsnJ5NdUg84J3lhgSxN_HAh7K_-MPs9nFfO1dLX9A" } } } }
2025-12-06 21:40:18,326 - DEBUG - ydb.connection.2713128  - close: Closing channel for endpoint localhost:11848
2025-12-06 21:40:18,520 - DEBUG - ydb.connection.2713128  - 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-06 21:40:18,522 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.2713128  - context_resolve: Preparing initial endpoint to resolve endpoints
2025-12-06 21:40:18,523 - DEBUG - ydb.connection.2713128  - 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-06 21:40:18,529 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.2713128  - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-12-06 21:40:18,530 - DEBUG - ydb.connection.2713128  - _prepare_call: RpcState(ListEndpoints, 756e7314-03b9-4d18-90d9-6dad820efa42, localhost:11848): creating call state
2025-12-06 21:40:18,530 - DEBUG - ydb.connection.2713128  - _log_request: RpcState(ListEndpoints, 756e7314-03b9-4d18-90d9-6dad820efa42, localhost:11848): request = { database: "/Root/test_user_administration" }
2025-12-06 21:40:18,536 - DEBUG - ydb.connection.2713128  - _log_response: RpcState(ListEndpoints, 756e7314-03b9-4d18-90d9-6dad820efa42, localhost:11848): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-dupkxn5aaq.auto.internal" port: 27252 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-06 21:40:18,545 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.2713128  - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-dupkxn5aaq.auto.internal:27252, location , ssl: False>]>
2025-12-06 21:40:18,545 - DEBUG - ydb.connection.2713128  - 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-06 21:40:18,554 - DEBUG - ydb.connection.2713128  - close: Closing channel for endpoint localhost:11848
2025-12-06 21:40:18,555 - DEBUG - ydb.table.SessionPool.2713128  - subscribe: Active session queue is empty, subscribe waiter for a session
2025-12-06 21:40:18,556 - DEBUG - ydb.table.SessionPool.2713128  - subscribe: Subscribe waiter <Future at 0x7f04c72fe270 state=pending>
2025-12-06 21:40:18,556 - DEBUG - ydb.table.SessionPool.2713128  - subscribe: Session pool is not large enough (active_count < size: 0 < 100). will create a new session.
2025-12-06 21:40:18,556 - DEBUG - ydb.table.SessionPool.2713128  - _create: Created session <ydb.table.Session object at 0x7f04c72fe180>
2025-12-06 21:40:18,556 - DEBUG - ydb.table.SessionPool.2713128  - _prepare: Preparing session <ydb.table.Session object at 0x7f04c72fe180>
2025-12-06 21:40:18,557 - DEBUG - ydb.connection.2713128  - _prepare_call: RpcState(CreateSession, 7e1b23e7-1537-4155-82b4-80ef80624103, ghrun-dupkxn5aaq.auto.internal:27252): creating call state
2025-12-06 21:40:18,557 - DEBUG - ydb.connection.2713128  - _log_request: RpcState(CreateSession, 7e1b23e7-1537-4155-82b4-80ef80624103, ghrun-dupkxn5aaq.auto.internal:27252): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-12-06 21:40:18,560 - DEBUG - ydb.connection.2713128  - _on_response_callback: RpcState(CreateSession, 7e1b23e7-1537-4155-82b4-80ef80624103, ghrun-dupkxn5aaq.auto.internal:27252): on response callback started
2025-12-06 21:40:18,561 - DEBUG - ydb.connection.2713128  - _log_response: RpcState(CreateSession, 7e1b23e7-1537-4155-82b4-80ef80624103, ghrun-dupkxn5aaq.auto.internal:27252): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=OTYzZjdmYWYtODQ2NTM5M2YtN2YxMDNiM2MtY2M4NmY1Zg==" } } } }
2025-12-06 21:40:18,561 - DEBUG - ydb.table.SessionPool.2713128  - put: Put on session <ydb.table.Session object at 0x7f04c72fe180>
2025-12-06 21:40:18,562 - DEBUG - ydb.table.SessionPool.2713128  - put: Replying to waiter with a session <ydb.table.Session object at 0x7f04c72fe180>
2025-12-06 21:40:18,563 - DEBUG - ydb.connection.2713128  - _on_response_callback: RpcState(CreateSession, 7e1b23e7-1537-4155-82b4-80ef80624103, ghrun-dupkxn5aaq.auto.internal:27252): on response callback success
2025-12-06 21:40:18,562 - DEBUG - ydb.connection.2713128  - _prepare_call: RpcState(ExecuteSchemeQuery, 34875dc9-7e6e-4c19-86ff-d7e53c1f4752, ghrun-dupkxn5aaq.auto.internal:27252): creating call state
2025-12-06 21:40:18,564 - DEBUG - ydb.connection.2713128  - _log_request: RpcState(ExecuteSchemeQuery, 34875dc9-7e6e-4c19-86ff-d7e53c1f4752, ghrun-dupkxn5aaq.auto.internal:27252): request = { session_id: "ydb://session/3?node_id=50000&id=OTYzZjdmYWYtODQ2NTM5M2YtN2YxMDNiM2MtY2M4NmY1Zg==" yql_text: "alter group dbadmins add user ordinaryuser" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-12-06 21:40:18,571 - DEBUG - ydb.connection.2713128  - _log_response: RpcState(ExecuteSchemeQuery, 34875dc9-7e6e-4c19-86ff-d7e53c1f4752, ghrun-dupkxn5aaq.auto.internal:27252): 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-06 21:40:18,572 - DEBUG - ydb.table.SessionPool.2713128  - put: Put on session <ydb.table.Session object at 0x7f04c72fe180>
2025-12-06 21:40:18,572 - DEBUG - ydb.topic.2713128  - close: Close topic client
2025-12-06 21:40:18,572 - DEBUG - ydb.topic.2713128  - close: Topic client was closed
2025-12-06 21:40:18,573 - DEBUG - ydb.connection.2713128  - close: Closing channel for endpoint localhost:11848
2025-12-06 21:40:18,732 - DEBUG - ydb.connection.2713128  - close: Closing channel for endpoint ghrun-dupkxn5aaq.auto.internal:27252
2025-12-06 21:40:18,757 - INFO - ydb.pool.Discovery.2713128  - run: Successfully terminated discovery process
2025-12-06 21:40:18,759 - INFO - ya.test.2713128  - pytest_runtest_teardown: Test teardown
