2025-11-11 15:25:13,939 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-11 15:25:13,939 - INFO - ya.test - pytest_runtest_setup: test_database_admin_cant_change_database_admin_user[change-password]
2025-11-11 15:25:13,940 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-11 15:25:13,940 - INFO - ya.test - pytest_runtest_setup: Test setup
2025-11-11 15:25:13,941 - 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-11 15:25:13,942 - 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-11 15:25:13,947 - DEBUG - ydb.connection - _prepare_call: RpcState(Login, e0aa8a50-df2c-4aec-8236-69e8698d1a74, localhost:5304): creating call state
2025-11-11 15:25:13,947 - DEBUG - ydb.connection - _log_request: RpcState(Login, e0aa8a50-df2c-4aec-8236-69e8698d1a74, localhost:5304): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-11-11 15:25:13,955 - DEBUG - ydb.connection - _log_response: RpcState(Login, e0aa8a50-df2c-4aec-8236-69e8698d1a74, localhost:5304): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzYyOTE3OTEzLCJpYXQiOjE3NjI4NzQ3MTMsInN1YiI6ImRiYWRtaW4ifQ.YGQXhV0K14xXZBFQMKZMALPPGrpYE4FpDVoeM0kU0ersiWohXprIFH88Il1vD2ey4Ty9Xrrs4F3NptlXt8VVAnuhhsvlfDfcoiqHz-mSUdOObyb1pTqSueuBDFMBxd0dd6f9cPVN86r0NoD6u2aH30xs4HV1mVcuhz2S_9oN54GfxizfEtbF1tQT303MW7z5_XEyOwSCbvUEy3kShX31J0_QW1W4e5Hf7U1jhCArLv0kq3sMopuwsAkvBDtd1CbsjInr_uoHm6xd63NMpDbj5QGNsNSqFfudL7ByzqHZsmkjfH7dIR0m_WTSEWCCI651kI_xvphIrYYHq5-ucd3TyQ" } } } }
2025-11-11 15:25:13,955 - INFO - ydb.connection - close: Closing channel for endpoint localhost:5304
2025-11-11 15:25:14,149 - 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-11 15:25:14,151 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Preparing initial endpoint to resolve endpoints
2025-11-11 15:25:14,152 - 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-11 15:25:14,157 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-11-11 15:25:14,158 - DEBUG - ydb.connection - _prepare_call: RpcState(ListEndpoints, 26f3664a-c36a-4a1f-b503-a365cf711193, localhost:5304): creating call state
2025-11-11 15:25:14,158 - DEBUG - ydb.connection - _log_request: RpcState(ListEndpoints, 26f3664a-c36a-4a1f-b503-a365cf711193, localhost:5304): request = { database: "/Root/test_user_administration" }
2025-11-11 15:25:14,161 - DEBUG - ydb.connection - _log_response: RpcState(ListEndpoints, 26f3664a-c36a-4a1f-b503-a365cf711193, localhost:5304): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-l3u76ogmey.auto.internal" port: 23599 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-11 15:25:14,161 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-l3u76ogmey.auto.internal:23599, location , ssl: False>]>
2025-11-11 15:25:14,161 - 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-11 15:25:14,168 - INFO - ydb.connection - close: Closing channel for endpoint localhost:5304
2025-11-11 15:25:14,169 - DEBUG - ydb.table.SessionPool - subscribe: Active session queue is empty, subscribe waiter for a session
2025-11-11 15:25:14,169 - DEBUG - ydb.table.SessionPool - subscribe: Subscribe waiter <Future at 0x7f0d9de5fa30 state=pending>
2025-11-11 15:25:14,169 - DEBUG - ydb.table.SessionPool - subscribe: Session pool is not large enough (active_count < size: 0 < 100). will create a new session.
2025-11-11 15:25:14,170 - DEBUG - ydb.table.SessionPool - _create: Created session <ydb.table.Session object at 0x7f0d9de5e720>
2025-11-11 15:25:14,170 - DEBUG - ydb.table.SessionPool - _prepare: Preparing session <ydb.table.Session object at 0x7f0d9de5e720>
2025-11-11 15:25:14,171 - DEBUG - ydb.connection - _prepare_call: RpcState(CreateSession, 85551470-0a18-49fa-abf5-3077578abbe0, ghrun-l3u76ogmey.auto.internal:23599): creating call state
2025-11-11 15:25:14,172 - DEBUG - ydb.connection - _log_request: RpcState(CreateSession, 85551470-0a18-49fa-abf5-3077578abbe0, ghrun-l3u76ogmey.auto.internal:23599): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-11-11 15:25:14,175 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, 85551470-0a18-49fa-abf5-3077578abbe0, ghrun-l3u76ogmey.auto.internal:23599): on response callback started
2025-11-11 15:25:14,175 - DEBUG - ydb.connection - _log_response: RpcState(CreateSession, 85551470-0a18-49fa-abf5-3077578abbe0, ghrun-l3u76ogmey.auto.internal:23599): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=ZWM5YTU1YWQtZjdkZDQ3OC03NzViMjZhNi05ZjQyNTM3Yg==" } } } }
2025-11-11 15:25:14,176 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7f0d9de5e720>
2025-11-11 15:25:14,176 - DEBUG - ydb.table.SessionPool - put: Replying to waiter with a session <ydb.table.Session object at 0x7f0d9de5e720>
2025-11-11 15:25:14,176 - DEBUG - ydb.connection - _prepare_call: RpcState(ExecuteSchemeQuery, 64835af5-7632-450d-b077-1dd850314f86, ghrun-l3u76ogmey.auto.internal:23599): creating call state
2025-11-11 15:25:14,177 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, 85551470-0a18-49fa-abf5-3077578abbe0, ghrun-l3u76ogmey.auto.internal:23599): on response callback success
2025-11-11 15:25:14,177 - DEBUG - ydb.connection - _log_request: RpcState(ExecuteSchemeQuery, 64835af5-7632-450d-b077-1dd850314f86, ghrun-l3u76ogmey.auto.internal:23599): request = { session_id: "ydb://session/3?node_id=50000&id=ZWM5YTU1YWQtZjdkZDQ3OC03NzViMjZhNi05ZjQyNTM3Yg==" yql_text: "alter user dbadmin2 password \"4321\"" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-11-11 15:25:14,188 - DEBUG - ydb.connection - _log_response: RpcState(ExecuteSchemeQuery, 64835af5-7632-450d-b077-1dd850314f86, ghrun-l3u76ogmey.auto.internal:23599): 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-11 15:25:14,189 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7f0d9de5e720>
2025-11-11 15:25:14,189 - 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-11 15:25:14,190 - DEBUG - ydb.topic - close: Close topic client
2025-11-11 15:25:14,190 - DEBUG - ydb.topic - close: Topic client was closed
2025-11-11 15:25:14,190 - INFO - ydb.connection - close: Closing channel for endpoint localhost:5304
2025-11-11 15:25:14,360 - INFO - ydb.connection - close: Closing channel for endpoint ghrun-l3u76ogmey.auto.internal:23599
2025-11-11 15:25:14,371 - INFO - ydb.pool.Discovery - run: Successfully terminated discovery process
2025-11-11 15:25:14,372 - INFO - ya.test - pytest_runtest_teardown: Test teardown
2025-11-11 15:25:14,373 - DEBUG - ydb.tests.library.fixtures - ydb_database_ctx: destroy database /Root/test_user_administration: remove path and dismantle internals
2025-11-11 15:25:14,373 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - remove_database: /Root/test_user_administration
2025-11-11 15:25:14,373 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_send_op: /Root/test_user_administration: send console operation, token root@builtin
2025-11-11 15:25:14,377 - 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=1762874714375695&action=2"
    }
  }
}
Status {
  Code: STATUS_CODE_UNSPECIFIED
}

