2025-12-09 10:29:49,894 - INFO - ya.test.3100976  - pytest_runtest_setup: ####################################################################################################
2025-12-09 10:29:49,895 - INFO - ya.test.3100976  - pytest_runtest_setup: test_database_admin_cant_change_database_admin_user[change-password]
2025-12-09 10:29:49,895 - INFO - ya.test.3100976  - pytest_runtest_setup: ####################################################################################################
2025-12-09 10:29:49,895 - INFO - ya.test.3100976  - pytest_runtest_setup: Test setup
2025-12-09 10:29:49,896 - INFO - ya.test.3100976  - pytest_runtest_call: Test call (class_name: test_user_administration.py, test_name: test_database_admin_cant_change_database_admin_user[change-password])
2025-12-09 10:29:49,897 - DEBUG - ydb.connection.3100976  - 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-12-09 10:29:49,902 - DEBUG - ydb.connection.3100976  - _prepare_call: RpcState(Login, 6988c442-f366-426d-9e6c-11194e1d691c, localhost:13253): creating call state
2025-12-09 10:29:49,902 - DEBUG - ydb.connection.3100976  - _log_request: RpcState(Login, 6988c442-f366-426d-9e6c-11194e1d691c, localhost:13253): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-12-09 10:29:49,908 - DEBUG - ydb.connection.3100976  - _log_response: RpcState(Login, 6988c442-f366-426d-9e6c-11194e1d691c, localhost:13253): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzY1MzE5Mzg5LCJpYXQiOjE3NjUyNzYxODksInN1YiI6ImRiYWRtaW4ifQ.D08ysBDMMEeKWONdvlCDkdWqMM9GWNNvotfldV62RMMKN474Or-CbSP7J79OGYtKL3Ugwi6kTUxCdzuTXS7gNPd_L3mGOTgFPUSTLf3ZFNMgNo2veVw8qK-kHV63Wma9Lh-LUROgZcIfmd8ICr5T9Sf5N0rjHI1yhmzvDSXjC3HUKJ5YADuMq3BSfa4bZPSd8IuU3G6ykAox4xQbSIL2e63Mg6Yabv3aa7ZXVWu71k4vBALwfZbrQ12_wqdjsI6QM_9ccysFkEvlkh-ypC-oRXKdyWLbRi7_oT0wP1cesZbsiwTLAl7I_qnkzCAIdlJpQKJI7HCEduSWxOxWzWYhQg" } } } }
2025-12-09 10:29:49,909 - DEBUG - ydb.connection.3100976  - close: Closing channel for endpoint localhost:13253
2025-12-09 10:29:50,105 - DEBUG - ydb.connection.3100976  - 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-12-09 10:29:50,106 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.3100976  - context_resolve: Preparing initial endpoint to resolve endpoints
2025-12-09 10:29:50,108 - DEBUG - ydb.connection.3100976  - 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-12-09 10:29:50,112 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.3100976  - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-12-09 10:29:50,113 - DEBUG - ydb.connection.3100976  - _prepare_call: RpcState(ListEndpoints, 127aa976-0367-474b-ae3d-294c007c03d8, localhost:13253): creating call state
2025-12-09 10:29:50,113 - DEBUG - ydb.connection.3100976  - _log_request: RpcState(ListEndpoints, 127aa976-0367-474b-ae3d-294c007c03d8, localhost:13253): request = { database: "/Root/test_user_administration" }
2025-12-09 10:29:50,115 - DEBUG - ydb.connection.3100976  - _log_response: RpcState(ListEndpoints, 127aa976-0367-474b-ae3d-294c007c03d8, localhost:13253): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-szdvczcwva.auto.internal" port: 8467 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-12-09 10:29:50,115 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.3100976  - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-szdvczcwva.auto.internal:8467, location , ssl: False>]>
2025-12-09 10:29:50,116 - DEBUG - ydb.connection.3100976  - 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-12-09 10:29:50,122 - DEBUG - ydb.connection.3100976  - close: Closing channel for endpoint localhost:13253
2025-12-09 10:29:50,123 - DEBUG - ydb.table.SessionPool.3100976  - subscribe: Active session queue is empty, subscribe waiter for a session
2025-12-09 10:29:50,124 - DEBUG - ydb.table.SessionPool.3100976  - subscribe: Subscribe waiter <Future at 0x7ff2e2feeea0 state=pending>
2025-12-09 10:29:50,124 - DEBUG - ydb.table.SessionPool.3100976  - subscribe: Session pool is not large enough (active_count < size: 0 < 100). will create a new session.
2025-12-09 10:29:50,124 - DEBUG - ydb.table.SessionPool.3100976  - _create: Created session <ydb.table.Session object at 0x7ff2e2feeb80>
2025-12-09 10:29:50,124 - DEBUG - ydb.table.SessionPool.3100976  - _prepare: Preparing session <ydb.table.Session object at 0x7ff2e2feeb80>
2025-12-09 10:29:50,125 - DEBUG - ydb.connection.3100976  - _prepare_call: RpcState(CreateSession, 3d3b0e99-96ca-4216-9a24-ec71445d3c8b, ghrun-szdvczcwva.auto.internal:8467): creating call state
2025-12-09 10:29:50,125 - DEBUG - ydb.connection.3100976  - _log_request: RpcState(CreateSession, 3d3b0e99-96ca-4216-9a24-ec71445d3c8b, ghrun-szdvczcwva.auto.internal:8467): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-12-09 10:29:50,127 - DEBUG - ydb.connection.3100976  - _on_response_callback: RpcState(CreateSession, 3d3b0e99-96ca-4216-9a24-ec71445d3c8b, ghrun-szdvczcwva.auto.internal:8467): on response callback started
2025-12-09 10:29:50,128 - DEBUG - ydb.connection.3100976  - _log_response: RpcState(CreateSession, 3d3b0e99-96ca-4216-9a24-ec71445d3c8b, ghrun-szdvczcwva.auto.internal:8467): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=NzQzOGIzZDUtYWI0MDI0Mi0zMWEwZGRlNy1iYTIxNWI3MA==" } } } }
2025-12-09 10:29:50,128 - DEBUG - ydb.table.SessionPool.3100976  - put: Put on session <ydb.table.Session object at 0x7ff2e2feeb80>
2025-12-09 10:29:50,129 - DEBUG - ydb.table.SessionPool.3100976  - put: Replying to waiter with a session <ydb.table.Session object at 0x7ff2e2feeb80>
2025-12-09 10:29:50,129 - DEBUG - ydb.connection.3100976  - _prepare_call: RpcState(ExecuteSchemeQuery, 2c7b0360-121f-46d3-9617-40ea373c225e, ghrun-szdvczcwva.auto.internal:8467): creating call state
2025-12-09 10:29:50,129 - DEBUG - ydb.connection.3100976  - _on_response_callback: RpcState(CreateSession, 3d3b0e99-96ca-4216-9a24-ec71445d3c8b, ghrun-szdvczcwva.auto.internal:8467): on response callback success
2025-12-09 10:29:50,130 - DEBUG - ydb.connection.3100976  - _log_request: RpcState(ExecuteSchemeQuery, 2c7b0360-121f-46d3-9617-40ea373c225e, ghrun-szdvczcwva.auto.internal:8467): request = { session_id: "ydb://session/3?node_id=50000&id=NzQzOGIzZDUtYWI0MDI0Mi0zMWEwZGRlNy1iYTIxNWI3MA==" yql_text: "alter user dbadmin2 password \"4321\"" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-12-09 10:29:50,136 - DEBUG - ydb.connection.3100976  - _log_response: RpcState(ExecuteSchemeQuery, 2c7b0360-121f-46d3-9617-40ea373c225e, ghrun-szdvczcwva.auto.internal:8467): 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-12-09 10:29:50,136 - DEBUG - ydb.table.SessionPool.3100976  - put: Put on session <ydb.table.Session object at 0x7ff2e2feeb80>
2025-12-09 10:29:50,136 - DEBUG - __tests__.test_user_administration.3100976  - 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-12-09 10:29:50,137 - DEBUG - ydb.topic.3100976  - close: Close topic client
2025-12-09 10:29:50,137 - DEBUG - ydb.topic.3100976  - close: Topic client was closed
2025-12-09 10:29:50,137 - DEBUG - ydb.connection.3100976  - close: Closing channel for endpoint localhost:13253
2025-12-09 10:29:50,315 - DEBUG - ydb.connection.3100976  - close: Closing channel for endpoint ghrun-szdvczcwva.auto.internal:8467
2025-12-09 10:29:50,325 - INFO - ydb.pool.Discovery.3100976  - run: Successfully terminated discovery process
2025-12-09 10:29:50,327 - INFO - ya.test.3100976  - pytest_runtest_teardown: Test teardown
2025-12-09 10:29:50,327 - DEBUG - ydb.tests.library.fixtures.3100976  - ydb_database_ctx: destroy database /Root/test_user_administration: remove path and dismantle internals
2025-12-09 10:29:50,327 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.3100976  - remove_database: /Root/test_user_administration
2025-12-09 10:29:50,328 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.3100976  - _remove_database_send_op: /Root/test_user_administration: send console operation, token root@builtin
2025-12-09 10:29:50,331 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.3100976  - _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=1765276190329289&action=2"
    }
  }
}
Status {
  Code: STATUS_CODE_UNSPECIFIED
}

