2025-10-15 14:59:10,236 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-10-15 14:59:10,236 - INFO - ya.test - pytest_runtest_setup: test_database_admin_cant_change_database_admin_group[add-user]
2025-10-15 14:59:10,236 - INFO - ya.test - pytest_runtest_setup: ####################################################################################################
2025-10-15 14:59:10,236 - INFO - ya.test - pytest_runtest_setup: Test setup
2025-10-15 14:59:10,238 - INFO - ya.test - pytest_runtest_call: Test call (class_name: test_user_administration.py, test_name: test_database_admin_cant_change_database_admin_group[add-user])
2025-10-15 14:59:10,247 - 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-10-15 14:59:10,274 - DEBUG - ydb.connection - _prepare_call: RpcState(Login, 488175b3-c642-4ea3-83e8-f2744d53be39, localhost:4739): creating call state
2025-10-15 14:59:10,275 - DEBUG - ydb.connection - _log_request: RpcState(Login, 488175b3-c642-4ea3-83e8-f2744d53be39, localhost:4739): request = { operation_params { operation_timeout { seconds: 10 } cancel_after { seconds: 10 } } user: "dbadmin" password: "1234" }
2025-10-15 14:59:10,297 - DEBUG - ydb.connection - _log_response: RpcState(Login, 488175b3-c642-4ea3-83e8-f2744d53be39, localhost:4739): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Auth.LoginResult] { token: "eyJhbGciOiJQUzI1NiIsImtpZCI6IjEifQ.eyJhdWQiOlsiXC9Sb290XC90ZXN0X3VzZXJfYWRtaW5pc3RyYXRpb24iXSwiZXhwIjoxNzYwNTgzNTUwLCJpYXQiOjE3NjA1NDAzNTAsInN1YiI6ImRiYWRtaW4ifQ.nMilXpSHw3b-QZqYGdA2aTYwrgP4IjZxowXwakYzSmqVsiIuR49MuOC1dTLrCNEw98vHK3LZJQlRE8xzH0msmL3EUR_1J1cJBbhpKuEgW3fbsQz_ppiwzcB93VjbhdPys6PMI4XBpNPCNAMxcxbQDwYg13-7J7xWPgtoU96B7NJjy47xeKAA8VZfQz8HfUxUHMC4TnAPZT9UCkICAad3cIJB5F9K6ujNCK2LqLKhmI4Jd84l2wK2bbwoEjixMDG_Fxs6Ig3NpEaYMkJSz_XB3q5_cz0idn1lNaUqGu0U-UTWFiL2nBz9YKF4_pDnfQaeHxzX1RdDwB-xD8l0hZLG2w" } } } }
2025-10-15 14:59:10,298 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:4739
2025-10-15 14:59:10,480 - 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-10-15 14:59:10,483 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Preparing initial endpoint to resolve endpoints
2025-10-15 14:59:10,484 - 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-10-15 14:59:10,504 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - context_resolve: Resolving endpoints for database /Root/test_user_administration
2025-10-15 14:59:10,505 - DEBUG - ydb.connection - _prepare_call: RpcState(ListEndpoints, d3b7059e-f430-4932-976f-670d2aee4492, localhost:4739): creating call state
2025-10-15 14:59:10,505 - DEBUG - ydb.connection - _log_request: RpcState(ListEndpoints, d3b7059e-f430-4932-976f-670d2aee4492, localhost:4739): request = { database: "/Root/test_user_administration" }
2025-10-15 14:59:10,512 - DEBUG - ydb.connection - _log_response: RpcState(ListEndpoints, d3b7059e-f430-4932-976f-670d2aee4492, localhost:4739): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Discovery.ListEndpointsResult] { endpoints { address: "ghrun-w3odipbbdi.auto.internal" port: 29455 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-10-15 14:59:10,513 - DEBUG - ydb.resolver.DiscoveryEndpointsResolver - _add_debug_details: Resolved endpoints for database /Root/test_user_administration: DiscoveryResult <self_location: 1, endpoints [<Endpoint ghrun-w3odipbbdi.auto.internal:29455, location , ssl: False>]>
2025-10-15 14:59:10,518 - 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-10-15 14:59:10,540 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:4739
2025-10-15 14:59:10,541 - DEBUG - ydb.table.SessionPool - subscribe: Active session queue is empty, subscribe waiter for a session
2025-10-15 14:59:10,551 - DEBUG - ydb.table.SessionPool - subscribe: Subscribe waiter <Future at 0x7f3d835e3ad0 state=pending>
2025-10-15 14:59:10,556 - DEBUG - ydb.table.SessionPool - subscribe: Session pool is not large enough (active_count < size: 0 < 100). will create a new session.
2025-10-15 14:59:10,557 - DEBUG - ydb.table.SessionPool - _create: Created session <ydb.table.Session object at 0x7f3d835e36c0>
2025-10-15 14:59:10,557 - DEBUG - ydb.table.SessionPool - _prepare: Preparing session <ydb.table.Session object at 0x7f3d835e36c0>
2025-10-15 14:59:10,557 - DEBUG - ydb.connection - _prepare_call: RpcState(CreateSession, 8b41f871-04f9-4b53-ab16-c0edb4dc6cbe, ghrun-w3odipbbdi.auto.internal:29455): creating call state
2025-10-15 14:59:10,558 - DEBUG - ydb.connection - _log_request: RpcState(CreateSession, 8b41f871-04f9-4b53-ab16-c0edb4dc6cbe, ghrun-w3odipbbdi.auto.internal:29455): request = { operation_params { operation_timeout { seconds: 3 } cancel_after { seconds: 3 } } }
2025-10-15 14:59:10,565 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, 8b41f871-04f9-4b53-ab16-c0edb4dc6cbe, ghrun-w3odipbbdi.auto.internal:29455): on response callback started
2025-10-15 14:59:10,568 - DEBUG - ydb.connection - _log_response: RpcState(CreateSession, 8b41f871-04f9-4b53-ab16-c0edb4dc6cbe, ghrun-w3odipbbdi.auto.internal:29455): response = { operation { ready: true status: SUCCESS result { [type.googleapis.com/Ydb.Table.CreateSessionResult] { session_id: "ydb://session/3?node_id=50000&id=ZGMwYTEyOTktN2E2ZTBhNDMtMzEzOTA0YzItODc5ODczMTM=" } } } }
2025-10-15 14:59:10,568 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7f3d835e36c0>
2025-10-15 14:59:10,569 - DEBUG - ydb.table.SessionPool - put: Replying to waiter with a session <ydb.table.Session object at 0x7f3d835e36c0>
2025-10-15 14:59:10,570 - DEBUG - ydb.connection - _on_response_callback: RpcState(CreateSession, 8b41f871-04f9-4b53-ab16-c0edb4dc6cbe, ghrun-w3odipbbdi.auto.internal:29455): on response callback success
2025-10-15 14:59:10,570 - DEBUG - ydb.connection - _prepare_call: RpcState(ExecuteSchemeQuery, 339b63c5-73b1-4939-b3c8-9a09b9c30704, ghrun-w3odipbbdi.auto.internal:29455): creating call state
2025-10-15 14:59:10,571 - DEBUG - ydb.connection - _log_request: RpcState(ExecuteSchemeQuery, 339b63c5-73b1-4939-b3c8-9a09b9c30704, ghrun-w3odipbbdi.auto.internal:29455): request = { session_id: "ydb://session/3?node_id=50000&id=ZGMwYTEyOTktN2E2ZTBhNDMtMzEzOTA0YzItODc5ODczMTM=" yql_text: "alter group dbadmins add user ordinaryuser" operation_params { operation_timeout { seconds: 600 } cancel_after { seconds: 600 } } }
2025-10-15 14:59:10,593 - DEBUG - ydb.connection - _log_response: RpcState(ExecuteSchemeQuery, 339b63c5-73b1-4939-b3c8-9a09b9c30704, ghrun-w3odipbbdi.auto.internal:29455): 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-10-15 14:59:10,599 - DEBUG - ydb.table.SessionPool - put: Put on session <ydb.table.Session object at 0x7f3d835e36c0>
2025-10-15 14:59:10,600 - DEBUG - ydb.topic - close: Close topic client
2025-10-15 14:59:10,600 - DEBUG - ydb.topic - close: Topic client was closed
2025-10-15 14:59:10,600 - DEBUG - ydb.connection - close: Closing channel for endpoint localhost:4739
2025-10-15 14:59:10,706 - DEBUG - ydb.connection - close: Closing channel for endpoint ghrun-w3odipbbdi.auto.internal:29455
2025-10-15 14:59:10,744 - INFO - ydb.pool.Discovery - run: Successfully terminated discovery process
2025-10-15 14:59:10,748 - INFO - ya.test - pytest_runtest_teardown: Test teardown
