2025-11-01 19:59:19,255 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-01 19:59:19,256 - INFO - ya.test - pytest_runtest_setup: test_database_admin_cant_change_database_admin_group[rename-admin-group]
2025-11-01 19:59:19,256 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-01 19:59:19,256 - INFO - ya.test - pytest_runtest_setup: Test setup
2025-11-01 19:59:19,284 - INFO - ya.test - pytest_runtest_call: Test call (class_name: test_user_administration.py, test_name: test_database_admin_cant_change_database_admin_group[rename-admin-group])
2025-11-01 19:59:19,286 - 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-11-01 19:59:19,295 - DEBUG - ydb.connection - _prepare_call: RpcState(Login, 34a7500c-6b34-4e9a-92f9-bf060451186b, localhost:12034): creating call state
2025-11-01 19:59:19,295 - DEBUG - ydb.connection - _log_request: RpcState(Login, 34a7500c-6b34-4e9a-92f9-bf060451186b, localhost:12034): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-11-01 19:59:19,305 - DEBUG - ydb.connection - _log_response: RpcState(Login, 34a7500c-6b34-4e9a-92f9-bf060451186b, localhost:12034): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzYyMDcwMzU5LCJpYXQiOjE3NjIwMjcxNTksInN1YiI6ImRiYWRtaW4ifQ.RY2WaJ4KpS4G_5KTkXJ3X-C52Fg_6fqZ7zchMPMjMFQrrAaH4dFNasqdpmKpy6Dfobhm92qRF_b8gWjvVsW5MqSHui-wkU3tva_SmQWVtR1cE6h0LLaZoFrUToSxYiTI4rcCOm4DtW1WIYLe-R3oTO5Nzz7NiJx3tVQujuYqJqeGkhacAkR6cCoXgFDJD_Vi9R6APKOSLruajFCpV2f5fAUQibgCZCu5hfC81dxwFHZCzsn8WONmLVsr-9Tiq5T04wP6aJRUo6zvXZ1YSARwOZmrPontgWLgfm0yug71hPsklGbqwW0BLoHLPxJGk0SM3G9nwIa7HjO9BV0GcWsQIA" } } } }
2025-11-01 19:59:19,313 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:12034
2025-11-01 19:59:19,499 - 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-11-01 19:59:19,501 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Preparing initial endpoint to resolve endpoints
2025-11-01 19:59:19,501 - 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-11-01 19:59:19,511 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-11-01 19:59:19,521 - DEBUG - ydb.connection - _prepare_call: RpcState(ListEndpoints, f9193b1f-bfef-4f0d-bdc3-e6f399edbdfe, localhost:12034): creating call state
2025-11-01 19:59:19,521 - DEBUG - ydb.connection - _log_request: RpcState(ListEndpoints, f9193b1f-bfef-4f0d-bdc3-e6f399edbdfe, localhost:12034): request = { database: "/Root/test_user_administration" }
2025-11-01 19:59:19,525 - DEBUG - ydb.connection - _log_response: RpcState(ListEndpoints, f9193b1f-bfef-4f0d-bdc3-e6f399edbdfe, localhost:12034): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-mjpjznvske.auto.internal" port: 7547 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-11-01 19:59:19,529 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-mjpjznvske.auto.internal:7547, location , ssl: False>]>
2025-11-01 19:59:19,529 - 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-11-01 19:59:19,544 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:12034
2025-11-01 19:59:19,545 - DEBUG - ydb.table.SessionPool - subscribe: Active session queue is empty, subscribe waiter for a session
2025-11-01 19:59:19,545 - DEBUG - ydb.table.SessionPool - subscribe: Subscribe waiter <Future at 0x7fe8702d2770 state=pending>
2025-11-01 19:59:19,546 - DEBUG - ydb.table.SessionPool - subscribe: Session pool is not large enough (active_count < size: 0 < 100). will create a new session.
2025-11-01 19:59:19,546 - DEBUG - ydb.table.SessionPool - _create: Created session <ydb.table.Session object at 0x7fe8702d22c0>
2025-11-01 19:59:19,546 - DEBUG - ydb.table.SessionPool - _prepare: Preparing session <ydb.table.Session object at 0x7fe8702d22c0>
2025-11-01 19:59:19,546 - DEBUG - ydb.connection - _prepare_call: RpcState(CreateSession, c0831642-8960-49fe-a15e-70425cc3a562, ghrun-mjpjznvske.auto.internal:7547): creating call state
2025-11-01 19:59:19,547 - DEBUG - ydb.connection - _log_request: RpcState(CreateSession, c0831642-8960-49fe-a15e-70425cc3a562, ghrun-mjpjznvske.auto.internal:7547): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-11-01 19:59:19,552 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, c0831642-8960-49fe-a15e-70425cc3a562, ghrun-mjpjznvske.auto.internal:7547): on response callback started
2025-11-01 19:59:19,552 - DEBUG - ydb.connection - _log_response: RpcState(CreateSession, c0831642-8960-49fe-a15e-70425cc3a562, ghrun-mjpjznvske.auto.internal:7547): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=NWNiMDY3ZTItYTQ5NmU4MTgtNDM0M2I3OTgtZDU1MzJkODk=" } } } }
2025-11-01 19:59:19,553 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7fe8702d22c0>
2025-11-01 19:59:19,553 - DEBUG - ydb.table.SessionPool - put: Replying to waiter with a session <ydb.table.Session object at 0x7fe8702d22c0>
2025-11-01 19:59:19,553 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, c0831642-8960-49fe-a15e-70425cc3a562, ghrun-mjpjznvske.auto.internal:7547): on response callback success
2025-11-01 19:59:19,554 - DEBUG - ydb.connection - _prepare_call: RpcState(ExecuteSchemeQuery, 5d36d48d-0224-46c8-876d-834c149d59dd, ghrun-mjpjznvske.auto.internal:7547): creating call state
2025-11-01 19:59:19,554 - DEBUG - ydb.connection - _log_request: RpcState(ExecuteSchemeQuery, 5d36d48d-0224-46c8-876d-834c149d59dd, ghrun-mjpjznvske.auto.internal:7547): request = { session_id: "ydb://session/3?node_id=50000&id=NWNiMDY3ZTItYTQ5NmU4MTgtNDM0M2I3OTgtZDU1MzJkODk=" yql_text: "alter group dbadmins rename to dbadminsdemoted" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-11-01 19:59:19,564 - DEBUG - ydb.connection - _log_response: RpcState(ExecuteSchemeQuery, 5d36d48d-0224-46c8-876d-834c149d59dd, ghrun-mjpjznvske.auto.internal:7547): response = { operation { ready: true status: UNAUTHORIZED issues { message: "Execution" issue_code: 1060 severity: 1 issues { position { row: 1 column: 1 } message: "Executing RENAME 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-11-01 19:59:19,565 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7fe8702d22c0>
2025-11-01 19:59:19,566 - DEBUG - ydb.topic - close: Close topic client
2025-11-01 19:59:19,566 - DEBUG - ydb.topic - close: Topic client was closed
2025-11-01 19:59:19,566 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:12034
2025-11-01 19:59:19,717 - DEBUG - ydb.connection - close: Closing channel for endpoint ghrun-mjpjznvske.auto.internal:7547
2025-11-01 19:59:19,748 - INFO - ydb.pool.Discovery - run: Successfully terminated discovery process
2025-11-01 19:59:19,753 - INFO - ya.test - pytest_runtest_teardown: Test teardown
