2025-12-04 15:50:52,033 - INFO - ya.test.3009201  - pytest_runtest_setup: ####################################################################################################
2025-12-04 15:50:52,034 - INFO - ya.test.3009201  - pytest_runtest_setup: test_database_admin_cant_change_database_admin_user[block]
2025-12-04 15:50:52,034 - INFO - ya.test.3009201  - pytest_runtest_setup: ####################################################################################################
2025-12-04 15:50:52,034 - INFO - ya.test.3009201  - pytest_runtest_setup: Test setup
2025-12-04 15:50:52,036 - INFO - ya.test.3009201  - 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 15:50:52,037 - DEBUG - ydb.connection.3009201  - 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 15:50:52,041 - DEBUG - ydb.connection.3009201  - _prepare_call: RpcState(Login, e2b9a88c-4967-4e14-b0a2-1d212f7303a4, localhost:2849): creating call state
2025-12-04 15:50:52,041 - DEBUG - ydb.connection.3009201  - _log_request: RpcState(Login, e2b9a88c-4967-4e14-b0a2-1d212f7303a4, localhost:2849): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-12-04 15:50:52,047 - DEBUG - ydb.connection.3009201  - _log_response: RpcState(Login, e2b9a88c-4967-4e14-b0a2-1d212f7303a4, localhost:2849): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzY0OTA2NjUyLCJpYXQiOjE3NjQ4NjM0NTIsInN1YiI6ImRiYWRtaW4ifQ.dCqyD8pOCkIFV5zauLy2qcocb0ibFSQowdy1WZJX0SLeZMu3TZjuuzxTduBDcOJyM4xS8cCcnJOwgMINMgehayYktZUFnGWHC-ls-COg7qlZe2cRTvU-A0gygDJGsdVniDiDwZzzVL0FE3R2ZlBCU3e4C-fJIUBttXftvLTyL_dAPtJCmAoaj_GlIO3r7fnT3jXpq4hyjuGlLh0RqOokhlCu_XklXpu04xPcGNLMCZZB7D3xmrV4C1d5zvaLFddhoyeSssSA85G_VKBRLq1tVRqcmSAEhW1qichl5QSNuXGiPtTBrFcpp36Dz2P8FI9ZFLP55LB-4hfinEsz7L3tFw" } } } }
2025-12-04 15:50:52,048 - DEBUG - ydb.connection.3009201  - close: Closing channel for endpoint localhost:2849
2025-12-04 15:50:52,244 - DEBUG - ydb.connection.3009201  - 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 15:50:52,247 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.3009201  - context_resolve: Preparing initial endpoint to resolve endpoints
2025-12-04 15:50:52,247 - DEBUG - ydb.connection.3009201  - 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 15:50:52,252 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.3009201  - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-12-04 15:50:52,252 - DEBUG - ydb.connection.3009201  - _prepare_call: RpcState(ListEndpoints, cabbd555-45ff-4ee6-b863-978db5594cff, localhost:2849): creating call state
2025-12-04 15:50:52,252 - DEBUG - ydb.connection.3009201  - _log_request: RpcState(ListEndpoints, cabbd555-45ff-4ee6-b863-978db5594cff, localhost:2849): request = { database: "/Root/test_user_administration" }
2025-12-04 15:50:52,255 - DEBUG - ydb.connection.3009201  - _log_response: RpcState(ListEndpoints, cabbd555-45ff-4ee6-b863-978db5594cff, localhost:2849): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-sexpwiqojm.auto.internal" port: 20389 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 15:50:52,256 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.3009201  - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-sexpwiqojm.auto.internal:20389, location , ssl: False>]>
2025-12-04 15:50:52,256 - DEBUG - ydb.connection.3009201  - 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 15:50:52,264 - DEBUG - ydb.connection.3009201  - close: Closing channel for endpoint localhost:2849
2025-12-04 15:50:52,265 - DEBUG - ydb.table.SessionPool.3009201  - subscribe: Active session queue is empty, subscribe waiter for a session
2025-12-04 15:50:52,265 - DEBUG - ydb.table.SessionPool.3009201  - subscribe: Subscribe waiter <Future at 0x7fe33d440240 state=pending>
2025-12-04 15:50:52,265 - DEBUG - ydb.table.SessionPool.3009201  - subscribe: Session pool is not large enough (active_count < size: 0 < 100). will create a new session.
2025-12-04 15:50:52,265 - DEBUG - ydb.table.SessionPool.3009201  - _create: Created session <ydb.table.Session object at 0x7fe33d442b30>
2025-12-04 15:50:52,266 - DEBUG - ydb.table.SessionPool.3009201  - _prepare: Preparing session <ydb.table.Session object at 0x7fe33d442b30>
2025-12-04 15:50:52,266 - DEBUG - ydb.connection.3009201  - _prepare_call: RpcState(CreateSession, c9cdc39b-622e-4222-ace5-2b7c47227349, ghrun-sexpwiqojm.auto.internal:20389): creating call state
2025-12-04 15:50:52,266 - DEBUG - ydb.connection.3009201  - _log_request: RpcState(CreateSession, c9cdc39b-622e-4222-ace5-2b7c47227349, ghrun-sexpwiqojm.auto.internal:20389): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-12-04 15:50:52,269 - DEBUG - ydb.connection.3009201  - _on_response_callback: RpcState(CreateSession, c9cdc39b-622e-4222-ace5-2b7c47227349, ghrun-sexpwiqojm.auto.internal:20389): on response callback started
2025-12-04 15:50:52,269 - DEBUG - ydb.connection.3009201  - _log_response: RpcState(CreateSession, c9cdc39b-622e-4222-ace5-2b7c47227349, ghrun-sexpwiqojm.auto.internal:20389): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=OGI0OGNhZC1hZTllNmY1Yi1mNGEzY2YxLTRiNWJhODhm" } } } }
2025-12-04 15:50:52,270 - DEBUG - ydb.table.SessionPool.3009201  - put: Put on session <ydb.table.Session object at 0x7fe33d442b30>
2025-12-04 15:50:52,270 - DEBUG - ydb.table.SessionPool.3009201  - put: Replying to waiter with a session <ydb.table.Session object at 0x7fe33d442b30>
2025-12-04 15:50:52,270 - DEBUG - ydb.connection.3009201  - _prepare_call: RpcState(ExecuteSchemeQuery, bef7d3d1-fec5-4548-a4ca-e0bd2804dc56, ghrun-sexpwiqojm.auto.internal:20389): creating call state
2025-12-04 15:50:52,271 - DEBUG - ydb.connection.3009201  - _on_response_callback: RpcState(CreateSession, c9cdc39b-622e-4222-ace5-2b7c47227349, ghrun-sexpwiqojm.auto.internal:20389): on response callback success
2025-12-04 15:50:52,271 - DEBUG - ydb.connection.3009201  - _log_request: RpcState(ExecuteSchemeQuery, bef7d3d1-fec5-4548-a4ca-e0bd2804dc56, ghrun-sexpwiqojm.auto.internal:20389): request = { session_id: "ydb://session/3?node_id=50000&id=OGI0OGNhZC1hZTllNmY1Yi1mNGEzY2YxLTRiNWJhODhm" yql_text: "alter user dbadmin2 nologin" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-12-04 15:50:52,278 - DEBUG - ydb.connection.3009201  - _log_response: RpcState(ExecuteSchemeQuery, bef7d3d1-fec5-4548-a4ca-e0bd2804dc56, ghrun-sexpwiqojm.auto.internal:20389): 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 15:50:52,279 - DEBUG - ydb.table.SessionPool.3009201  - put: Put on session <ydb.table.Session object at 0x7fe33d442b30>
2025-12-04 15:50:52,281 - DEBUG - __tests__.test_user_administration.3009201  - 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 15:50:52,281 - DEBUG - ydb.topic.3009201  - close: Close topic client
2025-12-04 15:50:52,281 - DEBUG - ydb.topic.3009201  - close: Topic client was closed
2025-12-04 15:50:52,281 - DEBUG - ydb.connection.3009201  - close: Closing channel for endpoint localhost:2849
2025-12-04 15:50:52,455 - DEBUG - ydb.connection.3009201  - close: Closing channel for endpoint ghrun-sexpwiqojm.auto.internal:20389
2025-12-04 15:50:52,467 - INFO - ydb.pool.Discovery.3009201  - run: Successfully terminated discovery process
2025-12-04 15:50:52,468 - INFO - ya.test.3009201  - pytest_runtest_teardown: Test teardown
