2025-11-06 10:14:59,134 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-06 10:14:59,136 - INFO - ya.test - pytest_runtest_setup: test_database_admin_cant_change_database_owner
2025-11-06 10:14:59,137 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-06 10:14:59,138 - INFO - ya.test - pytest_runtest_setup: Test setup
2025-11-06 10:14:59,144 - 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-06 10:14:59,145 - 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-06 10:14:59,157 - DEBUG - ydb.connection - _prepare_call: RpcState(Login, ae2b4d63-f59b-4649-bcc7-0e5224e123fb, localhost:15656): creating call state
2025-11-06 10:14:59,157 - DEBUG - ydb.connection - _log_request: RpcState(Login, ae2b4d63-f59b-4649-bcc7-0e5224e123fb, localhost:15656): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-11-06 10:14:59,209 - DEBUG - ydb.connection - _log_response: RpcState(Login, ae2b4d63-f59b-4649-bcc7-0e5224e123fb, localhost:15656): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzYyNDY3Mjk5LCJpYXQiOjE3NjI0MjQwOTksInN1YiI6ImRiYWRtaW4ifQ.zEivzMEJF7mNDfWKbMsDaT6RbGY2AA3Ty-lZPfoxj3PPWcXuvivg7E9PvRIZyH10c_OiyVNFyyE7gpN6T6RpS3PfXyrTnJsqlY0-hg8SdEkWqQiATQ0WC5XHoh9pskFVtpJRLPe_54eWb1s26QcSonuuG-V3v3lUrBn59LhnPwJ1igvRCWZUjpqYHRrph75DOV5uKPclV4wXXAUdmLnFA4ub6L9_ClTCTs3WCQzwnY1xQrHcKOnUaP_sHzG14LyATn6Dr8hTUgMikGB8oVxxKaMyKDUlm4uM-kX1kxNnNlqYCV7GcBlMTDWjIypdfpsLrbuug1E2nIG2J9dfDe_5Mg" } } } }
2025-11-06 10:14:59,237 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:15656
2025-11-06 10:14:59,360 - 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-06 10:14:59,370 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Preparing initial endpoint to resolve endpoints
2025-11-06 10:14:59,381 - 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-06 10:14:59,406 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-11-06 10:14:59,407 - DEBUG - ydb.connection - _prepare_call: RpcState(ListEndpoints, 38142627-e6c1-4ff9-a87e-cc038d39d331, localhost:15656): creating call state
2025-11-06 10:14:59,407 - DEBUG - ydb.connection - _log_request: RpcState(ListEndpoints, 38142627-e6c1-4ff9-a87e-cc038d39d331, localhost:15656): request = { database: "/Root/test_user_administration" }
2025-11-06 10:14:59,445 - DEBUG - ydb.connection - _log_response: RpcState(ListEndpoints, 38142627-e6c1-4ff9-a87e-cc038d39d331, localhost:15656): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-ar5i2wnyyy.auto.internal" port: 26312 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-06 10:14:59,446 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-ar5i2wnyyy.auto.internal:26312, location , ssl: False>]>
2025-11-06 10:14:59,447 - 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-06 10:14:59,457 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:15656
2025-11-06 10:14:59,458 - DEBUG - ydb.connection - _prepare_call: RpcState(ModifyPermissions, 7aebab15-6903-438a-987d-6045a94469a2, ghrun-ar5i2wnyyy.auto.internal:26312): creating call state
2025-11-06 10:14:59,459 - DEBUG - ydb.connection - _log_request: RpcState(ModifyPermissions, 7aebab15-6903-438a-987d-6045a94469a2, ghrun-ar5i2wnyyy.auto.internal:26312): request = { operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } path: "/Root/test_user_administration" actions { change_owner: "ordinaryuser" } }
2025-11-06 10:14:59,464 - DEBUG - ydb.connection - _log_response: RpcState(ModifyPermissions, 7aebab15-6903-438a-987d-6045a94469a2, ghrun-ar5i2wnyyy.auto.internal:26312): 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-06 10:14:59,464 - DEBUG - ydb.topic - close: Close topic client
2025-11-06 10:14:59,469 - DEBUG - ydb.topic - close: Topic client was closed
2025-11-06 10:14:59,469 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:15656
2025-11-06 10:14:59,613 - DEBUG - ydb.connection - close: Closing channel for endpoint ghrun-ar5i2wnyyy.auto.internal:26312
2025-11-06 10:14:59,660 - INFO - ydb.pool.Discovery - run: Successfully terminated discovery process
2025-11-06 10:14:59,662 - INFO - ya.test - pytest_runtest_teardown: Test teardown