2025-11-11 15:25:14,378 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_wait_op: /Root/test_user_administration: wait console operation done
2025-11-11 15:25:14,881 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_wait_op: /Root/test_user_administration: console operation done
2025-11-11 15:25:14,882 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_wait_tenant_gone: /Root/test_user_administration: wait tenant gone
2025-11-11 15:25:14,884 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_wait_tenant_gone: /Root/test_user_administration: tenant gone
2025-11-11 15:25:14,884 - DEBUG - ydb.tests.library.fixtures - ydb_database_ctx: destroy database /Root/test_user_administration: stop nodes
2025-11-11 15:25:31,892 - INFO - ydb.tests.library.harness.kikimr_runner - stop: Stopped node localhost:23599/1
2025-11-11 15:25:31,893 - DEBUG - ydb.tests.library.fixtures - ydb_database_ctx: destroy database /Root/test_user_administration: database down
2025-11-11 15:25:31,894 - INFO - ydb.tests.library.fixtures - ydb_cluster: destroy ydb_cluster for __tests__.test_user_administration
2025-11-11 15:25:48,908 - INFO - ydb.tests.library.harness.kikimr_runner - stop: Stopped node localhost:5304/1
2025-11-11 15:25:48,912 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/5748
2025-11-11 15:25:48,912 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/65526
2025-11-11 15:25:48,912 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/1382
2025-11-11 15:25:48,912 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/1776
2025-11-11 15:25:48,912 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/23599
2025-11-11 15:25:48,913 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/25317
2025-11-11 15:25:48,913 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/19740
2025-11-11 15:25:48,913 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/28393
2025-11-11 15:25:48,913 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/5304
2025-11-11 15:25:48,913 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/9563
