2025-12-12 16:06:31,754 - INFO - ya.test.1466853  - pytest_runtest_setup: ####################################################################################################
2025-12-12 16:06:31,754 - INFO - ya.test.1466853  - pytest_runtest_setup: test_database_admin_cant_change_database_admin_user[block]
2025-12-12 16:06:31,754 - INFO - ya.test.1466853  - pytest_runtest_setup: ####################################################################################################
2025-12-12 16:06:31,754 - INFO - ya.test.1466853  - pytest_runtest_setup: Test setup
2025-12-12 16:06:31,756 - INFO - ya.test.1466853  - pytest_runtest_call: Test call (class_name: test_user_administration.py, test_name: test_database_admin_cant_change_database_admin_user[block])
2025-12-12 16:06:31,757 - DEBUG - ydb.connection.1466853  - 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-12 16:06:31,762 - DEBUG - ydb.connection.1466853  - _prepare_call: RpcState(Login, d7a7eac1-27a3-4e5d-848a-376a2e381f3b, localhost:30002): creating call state
2025-12-12 16:06:31,763 - DEBUG - ydb.connection.1466853  - _log_request: RpcState(Login, d7a7eac1-27a3-4e5d-848a-376a2e381f3b, localhost:30002): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-12-12 16:06:31,770 - DEBUG - ydb.connection.1466853  - _log_response: RpcState(Login, d7a7eac1-27a3-4e5d-848a-376a2e381f3b, localhost:30002): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzY1NTk4NzkxLCJpYXQiOjE3NjU1NTU1OTEsInN1YiI6ImRiYWRtaW4ifQ.Mq-awyWErwHCtQpnKDPr6ultRe55TRO_V_O4XG07fyYBq72j2xgHoYKhOZaS_2CLY7SdfVDmtFJznDfCaOaelEXFLSGroE2a5GJN1tEgECh5vEaV7ueA_xC7AgVNBrkyNgUQbnzEuh5V-7Kir5TggImBSSvZ5Frd8Cfc50cQf4khGG3FB1TSr1zEXZkFhuqQg91_YoEMOkhDu16b1zVSw6KzFCIhuoMPXeLR2kUvZQwK9Gl5PcUddoKB1Sdvhd6B_Hs84kT-1XTV6LaMwSVVsgqNEUJszLMvXQf8eQzSn-BYI3lUaBgLnrPfX4WyUN8Twe3fjCL-XframWcm1GSOqQ" } } } }
2025-12-12 16:06:31,773 - DEBUG - ydb.connection.1466853  - close: Closing channel for endpoint localhost:30002
2025-12-12 16:06:31,965 - DEBUG - ydb.connection.1466853  - 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-12 16:06:31,967 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.1466853  - context_resolve: Preparing initial endpoint to resolve endpoints
2025-12-12 16:06:31,968 - DEBUG - ydb.connection.1466853  - 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-12 16:06:31,974 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.1466853  - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-12-12 16:06:31,974 - DEBUG - ydb.connection.1466853  - _prepare_call: RpcState(ListEndpoints, edc71066-8e52-4861-a2f3-ae854040cfd3, localhost:30002): creating call state
2025-12-12 16:06:31,975 - DEBUG - ydb.connection.1466853  - _log_request: RpcState(ListEndpoints, edc71066-8e52-4861-a2f3-ae854040cfd3, localhost:30002): request = { database: "/Root/test_user_administration" }
2025-12-12 16:06:31,977 - DEBUG - ydb.connection.1466853  - _log_response: RpcState(ListEndpoints, edc71066-8e52-4861-a2f3-ae854040cfd3, localhost:30002): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-jumawwbfgm.auto.internal" port: 9630 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-12 16:06:31,979 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.1466853  - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-jumawwbfgm.auto.internal:9630, location , ssl: False>]>
2025-12-12 16:06:31,980 - DEBUG - ydb.connection.1466853  - 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-12 16:06:31,987 - DEBUG - ydb.connection.1466853  - close: Closing channel for endpoint localhost:30002
2025-12-12 16:06:31,988 - DEBUG - ydb.table.SessionPool.1466853  - subscribe: Active session queue is empty, subscribe waiter for a session
2025-12-12 16:06:31,989 - DEBUG - ydb.table.SessionPool.1466853  - subscribe: Subscribe waiter <Future at 0x7fdca7c65fa0 state=pending>
2025-12-12 16:06:31,989 - DEBUG - ydb.table.SessionPool.1466853  - subscribe: Session pool is not large enough (active_count < size: 0 < 100). will create a new session.
2025-12-12 16:06:31,990 - DEBUG - ydb.table.SessionPool.1466853  - _create: Created session <ydb.table.Session object at 0x7fdca7c676c0>
2025-12-12 16:06:31,990 - DEBUG - ydb.table.SessionPool.1466853  - _prepare: Preparing session <ydb.table.Session object at 0x7fdca7c676c0>
2025-12-12 16:06:31,990 - DEBUG - ydb.connection.1466853  - _prepare_call: RpcState(CreateSession, 537575c0-b643-4f5c-9880-8cf7518b1aa8, ghrun-jumawwbfgm.auto.internal:9630): creating call state
2025-12-12 16:06:31,991 - DEBUG - ydb.connection.1466853  - _log_request: RpcState(CreateSession, 537575c0-b643-4f5c-9880-8cf7518b1aa8, ghrun-jumawwbfgm.auto.internal:9630): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-12-12 16:06:31,993 - DEBUG - ydb.connection.1466853  - _on_response_callback: RpcState(CreateSession, 537575c0-b643-4f5c-9880-8cf7518b1aa8, ghrun-jumawwbfgm.auto.internal:9630): on response callback started
2025-12-12 16:06:31,994 - DEBUG - ydb.connection.1466853  - _log_response: RpcState(CreateSession, 537575c0-b643-4f5c-9880-8cf7518b1aa8, ghrun-jumawwbfgm.auto.internal:9630): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=NTIxNmNhNWYtZDY2ZTc3Mi05NzExODJiMy1lMmY3NWRhZQ==" } } } }
2025-12-12 16:06:31,995 - DEBUG - ydb.table.SessionPool.1466853  - put: Put on session <ydb.table.Session object at 0x7fdca7c676c0>
2025-12-12 16:06:31,995 - DEBUG - ydb.table.SessionPool.1466853  - put: Replying to waiter with a session <ydb.table.Session object at 0x7fdca7c676c0>
2025-12-12 16:06:31,996 - DEBUG - ydb.connection.1466853  - _prepare_call: RpcState(ExecuteSchemeQuery, 37a6a3f6-df87-40fe-b87f-9b650e49a824, ghrun-jumawwbfgm.auto.internal:9630): creating call state
2025-12-12 16:06:31,996 - DEBUG - ydb.connection.1466853  - _on_response_callback: RpcState(CreateSession, 537575c0-b643-4f5c-9880-8cf7518b1aa8, ghrun-jumawwbfgm.auto.internal:9630): on response callback success
2025-12-12 16:06:31,997 - DEBUG - ydb.connection.1466853  - _log_request: RpcState(ExecuteSchemeQuery, 37a6a3f6-df87-40fe-b87f-9b650e49a824, ghrun-jumawwbfgm.auto.internal:9630): request = { session_id: "ydb://session/3?node_id=50000&id=NTIxNmNhNWYtZDY2ZTc3Mi05NzExODJiMy1lMmY3NWRhZQ==" yql_text: "alter user dbadmin2 nologin" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-12-12 16:06:32,003 - DEBUG - ydb.connection.1466853  - _log_response: RpcState(ExecuteSchemeQuery, 37a6a3f6-df87-40fe-b87f-9b650e49a824, ghrun-jumawwbfgm.auto.internal:9630): 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-12 16:06:32,004 - DEBUG - ydb.table.SessionPool.1466853  - put: Put on session <ydb.table.Session object at 0x7fdca7c676c0>
2025-12-12 16:06:32,005 - DEBUG - __tests__.test_user_administration.1466853  - 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-12 16:06:32,005 - DEBUG - ydb.topic.1466853  - close: Close topic client
2025-12-12 16:06:32,005 - DEBUG - ydb.topic.1466853  - close: Topic client was closed
2025-12-12 16:06:32,005 - DEBUG - ydb.connection.1466853  - close: Closing channel for endpoint localhost:30002
2025-12-12 16:06:32,177 - DEBUG - ydb.connection.1466853  - close: Closing channel for endpoint ghrun-jumawwbfgm.auto.internal:9630
2025-12-12 16:06:32,190 - INFO - ydb.pool.Discovery.1466853  - run: Successfully terminated discovery process
2025-12-12 16:06:32,191 - INFO - ya.test.1466853  - pytest_runtest_teardown: Test teardown
