2025-11-21 14:09:23,928 - INFO - ya.test.3173675  - pytest_runtest_setup: ####################################################################################################
2025-11-21 14:09:23,929 - INFO - ya.test.3173675  - pytest_runtest_setup: test_database_admin_cant_change_database_owner
2025-11-21 14:09:23,929 - INFO - ya.test.3173675  - pytest_runtest_setup: ####################################################################################################
2025-11-21 14:09:23,929 - INFO - ya.test.3173675  - pytest_runtest_setup: Test setup
2025-11-21 14:09:23,931 - INFO - ya.test.3173675  - pytest_runtest_call: Test call (class_name: test_user_administration.py, test_name: test_database_admin_cant_change_database_owner)
2025-11-21 14:09:23,932 - DEBUG - ydb.connection.3173675  - 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-21 14:09:23,939 - DEBUG - ydb.connection.3173675  - _prepare_call: RpcState(Login, bc487e83-03c2-47cd-997c-e14aa772b744, localhost:9238): creating call state
2025-11-21 14:09:23,947 - DEBUG - ydb.connection.3173675  - _log_request: RpcState(Login, bc487e83-03c2-47cd-997c-e14aa772b744, localhost:9238): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-11-21 14:09:23,956 - DEBUG - ydb.connection.3173675  - _log_response: RpcState(Login, bc487e83-03c2-47cd-997c-e14aa772b744, localhost:9238): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzYzNzc3MzYzLCJpYXQiOjE3NjM3MzQxNjMsInN1YiI6ImRiYWRtaW4ifQ.TKzU7Eiu0JVACbtYpZ6TYpDG1e80uxKm3L_22jDhulBrzdqbmD8EOwSlRBRe9yPsFkRnCfHiERfE7ikrA4TrgR2Y7GKn6aEAJzmzSy9J2ELW5xEEd-LnOpWHKrv7k-oeu5CQp_H1dUjb7ptND4A4AddAhcpnb2LEj4_XSXTrDr9q7PHLlhx6xeV22AxoPvwHXUF96nlu6H1bltbL9qtjdC6N9yjPKu4EOOg8dhbTz2SqHsiiuDhgIHJzHdpDLhLjwl9A6i9io0Z5-CKh4cjie9JpbqV3Eo-FhH-0ir1Szg7eYfv4wcw29_1AxAffOCHEy8VBL_irL1RIJeObNiUY-Q" } } } }
2025-11-21 14:09:23,958 - DEBUG - ydb.connection.3173675  - close: Closing channel for endpoint localhost:9238
2025-11-21 14:09:24,143 - DEBUG - ydb.connection.3173675  - 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-21 14:09:24,145 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.3173675  - context_resolve: Preparing initial endpoint to resolve endpoints
2025-11-21 14:09:24,145 - DEBUG - ydb.connection.3173675  - 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-21 14:09:24,151 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.3173675  - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-11-21 14:09:24,152 - DEBUG - ydb.connection.3173675  - _prepare_call: RpcState(ListEndpoints, f3e439e5-dd2d-4436-8246-82169a4430cc, localhost:9238): creating call state
2025-11-21 14:09:24,152 - DEBUG - ydb.connection.3173675  - _log_request: RpcState(ListEndpoints, f3e439e5-dd2d-4436-8246-82169a4430cc, localhost:9238): request = { database: "/Root/test_user_administration" }
2025-11-21 14:09:24,156 - DEBUG - ydb.connection.3173675  - _log_response: RpcState(ListEndpoints, f3e439e5-dd2d-4436-8246-82169a4430cc, localhost:9238): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-hd5senkm3y.auto.internal" port: 20993 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-21 14:09:24,156 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.3173675  - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-hd5senkm3y.auto.internal:20993, location , ssl: False>]>
2025-11-21 14:09:24,157 - DEBUG - ydb.connection.3173675  - 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-21 14:09:24,165 - DEBUG - ydb.connection.3173675  - close: Closing channel for endpoint localhost:9238
2025-11-21 14:09:24,166 - DEBUG - ydb.connection.3173675  - _prepare_call: RpcState(ModifyPermissions, 7c9c5256-592d-4a4b-8dd9-f18f99802d8f, ghrun-hd5senkm3y.auto.internal:20993): creating call state
2025-11-21 14:09:24,167 - DEBUG - ydb.connection.3173675  - _log_request: RpcState(ModifyPermissions, 7c9c5256-592d-4a4b-8dd9-f18f99802d8f, ghrun-hd5senkm3y.auto.internal:20993): request = { operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } path: "/Root/test_user_administration" actions { change_owner: "ordinaryuser" } }
2025-11-21 14:09:24,171 - DEBUG - ydb.connection.3173675  - _log_response: RpcState(ModifyPermissions, 7c9c5256-592d-4a4b-8dd9-f18f99802d8f, ghrun-hd5senkm3y.auto.internal:20993): 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-21 14:09:24,172 - DEBUG - ydb.topic.3173675  - close: Close topic client
2025-11-21 14:09:24,172 - DEBUG - ydb.topic.3173675  - close: Topic client was closed
2025-11-21 14:09:24,172 - DEBUG - ydb.connection.3173675  - close: Closing channel for endpoint localhost:9238
2025-11-21 14:09:24,355 - DEBUG - ydb.connection.3173675  - close: Closing channel for endpoint ghrun-hd5senkm3y.auto.internal:20993
2025-11-21 14:09:24,368 - INFO - ydb.pool.Discovery.3173675  - run: Successfully terminated discovery process
2025-11-21 14:09:24,381 - INFO - ya.test.3173675  - pytest_runtest_teardown: Test teardown
