2025-11-19 21:17:52,742 - INFO - ya.test.2090361  - pytest_runtest_setup: ####################################################################################################
2025-11-19 21:17:52,742 - INFO - ya.test.2090361  - pytest_runtest_setup: test_database_admin_cant_change_database_admin_user[change-password]
2025-11-19 21:17:52,745 - INFO - ya.test.2090361  - pytest_runtest_setup: ####################################################################################################
2025-11-19 21:17:52,745 - INFO - ya.test.2090361  - pytest_runtest_setup: Test setup
2025-11-19 21:17:52,747 - INFO - ya.test.2090361  - 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-19 21:17:52,751 - DEBUG - ydb.connection.2090361  - 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-19 21:17:52,774 - DEBUG - ydb.connection.2090361  - _prepare_call: RpcState(Login, 6f7a97b1-f900-46cd-a8a4-77931858c56a, localhost:22689): creating call state
2025-11-19 21:17:52,788 - DEBUG - ydb.connection.2090361  - _log_request: RpcState(Login, 6f7a97b1-f900-46cd-a8a4-77931858c56a, localhost:22689): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-11-19 21:17:52,803 - DEBUG - ydb.connection.2090361  - _log_response: RpcState(Login, 6f7a97b1-f900-46cd-a8a4-77931858c56a, localhost:22689): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzYzNjMwMjcyLCJpYXQiOjE3NjM1ODcwNzIsInN1YiI6ImRiYWRtaW4ifQ.nvdmGFHVwPw4yxuMUSKzXiqpnjxc-djPIPflgD1jF_cV7zT4suLA6NyI36M2eiGCXChlsyDwxqAUjhDUE3heEmzgdgERjDIx-7ttMmz954WTNSCKg0WZTOGaY774ck70NE6HjyRHUbJuUweg2-binhuHGfBF8kFPDJECrIIweqp_-jKKlAFLmle363nAnbx14rxEBEoS_OY_m8lVzTdOhuV0Xbu-e24JaJkXj9ugJidlWnJM-q630lYJPEcUKqyQH9S2d03Zki9HrDIdy8cFO3ENtrQkIa2_WmbxDJ9JuT3dJgfgekJNhJRlTOZLj62LxOagFzjnWLPFWvu-QfWUuw" } } } }
2025-11-19 21:17:52,803 - DEBUG - ydb.connection.2090361  - close: Closing channel for endpoint localhost:22689
2025-11-19 21:17:52,980 - DEBUG - ydb.connection.2090361  - 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-19 21:17:52,982 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.2090361  - context_resolve: Preparing initial endpoint to resolve endpoints
2025-11-19 21:17:52,983 - DEBUG - ydb.connection.2090361  - 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-19 21:17:52,988 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.2090361  - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-11-19 21:17:52,989 - DEBUG - ydb.connection.2090361  - _prepare_call: RpcState(ListEndpoints, 90ecccd6-1023-4246-96de-e59b64489360, localhost:22689): creating call state
2025-11-19 21:17:52,991 - DEBUG - ydb.connection.2090361  - _log_request: RpcState(ListEndpoints, 90ecccd6-1023-4246-96de-e59b64489360, localhost:22689): request = { database: "/Root/test_user_administration" }
2025-11-19 21:17:52,998 - DEBUG - ydb.connection.2090361  - _log_response: RpcState(ListEndpoints, 90ecccd6-1023-4246-96de-e59b64489360, localhost:22689): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-5327lwzq5q.auto.internal" port: 29863 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-19 21:17:52,999 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.2090361  - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-5327lwzq5q.auto.internal:29863, location , ssl: False>]>
2025-11-19 21:17:52,999 - DEBUG - ydb.connection.2090361  - 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-19 21:17:53,023 - DEBUG - ydb.connection.2090361  - close: Closing channel for endpoint localhost:22689
2025-11-19 21:17:53,032 - DEBUG - ydb.table.SessionPool.2090361  - subscribe: Active session queue is empty, subscribe waiter for a session
2025-11-19 21:17:53,032 - DEBUG - ydb.table.SessionPool.2090361  - subscribe: Subscribe waiter <Future at 0x7f2e88059460 state=pending>
2025-11-19 21:17:53,032 - DEBUG - ydb.table.SessionPool.2090361  - subscribe: Session pool is not large enough (active_count < size: 0 < 100). will create a new session.
2025-11-19 21:17:53,033 - DEBUG - ydb.table.SessionPool.2090361  - _create: Created session <ydb.table.Session object at 0x7f2e88039230>
2025-11-19 21:17:53,033 - DEBUG - ydb.table.SessionPool.2090361  - _prepare: Preparing session <ydb.table.Session object at 0x7f2e88039230>
2025-11-19 21:17:53,033 - DEBUG - ydb.connection.2090361  - _prepare_call: RpcState(CreateSession, 6ad8278c-68a4-498a-83a6-06abefd6196b, ghrun-5327lwzq5q.auto.internal:29863): creating call state
2025-11-19 21:17:53,034 - DEBUG - ydb.connection.2090361  - _log_request: RpcState(CreateSession, 6ad8278c-68a4-498a-83a6-06abefd6196b, ghrun-5327lwzq5q.auto.internal:29863): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-11-19 21:17:53,037 - DEBUG - ydb.connection.2090361  - _on_response_callback: RpcState(CreateSession, 6ad8278c-68a4-498a-83a6-06abefd6196b, ghrun-5327lwzq5q.auto.internal:29863): on response callback started
2025-11-19 21:17:53,039 - DEBUG - ydb.connection.2090361  - _log_response: RpcState(CreateSession, 6ad8278c-68a4-498a-83a6-06abefd6196b, ghrun-5327lwzq5q.auto.internal:29863): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=ZDA1ZjY5MDItZjAwOWVlZTMtYWU5NzkxMjYtYzk1MGVjMzM=" } } } }
2025-11-19 21:17:53,040 - DEBUG - ydb.table.SessionPool.2090361  - put: Put on session <ydb.table.Session object at 0x7f2e88039230>
2025-11-19 21:17:53,040 - DEBUG - ydb.table.SessionPool.2090361  - put: Replying to waiter with a session <ydb.table.Session object at 0x7f2e88039230>
2025-11-19 21:17:53,040 - DEBUG - ydb.connection.2090361  - _on_response_callback: RpcState(CreateSession, 6ad8278c-68a4-498a-83a6-06abefd6196b, ghrun-5327lwzq5q.auto.internal:29863): on response callback success
2025-11-19 21:17:53,041 - DEBUG - ydb.connection.2090361  - _prepare_call: RpcState(ExecuteSchemeQuery, bdc2c85a-ac42-4d63-b143-368913d19de3, ghrun-5327lwzq5q.auto.internal:29863): creating call state
2025-11-19 21:17:53,041 - DEBUG - ydb.connection.2090361  - _log_request: RpcState(ExecuteSchemeQuery, bdc2c85a-ac42-4d63-b143-368913d19de3, ghrun-5327lwzq5q.auto.internal:29863): request = { session_id: "ydb://session/3?node_id=50000&id=ZDA1ZjY5MDItZjAwOWVlZTMtYWU5NzkxMjYtYzk1MGVjMzM=" yql_text: "alter user dbadmin2 password \"4321\"" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-11-19 21:17:53,054 - DEBUG - ydb.connection.2090361  - _log_response: RpcState(ExecuteSchemeQuery, bdc2c85a-ac42-4d63-b143-368913d19de3, ghrun-5327lwzq5q.auto.internal:29863): 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-19 21:17:53,055 - DEBUG - ydb.table.SessionPool.2090361  - put: Put on session <ydb.table.Session object at 0x7f2e88039230>
2025-11-19 21:17:53,055 - DEBUG - __tests__.test_user_administration.2090361  - 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-19 21:17:53,056 - DEBUG - ydb.topic.2090361  - close: Close topic client
2025-11-19 21:17:53,056 - DEBUG - ydb.topic.2090361  - close: Topic client was closed
2025-11-19 21:17:53,056 - DEBUG - ydb.connection.2090361  - close: Closing channel for endpoint localhost:22689
2025-11-19 21:17:53,195 - DEBUG - ydb.connection.2090361  - close: Closing channel for endpoint ghrun-5327lwzq5q.auto.internal:29863
2025-11-19 21:17:53,223 - INFO - ydb.pool.Discovery.2090361  - run: Successfully terminated discovery process
2025-11-19 21:17:53,230 - INFO - ya.test.2090361  - pytest_runtest_teardown: Test teardown
2025-11-19 21:17:53,230 - DEBUG - ydb.tests.library.fixtures.2090361  - ydb_database_ctx: destroy database /Root/test_user_administration: remove path and dismantle internals
2025-11-19 21:17:53,231 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.2090361  - remove_database: /Root/test_user_administration
2025-11-19 21:17:53,231 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.2090361  - _remove_database_send_op: /Root/test_user_administration: send console operation, token root@builtin
2025-11-19 21:17:53,245 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.2090361  - _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=1763587073239369&action=2"
    }
  }
}
Status {
  Code: STATUS_CODE_UNSPECIFIED
}

