2025-11-05 11:59:46,083 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-05 11:59:46,086 - INFO - ya.test - pytest_runtest_setup: test_database_admin_cant_change_database_owner
2025-11-05 11:59:46,188 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-05 11:59:46,190 - INFO - ya.test - pytest_runtest_setup: Test setup
2025-11-05 11:59:46,248 - 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-05 11:59:46,256 - 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-05 11:59:46,266 - DEBUG - ydb.connection - _prepare_call: RpcState(Login, d68406bb-55d0-461c-ae7a-5d5873ddb1da, localhost:1390): creating call state
2025-11-05 11:59:46,266 - DEBUG - ydb.connection - _log_request: RpcState(Login, d68406bb-55d0-461c-ae7a-5d5873ddb1da, localhost:1390): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-11-05 11:59:46,276 - DEBUG - ydb.connection - _log_response: RpcState(Login, d68406bb-55d0-461c-ae7a-5d5873ddb1da, localhost:1390): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzYyMzg3MTg2LCJpYXQiOjE3NjIzNDM5ODYsInN1YiI6ImRiYWRtaW4ifQ.Ou8_oE2RlhYI4xR6VaRaObzQXhjsUPDFE2SxykH7rUImbcFsE72MjpyT2H8bUn_f2mCgZ_0bMwCABP1DN44z8YYLf5yNR_PHtGufi62Ui0Gg3JJl9X7oYG8OkBKldk7BXJERLhrW0g316_9z4o4caQk4fX2o5lByRk3kD4Ae_ykuMkN87aE90jie3WOVh8qvBUzqVwfxHPTWpBadkB6nSHLm4J8Cji9rI-Q7P6yzjiU_ipkXYSG2ZBSZvAD055Mkjq9fyrRKzDlRSEm-4ThaGgc1F5b23UaIai9eYxWf8_Illva7olwEZ_QPXIMHUa00Zhzz5xmFSIjxfTUh_wLqKw" } } } }
2025-11-05 11:59:46,279 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:1390
2025-11-05 11:59:46,471 - 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-05 11:59:46,473 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Preparing initial endpoint to resolve endpoints
2025-11-05 11:59:46,474 - 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-05 11:59:46,479 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-11-05 11:59:46,563 - DEBUG - ydb.connection - _prepare_call: RpcState(ListEndpoints, 886afcc2-adec-4b3e-8706-8ab1040bfddc, localhost:1390): creating call state
2025-11-05 11:59:46,564 - DEBUG - ydb.connection - _log_request: RpcState(ListEndpoints, 886afcc2-adec-4b3e-8706-8ab1040bfddc, localhost:1390): request = { database: "/Root/test_user_administration" }
2025-11-05 11:59:46,568 - DEBUG - ydb.connection - _log_response: RpcState(ListEndpoints, 886afcc2-adec-4b3e-8706-8ab1040bfddc, localhost:1390): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-atcy2dqar4.auto.internal" port: 32332 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-05 11:59:46,597 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-atcy2dqar4.auto.internal:32332, location , ssl: False>]>
2025-11-05 11:59:46,598 - 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-05 11:59:46,612 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:1390
2025-11-05 11:59:46,613 - DEBUG - ydb.connection - _prepare_call: RpcState(ModifyPermissions, 83ec94f5-6d38-4ab9-bdba-0012b5cee3e8, ghrun-atcy2dqar4.auto.internal:32332): creating call state
2025-11-05 11:59:46,616 - DEBUG - ydb.connection - _log_request: RpcState(ModifyPermissions, 83ec94f5-6d38-4ab9-bdba-0012b5cee3e8, ghrun-atcy2dqar4.auto.internal:32332): request = { operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } path: "/Root/test_user_administration" actions { change_owner: "ordinaryuser" } }
2025-11-05 11:59:46,621 - DEBUG - ydb.connection - _log_response: RpcState(ModifyPermissions, 83ec94f5-6d38-4ab9-bdba-0012b5cee3e8, ghrun-atcy2dqar4.auto.internal:32332): 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-05 11:59:46,657 - DEBUG - ydb.topic - close: Close topic client
2025-11-05 11:59:46,658 - DEBUG - ydb.topic - close: Topic client was closed
2025-11-05 11:59:46,667 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:1390
2025-11-05 11:59:46,684 - DEBUG - ydb.connection - close: Closing channel for endpoint ghrun-atcy2dqar4.auto.internal:32332
2025-11-05 11:59:46,815 - INFO - ydb.pool.Discovery - run: Successfully terminated discovery process
2025-11-05 11:59:46,816 - INFO - ya.test - pytest_runtest_teardown: Test teardown
