2025-11-01 16:24:27,369 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-01 16:24:27,369 - INFO - ya.test - pytest_runtest_setup: test_database_admin_cant_change_database_admin_user[change-password]
2025-11-01 16:24:27,369 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-01 16:24:27,370 - INFO - ya.test - pytest_runtest_setup: Test setup
2025-11-01 16:24:27,371 - 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-01 16:24:27,371 - 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-01 16:24:27,375 - DEBUG - ydb.connection - _prepare_call: RpcState(Login, b8692aeb-6df7-4c29-a052-518a30b80969, localhost:18725): creating call state
2025-11-01 16:24:27,376 - DEBUG - ydb.connection - _log_request: RpcState(Login, b8692aeb-6df7-4c29-a052-518a30b80969, localhost:18725): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-11-01 16:24:27,382 - DEBUG - ydb.connection - _log_response: RpcState(Login, b8692aeb-6df7-4c29-a052-518a30b80969, localhost:18725): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzYyMDU3NDY3LCJpYXQiOjE3NjIwMTQyNjcsInN1YiI6ImRiYWRtaW4ifQ.CSdHjy700OqVeYEC8wQ5hhMD94bui0G-hDYCQ1WIgggQFC7aoKGEtZdtvzNhI2TRXY9-vgM6thWCoKF158GglQfW1vmCUcNHm2wJwx3mYmH8syIECOppEA0x56HPI5KhsIGlSWtsHkKTyVjf7IVkuka_kfYFEs1mkBRL6U71kqCBy9gA0iAv6wOZY2PPS_WoNALjcbMwKfT58e5bhIDBuTmTsj8Q6geKsY9omgUQf5RNIYOTe3v4djnOpvdoexhzEQryKA6HeXwpfwO5vdBmRHef8AunS96Mqg2WEgV1ZXqecrOC802M7xFCVLbMW7c5qs6PKVpOvQFmDMmtlitqMA" } } } }
2025-11-01 16:24:27,382 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:18725
2025-11-01 16:24:27,578 - 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-01 16:24:27,580 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Preparing initial endpoint to resolve endpoints
2025-11-01 16:24:27,581 - 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-01 16:24:27,585 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-11-01 16:24:27,585 - DEBUG - ydb.connection - _prepare_call: RpcState(ListEndpoints, dda39a88-de37-4a59-8a8f-fe1595851496, localhost:18725): creating call state
2025-11-01 16:24:27,585 - DEBUG - ydb.connection - _log_request: RpcState(ListEndpoints, dda39a88-de37-4a59-8a8f-fe1595851496, localhost:18725): request = { database: "/Root/test_user_administration" }
2025-11-01 16:24:27,588 - DEBUG - ydb.connection - _log_response: RpcState(ListEndpoints, dda39a88-de37-4a59-8a8f-fe1595851496, localhost:18725): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-wicuw7bjty.auto.internal" port: 64507 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-01 16:24:27,588 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-wicuw7bjty.auto.internal:64507, location , ssl: False>]>
2025-11-01 16:24:27,589 - 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-01 16:24:27,594 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:18725
2025-11-01 16:24:27,595 - DEBUG - ydb.table.SessionPool - subscribe: Active session queue is empty, subscribe waiter for a session
2025-11-01 16:24:27,596 - DEBUG - ydb.table.SessionPool - subscribe: Subscribe waiter <Future at 0x7f1577175960 state=pending>
2025-11-01 16:24:27,596 - DEBUG - ydb.table.SessionPool - subscribe: Session pool is not large enough (active_count < size: 0 < 100). will create a new session.
2025-11-01 16:24:27,596 - DEBUG - ydb.table.SessionPool - _create: Created session <ydb.table.Session object at 0x7f1577174ab0>
2025-11-01 16:24:27,596 - DEBUG - ydb.table.SessionPool - _prepare: Preparing session <ydb.table.Session object at 0x7f1577174ab0>
2025-11-01 16:24:27,597 - DEBUG - ydb.connection - _prepare_call: RpcState(CreateSession, 1ab5baa6-ff51-45a6-8b0e-ef2866045538, ghrun-wicuw7bjty.auto.internal:64507): creating call state
2025-11-01 16:24:27,597 - DEBUG - ydb.connection - _log_request: RpcState(CreateSession, 1ab5baa6-ff51-45a6-8b0e-ef2866045538, ghrun-wicuw7bjty.auto.internal:64507): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-11-01 16:24:27,599 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, 1ab5baa6-ff51-45a6-8b0e-ef2866045538, ghrun-wicuw7bjty.auto.internal:64507): on response callback started
2025-11-01 16:24:27,600 - DEBUG - ydb.connection - _log_response: RpcState(CreateSession, 1ab5baa6-ff51-45a6-8b0e-ef2866045538, ghrun-wicuw7bjty.auto.internal:64507): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=OTdmZjhkNjMtNGUyZTNlNGYtZTk1YzliNGItNzZkYjRjNGQ=" } } } }
2025-11-01 16:24:27,600 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7f1577174ab0>
2025-11-01 16:24:27,601 - DEBUG - ydb.table.SessionPool - put: Replying to waiter with a session <ydb.table.Session object at 0x7f1577174ab0>
2025-11-01 16:24:27,601 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, 1ab5baa6-ff51-45a6-8b0e-ef2866045538, ghrun-wicuw7bjty.auto.internal:64507): on response callback success
2025-11-01 16:24:27,601 - DEBUG - ydb.connection - _prepare_call: RpcState(ExecuteSchemeQuery, deab6265-b3ae-4c2d-aace-7257adcb04b1, ghrun-wicuw7bjty.auto.internal:64507): creating call state
2025-11-01 16:24:27,602 - DEBUG - ydb.connection - _log_request: RpcState(ExecuteSchemeQuery, deab6265-b3ae-4c2d-aace-7257adcb04b1, ghrun-wicuw7bjty.auto.internal:64507): request = { session_id: "ydb://session/3?node_id=50000&id=OTdmZjhkNjMtNGUyZTNlNGYtZTk1YzliNGItNzZkYjRjNGQ=" yql_text: "alter user dbadmin2 password \"4321\"" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-11-01 16:24:27,608 - DEBUG - ydb.connection - _log_response: RpcState(ExecuteSchemeQuery, deab6265-b3ae-4c2d-aace-7257adcb04b1, ghrun-wicuw7bjty.auto.internal:64507): 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-01 16:24:27,608 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7f1577174ab0>
2025-11-01 16:24:27,609 - 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-01 16:24:27,609 - DEBUG - ydb.topic - close: Close topic client
2025-11-01 16:24:27,609 - DEBUG - ydb.topic - close: Topic client was closed
2025-11-01 16:24:27,609 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:18725
2025-11-01 16:24:27,787 - DEBUG - ydb.connection - close: Closing channel for endpoint ghrun-wicuw7bjty.auto.internal:64507
2025-11-01 16:24:27,797 - INFO - ydb.pool.Discovery - run: Successfully terminated discovery process
2025-11-01 16:24:27,798 - INFO - ya.test - pytest_runtest_teardown: Test teardown
2025-11-01 16:24:27,799 - DEBUG - ydb.tests.library.fixtures - ydb_database_ctx: destroy database /Root/test_user_administration: remove path and dismantle internals
2025-11-01 16:24:27,799 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - remove_database: /Root/test_user_administration
2025-11-01 16:24:27,799 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_send_op: /Root/test_user_administration: send console operation, token root@builtin
2025-11-01 16:24:27,803 - 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=1762014267802014&action=2"
    }
  }
}
Status {
  Code: STATUS_CODE_UNSPECIFIED
}

