2025-11-19 21:15:16,050 - INFO - ya.test.2075053  - pytest_runtest_setup: ####################################################################################################
2025-11-19 21:15:16,050 - INFO - ya.test.2075053  - pytest_runtest_setup: test_database_admin_cant_change_database_owner
2025-11-19 21:15:16,051 - INFO - ya.test.2075053  - pytest_runtest_setup: ####################################################################################################
2025-11-19 21:15:16,051 - INFO - ya.test.2075053  - pytest_runtest_setup: Test setup
2025-11-19 21:15:16,053 - INFO - ya.test.2075053  - pytest_runtest_call: Test call (class_name: test_user_administration.py, test_name: test_database_admin_cant_change_database_owner)
2025-11-19 21:15:16,053 - DEBUG - ydb.connection.2075053  - 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 21:15:16,058 - DEBUG - ydb.connection.2075053  - _prepare_call: RpcState(Login, 29613f37-7507-45c0-8416-0380af66a900, localhost:22742): creating call state
2025-11-19 21:15:16,059 - DEBUG - ydb.connection.2075053  - _log_request: RpcState(Login, 29613f37-7507-45c0-8416-0380af66a900, localhost:22742): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-11-19 21:15:16,067 - DEBUG - ydb.connection.2075053  - _log_response: RpcState(Login, 29613f37-7507-45c0-8416-0380af66a900, localhost:22742): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzYzNjMwMTE2LCJpYXQiOjE3NjM1ODY5MTYsInN1YiI6ImRiYWRtaW4ifQ.lgF1QGlxZvZXFHCuC05CnIU0R8ot6q8FHbpNXUgdJ1zpFXJ-TyOeJl65Yc5dN9lLmcbS9O2c0qyk3aERyssrtbXs1M8tOM20yjE2rMLZe9BcVqezzwL6Ss-xuzFXW2eRVe0_5ZCucz4Lw-JAFX2rWMWbnunzwoXWWMwXJn8Fq1RayVI62PcyL11_5Qh__b_eV1qRdMfBY4rYIds2cXUmK-UsoW69ivFVuI5glLsyEdQAtwl1S9Ih_S0dKLl0_r_CtfY7JN7pGXfmRsDrdmmETaedkZdSnGdEG-y4fjfA_0Sl6GGyqNs5YlE36168yGj56YJwfvg7FB3UbwQpnG3BqA" } } } }
2025-11-19 21:15:16,067 - DEBUG - ydb.connection.2075053  - close: Closing channel for endpoint localhost:22742
2025-11-19 21:15:16,261 - DEBUG - ydb.connection.2075053  - 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 21:15:16,263 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.2075053  - context_resolve: Preparing initial endpoint to resolve endpoints
2025-11-19 21:15:16,264 - DEBUG - ydb.connection.2075053  - 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 21:15:16,270 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.2075053  - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-11-19 21:15:16,270 - DEBUG - ydb.connection.2075053  - _prepare_call: RpcState(ListEndpoints, 3956f725-4c2c-466d-b139-d2f075866656, localhost:22742): creating call state
2025-11-19 21:15:16,271 - DEBUG - ydb.connection.2075053  - _log_request: RpcState(ListEndpoints, 3956f725-4c2c-466d-b139-d2f075866656, localhost:22742): request = { database: "/Root/test_user_administration" }
2025-11-19 21:15:16,274 - DEBUG - ydb.connection.2075053  - _log_response: RpcState(ListEndpoints, 3956f725-4c2c-466d-b139-d2f075866656, localhost:22742): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-5327lwzq5q.auto.internal" port: 17818 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 21:15:16,274 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.2075053  - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-5327lwzq5q.auto.internal:17818, location , ssl: False>]>
2025-11-19 21:15:16,275 - DEBUG - ydb.connection.2075053  - 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 21:15:16,282 - DEBUG - ydb.connection.2075053  - close: Closing channel for endpoint localhost:22742
2025-11-19 21:15:16,283 - DEBUG - ydb.connection.2075053  - _prepare_call: RpcState(ModifyPermissions, 4de0a250-b1c1-490b-981d-043ac4de1ea7, ghrun-5327lwzq5q.auto.internal:17818): creating call state
2025-11-19 21:15:16,284 - DEBUG - ydb.connection.2075053  - _log_request: RpcState(ModifyPermissions, 4de0a250-b1c1-490b-981d-043ac4de1ea7, ghrun-5327lwzq5q.auto.internal:17818): request = { operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } path: "/Root/test_user_administration" actions { change_owner: "ordinaryuser" } }
2025-11-19 21:15:16,289 - DEBUG - ydb.connection.2075053  - _log_response: RpcState(ModifyPermissions, 4de0a250-b1c1-490b-981d-043ac4de1ea7, ghrun-5327lwzq5q.auto.internal:17818): 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 21:15:16,289 - DEBUG - ydb.topic.2075053  - close: Close topic client
2025-11-19 21:15:16,289 - DEBUG - ydb.topic.2075053  - close: Topic client was closed
2025-11-19 21:15:16,289 - DEBUG - ydb.connection.2075053  - close: Closing channel for endpoint localhost:22742
2025-11-19 21:15:16,474 - DEBUG - ydb.connection.2075053  - close: Closing channel for endpoint ghrun-5327lwzq5q.auto.internal:17818
2025-11-19 21:15:16,485 - INFO - ydb.pool.Discovery.2075053  - run: Successfully terminated discovery process
2025-11-19 21:15:16,489 - INFO - ya.test.2075053  - pytest_runtest_teardown: Test teardown
