2025-11-06 10:03:44,833 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-06 10:03:44,833 - INFO - ya.test - pytest_runtest_setup: test_database_admin_cant_change_database_admin_group[remove-himself]
2025-11-06 10:03:44,833 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-06 10:03:44,834 - INFO - ya.test - pytest_runtest_setup: Test setup
2025-11-06 10:03:44,835 - INFO - ya.test - 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-06 10:03:44,835 - DEBUG - ydb.connection - 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-06 10:03:44,838 - DEBUG - ydb.connection - _prepare_call: RpcState(Login, 0f0d7284-f179-4356-811f-5f4b2401e9ec, localhost:11379): creating call state
2025-11-06 10:03:44,839 - DEBUG - ydb.connection - _log_request: RpcState(Login, 0f0d7284-f179-4356-811f-5f4b2401e9ec, localhost:11379): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-11-06 10:03:44,844 - DEBUG - ydb.connection - _log_response: RpcState(Login, 0f0d7284-f179-4356-811f-5f4b2401e9ec, localhost:11379): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzYyNDY2NjI0LCJpYXQiOjE3NjI0MjM0MjQsInN1YiI6ImRiYWRtaW4ifQ.DBawB7cVMYnRZvc9Y-zfKTnWIpVEcOSEInGk8P2xPeOe8VNbV2mtEYvoh49j5DpUjeo8ZnnHEmpxY6Py7nE-ntWqOAkcz3fk_zx9kv2d04yBhKX4kr-FYXsuZF-Hnr_mL4uY0orGlHjKv9BHmeY7Tu5Y02SB93hD2ryRdvX_iHcIlECCKqgsi8uZkQrbAzxM37ilGRze4YreZMLqo8YVRMt3_vjyN_tIHOOWh1h67I7s0nO0w3DH9v0gePT0folAIp_2iqP7uUXhlDIFxo5lGSfk0q9OcQ2_SfcrGN1TdJ0F664Co4qM66SKc_BIFmGEhJYP7f8XTLn3cyJ27Hs-Lg" } } } }
2025-11-06 10:03:44,844 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:11379
2025-11-06 10:03:45,041 - DEBUG - ydb.connection - 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-06 10:03:45,043 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Preparing initial endpoint to resolve endpoints
2025-11-06 10:03:45,043 - DEBUG - ydb.connection - 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-06 10:03:45,047 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-11-06 10:03:45,047 - DEBUG - ydb.connection - _prepare_call: RpcState(ListEndpoints, 752e60fc-59f5-4f97-8e13-28f20c74d485, localhost:11379): creating call state
2025-11-06 10:03:45,048 - DEBUG - ydb.connection - _log_request: RpcState(ListEndpoints, 752e60fc-59f5-4f97-8e13-28f20c74d485, localhost:11379): request = { database: "/Root/test_user_administration" }
2025-11-06 10:03:45,050 - DEBUG - ydb.connection - _log_response: RpcState(ListEndpoints, 752e60fc-59f5-4f97-8e13-28f20c74d485, localhost:11379): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-ar5i2wnyyy.auto.internal" port: 8476 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-06 10:03:45,050 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-ar5i2wnyyy.auto.internal:8476, location , ssl: False>]>
2025-11-06 10:03:45,050 - DEBUG - ydb.connection - 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-06 10:03:45,055 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:11379
2025-11-06 10:03:45,056 - DEBUG - ydb.table.SessionPool - subscribe: Active session queue is empty, subscribe waiter for a session
2025-11-06 10:03:45,056 - DEBUG - ydb.table.SessionPool - subscribe: Subscribe waiter <Future at 0x7f230cf9e7c0 state=pending>
2025-11-06 10:03:45,056 - DEBUG - ydb.table.SessionPool - subscribe: Session pool is not large enough (active_count < size: 0 < 100). will create a new session.
2025-11-06 10:03:45,056 - DEBUG - ydb.table.SessionPool - _create: Created session <ydb.table.Session object at 0x7f230cf9eb30>
2025-11-06 10:03:45,056 - DEBUG - ydb.table.SessionPool - _prepare: Preparing session <ydb.table.Session object at 0x7f230cf9eb30>
2025-11-06 10:03:45,057 - DEBUG - ydb.connection - _prepare_call: RpcState(CreateSession, 1b6c1b3f-3bba-4b0c-8239-b89a532e6c12, ghrun-ar5i2wnyyy.auto.internal:8476): creating call state
2025-11-06 10:03:45,057 - DEBUG - ydb.connection - _log_request: RpcState(CreateSession, 1b6c1b3f-3bba-4b0c-8239-b89a532e6c12, ghrun-ar5i2wnyyy.auto.internal:8476): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-11-06 10:03:45,059 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, 1b6c1b3f-3bba-4b0c-8239-b89a532e6c12, ghrun-ar5i2wnyyy.auto.internal:8476): on response callback started
2025-11-06 10:03:45,060 - DEBUG - ydb.connection - _log_response: RpcState(CreateSession, 1b6c1b3f-3bba-4b0c-8239-b89a532e6c12, ghrun-ar5i2wnyyy.auto.internal:8476): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=ODQ1YWM2MWItMTIyOWRkZDgtMTY3YWY4YmEtMjI0MzRmZjg=" } } } }
2025-11-06 10:03:45,060 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7f230cf9eb30>
2025-11-06 10:03:45,061 - DEBUG - ydb.table.SessionPool - put: Replying to waiter with a session <ydb.table.Session object at 0x7f230cf9eb30>
2025-11-06 10:03:45,061 - DEBUG - ydb.connection - _prepare_call: RpcState(ExecuteSchemeQuery, deb5c91a-4ab7-47f4-b55b-b392de515100, ghrun-ar5i2wnyyy.auto.internal:8476): creating call state
2025-11-06 10:03:45,062 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, 1b6c1b3f-3bba-4b0c-8239-b89a532e6c12, ghrun-ar5i2wnyyy.auto.internal:8476): on response callback success
2025-11-06 10:03:45,062 - DEBUG - ydb.connection - _log_request: RpcState(ExecuteSchemeQuery, deb5c91a-4ab7-47f4-b55b-b392de515100, ghrun-ar5i2wnyyy.auto.internal:8476): request = { session_id: "ydb://session/3?node_id=50000&id=ODQ1YWM2MWItMTIyOWRkZDgtMTY3YWY4YmEtMjI0MzRmZjg=" yql_text: "alter group dbadmins drop user dbadmin" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-11-06 10:03:45,067 - DEBUG - ydb.connection - _log_response: RpcState(ExecuteSchemeQuery, deb5c91a-4ab7-47f4-b55b-b392de515100, ghrun-ar5i2wnyyy.auto.internal:8476): 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-06 10:03:45,068 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7f230cf9eb30>
2025-11-06 10:03:45,068 - DEBUG - ydb.topic - close: Close topic client
2025-11-06 10:03:45,068 - DEBUG - ydb.topic - close: Topic client was closed
2025-11-06 10:03:45,068 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:11379
2025-11-06 10:03:45,249 - DEBUG - ydb.connection - close: Closing channel for endpoint ghrun-ar5i2wnyyy.auto.internal:8476
2025-11-06 10:03:45,258 - INFO - ydb.pool.Discovery - run: Successfully terminated discovery process
2025-11-06 10:03:45,259 - INFO - ya.test - pytest_runtest_teardown: Test teardown
2025-11-06 10:03:45,259 - DEBUG - ydb.tests.library.fixtures - ydb_database_ctx: destroy database /Root/test_user_administration: remove path and dismantle internals
2025-11-06 10:03:45,259 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - remove_database: /Root/test_user_administration
2025-11-06 10:03:45,259 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_send_op: /Root/test_user_administration: send console operation, token root@builtin
2025-11-06 10:03:45,263 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _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=1762423425262178&action=2"
    }
  }
}
Status {
  Code: STATUS_CODE_UNSPECIFIED
}

