2025-12-04 15:50:52,471 - INFO - ya.test.3009201  - pytest_runtest_setup: ####################################################################################################
2025-12-04 15:50:52,471 - INFO - ya.test.3009201  - pytest_runtest_setup: test_database_admin_cant_change_database_admin_user[change-password]
2025-12-04 15:50:52,472 - INFO - ya.test.3009201  - pytest_runtest_setup: ####################################################################################################
2025-12-04 15:50:52,472 - INFO - ya.test.3009201  - pytest_runtest_setup: Test setup
2025-12-04 15:50:52,473 - INFO - ya.test.3009201  - pytest_runtest_call: Test call (class_name: test_user_administration.py, test_name: test_database_admin_cant_change_database_admin_user[change-password])
2025-12-04 15:50:52,474 - DEBUG - ydb.connection.3009201  - 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-04 15:50:52,488 - DEBUG - ydb.connection.3009201  - _prepare_call: RpcState(Login, d7b182cc-1751-4608-9286-4b6ab048f56f, localhost:2849): creating call state
2025-12-04 15:50:52,489 - DEBUG - ydb.connection.3009201  - _log_request: RpcState(Login, d7b182cc-1751-4608-9286-4b6ab048f56f, localhost:2849): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-12-04 15:50:52,496 - DEBUG - ydb.connection.3009201  - _log_response: RpcState(Login, d7b182cc-1751-4608-9286-4b6ab048f56f, localhost:2849): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzY0OTA2NjUyLCJpYXQiOjE3NjQ4NjM0NTIsInN1YiI6ImRiYWRtaW4ifQ.gZ_S50y_oLH3MT6hNLfOdh9pSmQ88IosaGiShlNzbq5-R7RLxL_wJe0aaEj9fmrQRFDe_pxvRz2CE5VQJJLvgTFbxZQphZ2YFOUqh3wGm6LGU-0PqHVVQ3kD5R8oq3N2JeZYqHxOHQx1yO_BwIYSWlBD3bty0ZM9ubN-sVYV6cXZoFUC3Y2JZY3D806lFuvYhGaT7r6PNuyd5jVK7KuwyXgZXK8phesfpZldBSYpAp2DgKnKvYQFzlRHrRjGPT01rZiHlYdDFU0fhJEzikQa8vOfleXa9V5QQIt7TiSdRJ8_gPHsPJCBpLxRk-w_od1XoS9oQXsABlXqY4O_ULptDw" } } } }
2025-12-04 15:50:52,497 - DEBUG - ydb.connection.3009201  - close: Closing channel for endpoint localhost:2849
2025-12-04 15:50:52,691 - DEBUG - ydb.connection.3009201  - 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-04 15:50:52,693 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.3009201  - context_resolve: Preparing initial endpoint to resolve endpoints
2025-12-04 15:50:52,694 - DEBUG - ydb.connection.3009201  - 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-04 15:50:52,699 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.3009201  - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-12-04 15:50:52,699 - DEBUG - ydb.connection.3009201  - _prepare_call: RpcState(ListEndpoints, 57e5c2c2-b3a5-4889-85ff-5b328414dd60, localhost:2849): creating call state
2025-12-04 15:50:52,699 - DEBUG - ydb.connection.3009201  - _log_request: RpcState(ListEndpoints, 57e5c2c2-b3a5-4889-85ff-5b328414dd60, localhost:2849): request = { database: "/Root/test_user_administration" }
2025-12-04 15:50:52,703 - DEBUG - ydb.connection.3009201  - _log_response: RpcState(ListEndpoints, 57e5c2c2-b3a5-4889-85ff-5b328414dd60, localhost:2849): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-sexpwiqojm.auto.internal" port: 20389 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-04 15:50:52,703 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.3009201  - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-sexpwiqojm.auto.internal:20389, location , ssl: False>]>
2025-12-04 15:50:52,704 - DEBUG - ydb.connection.3009201  - 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-04 15:50:52,711 - DEBUG - ydb.connection.3009201  - close: Closing channel for endpoint localhost:2849
2025-12-04 15:50:52,712 - DEBUG - ydb.table.SessionPool.3009201  - subscribe: Active session queue is empty, subscribe waiter for a session
2025-12-04 15:50:52,712 - DEBUG - ydb.table.SessionPool.3009201  - subscribe: Subscribe waiter <Future at 0x7fe33d423ad0 state=pending>
2025-12-04 15:50:52,713 - DEBUG - ydb.table.SessionPool.3009201  - subscribe: Session pool is not large enough (active_count < size: 0 < 100). will create a new session.
2025-12-04 15:50:52,713 - DEBUG - ydb.table.SessionPool.3009201  - _create: Created session <ydb.table.Session object at 0x7fe33d423a80>
2025-12-04 15:50:52,713 - DEBUG - ydb.table.SessionPool.3009201  - _prepare: Preparing session <ydb.table.Session object at 0x7fe33d423a80>
2025-12-04 15:50:52,713 - DEBUG - ydb.connection.3009201  - _prepare_call: RpcState(CreateSession, 6cd88271-4cb3-4d84-b68d-020160df35d4, ghrun-sexpwiqojm.auto.internal:20389): creating call state
2025-12-04 15:50:52,714 - DEBUG - ydb.connection.3009201  - _log_request: RpcState(CreateSession, 6cd88271-4cb3-4d84-b68d-020160df35d4, ghrun-sexpwiqojm.auto.internal:20389): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-12-04 15:50:52,717 - DEBUG - ydb.connection.3009201  - _on_response_callback: RpcState(CreateSession, 6cd88271-4cb3-4d84-b68d-020160df35d4, ghrun-sexpwiqojm.auto.internal:20389): on response callback started
2025-12-04 15:50:52,718 - DEBUG - ydb.connection.3009201  - _log_response: RpcState(CreateSession, 6cd88271-4cb3-4d84-b68d-020160df35d4, ghrun-sexpwiqojm.auto.internal:20389): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=NzVlODljYTItZDVhYmE4NjUtNDdhNjA0NDktYWZhZTU1MmY=" } } } }
2025-12-04 15:50:52,718 - DEBUG - ydb.table.SessionPool.3009201  - put: Put on session <ydb.table.Session object at 0x7fe33d423a80>
2025-12-04 15:50:52,719 - DEBUG - ydb.table.SessionPool.3009201  - put: Replying to waiter with a session <ydb.table.Session object at 0x7fe33d423a80>
2025-12-04 15:50:52,719 - DEBUG - ydb.connection.3009201  - _prepare_call: RpcState(ExecuteSchemeQuery, 35a7ac99-1c5d-4ebb-9856-0ef227ae3ace, ghrun-sexpwiqojm.auto.internal:20389): creating call state
2025-12-04 15:50:52,720 - DEBUG - ydb.connection.3009201  - _on_response_callback: RpcState(CreateSession, 6cd88271-4cb3-4d84-b68d-020160df35d4, ghrun-sexpwiqojm.auto.internal:20389): on response callback success
2025-12-04 15:50:52,722 - DEBUG - ydb.connection.3009201  - _log_request: RpcState(ExecuteSchemeQuery, 35a7ac99-1c5d-4ebb-9856-0ef227ae3ace, ghrun-sexpwiqojm.auto.internal:20389): request = { session_id: "ydb://session/3?node_id=50000&id=NzVlODljYTItZDVhYmE4NjUtNDdhNjA0NDktYWZhZTU1MmY=" yql_text: "alter user dbadmin2 password \"4321\"" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-12-04 15:50:52,730 - DEBUG - ydb.connection.3009201  - _log_response: RpcState(ExecuteSchemeQuery, 35a7ac99-1c5d-4ebb-9856-0ef227ae3ace, ghrun-sexpwiqojm.auto.internal:20389): response = { operation { ready: true status: UNAUTHORIZED issues { message: "Execution" issue_code: 1060 severity: 1 issues { position { row: 1 column: 1 } message: "Executing ALTER USER" 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-04 15:50:52,731 - DEBUG - ydb.table.SessionPool.3009201  - put: Put on session <ydb.table.Session object at 0x7fe33d423a80>
2025-12-04 15:50:52,732 - DEBUG - __tests__.test_user_administration.3009201  - test_database_admin_cant_change_database_admin_user: message: "Execution" issue_code: 1060 severity: 1 issues { position { row: 1 column: 1 } message: "Executing ALTER USER" 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 } } } (server_code: 400020)
2025-12-04 15:50:52,732 - DEBUG - ydb.topic.3009201  - close: Close topic client
2025-12-04 15:50:52,732 - DEBUG - ydb.topic.3009201  - close: Topic client was closed
2025-12-04 15:50:52,732 - DEBUG - ydb.connection.3009201  - close: Closing channel for endpoint localhost:2849
2025-12-04 15:50:52,902 - DEBUG - ydb.connection.3009201  - close: Closing channel for endpoint ghrun-sexpwiqojm.auto.internal:20389
2025-12-04 15:50:52,914 - INFO - ydb.pool.Discovery.3009201  - run: Successfully terminated discovery process
2025-12-04 15:50:52,915 - INFO - ya.test.3009201  - pytest_runtest_teardown: Test teardown
2025-12-04 15:50:52,916 - DEBUG - ydb.tests.library.fixtures.3009201  - ydb_database_ctx: destroy database /Root/test_user_administration: remove path and dismantle internals
2025-12-04 15:50:52,916 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.3009201  - remove_database: /Root/test_user_administration
2025-12-04 15:50:52,916 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.3009201  - _remove_database_send_op: /Root/test_user_administration: send console operation, token root@builtin
2025-12-04 15:50:52,923 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.3009201  - _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=1764863452917843&action=2"
    }
  }
}
Status {
  Code: STATUS_CODE_UNSPECIFIED
}

