2025-11-21 14:08:34,460 - INFO - ya.test.3166860  - pytest_runtest_setup: ####################################################################################################
2025-11-21 14:08:34,470 - INFO - ya.test.3166860  - pytest_runtest_setup: test_database_admin_cant_change_database_admin_user[change-password]
2025-11-21 14:08:34,470 - INFO - ya.test.3166860  - pytest_runtest_setup: ####################################################################################################
2025-11-21 14:08:34,470 - INFO - ya.test.3166860  - pytest_runtest_setup: Test setup
2025-11-21 14:08:34,476 - INFO - ya.test.3166860  - 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-21 14:08:34,477 - DEBUG - ydb.connection.3166860  - 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-21 14:08:34,485 - DEBUG - ydb.connection.3166860  - _prepare_call: RpcState(Login, cfb0d60a-80af-487e-ab5b-23270c2670fd, localhost:8389): creating call state
2025-11-21 14:08:34,489 - DEBUG - ydb.connection.3166860  - _log_request: RpcState(Login, cfb0d60a-80af-487e-ab5b-23270c2670fd, localhost:8389): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-11-21 14:08:34,507 - DEBUG - ydb.connection.3166860  - _log_response: RpcState(Login, cfb0d60a-80af-487e-ab5b-23270c2670fd, localhost:8389): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzYzNzc3MzE0LCJpYXQiOjE3NjM3MzQxMTQsInN1YiI6ImRiYWRtaW4ifQ.FHANcYVsDbbpc_hkX6qSh4YZqUgvX8AVmzHAcp7lcOJpY_RGRI0X5Xaa0APHXk0VfW3-Pvp36dgWI4urh6Bafp4Vh9iZnkFZ4U8euUc7nEgMNj2PWx9bXFk3TCgQkUPhuqesNEBHjjV_iGmkjY5Ac34zoQuh09ojDISKJys96En2JLJlS03fRGWUw1OCE8MydhCZUf4yhfvrU3FZlY-wVHfO9oe1a9vEzvAqsWbTuY55acH8oa6OGrCjxunxBi7R1VwlyZ5oQtvSY5YhgvICAHnkk1LytbPHyQj3plLi3KNle6cID3ilhmM7ECmdUkL3frQGuLN4ig3zegIH60Ighw" } } } }
2025-11-21 14:08:34,507 - DEBUG - ydb.connection.3166860  - close: Closing channel for endpoint localhost:8389
2025-11-21 14:08:34,689 - DEBUG - ydb.connection.3166860  - 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-21 14:08:34,691 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.3166860  - context_resolve: Preparing initial endpoint to resolve endpoints
2025-11-21 14:08:34,693 - DEBUG - ydb.connection.3166860  - 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-21 14:08:34,707 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.3166860  - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-11-21 14:08:34,715 - DEBUG - ydb.connection.3166860  - _prepare_call: RpcState(ListEndpoints, ddcd9e80-af6e-4f61-893a-c86eda69b32c, localhost:8389): creating call state
2025-11-21 14:08:34,715 - DEBUG - ydb.connection.3166860  - _log_request: RpcState(ListEndpoints, ddcd9e80-af6e-4f61-893a-c86eda69b32c, localhost:8389): request = { database: "/Root/test_user_administration" }
2025-11-21 14:08:34,737 - DEBUG - ydb.connection.3166860  - _log_response: RpcState(ListEndpoints, ddcd9e80-af6e-4f61-893a-c86eda69b32c, localhost:8389): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-hd5senkm3y.auto.internal" port: 23792 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-21 14:08:34,742 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.3166860  - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-hd5senkm3y.auto.internal:23792, location , ssl: False>]>
2025-11-21 14:08:34,756 - DEBUG - ydb.connection.3166860  - 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-21 14:08:34,802 - DEBUG - ydb.connection.3166860  - close: Closing channel for endpoint localhost:8389
2025-11-21 14:08:34,808 - DEBUG - ydb.table.SessionPool.3166860  - subscribe: Active session queue is empty, subscribe waiter for a session
2025-11-21 14:08:34,808 - DEBUG - ydb.table.SessionPool.3166860  - subscribe: Subscribe waiter <Future at 0x7efc4b11d5f0 state=pending>
2025-11-21 14:08:34,809 - DEBUG - ydb.table.SessionPool.3166860  - subscribe: Session pool is not large enough (active_count < size: 0 < 100). will create a new session.
2025-11-21 14:08:34,809 - DEBUG - ydb.table.SessionPool.3166860  - _create: Created session <ydb.table.Session object at 0x7efc4b11ebd0>
2025-11-21 14:08:34,809 - DEBUG - ydb.table.SessionPool.3166860  - _prepare: Preparing session <ydb.table.Session object at 0x7efc4b11ebd0>
2025-11-21 14:08:34,810 - DEBUG - ydb.connection.3166860  - _prepare_call: RpcState(CreateSession, 6efdb9c8-b3fb-4f11-899a-c556c8f0d95a, ghrun-hd5senkm3y.auto.internal:23792): creating call state
2025-11-21 14:08:34,810 - DEBUG - ydb.connection.3166860  - _log_request: RpcState(CreateSession, 6efdb9c8-b3fb-4f11-899a-c556c8f0d95a, ghrun-hd5senkm3y.auto.internal:23792): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-11-21 14:08:34,816 - DEBUG - ydb.connection.3166860  - _on_response_callback: RpcState(CreateSession, 6efdb9c8-b3fb-4f11-899a-c556c8f0d95a, ghrun-hd5senkm3y.auto.internal:23792): on response callback started
2025-11-21 14:08:34,817 - DEBUG - ydb.connection.3166860  - _log_response: RpcState(CreateSession, 6efdb9c8-b3fb-4f11-899a-c556c8f0d95a, ghrun-hd5senkm3y.auto.internal:23792): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=MzE0ODMwNDMtZTkyNjdlNGItZDlmYjM1NDMtODA3MzBmNzI=" } } } }
2025-11-21 14:08:34,818 - DEBUG - ydb.table.SessionPool.3166860  - put: Put on session <ydb.table.Session object at 0x7efc4b11ebd0>
2025-11-21 14:08:34,818 - DEBUG - ydb.table.SessionPool.3166860  - put: Replying to waiter with a session <ydb.table.Session object at 0x7efc4b11ebd0>
2025-11-21 14:08:34,818 - DEBUG - ydb.connection.3166860  - _on_response_callback: RpcState(CreateSession, 6efdb9c8-b3fb-4f11-899a-c556c8f0d95a, ghrun-hd5senkm3y.auto.internal:23792): on response callback success
2025-11-21 14:08:34,821 - DEBUG - ydb.connection.3166860  - _prepare_call: RpcState(ExecuteSchemeQuery, 965b535b-4312-415b-bcd6-4afcde2972c7, ghrun-hd5senkm3y.auto.internal:23792): creating call state
2025-11-21 14:08:34,822 - DEBUG - ydb.connection.3166860  - _log_request: RpcState(ExecuteSchemeQuery, 965b535b-4312-415b-bcd6-4afcde2972c7, ghrun-hd5senkm3y.auto.internal:23792): request = { session_id: "ydb://session/3?node_id=50000&id=MzE0ODMwNDMtZTkyNjdlNGItZDlmYjM1NDMtODA3MzBmNzI=" yql_text: "alter user dbadmin2 password \"4321\"" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-11-21 14:08:34,837 - DEBUG - ydb.connection.3166860  - _log_response: RpcState(ExecuteSchemeQuery, 965b535b-4312-415b-bcd6-4afcde2972c7, ghrun-hd5senkm3y.auto.internal:23792): 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-21 14:08:34,838 - DEBUG - ydb.table.SessionPool.3166860  - put: Put on session <ydb.table.Session object at 0x7efc4b11ebd0>
2025-11-21 14:08:34,838 - DEBUG - __tests__.test_user_administration.3166860  - 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-21 14:08:34,839 - DEBUG - ydb.topic.3166860  - close: Close topic client
2025-11-21 14:08:34,839 - DEBUG - ydb.topic.3166860  - close: Topic client was closed
2025-11-21 14:08:34,839 - DEBUG - ydb.connection.3166860  - close: Closing channel for endpoint localhost:8389
2025-11-21 14:08:34,911 - DEBUG - ydb.connection.3166860  - close: Closing channel for endpoint ghrun-hd5senkm3y.auto.internal:23792
2025-11-21 14:08:35,004 - INFO - ydb.pool.Discovery.3166860  - run: Successfully terminated discovery process
2025-11-21 14:08:35,006 - INFO - ya.test.3166860  - pytest_runtest_teardown: Test teardown
2025-11-21 14:08:35,006 - DEBUG - ydb.tests.library.fixtures.3166860  - ydb_database_ctx: destroy database /Root/test_user_administration: remove path and dismantle internals
2025-11-21 14:08:35,007 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.3166860  - remove_database: /Root/test_user_administration
2025-11-21 14:08:35,007 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.3166860  - _remove_database_send_op: /Root/test_user_administration: send console operation, token root@builtin
2025-11-21 14:08:35,012 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.3166860  - _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=1763734115009572&action=2"
    }
  }
}
Status {
  Code: STATUS_CODE_UNSPECIFIED
}

