2025-12-04 14:14:07,796 - INFO - ya.test.2768287  - pytest_runtest_setup: ####################################################################################################
2025-12-04 14:14:07,796 - INFO - ya.test.2768287  - pytest_runtest_setup: test_database_admin_cant_change_database_admin_user[change-password]
2025-12-04 14:14:07,796 - INFO - ya.test.2768287  - pytest_runtest_setup: ####################################################################################################
2025-12-04 14:14:07,796 - INFO - ya.test.2768287  - pytest_runtest_setup: Test setup
2025-12-04 14:14:07,799 - INFO - ya.test.2768287  - 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 14:14:07,800 - DEBUG - ydb.connection.2768287  - 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 14:14:07,809 - DEBUG - ydb.connection.2768287  - _prepare_call: RpcState(Login, 69da5ac7-5d62-41c0-8418-e77a4ab6e2f1, localhost:65471): creating call state
2025-12-04 14:14:07,812 - DEBUG - ydb.connection.2768287  - _log_request: RpcState(Login, 69da5ac7-5d62-41c0-8418-e77a4ab6e2f1, localhost:65471): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-12-04 14:14:07,826 - DEBUG - ydb.connection.2768287  - _log_response: RpcState(Login, 69da5ac7-5d62-41c0-8418-e77a4ab6e2f1, localhost:65471): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzY0OTAwODQ3LCJpYXQiOjE3NjQ4NTc2NDcsInN1YiI6ImRiYWRtaW4ifQ.nx3hi0gmIUxcr09aYM7wyk_fK7c0unBkbGCSc9cfBHutLKcNY5bM55E6oFIcMp6rIzvt541r4p22xKKEoPwXACdnDuvqO-WTI8uHcKmTnMIQtwcTfhyD2RQYuohHj5qV23sHphE2gHFreYyk3AGyJ4TVHGZreFs2Q4oAoh_HzwbrZT7Py1dBjAVaoAjRyrm1m7S6ZiUpaALqRXu96l3vkfr8w-YXSwckQpyt018uaUN6mXJAhcCBz603RiZFHvFbrP0f3I8_8dBenLFGvQtZbP2DT3PEW89x9yDOO75eHkd9EUD3zAsMuyKwoTCAYNiax15krCqjcoDvCgdXLHXqeA" } } } }
2025-12-04 14:14:07,827 - DEBUG - ydb.connection.2768287  - close: Closing channel for endpoint localhost:65471
2025-12-04 14:14:08,015 - DEBUG - ydb.connection.2768287  - 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 14:14:08,029 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.2768287  - context_resolve: Preparing initial endpoint to resolve endpoints
2025-12-04 14:14:08,029 - DEBUG - ydb.connection.2768287  - 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 14:14:08,039 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.2768287  - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-12-04 14:14:08,040 - DEBUG - ydb.connection.2768287  - _prepare_call: RpcState(ListEndpoints, accc5b44-8144-48db-b1b5-31cc6f0f0435, localhost:65471): creating call state
2025-12-04 14:14:08,040 - DEBUG - ydb.connection.2768287  - _log_request: RpcState(ListEndpoints, accc5b44-8144-48db-b1b5-31cc6f0f0435, localhost:65471): request = { database: "/Root/test_user_administration" }
2025-12-04 14:14:08,043 - DEBUG - ydb.connection.2768287  - _log_response: RpcState(ListEndpoints, accc5b44-8144-48db-b1b5-31cc6f0f0435, localhost:65471): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-e3snp7fbzi.auto.internal" port: 16868 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 14:14:08,044 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.2768287  - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-e3snp7fbzi.auto.internal:16868, location , ssl: False>]>
2025-12-04 14:14:08,044 - DEBUG - ydb.connection.2768287  - 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 14:14:08,053 - DEBUG - ydb.connection.2768287  - close: Closing channel for endpoint localhost:65471
2025-12-04 14:14:08,054 - DEBUG - ydb.table.SessionPool.2768287  - subscribe: Active session queue is empty, subscribe waiter for a session
2025-12-04 14:14:08,055 - DEBUG - ydb.table.SessionPool.2768287  - subscribe: Subscribe waiter <Future at 0x7f4e50f00d30 state=pending>
2025-12-04 14:14:08,083 - DEBUG - ydb.table.SessionPool.2768287  - subscribe: Session pool is not large enough (active_count < size: 0 < 100). will create a new session.
2025-12-04 14:14:08,083 - DEBUG - ydb.table.SessionPool.2768287  - _create: Created session <ydb.table.Session object at 0x7f4e50f00c40>
2025-12-04 14:14:08,083 - DEBUG - ydb.table.SessionPool.2768287  - _prepare: Preparing session <ydb.table.Session object at 0x7f4e50f00c40>
2025-12-04 14:14:08,084 - DEBUG - ydb.connection.2768287  - _prepare_call: RpcState(CreateSession, edc94753-7aee-48ef-9769-f8c428a120b6, ghrun-e3snp7fbzi.auto.internal:16868): creating call state
2025-12-04 14:14:08,084 - DEBUG - ydb.connection.2768287  - _log_request: RpcState(CreateSession, edc94753-7aee-48ef-9769-f8c428a120b6, ghrun-e3snp7fbzi.auto.internal:16868): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-12-04 14:14:08,090 - DEBUG - ydb.connection.2768287  - _on_response_callback: RpcState(CreateSession, edc94753-7aee-48ef-9769-f8c428a120b6, ghrun-e3snp7fbzi.auto.internal:16868): on response callback started
2025-12-04 14:14:08,091 - DEBUG - ydb.connection.2768287  - _log_response: RpcState(CreateSession, edc94753-7aee-48ef-9769-f8c428a120b6, ghrun-e3snp7fbzi.auto.internal:16868): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=MTk0NzA0NTAtYzEwYzZkNTAtZGY1YTUwODYtY2EwYzUyM2E=" } } } }
2025-12-04 14:14:08,115 - DEBUG - ydb.table.SessionPool.2768287  - put: Put on session <ydb.table.Session object at 0x7f4e50f00c40>
2025-12-04 14:14:08,143 - DEBUG - ydb.table.SessionPool.2768287  - put: Replying to waiter with a session <ydb.table.Session object at 0x7f4e50f00c40>
2025-12-04 14:14:08,143 - DEBUG - ydb.connection.2768287  - _on_response_callback: RpcState(CreateSession, edc94753-7aee-48ef-9769-f8c428a120b6, ghrun-e3snp7fbzi.auto.internal:16868): on response callback success
2025-12-04 14:14:08,144 - DEBUG - ydb.connection.2768287  - _prepare_call: RpcState(ExecuteSchemeQuery, ec814407-4334-49f2-a2f9-6965af2a1105, ghrun-e3snp7fbzi.auto.internal:16868): creating call state
2025-12-04 14:14:08,145 - DEBUG - ydb.connection.2768287  - _log_request: RpcState(ExecuteSchemeQuery, ec814407-4334-49f2-a2f9-6965af2a1105, ghrun-e3snp7fbzi.auto.internal:16868): request = { session_id: "ydb://session/3?node_id=50000&id=MTk0NzA0NTAtYzEwYzZkNTAtZGY1YTUwODYtY2EwYzUyM2E=" yql_text: "alter user dbadmin2 password \"4321\"" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-12-04 14:14:08,157 - DEBUG - ydb.connection.2768287  - _log_response: RpcState(ExecuteSchemeQuery, ec814407-4334-49f2-a2f9-6965af2a1105, ghrun-e3snp7fbzi.auto.internal:16868): 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 14:14:08,158 - DEBUG - ydb.table.SessionPool.2768287  - put: Put on session <ydb.table.Session object at 0x7f4e50f00c40>
2025-12-04 14:14:08,158 - DEBUG - __tests__.test_user_administration.2768287  - 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 14:14:08,159 - DEBUG - ydb.topic.2768287  - close: Close topic client
2025-12-04 14:14:08,159 - DEBUG - ydb.topic.2768287  - close: Topic client was closed
2025-12-04 14:14:08,159 - DEBUG - ydb.connection.2768287  - close: Closing channel for endpoint localhost:65471
2025-12-04 14:14:08,243 - DEBUG - ydb.connection.2768287  - close: Closing channel for endpoint ghrun-e3snp7fbzi.auto.internal:16868
2025-12-04 14:14:08,259 - INFO - ydb.pool.Discovery.2768287  - run: Successfully terminated discovery process
2025-12-04 14:14:08,261 - INFO - ya.test.2768287  - pytest_runtest_teardown: Test teardown
2025-12-04 14:14:08,262 - DEBUG - ydb.tests.library.fixtures.2768287  - ydb_database_ctx: destroy database /Root/test_user_administration: remove path and dismantle internals
2025-12-04 14:14:08,262 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.2768287  - remove_database: /Root/test_user_administration
2025-12-04 14:14:08,262 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.2768287  - _remove_database_send_op: /Root/test_user_administration: send console operation, token root@builtin
2025-12-04 14:14:08,275 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.2768287  - _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=1764857648267910&action=2"
    }
  }
}
Status {
  Code: STATUS_CODE_UNSPECIFIED
}

