2025-12-06 21:24:47,277 - INFO - ya.test.1680302  - pytest_runtest_setup: ####################################################################################################
2025-12-06 21:24:47,277 - INFO - ya.test.1680302  - pytest_runtest_setup: test_database_admin_cant_change_database_admin_user[change-password]
2025-12-06 21:24:47,277 - INFO - ya.test.1680302  - pytest_runtest_setup: ####################################################################################################
2025-12-06 21:24:47,278 - INFO - ya.test.1680302  - pytest_runtest_setup: Test setup
2025-12-06 21:24:47,279 - INFO - ya.test.1680302  - 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-06 21:24:47,279 - DEBUG - ydb.connection.1680302  - 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-06 21:24:47,283 - DEBUG - ydb.connection.1680302  - _prepare_call: RpcState(Login, 6deae1a9-1388-4682-969f-0556668be72a, localhost:3674): creating call state
2025-12-06 21:24:47,283 - DEBUG - ydb.connection.1680302  - _log_request: RpcState(Login, 6deae1a9-1388-4682-969f-0556668be72a, localhost:3674): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-12-06 21:24:47,291 - DEBUG - ydb.connection.1680302  - _log_response: RpcState(Login, 6deae1a9-1388-4682-969f-0556668be72a, localhost:3674): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzY1MDk5NDg3LCJpYXQiOjE3NjUwNTYyODcsInN1YiI6ImRiYWRtaW4ifQ.MbPjLhnimc3QA_xFl-kbMuErC8lVfeOQfW3bbRk2vZyVTj_TsCUZIDdXQCNCl6lD4RMbIvzDFPDJlEvXz_RiP-SQYDihEDxKAgFPB3s0AzABMWYnRpwavzhy30tCPTHYTA1YXD0mBY40hG0q9M-J7AqwNsf8id7jTmQqCjFoPq5wdW2XLVsKni2YiG1DRQXqF-nF0tEvmFpZZrvBR59FqhoQjD3mFv_1VF95XenP22wbIL3kJB9WrZ-m8-bRGQOybO3dTvT9KdmQRhzw9ann-RRNnCzzI8fl0HC3WyOhrrm_rPa8x0yfp-261SAcB0p14WUcPXjaaAwr70gN0_ZXYw" } } } }
2025-12-06 21:24:47,291 - DEBUG - ydb.connection.1680302  - close: Closing channel for endpoint localhost:3674
2025-12-06 21:24:47,486 - DEBUG - ydb.connection.1680302  - 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-06 21:24:47,488 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.1680302  - context_resolve: Preparing initial endpoint to resolve endpoints
2025-12-06 21:24:47,489 - DEBUG - ydb.connection.1680302  - 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-06 21:24:47,493 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.1680302  - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-12-06 21:24:47,493 - DEBUG - ydb.connection.1680302  - _prepare_call: RpcState(ListEndpoints, a6a8830f-6977-4414-bef9-e66881a520d8, localhost:3674): creating call state
2025-12-06 21:24:47,493 - DEBUG - ydb.connection.1680302  - _log_request: RpcState(ListEndpoints, a6a8830f-6977-4414-bef9-e66881a520d8, localhost:3674): request = { database: "/Root/test_user_administration" }
2025-12-06 21:24:47,496 - DEBUG - ydb.connection.1680302  - _log_response: RpcState(ListEndpoints, a6a8830f-6977-4414-bef9-e66881a520d8, localhost:3674): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-dupkxn5aaq.auto.internal" port: 62323 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-06 21:24:47,496 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.1680302  - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-dupkxn5aaq.auto.internal:62323, location , ssl: False>]>
2025-12-06 21:24:47,496 - DEBUG - ydb.connection.1680302  - 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-06 21:24:47,502 - DEBUG - ydb.connection.1680302  - close: Closing channel for endpoint localhost:3674
2025-12-06 21:24:47,503 - DEBUG - ydb.table.SessionPool.1680302  - subscribe: Active session queue is empty, subscribe waiter for a session
2025-12-06 21:24:47,503 - DEBUG - ydb.table.SessionPool.1680302  - subscribe: Subscribe waiter <Future at 0x7f11b358cbf0 state=pending>
2025-12-06 21:24:47,503 - DEBUG - ydb.table.SessionPool.1680302  - subscribe: Session pool is not large enough (active_count < size: 0 < 100). will create a new session.
2025-12-06 21:24:47,504 - DEBUG - ydb.table.SessionPool.1680302  - _create: Created session <ydb.table.Session object at 0x7f11b358f120>
2025-12-06 21:24:47,504 - DEBUG - ydb.table.SessionPool.1680302  - _prepare: Preparing session <ydb.table.Session object at 0x7f11b358f120>
2025-12-06 21:24:47,504 - DEBUG - ydb.connection.1680302  - _prepare_call: RpcState(CreateSession, 2d13ecd4-4947-46d1-9841-877294c5799a, ghrun-dupkxn5aaq.auto.internal:62323): creating call state
2025-12-06 21:24:47,505 - DEBUG - ydb.connection.1680302  - _log_request: RpcState(CreateSession, 2d13ecd4-4947-46d1-9841-877294c5799a, ghrun-dupkxn5aaq.auto.internal:62323): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-12-06 21:24:47,507 - DEBUG - ydb.connection.1680302  - _on_response_callback: RpcState(CreateSession, 2d13ecd4-4947-46d1-9841-877294c5799a, ghrun-dupkxn5aaq.auto.internal:62323): on response callback started
2025-12-06 21:24:47,508 - DEBUG - ydb.connection.1680302  - _log_response: RpcState(CreateSession, 2d13ecd4-4947-46d1-9841-877294c5799a, ghrun-dupkxn5aaq.auto.internal:62323): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=YzU5YmM4MS1iOWE0ZWFhMi1iZGRhMzcxLWU1YmI2OTk5" } } } }
2025-12-06 21:24:47,508 - DEBUG - ydb.table.SessionPool.1680302  - put: Put on session <ydb.table.Session object at 0x7f11b358f120>
2025-12-06 21:24:47,508 - DEBUG - ydb.table.SessionPool.1680302  - put: Replying to waiter with a session <ydb.table.Session object at 0x7f11b358f120>
2025-12-06 21:24:47,509 - DEBUG - ydb.connection.1680302  - _prepare_call: RpcState(ExecuteSchemeQuery, 10f2228e-dd16-4bb7-bdb7-84a388da30c2, ghrun-dupkxn5aaq.auto.internal:62323): creating call state
2025-12-06 21:24:47,509 - DEBUG - ydb.connection.1680302  - _on_response_callback: RpcState(CreateSession, 2d13ecd4-4947-46d1-9841-877294c5799a, ghrun-dupkxn5aaq.auto.internal:62323): on response callback success
2025-12-06 21:24:47,510 - DEBUG - ydb.connection.1680302  - _log_request: RpcState(ExecuteSchemeQuery, 10f2228e-dd16-4bb7-bdb7-84a388da30c2, ghrun-dupkxn5aaq.auto.internal:62323): request = { session_id: "ydb://session/3?node_id=50000&id=YzU5YmM4MS1iOWE0ZWFhMi1iZGRhMzcxLWU1YmI2OTk5" yql_text: "alter user dbadmin2 password \"4321\"" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-12-06 21:24:47,517 - DEBUG - ydb.connection.1680302  - _log_response: RpcState(ExecuteSchemeQuery, 10f2228e-dd16-4bb7-bdb7-84a388da30c2, ghrun-dupkxn5aaq.auto.internal:62323): 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-06 21:24:47,518 - DEBUG - ydb.table.SessionPool.1680302  - put: Put on session <ydb.table.Session object at 0x7f11b358f120>
2025-12-06 21:24:47,518 - DEBUG - __tests__.test_user_administration.1680302  - 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-06 21:24:47,518 - DEBUG - ydb.topic.1680302  - close: Close topic client
2025-12-06 21:24:47,519 - DEBUG - ydb.topic.1680302  - close: Topic client was closed
2025-12-06 21:24:47,519 - DEBUG - ydb.connection.1680302  - close: Closing channel for endpoint localhost:3674
2025-12-06 21:24:47,697 - DEBUG - ydb.connection.1680302  - close: Closing channel for endpoint ghrun-dupkxn5aaq.auto.internal:62323
2025-12-06 21:24:47,704 - INFO - ydb.pool.Discovery.1680302  - run: Successfully terminated discovery process
2025-12-06 21:24:47,706 - INFO - ya.test.1680302  - pytest_runtest_teardown: Test teardown
2025-12-06 21:24:47,707 - DEBUG - ydb.tests.library.fixtures.1680302  - ydb_database_ctx: destroy database /Root/test_user_administration: remove path and dismantle internals
2025-12-06 21:24:47,707 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.1680302  - remove_database: /Root/test_user_administration
2025-12-06 21:24:47,707 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.1680302  - _remove_database_send_op: /Root/test_user_administration: send console operation, token root@builtin
2025-12-06 21:24:47,711 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.1680302  - _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=1765056287709264&action=2"
    }
  }
}
Status {
  Code: STATUS_CODE_UNSPECIFIED
}

