2025-12-09 10:29:38,166 - INFO - ya.test.3108929  - pytest_runtest_setup: ####################################################################################################
2025-12-09 10:29:38,166 - INFO - ya.test.3108929  - pytest_runtest_setup: test_database_admin_cant_change_database_admin_group[remove-himself]
2025-12-09 10:29:38,166 - INFO - ya.test.3108929  - pytest_runtest_setup: ####################################################################################################
2025-12-09 10:29:38,167 - INFO - ya.test.3108929  - pytest_runtest_setup: Test setup
2025-12-09 10:29:38,168 - INFO - ya.test.3108929  - 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 10:29:38,169 - DEBUG - ydb.connection.3108929  - 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 10:29:38,177 - DEBUG - ydb.connection.3108929  - _prepare_call: RpcState(Login, 65a9ef06-b8a8-46de-b764-74270255c372, localhost:4008): creating call state
2025-12-09 10:29:38,178 - DEBUG - ydb.connection.3108929  - _log_request: RpcState(Login, 65a9ef06-b8a8-46de-b764-74270255c372, localhost:4008): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-12-09 10:29:38,185 - DEBUG - ydb.connection.3108929  - _log_response: RpcState(Login, 65a9ef06-b8a8-46de-b764-74270255c372, localhost:4008): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzY1MzE5Mzc4LCJpYXQiOjE3NjUyNzYxNzgsInN1YiI6ImRiYWRtaW4ifQ.mM-2fC9ocZMqzZCudsXXsvODo7_7yoFeF0iRihceHnlb_eV4X9mhglAWt7bib4h0I5qKaM_kzGRmJbShbCryyzWeV57BzwjzgeZtUcYk47fRbTya7jS06mjLav2M1BAnAOOrpxKB-nLy47tpP-Mykc_bWTbGhYh_66gZs5A0P4z22WZOcFOJLm5zD_DScCt8J3d2N38LeSm0zYpESPR16td0u2gC7V0O03Cj6MEVMoGyZJXSxYBGnKBkxbM7tkd01Vwq4sdGf-NF5V0KyljX1-OPZ_lBpVXZGjkZ3hOi-bx7Ck2x8uEiT_k51PI0HTDD3-M3x3t6KquhpKZpGFNCsA" } } } }
2025-12-09 10:29:38,187 - DEBUG - ydb.connection.3108929  - close: Closing channel for endpoint localhost:4008
2025-12-09 10:29:38,381 - DEBUG - ydb.connection.3108929  - 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 10:29:38,382 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.3108929  - context_resolve: Preparing initial endpoint to resolve endpoints
2025-12-09 10:29:38,384 - DEBUG - ydb.connection.3108929  - 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 10:29:38,388 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.3108929  - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-12-09 10:29:38,389 - DEBUG - ydb.connection.3108929  - _prepare_call: RpcState(ListEndpoints, 0a4b3938-b5f3-46c1-a67e-6ee38093a176, localhost:4008): creating call state
2025-12-09 10:29:38,389 - DEBUG - ydb.connection.3108929  - _log_request: RpcState(ListEndpoints, 0a4b3938-b5f3-46c1-a67e-6ee38093a176, localhost:4008): request = { database: "/Root/test_user_administration" }
2025-12-09 10:29:38,392 - DEBUG - ydb.connection.3108929  - _log_response: RpcState(ListEndpoints, 0a4b3938-b5f3-46c1-a67e-6ee38093a176, localhost:4008): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-szdvczcwva.auto.internal" port: 19949 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 10:29:38,393 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.3108929  - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-szdvczcwva.auto.internal:19949, location , ssl: False>]>
2025-12-09 10:29:38,394 - DEBUG - ydb.connection.3108929  - 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 10:29:38,403 - DEBUG - ydb.connection.3108929  - close: Closing channel for endpoint localhost:4008
2025-12-09 10:29:38,404 - DEBUG - ydb.table.SessionPool.3108929  - subscribe: Active session queue is empty, subscribe waiter for a session
2025-12-09 10:29:38,404 - DEBUG - ydb.table.SessionPool.3108929  - subscribe: Subscribe waiter <Future at 0x7ff44f204790 state=pending>
2025-12-09 10:29:38,405 - DEBUG - ydb.table.SessionPool.3108929  - subscribe: Session pool is not large enough (active_count < size: 0 < 100). will create a new session.
2025-12-09 10:29:38,405 - DEBUG - ydb.table.SessionPool.3108929  - _create: Created session <ydb.table.Session object at 0x7ff44f206090>
2025-12-09 10:29:38,405 - DEBUG - ydb.table.SessionPool.3108929  - _prepare: Preparing session <ydb.table.Session object at 0x7ff44f206090>
2025-12-09 10:29:38,406 - DEBUG - ydb.connection.3108929  - _prepare_call: RpcState(CreateSession, ca9e4e5f-8fc2-4398-8572-541dd5955446, ghrun-szdvczcwva.auto.internal:19949): creating call state
2025-12-09 10:29:38,406 - DEBUG - ydb.connection.3108929  - _log_request: RpcState(CreateSession, ca9e4e5f-8fc2-4398-8572-541dd5955446, ghrun-szdvczcwva.auto.internal:19949): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-12-09 10:29:38,408 - DEBUG - ydb.connection.3108929  - _on_response_callback: RpcState(CreateSession, ca9e4e5f-8fc2-4398-8572-541dd5955446, ghrun-szdvczcwva.auto.internal:19949): on response callback started
2025-12-09 10:29:38,409 - DEBUG - ydb.connection.3108929  - _log_response: RpcState(CreateSession, ca9e4e5f-8fc2-4398-8572-541dd5955446, ghrun-szdvczcwva.auto.internal:19949): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=OTk1ZDgzZTMtN2U3ZGZmN2UtMjkzYmUzMDUtZDczNmRmYQ==" } } } }
2025-12-09 10:29:38,409 - DEBUG - ydb.table.SessionPool.3108929  - put: Put on session <ydb.table.Session object at 0x7ff44f206090>
2025-12-09 10:29:38,409 - DEBUG - ydb.table.SessionPool.3108929  - put: Replying to waiter with a session <ydb.table.Session object at 0x7ff44f206090>
2025-12-09 10:29:38,410 - DEBUG - ydb.connection.3108929  - _prepare_call: RpcState(ExecuteSchemeQuery, 9581b387-cfa3-46b3-9fb6-b9c9ac2546a3, ghrun-szdvczcwva.auto.internal:19949): creating call state
2025-12-09 10:29:38,410 - DEBUG - ydb.connection.3108929  - _on_response_callback: RpcState(CreateSession, ca9e4e5f-8fc2-4398-8572-541dd5955446, ghrun-szdvczcwva.auto.internal:19949): on response callback success
2025-12-09 10:29:38,411 - DEBUG - ydb.connection.3108929  - _log_request: RpcState(ExecuteSchemeQuery, 9581b387-cfa3-46b3-9fb6-b9c9ac2546a3, ghrun-szdvczcwva.auto.internal:19949): request = { session_id: "ydb://session/3?node_id=50000&id=OTk1ZDgzZTMtN2U3ZGZmN2UtMjkzYmUzMDUtZDczNmRmYQ==" yql_text: "alter group dbadmins drop user dbadmin" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-12-09 10:29:38,418 - DEBUG - ydb.connection.3108929  - _log_response: RpcState(ExecuteSchemeQuery, 9581b387-cfa3-46b3-9fb6-b9c9ac2546a3, ghrun-szdvczcwva.auto.internal:19949): 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 10:29:38,419 - DEBUG - ydb.table.SessionPool.3108929  - put: Put on session <ydb.table.Session object at 0x7ff44f206090>
2025-12-09 10:29:38,419 - DEBUG - ydb.topic.3108929  - close: Close topic client
2025-12-09 10:29:38,420 - DEBUG - ydb.topic.3108929  - close: Topic client was closed
2025-12-09 10:29:38,420 - DEBUG - ydb.connection.3108929  - close: Closing channel for endpoint localhost:4008
2025-12-09 10:29:38,591 - DEBUG - ydb.connection.3108929  - close: Closing channel for endpoint ghrun-szdvczcwva.auto.internal:19949
2025-12-09 10:29:38,605 - INFO - ydb.pool.Discovery.3108929  - run: Successfully terminated discovery process
2025-12-09 10:29:38,608 - INFO - ya.test.3108929  - pytest_runtest_teardown: Test teardown
2025-12-09 10:29:38,609 - DEBUG - ydb.tests.library.fixtures.3108929  - ydb_database_ctx: destroy database /Root/test_user_administration: remove path and dismantle internals
2025-12-09 10:29:38,609 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.3108929  - remove_database: /Root/test_user_administration
2025-12-09 10:29:38,610 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.3108929  - _remove_database_send_op: /Root/test_user_administration: send console operation, token root@builtin
2025-12-09 10:29:38,617 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.3108929  - _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=1765276178615074&action=2"
    }
  }
}
Status {
  Code: STATUS_CODE_UNSPECIFIED
}

