2025-11-06 09:56:51,196 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-06 09:56:51,196 - INFO - ya.test - pytest_runtest_setup: test_database_admin_cant_change_database_admin_user[change-password]
2025-11-06 09:56:51,197 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-06 09:56:51,197 - INFO - ya.test - pytest_runtest_setup: Test setup
2025-11-06 09:56:51,198 - 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-06 09:56:51,199 - 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-06 09:56:51,222 - DEBUG - ydb.connection - _prepare_call: RpcState(Login, 1ab4ae59-4afa-4b74-bb46-9346d347d6f7, localhost:11265): creating call state
2025-11-06 09:56:51,232 - DEBUG - ydb.connection - _log_request: RpcState(Login, 1ab4ae59-4afa-4b74-bb46-9346d347d6f7, localhost:11265): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-11-06 09:56:51,249 - DEBUG - ydb.connection - _log_response: RpcState(Login, 1ab4ae59-4afa-4b74-bb46-9346d347d6f7, localhost:11265): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzYyNDY2MjExLCJpYXQiOjE3NjI0MjMwMTEsInN1YiI6ImRiYWRtaW4ifQ.RRuMqYYhmZPXD_W-XKxFG36iwIteiaq07yWBfnnEhL--rfzLq7qCaHxU1pmsymmiHCSy4aW18Eh2sa0ZwQZbTc7j-LPbN2KPm7uzU_0M26awPOvzdF-EzK80CjucXW9lOgjtU12B-F6PXh3smy5RudrdD16sh5Fs1RtdIzWBLuwg-y-7_U7sjY_eTcwtrMieuGb0Jdz3TUa8W-DupHc7ytA89c2_2bWZ7S7XLtrX4rn_oKCnDHWHF6QxdqnEMOV7x5wU0FjuS6KYS6wwqXA-1Lab35cDDZxks9TeytcA2hGug5P8yiMK9jbTOMyubEvle0pmTIUtTfij4Cjt5S3baw" } } } }
2025-11-06 09:56:51,250 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:11265
2025-11-06 09:56:51,427 - 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-06 09:56:51,436 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Preparing initial endpoint to resolve endpoints
2025-11-06 09:56:51,437 - 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-06 09:56:51,464 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-11-06 09:56:51,465 - DEBUG - ydb.connection - _prepare_call: RpcState(ListEndpoints, f6deadc5-622a-47a8-8f25-05edbd650a6a, localhost:11265): creating call state
2025-11-06 09:56:51,465 - DEBUG - ydb.connection - _log_request: RpcState(ListEndpoints, f6deadc5-622a-47a8-8f25-05edbd650a6a, localhost:11265): request = { database: "/Root/test_user_administration" }
2025-11-06 09:56:51,468 - DEBUG - ydb.connection - _log_response: RpcState(ListEndpoints, f6deadc5-622a-47a8-8f25-05edbd650a6a, localhost:11265): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-ar5i2wnyyy.auto.internal" port: 19416 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-06 09:56:51,469 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-ar5i2wnyyy.auto.internal:19416, location , ssl: False>]>
2025-11-06 09:56:51,469 - 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-06 09:56:51,488 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:11265
2025-11-06 09:56:51,488 - DEBUG - ydb.table.SessionPool - subscribe: Active session queue is empty, subscribe waiter for a session
2025-11-06 09:56:51,489 - DEBUG - ydb.table.SessionPool - subscribe: Subscribe waiter <Future at 0x7f280dea73f0 state=pending>
2025-11-06 09:56:51,489 - DEBUG - ydb.table.SessionPool - subscribe: Session pool is not large enough (active_count < size: 0 < 100). will create a new session.
2025-11-06 09:56:51,489 - DEBUG - ydb.table.SessionPool - _create: Created session <ydb.table.Session object at 0x7f280dea6860>
2025-11-06 09:56:51,489 - DEBUG - ydb.table.SessionPool - _prepare: Preparing session <ydb.table.Session object at 0x7f280dea6860>
2025-11-06 09:56:51,489 - DEBUG - ydb.connection - _prepare_call: RpcState(CreateSession, 3c578fa5-0fb6-485f-b144-50efe72b9d75, ghrun-ar5i2wnyyy.auto.internal:19416): creating call state
2025-11-06 09:56:51,490 - DEBUG - ydb.connection - _log_request: RpcState(CreateSession, 3c578fa5-0fb6-485f-b144-50efe72b9d75, ghrun-ar5i2wnyyy.auto.internal:19416): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-11-06 09:56:51,493 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, 3c578fa5-0fb6-485f-b144-50efe72b9d75, ghrun-ar5i2wnyyy.auto.internal:19416): on response callback started
2025-11-06 09:56:51,493 - DEBUG - ydb.connection - _log_response: RpcState(CreateSession, 3c578fa5-0fb6-485f-b144-50efe72b9d75, ghrun-ar5i2wnyyy.auto.internal:19416): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=NTk0M2MxYzYtMWQ2NjlkYjctY2VmOWYzODQtODY5M2MxNTc=" } } } }
2025-11-06 09:56:51,493 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, 3c578fa5-0fb6-485f-b144-50efe72b9d75, ghrun-ar5i2wnyyy.auto.internal:19416): on response callback success
2025-11-06 09:56:51,493 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7f280dea6860>
2025-11-06 09:56:51,494 - DEBUG - ydb.table.SessionPool - put: Replying to waiter with a session <ydb.table.Session object at 0x7f280dea6860>
2025-11-06 09:56:51,494 - DEBUG - ydb.connection - _prepare_call: RpcState(ExecuteSchemeQuery, 41f393b3-2bb0-4c20-9cdd-f2aaa5e85cd4, ghrun-ar5i2wnyyy.auto.internal:19416): creating call state
2025-11-06 09:56:51,494 - DEBUG - ydb.connection - _log_request: RpcState(ExecuteSchemeQuery, 41f393b3-2bb0-4c20-9cdd-f2aaa5e85cd4, ghrun-ar5i2wnyyy.auto.internal:19416): request = { session_id: "ydb://session/3?node_id=50000&id=NTk0M2MxYzYtMWQ2NjlkYjctY2VmOWYzODQtODY5M2MxNTc=" yql_text: "alter user dbadmin2 password \"4321\"" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-11-06 09:56:51,505 - DEBUG - ydb.connection - _log_response: RpcState(ExecuteSchemeQuery, 41f393b3-2bb0-4c20-9cdd-f2aaa5e85cd4, ghrun-ar5i2wnyyy.auto.internal:19416): 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-06 09:56:51,505 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7f280dea6860>
2025-11-06 09:56:51,506 - 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-06 09:56:51,506 - DEBUG - ydb.topic - close: Close topic client
2025-11-06 09:56:51,506 - DEBUG - ydb.topic - close: Topic client was closed
2025-11-06 09:56:51,506 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:11265
2025-11-06 09:56:51,665 - DEBUG - ydb.connection - close: Closing channel for endpoint ghrun-ar5i2wnyyy.auto.internal:19416
2025-11-06 09:56:51,696 - INFO - ydb.pool.Discovery - run: Successfully terminated discovery process
2025-11-06 09:56:51,727 - INFO - ya.test - pytest_runtest_teardown: Test teardown
2025-11-06 09:56:51,728 - DEBUG - ydb.tests.library.fixtures - ydb_database_ctx: destroy database /Root/test_user_administration: remove path and dismantle internals
2025-11-06 09:56:51,729 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - remove_database: /Root/test_user_administration
2025-11-06 09:56:51,729 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_send_op: /Root/test_user_administration: send console operation, token root@builtin
2025-11-06 09:56:51,751 - 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=1762423011736251&action=2"
    }
  }
}
Status {
  Code: STATUS_CODE_UNSPECIFIED
}