2025-11-21 14:08:35,012 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.3166860  - _remove_database_wait_op: /Root/test_user_administration: wait console operation done
2025-11-21 14:08:35,521 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.3166860  - _remove_database_wait_op: /Root/test_user_administration: console operation done
2025-11-21 14:08:35,521 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.3166860  - _remove_database_wait_tenant_gone: /Root/test_user_administration: wait tenant gone
2025-11-21 14:08:35,530 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.3166860  - _remove_database_wait_tenant_gone: /Root/test_user_administration: tenant gone
2025-11-21 14:08:35,531 - DEBUG - ydb.tests.library.fixtures.3166860  - ydb_database_ctx: destroy database /Root/test_user_administration: stop nodes
2025-11-21 14:08:47,539 - INFO - ydb.tests.library.harness.kikimr_runner.3166860  - stop: Stopped node localhost:23792/1
2025-11-21 14:08:47,539 - DEBUG - ydb.tests.library.fixtures.3166860  - ydb_database_ctx: destroy database /Root/test_user_administration: database down
2025-11-21 14:08:47,540 - INFO - ydb.tests.library.fixtures.3166860  - ydb_cluster: destroy ydb_cluster for __tests__.test_user_administration
2025-11-21 14:09:04,542 - INFO - ydb.tests.library.harness.kikimr_runner.3166860  - stop: Stopped node localhost:8389/1
2025-11-21 14:09:04,544 - DEBUG - library.python.filelock.3166860  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/7208
2025-11-21 14:09:04,553 - DEBUG - library.python.filelock.3166860  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/64761
2025-11-21 14:09:04,553 - DEBUG - library.python.filelock.3166860  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/5296
2025-11-21 14:09:04,578 - DEBUG - library.python.filelock.3166860  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/14358
2025-11-21 14:09:04,597 - DEBUG - library.python.filelock.3166860  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/23792
2025-11-21 14:09:04,597 - DEBUG - library.python.filelock.3166860  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/15228
2025-11-21 14:09:04,598 - DEBUG - library.python.filelock.3166860  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/5113
2025-11-21 14:09:04,598 - DEBUG - library.python.filelock.3166860  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/15215
2025-11-21 14:09:04,598 - DEBUG - library.python.filelock.3166860  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/8389
2025-11-21 14:09:04,598 - DEBUG - library.python.filelock.3166860  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/25835
