2025-11-05 12:01:26,874 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-05 12:01:26,874 - INFO - ya.test - pytest_runtest_setup: test_database_admin_cant_change_database_admin_group[remove-himself]
2025-11-05 12:01:26,875 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-05 12:01:26,875 - INFO - ya.test - pytest_runtest_setup: Test setup
2025-11-05 12:01:26,877 - 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-05 12:01:26,878 - 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-05 12:01:26,884 - DEBUG - ydb.connection - _prepare_call: RpcState(Login, 100e1c62-c1d1-455b-a1f9-f4a2577dd5a8, localhost:3058): creating call state
2025-11-05 12:01:26,885 - DEBUG - ydb.connection - _log_request: RpcState(Login, 100e1c62-c1d1-455b-a1f9-f4a2577dd5a8, localhost:3058): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-11-05 12:01:26,894 - DEBUG - ydb.connection - _log_response: RpcState(Login, 100e1c62-c1d1-455b-a1f9-f4a2577dd5a8, localhost:3058): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzYyMzg3Mjg2LCJpYXQiOjE3NjIzNDQwODYsInN1YiI6ImRiYWRtaW4ifQ.C-38UCgklhoBuV6D1Ewl1GyeMaZRkblQY5COwZZBpTlIB4vWwJUCgb-RxzZB2oxL8J603lACroQ43_1W_DjRFud3cP-egamRvr4h0nbZnJ0sSlDTDyunilbt6KfP7QynpYCVkNw9QXiX14QDNiBqwQ9sO5Y0yh8pEJdO3Ppog262kMZFknZldStMextX9FJclmkRYQBckdBLRHgnCaXGR8b0mHrnSzUz_wAYUw6iUYruXak8YS-RUznvkFHTt9Wn7Gu89TFB8A8UNC2fmupTSJIIhOz1Hb1jtwBrQjuRACR1cIq09TaTZAZ5gW-8oA6Eq5eGmolURadamKLY67mDZQ" } } } }
2025-11-05 12:01:26,895 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:3058
2025-11-05 12:01:27,087 - 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-05 12:01:27,091 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Preparing initial endpoint to resolve endpoints
2025-11-05 12:01:27,093 - 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-05 12:01:27,101 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-11-05 12:01:27,101 - DEBUG - ydb.connection - _prepare_call: RpcState(ListEndpoints, 795674f8-11e8-4170-8302-acfc9cf11bd4, localhost:3058): creating call state
2025-11-05 12:01:27,102 - DEBUG - ydb.connection - _log_request: RpcState(ListEndpoints, 795674f8-11e8-4170-8302-acfc9cf11bd4, localhost:3058): request = { database: "/Root/test_user_administration" }
2025-11-05 12:01:27,105 - DEBUG - ydb.connection - _log_response: RpcState(ListEndpoints, 795674f8-11e8-4170-8302-acfc9cf11bd4, localhost:3058): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-atcy2dqar4.auto.internal" port: 2350 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-05 12:01:27,106 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-atcy2dqar4.auto.internal:2350, location , ssl: False>]>
2025-11-05 12:01:27,107 - 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-05 12:01:27,115 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:3058
2025-11-05 12:01:27,116 - DEBUG - ydb.table.SessionPool - subscribe: Active session queue is empty, subscribe waiter for a session
2025-11-05 12:01:27,117 - DEBUG - ydb.table.SessionPool - subscribe: Subscribe waiter <Future at 0x7f0c4eab49c0 state=pending>
2025-11-05 12:01:27,117 - DEBUG - ydb.table.SessionPool - subscribe: Session pool is not large enough (active_count < size: 0 < 100). will create a new session.
2025-11-05 12:01:27,117 - DEBUG - ydb.table.SessionPool - _create: Created session <ydb.table.Session object at 0x7f0c4eab5d70>
2025-11-05 12:01:27,118 - DEBUG - ydb.table.SessionPool - _prepare: Preparing session <ydb.table.Session object at 0x7f0c4eab5d70>
2025-11-05 12:01:27,119 - DEBUG - ydb.connection - _prepare_call: RpcState(CreateSession, 5963ef62-8fb8-483a-b58c-65dc372ef947, ghrun-atcy2dqar4.auto.internal:2350): creating call state
2025-11-05 12:01:27,119 - DEBUG - ydb.connection - _log_request: RpcState(CreateSession, 5963ef62-8fb8-483a-b58c-65dc372ef947, ghrun-atcy2dqar4.auto.internal:2350): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-11-05 12:01:27,122 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, 5963ef62-8fb8-483a-b58c-65dc372ef947, ghrun-atcy2dqar4.auto.internal:2350): on response callback started
2025-11-05 12:01:27,123 - DEBUG - ydb.connection - _log_response: RpcState(CreateSession, 5963ef62-8fb8-483a-b58c-65dc372ef947, ghrun-atcy2dqar4.auto.internal:2350): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=ZDg4MTg4My1jZGQ3OGIyMy04YjIxODYyLTM5Yzc5ZTJh" } } } }
2025-11-05 12:01:27,124 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7f0c4eab5d70>
2025-11-05 12:01:27,124 - DEBUG - ydb.table.SessionPool - put: Replying to waiter with a session <ydb.table.Session object at 0x7f0c4eab5d70>
2025-11-05 12:01:27,124 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, 5963ef62-8fb8-483a-b58c-65dc372ef947, ghrun-atcy2dqar4.auto.internal:2350): on response callback success
2025-11-05 12:01:27,125 - DEBUG - ydb.connection - _prepare_call: RpcState(ExecuteSchemeQuery, 8fb98825-8bac-4941-afc7-8b9f6398668a, ghrun-atcy2dqar4.auto.internal:2350): creating call state
2025-11-05 12:01:27,125 - DEBUG - ydb.connection - _log_request: RpcState(ExecuteSchemeQuery, 8fb98825-8bac-4941-afc7-8b9f6398668a, ghrun-atcy2dqar4.auto.internal:2350): request = { session_id: "ydb://session/3?node_id=50000&id=ZDg4MTg4My1jZGQ3OGIyMy04YjIxODYyLTM5Yzc5ZTJh" yql_text: "alter group dbadmins drop user dbadmin" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-11-05 12:01:27,133 - DEBUG - ydb.connection - _log_response: RpcState(ExecuteSchemeQuery, 8fb98825-8bac-4941-afc7-8b9f6398668a, ghrun-atcy2dqar4.auto.internal:2350): 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-05 12:01:27,134 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7f0c4eab5d70>
2025-11-05 12:01:27,135 - DEBUG - ydb.topic - close: Close topic client
2025-11-05 12:01:27,136 - DEBUG - ydb.topic - close: Topic client was closed
2025-11-05 12:01:27,139 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:3058
2025-11-05 12:01:27,304 - DEBUG - ydb.connection - close: Closing channel for endpoint ghrun-atcy2dqar4.auto.internal:2350
2025-11-05 12:01:27,320 - INFO - ydb.pool.Discovery - run: Successfully terminated discovery process
2025-11-05 12:01:27,322 - INFO - ya.test - pytest_runtest_teardown: Test teardown
2025-11-05 12:01:27,323 - DEBUG - ydb.tests.library.fixtures - ydb_database_ctx: destroy database /Root/test_user_administration: remove path and dismantle internals
2025-11-05 12:01:27,323 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - remove_database: /Root/test_user_administration
2025-11-05 12:01:27,323 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_send_op: /Root/test_user_administration: send console operation, token root@builtin
2025-11-05 12:01:27,328 - 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=1762344087326509&action=2"
    }
  }
}
Status {
  Code: STATUS_CODE_UNSPECIFIED
}