2025-12-06 21:24:47,712 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.1680302  - _remove_database_wait_op: /Root/test_user_administration: wait console operation done
2025-12-06 21:24:48,214 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.1680302  - _remove_database_wait_op: /Root/test_user_administration: console operation done
2025-12-06 21:24:48,215 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.1680302  - _remove_database_wait_tenant_gone: /Root/test_user_administration: wait tenant gone
2025-12-06 21:24:48,217 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.1680302  - _remove_database_wait_tenant_gone: /Root/test_user_administration: tenant gone
2025-12-06 21:24:48,217 - DEBUG - ydb.tests.library.fixtures.1680302  - ydb_database_ctx: destroy database /Root/test_user_administration: stop nodes
2025-12-06 21:25:00,218 - INFO - ydb.tests.library.harness.kikimr_runner.1680302  - stop: Stopped node localhost:62323/1
2025-12-06 21:25:00,219 - DEBUG - ydb.tests.library.fixtures.1680302  - ydb_database_ctx: destroy database /Root/test_user_administration: database down
2025-12-06 21:25:00,220 - INFO - ydb.tests.library.fixtures.1680302  - ydb_cluster: destroy ydb_cluster for __tests__.test_user_administration
2025-12-06 21:25:17,222 - INFO - ydb.tests.library.harness.kikimr_runner.1680302  - stop: Stopped node localhost:3674/1
2025-12-06 21:25:17,223 - DEBUG - library.python.filelock.1680302  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/65206
2025-12-06 21:25:17,223 - DEBUG - library.python.filelock.1680302  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/5241
2025-12-06 21:25:17,223 - DEBUG - library.python.filelock.1680302  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/19752
2025-12-06 21:25:17,223 - DEBUG - library.python.filelock.1680302  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/1601
2025-12-06 21:25:17,223 - DEBUG - library.python.filelock.1680302  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/62323
2025-12-06 21:25:17,223 - DEBUG - library.python.filelock.1680302  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/16403
2025-12-06 21:25:17,223 - DEBUG - library.python.filelock.1680302  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/10261
2025-12-06 21:25:17,224 - DEBUG - library.python.filelock.1680302  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/15797
2025-12-06 21:25:17,224 - DEBUG - library.python.filelock.1680302  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/3674
2025-12-06 21:25:17,224 - DEBUG - library.python.filelock.1680302  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/25076
