2025-12-04 15:49:57,603 - INFO - ya.test.3009671  - pytest_runtest_setup: ####################################################################################################
2025-12-04 15:49:57,603 - INFO - ya.test.3009671  - pytest_runtest_setup: test_database_admin_cant_change_database_owner
2025-12-04 15:49:57,604 - INFO - ya.test.3009671  - pytest_runtest_setup: ####################################################################################################
2025-12-04 15:49:57,604 - INFO - ya.test.3009671  - pytest_runtest_setup: Test setup
2025-12-04 15:49:57,606 - INFO - ya.test.3009671  - pytest_runtest_call: Test call (class_name: test_user_administration.py, test_name: test_database_admin_cant_change_database_owner)
2025-12-04 15:49:57,607 - DEBUG - ydb.connection.3009671  - 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 15:49:57,612 - DEBUG - ydb.connection.3009671  - _prepare_call: RpcState(Login, 2c4bb08f-52e2-4cac-99ea-89de1a60bc45, localhost:17990): creating call state
2025-12-04 15:49:57,612 - DEBUG - ydb.connection.3009671  - _log_request: RpcState(Login, 2c4bb08f-52e2-4cac-99ea-89de1a60bc45, localhost:17990): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-12-04 15:49:57,618 - DEBUG - ydb.connection.3009671  - _log_response: RpcState(Login, 2c4bb08f-52e2-4cac-99ea-89de1a60bc45, localhost:17990): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzY0OTA2NTk3LCJpYXQiOjE3NjQ4NjMzOTcsInN1YiI6ImRiYWRtaW4ifQ.dxdjyQSH0J4QsJaTZ8uIimCBQMizcUbWXzFby6f0aPG6-dcr1CqjHMAvDnUe-otNrx-enOf98eNrDi0y48GXLmeV-QPXvucZqrQEafIeTKlWokWqWTOM9V8Rlm1dKhqRTZBcfXckRDjHm8YKPWg8Fka_6SW81qwPLdo8O4pI0UTWhkW33vw-ACHKYaVJw3IBsu4oDK8q68Mgb9PqKumBX9rdwqiAnws9Va7ww2HmYngETdifttMM_fI88kLCsrc4IUkdztVpab0_KxkBmfAxrV0tn6JRDaUcGsCpcWlknBffslSZPDZxMFGZ57mQS61gjsyv1Cavq3_q59xLlU_CJw" } } } }
2025-12-04 15:49:57,619 - DEBUG - ydb.connection.3009671  - close: Closing channel for endpoint localhost:17990
2025-12-04 15:49:57,815 - DEBUG - ydb.connection.3009671  - 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 15:49:57,817 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.3009671  - context_resolve: Preparing initial endpoint to resolve endpoints
2025-12-04 15:49:57,817 - DEBUG - ydb.connection.3009671  - 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 15:49:57,822 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.3009671  - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-12-04 15:49:57,822 - DEBUG - ydb.connection.3009671  - _prepare_call: RpcState(ListEndpoints, e3d8aaec-c680-42a2-8b99-59ae76714e9b, localhost:17990): creating call state
2025-12-04 15:49:57,822 - DEBUG - ydb.connection.3009671  - _log_request: RpcState(ListEndpoints, e3d8aaec-c680-42a2-8b99-59ae76714e9b, localhost:17990): request = { database: "/Root/test_user_administration" }
2025-12-04 15:49:57,825 - DEBUG - ydb.connection.3009671  - _log_response: RpcState(ListEndpoints, e3d8aaec-c680-42a2-8b99-59ae76714e9b, localhost:17990): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-sexpwiqojm.auto.internal" port: 29621 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 15:49:57,825 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.3009671  - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-sexpwiqojm.auto.internal:29621, location , ssl: False>]>
2025-12-04 15:49:57,825 - DEBUG - ydb.connection.3009671  - 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 15:49:57,831 - DEBUG - ydb.connection.3009671  - close: Closing channel for endpoint localhost:17990
2025-12-04 15:49:57,832 - DEBUG - ydb.connection.3009671  - _prepare_call: RpcState(ModifyPermissions, f75a9ad2-2ab4-490b-8824-e8eda5c25de1, ghrun-sexpwiqojm.auto.internal:29621): creating call state
2025-12-04 15:49:57,833 - DEBUG - ydb.connection.3009671  - _log_request: RpcState(ModifyPermissions, f75a9ad2-2ab4-490b-8824-e8eda5c25de1, ghrun-sexpwiqojm.auto.internal:29621): request = { operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } path: "/Root/test_user_administration" actions { change_owner: "ordinaryuser" } }
2025-12-04 15:49:57,836 - DEBUG - ydb.connection.3009671  - _log_response: RpcState(ModifyPermissions, f75a9ad2-2ab4-490b-8824-e8eda5c25de1, ghrun-sexpwiqojm.auto.internal:29621): 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 15:49:57,837 - DEBUG - ydb.topic.3009671  - close: Close topic client
2025-12-04 15:49:57,837 - DEBUG - ydb.topic.3009671  - close: Topic client was closed
2025-12-04 15:49:57,837 - DEBUG - ydb.connection.3009671  - close: Closing channel for endpoint localhost:17990
2025-12-04 15:49:58,024 - DEBUG - ydb.connection.3009671  - close: Closing channel for endpoint ghrun-sexpwiqojm.auto.internal:29621
2025-12-04 15:49:58,033 - INFO - ydb.pool.Discovery.3009671  - run: Successfully terminated discovery process
2025-12-04 15:49:58,036 - INFO - ya.test.3009671  - pytest_runtest_teardown: Test teardown
