2025-12-09 10:30:39,221 - INFO - ya.test.3113546  - pytest_runtest_setup: ####################################################################################################
2025-12-09 10:30:39,221 - INFO - ya.test.3113546  - pytest_runtest_setup: test_database_admin_cant_change_database_owner
2025-12-09 10:30:39,221 - INFO - ya.test.3113546  - pytest_runtest_setup: ####################################################################################################
2025-12-09 10:30:39,221 - INFO - ya.test.3113546  - pytest_runtest_setup: Test setup
2025-12-09 10:30:39,223 - INFO - ya.test.3113546  - pytest_runtest_call: Test call (class_name: test_user_administration.py, test_name: test_database_admin_cant_change_database_owner)
2025-12-09 10:30:39,223 - DEBUG - ydb.connection.3113546  - 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-12-09 10:30:39,227 - DEBUG - ydb.connection.3113546  - _prepare_call: RpcState(Login, c9d73dbd-36d3-4624-bf9f-df68ea03f091, localhost:23369): creating call state
2025-12-09 10:30:39,228 - DEBUG - ydb.connection.3113546  - _log_request: RpcState(Login, c9d73dbd-36d3-4624-bf9f-df68ea03f091, localhost:23369): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-12-09 10:30:39,234 - DEBUG - ydb.connection.3113546  - _log_response: RpcState(Login, c9d73dbd-36d3-4624-bf9f-df68ea03f091, localhost:23369): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzY1MzE5NDM5LCJpYXQiOjE3NjUyNzYyMzksInN1YiI6ImRiYWRtaW4ifQ.A57LgwKNdZjBVbjkQbFuysvbaEUkgAOR3yrT4lSCuwbS6I04zsCZdUmCL0_hq6DgFoxcU-VhKnE_oAY8Ikca9XRtqD8zAVRBcuz1LlAeQYe7BARnJFB0x3eGMYlH_yNOWrPBtcgLQksL87aXri0TSihLbDD-IFXFiQlnCXOJ9cvzsLb-qXHMkGL4f4vqj9-VYbiIfU50IdtCFF2B3VT_MwW1IRNnXV_K2anJQRrEjJvSogRy60HwH9sGKU-Ns9w8o01mzOw8m5mK_EIhi9lbvNprKUKsg_fdCjU_6hXEqrcArT2hcB6N3WfhAZYwgV2i5gR4oF-q6vAPcW-eVvLIgw" } } } }
2025-12-09 10:30:39,234 - DEBUG - ydb.connection.3113546  - close: Closing channel for endpoint localhost:23369
2025-12-09 10:30:39,430 - DEBUG - ydb.connection.3113546  - 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-12-09 10:30:39,432 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.3113546  - context_resolve: Preparing initial endpoint to resolve endpoints
2025-12-09 10:30:39,432 - DEBUG - ydb.connection.3113546  - 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-12-09 10:30:39,437 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.3113546  - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-12-09 10:30:39,437 - DEBUG - ydb.connection.3113546  - _prepare_call: RpcState(ListEndpoints, 4710838c-4a10-4316-b35f-298b68dd6e25, localhost:23369): creating call state
2025-12-09 10:30:39,438 - DEBUG - ydb.connection.3113546  - _log_request: RpcState(ListEndpoints, 4710838c-4a10-4316-b35f-298b68dd6e25, localhost:23369): request = { database: "/Root/test_user_administration" }
2025-12-09 10:30:39,440 - DEBUG - ydb.connection.3113546  - _log_response: RpcState(ListEndpoints, 4710838c-4a10-4316-b35f-298b68dd6e25, localhost:23369): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-szdvczcwva.auto.internal" port: 12840 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-12-09 10:30:39,441 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.3113546  - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-szdvczcwva.auto.internal:12840, location , ssl: False>]>
2025-12-09 10:30:39,441 - DEBUG - ydb.connection.3113546  - 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-12-09 10:30:39,447 - DEBUG - ydb.connection.3113546  - close: Closing channel for endpoint localhost:23369
2025-12-09 10:30:39,448 - DEBUG - ydb.connection.3113546  - _prepare_call: RpcState(ModifyPermissions, bc887659-c9c4-4fd3-b1b5-fba9483b7b25, ghrun-szdvczcwva.auto.internal:12840): creating call state
2025-12-09 10:30:39,448 - DEBUG - ydb.connection.3113546  - _log_request: RpcState(ModifyPermissions, bc887659-c9c4-4fd3-b1b5-fba9483b7b25, ghrun-szdvczcwva.auto.internal:12840): request = { operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } path: "/Root/test_user_administration" actions { change_owner: "ordinaryuser" } }
2025-12-09 10:30:39,452 - DEBUG - ydb.connection.3113546  - _log_response: RpcState(ModifyPermissions, bc887659-c9c4-4fd3-b1b5-fba9483b7b25, ghrun-szdvczcwva.auto.internal:12840): response = { operation { ready: true status: UNAUTHORIZED issues { message: "Access denied for dbadmin on path /Root/test_user_administration" issue_code: 200000 severity: 1 } } }
2025-12-09 10:30:39,453 - DEBUG - ydb.topic.3113546  - close: Close topic client
2025-12-09 10:30:39,453 - DEBUG - ydb.topic.3113546  - close: Topic client was closed
2025-12-09 10:30:39,453 - DEBUG - ydb.connection.3113546  - close: Closing channel for endpoint localhost:23369
2025-12-09 10:30:39,640 - DEBUG - ydb.connection.3113546  - close: Closing channel for endpoint ghrun-szdvczcwva.auto.internal:12840
2025-12-09 10:30:39,650 - INFO - ydb.pool.Discovery.3113546  - run: Successfully terminated discovery process
2025-12-09 10:30:39,651 - INFO - ya.test.3113546  - pytest_runtest_teardown: Test teardown
