2025-11-05 11:59:33,057 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-05 11:59:33,059 - INFO - ya.test - pytest_runtest_setup: test_database_admin_cant_change_database_admin_user[block]
2025-11-05 11:59:33,059 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-05 11:59:33,059 - INFO - ya.test - pytest_runtest_setup: Test setup
2025-11-05 11:59:33,061 - INFO - ya.test - pytest_runtest_call: Test call (class_name: test_user_administration.py, test_name: test_database_admin_cant_change_database_admin_user[block])
2025-11-05 11:59:33,062 - DEBUG - ydb.connection - 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-05 11:59:33,067 - DEBUG - ydb.connection - _prepare_call: RpcState(Login, f4afffaa-b6c8-48e4-a680-88600f4e7cf5, localhost:31260): creating call state
2025-11-05 11:59:33,068 - DEBUG - ydb.connection - _log_request: RpcState(Login, f4afffaa-b6c8-48e4-a680-88600f4e7cf5, localhost:31260): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-11-05 11:59:33,080 - DEBUG - ydb.connection - _log_response: RpcState(Login, f4afffaa-b6c8-48e4-a680-88600f4e7cf5, localhost:31260): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzYyMzg3MTczLCJpYXQiOjE3NjIzNDM5NzMsInN1YiI6ImRiYWRtaW4ifQ.jM5iTWyimtoGlfZLJBAwl22n_6w9OiZRdbSSHJ7OtVfQNcl22JpA5KMrGFu9mMd-UgSWQR8rayvbL8yCOqvjzjMJNpq0tuh5_valxfac4dvulzDr0_PyOKQiHmxdUIamdWtLuKG7grKqrrJXCi1gV3S4rYb4dz2sXSifUpOHNHDsYzDpK-PX_fpC4PHpXVBuLZ_mEu-GtL09BLscDxPO18Gpu4uBfPBPciyj2SkYK_FWvNCY9xiTNKrpboY7cmD5V7_YF8jRKaO5KGF5UgIrH01EzuZUE4ykRW-itDMFCUNS0ZLuVAeoINuBcswuOH3w3dCaNyLK5VyJEpZxHzyHSg" } } } }
2025-11-05 11:59:33,085 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:31260
2025-11-05 11:59:33,270 - DEBUG - ydb.connection - 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-05 11:59:33,272 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Preparing initial endpoint to resolve endpoints
2025-11-05 11:59:33,272 - DEBUG - ydb.connection - 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-05 11:59:33,278 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-11-05 11:59:33,279 - DEBUG - ydb.connection - _prepare_call: RpcState(ListEndpoints, 32f253d2-362f-4de3-8d7f-1945f9ea77c7, localhost:31260): creating call state
2025-11-05 11:59:33,280 - DEBUG - ydb.connection - _log_request: RpcState(ListEndpoints, 32f253d2-362f-4de3-8d7f-1945f9ea77c7, localhost:31260): request = { database: "/Root/test_user_administration" }
2025-11-05 11:59:33,287 - DEBUG - ydb.connection - _log_response: RpcState(ListEndpoints, 32f253d2-362f-4de3-8d7f-1945f9ea77c7, localhost:31260): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-atcy2dqar4.auto.internal" port: 15548 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-05 11:59:33,289 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-atcy2dqar4.auto.internal:15548, location , ssl: False>]>
2025-11-05 11:59:33,290 - DEBUG - ydb.connection - 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-05 11:59:33,313 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:31260
2025-11-05 11:59:33,313 - DEBUG - ydb.table.SessionPool - subscribe: Active session queue is empty, subscribe waiter for a session
2025-11-05 11:59:33,324 - DEBUG - ydb.table.SessionPool - subscribe: Subscribe waiter <Future at 0x7fa573704240 state=pending>
2025-11-05 11:59:33,324 - DEBUG - ydb.table.SessionPool - subscribe: Session pool is not large enough (active_count < size: 0 < 100). will create a new session.
2025-11-05 11:59:33,324 - DEBUG - ydb.table.SessionPool - _create: Created session <ydb.table.Session object at 0x7fa573704830>
2025-11-05 11:59:33,325 - DEBUG - ydb.table.SessionPool - _prepare: Preparing session <ydb.table.Session object at 0x7fa573704830>
2025-11-05 11:59:33,325 - DEBUG - ydb.connection - _prepare_call: RpcState(CreateSession, 58e4238d-ef52-45e7-b08b-064135e0fd60, ghrun-atcy2dqar4.auto.internal:15548): creating call state
2025-11-05 11:59:33,325 - DEBUG - ydb.connection - _log_request: RpcState(CreateSession, 58e4238d-ef52-45e7-b08b-064135e0fd60, ghrun-atcy2dqar4.auto.internal:15548): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-11-05 11:59:33,328 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, 58e4238d-ef52-45e7-b08b-064135e0fd60, ghrun-atcy2dqar4.auto.internal:15548): on response callback started
2025-11-05 11:59:33,329 - DEBUG - ydb.connection - _log_response: RpcState(CreateSession, 58e4238d-ef52-45e7-b08b-064135e0fd60, ghrun-atcy2dqar4.auto.internal:15548): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=Y2E2OGQ0NS1lOTBhM2VlNS1hMDYyZmYyOS1mMjIxODdhNA==" } } } }
2025-11-05 11:59:33,330 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7fa573704830>
2025-11-05 11:59:33,330 - DEBUG - ydb.table.SessionPool - put: Replying to waiter with a session <ydb.table.Session object at 0x7fa573704830>
2025-11-05 11:59:33,331 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, 58e4238d-ef52-45e7-b08b-064135e0fd60, ghrun-atcy2dqar4.auto.internal:15548): on response callback success
2025-11-05 11:59:33,331 - DEBUG - ydb.connection - _prepare_call: RpcState(ExecuteSchemeQuery, 06b5937b-2757-4b23-9ff9-b32fdc88b350, ghrun-atcy2dqar4.auto.internal:15548): creating call state
2025-11-05 11:59:33,332 - DEBUG - ydb.connection - _log_request: RpcState(ExecuteSchemeQuery, 06b5937b-2757-4b23-9ff9-b32fdc88b350, ghrun-atcy2dqar4.auto.internal:15548): request = { session_id: "ydb://session/3?node_id=50000&id=Y2E2OGQ0NS1lOTBhM2VlNS1hMDYyZmYyOS1mMjIxODdhNA==" yql_text: "alter user dbadmin2 nologin" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-11-05 11:59:33,343 - DEBUG - ydb.connection - _log_response: RpcState(ExecuteSchemeQuery, 06b5937b-2757-4b23-9ff9-b32fdc88b350, ghrun-atcy2dqar4.auto.internal:15548): 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-05 11:59:33,345 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7fa573704830>
2025-11-05 11:59:33,346 - DEBUG - __tests__.test_user_administration - 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-05 11:59:33,346 - DEBUG - ydb.topic - close: Close topic client
2025-11-05 11:59:33,347 - DEBUG - ydb.topic - close: Topic client was closed
2025-11-05 11:59:33,347 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:31260
2025-11-05 11:59:33,488 - DEBUG - ydb.connection - close: Closing channel for endpoint ghrun-atcy2dqar4.auto.internal:15548
2025-11-05 11:59:33,516 - INFO - ydb.pool.Discovery - run: Successfully terminated discovery process
2025-11-05 11:59:33,517 - INFO - ya.test - pytest_runtest_teardown: Test teardown
