2025-11-26 19:06:23,410 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-26 19:06:23,411 - INFO - ya.test - pytest_runtest_setup: test_database_admin_cant_change_database_admin_user[change-password]
2025-11-26 19:06:23,413 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-26 19:06:23,413 - INFO - ya.test - pytest_runtest_setup: Test setup
2025-11-26 19:06:23,419 - INFO - ya.test - pytest_runtest_call: Test call (class_name: test_user_administration.py, test_name: test_database_admin_cant_change_database_admin_user[change-password])
2025-11-26 19:06:23,420 - DEBUG - ydb.connection - 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-11-26 19:06:23,429 - DEBUG - ydb.connection - _prepare_call: RpcState(Login, 996930ec-3834-4b54-aba2-6d2de8f54803, localhost:2583): creating call state
2025-11-26 19:06:23,431 - DEBUG - ydb.connection - _log_request: RpcState(Login, 996930ec-3834-4b54-aba2-6d2de8f54803, localhost:2583): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-11-26 19:06:23,448 - DEBUG - ydb.connection - _log_response: RpcState(Login, 996930ec-3834-4b54-aba2-6d2de8f54803, localhost:2583): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzY0MjI3MTgzLCJpYXQiOjE3NjQxODM5ODMsInN1YiI6ImRiYWRtaW4ifQ.im09TbdTeBWM_dcRgXUowR9cWlhzw-EC_1NBQDyW6XBR-Rn6LJACKTxQIAjEkmMWPNPwjxF9KDmnkwLQ7PG-5vISpYaqRr64ahaQ_kUIdtZn468UMQOrWtAT2JatLKRpEn8cCOuG3h5B7JuTg4I7IRBWLir33HsQtLy1wZosw8oRKerdI8ZXIMc2oXKdtPX9KZXg8tNTvFmFKS6V3XdxIgmtEDI4kHzHPc3LyPtil2X3c5MvYjFaIh8AI-ps7JahUMUWFfASkIuYFTkXUfXB3094xUTeYtzxRUpNgg5DBx4yKqMMcLXLQH4AcD85QiXZnAwpQAvDGjokRSAg8OM3XA" } } } }
2025-11-26 19:06:23,448 - INFO - ydb.connection - close: Closing channel for endpoint localhost:2583
2025-11-26 19:06:23,633 - DEBUG - ydb.connection - 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-11-26 19:06:23,635 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Preparing initial endpoint to resolve endpoints
2025-11-26 19:06:23,636 - DEBUG - ydb.connection - 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-11-26 19:06:23,641 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-11-26 19:06:23,642 - DEBUG - ydb.connection - _prepare_call: RpcState(ListEndpoints, 97a3c9c6-9aa8-411f-a545-c6180429aef4, localhost:2583): creating call state
2025-11-26 19:06:23,642 - DEBUG - ydb.connection - _log_request: RpcState(ListEndpoints, 97a3c9c6-9aa8-411f-a545-c6180429aef4, localhost:2583): request = { database: "/Root/test_user_administration" }
2025-11-26 19:06:23,645 - DEBUG - ydb.connection - _log_response: RpcState(ListEndpoints, 97a3c9c6-9aa8-411f-a545-c6180429aef4, localhost:2583): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-nolisc65da.auto.internal" port: 27399 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-11-26 19:06:23,645 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-nolisc65da.auto.internal:27399, location , ssl: False>]>
2025-11-26 19:06:23,645 - DEBUG - ydb.connection - 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-11-26 19:06:23,653 - INFO - ydb.connection - close: Closing channel for endpoint localhost:2583
2025-11-26 19:06:23,654 - DEBUG - ydb.table.SessionPool - subscribe: Active session queue is empty, subscribe waiter for a session
2025-11-26 19:06:23,654 - DEBUG - ydb.table.SessionPool - subscribe: Subscribe waiter <Future at 0x7fcf6119ecc0 state=pending>
2025-11-26 19:06:23,654 - DEBUG - ydb.table.SessionPool - subscribe: Session pool is not large enough (active_count < size: 0 < 100). will create a new session.
2025-11-26 19:06:23,655 - DEBUG - ydb.table.SessionPool - _create: Created session <ydb.table.Session object at 0x7fcf6119f940>
2025-11-26 19:06:23,655 - DEBUG - ydb.table.SessionPool - _prepare: Preparing session <ydb.table.Session object at 0x7fcf6119f940>
2025-11-26 19:06:23,655 - DEBUG - ydb.connection - _prepare_call: RpcState(CreateSession, bb007b57-7fcb-409e-836d-f0e0d6f66368, ghrun-nolisc65da.auto.internal:27399): creating call state
2025-11-26 19:06:23,656 - DEBUG - ydb.connection - _log_request: RpcState(CreateSession, bb007b57-7fcb-409e-836d-f0e0d6f66368, ghrun-nolisc65da.auto.internal:27399): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-11-26 19:06:23,658 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, bb007b57-7fcb-409e-836d-f0e0d6f66368, ghrun-nolisc65da.auto.internal:27399): on response callback started
2025-11-26 19:06:23,659 - DEBUG - ydb.connection - _log_response: RpcState(CreateSession, bb007b57-7fcb-409e-836d-f0e0d6f66368, ghrun-nolisc65da.auto.internal:27399): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=YzMwNTJjZDgtOTIwMGNkYTYtNTU0ZmQ1ODMtNWZiMmY2NA==" } } } }
2025-11-26 19:06:23,659 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7fcf6119f940>
2025-11-26 19:06:23,660 - DEBUG - ydb.table.SessionPool - put: Replying to waiter with a session <ydb.table.Session object at 0x7fcf6119f940>
2025-11-26 19:06:23,660 - DEBUG - ydb.connection - _prepare_call: RpcState(ExecuteSchemeQuery, d9020401-3d58-406b-ab89-59c019cce0ee, ghrun-nolisc65da.auto.internal:27399): creating call state
2025-11-26 19:06:23,660 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, bb007b57-7fcb-409e-836d-f0e0d6f66368, ghrun-nolisc65da.auto.internal:27399): on response callback success
2025-11-26 19:06:23,661 - DEBUG - ydb.connection - _log_request: RpcState(ExecuteSchemeQuery, d9020401-3d58-406b-ab89-59c019cce0ee, ghrun-nolisc65da.auto.internal:27399): request = { session_id: "ydb://session/3?node_id=50000&id=YzMwNTJjZDgtOTIwMGNkYTYtNTU0ZmQ1ODMtNWZiMmY2NA==" yql_text: "alter user dbadmin2 password \"4321\"" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-11-26 19:06:23,668 - DEBUG - ydb.connection - _log_response: RpcState(ExecuteSchemeQuery, d9020401-3d58-406b-ab89-59c019cce0ee, ghrun-nolisc65da.auto.internal:27399): 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-11-26 19:06:23,669 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7fcf6119f940>
2025-11-26 19:06:23,669 - DEBUG - __tests__.test_user_administration - 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-11-26 19:06:23,670 - DEBUG - ydb.topic - close: Close topic client
2025-11-26 19:06:23,670 - DEBUG - ydb.topic - close: Topic client was closed
2025-11-26 19:06:23,670 - INFO - ydb.connection - close: Closing channel for endpoint localhost:2583
2025-11-26 19:06:23,848 - INFO - ydb.connection - close: Closing channel for endpoint ghrun-nolisc65da.auto.internal:27399
2025-11-26 19:06:23,855 - INFO - ydb.pool.Discovery - run: Successfully terminated discovery process
2025-11-26 19:06:23,857 - INFO - ya.test - pytest_runtest_teardown: Test teardown
2025-11-26 19:06:23,858 - DEBUG - ydb.tests.library.fixtures - ydb_database_ctx: destroy database /Root/test_user_administration: remove path and dismantle internals
2025-11-26 19:06:23,858 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - remove_database: /Root/test_user_administration
2025-11-26 19:06:23,858 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_send_op: /Root/test_user_administration: send console operation, token root@builtin
2025-11-26 19:06:23,863 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _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=1764183983861180&action=2"
    }
  }
}
Status {
  Code: STATUS_CODE_UNSPECIFIED
}

