2025-11-01 16:44:12,100 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-01 16:44:12,100 - INFO - ya.test - pytest_runtest_setup: test_database_admin_cant_change_database_admin_group[remove-subgroup]
2025-11-01 16:44:12,101 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-11-01 16:44:12,103 - INFO - ya.test - pytest_runtest_setup: Test setup
2025-11-01 16:44:12,106 - 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-11-01 16:44:12,122 - 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 16:44:12,128 - DEBUG - ydb.connection - _prepare_call: RpcState(Login, e4fc353d-f667-4e6f-b642-4c419d5b33ae, localhost:16936): creating call state
2025-11-01 16:44:12,129 - DEBUG - ydb.connection - _log_request: RpcState(Login, e4fc353d-f667-4e6f-b642-4c419d5b33ae, localhost:16936): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-11-01 16:44:12,136 - DEBUG - ydb.connection - _log_response: RpcState(Login, e4fc353d-f667-4e6f-b642-4c419d5b33ae, localhost:16936): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzYyMDU4NjUyLCJpYXQiOjE3NjIwMTU0NTIsInN1YiI6ImRiYWRtaW4ifQ.odb7YL1doyzTQ0crxLB6ATxEMIq3JkADR-Ekrbi2J4AaOai58RnlhrJwGPevfXJ1z5oV9O8ACq9g2Pw2IOMWN3LtRm5vEGoxwRGmBpEu7RPqrEU73gqs7PHp-Fq3rNP5Ff97EU6njrPVvPxAj3x4ckT9VJAJbg0tk8xkd2tykBYjooCqLmdrVWTKwch3fv7u3LNU3vNl1fzshAzgi00SyLop7NHqQecAA9RNvoqErTeNBYM1kc8Pox2qrRK1buIwYzKHXUDnySEaY7Qp9g9ARq_Cs9oxxyKMxQdcyrTLZOD3x9Yro90N9ek3zfK-4Z3n7pnmTGnwo7lq8jCDZ0A72Q" } } } }
2025-11-01 16:44:12,137 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:16936
2025-11-01 16:44:12,331 - 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 16:44:12,333 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Preparing initial endpoint to resolve endpoints
2025-11-01 16:44:12,333 - 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 16:44:12,339 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-11-01 16:44:12,362 - DEBUG - ydb.connection - _prepare_call: RpcState(ListEndpoints, 4329d9b8-f218-4fb6-9fd7-1b192b765dd5, localhost:16936): creating call state
2025-11-01 16:44:12,365 - DEBUG - ydb.connection - _log_request: RpcState(ListEndpoints, 4329d9b8-f218-4fb6-9fd7-1b192b765dd5, localhost:16936): request = { database: "/Root/test_user_administration" }
2025-11-01 16:44:12,376 - DEBUG - ydb.connection - _log_response: RpcState(ListEndpoints, 4329d9b8-f218-4fb6-9fd7-1b192b765dd5, localhost:16936): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-tvlw7frnpa.auto.internal" port: 21336 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 16:44:12,376 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-tvlw7frnpa.auto.internal:21336, location , ssl: False>]>
2025-11-01 16:44:12,377 - 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 16:44:12,389 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:16936
2025-11-01 16:44:12,389 - DEBUG - ydb.table.SessionPool - subscribe: Active session queue is empty, subscribe waiter for a session
2025-11-01 16:44:12,390 - DEBUG - ydb.table.SessionPool - subscribe: Subscribe waiter <Future at 0x7f1d94bf4ba0 state=pending>
2025-11-01 16:44:12,391 - DEBUG - ydb.table.SessionPool - subscribe: Session pool is not large enough (active_count < size: 0 < 100). will create a new session.
2025-11-01 16:44:12,424 - DEBUG - ydb.table.SessionPool - _create: Created session <ydb.table.Session object at 0x7f1d94bf4150>
2025-11-01 16:44:12,425 - DEBUG - ydb.table.SessionPool - _prepare: Preparing session <ydb.table.Session object at 0x7f1d94bf4150>
2025-11-01 16:44:12,426 - DEBUG - ydb.connection - _prepare_call: RpcState(CreateSession, c6454aa2-e409-4b0f-8f91-91c247a03a4f, ghrun-tvlw7frnpa.auto.internal:21336): creating call state
2025-11-01 16:44:12,427 - DEBUG - ydb.connection - _log_request: RpcState(CreateSession, c6454aa2-e409-4b0f-8f91-91c247a03a4f, ghrun-tvlw7frnpa.auto.internal:21336): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-11-01 16:44:12,459 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, c6454aa2-e409-4b0f-8f91-91c247a03a4f, ghrun-tvlw7frnpa.auto.internal:21336): on response callback started
2025-11-01 16:44:12,460 - DEBUG - ydb.connection - _log_response: RpcState(CreateSession, c6454aa2-e409-4b0f-8f91-91c247a03a4f, ghrun-tvlw7frnpa.auto.internal:21336): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=YTJmZjViNjEtM2QzOWQwOS1kNDJlZjQ4Zi1jMzYwYTNm" } } } }
2025-11-01 16:44:12,499 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7f1d94bf4150>
2025-11-01 16:44:12,500 - DEBUG - ydb.table.SessionPool - put: Replying to waiter with a session <ydb.table.Session object at 0x7f1d94bf4150>
2025-11-01 16:44:12,501 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, c6454aa2-e409-4b0f-8f91-91c247a03a4f, ghrun-tvlw7frnpa.auto.internal:21336): on response callback success
2025-11-01 16:44:12,500 - DEBUG - ydb.connection - _prepare_call: RpcState(ExecuteSchemeQuery, 5c769cca-21c1-44de-a471-d72ffd92f673, ghrun-tvlw7frnpa.auto.internal:21336): creating call state
2025-11-01 16:44:12,543 - DEBUG - ydb.connection - _log_request: RpcState(ExecuteSchemeQuery, 5c769cca-21c1-44de-a471-d72ffd92f673, ghrun-tvlw7frnpa.auto.internal:21336): request = { session_id: "ydb://session/3?node_id=50000&id=YTJmZjViNjEtM2QzOWQwOS1kNDJlZjQ4Zi1jMzYwYTNm" yql_text: "alter group dbadmins drop user dbsubadmins" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-11-01 16:44:12,551 - DEBUG - ydb.connection - _log_response: RpcState(ExecuteSchemeQuery, 5c769cca-21c1-44de-a471-d72ffd92f673, ghrun-tvlw7frnpa.auto.internal:21336): 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-11-01 16:44:12,552 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7f1d94bf4150>
2025-11-01 16:44:12,553 - DEBUG - ydb.topic - close: Close topic client
2025-11-01 16:44:12,553 - DEBUG - ydb.topic - close: Topic client was closed
2025-11-01 16:44:12,553 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:16936
2025-11-01 16:44:12,553 - DEBUG - ydb.connection - close: Closing channel for endpoint ghrun-tvlw7frnpa.auto.internal:21336
2025-11-01 16:44:12,592 - INFO - ydb.pool.Discovery - run: Successfully terminated discovery process
2025-11-01 16:44:12,600 - INFO - ya.test - pytest_runtest_teardown: Test teardown
