2025-12-12 16:06:30,836 - INFO - ya.test.1466853  - pytest_runtest_setup: ####################################################################################################
2025-12-12 16:06:30,836 - INFO - ya.test.1466853  - pytest_runtest_setup: test_database_admin_cant_change_database_admin_group[remove-subgroup]
2025-12-12 16:06:30,836 - INFO - ya.test.1466853  - pytest_runtest_setup: ####################################################################################################
2025-12-12 16:06:30,836 - INFO - ya.test.1466853  - pytest_runtest_setup: Test setup
2025-12-12 16:06:30,838 - INFO - ya.test.1466853  - pytest_runtest_call: Test call (class_name: test_user_administration.py, test_name: test_database_admin_cant_change_database_admin_group[remove-subgroup])
2025-12-12 16:06:30,843 - DEBUG - ydb.connection.1466853  - 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-12-12 16:06:30,863 - DEBUG - ydb.connection.1466853  - _prepare_call: RpcState(Login, 694c26cf-9dc4-45b7-b271-bad14f2f75ef, localhost:30002): creating call state
2025-12-12 16:06:30,864 - DEBUG - ydb.connection.1466853  - _log_request: RpcState(Login, 694c26cf-9dc4-45b7-b271-bad14f2f75ef, localhost:30002): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-12-12 16:06:30,879 - DEBUG - ydb.connection.1466853  - _log_response: RpcState(Login, 694c26cf-9dc4-45b7-b271-bad14f2f75ef, localhost:30002): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzY1NTk4NzkwLCJpYXQiOjE3NjU1NTU1OTAsInN1YiI6ImRiYWRtaW4ifQ.l-vkvJVIJTOUFTDtzRzECe7E4myV8hpnG6jH2qAr5qfIONR-AkJibii0s3ar1ZXmHYhIr5zcyistorWr751k2Dhjy1juGdvMLTDFz3UAeCn08Ljdv5j_2lCGCzbHVPTMhsGPJcCQeDeWAGfj02_IOpbZBDbmFB1i6RtH8AeJstkKGp-FPDQtkTeZBcvfdLzPD7rvCV5vLc426DslH51zWKBiLeXcK7gTSUXlsflRigBIi6S97zlQMWtfEVtwiIcEhJutCLAi8dRx6kQ7QDfv0WAvJPYAIB0dkSVvCkbwfxBKywObAlqsAI8rAyiX5YOp-BLAQ0uFPfr4vPjgd0fvhA" } } } }
2025-12-12 16:06:30,879 - DEBUG - ydb.connection.1466853  - close: Closing channel for endpoint localhost:30002
2025-12-12 16:06:31,064 - DEBUG - ydb.connection.1466853  - 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-12-12 16:06:31,069 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.1466853  - context_resolve: Preparing initial endpoint to resolve endpoints
2025-12-12 16:06:31,070 - DEBUG - ydb.connection.1466853  - 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-12-12 16:06:31,076 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.1466853  - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-12-12 16:06:31,077 - DEBUG - ydb.connection.1466853  - _prepare_call: RpcState(ListEndpoints, 645c1c85-a132-4532-b2d3-b29f03bfb661, localhost:30002): creating call state
2025-12-12 16:06:31,077 - DEBUG - ydb.connection.1466853  - _log_request: RpcState(ListEndpoints, 645c1c85-a132-4532-b2d3-b29f03bfb661, localhost:30002): request = { database: "/Root/test_user_administration" }
2025-12-12 16:06:31,080 - DEBUG - ydb.connection.1466853  - _log_response: RpcState(ListEndpoints, 645c1c85-a132-4532-b2d3-b29f03bfb661, localhost:30002): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-jumawwbfgm.auto.internal" port: 9630 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-12-12 16:06:31,083 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.1466853  - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-jumawwbfgm.auto.internal:9630, location , ssl: False>]>
2025-12-12 16:06:31,083 - DEBUG - ydb.connection.1466853  - 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-12-12 16:06:31,092 - DEBUG - ydb.connection.1466853  - close: Closing channel for endpoint localhost:30002
2025-12-12 16:06:31,093 - DEBUG - ydb.table.SessionPool.1466853  - subscribe: Active session queue is empty, subscribe waiter for a session
2025-12-12 16:06:31,099 - DEBUG - ydb.table.SessionPool.1466853  - subscribe: Subscribe waiter <Future at 0x7fdca7c828b0 state=pending>
2025-12-12 16:06:31,101 - DEBUG - ydb.table.SessionPool.1466853  - subscribe: Session pool is not large enough (active_count < size: 0 < 100). will create a new session.
2025-12-12 16:06:31,101 - DEBUG - ydb.table.SessionPool.1466853  - _create: Created session <ydb.table.Session object at 0x7fdca7c81af0>
2025-12-12 16:06:31,101 - DEBUG - ydb.table.SessionPool.1466853  - _prepare: Preparing session <ydb.table.Session object at 0x7fdca7c81af0>
2025-12-12 16:06:31,106 - DEBUG - ydb.connection.1466853  - _prepare_call: RpcState(CreateSession, 6097d807-00cb-4a43-84c6-9ff10fc5e5dd, ghrun-jumawwbfgm.auto.internal:9630): creating call state
2025-12-12 16:06:31,108 - DEBUG - ydb.connection.1466853  - _log_request: RpcState(CreateSession, 6097d807-00cb-4a43-84c6-9ff10fc5e5dd, ghrun-jumawwbfgm.auto.internal:9630): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-12-12 16:06:31,114 - DEBUG - ydb.connection.1466853  - _on_response_callback: RpcState(CreateSession, 6097d807-00cb-4a43-84c6-9ff10fc5e5dd, ghrun-jumawwbfgm.auto.internal:9630): on response callback started
2025-12-12 16:06:31,115 - DEBUG - ydb.connection.1466853  - _log_response: RpcState(CreateSession, 6097d807-00cb-4a43-84c6-9ff10fc5e5dd, ghrun-jumawwbfgm.auto.internal:9630): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=MjJiY2QzYmItNzY4NmJjMjAtMWM0MmZjZjUtOTBjZjg2YTc=" } } } }
2025-12-12 16:06:31,116 - DEBUG - ydb.table.SessionPool.1466853  - put: Put on session <ydb.table.Session object at 0x7fdca7c81af0>
2025-12-12 16:06:31,117 - DEBUG - ydb.table.SessionPool.1466853  - put: Replying to waiter with a session <ydb.table.Session object at 0x7fdca7c81af0>
2025-12-12 16:06:31,117 - DEBUG - ydb.connection.1466853  - _on_response_callback: RpcState(CreateSession, 6097d807-00cb-4a43-84c6-9ff10fc5e5dd, ghrun-jumawwbfgm.auto.internal:9630): on response callback success
2025-12-12 16:06:31,118 - DEBUG - ydb.connection.1466853  - _prepare_call: RpcState(ExecuteSchemeQuery, d58eb1a7-b6c0-4c5f-845a-5f936c257623, ghrun-jumawwbfgm.auto.internal:9630): creating call state
2025-12-12 16:06:31,118 - DEBUG - ydb.connection.1466853  - _log_request: RpcState(ExecuteSchemeQuery, d58eb1a7-b6c0-4c5f-845a-5f936c257623, ghrun-jumawwbfgm.auto.internal:9630): request = { session_id: "ydb://session/3?node_id=50000&id=MjJiY2QzYmItNzY4NmJjMjAtMWM0MmZjZjUtOTBjZjg2YTc=" yql_text: "alter group dbadmins drop user dbsubadmins" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-12-12 16:06:31,125 - DEBUG - ydb.connection.1466853  - _log_response: RpcState(ExecuteSchemeQuery, d58eb1a7-b6c0-4c5f-845a-5f936c257623, ghrun-jumawwbfgm.auto.internal:9630): 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-12-12 16:06:31,126 - DEBUG - ydb.table.SessionPool.1466853  - put: Put on session <ydb.table.Session object at 0x7fdca7c81af0>
2025-12-12 16:06:31,126 - DEBUG - ydb.topic.1466853  - close: Close topic client
2025-12-12 16:06:31,126 - DEBUG - ydb.topic.1466853  - close: Topic client was closed
2025-12-12 16:06:31,127 - DEBUG - ydb.connection.1466853  - close: Closing channel for endpoint localhost:30002
2025-12-12 16:06:31,279 - DEBUG - ydb.connection.1466853  - close: Closing channel for endpoint ghrun-jumawwbfgm.auto.internal:9630
2025-12-12 16:06:31,295 - INFO - ydb.pool.Discovery.1466853  - run: Successfully terminated discovery process
2025-12-12 16:06:31,297 - INFO - ya.test.1466853  - pytest_runtest_teardown: Test teardown
