2025-11-01 16:45:19,588 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-01 16:45:19,588 - INFO - ya.test - pytest_runtest_setup: test_database_admin_cant_change_database_admin_group[remove-himself]
2025-11-01 16:45:19,588 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-01 16:45:19,589 - INFO - ya.test - pytest_runtest_setup: Test setup
2025-11-01 16:45:19,591 - 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-01 16:45:19,591 - 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-01 16:45:19,606 - DEBUG - ydb.connection - _prepare_call: RpcState(Login, 6af11cdf-d1e7-4d40-a76a-9214f488df3c, localhost:2591): creating call state
2025-11-01 16:45:19,607 - DEBUG - ydb.connection - _log_request: RpcState(Login, 6af11cdf-d1e7-4d40-a76a-9214f488df3c, localhost:2591): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-11-01 16:45:19,629 - DEBUG - ydb.connection - _log_response: RpcState(Login, 6af11cdf-d1e7-4d40-a76a-9214f488df3c, localhost:2591): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzYyMDU4NzE5LCJpYXQiOjE3NjIwMTU1MTksInN1YiI6ImRiYWRtaW4ifQ.I00xW6keThPJHR-UC18WlOplxvmSHtcV6Ptvuf6Y-Uk08h0L6zSC0XUwwRKpW20Mz8LK-dtGW94ztwSl1rpmJzTqJHflkqancWyHflGkGtYJrnpnOvlRL2Qwbx5-jioin60fri5L4k4DnG--qoBQqTfzICDbGleiU92D_qCLEwwfMfWHO5ZkZE5YWBKZMSJhfyANAEvuRN_DlF3TfK4UoateVR5pgB-Ek1SBOLcVOOeTuvEAv5DUYFTGkUJdYjEmn-g3a4CclKgSh_vtMrXCNfTBISifD9XU2IcHDtALXbgOhB_Nb1sEXo-XLxuZggnqylft5Sy4HmZFgYIfNzLSPQ" } } } }
2025-11-01 16:45:19,630 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:2591
2025-11-01 16:45:19,811 - 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-01 16:45:19,826 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Preparing initial endpoint to resolve endpoints
2025-11-01 16:45:19,828 - 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-01 16:45:19,843 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-11-01 16:45:19,844 - DEBUG - ydb.connection - _prepare_call: RpcState(ListEndpoints, ae2824ed-2b13-4efe-afd0-2cc25cdf0f1e, localhost:2591): creating call state
2025-11-01 16:45:19,845 - DEBUG - ydb.connection - _log_request: RpcState(ListEndpoints, ae2824ed-2b13-4efe-afd0-2cc25cdf0f1e, localhost:2591): request = { database: "/Root/test_user_administration" }
2025-11-01 16:45:19,847 - DEBUG - ydb.connection - _log_response: RpcState(ListEndpoints, ae2824ed-2b13-4efe-afd0-2cc25cdf0f1e, localhost:2591): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-tvlw7frnpa.auto.internal" port: 11305 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-01 16:45:19,852 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-tvlw7frnpa.auto.internal:11305, location , ssl: False>]>
2025-11-01 16:45:19,853 - 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-01 16:45:19,867 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:2591
2025-11-01 16:45:19,868 - DEBUG - ydb.table.SessionPool - subscribe: Active session queue is empty, subscribe waiter for a session
2025-11-01 16:45:19,868 - DEBUG - ydb.table.SessionPool - subscribe: Subscribe waiter <Future at 0x7f9321aaeef0 state=pending>
2025-11-01 16:45:19,868 - DEBUG - ydb.table.SessionPool - subscribe: Session pool is not large enough (active_count < size: 0 < 100). will create a new session.
2025-11-01 16:45:19,869 - DEBUG - ydb.table.SessionPool - _create: Created session <ydb.table.Session object at 0x7f9321aaf800>
2025-11-01 16:45:19,869 - DEBUG - ydb.table.SessionPool - _prepare: Preparing session <ydb.table.Session object at 0x7f9321aaf800>
2025-11-01 16:45:19,869 - DEBUG - ydb.connection - _prepare_call: RpcState(CreateSession, 7baa7c76-2c44-4797-b51c-4f54095e248c, ghrun-tvlw7frnpa.auto.internal:11305): creating call state
2025-11-01 16:45:19,870 - DEBUG - ydb.connection - _log_request: RpcState(CreateSession, 7baa7c76-2c44-4797-b51c-4f54095e248c, ghrun-tvlw7frnpa.auto.internal:11305): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-11-01 16:45:19,875 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, 7baa7c76-2c44-4797-b51c-4f54095e248c, ghrun-tvlw7frnpa.auto.internal:11305): on response callback started
2025-11-01 16:45:19,875 - DEBUG - ydb.connection - _log_response: RpcState(CreateSession, 7baa7c76-2c44-4797-b51c-4f54095e248c, ghrun-tvlw7frnpa.auto.internal:11305): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=NzQ2MWI0ZjktNDlhOTQxZmItMmJjMjQwMC0yYWEzODVlMg==" } } } }
2025-11-01 16:45:19,876 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7f9321aaf800>
2025-11-01 16:45:19,876 - DEBUG - ydb.table.SessionPool - put: Replying to waiter with a session <ydb.table.Session object at 0x7f9321aaf800>
2025-11-01 16:45:19,876 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, 7baa7c76-2c44-4797-b51c-4f54095e248c, ghrun-tvlw7frnpa.auto.internal:11305): on response callback success
2025-11-01 16:45:19,877 - DEBUG - ydb.connection - _prepare_call: RpcState(ExecuteSchemeQuery, 53bea1c9-513b-4666-8fa7-debbf373e03d, ghrun-tvlw7frnpa.auto.internal:11305): creating call state
2025-11-01 16:45:19,883 - DEBUG - ydb.connection - _log_request: RpcState(ExecuteSchemeQuery, 53bea1c9-513b-4666-8fa7-debbf373e03d, ghrun-tvlw7frnpa.auto.internal:11305): request = { session_id: "ydb://session/3?node_id=50000&id=NzQ2MWI0ZjktNDlhOTQxZmItMmJjMjQwMC0yYWEzODVlMg==" yql_text: "alter group dbadmins drop user dbadmin" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-11-01 16:45:19,891 - DEBUG - ydb.connection - _log_response: RpcState(ExecuteSchemeQuery, 53bea1c9-513b-4666-8fa7-debbf373e03d, ghrun-tvlw7frnpa.auto.internal:11305): 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-01 16:45:19,892 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7f9321aaf800>
2025-11-01 16:45:19,892 - DEBUG - ydb.topic - close: Close topic client
2025-11-01 16:45:19,892 - DEBUG - ydb.topic - close: Topic client was closed
2025-11-01 16:45:19,892 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:2591
2025-11-01 16:45:20,046 - DEBUG - ydb.connection - close: Closing channel for endpoint ghrun-tvlw7frnpa.auto.internal:11305
2025-11-01 16:45:20,069 - INFO - ydb.pool.Discovery - run: Successfully terminated discovery process
2025-11-01 16:45:20,072 - INFO - ya.test - pytest_runtest_teardown: Test teardown
2025-11-01 16:45:20,088 - DEBUG - ydb.tests.library.fixtures - ydb_database_ctx: destroy database /Root/test_user_administration: remove path and dismantle internals
2025-11-01 16:45:20,089 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - remove_database: /Root/test_user_administration
2025-11-01 16:45:20,089 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_send_op: /Root/test_user_administration: send console operation, token root@builtin
2025-11-01 16:45:20,102 - 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=1762015520094136&action=2"
    }
  }
}
Status {
  Code: STATUS_CODE_UNSPECIFIED
}