2025-11-06 09:56:51,751 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_wait_op: /Root/test_user_administration: wait console operation done
2025-11-06 09:56:52,263 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_wait_op: /Root/test_user_administration: console operation done
2025-11-06 09:56:52,263 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_wait_tenant_gone: /Root/test_user_administration: wait tenant gone
2025-11-06 09:56:52,266 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_wait_tenant_gone: /Root/test_user_administration: tenant gone
2025-11-06 09:56:52,267 - DEBUG - ydb.tests.library.fixtures - ydb_database_ctx: destroy database /Root/test_user_administration: stop nodes
2025-11-06 09:57:04,268 - INFO - ydb.tests.library.harness.kikimr_runner - stop: Stopped node localhost:19416/1
2025-11-06 09:57:04,268 - DEBUG - ydb.tests.library.fixtures - ydb_database_ctx: destroy database /Root/test_user_administration: database down
2025-11-06 09:57:04,270 - INFO - ydb.tests.library.fixtures - ydb_cluster: destroy ydb_cluster for __tests__.test_user_administration
2025-11-06 09:57:21,274 - INFO - ydb.tests.library.harness.kikimr_runner - stop: Stopped node localhost:11265/1
2025-11-06 09:57:21,275 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/61781
2025-11-06 09:57:21,276 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/9814
2025-11-06 09:57:21,276 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/17757
2025-11-06 09:57:21,276 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/22309
2025-11-06 09:57:21,276 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/19416
2025-11-06 09:57:21,276 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/31780
2025-11-06 09:57:21,277 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/64490
2025-11-06 09:57:21,277 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/16125
2025-11-06 09:57:21,277 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/11265
2025-11-06 09:57:21,277 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/6770
