2025-12-09 13:35:28,858 - INFO - ya.test.3106315  - pytest_runtest_setup: ####################################################################################################
2025-12-09 13:35:28,859 - INFO - ya.test.3106315  - pytest_runtest_setup: test_database_admin_cant_change_database_admin_user[change-password]
2025-12-09 13:35:28,859 - INFO - ya.test.3106315  - pytest_runtest_setup: ####################################################################################################
2025-12-09 13:35:28,859 - INFO - ya.test.3106315  - pytest_runtest_setup: Test setup
2025-12-09 13:35:28,860 - INFO - ya.test.3106315  - 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-09 13:35:28,861 - DEBUG - ydb.connection.3106315  - 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-09 13:35:28,865 - DEBUG - ydb.connection.3106315  - _prepare_call: RpcState(Login, 738b1fd7-6313-46ac-91ed-77c8876554bc, localhost:30554): creating call state
2025-12-09 13:35:28,865 - DEBUG - ydb.connection.3106315  - _log_request: RpcState(Login, 738b1fd7-6313-46ac-91ed-77c8876554bc, localhost:30554): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-12-09 13:35:28,872 - DEBUG - ydb.connection.3106315  - _log_response: RpcState(Login, 738b1fd7-6313-46ac-91ed-77c8876554bc, localhost:30554): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzY1MzMwNTI4LCJpYXQiOjE3NjUyODczMjgsInN1YiI6ImRiYWRtaW4ifQ.fW_HJ2S-gZv0kzZTRq2iguMbl7qhRWrGiZpUdku3EK4Tp9zq0PKaH1ma0K9pbVB2cTlm9zYdF1UxOYUHUYDw8NMDfPDcJIULMPORA0emLLGi2sUYaNkSQIska3cfCZep2K1q2d_Hgo_kf3A2Estsp5VmURTKdlKPQYTQezuEObWwWi3AOFDvpOodo-BijhpeVZ1uPTzG0cNuJGXEaUn6P8bDMiQMPwRou8Q3pIoq9M1LFG_Qr2DHbiQSzwqM-VtEmCG9gqsK9A_7URKwEXWSQ1pnRgn2rPGDyDTRMCwvmuXzKWfwU_6bimjlFmDkcm6rinBSFZ2DjtS1JsfLf3AXOg" } } } }
2025-12-09 13:35:28,872 - DEBUG - ydb.connection.3106315  - close: Closing channel for endpoint localhost:30554
2025-12-09 13:35:29,069 - DEBUG - ydb.connection.3106315  - 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-09 13:35:29,070 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.3106315  - context_resolve: Preparing initial endpoint to resolve endpoints
2025-12-09 13:35:29,071 - DEBUG - ydb.connection.3106315  - 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-09 13:35:29,075 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.3106315  - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-12-09 13:35:29,076 - DEBUG - ydb.connection.3106315  - _prepare_call: RpcState(ListEndpoints, 7542e9b5-6a9d-4b4f-a506-f97a9e963bb9, localhost:30554): creating call state
2025-12-09 13:35:29,076 - DEBUG - ydb.connection.3106315  - _log_request: RpcState(ListEndpoints, 7542e9b5-6a9d-4b4f-a506-f97a9e963bb9, localhost:30554): request = { database: "/Root/test_user_administration" }
2025-12-09 13:35:29,079 - DEBUG - ydb.connection.3106315  - _log_response: RpcState(ListEndpoints, 7542e9b5-6a9d-4b4f-a506-f97a9e963bb9, localhost:30554): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-kvxh57fnmu.auto.internal" port: 24486 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-09 13:35:29,079 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.3106315  - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-kvxh57fnmu.auto.internal:24486, location , ssl: False>]>
2025-12-09 13:35:29,080 - DEBUG - ydb.connection.3106315  - 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-09 13:35:29,087 - DEBUG - ydb.connection.3106315  - close: Closing channel for endpoint localhost:30554
2025-12-09 13:35:29,087 - DEBUG - ydb.table.SessionPool.3106315  - subscribe: Active session queue is empty, subscribe waiter for a session
2025-12-09 13:35:29,088 - DEBUG - ydb.table.SessionPool.3106315  - subscribe: Subscribe waiter <Future at 0x7f2464cd5320 state=pending>
2025-12-09 13:35:29,089 - DEBUG - ydb.table.SessionPool.3106315  - subscribe: Session pool is not large enough (active_count < size: 0 < 100). will create a new session.
2025-12-09 13:35:29,089 - DEBUG - ydb.table.SessionPool.3106315  - _create: Created session <ydb.table.Session object at 0x7f2464cd5500>
2025-12-09 13:35:29,089 - DEBUG - ydb.table.SessionPool.3106315  - _prepare: Preparing session <ydb.table.Session object at 0x7f2464cd5500>
2025-12-09 13:35:29,091 - DEBUG - ydb.connection.3106315  - _prepare_call: RpcState(CreateSession, 66a143b9-a526-48b4-b47a-8059a4ec89d7, ghrun-kvxh57fnmu.auto.internal:24486): creating call state
2025-12-09 13:35:29,091 - DEBUG - ydb.connection.3106315  - _log_request: RpcState(CreateSession, 66a143b9-a526-48b4-b47a-8059a4ec89d7, ghrun-kvxh57fnmu.auto.internal:24486): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-12-09 13:35:29,093 - DEBUG - ydb.connection.3106315  - _on_response_callback: RpcState(CreateSession, 66a143b9-a526-48b4-b47a-8059a4ec89d7, ghrun-kvxh57fnmu.auto.internal:24486): on response callback started
2025-12-09 13:35:29,094 - DEBUG - ydb.connection.3106315  - _log_response: RpcState(CreateSession, 66a143b9-a526-48b4-b47a-8059a4ec89d7, ghrun-kvxh57fnmu.auto.internal:24486): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=MjE2MDk3Y2YtZWJmZTI1OTYtNGQyMjcxZGItMjYyZTFlOGE=" } } } }
2025-12-09 13:35:29,094 - DEBUG - ydb.table.SessionPool.3106315  - put: Put on session <ydb.table.Session object at 0x7f2464cd5500>
2025-12-09 13:35:29,095 - DEBUG - ydb.table.SessionPool.3106315  - put: Replying to waiter with a session <ydb.table.Session object at 0x7f2464cd5500>
2025-12-09 13:35:29,095 - DEBUG - ydb.connection.3106315  - _on_response_callback: RpcState(CreateSession, 66a143b9-a526-48b4-b47a-8059a4ec89d7, ghrun-kvxh57fnmu.auto.internal:24486): on response callback success
2025-12-09 13:35:29,096 - DEBUG - ydb.connection.3106315  - _prepare_call: RpcState(ExecuteSchemeQuery, 2dc2051c-0f88-488f-bfc9-8c2e5182ebdc, ghrun-kvxh57fnmu.auto.internal:24486): creating call state
2025-12-09 13:35:29,096 - DEBUG - ydb.connection.3106315  - _log_request: RpcState(ExecuteSchemeQuery, 2dc2051c-0f88-488f-bfc9-8c2e5182ebdc, ghrun-kvxh57fnmu.auto.internal:24486): request = { session_id: "ydb://session/3?node_id=50000&id=MjE2MDk3Y2YtZWJmZTI1OTYtNGQyMjcxZGItMjYyZTFlOGE=" yql_text: "alter user dbadmin2 password \"4321\"" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-12-09 13:35:29,102 - DEBUG - ydb.connection.3106315  - _log_response: RpcState(ExecuteSchemeQuery, 2dc2051c-0f88-488f-bfc9-8c2e5182ebdc, ghrun-kvxh57fnmu.auto.internal:24486): 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-09 13:35:29,103 - DEBUG - ydb.table.SessionPool.3106315  - put: Put on session <ydb.table.Session object at 0x7f2464cd5500>
2025-12-09 13:35:29,103 - DEBUG - __tests__.test_user_administration.3106315  - 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-09 13:35:29,103 - DEBUG - ydb.topic.3106315  - close: Close topic client
2025-12-09 13:35:29,103 - DEBUG - ydb.topic.3106315  - close: Topic client was closed
2025-12-09 13:35:29,103 - DEBUG - ydb.connection.3106315  - close: Closing channel for endpoint localhost:30554
2025-12-09 13:35:29,279 - DEBUG - ydb.connection.3106315  - close: Closing channel for endpoint ghrun-kvxh57fnmu.auto.internal:24486
2025-12-09 13:35:29,290 - INFO - ydb.pool.Discovery.3106315  - run: Successfully terminated discovery process
2025-12-09 13:35:29,292 - INFO - ya.test.3106315  - pytest_runtest_teardown: Test teardown
2025-12-09 13:35:29,292 - DEBUG - ydb.tests.library.fixtures.3106315  - ydb_database_ctx: destroy database /Root/test_user_administration: remove path and dismantle internals
2025-12-09 13:35:29,292 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.3106315  - remove_database: /Root/test_user_administration
2025-12-09 13:35:29,292 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.3106315  - _remove_database_send_op: /Root/test_user_administration: send console operation, token root@builtin
2025-12-09 13:35:29,297 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.3106315  - _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=1765287329295013&action=2"
    }
  }
}
Status {
  Code: STATUS_CODE_UNSPECIFIED
}

