2025-11-01 16:24:29,481 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-01 16:24:29,481 - INFO - ya.test - pytest_runtest_setup: test_database_admin_cant_change_database_owner
2025-11-01 16:24:29,481 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-01 16:24:29,481 - INFO - ya.test - pytest_runtest_setup: Test setup
2025-11-01 16:24:29,482 - 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:24:29,483 - 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:29,487 - DEBUG - ydb.connection - _prepare_call: RpcState(Login, cbc3cf09-f030-4f3c-90ef-76ce2c5f05ce, localhost:28784): creating call state
2025-11-01 16:24:29,488 - DEBUG - ydb.connection - _log_request: RpcState(Login, cbc3cf09-f030-4f3c-90ef-76ce2c5f05ce, localhost:28784): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-11-01 16:24:29,494 - DEBUG - ydb.connection - _log_response: RpcState(Login, cbc3cf09-f030-4f3c-90ef-76ce2c5f05ce, localhost:28784): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzYyMDU3NDY5LCJpYXQiOjE3NjIwMTQyNjksInN1YiI6ImRiYWRtaW4ifQ.LFoN_ejZkdTAcPp6PaCSrc77gnSS_TaI-6wgs3-0q7CmzpmAySmGjZVNHF-vT2g8hJEAyvSNDh7NOzhZXwhjEBFdl169J0lW28dxNkzWplEa0KgH1f_tKive5WJx5NWJWPBGz47kcEUhalmkkEl1OFmQ1cP-nXdK_D_4jx1OcwdW_mrIc7Ru8glHWazMamZaPyNtjVPEXztB7zQpYWvtnhKvu0oJJhP1tZuAiccKYiDO5X371Lw1HXN1tv0LI76umyIRuc0UoyASHQRCRb3D37ClMyRUL_VibVUZudWCOCZj--6_vB1ZUEKmnkN--0Ux1n2zH-o1iFxX1hBVHUObLw" } } } }
2025-11-01 16:24:29,494 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:28784
2025-11-01 16:24:29,691 - 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:29,693 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Preparing initial endpoint to resolve endpoints
2025-11-01 16:24:29,693 - 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:29,697 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-11-01 16:24:29,697 - DEBUG - ydb.connection - _prepare_call: RpcState(ListEndpoints, 04734aa7-8d23-4e95-8494-01ceb82d115b, localhost:28784): creating call state
2025-11-01 16:24:29,698 - DEBUG - ydb.connection - _log_request: RpcState(ListEndpoints, 04734aa7-8d23-4e95-8494-01ceb82d115b, localhost:28784): request = { database: "/Root/test_user_administration" }
2025-11-01 16:24:29,700 - DEBUG - ydb.connection - _log_response: RpcState(ListEndpoints, 04734aa7-8d23-4e95-8494-01ceb82d115b, localhost:28784): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-wicuw7bjty.auto.internal" port: 30001 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:29,700 - 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:30001, location , ssl: False>]>
2025-11-01 16:24:29,700 - 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:29,706 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:28784
2025-11-01 16:24:29,706 - DEBUG - ydb.connection - _prepare_call: RpcState(ModifyPermissions, e7b8a116-4f6b-4045-8c44-c2450d8d74d4, ghrun-wicuw7bjty.auto.internal:30001): creating call state
2025-11-01 16:24:29,707 - DEBUG - ydb.connection - _log_request: RpcState(ModifyPermissions, e7b8a116-4f6b-4045-8c44-c2450d8d74d4, ghrun-wicuw7bjty.auto.internal:30001): request = { operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } path: "/Root/test_user_administration" actions { change_owner: "ordinaryuser" } }
2025-11-01 16:24:29,710 - DEBUG - ydb.connection - _log_response: RpcState(ModifyPermissions, e7b8a116-4f6b-4045-8c44-c2450d8d74d4, ghrun-wicuw7bjty.auto.internal:30001): 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:24:29,711 - DEBUG - ydb.topic - close: Close topic client
2025-11-01 16:24:29,711 - DEBUG - ydb.topic - close: Topic client was closed
2025-11-01 16:24:29,711 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:28784
2025-11-01 16:24:29,900 - DEBUG - ydb.connection - close: Closing channel for endpoint ghrun-wicuw7bjty.auto.internal:30001
2025-11-01 16:24:29,909 - INFO - ydb.pool.Discovery - run: Successfully terminated discovery process
2025-11-01 16:24:29,910 - INFO - ya.test - pytest_runtest_teardown: Test teardown