2025-11-05 12:01:27,329 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_wait_op: /Root/test_user_administration: wait console operation done
2025-11-05 12:01:27,836 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_wait_op: /Root/test_user_administration: console operation done
2025-11-05 12:01:27,836 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_wait_tenant_gone: /Root/test_user_administration: wait tenant gone
2025-11-05 12:01:27,841 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_wait_tenant_gone: /Root/test_user_administration: tenant gone
2025-11-05 12:01:27,841 - DEBUG - ydb.tests.library.fixtures - ydb_database_ctx: destroy database /Root/test_user_administration: stop nodes
2025-11-05 12:01:39,842 - INFO - ydb.tests.library.harness.kikimr_runner - stop: Stopped node localhost:2350/1
2025-11-05 12:01:39,844 - DEBUG - ydb.tests.library.fixtures - ydb_database_ctx: destroy database /Root/test_user_administration: database down
2025-11-05 12:01:39,845 - INFO - ydb.tests.library.fixtures - ydb_cluster: destroy ydb_cluster for __tests__.test_user_administration
2025-11-05 12:01:56,849 - INFO - ydb.tests.library.harness.kikimr_runner - stop: Stopped node localhost:3058/1
2025-11-05 12:01:56,850 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/26165
2025-11-05 12:01:56,851 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/65136
2025-11-05 12:01:56,851 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/61194
2025-11-05 12:01:56,851 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/11654
2025-11-05 12:01:56,851 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/2350
2025-11-05 12:01:56,852 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/22234
2025-11-05 12:01:56,852 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/4803
2025-11-05 12:01:56,852 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/29105
2025-11-05 12:01:56,852 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/3058
2025-11-05 12:01:56,852 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/13343