2025-12-04 14:14:08,284 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.2768287  - _remove_database_wait_op: /Root/test_user_administration: wait console operation done
2025-12-04 14:14:08,794 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.2768287  - _remove_database_wait_op: /Root/test_user_administration: console operation done
2025-12-04 14:14:08,794 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.2768287  - _remove_database_wait_tenant_gone: /Root/test_user_administration: wait tenant gone
2025-12-04 14:14:08,798 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.2768287  - _remove_database_wait_tenant_gone: /Root/test_user_administration: tenant gone
2025-12-04 14:14:08,799 - DEBUG - ydb.tests.library.fixtures.2768287  - ydb_database_ctx: destroy database /Root/test_user_administration: stop nodes
2025-12-04 14:14:25,805 - INFO - ydb.tests.library.harness.kikimr_runner.2768287  - stop: Stopped node localhost:16868/1
2025-12-04 14:14:25,805 - DEBUG - ydb.tests.library.fixtures.2768287  - ydb_database_ctx: destroy database /Root/test_user_administration: database down
2025-12-04 14:14:25,807 - INFO - ydb.tests.library.fixtures.2768287  - ydb_cluster: destroy ydb_cluster for __tests__.test_user_administration
2025-12-04 14:14:42,811 - INFO - ydb.tests.library.harness.kikimr_runner.2768287  - stop: Stopped node localhost:65471/1
2025-12-04 14:14:42,814 - DEBUG - library.python.filelock.2768287  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/7226
2025-12-04 14:14:42,815 - DEBUG - library.python.filelock.2768287  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/6902
2025-12-04 14:14:42,816 - DEBUG - library.python.filelock.2768287  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/17588
2025-12-04 14:14:42,816 - DEBUG - library.python.filelock.2768287  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/2027
2025-12-04 14:14:42,816 - DEBUG - library.python.filelock.2768287  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/16868
2025-12-04 14:14:42,816 - DEBUG - library.python.filelock.2768287  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/19929
2025-12-04 14:14:42,817 - DEBUG - library.python.filelock.2768287  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/13219
2025-12-04 14:14:42,818 - DEBUG - library.python.filelock.2768287  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/32274
2025-12-04 14:14:42,818 - DEBUG - library.python.filelock.2768287  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/65471
2025-12-04 14:14:42,818 - DEBUG - library.python.filelock.2768287  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/14237
