2025-10-14 11:38:03,983 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-10-14 11:38:03,984 - INFO - ya.test - pytest_runtest_setup: test_database_admin_cant_change_database_admin_user[block]
2025-10-14 11:38:03,984 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-10-14 11:38:03,984 - INFO - ya.test - pytest_runtest_setup: Test setup
2025-10-14 11:38:03,986 - 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-10-14 11:38:03,987 - 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-10-14 11:38:03,996 - DEBUG - ydb.connection - _prepare_call: RpcState(Login, 47f2aaa1-baf8-4232-b590-afb6c5ef352c, localhost:30972): creating call state
2025-10-14 11:38:03,996 - DEBUG - ydb.connection - _log_request: RpcState(Login, 47f2aaa1-baf8-4232-b590-afb6c5ef352c, localhost:30972): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-10-14 11:38:04,010 - DEBUG - ydb.connection - _log_response: RpcState(Login, 47f2aaa1-baf8-4232-b590-afb6c5ef352c, localhost:30972): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzYwNDg1MDg0LCJpYXQiOjE3NjA0NDE4ODQsInN1YiI6ImRiYWRtaW4ifQ.e877q9uDFn9dCt5LSxr4p7FZYZRCEMDAVFZ2mROeMjnpU5u1qVcrm_WRhZdCvCHPDgTEX4iZAFmPLT3TW4luBtUe0K_C2857Ku-1ZTUwnvfpGGV5qrxnwXMg55WsG4GT4CLtIQUQECMMASH6Vvui_LPzdFtUbpAekQvABBRjt5S9yDK_cX4b_por9CO43iN2gpFBKkXMu2MCqYY8nPz4IhMB3fhe1-PxMqu_Qa7a3IfqESkzZ5iW0Q_hg7aPmQw3f20QZy_QLizRl16hRZhiVVSe-l6zO8f2ZQRWboMf4vJ7PjrZiOKrHr7h_1l_CZUfJZLp1CMjKBQulX9zp7W-6w" } } } }
2025-10-14 11:38:04,011 - INFO - ydb.connection - close: Closing channel for endpoint localhost:30972
2025-10-14 11:38:04,201 - 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-10-14 11:38:04,204 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Preparing initial endpoint to resolve endpoints
2025-10-14 11:38:04,212 - 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-10-14 11:38:04,219 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-10-14 11:38:04,220 - DEBUG - ydb.connection - _prepare_call: RpcState(ListEndpoints, d2ab8b60-8b12-47b7-a13a-85f84fe5813b, localhost:30972): creating call state
2025-10-14 11:38:04,220 - DEBUG - ydb.connection - _log_request: RpcState(ListEndpoints, d2ab8b60-8b12-47b7-a13a-85f84fe5813b, localhost:30972): request = { database: "/Root/test_user_administration" }
2025-10-14 11:38:04,223 - DEBUG - ydb.connection - _log_response: RpcState(ListEndpoints, d2ab8b60-8b12-47b7-a13a-85f84fe5813b, localhost:30972): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-t7yexzjxoe.auto.internal" port: 12644 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-10-14 11:38:04,223 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-t7yexzjxoe.auto.internal:12644, location , ssl: False>]>
2025-10-14 11:38:04,224 - 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-10-14 11:38:04,237 - INFO - ydb.connection - close: Closing channel for endpoint localhost:30972
2025-10-14 11:38:04,238 - DEBUG - ydb.table.SessionPool - subscribe: Active session queue is empty, subscribe waiter for a session
2025-10-14 11:38:04,238 - DEBUG - ydb.table.SessionPool - subscribe: Subscribe waiter <Future at 0x7f11050eab30 state=pending>
2025-10-14 11:38:04,238 - DEBUG - ydb.table.SessionPool - subscribe: Session pool is not large enough (active_count < size: 0 < 100). will create a new session.
2025-10-14 11:38:04,239 - DEBUG - ydb.table.SessionPool - _create: Created session <ydb.table.Session object at 0x7f11050ea2c0>
2025-10-14 11:38:04,239 - DEBUG - ydb.table.SessionPool - _prepare: Preparing session <ydb.table.Session object at 0x7f11050ea2c0>
2025-10-14 11:38:04,239 - DEBUG - ydb.connection - _prepare_call: RpcState(CreateSession, a4445c37-1948-4615-acde-5134146021be, ghrun-t7yexzjxoe.auto.internal:12644): creating call state
2025-10-14 11:38:04,239 - DEBUG - ydb.connection - _log_request: RpcState(CreateSession, a4445c37-1948-4615-acde-5134146021be, ghrun-t7yexzjxoe.auto.internal:12644): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-10-14 11:38:04,244 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, a4445c37-1948-4615-acde-5134146021be, ghrun-t7yexzjxoe.auto.internal:12644): on response callback started
2025-10-14 11:38:04,245 - DEBUG - ydb.connection - _log_response: RpcState(CreateSession, a4445c37-1948-4615-acde-5134146021be, ghrun-t7yexzjxoe.auto.internal:12644): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=ODRkMjdlZGUtNGFlZThjZmUtNTk5NzY5ODUtMTcyZmFlYjU=" } } } }
2025-10-14 11:38:04,245 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7f11050ea2c0>
2025-10-14 11:38:04,245 - DEBUG - ydb.table.SessionPool - put: Replying to waiter with a session <ydb.table.Session object at 0x7f11050ea2c0>
2025-10-14 11:38:04,246 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, a4445c37-1948-4615-acde-5134146021be, ghrun-t7yexzjxoe.auto.internal:12644): on response callback success
2025-10-14 11:38:04,246 - DEBUG - ydb.connection - _prepare_call: RpcState(ExecuteSchemeQuery, 82f9ac10-e742-41ca-95b6-b9329eaa6d55, ghrun-t7yexzjxoe.auto.internal:12644): creating call state
2025-10-14 11:38:04,247 - DEBUG - ydb.connection - _log_request: RpcState(ExecuteSchemeQuery, 82f9ac10-e742-41ca-95b6-b9329eaa6d55, ghrun-t7yexzjxoe.auto.internal:12644): request = { session_id: "ydb://session/3?node_id=50000&id=ODRkMjdlZGUtNGFlZThjZmUtNTk5NzY5ODUtMTcyZmFlYjU=" yql_text: "alter user dbadmin2 nologin" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-10-14 11:38:04,261 - DEBUG - ydb.connection - _log_response: RpcState(ExecuteSchemeQuery, 82f9ac10-e742-41ca-95b6-b9329eaa6d55, ghrun-t7yexzjxoe.auto.internal:12644): 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-10-14 11:38:04,262 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7f11050ea2c0>
2025-10-14 11:38:04,262 - 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-10-14 11:38:04,262 - DEBUG - ydb.topic - close: Close topic client
2025-10-14 11:38:04,262 - DEBUG - ydb.topic - close: Topic client was closed
2025-10-14 11:38:04,262 - INFO - ydb.connection - close: Closing channel for endpoint localhost:30972
2025-10-14 11:38:04,431 - INFO - ydb.connection - close: Closing channel for endpoint ghrun-t7yexzjxoe.auto.internal:12644
2025-10-14 11:38:04,439 - INFO - ydb.pool.Discovery - run: Successfully terminated discovery process
2025-10-14 11:38:04,442 - INFO - ya.test - pytest_runtest_teardown: Test teardown