2025-12-09 10:29:38,618 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.3108929  - _remove_database_wait_op: /Root/test_user_administration: wait console operation done
2025-12-09 10:29:39,121 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.3108929  - _remove_database_wait_op: /Root/test_user_administration: console operation done
2025-12-09 10:29:39,121 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.3108929  - _remove_database_wait_tenant_gone: /Root/test_user_administration: wait tenant gone
2025-12-09 10:29:39,124 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.3108929  - _remove_database_wait_tenant_gone: /Root/test_user_administration: tenant gone
2025-12-09 10:29:39,124 - DEBUG - ydb.tests.library.fixtures.3108929  - ydb_database_ctx: destroy database /Root/test_user_administration: stop nodes
2025-12-09 10:29:51,125 - INFO - ydb.tests.library.harness.kikimr_runner.3108929  - stop: Stopped node localhost:19949/1
2025-12-09 10:29:51,126 - DEBUG - ydb.tests.library.fixtures.3108929  - ydb_database_ctx: destroy database /Root/test_user_administration: database down
2025-12-09 10:29:51,127 - INFO - ydb.tests.library.fixtures.3108929  - ydb_cluster: destroy ydb_cluster for __tests__.test_user_administration
2025-12-09 10:30:08,129 - INFO - ydb.tests.library.harness.kikimr_runner.3108929  - stop: Stopped node localhost:4008/1
2025-12-09 10:30:08,130 - DEBUG - library.python.filelock.3108929  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/2303
2025-12-09 10:30:08,130 - DEBUG - library.python.filelock.3108929  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/19412
2025-12-09 10:30:08,130 - DEBUG - library.python.filelock.3108929  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/1774
2025-12-09 10:30:08,130 - DEBUG - library.python.filelock.3108929  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/2793
2025-12-09 10:30:08,130 - DEBUG - library.python.filelock.3108929  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/19949
2025-12-09 10:30:08,130 - DEBUG - library.python.filelock.3108929  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/5909
2025-12-09 10:30:08,131 - DEBUG - library.python.filelock.3108929  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/2347
2025-12-09 10:30:08,131 - DEBUG - library.python.filelock.3108929  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/32371
2025-12-09 10:30:08,131 - DEBUG - library.python.filelock.3108929  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/4008
2025-12-09 10:30:08,131 - DEBUG - library.python.filelock.3108929  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/13002