2025-11-19 21:17:53,245 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.2090361  - _remove_database_wait_op: /Root/test_user_administration: wait console operation done
2025-11-19 21:17:53,751 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.2090361  - _remove_database_wait_op: /Root/test_user_administration: console operation done
2025-11-19 21:17:53,752 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.2090361  - _remove_database_wait_tenant_gone: /Root/test_user_administration: wait tenant gone
2025-11-19 21:17:53,755 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.2090361  - _remove_database_wait_tenant_gone: /Root/test_user_administration: tenant gone
2025-11-19 21:17:53,755 - DEBUG - ydb.tests.library.fixtures.2090361  - ydb_database_ctx: destroy database /Root/test_user_administration: stop nodes
2025-11-19 21:18:05,760 - INFO - ydb.tests.library.harness.kikimr_runner.2090361  - stop: Stopped node localhost:29863/1
2025-11-19 21:18:05,761 - DEBUG - ydb.tests.library.fixtures.2090361  - ydb_database_ctx: destroy database /Root/test_user_administration: database down
2025-11-19 21:18:05,762 - INFO - ydb.tests.library.fixtures.2090361  - ydb_cluster: destroy ydb_cluster for __tests__.test_user_administration
2025-11-19 21:18:17,768 - INFO - ydb.tests.library.harness.kikimr_runner.2090361  - stop: Stopped node localhost:22689/1
2025-11-19 21:18:17,775 - DEBUG - library.python.filelock.2090361  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/27587
2025-11-19 21:18:17,776 - DEBUG - library.python.filelock.2090361  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/31845
2025-11-19 21:18:17,776 - DEBUG - library.python.filelock.2090361  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/13053
2025-11-19 21:18:17,776 - DEBUG - library.python.filelock.2090361  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/18393
2025-11-19 21:18:17,776 - DEBUG - library.python.filelock.2090361  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/29863
2025-11-19 21:18:17,776 - DEBUG - library.python.filelock.2090361  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/14970
2025-11-19 21:18:17,777 - DEBUG - library.python.filelock.2090361  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/12316
2025-11-19 21:18:17,777 - DEBUG - library.python.filelock.2090361  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/25607
2025-11-19 21:18:17,777 - DEBUG - library.python.filelock.2090361  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/22689
2025-11-19 21:18:17,777 - DEBUG - library.python.filelock.2090361  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/7790
