2025-12-07 20:07:24,077 - INFO - ya.test.1715290  - pytest_runtest_setup: ####################################################################################################
2025-12-07 20:07:24,077 - INFO - ya.test.1715290  - pytest_runtest_setup: test_database_admin_cant_change_database_admin_group[remove-himself]
2025-12-07 20:07:24,077 - INFO - ya.test.1715290  - pytest_runtest_setup: ####################################################################################################
2025-12-07 20:07:24,078 - INFO - ya.test.1715290  - pytest_runtest_setup: Test setup
2025-12-07 20:07:24,079 - INFO - ya.test.1715290  - 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-07 20:07:24,079 - DEBUG - ydb.connection.1715290  - 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-07 20:07:24,083 - DEBUG - ydb.connection.1715290  - _prepare_call: RpcState(Login, 44cab7b5-1d3f-4767-a8cc-5e114a2b4435, localhost:21893): creating call state
2025-12-07 20:07:24,083 - DEBUG - ydb.connection.1715290  - _log_request: RpcState(Login, 44cab7b5-1d3f-4767-a8cc-5e114a2b4435, localhost:21893): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-12-07 20:07:24,091 - DEBUG - ydb.connection.1715290  - _log_response: RpcState(Login, 44cab7b5-1d3f-4767-a8cc-5e114a2b4435, localhost:21893): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzY1MTgxMjQ0LCJpYXQiOjE3NjUxMzgwNDQsInN1YiI6ImRiYWRtaW4ifQ.WIm09fdXyKOf8gA8ytfQK8xzqV19wM5lKMEdxEmqE5nhMBwN_mRLQgsvOmeZBM05m5Tii4izEjAwBI5x4IPS22G7Bxde5FElx6Jlu8oPt55K8yOKeJqhDuKRns4F-EJJ14W739G5qWOCy2_zZlv39IcvQ5KFBI32umaj4QiJnuT3FhXSPqxyI_P7_6Z_5-8jFQczXL3BzYKiZi8VS9TGPYofTwr6FQrbo74UFItB6y9sjjccGGXAxv2ILkl6zGy84s1VevHDEvYvDseQcCRctDEj5Dgnj6UiTt9otTpVG1I7bN-o-6riYmk9wFxxEXUW7YQKx98aRCXaCKZFfD-Hzg" } } } }
2025-12-07 20:07:24,091 - DEBUG - ydb.connection.1715290  - close: Closing channel for endpoint localhost:21893
2025-12-07 20:07:24,286 - DEBUG - ydb.connection.1715290  - 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-07 20:07:24,287 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.1715290  - context_resolve: Preparing initial endpoint to resolve endpoints
2025-12-07 20:07:24,288 - DEBUG - ydb.connection.1715290  - 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-07 20:07:24,292 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.1715290  - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-12-07 20:07:24,293 - DEBUG - ydb.connection.1715290  - _prepare_call: RpcState(ListEndpoints, 1f831316-38db-4c5c-ad14-7c1a78e51ae0, localhost:21893): creating call state
2025-12-07 20:07:24,293 - DEBUG - ydb.connection.1715290  - _log_request: RpcState(ListEndpoints, 1f831316-38db-4c5c-ad14-7c1a78e51ae0, localhost:21893): request = { database: "/Root/test_user_administration" }
2025-12-07 20:07:24,296 - DEBUG - ydb.connection.1715290  - _log_response: RpcState(ListEndpoints, 1f831316-38db-4c5c-ad14-7c1a78e51ae0, localhost:21893): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-gishsengma.auto.internal" port: 30644 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-07 20:07:24,296 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.1715290  - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-gishsengma.auto.internal:30644, location , ssl: False>]>
2025-12-07 20:07:24,296 - DEBUG - ydb.connection.1715290  - 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-07 20:07:24,303 - DEBUG - ydb.connection.1715290  - close: Closing channel for endpoint localhost:21893
2025-12-07 20:07:24,303 - DEBUG - ydb.table.SessionPool.1715290  - subscribe: Active session queue is empty, subscribe waiter for a session
2025-12-07 20:07:24,304 - DEBUG - ydb.table.SessionPool.1715290  - subscribe: Subscribe waiter <Future at 0x7fd3bf18b260 state=pending>
2025-12-07 20:07:24,304 - DEBUG - ydb.table.SessionPool.1715290  - subscribe: Session pool is not large enough (active_count < size: 0 < 100). will create a new session.
2025-12-07 20:07:24,304 - DEBUG - ydb.table.SessionPool.1715290  - _create: Created session <ydb.table.Session object at 0x7fd3bf1979e0>
2025-12-07 20:07:24,304 - DEBUG - ydb.table.SessionPool.1715290  - _prepare: Preparing session <ydb.table.Session object at 0x7fd3bf1979e0>
2025-12-07 20:07:24,305 - DEBUG - ydb.connection.1715290  - _prepare_call: RpcState(CreateSession, d2085355-4f4c-4dbc-9b3b-1305e7dfc348, ghrun-gishsengma.auto.internal:30644): creating call state
2025-12-07 20:07:24,305 - DEBUG - ydb.connection.1715290  - _log_request: RpcState(CreateSession, d2085355-4f4c-4dbc-9b3b-1305e7dfc348, ghrun-gishsengma.auto.internal:30644): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-12-07 20:07:24,307 - DEBUG - ydb.connection.1715290  - _on_response_callback: RpcState(CreateSession, d2085355-4f4c-4dbc-9b3b-1305e7dfc348, ghrun-gishsengma.auto.internal:30644): on response callback started
2025-12-07 20:07:24,308 - DEBUG - ydb.connection.1715290  - _log_response: RpcState(CreateSession, d2085355-4f4c-4dbc-9b3b-1305e7dfc348, ghrun-gishsengma.auto.internal:30644): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=NWE1ZDAxOTgtNWU0MGZmNTQtNDFkMTExZDgtZmM4NDBiZGQ=" } } } }
2025-12-07 20:07:24,308 - DEBUG - ydb.table.SessionPool.1715290  - put: Put on session <ydb.table.Session object at 0x7fd3bf1979e0>
2025-12-07 20:07:24,308 - DEBUG - ydb.table.SessionPool.1715290  - put: Replying to waiter with a session <ydb.table.Session object at 0x7fd3bf1979e0>
2025-12-07 20:07:24,309 - DEBUG - ydb.connection.1715290  - _on_response_callback: RpcState(CreateSession, d2085355-4f4c-4dbc-9b3b-1305e7dfc348, ghrun-gishsengma.auto.internal:30644): on response callback success
2025-12-07 20:07:24,309 - DEBUG - ydb.connection.1715290  - _prepare_call: RpcState(ExecuteSchemeQuery, 636c9d44-920b-4a1f-97b1-e48805b1fa91, ghrun-gishsengma.auto.internal:30644): creating call state
2025-12-07 20:07:24,310 - DEBUG - ydb.connection.1715290  - _log_request: RpcState(ExecuteSchemeQuery, 636c9d44-920b-4a1f-97b1-e48805b1fa91, ghrun-gishsengma.auto.internal:30644): request = { session_id: "ydb://session/3?node_id=50000&id=NWE1ZDAxOTgtNWU0MGZmNTQtNDFkMTExZDgtZmM4NDBiZGQ=" yql_text: "alter group dbadmins drop user dbadmin" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-12-07 20:07:24,316 - DEBUG - ydb.connection.1715290  - _log_response: RpcState(ExecuteSchemeQuery, 636c9d44-920b-4a1f-97b1-e48805b1fa91, ghrun-gishsengma.auto.internal:30644): 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-07 20:07:24,317 - DEBUG - ydb.table.SessionPool.1715290  - put: Put on session <ydb.table.Session object at 0x7fd3bf1979e0>
2025-12-07 20:07:24,317 - DEBUG - ydb.topic.1715290  - close: Close topic client
2025-12-07 20:07:24,317 - DEBUG - ydb.topic.1715290  - close: Topic client was closed
2025-12-07 20:07:24,318 - DEBUG - ydb.connection.1715290  - close: Closing channel for endpoint localhost:21893
2025-12-07 20:07:24,495 - DEBUG - ydb.connection.1715290  - close: Closing channel for endpoint ghrun-gishsengma.auto.internal:30644
2025-12-07 20:07:24,506 - INFO - ydb.pool.Discovery.1715290  - run: Successfully terminated discovery process
2025-12-07 20:07:24,507 - INFO - ya.test.1715290  - pytest_runtest_teardown: Test teardown
2025-12-07 20:07:24,507 - DEBUG - ydb.tests.library.fixtures.1715290  - ydb_database_ctx: destroy database /Root/test_user_administration: remove path and dismantle internals
2025-12-07 20:07:24,507 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.1715290  - remove_database: /Root/test_user_administration
2025-12-07 20:07:24,507 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.1715290  - _remove_database_send_op: /Root/test_user_administration: send console operation, token root@builtin
2025-12-07 20:07:24,511 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.1715290  - _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=1765138044509677&action=2"
    }
  }
}
Status {
  Code: STATUS_CODE_UNSPECIFIED
}

