2025-11-19 21:17:51,292 - INFO - ya.test.2090361  - pytest_runtest_setup: ####################################################################################################
2025-11-19 21:17:51,293 - INFO - ya.test.2090361  - pytest_runtest_setup: test_database_admin_cant_change_database_admin_group[remove-subgroup]
2025-11-19 21:17:51,293 - INFO - ya.test.2090361  - pytest_runtest_setup: ####################################################################################################
2025-11-19 21:17:51,293 - INFO - ya.test.2090361  - pytest_runtest_setup: Test setup
2025-11-19 21:17:51,295 - INFO - ya.test.2090361  - 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-19 21:17:51,304 - DEBUG - ydb.connection.2090361  - 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-19 21:17:51,332 - DEBUG - ydb.connection.2090361  - _prepare_call: RpcState(Login, da333d57-4f45-4cdd-a4fe-8668760faaab, localhost:22689): creating call state
2025-11-19 21:17:51,333 - DEBUG - ydb.connection.2090361  - _log_request: RpcState(Login, da333d57-4f45-4cdd-a4fe-8668760faaab, localhost:22689): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-11-19 21:17:51,349 - DEBUG - ydb.connection.2090361  - _log_response: RpcState(Login, da333d57-4f45-4cdd-a4fe-8668760faaab, localhost:22689): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzYzNjMwMjcxLCJpYXQiOjE3NjM1ODcwNzEsInN1YiI6ImRiYWRtaW4ifQ.ZGGgmYWLAsj9KXafJ4oRXrGaOAFuMQknB24yH8x0F3UQITncatJl8VejkzGYtv5590eG9n2M-q3fL4PjOogvSnsNF7gRKBFBohEu3aDGM6QMLKqI8ViYNQPSvNfR380BYj4zvU87FJBNX-I5ubd0tVou85GKum4aVPTOrRuioDhpBmS9O8cBgOY2U12e3eCXRybJwD0PNwCxwLiXynpaoytogqeelS9Y62GzTj8MZ8gHHkjZzqbq3adXLu1ONlilx92U3X0hL8jYRXlhwYzsxfAvTQtlNGuyCc9JPg-6P2VJ4QkLTH9TFCJpr8mQeP94f0cIMtzsikAdB91TJ9aWhQ" } } } }
2025-11-19 21:17:51,349 - DEBUG - ydb.connection.2090361  - close: Closing channel for endpoint localhost:22689
2025-11-19 21:17:51,540 - DEBUG - ydb.connection.2090361  - 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-19 21:17:51,542 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.2090361  - context_resolve: Preparing initial endpoint to resolve endpoints
2025-11-19 21:17:51,545 - DEBUG - ydb.connection.2090361  - 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-19 21:17:51,553 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.2090361  - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-11-19 21:17:51,555 - DEBUG - ydb.connection.2090361  - _prepare_call: RpcState(ListEndpoints, 8cbdfc17-fae2-43c0-b3e3-abff255f3bb5, localhost:22689): creating call state
2025-11-19 21:17:51,556 - DEBUG - ydb.connection.2090361  - _log_request: RpcState(ListEndpoints, 8cbdfc17-fae2-43c0-b3e3-abff255f3bb5, localhost:22689): request = { database: "/Root/test_user_administration" }
2025-11-19 21:17:51,564 - DEBUG - ydb.connection.2090361  - _log_response: RpcState(ListEndpoints, 8cbdfc17-fae2-43c0-b3e3-abff255f3bb5, localhost:22689): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-5327lwzq5q.auto.internal" port: 29863 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-19 21:17:51,564 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.2090361  - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-5327lwzq5q.auto.internal:29863, location , ssl: False>]>
2025-11-19 21:17:51,567 - DEBUG - ydb.connection.2090361  - 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-19 21:17:51,580 - DEBUG - ydb.connection.2090361  - close: Closing channel for endpoint localhost:22689
2025-11-19 21:17:51,588 - DEBUG - ydb.table.SessionPool.2090361  - subscribe: Active session queue is empty, subscribe waiter for a session
2025-11-19 21:17:51,588 - DEBUG - ydb.table.SessionPool.2090361  - subscribe: Subscribe waiter <Future at 0x7f2e89aa64a0 state=pending>
2025-11-19 21:17:51,588 - DEBUG - ydb.table.SessionPool.2090361  - subscribe: Session pool is not large enough (active_count < size: 0 < 100). will create a new session.
2025-11-19 21:17:51,589 - DEBUG - ydb.table.SessionPool.2090361  - _create: Created session <ydb.table.Session object at 0x7f2e89aa74e0>
2025-11-19 21:17:51,589 - DEBUG - ydb.table.SessionPool.2090361  - _prepare: Preparing session <ydb.table.Session object at 0x7f2e89aa74e0>
2025-11-19 21:17:51,589 - DEBUG - ydb.connection.2090361  - _prepare_call: RpcState(CreateSession, 86aa64c2-0eff-4902-9d4a-26a286526fa0, ghrun-5327lwzq5q.auto.internal:29863): creating call state
2025-11-19 21:17:51,590 - DEBUG - ydb.connection.2090361  - _log_request: RpcState(CreateSession, 86aa64c2-0eff-4902-9d4a-26a286526fa0, ghrun-5327lwzq5q.auto.internal:29863): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-11-19 21:17:51,597 - DEBUG - ydb.connection.2090361  - _on_response_callback: RpcState(CreateSession, 86aa64c2-0eff-4902-9d4a-26a286526fa0, ghrun-5327lwzq5q.auto.internal:29863): on response callback started
2025-11-19 21:17:51,598 - DEBUG - ydb.connection.2090361  - _log_response: RpcState(CreateSession, 86aa64c2-0eff-4902-9d4a-26a286526fa0, ghrun-5327lwzq5q.auto.internal:29863): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=NzExOTdkYmUtZTBmN2E0ZGMtYTRhZWY5ZWEtZjlmZjYxMTA=" } } } }
2025-11-19 21:17:51,599 - DEBUG - ydb.table.SessionPool.2090361  - put: Put on session <ydb.table.Session object at 0x7f2e89aa74e0>
2025-11-19 21:17:51,599 - DEBUG - ydb.table.SessionPool.2090361  - put: Replying to waiter with a session <ydb.table.Session object at 0x7f2e89aa74e0>
2025-11-19 21:17:51,599 - DEBUG - ydb.connection.2090361  - _on_response_callback: RpcState(CreateSession, 86aa64c2-0eff-4902-9d4a-26a286526fa0, ghrun-5327lwzq5q.auto.internal:29863): on response callback success
2025-11-19 21:17:51,600 - DEBUG - ydb.connection.2090361  - _prepare_call: RpcState(ExecuteSchemeQuery, 84bad420-1e31-4a72-bfa5-613dd8a8bf33, ghrun-5327lwzq5q.auto.internal:29863): creating call state
2025-11-19 21:17:51,601 - DEBUG - ydb.connection.2090361  - _log_request: RpcState(ExecuteSchemeQuery, 84bad420-1e31-4a72-bfa5-613dd8a8bf33, ghrun-5327lwzq5q.auto.internal:29863): request = { session_id: "ydb://session/3?node_id=50000&id=NzExOTdkYmUtZTBmN2E0ZGMtYTRhZWY5ZWEtZjlmZjYxMTA=" yql_text: "alter group dbadmins drop user dbsubadmins" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-11-19 21:17:51,612 - DEBUG - ydb.connection.2090361  - _log_response: RpcState(ExecuteSchemeQuery, 84bad420-1e31-4a72-bfa5-613dd8a8bf33, ghrun-5327lwzq5q.auto.internal:29863): 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-19 21:17:51,613 - DEBUG - ydb.table.SessionPool.2090361  - put: Put on session <ydb.table.Session object at 0x7f2e89aa74e0>
2025-11-19 21:17:51,613 - DEBUG - ydb.topic.2090361  - close: Close topic client
2025-11-19 21:17:51,613 - DEBUG - ydb.topic.2090361  - close: Topic client was closed
2025-11-19 21:17:51,613 - DEBUG - ydb.connection.2090361  - close: Closing channel for endpoint localhost:22689
2025-11-19 21:17:51,756 - DEBUG - ydb.connection.2090361  - close: Closing channel for endpoint ghrun-5327lwzq5q.auto.internal:29863
2025-11-19 21:17:51,785 - INFO - ydb.pool.Discovery.2090361  - run: Successfully terminated discovery process
2025-11-19 21:17:51,789 - INFO - ya.test.2090361  - pytest_runtest_teardown: Test teardown
