2025-12-09 13:35:50,746 - INFO - ya.test.3104966  - pytest_runtest_setup: ####################################################################################################
2025-12-09 13:35:50,747 - INFO - ya.test.3104966  - pytest_runtest_setup: test_database_admin_cant_change_database_admin_group[add-subgroup]
2025-12-09 13:35:50,747 - INFO - ya.test.3104966  - pytest_runtest_setup: ####################################################################################################
2025-12-09 13:35:50,748 - INFO - ya.test.3104966  - pytest_runtest_setup: Test setup
2025-12-09 13:35:50,750 - INFO - ya.test.3104966  - 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 13:35:50,751 - DEBUG - ydb.connection.3104966  - 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 13:35:50,758 - DEBUG - ydb.connection.3104966  - _prepare_call: RpcState(Login, db87dbac-32bf-4c95-98e4-d179c1e4fe06, localhost:8031): creating call state
2025-12-09 13:35:50,758 - DEBUG - ydb.connection.3104966  - _log_request: RpcState(Login, db87dbac-32bf-4c95-98e4-d179c1e4fe06, localhost:8031): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-12-09 13:35:50,765 - DEBUG - ydb.connection.3104966  - _log_response: RpcState(Login, db87dbac-32bf-4c95-98e4-d179c1e4fe06, localhost:8031): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzY1MzMwNTUwLCJpYXQiOjE3NjUyODczNTAsInN1YiI6ImRiYWRtaW4ifQ.XiUYxb5QJAW8jVLF0BkEM8ls7y9VBxq1R3vNS_5K6d9ubTBV6kltXT6wKidyi_mviTQcNzkTSLCrcTrKwyCNrLaX-JgTPGF27UqTWXuoVhp_ML_zvaGkHfDXyaYREoUsdx47ypfiIF1CZ5KRhRONzvW-LNR_0LKpk8Je4iDBHDFvP4P_K44zJA9nIXmTKPTHhD5gYCGz0ya5-zUOkXWfD1UZg4bS6uUDtpgbGxE0rjckpoDAirKSfa35afee8bovZJdIDiJeXlscGYWgynCvpf5qRiQ3E6tdhp3AMm-upAxZJWsG_e3gxsBaYx5AHjdjnncfh1hUsxiHdxtaSYuokw" } } } }
2025-12-09 13:35:50,766 - DEBUG - ydb.connection.3104966  - close: Closing channel for endpoint localhost:8031
2025-12-09 13:35:50,963 - DEBUG - ydb.connection.3104966  - 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 13:35:50,964 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.3104966  - context_resolve: Preparing initial endpoint to resolve endpoints
2025-12-09 13:35:50,965 - DEBUG - ydb.connection.3104966  - 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 13:35:50,978 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.3104966  - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-12-09 13:35:50,979 - DEBUG - ydb.connection.3104966  - _prepare_call: RpcState(ListEndpoints, e9915ac5-f0c7-458f-a614-42661c9304dd, localhost:8031): creating call state
2025-12-09 13:35:50,979 - DEBUG - ydb.connection.3104966  - _log_request: RpcState(ListEndpoints, e9915ac5-f0c7-458f-a614-42661c9304dd, localhost:8031): request = { database: "/Root/test_user_administration" }
2025-12-09 13:35:50,982 - DEBUG - ydb.connection.3104966  - _log_response: RpcState(ListEndpoints, e9915ac5-f0c7-458f-a614-42661c9304dd, localhost:8031): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-kvxh57fnmu.auto.internal" port: 31440 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 13:35:50,982 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver.3104966  - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-kvxh57fnmu.auto.internal:31440, location , ssl: False>]>
2025-12-09 13:35:50,982 - DEBUG - ydb.connection.3104966  - 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 13:35:50,995 - DEBUG - ydb.connection.3104966  - close: Closing channel for endpoint localhost:8031
2025-12-09 13:35:50,995 - DEBUG - ydb.table.SessionPool.3104966  - subscribe: Active session queue is empty, subscribe waiter for a session
2025-12-09 13:35:50,996 - DEBUG - ydb.table.SessionPool.3104966  - subscribe: Subscribe waiter <Future at 0x7f84378501a0 state=pending>
2025-12-09 13:35:50,996 - DEBUG - ydb.table.SessionPool.3104966  - subscribe: Session pool is not large enough (active_count < size: 0 < 100). will create a new session.
2025-12-09 13:35:50,997 - DEBUG - ydb.table.SessionPool.3104966  - _create: Created session <ydb.table.Session object at 0x7f84378501f0>
2025-12-09 13:35:50,997 - DEBUG - ydb.table.SessionPool.3104966  - _prepare: Preparing session <ydb.table.Session object at 0x7f84378501f0>
2025-12-09 13:35:50,997 - DEBUG - ydb.connection.3104966  - _prepare_call: RpcState(CreateSession, 7ccd1212-606f-43e5-a41f-3e3256510bff, ghrun-kvxh57fnmu.auto.internal:31440): creating call state
2025-12-09 13:35:50,997 - DEBUG - ydb.connection.3104966  - _log_request: RpcState(CreateSession, 7ccd1212-606f-43e5-a41f-3e3256510bff, ghrun-kvxh57fnmu.auto.internal:31440): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-12-09 13:35:51,000 - DEBUG - ydb.connection.3104966  - _on_response_callback: RpcState(CreateSession, 7ccd1212-606f-43e5-a41f-3e3256510bff, ghrun-kvxh57fnmu.auto.internal:31440): on response callback started
2025-12-09 13:35:51,000 - DEBUG - ydb.connection.3104966  - _log_response: RpcState(CreateSession, 7ccd1212-606f-43e5-a41f-3e3256510bff, ghrun-kvxh57fnmu.auto.internal:31440): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=Y2ZiNTBkNGYtZWIwNmM0YWItYTU4Y2U3Yy03NmY2YjUyOQ==" } } } }
2025-12-09 13:35:51,001 - DEBUG - ydb.table.SessionPool.3104966  - put: Put on session <ydb.table.Session object at 0x7f84378501f0>
2025-12-09 13:35:51,001 - DEBUG - ydb.table.SessionPool.3104966  - put: Replying to waiter with a session <ydb.table.Session object at 0x7f84378501f0>
2025-12-09 13:35:51,001 - DEBUG - ydb.connection.3104966  - _prepare_call: RpcState(ExecuteSchemeQuery, a37f818d-78c3-4225-856b-bbb30160ab38, ghrun-kvxh57fnmu.auto.internal:31440): creating call state
2025-12-09 13:35:51,002 - DEBUG - ydb.connection.3104966  - _on_response_callback: RpcState(CreateSession, 7ccd1212-606f-43e5-a41f-3e3256510bff, ghrun-kvxh57fnmu.auto.internal:31440): on response callback success
2025-12-09 13:35:51,002 - DEBUG - ydb.connection.3104966  - _log_request: RpcState(ExecuteSchemeQuery, a37f818d-78c3-4225-856b-bbb30160ab38, ghrun-kvxh57fnmu.auto.internal:31440): request = { session_id: "ydb://session/3?node_id=50000&id=Y2ZiNTBkNGYtZWIwNmM0YWItYTU4Y2U3Yy03NmY2YjUyOQ==" yql_text: "alter group dbadmins add user ordinarygroup" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-12-09 13:35:51,009 - DEBUG - ydb.connection.3104966  - _log_response: RpcState(ExecuteSchemeQuery, a37f818d-78c3-4225-856b-bbb30160ab38, ghrun-kvxh57fnmu.auto.internal:31440): 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 13:35:51,010 - DEBUG - ydb.table.SessionPool.3104966  - put: Put on session <ydb.table.Session object at 0x7f84378501f0>
2025-12-09 13:35:51,010 - DEBUG - ydb.topic.3104966  - close: Close topic client
2025-12-09 13:35:51,010 - DEBUG - ydb.topic.3104966  - close: Topic client was closed
2025-12-09 13:35:51,010 - DEBUG - ydb.connection.3104966  - close: Closing channel for endpoint localhost:8031
2025-12-09 13:35:51,181 - DEBUG - ydb.connection.3104966  - close: Closing channel for endpoint ghrun-kvxh57fnmu.auto.internal:31440
2025-12-09 13:35:51,197 - INFO - ydb.pool.Discovery.3104966  - run: Successfully terminated discovery process
2025-12-09 13:35:51,199 - INFO - ya.test.3104966  - pytest_runtest_teardown: Test teardown
