2025-11-01 16:46:29,703 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-01 16:46:29,704 - INFO - ya.test - pytest_runtest_setup: test_database_admin_cant_change_database_owner
2025-11-01 16:46:29,704 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-01 16:46:29,704 - INFO - ya.test - pytest_runtest_setup: Test setup
2025-11-01 16:46:29,706 - INFO - ya.test - pytest_runtest_call: Test call (class_name: test_user_administration.py, test_name: test_database_admin_cant_change_database_owner)
2025-11-01 16:46:29,708 - 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:46:29,721 - DEBUG - ydb.connection - _prepare_call: RpcState(Login, 1bc9b1cc-00eb-4c84-8bf0-b9d0e4d37e65, localhost:3988): creating call state
2025-11-01 16:46:29,725 - DEBUG - ydb.connection - _log_request: RpcState(Login, 1bc9b1cc-00eb-4c84-8bf0-b9d0e4d37e65, localhost:3988): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-11-01 16:46:29,739 - DEBUG - ydb.connection - _log_response: RpcState(Login, 1bc9b1cc-00eb-4c84-8bf0-b9d0e4d37e65, localhost:3988): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzYyMDU4Nzg5LCJpYXQiOjE3NjIwMTU1ODksInN1YiI6ImRiYWRtaW4ifQ.KNbt54rEm7SSS4z9n08YyZVUqmA5WgKKl0J8T_2cCPsyYPorpZ2weDRDVx6lqvo6ZwwiSesX-0dRUE7uJk5mFK5z-TTvgujbGdO0x18UOuUF9HlfIScV9WLgFunIi-_iqT3szj_lHq1gyrdwUEc1MPvxIs80z4uupfOgJntjcwkYZau67ZA2P1tENQ6j1IPt9-p5Nra4qWz52CeGWb24QyytPadl4ue8H1QDmbyUcEZUdzu3kQIxinHRt1ROpMDABgbz4Cw0zrx3Gedw5GW95s1bx8JddJv0uueBepCEQC1wDP84Y9nqEN7GMZClMmAW1nA_kxFVpnv5PA-LSBNHrw" } } } }
2025-11-01 16:46:29,740 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:3988
2025-11-01 16:46:29,927 - 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:46:29,929 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Preparing initial endpoint to resolve endpoints
2025-11-01 16:46:29,929 - 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:46:29,935 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-11-01 16:46:29,936 - DEBUG - ydb.connection - _prepare_call: RpcState(ListEndpoints, 2d0eeece-f4b0-42bf-a548-c29cd019f5d6, localhost:3988): creating call state
2025-11-01 16:46:29,936 - DEBUG - ydb.connection - _log_request: RpcState(ListEndpoints, 2d0eeece-f4b0-42bf-a548-c29cd019f5d6, localhost:3988): request = { database: "/Root/test_user_administration" }
2025-11-01 16:46:29,940 - DEBUG - ydb.connection - _log_response: RpcState(ListEndpoints, 2d0eeece-f4b0-42bf-a548-c29cd019f5d6, localhost:3988): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-tvlw7frnpa.auto.internal" port: 17191 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:46:29,944 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-tvlw7frnpa.auto.internal:17191, location , ssl: False>]>
2025-11-01 16:46:29,944 - 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:46:29,965 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:3988
2025-11-01 16:46:29,966 - DEBUG - ydb.connection - _prepare_call: RpcState(ModifyPermissions, 0d284ade-e86f-4220-825e-963b8ed47bff, ghrun-tvlw7frnpa.auto.internal:17191): creating call state
2025-11-01 16:46:29,976 - DEBUG - ydb.connection - _log_request: RpcState(ModifyPermissions, 0d284ade-e86f-4220-825e-963b8ed47bff, ghrun-tvlw7frnpa.auto.internal:17191): request = { operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } path: "/Root/test_user_administration" actions { change_owner: "ordinaryuser" } }
2025-11-01 16:46:29,986 - DEBUG - ydb.connection - _log_response: RpcState(ModifyPermissions, 0d284ade-e86f-4220-825e-963b8ed47bff, ghrun-tvlw7frnpa.auto.internal:17191): response = { operation { ready: true status: UNAUTHORIZED issues { message: "Access denied for dbadmin on path /Root/test_user_administration" issue_code: 200000 severity: 1 } } }
2025-11-01 16:46:29,987 - DEBUG - ydb.topic - close: Close topic client
2025-11-01 16:46:29,988 - DEBUG - ydb.topic - close: Topic client was closed
2025-11-01 16:46:29,989 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:3988
2025-11-01 16:46:30,138 - DEBUG - ydb.connection - close: Closing channel for endpoint ghrun-tvlw7frnpa.auto.internal:17191
2025-11-01 16:46:30,167 - INFO - ydb.pool.Discovery - run: Successfully terminated discovery process
2025-11-01 16:46:30,169 - INFO - ya.test - pytest_runtest_teardown: Test teardown
