2025-12-04 21:02:37,523 - INFO - ya.test.2486183  - pytest_runtest_setup: ####################################################################################################
2025-12-04 21:02:37,524 - INFO - ya.test.2486183  - pytest_runtest_setup: test_database_admin_cant_change_database_admin_user[block]
2025-12-04 21:02:37,524 - INFO - ya.test.2486183  - pytest_runtest_setup: ####################################################################################################
2025-12-04 21:02:37,524 - INFO - ya.test.2486183  - pytest_runtest_setup: Test setup
2025-12-04 21:02:37,526 - INFO - ya.test.2486183  - pytest_runtest_call: Test call (class_name: test_user_administration.py, test_name: test_database_admin_cant_change_database_admin_user[block])
2025-12-04 21:02:37,527 - DEBUG - ydb.connection.2486183  - 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 21:02:37,531 - DEBUG - ydb.connection.2486183  - _prepare_call: RpcState(Login, 2f63b44f-95c8-4cc2-b8ad-afd578d8cd51, localhost:20294): creating call state
2025-12-04 21:02:37,532 - DEBUG - ydb.connection.2486183  - _log_request: RpcState(Login, 2f63b44f-95c8-4cc2-b8ad-afd578d8cd51, localhost:20294): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-12-04 21:02:37,543 - DEBUG - ydb.connection.2486183  - _log_response: RpcState(Login, 2f63b44f-95c8-4cc2-b8ad-afd578d8cd51, localhost:20294): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzY0OTI1MzU3LCJpYXQiOjE3NjQ4ODIxNTcsInN1YiI6ImRiYWRtaW4ifQ.phOkUjM3YGlBVPXhXY8rLzc-NXuW9oNcptcPRli_cr0za-1oju4AVB1Tk_Xon8MXzg69VKv58WPZ9yFofHv6c9GuFR2Dgv2Q9u2WbCiS5ReGwR2XY11NeyNC5WtdH_Hp3bvTzG82W8um6ezSA85frSDW8hAJkEKMlCH8xFaKwg09TUdlWTLc7NB5yV6UCvuMiu-HggyWx-HH3QnMed7ky_z82YTZ-EUDgCj7DFXQJtUxsS4DWj22SBuG7I6RPC2Nst8756CYq244vrm6Ha203nuf9vvvbU4LDXH-hHc6VvtZoINNP2jPegJ_trA8X8LRmT2CyKo5tb5hxaFJKfhs4w" } } } }
2025-12-04 21:02:37,543 - DEBUG - ydb.connection.2486183  - close: Closing channel for endpoint localhost:20294
2025-12-04 21:02:37,735 - DEBUG - ydb.connection.2486183  - 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 21:02:37,736 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.2486183  - context_resolve: Preparing initial endpoint to resolve endpoints
2025-12-04 21:02:37,737 - DEBUG - ydb.connection.2486183  - 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 21:02:37,742 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.2486183  - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-12-04 21:02:37,742 - DEBUG - ydb.connection.2486183  - _prepare_call: RpcState(ListEndpoints, f7c0acc4-c085-4db5-91cf-7c16a9b1bdce, localhost:20294): creating call state
2025-12-04 21:02:37,743 - DEBUG - ydb.connection.2486183  - _log_request: RpcState(ListEndpoints, f7c0acc4-c085-4db5-91cf-7c16a9b1bdce, localhost:20294): request = { database: "/Root/test_user_administration" }
2025-12-04 21:02:37,745 - DEBUG - ydb.connection.2486183  - _log_response: RpcState(ListEndpoints, f7c0acc4-c085-4db5-91cf-7c16a9b1bdce, localhost:20294): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-if77zlumgq.auto.internal" port: 17581 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 21:02:37,745 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.2486183  - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-if77zlumgq.auto.internal:17581, location , ssl: False>]>
2025-12-04 21:02:37,746 - DEBUG - ydb.connection.2486183  - 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 21:02:37,752 - DEBUG - ydb.connection.2486183  - close: Closing channel for endpoint localhost:20294
2025-12-04 21:02:37,752 - DEBUG - ydb.table.SessionPool.2486183  - subscribe: Active session queue is empty, subscribe waiter for a session
2025-12-04 21:02:37,753 - DEBUG - ydb.table.SessionPool.2486183  - subscribe: Subscribe waiter <Future at 0x7fcffca77d00 state=pending>
2025-12-04 21:02:37,753 - DEBUG - ydb.table.SessionPool.2486183  - subscribe: Session pool is not large enough (active_count < size: 0 < 100). will create a new session.
2025-12-04 21:02:37,753 - DEBUG - ydb.table.SessionPool.2486183  - _create: Created session <ydb.table.Session object at 0x7fcffca77990>
2025-12-04 21:02:37,754 - DEBUG - ydb.table.SessionPool.2486183  - _prepare: Preparing session <ydb.table.Session object at 0x7fcffca77990>
2025-12-04 21:02:37,754 - DEBUG - ydb.connection.2486183  - _prepare_call: RpcState(CreateSession, 03ee8cc2-953d-4864-9aba-984c5d5c3061, ghrun-if77zlumgq.auto.internal:17581): creating call state
2025-12-04 21:02:37,754 - DEBUG - ydb.connection.2486183  - _log_request: RpcState(CreateSession, 03ee8cc2-953d-4864-9aba-984c5d5c3061, ghrun-if77zlumgq.auto.internal:17581): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-12-04 21:02:37,757 - DEBUG - ydb.connection.2486183  - _on_response_callback: RpcState(CreateSession, 03ee8cc2-953d-4864-9aba-984c5d5c3061, ghrun-if77zlumgq.auto.internal:17581): on response callback started
2025-12-04 21:02:37,757 - DEBUG - ydb.connection.2486183  - _log_response: RpcState(CreateSession, 03ee8cc2-953d-4864-9aba-984c5d5c3061, ghrun-if77zlumgq.auto.internal:17581): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=NDRmY2IyY2YtMWFlODE5MGItNjUzYjIzMjAtZGJlY2RjNTU=" } } } }
2025-12-04 21:02:37,758 - DEBUG - ydb.table.SessionPool.2486183  - put: Put on session <ydb.table.Session object at 0x7fcffca77990>
2025-12-04 21:02:37,758 - DEBUG - ydb.table.SessionPool.2486183  - put: Replying to waiter with a session <ydb.table.Session object at 0x7fcffca77990>
2025-12-04 21:02:37,758 - DEBUG - ydb.connection.2486183  - _prepare_call: RpcState(ExecuteSchemeQuery, 4f1826e8-d3e1-4513-86c3-a8dbc975abd4, ghrun-if77zlumgq.auto.internal:17581): creating call state
2025-12-04 21:02:37,759 - DEBUG - ydb.connection.2486183  - _on_response_callback: RpcState(CreateSession, 03ee8cc2-953d-4864-9aba-984c5d5c3061, ghrun-if77zlumgq.auto.internal:17581): on response callback success
2025-12-04 21:02:37,759 - DEBUG - ydb.connection.2486183  - _log_request: RpcState(ExecuteSchemeQuery, 4f1826e8-d3e1-4513-86c3-a8dbc975abd4, ghrun-if77zlumgq.auto.internal:17581): request = { session_id: "ydb://session/3?node_id=50000&id=NDRmY2IyY2YtMWFlODE5MGItNjUzYjIzMjAtZGJlY2RjNTU=" yql_text: "alter user dbadmin2 nologin" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-12-04 21:02:37,766 - DEBUG - ydb.connection.2486183  - _log_response: RpcState(ExecuteSchemeQuery, 4f1826e8-d3e1-4513-86c3-a8dbc975abd4, ghrun-if77zlumgq.auto.internal:17581): 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-12-04 21:02:37,766 - DEBUG - ydb.table.SessionPool.2486183  - put: Put on session <ydb.table.Session object at 0x7fcffca77990>
2025-12-04 21:02:37,767 - DEBUG - __tests__.test_user_administration.2486183  - 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-12-04 21:02:37,767 - DEBUG - ydb.topic.2486183  - close: Close topic client
2025-12-04 21:02:37,767 - DEBUG - ydb.topic.2486183  - close: Topic client was closed
2025-12-04 21:02:37,767 - DEBUG - ydb.connection.2486183  - close: Closing channel for endpoint localhost:20294
2025-12-04 21:02:37,946 - DEBUG - ydb.connection.2486183  - close: Closing channel for endpoint ghrun-if77zlumgq.auto.internal:17581
2025-12-04 21:02:37,954 - INFO - ydb.pool.Discovery.2486183  - run: Successfully terminated discovery process
2025-12-04 21:02:37,956 - INFO - ya.test.2486183  - pytest_runtest_teardown: Test teardown
