2025-11-19 21:16:42,868 - INFO - ya.test.2084773  - pytest_runtest_setup: ####################################################################################################
2025-11-19 21:16:42,869 - INFO - ya.test.2084773  - pytest_runtest_setup: test_database_admin_cant_change_database_admin_group[remove-himself]
2025-11-19 21:16:42,869 - INFO - ya.test.2084773  - pytest_runtest_setup: ####################################################################################################
2025-11-19 21:16:42,869 - INFO - ya.test.2084773  - pytest_runtest_setup: Test setup
2025-11-19 21:16:42,876 - INFO - ya.test.2084773  - 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-19 21:16:42,876 - DEBUG - ydb.connection.2084773  - 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-19 21:16:42,899 - DEBUG - ydb.connection.2084773  - _prepare_call: RpcState(Login, 6853fcb7-ed9d-4de1-9904-c52a58acae35, localhost:3176): creating call state
2025-11-19 21:16:42,900 - DEBUG - ydb.connection.2084773  - _log_request: RpcState(Login, 6853fcb7-ed9d-4de1-9904-c52a58acae35, localhost:3176): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-11-19 21:16:42,916 - DEBUG - ydb.connection.2084773  - _log_response: RpcState(Login, 6853fcb7-ed9d-4de1-9904-c52a58acae35, localhost:3176): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzYzNjMwMjAyLCJpYXQiOjE3NjM1ODcwMDIsInN1YiI6ImRiYWRtaW4ifQ.WU_IgBDfBYAorZfdQKAuqiiiSTvAIdaQFpA-0bAMt4bxJYuyy2go2Pkc-1hMgmfCVNP6VhUK7QKRnT5xJW5-42tmYLdE2hJQR8OjGxmYVmeLIb7PnpaAtFXS1tFidF25bE4dh5pOscjiUKN4FiKL3Ytxy8yn-04c7p4X_AJv3ojc7TBdJVi1CWa5RO3LUsgrysbZtibpypZ_rvyQCratlpj5v_hMDz-UR6ACeIaz_S2ap93MF70WjIsA3wSyzLB9kinDcv-PoYu3wo5bFWw6OvROsSQAIWp2aPYWJtZ51mPC7ekWIkElHf3DUOPmJqDDvniJT4X_weo_vv-TXAwFDQ" } } } }
2025-11-19 21:16:42,917 - DEBUG - ydb.connection.2084773  - close: Closing channel for endpoint localhost:3176
2025-11-19 21:16:43,105 - DEBUG - ydb.connection.2084773  - 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-19 21:16:43,106 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.2084773  - context_resolve: Preparing initial endpoint to resolve endpoints
2025-11-19 21:16:43,108 - DEBUG - ydb.connection.2084773  - 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-19 21:16:43,113 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.2084773  - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-11-19 21:16:43,114 - DEBUG - ydb.connection.2084773  - _prepare_call: RpcState(ListEndpoints, 2502a027-ac08-49a3-a0a6-9187ea909bd7, localhost:3176): creating call state
2025-11-19 21:16:43,114 - DEBUG - ydb.connection.2084773  - _log_request: RpcState(ListEndpoints, 2502a027-ac08-49a3-a0a6-9187ea909bd7, localhost:3176): request = { database: "/Root/test_user_administration" }
2025-11-19 21:16:43,122 - DEBUG - ydb.connection.2084773  - _log_response: RpcState(ListEndpoints, 2502a027-ac08-49a3-a0a6-9187ea909bd7, localhost:3176): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-5327lwzq5q.auto.internal" port: 26216 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-19 21:16:43,122 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.2084773  - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-5327lwzq5q.auto.internal:26216, location , ssl: False>]>
2025-11-19 21:16:43,123 - DEBUG - ydb.connection.2084773  - 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-19 21:16:43,132 - DEBUG - ydb.connection.2084773  - close: Closing channel for endpoint localhost:3176
2025-11-19 21:16:43,133 - DEBUG - ydb.table.SessionPool.2084773  - subscribe: Active session queue is empty, subscribe waiter for a session
2025-11-19 21:16:43,133 - DEBUG - ydb.table.SessionPool.2084773  - subscribe: Subscribe waiter <Future at 0x7f1f6161a540 state=pending>
2025-11-19 21:16:43,134 - DEBUG - ydb.table.SessionPool.2084773  - subscribe: Session pool is not large enough (active_count < size: 0 < 100). will create a new session.
2025-11-19 21:16:43,134 - DEBUG - ydb.table.SessionPool.2084773  - _create: Created session <ydb.table.Session object at 0x7f1f61626180>
2025-11-19 21:16:43,134 - DEBUG - ydb.table.SessionPool.2084773  - _prepare: Preparing session <ydb.table.Session object at 0x7f1f61626180>
2025-11-19 21:16:43,135 - DEBUG - ydb.connection.2084773  - _prepare_call: RpcState(CreateSession, 8aa55ab8-09c1-418b-8770-76064c5e60ce, ghrun-5327lwzq5q.auto.internal:26216): creating call state
2025-11-19 21:16:43,135 - DEBUG - ydb.connection.2084773  - _log_request: RpcState(CreateSession, 8aa55ab8-09c1-418b-8770-76064c5e60ce, ghrun-5327lwzq5q.auto.internal:26216): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-11-19 21:16:43,141 - DEBUG - ydb.connection.2084773  - _on_response_callback: RpcState(CreateSession, 8aa55ab8-09c1-418b-8770-76064c5e60ce, ghrun-5327lwzq5q.auto.internal:26216): on response callback started
2025-11-19 21:16:43,141 - DEBUG - ydb.connection.2084773  - _log_response: RpcState(CreateSession, 8aa55ab8-09c1-418b-8770-76064c5e60ce, ghrun-5327lwzq5q.auto.internal:26216): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=ZjM0MDAzNmItZmUzYTk2OTItNmMwNThlMGItZWM4N2E1YjQ=" } } } }
2025-11-19 21:16:43,142 - DEBUG - ydb.table.SessionPool.2084773  - put: Put on session <ydb.table.Session object at 0x7f1f61626180>
2025-11-19 21:16:43,142 - DEBUG - ydb.table.SessionPool.2084773  - put: Replying to waiter with a session <ydb.table.Session object at 0x7f1f61626180>
2025-11-19 21:16:43,143 - DEBUG - ydb.connection.2084773  - _prepare_call: RpcState(ExecuteSchemeQuery, 2b33d501-400c-423b-a7c0-7b38a3afa67f, ghrun-5327lwzq5q.auto.internal:26216): creating call state
2025-11-19 21:16:43,144 - DEBUG - ydb.connection.2084773  - _log_request: RpcState(ExecuteSchemeQuery, 2b33d501-400c-423b-a7c0-7b38a3afa67f, ghrun-5327lwzq5q.auto.internal:26216): request = { session_id: "ydb://session/3?node_id=50000&id=ZjM0MDAzNmItZmUzYTk2OTItNmMwNThlMGItZWM4N2E1YjQ=" yql_text: "alter group dbadmins drop user dbadmin" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-11-19 21:16:43,143 - DEBUG - ydb.connection.2084773  - _on_response_callback: RpcState(CreateSession, 8aa55ab8-09c1-418b-8770-76064c5e60ce, ghrun-5327lwzq5q.auto.internal:26216): on response callback success
2025-11-19 21:16:43,156 - DEBUG - ydb.connection.2084773  - _log_response: RpcState(ExecuteSchemeQuery, 2b33d501-400c-423b-a7c0-7b38a3afa67f, ghrun-5327lwzq5q.auto.internal:26216): 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-19 21:16:43,157 - DEBUG - ydb.table.SessionPool.2084773  - put: Put on session <ydb.table.Session object at 0x7f1f61626180>
2025-11-19 21:16:43,157 - DEBUG - ydb.topic.2084773  - close: Close topic client
2025-11-19 21:16:43,158 - DEBUG - ydb.topic.2084773  - close: Topic client was closed
2025-11-19 21:16:43,158 - DEBUG - ydb.connection.2084773  - close: Closing channel for endpoint localhost:3176
2025-11-19 21:16:43,317 - DEBUG - ydb.connection.2084773  - close: Closing channel for endpoint ghrun-5327lwzq5q.auto.internal:26216
2025-11-19 21:16:43,340 - INFO - ydb.pool.Discovery.2084773  - run: Successfully terminated discovery process
2025-11-19 21:16:43,343 - INFO - ya.test.2084773  - pytest_runtest_teardown: Test teardown
2025-11-19 21:16:43,343 - DEBUG - ydb.tests.library.fixtures.2084773  - ydb_database_ctx: destroy database /Root/test_user_administration: remove path and dismantle internals
2025-11-19 21:16:43,344 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.2084773  - remove_database: /Root/test_user_administration
2025-11-19 21:16:43,344 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.2084773  - _remove_database_send_op: /Root/test_user_administration: send console operation, token root@builtin
2025-11-19 21:16:43,354 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.2084773  - _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=1763587003346866&action=2"
    }
  }
}
Status {
  Code: STATUS_CODE_UNSPECIFIED
}

