2025-10-31 10:58:22,241 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-10-31 10:58:22,241 - INFO - ya.test - pytest_runtest_setup: test_database_admin_cant_change_database_admin_group[rename-admin-group]
2025-10-31 10:58:22,241 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-10-31 10:58:22,241 - INFO - ya.test - pytest_runtest_setup: Test setup
2025-10-31 10:58:22,243 - 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-10-31 10:58:22,244 - 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,249 - DEBUG - ydb.connection - _prepare_call: RpcState(Login, 76ed75ee-ee51-4cb9-ac8d-07b55ba73dab, localhost:63079): creating call state
2025-10-31 10:58:22,249 - DEBUG - ydb.connection - _log_request: RpcState(Login, 76ed75ee-ee51-4cb9-ac8d-07b55ba73dab, localhost:63079): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-10-31 10:58:22,257 - DEBUG - ydb.connection - _log_response: RpcState(Login, 76ed75ee-ee51-4cb9-ac8d-07b55ba73dab, localhost:63079): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzYxOTUxNTAyLCJpYXQiOjE3NjE5MDgzMDIsInN1YiI6ImRiYWRtaW4ifQ.WpFpO2TZi1wMha6USj4kCB0BehF5g4tdSQfFDIj0FyuRBgsAzpNskT0bLve-v2xIINrrvpfH4ap3IFesjEGPTbDsqKyHwNXmgZGybRiYVMBFvYJijDKDC_u0tYZYEgHsdZn8O4qi28jXrKZ9iI0SkWmp-RkOUeR-ItbXqYX_ujqKBSGSv3gC82ZTvrJ7Hx3rY99tqGYuxBb_KSk6nwRrLhE23ZYIaI16SKn4_LiMHUFxIVeG_-1W-V9hoTwxWx4w6ofcsWwrIP4aHvl3MuKdbefqNMR5FiavtkZMxOyfEsngTBuE3uIT7DcXTGzz4zd1OPMgJgOXjOc1DLdHiyaDnw" } } } }
2025-10-31 10:58:22,257 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:63079
2025-10-31 10:58:22,453 - 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,454 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Preparing initial endpoint to resolve endpoints
2025-10-31 10:58:22,456 - 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,460 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-10-31 10:58:22,461 - DEBUG - ydb.connection - _prepare_call: RpcState(ListEndpoints, 8b2c9afd-d429-42f1-9d10-8b76f0be9460, localhost:63079): creating call state
2025-10-31 10:58:22,461 - DEBUG - ydb.connection - _log_request: RpcState(ListEndpoints, 8b2c9afd-d429-42f1-9d10-8b76f0be9460, localhost:63079): request = { database: "/Root/test_user_administration" }
2025-10-31 10:58:22,464 - DEBUG - ydb.connection - _log_response: RpcState(ListEndpoints, 8b2c9afd-d429-42f1-9d10-8b76f0be9460, 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,465 - 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,465 - 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,471 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:63079
2025-10-31 10:58:22,472 - DEBUG - ydb.table.SessionPool - subscribe: Active session queue is empty, subscribe waiter for a session
2025-10-31 10:58:22,472 - DEBUG - ydb.table.SessionPool - subscribe: Subscribe waiter <Future at 0x7fedd8ab15a0 state=pending>
2025-10-31 10:58:22,472 - 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,472 - DEBUG - ydb.table.SessionPool - _create: Created session <ydb.table.Session object at 0x7fedd8ab3760>
2025-10-31 10:58:22,473 - DEBUG - ydb.table.SessionPool - _prepare: Preparing session <ydb.table.Session object at 0x7fedd8ab3760>
2025-10-31 10:58:22,473 - DEBUG - ydb.connection - _prepare_call: RpcState(CreateSession, 0a0d6f95-9a1d-43ba-9a8d-3d6477b014f6, ghrun-sanfcqibkm.auto.internal:16626): creating call state
2025-10-31 10:58:22,473 - DEBUG - ydb.connection - _log_request: RpcState(CreateSession, 0a0d6f95-9a1d-43ba-9a8d-3d6477b014f6, ghrun-sanfcqibkm.auto.internal:16626): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-10-31 10:58:22,476 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, 0a0d6f95-9a1d-43ba-9a8d-3d6477b014f6, ghrun-sanfcqibkm.auto.internal:16626): on response callback started
2025-10-31 10:58:22,476 - DEBUG - ydb.connection - _log_response: RpcState(CreateSession, 0a0d6f95-9a1d-43ba-9a8d-3d6477b014f6, 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=NGJiMWQzNjMtM2IzNjQwNDAtYTM0N2NlZWYtZTlmY2E4YzE=" } } } }
2025-10-31 10:58:22,477 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7fedd8ab3760>
2025-10-31 10:58:22,477 - DEBUG - ydb.table.SessionPool - put: Replying to waiter with a session <ydb.table.Session object at 0x7fedd8ab3760>
2025-10-31 10:58:22,477 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, 0a0d6f95-9a1d-43ba-9a8d-3d6477b014f6, ghrun-sanfcqibkm.auto.internal:16626): on response callback success
2025-10-31 10:58:22,478 - DEBUG - ydb.connection - _prepare_call: RpcState(ExecuteSchemeQuery, 46d82b85-3fcf-4ef7-beaa-1022c321bf7d, ghrun-sanfcqibkm.auto.internal:16626): creating call state
2025-10-31 10:58:22,478 - DEBUG - ydb.connection - _log_request: RpcState(ExecuteSchemeQuery, 46d82b85-3fcf-4ef7-beaa-1022c321bf7d, ghrun-sanfcqibkm.auto.internal:16626): request = { session_id: "ydb://session/3?node_id=50000&id=NGJiMWQzNjMtM2IzNjQwNDAtYTM0N2NlZWYtZTlmY2E4YzE=" yql_text: "alter group dbadmins rename to dbadminsdemoted" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-10-31 10:58:22,486 - DEBUG - ydb.connection - _log_response: RpcState(ExecuteSchemeQuery, 46d82b85-3fcf-4ef7-beaa-1022c321bf7d, 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 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-10-31 10:58:22,486 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7fedd8ab3760>
2025-10-31 10:58:22,486 - DEBUG - ydb.topic - close: Close topic client
2025-10-31 10:58:22,487 - DEBUG - ydb.topic - close: Topic client was closed
2025-10-31 10:58:22,487 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:63079
2025-10-31 10:58:22,669 - DEBUG - ydb.connection - close: Closing channel for endpoint ghrun-sanfcqibkm.auto.internal:16626
2025-10-31 10:58:22,680 - INFO - ydb.pool.Discovery - run: Successfully terminated discovery process
2025-10-31 10:58:22,681 - INFO - ya.test - pytest_runtest_teardown: Test teardown
