2025-10-16 17:12:55,926 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-10-16 17:12:55,926 - INFO - ya.test - pytest_runtest_setup: test_database_admin_cant_change_database_admin_user[change-password]
2025-10-16 17:12:55,927 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-10-16 17:12:55,927 - INFO - ya.test - pytest_runtest_setup: Test setup
2025-10-16 17:12:55,928 - 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-16 17:12:55,928 - 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-16 17:12:55,932 - DEBUG - ydb.connection - _prepare_call: RpcState(Login, 4dd10423-6c71-437a-9763-0b12d7893184, localhost:63943): creating call state
2025-10-16 17:12:55,932 - DEBUG - ydb.connection - _log_request: RpcState(Login, 4dd10423-6c71-437a-9763-0b12d7893184, localhost:63943): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-10-16 17:12:55,938 - DEBUG - ydb.connection - _log_response: RpcState(Login, 4dd10423-6c71-437a-9763-0b12d7893184, localhost:63943): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzYwNjc3OTc1LCJpYXQiOjE3NjA2MzQ3NzUsInN1YiI6ImRiYWRtaW4ifQ.PpzgUTztMgCHxfJ72Fr3nerWJGI5YV5BUssR7791egMk84nvRJ-HnVxz1RSxTYgW1WJt7ss2AJ3mLAhjOUKsz8quvrNcypST4qDQjAjhURdD7pZed4GuvLzO7X40dovBU8V5ARynF5TRj90VQJrZcGeQ1tlYTnCAWocGTqyefurg3LJm8Xg5W95BPGLY692wodeDhNG9llJgtmAuurkTAlKfwN4hLo9s_JN0GGsIeiAdtdU_MQEHnBjORxiDUT8jaOCH6Mr8rrJ14wmNmvORcRhwr8mSmnLaWnmQxS9_ZvdwSPZlDfOXe-Iei_cl_0U5ME4_5CzQZ9UKnzn2-F6YtQ" } } } }
2025-10-16 17:12:55,938 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:63943
2025-10-16 17:12:56,134 - 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-16 17:12:56,136 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Preparing initial endpoint to resolve endpoints
2025-10-16 17:12:56,137 - 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-16 17:12:56,141 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-10-16 17:12:56,141 - DEBUG - ydb.connection - _prepare_call: RpcState(ListEndpoints, ebab0f18-a26f-4527-91f9-9c66eed12951, localhost:63943): creating call state
2025-10-16 17:12:56,141 - DEBUG - ydb.connection - _log_request: RpcState(ListEndpoints, ebab0f18-a26f-4527-91f9-9c66eed12951, localhost:63943): request = { database: "/Root/test_user_administration" }
2025-10-16 17:12:56,144 - DEBUG - ydb.connection - _log_response: RpcState(ListEndpoints, ebab0f18-a26f-4527-91f9-9c66eed12951, localhost:63943): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-rhpjeeeody.auto.internal" port: 11008 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-16 17:12:56,144 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-rhpjeeeody.auto.internal:11008, location , ssl: False>]>
2025-10-16 17:12:56,144 - 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-16 17:12:56,150 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:63943
2025-10-16 17:12:56,150 - DEBUG - ydb.table.SessionPool - subscribe: Active session queue is empty, subscribe waiter for a session
2025-10-16 17:12:56,151 - DEBUG - ydb.table.SessionPool - subscribe: Subscribe waiter <Future at 0x7f5b24325500 state=pending>
2025-10-16 17:12:56,151 - DEBUG - ydb.table.SessionPool - subscribe: Session pool is not large enough (active_count < size: 0 < 100). will create a new session.
2025-10-16 17:12:56,151 - DEBUG - ydb.table.SessionPool - _create: Created session <ydb.table.Session object at 0x7f5b24324f10>
2025-10-16 17:12:56,151 - DEBUG - ydb.table.SessionPool - _prepare: Preparing session <ydb.table.Session object at 0x7f5b24324f10>
2025-10-16 17:12:56,152 - DEBUG - ydb.connection - _prepare_call: RpcState(CreateSession, 8f2bba70-10fb-41b5-9480-bb9173cc0672, ghrun-rhpjeeeody.auto.internal:11008): creating call state
2025-10-16 17:12:56,152 - DEBUG - ydb.connection - _log_request: RpcState(CreateSession, 8f2bba70-10fb-41b5-9480-bb9173cc0672, ghrun-rhpjeeeody.auto.internal:11008): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-10-16 17:12:56,154 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, 8f2bba70-10fb-41b5-9480-bb9173cc0672, ghrun-rhpjeeeody.auto.internal:11008): on response callback started
2025-10-16 17:12:56,154 - DEBUG - ydb.connection - _log_response: RpcState(CreateSession, 8f2bba70-10fb-41b5-9480-bb9173cc0672, ghrun-rhpjeeeody.auto.internal:11008): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=NGRmOTE5N2MtNjUxMmQwMDgtZTRkNTY2OTEtYWU1NzM0M2Q=" } } } }
2025-10-16 17:12:56,155 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7f5b24324f10>
2025-10-16 17:12:56,155 - DEBUG - ydb.table.SessionPool - put: Replying to waiter with a session <ydb.table.Session object at 0x7f5b24324f10>
2025-10-16 17:12:56,155 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, 8f2bba70-10fb-41b5-9480-bb9173cc0672, ghrun-rhpjeeeody.auto.internal:11008): on response callback success
2025-10-16 17:12:56,155 - DEBUG - ydb.connection - _prepare_call: RpcState(ExecuteSchemeQuery, 2b53cb3c-5eed-4ec5-80b9-fb2ee5f41bd9, ghrun-rhpjeeeody.auto.internal:11008): creating call state
2025-10-16 17:12:56,156 - DEBUG - ydb.connection - _log_request: RpcState(ExecuteSchemeQuery, 2b53cb3c-5eed-4ec5-80b9-fb2ee5f41bd9, ghrun-rhpjeeeody.auto.internal:11008): request = { session_id: "ydb://session/3?node_id=50000&id=NGRmOTE5N2MtNjUxMmQwMDgtZTRkNTY2OTEtYWU1NzM0M2Q=" yql_text: "alter user dbadmin2 password \"4321\"" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-10-16 17:12:56,161 - DEBUG - ydb.connection - _log_response: RpcState(ExecuteSchemeQuery, 2b53cb3c-5eed-4ec5-80b9-fb2ee5f41bd9, ghrun-rhpjeeeody.auto.internal:11008): 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-16 17:12:56,161 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7f5b24324f10>
2025-10-16 17:12:56,161 - 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-16 17:12:56,161 - DEBUG - ydb.topic - close: Close topic client
2025-10-16 17:12:56,161 - DEBUG - ydb.topic - close: Topic client was closed
2025-10-16 17:12:56,162 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:63943
2025-10-16 17:12:56,344 - DEBUG - ydb.connection - close: Closing channel for endpoint ghrun-rhpjeeeody.auto.internal:11008
2025-10-16 17:12:56,351 - INFO - ydb.pool.Discovery - run: Successfully terminated discovery process
2025-10-16 17:12:56,353 - INFO - ya.test - pytest_runtest_teardown: Test teardown
2025-10-16 17:12:56,353 - DEBUG - ydb.tests.library.fixtures - ydb_database_ctx: destroy database /Root/test_user_administration: remove path and dismantle internals
2025-10-16 17:12:56,353 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - remove_database: /Root/test_user_administration
2025-10-16 17:12:56,354 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_send_op: /Root/test_user_administration: send console operation, token root@builtin
2025-10-16 17:12:56,358 - 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=1760634776356215&action=2"
    }
  }
}
Status {
  Code: STATUS_CODE_UNSPECIFIED
}