2025-11-19 21:16:43,355 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.2084773  - _remove_database_wait_op: /Root/test_user_administration: wait console operation done
2025-11-19 21:16:43,858 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.2084773  - _remove_database_wait_op: /Root/test_user_administration: console operation done
2025-11-19 21:16:43,858 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.2084773  - _remove_database_wait_tenant_gone: /Root/test_user_administration: wait tenant gone
2025-11-19 21:16:43,861 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.2084773  - _remove_database_wait_tenant_gone: /Root/test_user_administration: tenant gone
2025-11-19 21:16:43,861 - DEBUG - ydb.tests.library.fixtures.2084773  - ydb_database_ctx: destroy database /Root/test_user_administration: stop nodes
2025-11-19 21:16:55,863 - INFO - ydb.tests.library.harness.kikimr_runner.2084773  - stop: Stopped node localhost:26216/1
2025-11-19 21:16:55,863 - DEBUG - ydb.tests.library.fixtures.2084773  - ydb_database_ctx: destroy database /Root/test_user_administration: database down
2025-11-19 21:16:55,864 - INFO - ydb.tests.library.fixtures.2084773  - ydb_cluster: destroy ydb_cluster for __tests__.test_user_administration
2025-11-19 21:17:12,868 - INFO - ydb.tests.library.harness.kikimr_runner.2084773  - stop: Stopped node localhost:3176/1
2025-11-19 21:17:12,869 - DEBUG - library.python.filelock.2084773  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/12576
2025-11-19 21:17:12,869 - DEBUG - library.python.filelock.2084773  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/61453
2025-11-19 21:17:12,870 - DEBUG - library.python.filelock.2084773  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/25993
2025-11-19 21:17:12,870 - DEBUG - library.python.filelock.2084773  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/15436
2025-11-19 21:17:12,870 - DEBUG - library.python.filelock.2084773  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/26216
2025-11-19 21:17:12,870 - DEBUG - library.python.filelock.2084773  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/7139
2025-11-19 21:17:12,870 - DEBUG - library.python.filelock.2084773  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/21312
2025-11-19 21:17:12,870 - DEBUG - library.python.filelock.2084773  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/19126
2025-11-19 21:17:12,871 - DEBUG - library.python.filelock.2084773  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/3176
2025-11-19 21:17:12,871 - DEBUG - library.python.filelock.2084773  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/27525