2025-12-07 20:07:24,512 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.1715290  - _remove_database_wait_op: /Root/test_user_administration: wait console operation done
2025-12-07 20:07:25,015 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.1715290  - _remove_database_wait_op: /Root/test_user_administration: console operation done
2025-12-07 20:07:25,015 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.1715290  - _remove_database_wait_tenant_gone: /Root/test_user_administration: wait tenant gone
2025-12-07 20:07:25,017 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.1715290  - _remove_database_wait_tenant_gone: /Root/test_user_administration: tenant gone
2025-12-07 20:07:25,018 - DEBUG - ydb.tests.library.fixtures.1715290  - ydb_database_ctx: destroy database /Root/test_user_administration: stop nodes
2025-12-07 20:07:37,019 - INFO - ydb.tests.library.harness.kikimr_runner.1715290  - stop: Stopped node localhost:30644/1
2025-12-07 20:07:37,019 - DEBUG - ydb.tests.library.fixtures.1715290  - ydb_database_ctx: destroy database /Root/test_user_administration: database down
2025-12-07 20:07:37,020 - INFO - ydb.tests.library.fixtures.1715290  - ydb_cluster: destroy ydb_cluster for __tests__.test_user_administration
2025-12-07 20:07:54,022 - INFO - ydb.tests.library.harness.kikimr_runner.1715290  - stop: Stopped node localhost:21893/1
2025-12-07 20:07:54,023 - DEBUG - library.python.filelock.1715290  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/63944
2025-12-07 20:07:54,023 - DEBUG - library.python.filelock.1715290  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/1936
2025-12-07 20:07:54,024 - DEBUG - library.python.filelock.1715290  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/22983
2025-12-07 20:07:54,024 - DEBUG - library.python.filelock.1715290  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/32542
2025-12-07 20:07:54,024 - DEBUG - library.python.filelock.1715290  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/30644
2025-12-07 20:07:54,024 - DEBUG - library.python.filelock.1715290  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/19575
2025-12-07 20:07:54,024 - DEBUG - library.python.filelock.1715290  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/1406
2025-12-07 20:07:54,024 - DEBUG - library.python.filelock.1715290  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/12899
2025-12-07 20:07:54,025 - DEBUG - library.python.filelock.1715290  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/21893
2025-12-07 20:07:54,025 - DEBUG - library.python.filelock.1715290  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/25968
