2025-12-09 10:29:36,848 - INFO - ya.test.3108929  - pytest_runtest_setup: ####################################################################################################
2025-12-09 10:29:36,848 - INFO - ya.test.3108929  - pytest_runtest_setup: test_database_admin_cant_change_database_admin_group[add-subgroup]
2025-12-09 10:29:36,848 - INFO - ya.test.3108929  - pytest_runtest_setup: ####################################################################################################
2025-12-09 10:29:36,848 - INFO - ya.test.3108929  - pytest_runtest_setup: Test setup
2025-12-09 10:29:36,850 - INFO - ya.test.3108929  - pytest_runtest_call: Test call (class_name: test_user_administration.py, test_name: test_database_admin_cant_change_database_admin_group[add-subgroup])
2025-12-09 10:29:36,850 - DEBUG - ydb.connection.3108929  - 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-09 10:29:36,855 - DEBUG - ydb.connection.3108929  - _prepare_call: RpcState(Login, 22451d80-f309-4e68-b62d-1c5b285fa591, localhost:4008): creating call state
2025-12-09 10:29:36,855 - DEBUG - ydb.connection.3108929  - _log_request: RpcState(Login, 22451d80-f309-4e68-b62d-1c5b285fa591, localhost:4008): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-12-09 10:29:36,862 - DEBUG - ydb.connection.3108929  - _log_response: RpcState(Login, 22451d80-f309-4e68-b62d-1c5b285fa591, localhost:4008): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzY1MzE5Mzc2LCJpYXQiOjE3NjUyNzYxNzYsInN1YiI6ImRiYWRtaW4ifQ.I9aHxZaiNQRHXsWGIqrDMCZxOWT-DSOfG9Cgd1r2BuyUBY6Cs5HwabhkUzIeXuj1cPfV5KCxtPlEVdNAxLp5Cn2k1vrJagcorPl1qGc8NOrpXK9mqc_J_-cVDAkkHbDz25J5SC3sp0p4O5FAqx_tje8Rt9RPNKVbkV4JLxohFSIH-mKndfbjbyymdof0D2iAyDWSslSg8tL6E_d_yg6J2jh7aYEtSEyOA1G-S9kyfNNpqY3xlF0LDWJ3NzNj9sbihEQj1bh9rjIykdug7EMDPqQsDSBg7N-RP0jPGUcDRtffL0lYjnYvxYYjT9ma5OLH7somOLDwRTo_LND9-oOtTw" } } } }
2025-12-09 10:29:36,862 - DEBUG - ydb.connection.3108929  - close: Closing channel for endpoint localhost:4008
2025-12-09 10:29:37,057 - DEBUG - ydb.connection.3108929  - 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-09 10:29:37,059 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.3108929  - context_resolve: Preparing initial endpoint to resolve endpoints
2025-12-09 10:29:37,059 - DEBUG - ydb.connection.3108929  - 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-09 10:29:37,064 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.3108929  - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-12-09 10:29:37,064 - DEBUG - ydb.connection.3108929  - _prepare_call: RpcState(ListEndpoints, 18333617-5040-4eda-ad99-0f03b71ebd38, localhost:4008): creating call state
2025-12-09 10:29:37,065 - DEBUG - ydb.connection.3108929  - _log_request: RpcState(ListEndpoints, 18333617-5040-4eda-ad99-0f03b71ebd38, localhost:4008): request = { database: "/Root/test_user_administration" }
2025-12-09 10:29:37,068 - DEBUG - ydb.connection.3108929  - _log_response: RpcState(ListEndpoints, 18333617-5040-4eda-ad99-0f03b71ebd38, localhost:4008): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-szdvczcwva.auto.internal" port: 19949 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-09 10:29:37,068 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.3108929  - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-szdvczcwva.auto.internal:19949, location , ssl: False>]>
2025-12-09 10:29:37,068 - DEBUG - ydb.connection.3108929  - 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-09 10:29:37,075 - DEBUG - ydb.connection.3108929  - close: Closing channel for endpoint localhost:4008
2025-12-09 10:29:37,076 - DEBUG - ydb.table.SessionPool.3108929  - subscribe: Active session queue is empty, subscribe waiter for a session
2025-12-09 10:29:37,077 - DEBUG - ydb.table.SessionPool.3108929  - subscribe: Subscribe waiter <Future at 0x7ff44f2398c0 state=pending>
2025-12-09 10:29:37,077 - DEBUG - ydb.table.SessionPool.3108929  - subscribe: Session pool is not large enough (active_count < size: 0 < 100). will create a new session.
2025-12-09 10:29:37,077 - DEBUG - ydb.table.SessionPool.3108929  - _create: Created session <ydb.table.Session object at 0x7ff44f23b710>
2025-12-09 10:29:37,077 - DEBUG - ydb.table.SessionPool.3108929  - _prepare: Preparing session <ydb.table.Session object at 0x7ff44f23b710>
2025-12-09 10:29:37,078 - DEBUG - ydb.connection.3108929  - _prepare_call: RpcState(CreateSession, aec17aa7-6930-4cb3-8099-5d5edfde35b0, ghrun-szdvczcwva.auto.internal:19949): creating call state
2025-12-09 10:29:37,078 - DEBUG - ydb.connection.3108929  - _log_request: RpcState(CreateSession, aec17aa7-6930-4cb3-8099-5d5edfde35b0, ghrun-szdvczcwva.auto.internal:19949): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-12-09 10:29:37,081 - DEBUG - ydb.connection.3108929  - _on_response_callback: RpcState(CreateSession, aec17aa7-6930-4cb3-8099-5d5edfde35b0, ghrun-szdvczcwva.auto.internal:19949): on response callback started
2025-12-09 10:29:37,081 - DEBUG - ydb.connection.3108929  - _log_response: RpcState(CreateSession, aec17aa7-6930-4cb3-8099-5d5edfde35b0, ghrun-szdvczcwva.auto.internal:19949): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=OTBmNTBlOTYtMmQ1YzYzOGYtNjNmMGFlYy03NTNmM2ZhZQ==" } } } }
2025-12-09 10:29:37,082 - DEBUG - ydb.table.SessionPool.3108929  - put: Put on session <ydb.table.Session object at 0x7ff44f23b710>
2025-12-09 10:29:37,082 - DEBUG - ydb.table.SessionPool.3108929  - put: Replying to waiter with a session <ydb.table.Session object at 0x7ff44f23b710>
2025-12-09 10:29:37,082 - DEBUG - ydb.connection.3108929  - _prepare_call: RpcState(ExecuteSchemeQuery, 30582cbb-bd7b-42fe-9c45-74a9d452b796, ghrun-szdvczcwva.auto.internal:19949): creating call state
2025-12-09 10:29:37,083 - DEBUG - ydb.connection.3108929  - _on_response_callback: RpcState(CreateSession, aec17aa7-6930-4cb3-8099-5d5edfde35b0, ghrun-szdvczcwva.auto.internal:19949): on response callback success
2025-12-09 10:29:37,084 - DEBUG - ydb.connection.3108929  - _log_request: RpcState(ExecuteSchemeQuery, 30582cbb-bd7b-42fe-9c45-74a9d452b796, ghrun-szdvczcwva.auto.internal:19949): request = { session_id: "ydb://session/3?node_id=50000&id=OTBmNTBlOTYtMmQ1YzYzOGYtNjNmMGFlYy03NTNmM2ZhZQ==" yql_text: "alter group dbadmins add user ordinarygroup" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-12-09 10:29:37,091 - DEBUG - ydb.connection.3108929  - _log_response: RpcState(ExecuteSchemeQuery, 30582cbb-bd7b-42fe-9c45-74a9d452b796, ghrun-szdvczcwva.auto.internal:19949): 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-09 10:29:37,092 - DEBUG - ydb.table.SessionPool.3108929  - put: Put on session <ydb.table.Session object at 0x7ff44f23b710>
2025-12-09 10:29:37,092 - DEBUG - ydb.topic.3108929  - close: Close topic client
2025-12-09 10:29:37,093 - DEBUG - ydb.topic.3108929  - close: Topic client was closed
2025-12-09 10:29:37,093 - DEBUG - ydb.connection.3108929  - close: Closing channel for endpoint localhost:4008
2025-12-09 10:29:37,266 - DEBUG - ydb.connection.3108929  - close: Closing channel for endpoint ghrun-szdvczcwva.auto.internal:19949
2025-12-09 10:29:37,278 - INFO - ydb.pool.Discovery.3108929  - run: Successfully terminated discovery process
2025-12-09 10:29:37,279 - INFO - ya.test.3108929  - pytest_runtest_teardown: Test teardown