2025-11-26 19:06:23,864 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_wait_op: /Root/test_user_administration: wait console operation done
2025-11-26 19:06:24,369 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_wait_op: /Root/test_user_administration: console operation done
2025-11-26 19:06:24,370 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_wait_tenant_gone: /Root/test_user_administration: wait tenant gone
2025-11-26 19:06:24,373 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_wait_tenant_gone: /Root/test_user_administration: tenant gone
2025-11-26 19:06:24,373 - DEBUG - ydb.tests.library.fixtures - ydb_database_ctx: destroy database /Root/test_user_administration: stop nodes
2025-11-26 19:06:36,375 - INFO - ydb.tests.library.harness.kikimr_runner - stop: Stopped node localhost:27399/1
2025-11-26 19:06:36,376 - DEBUG - ydb.tests.library.fixtures - ydb_database_ctx: destroy database /Root/test_user_administration: database down
2025-11-26 19:06:36,377 - INFO - ydb.tests.library.fixtures - ydb_cluster: destroy ydb_cluster for __tests__.test_user_administration
2025-11-26 19:06:53,379 - INFO - ydb.tests.library.harness.kikimr_runner - stop: Stopped node localhost:2583/1
2025-11-26 19:06:53,383 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/25836
2025-11-26 19:06:53,383 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/17193
2025-11-26 19:06:53,384 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/14774
2025-11-26 19:06:53,384 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/12570
2025-11-26 19:06:53,384 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/27399
2025-11-26 19:06:53,384 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/30266
2025-11-26 19:06:53,384 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/3342
2025-11-26 19:06:53,385 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/15203
2025-11-26 19:06:53,385 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/2583
2025-11-26 19:06:53,385 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/29395