2025-12-04 15:50:52,924 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.3009201  - _remove_database_wait_op: /Root/test_user_administration: wait console operation done
2025-12-04 15:50:53,428 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.3009201  - _remove_database_wait_op: /Root/test_user_administration: console operation done
2025-12-04 15:50:53,428 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.3009201  - _remove_database_wait_tenant_gone: /Root/test_user_administration: wait tenant gone
2025-12-04 15:50:53,432 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.3009201  - _remove_database_wait_tenant_gone: /Root/test_user_administration: tenant gone
2025-12-04 15:50:53,432 - DEBUG - ydb.tests.library.fixtures.3009201  - ydb_database_ctx: destroy database /Root/test_user_administration: stop nodes
2025-12-04 15:51:05,434 - INFO - ydb.tests.library.harness.kikimr_runner.3009201  - stop: Stopped node localhost:20389/1
2025-12-04 15:51:05,434 - DEBUG - ydb.tests.library.fixtures.3009201  - ydb_database_ctx: destroy database /Root/test_user_administration: database down
2025-12-04 15:51:05,435 - INFO - ydb.tests.library.fixtures.3009201  - ydb_cluster: destroy ydb_cluster for __tests__.test_user_administration
2025-12-04 15:51:22,438 - INFO - ydb.tests.library.harness.kikimr_runner.3009201  - stop: Stopped node localhost:2849/1
2025-12-04 15:51:22,440 - DEBUG - library.python.filelock.3009201  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/26498
2025-12-04 15:51:22,441 - DEBUG - library.python.filelock.3009201  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/27452
2025-12-04 15:51:22,441 - DEBUG - library.python.filelock.3009201  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/26803
2025-12-04 15:51:22,441 - DEBUG - library.python.filelock.3009201  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/18938
2025-12-04 15:51:22,441 - DEBUG - library.python.filelock.3009201  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/20389
2025-12-04 15:51:22,441 - DEBUG - library.python.filelock.3009201  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/24354
2025-12-04 15:51:22,442 - DEBUG - library.python.filelock.3009201  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/61796
2025-12-04 15:51:22,442 - DEBUG - library.python.filelock.3009201  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/23938
2025-12-04 15:51:22,442 - DEBUG - library.python.filelock.3009201  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/2849
2025-12-04 15:51:22,442 - DEBUG - library.python.filelock.3009201  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/23944