2025-12-09 10:29:50,334 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.3100976  - _remove_database_wait_op: /Root/test_user_administration: wait console operation done
2025-12-09 10:29:50,838 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.3100976  - _remove_database_wait_op: /Root/test_user_administration: console operation done
2025-12-09 10:29:50,838 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.3100976  - _remove_database_wait_tenant_gone: /Root/test_user_administration: wait tenant gone
2025-12-09 10:29:50,840 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface.3100976  - _remove_database_wait_tenant_gone: /Root/test_user_administration: tenant gone
2025-12-09 10:29:50,840 - DEBUG - ydb.tests.library.fixtures.3100976  - ydb_database_ctx: destroy database /Root/test_user_administration: stop nodes
2025-12-09 10:30:02,842 - INFO - ydb.tests.library.harness.kikimr_runner.3100976  - stop: Stopped node localhost:8467/1
2025-12-09 10:30:02,842 - DEBUG - ydb.tests.library.fixtures.3100976  - ydb_database_ctx: destroy database /Root/test_user_administration: database down
2025-12-09 10:30:02,843 - INFO - ydb.tests.library.fixtures.3100976  - ydb_cluster: destroy ydb_cluster for __tests__.test_user_administration
2025-12-09 10:30:19,845 - INFO - ydb.tests.library.harness.kikimr_runner.3100976  - stop: Stopped node localhost:13253/1
2025-12-09 10:30:19,847 - DEBUG - library.python.filelock.3100976  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/23032
2025-12-09 10:30:19,847 - DEBUG - library.python.filelock.3100976  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/18137
2025-12-09 10:30:19,848 - DEBUG - library.python.filelock.3100976  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/4050
2025-12-09 10:30:19,849 - DEBUG - library.python.filelock.3100976  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/25379
2025-12-09 10:30:19,849 - DEBUG - library.python.filelock.3100976  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/8467
2025-12-09 10:30:19,849 - DEBUG - library.python.filelock.3100976  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/24385
2025-12-09 10:30:19,849 - DEBUG - library.python.filelock.3100976  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/11142
2025-12-09 10:30:19,849 - DEBUG - library.python.filelock.3100976  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/63944
2025-12-09 10:30:19,849 - DEBUG - library.python.filelock.3100976  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/13253
2025-12-09 10:30:19,849 - DEBUG - library.python.filelock.3100976  - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/7741