2025-10-16 17:12:56,358 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_wait_op: /Root/test_user_administration: wait console operation done
2025-10-16 17:12:56,861 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_wait_op: /Root/test_user_administration: console operation done
2025-10-16 17:12:56,861 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_wait_tenant_gone: /Root/test_user_administration: wait tenant gone
2025-10-16 17:12:56,863 - DEBUG - ydb.tests.library.harness.kikimr_cluster_interface - _remove_database_wait_tenant_gone: /Root/test_user_administration: tenant gone
2025-10-16 17:12:56,863 - DEBUG - ydb.tests.library.fixtures - ydb_database_ctx: destroy database /Root/test_user_administration: stop nodes
2025-10-16 17:13:08,864 - INFO - ydb.tests.library.harness.kikimr_runner - stop: Stopped node localhost:11008/1
2025-10-16 17:13:08,865 - DEBUG - ydb.tests.library.fixtures - ydb_database_ctx: destroy database /Root/test_user_administration: database down
2025-10-16 17:13:08,866 - INFO - ydb.tests.library.fixtures - ydb_cluster: destroy ydb_cluster for __tests__.test_user_administration
2025-10-16 17:13:25,867 - INFO - ydb.tests.library.harness.kikimr_runner - stop: Stopped node localhost:63943/1
2025-10-16 17:13:25,868 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/26660
2025-10-16 17:13:25,869 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/17076
2025-10-16 17:13:25,869 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/28881
2025-10-16 17:13:25,869 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/10056
2025-10-16 17:13:25,869 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/11008
2025-10-16 17:13:25,869 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/15051
2025-10-16 17:13:25,870 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/8751
2025-10-16 17:13:25,870 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/63607
2025-10-16 17:13:25,870 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/63943
2025-10-16 17:13:25,870 - DEBUG - library.python.filelock - release: Ensuring FileLock released: /home/runner/.ya/build/port_sync_dir/8922