2025-11-06 10:03:45,264 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_wait_op: /Root/test_user_administration: wait console operation done
2025-11-06 10:03:45,766 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_wait_op: /Root/test_user_administration: console operation done
2025-11-06 10:03:45,767 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_wait_tenant_gone: /Root/test_user_administration: wait tenant gone
2025-11-06 10:03:45,769 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_wait_tenant_gone: /Root/test_user_administration: tenant gone
2025-11-06 10:03:45,769 - DEBUG - ydb.tests.library.fixtures - ydb_database_ctx: destroy database /Root/test_user_administration: stop nodes
2025-11-06 10:03:57,770 - INFO - ydb.tests.library.harness.kikimr_runner - stop: Stopped node localhost:8476/1
2025-11-06 10:03:57,770 - DEBUG - ydb.tests.library.fixtures - ydb_database_ctx: destroy database /Root/test_user_administration: database down
2025-11-06 10:03:57,771 - INFO - ydb.tests.library.fixtures - ydb_cluster: destroy ydb_cluster for __tests__.test_user_administration
2025-11-06 10:04:14,773 - INFO - ydb.tests.library.harness.kikimr_runner - stop: Stopped node localhost:11379/1
2025-11-06 10:04:14,774 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/16445
2025-11-06 10:04:14,774 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/12429
2025-11-06 10:04:14,774 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/27489
2025-11-06 10:04:14,775 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/4959
2025-11-06 10:04:14,775 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/8476
2025-11-06 10:04:14,775 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/24730
2025-11-06 10:04:14,775 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/4309
2025-11-06 10:04:14,775 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/27770
2025-11-06 10:04:14,775 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/11379
2025-11-06 10:04:14,775 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/10180