2025-12-09 13:35:29,297 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.3106315  - _remove_database_wait_op: /Root/test_user_administration: wait console operation done
2025-12-09 13:35:29,802 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.3106315  - _remove_database_wait_op: /Root/test_user_administration: console operation done
2025-12-09 13:35:29,803 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.3106315  - _remove_database_wait_tenant_gone: /Root/test_user_administration: wait tenant gone
2025-12-09 13:35:29,806 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.3106315  - _remove_database_wait_tenant_gone: /Root/test_user_administration: tenant gone
2025-12-09 13:35:29,806 - DEBUG - ydb.tests.library.fixtures.3106315  - ydb_database_ctx: destroy database /Root/test_user_administration: stop nodes
2025-12-09 13:35:46,808 - INFO - ydb.tests.library.harness.kikimr_runner.3106315  - stop: Stopped node localhost:24486/1
2025-12-09 13:35:46,808 - DEBUG - ydb.tests.library.fixtures.3106315  - ydb_database_ctx: destroy database /Root/test_user_administration: database down
2025-12-09 13:35:46,810 - INFO - ydb.tests.library.fixtures.3106315  - ydb_cluster: destroy ydb_cluster for __tests__.test_user_administration
2025-12-09 13:36:03,815 - INFO - ydb.tests.library.harness.kikimr_runner.3106315  - stop: Stopped node localhost:30554/1
2025-12-09 13:36:03,816 - DEBUG - library.python.filelock.3106315  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/24094
2025-12-09 13:36:03,816 - DEBUG - library.python.filelock.3106315  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/10544
2025-12-09 13:36:03,816 - DEBUG - library.python.filelock.3106315  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/9565
2025-12-09 13:36:03,817 - DEBUG - library.python.filelock.3106315  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/14452
2025-12-09 13:36:03,817 - DEBUG - library.python.filelock.3106315  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/24486
2025-12-09 13:36:03,817 - DEBUG - library.python.filelock.3106315  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/15200
2025-12-09 13:36:03,817 - DEBUG - library.python.filelock.3106315  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/15642
2025-12-09 13:36:03,817 - DEBUG - library.python.filelock.3106315  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/17460
2025-12-09 13:36:03,818 - DEBUG - library.python.filelock.3106315  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/30554
2025-12-09 13:36:03,818 - DEBUG - library.python.filelock.3106315  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/18322
