2025-12-07 20:06:09,907 - INFO - ya.test.1526363  - pytest_runtest_setup: ####################################################################################################
2025-12-07 20:06:09,907 - INFO - ya.test.1526363  - pytest_runtest_setup: test_database_admin_cant_change_database_admin_user[block]
2025-12-07 20:06:09,907 - INFO - ya.test.1526363  - pytest_runtest_setup: ####################################################################################################
2025-12-07 20:06:09,908 - INFO - ya.test.1526363  - pytest_runtest_setup: Test setup
2025-12-07 20:06:09,909 - INFO - ya.test.1526363  - pytest_runtest_call: Test call (class_name: test_user_administration.py, test_name: test_database_admin_cant_change_database_admin_user[block])
2025-12-07 20:06:09,910 - DEBUG - ydb.connection.1526363  - 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-07 20:06:09,914 - DEBUG - ydb.connection.1526363  - _prepare_call: RpcState(Login, d7c67121-5c66-4f5f-9ad8-19cf53d3551c, localhost:5665): creating call state
2025-12-07 20:06:09,917 - DEBUG - ydb.connection.1526363  - _log_request: RpcState(Login, d7c67121-5c66-4f5f-9ad8-19cf53d3551c, localhost:5665): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-12-07 20:06:09,924 - DEBUG - ydb.connection.1526363  - _log_response: RpcState(Login, d7c67121-5c66-4f5f-9ad8-19cf53d3551c, localhost:5665): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzY1MTgxMTY5LCJpYXQiOjE3NjUxMzc5NjksInN1YiI6ImRiYWRtaW4ifQ.nKhjqVYCF9JPBcfvHuaCjryC8ey1J3Q5k2iM7wrbaw0NIvFqdSa31SEIqWeD6ygUTyn5qjsKWT4XEDDjVhEW5-8fSxfnWssVcun2L1j65tM6M4_V8rmOkr1cj5_eYo0DPNimldVwevvYl758M0stMgqswjd70mzeBwIYlpdzJBLwDbBRSsk0fZf8JNQOWq8HwmQEmCZxVk-hGnSXp9gLiANw6bKzoIaZowlwvCCbRud2IBsn-pMR8zhKvWFtSIbXVbgyrI6XgAHHnEUesdy_Z4umspvt5Z206wFRJfhLpjXG98b2t4hsqJX420dXxXb6xSqWCNe8fx-S9ylRE62FZw" } } } }
2025-12-07 20:06:09,924 - DEBUG - ydb.connection.1526363  - close: Closing channel for endpoint localhost:5665
2025-12-07 20:06:10,117 - DEBUG - ydb.connection.1526363  - 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-07 20:06:10,119 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.1526363  - context_resolve: Preparing initial endpoint to resolve endpoints
2025-12-07 20:06:10,119 - DEBUG - ydb.connection.1526363  - 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-07 20:06:10,124 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.1526363  - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-12-07 20:06:10,125 - DEBUG - ydb.connection.1526363  - _prepare_call: RpcState(ListEndpoints, 200fe3a6-1390-4cc6-90e2-f71912491e48, localhost:5665): creating call state
2025-12-07 20:06:10,125 - DEBUG - ydb.connection.1526363  - _log_request: RpcState(ListEndpoints, 200fe3a6-1390-4cc6-90e2-f71912491e48, localhost:5665): request = { database: "/Root/test_user_administration" }
2025-12-07 20:06:10,128 - DEBUG - ydb.connection.1526363  - _log_response: RpcState(ListEndpoints, 200fe3a6-1390-4cc6-90e2-f71912491e48, localhost:5665): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-gishsengma.auto.internal" port: 13947 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-07 20:06:10,128 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.1526363  - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-gishsengma.auto.internal:13947, location , ssl: False>]>
2025-12-07 20:06:10,129 - DEBUG - ydb.connection.1526363  - 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-07 20:06:10,135 - DEBUG - ydb.connection.1526363  - close: Closing channel for endpoint localhost:5665
2025-12-07 20:06:10,136 - DEBUG - ydb.table.SessionPool.1526363  - subscribe: Active session queue is empty, subscribe waiter for a session
2025-12-07 20:06:10,136 - DEBUG - ydb.table.SessionPool.1526363  - subscribe: Subscribe waiter <Future at 0x7f8371d44e20 state=pending>
2025-12-07 20:06:10,137 - DEBUG - ydb.table.SessionPool.1526363  - subscribe: Session pool is not large enough (active_count < size: 0 < 100). will create a new session.
2025-12-07 20:06:10,137 - DEBUG - ydb.table.SessionPool.1526363  - _create: Created session <ydb.table.Session object at 0x7f8371d44100>
2025-12-07 20:06:10,137 - DEBUG - ydb.table.SessionPool.1526363  - _prepare: Preparing session <ydb.table.Session object at 0x7f8371d44100>
2025-12-07 20:06:10,137 - DEBUG - ydb.connection.1526363  - _prepare_call: RpcState(CreateSession, 991ca6e7-0a18-4d3b-9ac5-f7ab32375b00, ghrun-gishsengma.auto.internal:13947): creating call state
2025-12-07 20:06:10,138 - DEBUG - ydb.connection.1526363  - _log_request: RpcState(CreateSession, 991ca6e7-0a18-4d3b-9ac5-f7ab32375b00, ghrun-gishsengma.auto.internal:13947): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-12-07 20:06:10,140 - DEBUG - ydb.connection.1526363  - _on_response_callback: RpcState(CreateSession, 991ca6e7-0a18-4d3b-9ac5-f7ab32375b00, ghrun-gishsengma.auto.internal:13947): on response callback started
2025-12-07 20:06:10,141 - DEBUG - ydb.connection.1526363  - _log_response: RpcState(CreateSession, 991ca6e7-0a18-4d3b-9ac5-f7ab32375b00, ghrun-gishsengma.auto.internal:13947): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=NzM4NWY4MTktYTMyYWFhM2MtYzgyMjA0ZWQtY2M4ZWY5ZmY=" } } } }
2025-12-07 20:06:10,141 - DEBUG - ydb.table.SessionPool.1526363  - put: Put on session <ydb.table.Session object at 0x7f8371d44100>
2025-12-07 20:06:10,141 - DEBUG - ydb.table.SessionPool.1526363  - put: Replying to waiter with a session <ydb.table.Session object at 0x7f8371d44100>
2025-12-07 20:06:10,142 - DEBUG - ydb.connection.1526363  - _prepare_call: RpcState(ExecuteSchemeQuery, 24c30306-8dbd-4dbb-aceb-023ad934983d, ghrun-gishsengma.auto.internal:13947): creating call state
2025-12-07 20:06:10,142 - DEBUG - ydb.connection.1526363  - _on_response_callback: RpcState(CreateSession, 991ca6e7-0a18-4d3b-9ac5-f7ab32375b00, ghrun-gishsengma.auto.internal:13947): on response callback success
2025-12-07 20:06:10,143 - DEBUG - ydb.connection.1526363  - _log_request: RpcState(ExecuteSchemeQuery, 24c30306-8dbd-4dbb-aceb-023ad934983d, ghrun-gishsengma.auto.internal:13947): request = { session_id: "ydb://session/3?node_id=50000&id=NzM4NWY4MTktYTMyYWFhM2MtYzgyMjA0ZWQtY2M4ZWY5ZmY=" yql_text: "alter user dbadmin2 nologin" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-12-07 20:06:10,151 - DEBUG - ydb.connection.1526363  - _log_response: RpcState(ExecuteSchemeQuery, 24c30306-8dbd-4dbb-aceb-023ad934983d, ghrun-gishsengma.auto.internal:13947): 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-07 20:06:10,152 - DEBUG - ydb.table.SessionPool.1526363  - put: Put on session <ydb.table.Session object at 0x7f8371d44100>
2025-12-07 20:06:10,152 - DEBUG - __tests__.test_user_administration.1526363  - 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-07 20:06:10,152 - DEBUG - ydb.topic.1526363  - close: Close topic client
2025-12-07 20:06:10,152 - DEBUG - ydb.topic.1526363  - close: Topic client was closed
2025-12-07 20:06:10,152 - DEBUG - ydb.connection.1526363  - close: Closing channel for endpoint localhost:5665
2025-12-07 20:06:10,328 - DEBUG - ydb.connection.1526363  - close: Closing channel for endpoint ghrun-gishsengma.auto.internal:13947
2025-12-07 20:06:10,338 - INFO - ydb.pool.Discovery.1526363  - run: Successfully terminated discovery process
2025-12-07 20:06:10,339 - INFO - ya.test.1526363  - pytest_runtest_teardown: Test teardown
