2025-10-31 10:58:21,796 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-10-31 10:58:21,797 - INFO - ya.test - pytest_runtest_setup: test_database_admin_cant_change_database_admin_group[remove-subgroup]
2025-10-31 10:58:21,797 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-10-31 10:58:21,797 - INFO - ya.test - pytest_runtest_setup: Test setup
2025-10-31 10:58:21,799 - INFO - ya.test - pytest_runtest_call: Test call (class_name: test_user_administration.py, test_name: test_database_admin_cant_change_database_admin_group[remove-subgroup])
2025-10-31 10:58:21,800 - 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-31 10:58:21,808 - DEBUG - ydb.connection - _prepare_call: RpcState(Login, 81778a76-9a21-4faa-b219-2bd76bacfdd7, localhost:63079): creating call state
2025-10-31 10:58:21,808 - DEBUG - ydb.connection - _log_request: RpcState(Login, 81778a76-9a21-4faa-b219-2bd76bacfdd7, localhost:63079): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-10-31 10:58:21,814 - DEBUG - ydb.connection - _log_response: RpcState(Login, 81778a76-9a21-4faa-b219-2bd76bacfdd7, localhost:63079): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzYxOTUxNTAxLCJpYXQiOjE3NjE5MDgzMDEsInN1YiI6ImRiYWRtaW4ifQ.lr7SuxMblXqbgeRvGwKxw_pvxPN5ORWZTAMa7pjtgcla5Cq4Jyl7AoS5ygoJXg6G_W59H5yf7ycbup6fgddcbelDWbnfDyQUQLXxbcCxI9rNhME6qD2xvfJXGFbrd1ObfLtJSV-8x7rdv5YYN89mTp5LUF4AWzrhlloLQNVp9Nj15U25Iz6r4NUrp6t1zqZBe0ZlLe2wZmBUh8Az4vJIrQVxpvOoNhBu9tJnJZ6BF5uuPSqJJzwO1-Bi1nL-BSlVJaowveB47IbpwtmfxrHaznVLe6AOrbiOUnkUTP-oa40gC7VKmo5BkBGfMpBP3bmEwy_bZ671w9LWpfbTlNAJEw" } } } }
2025-10-31 10:58:21,814 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:63079
2025-10-31 10:58:22,011 - 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-31 10:58:22,014 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Preparing initial endpoint to resolve endpoints
2025-10-31 10:58:22,014 - 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-31 10:58:22,020 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-10-31 10:58:22,021 - DEBUG - ydb.connection - _prepare_call: RpcState(ListEndpoints, af1e506e-85e0-492c-8567-57577dec2cf1, localhost:63079): creating call state
2025-10-31 10:58:22,021 - DEBUG - ydb.connection - _log_request: RpcState(ListEndpoints, af1e506e-85e0-492c-8567-57577dec2cf1, localhost:63079): request = { database: "/Root/test_user_administration" }
2025-10-31 10:58:22,024 - DEBUG - ydb.connection - _log_response: RpcState(ListEndpoints, af1e506e-85e0-492c-8567-57577dec2cf1, localhost:63079): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-sanfcqibkm.auto.internal" port: 16626 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-31 10:58:22,024 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-sanfcqibkm.auto.internal:16626, location , ssl: False>]>
2025-10-31 10:58:22,025 - 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-31 10:58:22,031 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:63079
2025-10-31 10:58:22,032 - DEBUG - ydb.table.SessionPool - subscribe: Active session queue is empty, subscribe waiter for a session
2025-10-31 10:58:22,032 - DEBUG - ydb.table.SessionPool - subscribe: Subscribe waiter <Future at 0x7fedd8afa360 state=pending>
2025-10-31 10:58:22,033 - DEBUG - ydb.table.SessionPool - subscribe: Session pool is not large enough (active_count < size: 0 < 100). will create a new session.
2025-10-31 10:58:22,033 - DEBUG - ydb.table.SessionPool - _create: Created session <ydb.table.Session object at 0x7fedd8afa0e0>
2025-10-31 10:58:22,033 - DEBUG - ydb.table.SessionPool - _prepare: Preparing session <ydb.table.Session object at 0x7fedd8afa0e0>
2025-10-31 10:58:22,033 - DEBUG - ydb.connection - _prepare_call: RpcState(CreateSession, b57e02b1-89d7-451f-8436-ef32405370e7, ghrun-sanfcqibkm.auto.internal:16626): creating call state
2025-10-31 10:58:22,034 - DEBUG - ydb.connection - _log_request: RpcState(CreateSession, b57e02b1-89d7-451f-8436-ef32405370e7, ghrun-sanfcqibkm.auto.internal:16626): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-10-31 10:58:22,037 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, b57e02b1-89d7-451f-8436-ef32405370e7, ghrun-sanfcqibkm.auto.internal:16626): on response callback started
2025-10-31 10:58:22,037 - DEBUG - ydb.connection - _log_response: RpcState(CreateSession, b57e02b1-89d7-451f-8436-ef32405370e7, ghrun-sanfcqibkm.auto.internal:16626): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=ZWJlMGZmNzMtOTdkMDVlOS1hYmUyMjM4Mi02YWExNjBiMA==" } } } }
2025-10-31 10:58:22,038 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7fedd8afa0e0>
2025-10-31 10:58:22,038 - DEBUG - ydb.table.SessionPool - put: Replying to waiter with a session <ydb.table.Session object at 0x7fedd8afa0e0>
2025-10-31 10:58:22,038 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, b57e02b1-89d7-451f-8436-ef32405370e7, ghrun-sanfcqibkm.auto.internal:16626): on response callback success
2025-10-31 10:58:22,039 - DEBUG - ydb.connection - _prepare_call: RpcState(ExecuteSchemeQuery, 30647c6a-1d2d-4510-835f-9b276f6ed2b7, ghrun-sanfcqibkm.auto.internal:16626): creating call state
2025-10-31 10:58:22,039 - DEBUG - ydb.connection - _log_request: RpcState(ExecuteSchemeQuery, 30647c6a-1d2d-4510-835f-9b276f6ed2b7, ghrun-sanfcqibkm.auto.internal:16626): request = { session_id: "ydb://session/3?node_id=50000&id=ZWJlMGZmNzMtOTdkMDVlOS1hYmUyMjM4Mi02YWExNjBiMA==" yql_text: "alter group dbadmins drop user dbsubadmins" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-10-31 10:58:22,047 - DEBUG - ydb.connection - _log_response: RpcState(ExecuteSchemeQuery, 30647c6a-1d2d-4510-835f-9b276f6ed2b7, ghrun-sanfcqibkm.auto.internal:16626): response = { operation { ready: true status: UNAUTHORIZED issues { message: "Execution" issue_code: 1060 severity: 1 issues { position { row: 1 column: 1 } message: "Executing ALTER GROUP" 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-31 10:58:22,048 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7fedd8afa0e0>
2025-10-31 10:58:22,049 - DEBUG - ydb.topic - close: Close topic client
2025-10-31 10:58:22,049 - DEBUG - ydb.topic - close: Topic client was closed
2025-10-31 10:58:22,049 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:63079
2025-10-31 10:58:22,229 - DEBUG - ydb.connection - close: Closing channel for endpoint ghrun-sanfcqibkm.auto.internal:16626
2025-10-31 10:58:22,235 - INFO - ydb.pool.Discovery - run: Successfully terminated discovery process
2025-10-31 10:58:22,237 - INFO - ya.test - pytest_runtest_teardown: Test teardown
