2025-11-21 14:09:03,903 - INFO - ya.test.3154124  - pytest_runtest_setup: ####################################################################################################
2025-11-21 14:09:03,903 - INFO - ya.test.3154124  - pytest_runtest_setup: test_database_admin_cant_change_database_admin_group[remove-himself]
2025-11-21 14:09:03,904 - INFO - ya.test.3154124  - pytest_runtest_setup: ####################################################################################################
2025-11-21 14:09:03,904 - INFO - ya.test.3154124  - pytest_runtest_setup: Test setup
2025-11-21 14:09:03,905 - 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[remove-himself])
2025-11-21 14:09:03,906 - 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,910 - DEBUG - ydb.connection.3154124  - _prepare_call: RpcState(Login, 0af02766-f26f-4771-a15e-bac1ea161a11, localhost:20069): creating call state
2025-11-21 14:09:03,911 - DEBUG - ydb.connection.3154124  - _log_request: RpcState(Login, 0af02766-f26f-4771-a15e-bac1ea161a11, localhost:20069): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-11-21 14:09:03,917 - DEBUG - ydb.connection.3154124  - _log_response: RpcState(Login, 0af02766-f26f-4771-a15e-bac1ea161a11, localhost:20069): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzYzNzc3MzQzLCJpYXQiOjE3NjM3MzQxNDMsInN1YiI6ImRiYWRtaW4ifQ.DM8ohIMrvlpc7nX2OiAp6sZ7zrffdSS9QeNF72ZAFYMytojZJAqniw_YyAyFlUf1bWApKfaRHOvyz4oexM6EGuXoq-j5YgqCo48RqHmDYK8fm4BC_5u29HufTW4pJxGhqOXSb1z51JZ7DRnYth9aXfdfgSepEC_qT7kpv0tG1t-k4vxJWvHwhRcF23Iu6EqdMhk2Y2M_vFhDW46yoBe8Vr7VAWSlbrORX4Z5CU4VjiSR4uLW0WUoysS6gAJunbAKIOcQYXawjPRFWrckvJz47oW25Gh_0eIv0KEN1cWUMkjBAMggDXWE7vy7YfyN4n8hBKxfDf5M3aysYX01DY4xCw" } } } }
2025-11-21 14:09:03,918 - DEBUG - ydb.connection.3154124  - close: Closing channel for endpoint localhost:20069
2025-11-21 14:09:04,113 - 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:04,114 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.3154124  - context_resolve: Preparing initial endpoint to resolve endpoints
2025-11-21 14:09:04,115 - 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:04,119 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.3154124  - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-11-21 14:09:04,120 - DEBUG - ydb.connection.3154124  - _prepare_call: RpcState(ListEndpoints, c7f0987f-8322-499f-9d2e-2317567c3c91, localhost:20069): creating call state
2025-11-21 14:09:04,120 - DEBUG - ydb.connection.3154124  - _log_request: RpcState(ListEndpoints, c7f0987f-8322-499f-9d2e-2317567c3c91, localhost:20069): request = { database: "/Root/test_user_administration" }
2025-11-21 14:09:04,122 - DEBUG - ydb.connection.3154124  - _log_response: RpcState(ListEndpoints, c7f0987f-8322-499f-9d2e-2317567c3c91, 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:04,123 - 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:04,123 - 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:04,129 - DEBUG - ydb.connection.3154124  - close: Closing channel for endpoint localhost:20069
2025-11-21 14:09:04,130 - DEBUG - ydb.table.SessionPool.3154124  - subscribe: Active session queue is empty, subscribe waiter for a session
2025-11-21 14:09:04,130 - DEBUG - ydb.table.SessionPool.3154124  - subscribe: Subscribe waiter <Future at 0x7f1fd79a46a0 state=pending>
2025-11-21 14:09:04,131 - 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:04,131 - DEBUG - ydb.table.SessionPool.3154124  - _create: Created session <ydb.table.Session object at 0x7f1fd79a4330>
2025-11-21 14:09:04,131 - DEBUG - ydb.table.SessionPool.3154124  - _prepare: Preparing session <ydb.table.Session object at 0x7f1fd79a4330>
2025-11-21 14:09:04,131 - DEBUG - ydb.connection.3154124  - _prepare_call: RpcState(CreateSession, f4f5b7d4-f5e3-456b-9f84-a59062b241bb, ghrun-hd5senkm3y.auto.internal:22212): creating call state
2025-11-21 14:09:04,132 - DEBUG - ydb.connection.3154124  - _log_request: RpcState(CreateSession, f4f5b7d4-f5e3-456b-9f84-a59062b241bb, ghrun-hd5senkm3y.auto.internal:22212): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-11-21 14:09:04,134 - DEBUG - ydb.connection.3154124  - _on_response_callback: RpcState(CreateSession, f4f5b7d4-f5e3-456b-9f84-a59062b241bb, ghrun-hd5senkm3y.auto.internal:22212): on response callback started
2025-11-21 14:09:04,135 - DEBUG - ydb.connection.3154124  - _log_response: RpcState(CreateSession, f4f5b7d4-f5e3-456b-9f84-a59062b241bb, 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=YWZiNzEzZGQtZWY5MzdmNTktZjViYzczMi1hYzY2YmQyMA==" } } } }
2025-11-21 14:09:04,135 - DEBUG - ydb.table.SessionPool.3154124  - put: Put on session <ydb.table.Session object at 0x7f1fd79a4330>
2025-11-21 14:09:04,135 - DEBUG - ydb.table.SessionPool.3154124  - put: Replying to waiter with a session <ydb.table.Session object at 0x7f1fd79a4330>
2025-11-21 14:09:04,135 - DEBUG - ydb.connection.3154124  - _on_response_callback: RpcState(CreateSession, f4f5b7d4-f5e3-456b-9f84-a59062b241bb, ghrun-hd5senkm3y.auto.internal:22212): on response callback success
2025-11-21 14:09:04,135 - DEBUG - ydb.connection.3154124  - _prepare_call: RpcState(ExecuteSchemeQuery, 503161f2-a9f3-48ff-b83a-4d9a0b64e2d5, ghrun-hd5senkm3y.auto.internal:22212): creating call state
2025-11-21 14:09:04,136 - DEBUG - ydb.connection.3154124  - _log_request: RpcState(ExecuteSchemeQuery, 503161f2-a9f3-48ff-b83a-4d9a0b64e2d5, ghrun-hd5senkm3y.auto.internal:22212): request = { session_id: "ydb://session/3?node_id=50000&id=YWZiNzEzZGQtZWY5MzdmNTktZjViYzczMi1hYzY2YmQyMA==" yql_text: "alter group dbadmins drop user dbadmin" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-11-21 14:09:04,142 - DEBUG - ydb.connection.3154124  - _log_response: RpcState(ExecuteSchemeQuery, 503161f2-a9f3-48ff-b83a-4d9a0b64e2d5, 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:04,142 - DEBUG - ydb.table.SessionPool.3154124  - put: Put on session <ydb.table.Session object at 0x7f1fd79a4330>
2025-11-21 14:09:04,143 - DEBUG - ydb.topic.3154124  - close: Close topic client
2025-11-21 14:09:04,143 - DEBUG - ydb.topic.3154124  - close: Topic client was closed
2025-11-21 14:09:04,143 - DEBUG - ydb.connection.3154124  - close: Closing channel for endpoint localhost:20069
2025-11-21 14:09:04,323 - DEBUG - ydb.connection.3154124  - close: Closing channel for endpoint ghrun-hd5senkm3y.auto.internal:22212
2025-11-21 14:09:04,332 - INFO - ydb.pool.Discovery.3154124  - run: Successfully terminated discovery process
2025-11-21 14:09:04,341 - INFO - ya.test.3154124  - pytest_runtest_teardown: Test teardown
2025-11-21 14:09:04,347 - DEBUG - ydb.tests.library.fixtures.3154124  - ydb_database_ctx: destroy database /Root/test_user_administration: remove path and dismantle internals
2025-11-21 14:09:04,355 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.3154124  - remove_database: /Root/test_user_administration
2025-11-21 14:09:04,355 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.3154124  - _remove_database_send_op: /Root/test_user_administration: send console operation, token root@builtin
2025-11-21 14:09:04,368 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.3154124  - _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=1763734144365498&action=2"
    }
  }
}
Status {
  Code: STATUS_CODE_UNSPECIFIED
}

2025-11-21 14:09:04,368 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.3154124  - _remove_database_wait_op: /Root/test_user_administration: wait console operation done
2025-11-21 14:09:04,872 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.3154124  - _remove_database_wait_op: /Root/test_user_administration: console operation done
2025-11-21 14:09:04,884 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.3154124  - _remove_database_wait_tenant_gone: /Root/test_user_administration: wait tenant gone
2025-11-21 14:09:04,898 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.3154124  - _remove_database_wait_tenant_gone: /Root/test_user_administration: tenant gone
2025-11-21 14:09:04,899 - DEBUG - ydb.tests.library.fixtures.3154124  - ydb_database_ctx: destroy database /Root/test_user_administration: stop nodes
2025-11-21 14:09:16,902 - INFO - ydb.tests.library.harness.kikimr_runner.3154124  - stop: Stopped node localhost:22212/1
2025-11-21 14:09:16,903 - DEBUG - ydb.tests.library.fixtures.3154124  - ydb_database_ctx: destroy database /Root/test_user_administration: database down
2025-11-21 14:09:16,904 - INFO - ydb.tests.library.fixtures.3154124  - ydb_cluster: destroy ydb_cluster for __tests__.test_user_administration
2025-11-21 14:09:33,937 - INFO - ydb.tests.library.harness.kikimr_runner.3154124  - stop: Stopped node localhost:20069/1
2025-11-21 14:09:33,938 - DEBUG - library.python.filelock.3154124  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/64433
2025-11-21 14:09:33,939 - DEBUG - library.python.filelock.3154124  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/9177
2025-11-21 14:09:33,939 - DEBUG - library.python.filelock.3154124  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/13405
2025-11-21 14:09:33,939 - DEBUG - library.python.filelock.3154124  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/14772
2025-11-21 14:09:33,939 - DEBUG - library.python.filelock.3154124  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/22212
2025-11-21 14:09:33,939 - DEBUG - library.python.filelock.3154124  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/5485
2025-11-21 14:09:33,939 - DEBUG - library.python.filelock.3154124  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/32168
2025-11-21 14:09:33,939 - DEBUG - library.python.filelock.3154124  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/27999
2025-11-21 14:09:33,939 - DEBUG - library.python.filelock.3154124  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/20069
2025-11-21 14:09:33,940 - DEBUG - library.python.filelock.3154124  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/4413
