2025-12-07 20:04:43,657 - INFO - ya.test.1416893  - pytest_runtest_setup: ####################################################################################################
2025-12-07 20:04:43,657 - INFO - ya.test.1416893  - pytest_runtest_setup: test_database_admin_cant_change_database_owner
2025-12-07 20:04:43,657 - INFO - ya.test.1416893  - pytest_runtest_setup: ####################################################################################################
2025-12-07 20:04:43,657 - INFO - ya.test.1416893  - pytest_runtest_setup: Test setup
2025-12-07 20:04:43,658 - INFO - ya.test.1416893  - pytest_runtest_call: Test call (class_name: test_user_administration.py, test_name: test_database_admin_cant_change_database_owner)
2025-12-07 20:04:43,659 - DEBUG - ydb.connection.1416893  - 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-07 20:04:43,662 - DEBUG - ydb.connection.1416893  - _prepare_call: RpcState(Login, a527cd87-a5cf-45a0-96fb-b0baff5c1673, localhost:5100): creating call state
2025-12-07 20:04:43,663 - DEBUG - ydb.connection.1416893  - _log_request: RpcState(Login, a527cd87-a5cf-45a0-96fb-b0baff5c1673, localhost:5100): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-12-07 20:04:43,669 - DEBUG - ydb.connection.1416893  - _log_response: RpcState(Login, a527cd87-a5cf-45a0-96fb-b0baff5c1673, localhost:5100): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzY1MTgxMDgzLCJpYXQiOjE3NjUxMzc4ODMsInN1YiI6ImRiYWRtaW4ifQ.Mb2IbgEkhuZjX2FvVvedOqsQBU5CqjgJvOFL7tDCzNW-OrmK-bdkDY-j2J324UycvWB9dQTG00DzoVUeLGcne2DPFcvmO4ZIRXGnjkRlwbBOnYbP5BN69_i9fMPBEv5X1OTNsZZrIsJDOwCp7nQhPnC_Rsc-Wb74sV9kaxSSJzufA6Qs_ddsFhNW9H7I-ETWDKUIxZx-E54t9GWLQ4vRTkQFg9BYLjELxUsLBUwRelAGlvmz1zeC02jrdnLYeMHI1YPAOezYgSplTnpWmZxh-ocC9Eulc_BOrd7InzR99tBqtktFr5sKU3Clpx6sbPPRA8zJsmmZwpX0tffAhN6D6Q" } } } }
2025-12-07 20:04:43,670 - DEBUG - ydb.connection.1416893  - close: Closing channel for endpoint localhost:5100
2025-12-07 20:04:43,865 - DEBUG - ydb.connection.1416893  - 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-07 20:04:43,867 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.1416893  - context_resolve: Preparing initial endpoint to resolve endpoints
2025-12-07 20:04:43,868 - DEBUG - ydb.connection.1416893  - 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-07 20:04:43,873 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.1416893  - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-12-07 20:04:43,873 - DEBUG - ydb.connection.1416893  - _prepare_call: RpcState(ListEndpoints, 398fa971-0744-4747-8376-99c75188fe9a, localhost:5100): creating call state
2025-12-07 20:04:43,873 - DEBUG - ydb.connection.1416893  - _log_request: RpcState(ListEndpoints, 398fa971-0744-4747-8376-99c75188fe9a, localhost:5100): request = { database: "/Root/test_user_administration" }
2025-12-07 20:04:43,876 - DEBUG - ydb.connection.1416893  - _log_response: RpcState(ListEndpoints, 398fa971-0744-4747-8376-99c75188fe9a, localhost:5100): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-gishsengma.auto.internal" port: 15376 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-07 20:04:43,876 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.1416893  - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-gishsengma.auto.internal:15376, location , ssl: False>]>
2025-12-07 20:04:43,877 - DEBUG - ydb.connection.1416893  - 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-07 20:04:43,883 - DEBUG - ydb.connection.1416893  - close: Closing channel for endpoint localhost:5100
2025-12-07 20:04:43,884 - DEBUG - ydb.connection.1416893  - _prepare_call: RpcState(ModifyPermissions, 41083c56-1612-4041-b138-12cf2d712b51, ghrun-gishsengma.auto.internal:15376): creating call state
2025-12-07 20:04:43,885 - DEBUG - ydb.connection.1416893  - _log_request: RpcState(ModifyPermissions, 41083c56-1612-4041-b138-12cf2d712b51, ghrun-gishsengma.auto.internal:15376): request = { operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } path: "/Root/test_user_administration" actions { change_owner: "ordinaryuser" } }
2025-12-07 20:04:43,889 - DEBUG - ydb.connection.1416893  - _log_response: RpcState(ModifyPermissions, 41083c56-1612-4041-b138-12cf2d712b51, ghrun-gishsengma.auto.internal:15376): 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-07 20:04:43,890 - DEBUG - ydb.topic.1416893  - close: Close topic client
2025-12-07 20:04:43,890 - DEBUG - ydb.topic.1416893  - close: Topic client was closed
2025-12-07 20:04:43,890 - DEBUG - ydb.connection.1416893  - close: Closing channel for endpoint localhost:5100
2025-12-07 20:04:44,076 - DEBUG - ydb.connection.1416893  - close: Closing channel for endpoint ghrun-gishsengma.auto.internal:15376
2025-12-07 20:04:44,086 - INFO - ydb.pool.Discovery.1416893  - run: Successfully terminated discovery process
2025-12-07 20:04:44,088 - INFO - ya.test.1416893  - pytest_runtest_teardown: Test teardown
