2025-12-04 14:16:13,213 - INFO - ya.test.2824326  - pytest_runtest_setup: ####################################################################################################
2025-12-04 14:16:13,213 - INFO - ya.test.2824326  - pytest_runtest_setup: test_database_admin_cant_change_database_owner
2025-12-04 14:16:13,213 - INFO - ya.test.2824326  - pytest_runtest_setup: ####################################################################################################
2025-12-04 14:16:13,213 - INFO - ya.test.2824326  - pytest_runtest_setup: Test setup
2025-12-04 14:16:13,255 - INFO - ya.test.2824326  - pytest_runtest_call: Test call (class_name: test_user_administration.py, test_name: test_database_admin_cant_change_database_owner)
2025-12-04 14:16:13,256 - DEBUG - ydb.connection.2824326  - 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-04 14:16:13,275 - DEBUG - ydb.connection.2824326  - _prepare_call: RpcState(Login, 9be7b544-e204-4c6d-b9f8-35e223a58348, localhost:13982): creating call state
2025-12-04 14:16:13,275 - DEBUG - ydb.connection.2824326  - _log_request: RpcState(Login, 9be7b544-e204-4c6d-b9f8-35e223a58348, localhost:13982): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-12-04 14:16:13,287 - DEBUG - ydb.connection.2824326  - _log_response: RpcState(Login, 9be7b544-e204-4c6d-b9f8-35e223a58348, localhost:13982): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzY0OTAwOTczLCJpYXQiOjE3NjQ4NTc3NzMsInN1YiI6ImRiYWRtaW4ifQ.OLLXf9qfdgdGqWgPQoZr5lyIQCtkarpecscDwnBTOduRkxA9CZGWkEi0uEhUmsHAQMnIBeTcT6fIZMQLuEieWgS4uxTdblEtu2jjCSlIN9r3zyNqHrr6Kt-qj72BeXNgPhptqM0iJodahTJ7-dAkdZTdXJ-0_f7V64Kb-2HjcuIyffVPBFiAunVbQmcGSfl3xKbROGxhDBJdbMnZ1ZlsIXs9ya77b1tZISCbqK8K3M-sI8N44y0tmyJTeipdDT1MFEgz8nfm3gzbcWBrKehbr1sxbA3SJFpv-fPJUO-ZL_I57EFcs-bsCbAVCRZ9V0KFY8O8GVYrWKCN3xC1oEzziw" } } } }
2025-12-04 14:16:13,360 - DEBUG - ydb.connection.2824326  - close: Closing channel for endpoint localhost:13982
2025-12-04 14:16:13,476 - DEBUG - ydb.connection.2824326  - 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-04 14:16:13,478 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.2824326  - context_resolve: Preparing initial endpoint to resolve endpoints
2025-12-04 14:16:13,503 - DEBUG - ydb.connection.2824326  - 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-04 14:16:13,549 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.2824326  - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-12-04 14:16:13,550 - DEBUG - ydb.connection.2824326  - _prepare_call: RpcState(ListEndpoints, 6d669e8a-f3b5-4e2f-bdd9-5e3993380a75, localhost:13982): creating call state
2025-12-04 14:16:13,554 - DEBUG - ydb.connection.2824326  - _log_request: RpcState(ListEndpoints, 6d669e8a-f3b5-4e2f-bdd9-5e3993380a75, localhost:13982): request = { database: "/Root/test_user_administration" }
2025-12-04 14:16:13,564 - DEBUG - ydb.connection.2824326  - _log_response: RpcState(ListEndpoints, 6d669e8a-f3b5-4e2f-bdd9-5e3993380a75, localhost:13982): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-e3snp7fbzi.auto.internal" port: 4910 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-04 14:16:13,564 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.2824326  - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-e3snp7fbzi.auto.internal:4910, location , ssl: False>]>
2025-12-04 14:16:13,569 - DEBUG - ydb.connection.2824326  - 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-04 14:16:13,588 - DEBUG - ydb.connection.2824326  - close: Closing channel for endpoint localhost:13982
2025-12-04 14:16:13,589 - DEBUG - ydb.connection.2824326  - _prepare_call: RpcState(ModifyPermissions, 7760ece3-ce22-4bb3-92b2-5c88857b1082, ghrun-e3snp7fbzi.auto.internal:4910): creating call state
2025-12-04 14:16:13,590 - DEBUG - ydb.connection.2824326  - _log_request: RpcState(ModifyPermissions, 7760ece3-ce22-4bb3-92b2-5c88857b1082, ghrun-e3snp7fbzi.auto.internal:4910): request = { operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } path: "/Root/test_user_administration" actions { change_owner: "ordinaryuser" } }
2025-12-04 14:16:13,604 - DEBUG - ydb.connection.2824326  - _log_response: RpcState(ModifyPermissions, 7760ece3-ce22-4bb3-92b2-5c88857b1082, ghrun-e3snp7fbzi.auto.internal:4910): 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-04 14:16:13,605 - DEBUG - ydb.topic.2824326  - close: Close topic client
2025-12-04 14:16:13,605 - DEBUG - ydb.topic.2824326  - close: Topic client was closed
2025-12-04 14:16:13,605 - DEBUG - ydb.connection.2824326  - close: Closing channel for endpoint localhost:13982
2025-12-04 14:16:13,752 - DEBUG - ydb.connection.2824326  - close: Closing channel for endpoint ghrun-e3snp7fbzi.auto.internal:4910
2025-12-04 14:16:13,790 - INFO - ydb.pool.Discovery.2824326  - run: Successfully terminated discovery process
2025-12-04 14:16:13,796 - INFO - ya.test.2824326  - pytest_runtest_teardown: Test teardown
