2025-11-19 11:31:35,245 - INFO - ya.test.2430962  - pytest_runtest_setup: ####################################################################################################
2025-11-19 11:31:35,246 - INFO - ya.test.2430962  - pytest_runtest_setup: test_database_admin_cant_change_database_owner
2025-11-19 11:31:35,246 - INFO - ya.test.2430962  - pytest_runtest_setup: ####################################################################################################
2025-11-19 11:31:35,246 - INFO - ya.test.2430962  - pytest_runtest_setup: Test setup
2025-11-19 11:31:35,249 - INFO - ya.test.2430962  - pytest_runtest_call: Test call (class_name: test_user_administration.py, test_name: test_database_admin_cant_change_database_owner)
2025-11-19 11:31:35,250 - DEBUG - ydb.connection.2430962  - 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-19 11:31:35,255 - DEBUG - ydb.connection.2430962  - _prepare_call: RpcState(Login, 06208144-54e5-4547-9ea5-a420731ffdf4, localhost:28499): creating call state
2025-11-19 11:31:35,256 - DEBUG - ydb.connection.2430962  - _log_request: RpcState(Login, 06208144-54e5-4547-9ea5-a420731ffdf4, localhost:28499): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-11-19 11:31:35,266 - DEBUG - ydb.connection.2430962  - _log_response: RpcState(Login, 06208144-54e5-4547-9ea5-a420731ffdf4, localhost:28499): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzYzNTk1MDk1LCJpYXQiOjE3NjM1NTE4OTUsInN1YiI6ImRiYWRtaW4ifQ.kecZJtywDXCs1YielDZGWnFlZB7yYk57jLbMpY24_GfnV-Q2is1rFUHpc2NRp-GL4bKDmRXcXnWrWiHo8fgc_uKVOwtyVnogjW7iW1etcCm1xBVyZoKRPAIX6BtIsn8dqJMZGbAaw2EMNdD2LlkMeg_3KCah8pr-UdbCcpOG_pfBUv-FXmixlm-WFTg3dv9lyDnqadsOBBJpWynLWRQTSQE6rkOHfHIssaOa4PD3QRaho0-nQeTwFPtQFPr-oOP3sw4OWa_keXJ6tEc5ahoNLRpOQi_okZ4AoaU-LMun-YDeL-30QPP4IMwclk74VsRpFrhGF25TBuhXPq3jRR4jXQ" } } } }
2025-11-19 11:31:35,266 - DEBUG - ydb.connection.2430962  - close: Closing channel for endpoint localhost:28499
2025-11-19 11:31:35,459 - DEBUG - ydb.connection.2430962  - 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-19 11:31:35,461 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.2430962  - context_resolve: Preparing initial endpoint to resolve endpoints
2025-11-19 11:31:35,461 - DEBUG - ydb.connection.2430962  - 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-19 11:31:35,467 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.2430962  - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-11-19 11:31:35,468 - DEBUG - ydb.connection.2430962  - _prepare_call: RpcState(ListEndpoints, bd407a21-d53f-485c-97bf-7c9ce5ea30c1, localhost:28499): creating call state
2025-11-19 11:31:35,468 - DEBUG - ydb.connection.2430962  - _log_request: RpcState(ListEndpoints, bd407a21-d53f-485c-97bf-7c9ce5ea30c1, localhost:28499): request = { database: "/Root/test_user_administration" }
2025-11-19 11:31:35,471 - DEBUG - ydb.connection.2430962  - _log_response: RpcState(ListEndpoints, bd407a21-d53f-485c-97bf-7c9ce5ea30c1, localhost:28499): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-c3mdp2mblq.auto.internal" port: 11499 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-19 11:31:35,472 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.2430962  - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-c3mdp2mblq.auto.internal:11499, location , ssl: False>]>
2025-11-19 11:31:35,472 - DEBUG - ydb.connection.2430962  - 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-19 11:31:35,480 - DEBUG - ydb.connection.2430962  - close: Closing channel for endpoint localhost:28499
2025-11-19 11:31:35,481 - DEBUG - ydb.connection.2430962  - _prepare_call: RpcState(ModifyPermissions, 6083d8dd-7bf4-4923-a12a-006add93aee4, ghrun-c3mdp2mblq.auto.internal:11499): creating call state
2025-11-19 11:31:35,482 - DEBUG - ydb.connection.2430962  - _log_request: RpcState(ModifyPermissions, 6083d8dd-7bf4-4923-a12a-006add93aee4, ghrun-c3mdp2mblq.auto.internal:11499): request = { operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } path: "/Root/test_user_administration" actions { change_owner: "ordinaryuser" } }
2025-11-19 11:31:35,486 - DEBUG - ydb.connection.2430962  - _log_response: RpcState(ModifyPermissions, 6083d8dd-7bf4-4923-a12a-006add93aee4, ghrun-c3mdp2mblq.auto.internal:11499): 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-19 11:31:35,487 - DEBUG - ydb.topic.2430962  - close: Close topic client
2025-11-19 11:31:35,487 - DEBUG - ydb.topic.2430962  - close: Topic client was closed
2025-11-19 11:31:35,487 - DEBUG - ydb.connection.2430962  - close: Closing channel for endpoint localhost:28499
2025-11-19 11:31:35,670 - DEBUG - ydb.connection.2430962  - close: Closing channel for endpoint ghrun-c3mdp2mblq.auto.internal:11499
2025-11-19 11:31:35,685 - INFO - ydb.pool.Discovery.2430962  - run: Successfully terminated discovery process
2025-11-19 11:31:35,687 - INFO - ya.test.2430962  - pytest_runtest_teardown: Test teardown
