2025-12-09 13:35:52,096 - INFO - ya.test.3104966  - pytest_runtest_setup: ####################################################################################################
2025-12-09 13:35:52,096 - INFO - ya.test.3104966  - pytest_runtest_setup: test_database_admin_cant_change_database_admin_group[remove-himself]
2025-12-09 13:35:52,096 - INFO - ya.test.3104966  - pytest_runtest_setup: ####################################################################################################
2025-12-09 13:35:52,096 - INFO - ya.test.3104966  - pytest_runtest_setup: Test setup
2025-12-09 13:35:52,107 - INFO - ya.test.3104966  - pytest_runtest_call: Test call (class_name: test_user_administration.py, test_name: test_database_admin_cant_change_database_admin_group[remove-himself])
2025-12-09 13:35:52,107 - DEBUG - ydb.connection.3104966  - 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-09 13:35:52,113 - DEBUG - ydb.connection.3104966  - _prepare_call: RpcState(Login, 4b002314-4db4-45c8-9835-df2a56f3b168, localhost:8031): creating call state
2025-12-09 13:35:52,119 - DEBUG - ydb.connection.3104966  - _log_request: RpcState(Login, 4b002314-4db4-45c8-9835-df2a56f3b168, localhost:8031): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-12-09 13:35:52,127 - DEBUG - ydb.connection.3104966  - _log_response: RpcState(Login, 4b002314-4db4-45c8-9835-df2a56f3b168, localhost:8031): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzY1MzMwNTUyLCJpYXQiOjE3NjUyODczNTIsInN1YiI6ImRiYWRtaW4ifQ.LxORlt2N83a7ufh49aYjDTjS_B6h1oQZ06G7MKCl497MA_ti-V9f0zmG_6JT-b3kLAK-e-umvBBge_Fz7w3WAYY4errgOX16jG4Jq-46CKCxoHEqO02U7qrhyyYPqfTsRieMc6A1zmos1ML8KAc5Dv2zJCXRJcANIYGX2HNr0jh0Or_bbXE2kx6ZNte9KvIrN4xVIAOWFVNEeCSgX2PETwVLV94ShqquysVo6GZQ0FeLTM6rFUR4A97pmvTlmiDoo7wvMAkVbLKz2MraV3JDz3qJaADJA320tMrC_rVwi7oluvVR4FKiJR5LJ9fa0UxoGuh51IZJsEItu9dEBNYbpQ" } } } }
2025-12-09 13:35:52,128 - DEBUG - ydb.connection.3104966  - close: Closing channel for endpoint localhost:8031
2025-12-09 13:35:52,319 - DEBUG - ydb.connection.3104966  - 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-09 13:35:52,326 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.3104966  - context_resolve: Preparing initial endpoint to resolve endpoints
2025-12-09 13:35:52,327 - DEBUG - ydb.connection.3104966  - 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-09 13:35:52,343 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.3104966  - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-12-09 13:35:52,344 - DEBUG - ydb.connection.3104966  - _prepare_call: RpcState(ListEndpoints, efdac1e6-fdf6-4980-a11d-34cabcc84c9f, localhost:8031): creating call state
2025-12-09 13:35:52,345 - DEBUG - ydb.connection.3104966  - _log_request: RpcState(ListEndpoints, efdac1e6-fdf6-4980-a11d-34cabcc84c9f, localhost:8031): request = { database: "/Root/test_user_administration" }
2025-12-09 13:35:52,347 - DEBUG - ydb.connection.3104966  - _log_response: RpcState(ListEndpoints, efdac1e6-fdf6-4980-a11d-34cabcc84c9f, localhost:8031): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-kvxh57fnmu.auto.internal" port: 31440 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-09 13:35:52,348 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.3104966  - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-kvxh57fnmu.auto.internal:31440, location , ssl: False>]>
2025-12-09 13:35:52,349 - DEBUG - ydb.connection.3104966  - 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-09 13:35:52,362 - DEBUG - ydb.connection.3104966  - close: Closing channel for endpoint localhost:8031
2025-12-09 13:35:52,363 - DEBUG - ydb.table.SessionPool.3104966  - subscribe: Active session queue is empty, subscribe waiter for a session
2025-12-09 13:35:52,364 - DEBUG - ydb.table.SessionPool.3104966  - subscribe: Subscribe waiter <Future at 0x7f843782cf10 state=pending>
2025-12-09 13:35:52,364 - DEBUG - ydb.table.SessionPool.3104966  - subscribe: Session pool is not large enough (active_count < size: 0 < 100). will create a new session.
2025-12-09 13:35:52,364 - DEBUG - ydb.table.SessionPool.3104966  - _create: Created session <ydb.table.Session object at 0x7f843782d410>
2025-12-09 13:35:52,364 - DEBUG - ydb.table.SessionPool.3104966  - _prepare: Preparing session <ydb.table.Session object at 0x7f843782d410>
2025-12-09 13:35:52,365 - DEBUG - ydb.connection.3104966  - _prepare_call: RpcState(CreateSession, 90294ce1-2f04-4629-81f8-a97c4153a52b, ghrun-kvxh57fnmu.auto.internal:31440): creating call state
2025-12-09 13:35:52,365 - DEBUG - ydb.connection.3104966  - _log_request: RpcState(CreateSession, 90294ce1-2f04-4629-81f8-a97c4153a52b, ghrun-kvxh57fnmu.auto.internal:31440): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-12-09 13:35:52,371 - DEBUG - ydb.connection.3104966  - _on_response_callback: RpcState(CreateSession, 90294ce1-2f04-4629-81f8-a97c4153a52b, ghrun-kvxh57fnmu.auto.internal:31440): on response callback started
2025-12-09 13:35:52,372 - DEBUG - ydb.connection.3104966  - _log_response: RpcState(CreateSession, 90294ce1-2f04-4629-81f8-a97c4153a52b, ghrun-kvxh57fnmu.auto.internal:31440): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=OTRhYmNiMzMtZTQyNDRjZC00MDRlNTMwZC00MTdlZmIwMQ==" } } } }
2025-12-09 13:35:52,372 - DEBUG - ydb.table.SessionPool.3104966  - put: Put on session <ydb.table.Session object at 0x7f843782d410>
2025-12-09 13:35:52,372 - DEBUG - ydb.table.SessionPool.3104966  - put: Replying to waiter with a session <ydb.table.Session object at 0x7f843782d410>
2025-12-09 13:35:52,372 - DEBUG - ydb.connection.3104966  - _on_response_callback: RpcState(CreateSession, 90294ce1-2f04-4629-81f8-a97c4153a52b, ghrun-kvxh57fnmu.auto.internal:31440): on response callback success
2025-12-09 13:35:52,373 - DEBUG - ydb.connection.3104966  - _prepare_call: RpcState(ExecuteSchemeQuery, 04e073b6-a12f-4df0-9c37-d14df32debcd, ghrun-kvxh57fnmu.auto.internal:31440): creating call state
2025-12-09 13:35:52,374 - DEBUG - ydb.connection.3104966  - _log_request: RpcState(ExecuteSchemeQuery, 04e073b6-a12f-4df0-9c37-d14df32debcd, ghrun-kvxh57fnmu.auto.internal:31440): request = { session_id: "ydb://session/3?node_id=50000&id=OTRhYmNiMzMtZTQyNDRjZC00MDRlNTMwZC00MTdlZmIwMQ==" yql_text: "alter group dbadmins drop user dbadmin" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-12-09 13:35:52,386 - DEBUG - ydb.connection.3104966  - _log_response: RpcState(ExecuteSchemeQuery, 04e073b6-a12f-4df0-9c37-d14df32debcd, ghrun-kvxh57fnmu.auto.internal:31440): 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-09 13:35:52,387 - DEBUG - ydb.table.SessionPool.3104966  - put: Put on session <ydb.table.Session object at 0x7f843782d410>
2025-12-09 13:35:52,388 - DEBUG - ydb.topic.3104966  - close: Close topic client
2025-12-09 13:35:52,388 - DEBUG - ydb.topic.3104966  - close: Topic client was closed
2025-12-09 13:35:52,388 - DEBUG - ydb.connection.3104966  - close: Closing channel for endpoint localhost:8031
2025-12-09 13:35:52,546 - DEBUG - ydb.connection.3104966  - close: Closing channel for endpoint ghrun-kvxh57fnmu.auto.internal:31440
2025-12-09 13:35:52,565 - INFO - ydb.pool.Discovery.3104966  - run: Successfully terminated discovery process
2025-12-09 13:35:52,567 - INFO - ya.test.3104966  - pytest_runtest_teardown: Test teardown
2025-12-09 13:35:52,569 - DEBUG - ydb.tests.library.fixtures.3104966  - ydb_database_ctx: destroy database /Root/test_user_administration: remove path and dismantle internals
2025-12-09 13:35:52,569 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.3104966  - remove_database: /Root/test_user_administration
2025-12-09 13:35:52,570 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.3104966  - _remove_database_send_op: /Root/test_user_administration: send console operation, token root@builtin
2025-12-09 13:35:52,575 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.3104966  - _remove_database_send_op: /Root/test_user_administration: response from console: RemoveTenantResponse {
  Response {
    operation {
      id: "ydb://cmsrequest/5?tenant=/Root/test_user_administration&cmstid=72057594037936131&txid=1765287352572684&action=2"
    }
  }
}
Status {
  Code: STATUS_CODE_UNSPECIFIED
}

2025-12-09 13:35:52,575 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.3104966  - _remove_database_wait_op: /Root/test_user_administration: wait console operation done
2025-12-09 13:35:53,078 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.3104966  - _remove_database_wait_op: /Root/test_user_administration: console operation done
2025-12-09 13:35:53,079 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.3104966  - _remove_database_wait_tenant_gone: /Root/test_user_administration: wait tenant gone
2025-12-09 13:35:53,082 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.3104966  - _remove_database_wait_tenant_gone: /Root/test_user_administration: tenant gone
2025-12-09 13:35:53,082 - DEBUG - ydb.tests.library.fixtures.3104966  - ydb_database_ctx: destroy database /Root/test_user_administration: stop nodes
2025-12-09 13:36:05,083 - INFO - ydb.tests.library.harness.kikimr_runner.3104966  - stop: Stopped node localhost:31440/1
2025-12-09 13:36:05,084 - DEBUG - ydb.tests.library.fixtures.3104966  - ydb_database_ctx: destroy database /Root/test_user_administration: database down
2025-12-09 13:36:05,085 - INFO - ydb.tests.library.fixtures.3104966  - ydb_cluster: destroy ydb_cluster for __tests__.test_user_administration
2025-12-09 13:36:22,087 - INFO - ydb.tests.library.harness.kikimr_runner.3104966  - stop: Stopped node localhost:8031/1
2025-12-09 13:36:22,088 - DEBUG - library.python.filelock.3104966  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/19582
2025-12-09 13:36:22,089 - DEBUG - library.python.filelock.3104966  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/1517
2025-12-09 13:36:22,089 - DEBUG - library.python.filelock.3104966  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/4232
2025-12-09 13:36:22,089 - DEBUG - library.python.filelock.3104966  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/62211
2025-12-09 13:36:22,090 - DEBUG - library.python.filelock.3104966  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/31440
2025-12-09 13:36:22,090 - DEBUG - library.python.filelock.3104966  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/27238
2025-12-09 13:36:22,090 - DEBUG - library.python.filelock.3104966  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/10303
2025-12-09 13:36:22,090 - DEBUG - library.python.filelock.3104966  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/3774
2025-12-09 13:36:22,090 - DEBUG - library.python.filelock.3104966  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/8031
2025-12-09 13:36:22,090 - DEBUG - library.python.filelock.3104966  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/32181
