2025-10-15 14:58:49,753 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-10-15 14:58:49,754 - INFO - ya.test - pytest_runtest_setup: test_database_admin_cant_change_database_admin_user[change-password]
2025-10-15 14:58:49,754 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-10-15 14:58:49,754 - INFO - ya.test - pytest_runtest_setup: Test setup
2025-10-15 14:58:49,755 - 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-10-15 14:58:49,756 - 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-10-15 14:58:49,762 - DEBUG - ydb.connection - _prepare_call: RpcState(Login, 051bbabf-e328-44fd-a80a-10eb22a69a9b, localhost:1520): creating call state
2025-10-15 14:58:49,762 - DEBUG - ydb.connection - _log_request: RpcState(Login, 051bbabf-e328-44fd-a80a-10eb22a69a9b, localhost:1520): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-10-15 14:58:49,771 - DEBUG - ydb.connection - _log_response: RpcState(Login, 051bbabf-e328-44fd-a80a-10eb22a69a9b, localhost:1520): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzYwNTgzNTI5LCJpYXQiOjE3NjA1NDAzMjksInN1YiI6ImRiYWRtaW4ifQ.sbn6qRfziJeKMeHr8uFlhTLT_TRBcikdbsxNOwfd4poBbIqNU9bjkLSP3Vyh0bG0aVu8AGhO7LXIzgqgKx2ytyDXB0RNBBpaBMiP_IXv_r_CPXfiQAdYU4hXRXheCpAQtuTjcdg1nTwP1nIG9vT3H4np7TkVeFWwoj8_RBSH3praKKEARGrohmYNtdNVIIMOnC-OlUuO13E_v54fvGMpnapgLDlnR6JUzgCkRXen2D2i0T8QWZ_WQhvsTlzHceKdD7UosGysduBGXhLsSD7G_3qGmWqeT0SUBFSyAWe0vTSmEGPdQesST9qmYkLXyubsMCOWQ6lHBYJZrXOMjEbgHA" } } } }
2025-10-15 14:58:49,772 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:1520
2025-10-15 14:58:49,965 - 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-10-15 14:58:49,967 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Preparing initial endpoint to resolve endpoints
2025-10-15 14:58:49,968 - 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-10-15 14:58:49,974 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-10-15 14:58:49,974 - DEBUG - ydb.connection - _prepare_call: RpcState(ListEndpoints, aaf7b259-0d3e-40a6-967c-e2ae6550744e, localhost:1520): creating call state
2025-10-15 14:58:49,975 - DEBUG - ydb.connection - _log_request: RpcState(ListEndpoints, aaf7b259-0d3e-40a6-967c-e2ae6550744e, localhost:1520): request = { database: "/Root/test_user_administration" }
2025-10-15 14:58:49,978 - DEBUG - ydb.connection - _log_response: RpcState(ListEndpoints, aaf7b259-0d3e-40a6-967c-e2ae6550744e, localhost:1520): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-w3odipbbdi.auto.internal" port: 29290 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-10-15 14:58:49,978 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-w3odipbbdi.auto.internal:29290, location , ssl: False>]>
2025-10-15 14:58:49,979 - 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-10-15 14:58:49,989 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:1520
2025-10-15 14:58:49,990 - DEBUG - ydb.table.SessionPool - subscribe: Active session queue is empty, subscribe waiter for a session
2025-10-15 14:58:49,991 - DEBUG - ydb.table.SessionPool - subscribe: Subscribe waiter <Future at 0x7f90b859fcb0 state=pending>
2025-10-15 14:58:49,991 - DEBUG - ydb.table.SessionPool - subscribe: Session pool is not large enough (active_count < size: 0 < 100). will create a new session.
2025-10-15 14:58:49,991 - DEBUG - ydb.table.SessionPool - _create: Created session <ydb.table.Session object at 0x7f90b859d500>
2025-10-15 14:58:49,991 - DEBUG - ydb.table.SessionPool - _prepare: Preparing session <ydb.table.Session object at 0x7f90b859d500>
2025-10-15 14:58:49,992 - DEBUG - ydb.connection - _prepare_call: RpcState(CreateSession, 4d9d61cf-8f46-47cd-a07c-86e009890e89, ghrun-w3odipbbdi.auto.internal:29290): creating call state
2025-10-15 14:58:49,992 - DEBUG - ydb.connection - _log_request: RpcState(CreateSession, 4d9d61cf-8f46-47cd-a07c-86e009890e89, ghrun-w3odipbbdi.auto.internal:29290): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-10-15 14:58:49,998 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, 4d9d61cf-8f46-47cd-a07c-86e009890e89, ghrun-w3odipbbdi.auto.internal:29290): on response callback started
2025-10-15 14:58:49,999 - DEBUG - ydb.connection - _log_response: RpcState(CreateSession, 4d9d61cf-8f46-47cd-a07c-86e009890e89, ghrun-w3odipbbdi.auto.internal:29290): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=MzE0ZDA5MjUtYjBmMjZmNDMtYzk2MTkzMzYtMjE2OWRmMjA=" } } } }
2025-10-15 14:58:49,999 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7f90b859d500>
2025-10-15 14:58:49,999 - DEBUG - ydb.table.SessionPool - put: Replying to waiter with a session <ydb.table.Session object at 0x7f90b859d500>
2025-10-15 14:58:50,000 - DEBUG - ydb.connection - _prepare_call: RpcState(ExecuteSchemeQuery, 3bbed80e-0a6d-4175-93c1-1728859f2b2a, ghrun-w3odipbbdi.auto.internal:29290): creating call state
2025-10-15 14:58:50,001 - DEBUG - ydb.connection - _log_request: RpcState(ExecuteSchemeQuery, 3bbed80e-0a6d-4175-93c1-1728859f2b2a, ghrun-w3odipbbdi.auto.internal:29290): request = { session_id: "ydb://session/3?node_id=50000&id=MzE0ZDA5MjUtYjBmMjZmNDMtYzk2MTkzMzYtMjE2OWRmMjA=" yql_text: "alter user dbadmin2 password \"4321\"" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-10-15 14:58:50,000 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, 4d9d61cf-8f46-47cd-a07c-86e009890e89, ghrun-w3odipbbdi.auto.internal:29290): on response callback success
2025-10-15 14:58:50,018 - DEBUG - ydb.connection - _log_response: RpcState(ExecuteSchemeQuery, 3bbed80e-0a6d-4175-93c1-1728859f2b2a, ghrun-w3odipbbdi.auto.internal:29290): 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-10-15 14:58:50,019 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7f90b859d500>
2025-10-15 14:58:50,019 - 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-10-15 14:58:50,019 - DEBUG - ydb.topic - close: Close topic client
2025-10-15 14:58:50,019 - DEBUG - ydb.topic - close: Topic client was closed
2025-10-15 14:58:50,019 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:1520
2025-10-15 14:58:50,176 - DEBUG - ydb.connection - close: Closing channel for endpoint ghrun-w3odipbbdi.auto.internal:29290
2025-10-15 14:58:50,192 - INFO - ydb.pool.Discovery - run: Successfully terminated discovery process
2025-10-15 14:58:50,193 - INFO - ya.test - pytest_runtest_teardown: Test teardown
2025-10-15 14:58:50,194 - DEBUG - ydb.tests.library.fixtures - ydb_database_ctx: destroy database /Root/test_user_administration: remove path and dismantle internals
2025-10-15 14:58:50,194 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - remove_database: /Root/test_user_administration
2025-10-15 14:58:50,194 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_send_op: /Root/test_user_administration: send console operation, token root@builtin
2025-10-15 14:58:50,202 - 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=1760540330200609&action=2"
    }
  }
}
Status {
  Code: STATUS_CODE_UNSPECIFIED
}

