2025-10-31 10:48:19,898 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-10-31 10:48:19,898 - INFO - ya.test - pytest_runtest_setup: test_database_admin_cant_change_database_owner
2025-10-31 10:48:19,899 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-10-31 10:48:19,899 - INFO - ya.test - pytest_runtest_setup: Test setup
2025-10-31 10:48:19,901 - INFO - ya.test - pytest_runtest_call: Test call (class_name: test_user_administration.py, test_name: test_database_admin_cant_change_database_owner)
2025-10-31 10:48:19,901 - 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-10-31 10:48:19,906 - DEBUG - ydb.connection - _prepare_call: RpcState(Login, 03850cff-05e6-4e62-baac-01f147c30f3f, localhost:18542): creating call state
2025-10-31 10:48:19,906 - DEBUG - ydb.connection - _log_request: RpcState(Login, 03850cff-05e6-4e62-baac-01f147c30f3f, localhost:18542): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-10-31 10:48:19,913 - DEBUG - ydb.connection - _log_response: RpcState(Login, 03850cff-05e6-4e62-baac-01f147c30f3f, localhost:18542): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzYxOTUwODk5LCJpYXQiOjE3NjE5MDc2OTksInN1YiI6ImRiYWRtaW4ifQ.n8TfRIr4zzhhO-9kEuIpflifzmJEybdSwPXPMqWzcCkb1Q2c1_PiOb6QzbtnKebHOxEL2INn2QPe8IZtk_ikjW69xrBckbOhjSspNnVB19_a7HP7xMFBHOITT9poPRP1psjIwTGFZDO-c4ag0Eeu5eLFl7iaRfD_K2vUIY1IavusrAreRwm63_1wAacl-TZtFTICOwGrFGuPZhq6xvzqXZa0xP3n-FUfTqs3ERlk4YmQjv3QFcw98m14U_oQSKj17UKbYD-akgwcLJHwPZc_Td7XR-J9RkfPNLWlEYgC1e00G2RO3tyvodznXsnm9iMHNxVutEiLBUDroOfPSEmeYg" } } } }
2025-10-31 10:48:19,913 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:18542
2025-10-31 10:48:20,108 - 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-10-31 10:48:20,110 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Preparing initial endpoint to resolve endpoints
2025-10-31 10:48:20,110 - 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-10-31 10:48:20,114 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-10-31 10:48:20,119 - DEBUG - ydb.connection - _prepare_call: RpcState(ListEndpoints, 745f7509-f80a-4db1-ab2a-c0cae45fecae, localhost:18542): creating call state
2025-10-31 10:48:20,121 - DEBUG - ydb.connection - _log_request: RpcState(ListEndpoints, 745f7509-f80a-4db1-ab2a-c0cae45fecae, localhost:18542): request = { database: "/Root/test_user_administration" }
2025-10-31 10:48:20,123 - DEBUG - ydb.connection - _log_response: RpcState(ListEndpoints, 745f7509-f80a-4db1-ab2a-c0cae45fecae, localhost:18542): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-sanfcqibkm.auto.internal" port: 13477 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-10-31 10:48:20,124 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-sanfcqibkm.auto.internal:13477, location , ssl: False>]>
2025-10-31 10:48:20,124 - 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-10-31 10:48:20,130 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:18542
2025-10-31 10:48:20,130 - DEBUG - ydb.connection - _prepare_call: RpcState(ModifyPermissions, 4a03bec5-dd7b-4e08-a600-de8968521d19, ghrun-sanfcqibkm.auto.internal:13477): creating call state
2025-10-31 10:48:20,131 - DEBUG - ydb.connection - _log_request: RpcState(ModifyPermissions, 4a03bec5-dd7b-4e08-a600-de8968521d19, ghrun-sanfcqibkm.auto.internal:13477): request = { operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } path: "/Root/test_user_administration" actions { change_owner: "ordinaryuser" } }
2025-10-31 10:48:20,135 - DEBUG - ydb.connection - _log_response: RpcState(ModifyPermissions, 4a03bec5-dd7b-4e08-a600-de8968521d19, ghrun-sanfcqibkm.auto.internal:13477): response = { operation { ready: true status: UNAUTHORIZED issues { message: "Access denied for dbadmin on path /Root/test_user_administration" issue_code: 200000 severity: 1 } } }
2025-10-31 10:48:20,136 - DEBUG - ydb.topic - close: Close topic client
2025-10-31 10:48:20,136 - DEBUG - ydb.topic - close: Topic client was closed
2025-10-31 10:48:20,136 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:18542
2025-10-31 10:48:20,317 - DEBUG - ydb.connection - close: Closing channel for endpoint ghrun-sanfcqibkm.auto.internal:13477
2025-10-31 10:48:20,333 - INFO - ydb.pool.Discovery - run: Successfully terminated discovery process
2025-10-31 10:48:20,334 - INFO - ya.test - pytest_runtest_teardown: Test teardown
