2025-11-01 20:00:05,713 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-01 20:00:05,780 - INFO - ya.test - pytest_runtest_setup: test_database_admin_cant_change_database_owner
2025-11-01 20:00:05,780 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-01 20:00:05,780 - INFO - ya.test - pytest_runtest_setup: Test setup
2025-11-01 20:00:05,843 - 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 20:00:05,843 - 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 20:00:05,866 - DEBUG - ydb.connection - _prepare_call: RpcState(Login, c4790683-a016-4edd-af36-ae1a8f8beff7, localhost:7834): creating call state
2025-11-01 20:00:05,866 - DEBUG - ydb.connection - _log_request: RpcState(Login, c4790683-a016-4edd-af36-ae1a8f8beff7, localhost:7834): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-11-01 20:00:05,903 - DEBUG - ydb.connection - _log_response: RpcState(Login, c4790683-a016-4edd-af36-ae1a8f8beff7, localhost:7834): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzYyMDcwNDA1LCJpYXQiOjE3NjIwMjcyMDUsInN1YiI6ImRiYWRtaW4ifQ.TpQEnyCY-FH6qbVL2xVpk-Cv64IUlyKJtYyWamWs-SAVQG0Z5s6WlNPez4d9WJbF5YVDWFdjOLN-pbOMa6XjThT92ZLscLO3TdXMnslWiVlxHzlSiaVHh1h9-H-bE8xjfXH0KIXlOp6wp06o480F0n1tgmHG-Rkd_HTChh83sxUE1TgylDBqFFbFBFPqHTbqOBORT3I1El_PR_N1W2U9deuRP5XdFMpuMxKmkll29r4vK85qlR3sKUwu-2IKSg_n9Za8qZQI04z4GCz0Qj1fBziu2f9QNWhnbm_EKzTzCptTN9XH9WIisRsLYQksW9nkjzZ1_zYTIdmTThDMx_g5WQ" } } } }
2025-11-01 20:00:05,903 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:7834
2025-11-01 20:00:06,068 - 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 20:00:06,070 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Preparing initial endpoint to resolve endpoints
2025-11-01 20:00:06,071 - 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 20:00:06,113 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-11-01 20:00:06,128 - DEBUG - ydb.connection - _prepare_call: RpcState(ListEndpoints, c38adb58-da52-40ee-8223-c632cf65af63, localhost:7834): creating call state
2025-11-01 20:00:06,129 - DEBUG - ydb.connection - _log_request: RpcState(ListEndpoints, c38adb58-da52-40ee-8223-c632cf65af63, localhost:7834): request = { database: "/Root/test_user_administration" }
2025-11-01 20:00:06,133 - DEBUG - ydb.connection - _log_response: RpcState(ListEndpoints, c38adb58-da52-40ee-8223-c632cf65af63, localhost:7834): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-mjpjznvske.auto.internal" port: 64308 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 20:00:06,162 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-mjpjznvske.auto.internal:64308, location , ssl: False>]>
2025-11-01 20:00:06,162 - 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 20:00:06,173 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:7834
2025-11-01 20:00:06,174 - DEBUG - ydb.connection - _prepare_call: RpcState(ModifyPermissions, 1b45c163-17dd-4f0f-93d0-1022d3a7d5f7, ghrun-mjpjznvske.auto.internal:64308): creating call state
2025-11-01 20:00:06,177 - DEBUG - ydb.connection - _log_request: RpcState(ModifyPermissions, 1b45c163-17dd-4f0f-93d0-1022d3a7d5f7, ghrun-mjpjznvske.auto.internal:64308): request = { operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } path: "/Root/test_user_administration" actions { change_owner: "ordinaryuser" } }
2025-11-01 20:00:06,182 - DEBUG - ydb.connection - _log_response: RpcState(ModifyPermissions, 1b45c163-17dd-4f0f-93d0-1022d3a7d5f7, ghrun-mjpjznvske.auto.internal:64308): 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 20:00:06,205 - DEBUG - ydb.topic - close: Close topic client
2025-11-01 20:00:06,205 - DEBUG - ydb.topic - close: Topic client was closed
2025-11-01 20:00:06,205 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:7834
2025-11-01 20:00:06,319 - DEBUG - ydb.connection - close: Closing channel for endpoint ghrun-mjpjznvske.auto.internal:64308
2025-11-01 20:00:06,376 - INFO - ydb.pool.Discovery - run: Successfully terminated discovery process
2025-11-01 20:00:06,386 - INFO - ya.test - pytest_runtest_teardown: Test teardown