2025-10-15 14:58:50,202 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_wait_op: /Root/test_user_administration: wait console operation done
2025-10-15 14:58:50,706 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_wait_op: /Root/test_user_administration: console operation done
2025-10-15 14:58:50,707 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_wait_tenant_gone: /Root/test_user_administration: wait tenant gone
2025-10-15 14:58:50,710 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_wait_tenant_gone: /Root/test_user_administration: tenant gone
2025-10-15 14:58:50,710 - DEBUG - ydb.tests.library.fixtures - ydb_database_ctx: destroy database /Root/test_user_administration: stop nodes
2025-10-15 14:59:02,714 - INFO - ydb.tests.library.harness.kikimr_runner - stop: Stopped node localhost:29290/1
2025-10-15 14:59:02,715 - DEBUG - ydb.tests.library.fixtures - ydb_database_ctx: destroy database /Root/test_user_administration: database down
2025-10-15 14:59:02,716 - INFO - ydb.tests.library.fixtures - ydb_cluster: destroy ydb_cluster for __tests__.test_user_administration
2025-10-15 14:59:19,730 - INFO - ydb.tests.library.harness.kikimr_runner - stop: Stopped node localhost:1520/1
2025-10-15 14:59:19,732 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/26978
2025-10-15 14:59:19,732 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/17651
2025-10-15 14:59:19,732 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/11497
2025-10-15 14:59:19,744 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/62336
2025-10-15 14:59:19,753 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/29290
2025-10-15 14:59:19,753 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/22458
2025-10-15 14:59:19,757 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/25955
2025-10-15 14:59:19,757 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/18201
2025-10-15 14:59:19,757 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/1520
2025-10-15 14:59:19,757 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/4560