2025-11-01 16:24:27,804 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_wait_op: /Root/test_user_administration: wait console operation done
2025-11-01 16:24:28,307 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_wait_op: /Root/test_user_administration: console operation done
2025-11-01 16:24:28,307 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_wait_tenant_gone: /Root/test_user_administration: wait tenant gone
2025-11-01 16:24:28,309 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_wait_tenant_gone: /Root/test_user_administration: tenant gone
2025-11-01 16:24:28,310 - DEBUG - ydb.tests.library.fixtures - ydb_database_ctx: destroy database /Root/test_user_administration: stop nodes
2025-11-01 16:24:40,311 - INFO - ydb.tests.library.harness.kikimr_runner - stop: Stopped node localhost:64507/1
2025-11-01 16:24:40,311 - DEBUG - ydb.tests.library.fixtures - ydb_database_ctx: destroy database /Root/test_user_administration: database down
2025-11-01 16:24:40,312 - INFO - ydb.tests.library.fixtures - ydb_cluster: destroy ydb_cluster for __tests__.test_user_administration
2025-11-01 16:24:52,314 - INFO - ydb.tests.library.harness.kikimr_runner - stop: Stopped node localhost:18725/1
2025-11-01 16:24:52,316 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/9423
2025-11-01 16:24:52,316 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/4640
2025-11-01 16:24:52,316 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/4014
2025-11-01 16:24:52,316 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/4137
2025-11-01 16:24:52,317 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/64507
2025-11-01 16:24:52,317 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/7473
2025-11-01 16:24:52,317 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/32131
2025-11-01 16:24:52,317 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/1988
2025-11-01 16:24:52,317 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/18725
2025-11-01 16:24:52,318 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/7054
