2025-11-21 14:08:33,983 - INFO - ya.test.3166860  - pytest_runtest_setup: ####################################################################################################
2025-11-21 14:08:33,984 - INFO - ya.test.3166860  - pytest_runtest_setup: test_database_admin_cant_change_database_admin_user[block]
2025-11-21 14:08:33,984 - INFO - ya.test.3166860  - pytest_runtest_setup: ####################################################################################################
2025-11-21 14:08:33,984 - INFO - ya.test.3166860  - pytest_runtest_setup: Test setup
2025-11-21 14:08:33,986 - INFO - ya.test.3166860  - pytest_runtest_call: Test call (class_name: test_user_administration.py, test_name: test_database_admin_cant_change_database_admin_user[block])
2025-11-21 14:08:33,986 - DEBUG - ydb.connection.3166860  - 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-21 14:08:33,994 - DEBUG - ydb.connection.3166860  - _prepare_call: RpcState(Login, f15f444f-a6f8-4ed4-9dbb-a0d8ab63f08c, localhost:8389): creating call state
2025-11-21 14:08:33,994 - DEBUG - ydb.connection.3166860  - _log_request: RpcState(Login, f15f444f-a6f8-4ed4-9dbb-a0d8ab63f08c, localhost:8389): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-11-21 14:08:34,017 - DEBUG - ydb.connection.3166860  - _log_response: RpcState(Login, f15f444f-a6f8-4ed4-9dbb-a0d8ab63f08c, localhost:8389): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzYzNzc3MzE0LCJpYXQiOjE3NjM3MzQxMTQsInN1YiI6ImRiYWRtaW4ifQ.hYfXV5Xdj3N-Xnj2nTu66u8eu1yglqTZrANNIH4MjObSQh145lNIIe6oncZRP_-pIWLaMiIJHvsNV1vJKL5CfzXxyS2X_k4O4nT6llTAkRaA2E0CEZxQYRR38ZwaVHiEpckNl0VXVQKtbljNFFSwFAxWUQxbQsv_4vYVvnCNntVR2u0EEtdVCwtj0pLVJXZkanMnrjkcKgxhYU85JFPxGIgOcW-9X1ZiwoeW_Lp9Vq6wIIsKnqcHlQj6II1pCTv4ZUBYtLxngvevhd7gEOPA9nSCE79meUflXeOD4EOQsP93y7vAne3_rKqCLPjkVsLvE3Vyh50PFsII8QIdyo15Zw" } } } }
2025-11-21 14:08:34,017 - DEBUG - ydb.connection.3166860  - close: Closing channel for endpoint localhost:8389
2025-11-21 14:08:34,199 - DEBUG - ydb.connection.3166860  - 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-21 14:08:34,202 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.3166860  - context_resolve: Preparing initial endpoint to resolve endpoints
2025-11-21 14:08:34,203 - DEBUG - ydb.connection.3166860  - 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-21 14:08:34,209 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.3166860  - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-11-21 14:08:34,209 - DEBUG - ydb.connection.3166860  - _prepare_call: RpcState(ListEndpoints, 418c83b4-9e81-42cc-81bc-1d1cbac78a29, localhost:8389): creating call state
2025-11-21 14:08:34,210 - DEBUG - ydb.connection.3166860  - _log_request: RpcState(ListEndpoints, 418c83b4-9e81-42cc-81bc-1d1cbac78a29, localhost:8389): request = { database: "/Root/test_user_administration" }
2025-11-21 14:08:34,216 - DEBUG - ydb.connection.3166860  - _log_response: RpcState(ListEndpoints, 418c83b4-9e81-42cc-81bc-1d1cbac78a29, localhost:8389): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-hd5senkm3y.auto.internal" port: 23792 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-21 14:08:34,217 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.3166860  - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-hd5senkm3y.auto.internal:23792, location , ssl: False>]>
2025-11-21 14:08:34,217 - DEBUG - ydb.connection.3166860  - 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-21 14:08:34,225 - DEBUG - ydb.connection.3166860  - close: Closing channel for endpoint localhost:8389
2025-11-21 14:08:34,225 - DEBUG - ydb.table.SessionPool.3166860  - subscribe: Active session queue is empty, subscribe waiter for a session
2025-11-21 14:08:34,226 - DEBUG - ydb.table.SessionPool.3166860  - subscribe: Subscribe waiter <Future at 0x7efc49421cd0 state=pending>
2025-11-21 14:08:34,226 - DEBUG - ydb.table.SessionPool.3166860  - subscribe: Session pool is not large enough (active_count < size: 0 < 100). will create a new session.
2025-11-21 14:08:34,227 - DEBUG - ydb.table.SessionPool.3166860  - _create: Created session <ydb.table.Session object at 0x7efc49421640>
2025-11-21 14:08:34,231 - DEBUG - ydb.table.SessionPool.3166860  - _prepare: Preparing session <ydb.table.Session object at 0x7efc49421640>
2025-11-21 14:08:34,231 - DEBUG - ydb.connection.3166860  - _prepare_call: RpcState(CreateSession, 92568a82-8a2d-489f-81c8-79622965b4b7, ghrun-hd5senkm3y.auto.internal:23792): creating call state
2025-11-21 14:08:34,236 - DEBUG - ydb.connection.3166860  - _log_request: RpcState(CreateSession, 92568a82-8a2d-489f-81c8-79622965b4b7, ghrun-hd5senkm3y.auto.internal:23792): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-11-21 14:08:34,242 - DEBUG - ydb.connection.3166860  - _on_response_callback: RpcState(CreateSession, 92568a82-8a2d-489f-81c8-79622965b4b7, ghrun-hd5senkm3y.auto.internal:23792): on response callback started
2025-11-21 14:08:34,242 - DEBUG - ydb.connection.3166860  - _log_response: RpcState(CreateSession, 92568a82-8a2d-489f-81c8-79622965b4b7, ghrun-hd5senkm3y.auto.internal:23792): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=Y2MxYzc5ZWYtMzRjNWY5YjItNzQyZTEzNGItN2QxODkzNDI=" } } } }
2025-11-21 14:08:34,264 - DEBUG - ydb.connection.3166860  - _on_response_callback: RpcState(CreateSession, 92568a82-8a2d-489f-81c8-79622965b4b7, ghrun-hd5senkm3y.auto.internal:23792): on response callback success
2025-11-21 14:08:34,267 - DEBUG - ydb.table.SessionPool.3166860  - put: Put on session <ydb.table.Session object at 0x7efc49421640>
2025-11-21 14:08:34,267 - DEBUG - ydb.table.SessionPool.3166860  - put: Replying to waiter with a session <ydb.table.Session object at 0x7efc49421640>
2025-11-21 14:08:34,267 - DEBUG - ydb.connection.3166860  - _prepare_call: RpcState(ExecuteSchemeQuery, 183763b0-618c-4229-ae85-99b56c6771ac, ghrun-hd5senkm3y.auto.internal:23792): creating call state
2025-11-21 14:08:34,268 - DEBUG - ydb.connection.3166860  - _log_request: RpcState(ExecuteSchemeQuery, 183763b0-618c-4229-ae85-99b56c6771ac, ghrun-hd5senkm3y.auto.internal:23792): request = { session_id: "ydb://session/3?node_id=50000&id=Y2MxYzc5ZWYtMzRjNWY5YjItNzQyZTEzNGItN2QxODkzNDI=" yql_text: "alter user dbadmin2 nologin" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-11-21 14:08:34,280 - DEBUG - ydb.connection.3166860  - _log_response: RpcState(ExecuteSchemeQuery, 183763b0-618c-4229-ae85-99b56c6771ac, ghrun-hd5senkm3y.auto.internal:23792): response = { operation { ready: true status: UNAUTHORIZED issues { message: "Execution" issue_code: 1060 severity: 1 issues { position { row: 1 column: 1 } message: "Executing ALTER USER" end_position { row: 1 column: 1 } severity: 1 issues { message: "Access denied for scheme request" issue_code: 2018 severity: 1 issues { message: "Access denied." severity: 1 } } } } } }
2025-11-21 14:08:34,287 - DEBUG - ydb.table.SessionPool.3166860  - put: Put on session <ydb.table.Session object at 0x7efc49421640>
2025-11-21 14:08:34,287 - DEBUG - __tests__.test_user_administration.3166860  - test_database_admin_cant_change_database_admin_user: message: "Execution" issue_code: 1060 severity: 1 issues { position { row: 1 column: 1 } message: "Executing ALTER USER" end_position { row: 1 column: 1 } severity: 1 issues { message: "Access denied for scheme request" issue_code: 2018 severity: 1 issues { message: "Access denied." severity: 1 } } } (server_code: 400020)
2025-11-21 14:08:34,288 - DEBUG - ydb.topic.3166860  - close: Close topic client
2025-11-21 14:08:34,288 - DEBUG - ydb.topic.3166860  - close: Topic client was closed
2025-11-21 14:08:34,288 - DEBUG - ydb.connection.3166860  - close: Closing channel for endpoint localhost:8389
2025-11-21 14:08:34,411 - DEBUG - ydb.connection.3166860  - close: Closing channel for endpoint ghrun-hd5senkm3y.auto.internal:23792
2025-11-21 14:08:34,428 - INFO - ydb.pool.Discovery.3166860  - run: Successfully terminated discovery process
2025-11-21 14:08:34,453 - INFO - ya.test.3166860  - pytest_runtest_teardown: Test teardown