2025-11-01 16:45:20,103 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_wait_op: /Root/test_user_administration: wait console operation done
2025-11-01 16:45:20,612 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_wait_op: /Root/test_user_administration: console operation done
2025-11-01 16:45:20,615 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_wait_tenant_gone: /Root/test_user_administration: wait tenant gone
2025-11-01 16:45:20,621 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_wait_tenant_gone: /Root/test_user_administration: tenant gone
2025-11-01 16:45:20,622 - DEBUG - ydb.tests.library.fixtures - ydb_database_ctx: destroy database /Root/test_user_administration: stop nodes
2025-11-01 16:45:32,623 - INFO - ydb.tests.library.harness.kikimr_runner - stop: Stopped node localhost:11305/1
2025-11-01 16:45:32,623 - DEBUG - ydb.tests.library.fixtures - ydb_database_ctx: destroy database /Root/test_user_administration: database down
2025-11-01 16:45:32,625 - INFO - ydb.tests.library.fixtures - ydb_cluster: destroy ydb_cluster for __tests__.test_user_administration
2025-11-01 16:45:49,631 - INFO - ydb.tests.library.harness.kikimr_runner - stop: Stopped node localhost:2591/1
2025-11-01 16:45:49,634 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/26778
2025-11-01 16:45:49,635 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/19289
2025-11-01 16:45:49,635 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/15954
2025-11-01 16:45:49,635 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/12195
2025-11-01 16:45:49,635 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/11305
2025-11-01 16:45:49,635 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/21333
2025-11-01 16:45:49,640 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/7548
2025-11-01 16:45:49,648 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/61167
2025-11-01 16:45:49,649 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/2591
2025-11-01 16:45:49,649 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/27932
